v2 first commit
This commit is contained in:
.editorconfig.env.example.env.testingKernel.phpcomposer.jsoncomposer.lockdocker-compose.ymlindex.phpmanifest.jsonpackage-lock.jsonpackage.jsonphpunit.xmlTestCase.phpwebpack.mix.js
.github
.gitignore.travis.ymlDockerfileREADME.mdapp
Abstracts
BulkActions
Auth
Banking
Common
Expenses
Incomes
Settings
Console
Commands
Kernel.phpStubs
Modules
assets
command.stubcomposer.stubcontroller-api.stubcontroller.stubfactory.stubjob-queued.stubjob.stubjson.stublang
listener-duck.stublistener-queued-duck.stublistener-queued.stublistener.stubmigration
package.stubpolicy.plain.stubprovider.stubresource-collection.stubresource.stubroute-provider.stubroutes.stubroutes
rule.stubscaffold
seeder.stubstart.stubunit-test.stubviews
webpack.stubEvents
Common
CompanySwitched.phpReportFilterApplying.phpReportFilterShowing.phpReportGroupApplying.phpReportGroupShowing.php
CompanySwitched.phpExpense
Income
InvoiceCreated.phpInvoiceCreating.phpInvoicePrinting.phpInvoiceRecurring.phpInvoiceSent.phpInvoiceUpdated.phpInvoiceUpdating.phpInvoiceViewed.phpPaymentReceived.php
Install
Menu
Module
PaymentGatewayListing.phpExceptions
Exports
Filters
Auth
Banking
Common
Customers
Expenses
Incomes
Settings
Http
Controllers
Api
Auth
Banking
Common
Expenses
Incomes
Settings
Auth
Banking
Common
BulkActions.phpCompanies.phpDashboard.phpImport.phpItems.phpNotifications.phpReports.phpSearch.phpUploads.phpWidgets.php
Controller.phpCustomers
Expenses
Incomes
Install
Modals
BillPayments.phpBillTransactions.phpCategories.phpCustomers.phpInvoicePayments.phpInvoiceTransactions.phpTaxes.phpVendors.php
Modules
Portal
Reports
Settings
Categories.phpCompany.phpCurrencies.phpDefaults.phpEmail.phpInvoice.phpLocalisation.phpModules.phpSchedule.phpSettings.phpTaxes.php
Wizard
Middleware
AdminMenu.phpApiCompany.phpAuthenticate.phpCanApiKey.phpCustomerMenu.phpEncryptCookies.phpLoadSettings.phpLogoutIfUserDisabled.phpMoney.phpPortalMenu.phpRedirectIfAuthenticated.phpRedirectIfNotInstalled.phpRedirectIfWizardCompleted.phpSignedCompany.phpTrustProxies.phpValidateSignature.phpVerifyCsrfToken.php
Requests
Auth
Banking
Common
BulkAction.phpCompany.phpContact.phpDashboard.phpImport.phpItem.phpNotification.phpReport.phpTotalItem.phpWidget.php
Expense
Income
Invoice.phpInvoiceAddItem.phpInvoiceHistory.phpInvoiceItem.phpInvoicePayment.phpInvoiceTotal.phpRevenue.php
Install
Module
Portal
Request.phpSetting
Wizard
ViewComposers
Imports
Jobs
Auth
CreatePermission.phpCreateRole.phpCreateUser.phpDeletePermission.phpDeleteRole.phpDeleteUser.phpUpdatePermission.phpUpdateRole.phpUpdateUser.php
Banking
CreateAccount.phpCreateDocumentTransaction.phpCreateReconciliation.phpCreateTransaction.phpCreateTransfer.phpDeleteAccount.phpDeleteReconciliation.phpDeleteTransaction.phpDeleteTransfer.phpUpdateAccount.phpUpdateReconciliation.phpUpdateTransaction.phpUpdateTransfer.php
Common
CreateCompany.phpCreateContact.phpCreateItem.phpCreateReport.phpDeleteCompany.phpDeleteContact.phpDeleteItem.phpDeleteReport.phpUpdateCompany.phpUpdateContact.phpUpdateItem.phpUpdateReport.php
Expense
CreateBill.phpCreateBillHistory.phpCreateBillItem.phpCreateBillPayment.phpDeleteBill.phpDuplicateBill.phpUpdateBill.php
Income
CreateInvoice.phpCreateInvoiceHistory.phpCreateInvoiceItem.phpCreateInvoicePayment.phpDeleteInvoice.phpDuplicateInvoice.phpUpdateInvoice.php
Setting
Listeners
Common
ExpenseSummaryReport.phpIncomeExpenseSummaryReport.phpIncomeSummaryReport.phpProfitLossReport.phpTaxSummaryReport.php
Expense
Income
CreateInvoiceCreatedHistory.phpCreateInvoiceTransaction.phpIncreaseNextInvoiceNumber.phpMarkInvoiceSent.phpMarkInvoiceViewed.phpSendInvoicePaymentNotification.phpSendInvoiceRecurringNotification.php
Incomes
Invoice
Update
Models
Auth
Banking
Common
Company.phpContact.phpDashboard.phpDashboardWidget.phpEmailTemplate.phpItem.phpMedia.phpRecurring.phpReport.phpWidget.php
Company
Expense
Bill.phpBillHistory.phpBillItem.phpBillItemTax.phpBillPayment.phpBillStatus.phpBillTotal.phpPayment.phpVendor.php
Income
Customer.phpInvoice.phpInvoiceHistory.phpInvoiceItem.phpInvoiceItemTax.phpInvoicePayment.phpInvoiceStatus.phpInvoiceTotal.phpRevenue.php
Item
Module
Setting
Notifications
Common
Customer
Expense
Income
Portal
Observers
Overrides
Akaunting
Providers
App.phpAuth.phpBlade.phpBroadcast.phpEvent.phpEventServiceProvider.phpForm.phpFormServiceProvider.phpObserver.phpRoute.phpRouteServiceProvider.phpValidation.phpViewComposer.php
Reports
Traits
Contacts.phpCurrencies.phpDateTime.phpIncomes.phpJobs.phpModules.phpOmnipay.phpRecurring.phpRelationships.phpSiteApi.phpUsers.php
Transformers
Auth
Banking
Common
Company
Expense
Bill.phpBillHistories.phpBillItems.phpBillPayments.phpBillStatus.phpBillTotals.phpPayment.phpVendor.php
Income
Invoice.phpInvoiceHistories.phpInvoiceItems.phpInvoicePayments.phpInvoiceStatus.phpInvoiceTotals.php
Item
Setting
Utilities
Chartjs.phpImport.phpInfo.phpInstaller.phpModules.phpOverrider.phpRecurring.phpReports.phpUpdater.phpVersions.phphelpers.php
Widgets
config
api.phpapp.phpauth.phpbroadcasting.phpcache.phpcharts.phpcolumnsortable.phpdatabase.phpdebugbar.phpdotenv-editor.phpeloquentfilter.phpexcel.phpfilesystems.phpfirewall.phphashing.phplaratrust.phplaravel-widgets.phplogging.phpmail.phpmaintenancemode.phpmenu.phpmenus.phpmodule.phpqueue.phpsearch-string.phpservices.phpsession.phpsetting.phpversion.phpview.php
database
factories
migrations
2017_09_01_000000_create_companies_table.php2017_10_11_000000_create_bill_totals_table.php2017_10_11_000000_create_invoice_totals_table.php2019_11_14_000000_add_footer_column_invoices_table.php2019_11_14_000000_create_contacts_table.php2019_11_14_000000_create_dashboards_table.php2019_11_14_000000_create_email_templates_table.php2019_11_14_000000_create_firewall_table.php2019_11_14_000000_create_reports_table.php2019_11_14_000000_create_transactions_table.php2019_11_14_000000_modify_domain_column_companies_table.php2019_11_14_000000_modify_status_column_modules_table.php
seeds
modules
OfflinePayment
OfflinePayments
Database
Http
Listeners
Providers
Resources
assets
lang
en-GB
views
Routes
composer.jsonmix-manifest.jsonmodule.jsonpackage.jsonwebpack.mix.jsPaypalStandard
overrides
Illuminate
Translation
akaunting
public
css
akaunting-color.cssakaunting-green.cssapp.cssargon.cssargon.min.cssbootstrap-fancyfile.cssbootstrap3-print-fix.csscountdown.csscustom.cssdaterangepicker.cssekko-lightbox.cssfont-awesome.min.cssinstall.cssinvoice.cssionicons.min.cssjquery.countdown.cssmodules.cssskin-black.css
files
fonts
FontAwesome.otffontawesome-webfont.eotfontawesome-webfont.svgfontawesome-webfont.ttffontawesome-webfont.wofffontawesome-webfont.woff2nucleo-icons.eotnucleo-icons.svgnucleo-icons.ttfnucleo-icons.woffnucleo-icons.woff2
nucleo
vendor
element-ui
lib
theme-chalk
img
company.png
icons
akaunting-128x128.pngakaunting-144x144.pngakaunting-152x152.pngakaunting-192x192.pngakaunting-384x384.pngakaunting-512x512.pngakaunting-640x1136.pngakaunting-72x72.pngakaunting-96x96.pngsplash-1242x2208.pngsplash-1242x2688.pngsplash-1536x2048.pngsplash-1668x2224.pngsplash-1668x2388.pngsplash-2048x2732.pngsplash-640x1136.pngsplash-750x1334.pngsplash-828x1792.png
install.jpglogin.jpglogin.pngmaintanance.pngjs
app.js
mix-manifest.jsonauth
banking
bootstrap-fancyfile.jschartjs
common
daterangepicker
expenses
highchart
incomes
install.jsjquery
countdown
jquery.countdown-ar.jsjquery.countdown-bg.jsjquery.countdown-bn.jsjquery.countdown-bs.jsjquery.countdown-ca.jsjquery.countdown-cs.jsjquery.countdown-cy.jsjquery.countdown-da.jsjquery.countdown-de.jsjquery.countdown-el.jsjquery.countdown-es.jsjquery.countdown-et.jsjquery.countdown-fa.jsjquery.countdown-fi.jsjquery.countdown-fo.jsjquery.countdown-fr.jsjquery.countdown-gl.jsjquery.countdown-gu.jsjquery.countdown-he.jsjquery.countdown-hr.jsjquery.countdown-hu.jsjquery.countdown-hy.jsjquery.countdown-id.jsjquery.countdown-is.jsjquery.countdown-it.jsjquery.countdown-ja.jsjquery.countdown-kn.jsjquery.countdown-ko.jsjquery.countdown-lt.jsjquery.countdown-lv.jsjquery.countdown-mk.jsjquery.countdown-ml.jsjquery.countdown-ms.jsjquery.countdown-my.jsjquery.countdown-nb.jsjquery.countdown-nl.jsjquery.countdown-pl.jsjquery.countdown-pt-BR.jsjquery.countdown-ro.jsjquery.countdown-ru.jsjquery.countdown-sk.jsjquery.countdown-sl.jsjquery.countdown-sq.jsjquery.countdown-sr-SR.jsjquery.countdown-sr.jsjquery.countdown-sv.jsjquery.countdown-th.jsjquery.countdown-tr.jsjquery.countdown-uk.jsjquery.countdown-ur.jsjquery.countdown-uz.jsjquery.countdown-vi.jsjquery.countdown-zh-CN.jsjquery.countdown-zh-TW.jsjquery.countdown.jsjquery.countdown.min.jsjquery.countdown.min.mapjquery.plugin.jsjquery.plugin.min.jsjquery.plugin.min.map
jquery.maskMoney.jslightbox
modules
moment
locale
af.jsar-dz.jsar-kw.jsar-ly.jsar-ma.jsar-sa.jsar-tn.jsar.jsaz.jsbe.jsbg.jsbm.jsbn.jsbo.jsbr.jsbs.jsca.jscs.jscv.jscy.jsda.jsde-at.jsde-ch.jsde.jsdv.jsel.jsen-au.jsen-ca.jsen-gb.jsen-ie.jsen-nz.jseo.jses-do.jses-us.jses.jset.jseu.jsfa.jsfi.jsfo.jsfr-ca.jsfr-ch.jsfr.jsfy.jsgd.jsgl.jsgom-latn.jsgu.jshe.jshi.jshr.jshu.jshy-am.jsid.jsis.jsit.jsja.jsjv.jska.jskk.jskm.jskn.jsko.jsky.jslb.jslo.jslt.jslv.jsme.jsmi.jsmk.jsml.jsmr.jsms-my.jsms.jsmy.jsnb.jsne.jsnl-be.jsnl.jsnn.jspa-in.jspl.jspt-br.jspt.jsro.jsru.jssd.jsse.jssi.jssk.jssl.jssq.jssr-cyrl.jssr.jsss.jssv.jssw.jsta.jste.jstet.jsth.jstl-ph.jstlh.jstr.jstzl.jstzm-latn.jstzm.jsuk.jsur.jsuz-latn.jsuz.jsvi.jsx-pseudo.jsyo.jszh-cn.jszh-hk.jszh-tw.js
moment.jsportal
settings
wizard
vendor
@fortawesome
fontawesome-free
LICENSE.txt
css
all.min.cssbrands.min.cssfontawesome.min.cssregular.min.csssolid.min.csssvg-with-js.min.cssv4-shims.min.css
js
sprites
svgs
brands
500px.svgaccessible-icon.svgaccusoft.svgacquisitions-incorporated.svgadn.svgadversal.svgaffiliatetheme.svgalgolia.svgalipay.svgamazon-pay.svgamazon.svgamilia.svgandroid.svgangellist.svgangrycreative.svgangular.svgapp-store-ios.svgapp-store.svgapper.svgapple-pay.svgapple.svgasymmetrik.svgaudible.svgautoprefixer.svgavianex.svgaviato.svgaws.svgbandcamp.svgbehance-square.svgbehance.svgbimobject.svgbitbucket.svgbitcoin.svgbity.svgblack-tie.svgblackberry.svgblogger-b.svgblogger.svgbluetooth-b.svgbluetooth.svgbtc.svgburomobelexperte.svgbuysellads.svgcc-amazon-pay.svgcc-amex.svgcc-apple-pay.svgcc-diners-club.svgcc-discover.svgcc-jcb.svgcc-mastercard.svgcc-paypal.svgcc-stripe.svgcc-visa.svgcentercode.svgchrome.svgcloudscale.svgcloudsmith.svgcloudversify.svgcodepen.svgcodiepie.svgconnectdevelop.svgcontao.svgcpanel.svgcreative-commons-by.svgcreative-commons-nc-eu.svgcreative-commons-nc-jp.svgcreative-commons-nc.svgcreative-commons-nd.svgcreative-commons-pd-alt.svgcreative-commons-pd.svgcreative-commons-remix.svgcreative-commons-sa.svgcreative-commons-sampling-plus.svgcreative-commons-sampling.svgcreative-commons-share.svgcreative-commons-zero.svgcreative-commons.svgcritical-role.svgcss3-alt.svgcss3.svgcuttlefish.svgd-and-d-beyond.svgd-and-d.svgdashcube.svgdelicious.svgdeploydog.svgdeskpro.svgdev.svgdeviantart.svgdigg.svgdigital-ocean.svgdiscord.svgdiscourse.svgdochub.svgdocker.svgdraft2digital.svgdribbble-square.svgdribbble.svgdropbox.svgdrupal.svgdyalog.svgearlybirds.svgebay.svgedge.svgelementor.svgello.svgember.svgempire.svgenvira.svgerlang.svgethereum.svgetsy.svgexpeditedssl.svgfacebook-f.svgfacebook-messenger.svgfacebook-square.svgfacebook.svgfantasy-flight-games.svgfirefox.svgfirst-order-alt.svgfirst-order.svgfirstdraft.svgflickr.svgflipboard.svgfly.svgfont-awesome-alt.svgfont-awesome-flag.svgfont-awesome-logo-full.svgfont-awesome.svgfonticons-fi.svgfonticons.svgfort-awesome-alt.svgfort-awesome.svgforumbee.svgfoursquare.svgfree-code-camp.svgfreebsd.svgfulcrum.svggalactic-republic.svggalactic-senate.svgget-pocket.svggg-circle.svggg.svggit-square.svggit.svggithub-alt.svggithub-square.svggithub.svggitkraken.svggitlab.svggitter.svgglide-g.svgglide.svggofore.svggoodreads-g.svggoodreads.svggoogle-drive.svggoogle-play.svggoogle-plus-g.svggoogle-plus-square.svggoogle-plus.svggoogle-wallet.svggoogle.svggratipay.svggrav.svggripfire.svggrunt.svggulp.svghacker-news-square.svghacker-news.svghackerrank.svghips.svghire-a-helper.svghooli.svghornbill.svghotjar.svghouzz.svghtml5.svghubspot.svgimdb.svginstagram.svginternet-explorer.svgioxhost.svgitunes-note.svgitunes.svgjava.svgjedi-order.svgjenkins.svgjoget.svgjoomla.svgjs-square.svgjs.svgjsfiddle.svgkaggle.svgkeybase.svgkeycdn.svgkickstarter-k.svgkickstarter.svgkorvue.svglaravel.svglastfm-square.svglastfm.svgleanpub.svgless.svgline.svglinkedin-in.svglinkedin.svglinode.svglinux.svglyft.svgmagento.svgmailchimp.svgmandalorian.svgmarkdown.svgmastodon.svgmaxcdn.svgmedapps.svgmedium-m.svgmedium.svgmedrt.svgmeetup.svgmegaport.svgmicrosoft.svgmix.svgmixcloud.svgmizuni.svgmodx.svgmonero.svgnapster.svgneos.svgnimblr.svgnintendo-switch.svgnode-js.svgnode.svgnpm.svgns8.svgnutritionix.svgodnoklassniki-square.svgodnoklassniki.svgold-republic.svgopencart.svgopenid.svgopera.svgoptin-monster.svgosi.svgpage4.svgpagelines.svgpalfed.svgpatreon.svgpaypal.svgpenny-arcade.svgperiscope.svgphabricator.svgphoenix-framework.svgphoenix-squadron.svgphp.svgpied-piper-alt.svgpied-piper-hat.svgpied-piper-pp.svgpied-piper.svgpinterest-p.svgpinterest-square.svgpinterest.svgplaystation.svgproduct-hunt.svgpushed.svgpython.svgqq.svgquinscape.svgquora.svgr-project.svgravelry.svgreact.svgreacteurope.svgreadme.svgrebel.svgred-river.svgreddit-alien.svgreddit-square.svgreddit.svgrenren.svgreplyd.svgresearchgate.svgresolving.svgrev.svgrocketchat.svgrockrms.svgsafari.svgsass.svgschlix.svgscribd.svgsearchengin.svgsellcast.svgsellsy.svgservicestack.svgshirtsinbulk.svgshopware.svgsimplybuilt.svgsistrix.svgsith.svgskyatlas.svgskype.svgslack-hash.svgslack.svgslideshare.svgsnapchat-ghost.svgsnapchat-square.svgsnapchat.svgsoundcloud.svgspeakap.svgspotify.svgsquarespace.svgstack-exchange.svgstack-overflow.svgstaylinked.svgsteam-square.svgsteam-symbol.svgsteam.svgsticker-mule.svgstrava.svgstripe-s.svgstripe.svgstudiovinari.svgstumbleupon-circle.svgstumbleupon.svgsuperpowers.svgsupple.svgteamspeak.svgtelegram-plane.svgtelegram.svgtencent-weibo.svgthe-red-yeti.svgthemeco.svgthemeisle.svgthink-peaks.svgtrade-federation.svgtrello.svgtripadvisor.svgtumblr-square.svgtumblr.svgtwitch.svgtwitter-square.svgtwitter.svgtypo3.svguber.svguikit.svguniregistry.svguntappd.svgusb.svgussunnah.svgvaadin.svgviacoin.svgviadeo-square.svgviadeo.svgviber.svgvimeo-square.svgvimeo-v.svgvimeo.svgvine.svgvk.svgvnv.svgvuejs.svgweebly.svgweibo.svgweixin.svgwhatsapp-square.svgwhatsapp.svgwhmcs.svgwikipedia-w.svgwindows.svgwix.svgwizards-of-the-coast.svgwolf-pack-battalion.svgwordpress-simple.svgwordpress.svgwpbeginner.svgwpexplorer.svgwpforms.svgwpressr.svgxbox.svgxing-square.svgxing.svgy-combinator.svgyahoo.svgyandex-international.svgyandex.svgyelp.svgyoast.svgyoutube-square.svgyoutube.svgzhihu.svg
regular
address-book.svgaddress-card.svgangry.svgarrow-alt-circle-down.svgarrow-alt-circle-left.svgarrow-alt-circle-right.svgarrow-alt-circle-up.svgbell-slash.svgbell.svgbookmark.svgbuilding.svgcalendar-alt.svgcalendar-check.svgcalendar-minus.svgcalendar-plus.svgcalendar-times.svgcalendar.svgcaret-square-down.svgcaret-square-left.svgcaret-square-right.svgcaret-square-up.svgchart-bar.svgcheck-circle.svgcheck-square.svgcircle.svgclipboard.svgclock.svgclone.svgclosed-captioning.svgcomment-alt.svgcomment-dots.svgcomment.svgcomments.svgcompass.svgcopy.svgcopyright.svgcredit-card.svgdizzy.svgdot-circle.svgedit.svgenvelope-open.svgenvelope.svgeye-slash.svgeye.svgfile-alt.svgfile-archive.svgfile-audio.svgfile-code.svgfile-excel.svgfile-image.svgfile-pdf.svgfile-powerpoint.svgfile-video.svgfile-word.svgfile.svgflag.svgflushed.svgfolder-open.svgfolder.svgfont-awesome-logo-full.svgfrown-open.svgfrown.svgfutbol.svggem.svggrimace.svggrin-alt.svggrin-beam-sweat.svggrin-beam.svggrin-hearts.svggrin-squint-tears.svggrin-squint.svggrin-stars.svggrin-tears.svggrin-tongue-squint.svggrin-tongue-wink.svggrin-tongue.svggrin-wink.svggrin.svghand-lizard.svghand-paper.svghand-peace.svghand-point-down.svghand-point-left.svghand-point-right.svghand-point-up.svghand-pointer.svghand-rock.svghand-scissors.svghand-spock.svghandshake.svghdd.svgheart.svghospital.svghourglass.svgid-badge.svgid-card.svgimage.svgimages.svgkeyboard.svgkiss-beam.svgkiss-wink-heart.svgkiss.svglaugh-beam.svglaugh-squint.svglaugh-wink.svglaugh.svglemon.svglife-ring.svglightbulb.svglist-alt.svgmap.svgmeh-blank.svgmeh-rolling-eyes.svgmeh.svgminus-square.svgmoney-bill-alt.svgmoon.svgnewspaper.svgobject-group.svgobject-ungroup.svgpaper-plane.svgpause-circle.svgplay-circle.svgplus-square.svgquestion-circle.svgregistered.svgsad-cry.svgsad-tear.svgsave.svgshare-square.svgsmile-beam.svgsmile-wink.svgsmile.svgsnowflake.svgsquare.svgstar-half.svgstar.svgsticky-note.svgstop-circle.svgsun.svgsurprise.svgthumbs-down.svgthumbs-up.svgtimes-circle.svgtired.svgtrash-alt.svguser-circle.svguser.svgwindow-close.svgwindow-maximize.svgwindow-minimize.svgwindow-restore.svg
solid
ad.svgaddress-book.svgaddress-card.svgadjust.svgair-freshener.svgalign-center.svgalign-justify.svgalign-left.svgalign-right.svgallergies.svgambulance.svgamerican-sign-language-interpreting.svganchor.svgangle-double-down.svgangle-double-left.svgangle-double-right.svgangle-double-up.svgangle-down.svgangle-left.svgangle-right.svgangle-up.svgangry.svgankh.svgapple-alt.svgarchive.svgarchway.svgarrow-alt-circle-down.svgarrow-alt-circle-left.svgarrow-alt-circle-right.svgarrow-alt-circle-up.svgarrow-circle-down.svgarrow-circle-left.svgarrow-circle-right.svgarrow-circle-up.svgarrow-down.svgarrow-left.svgarrow-right.svgarrow-up.svgarrows-alt-h.svgarrows-alt-v.svgarrows-alt.svgassistive-listening-systems.svgasterisk.svgat.svgatlas.svgatom.svgaudio-description.svgaward.svgbackspace.svgbackward.svgbalance-scale.svgban.svgband-aid.svgbarcode.svgbars.svgbaseball-ball.svgbasketball-ball.svgbath.svgbattery-empty.svgbattery-full.svgbattery-half.svgbattery-quarter.svgbattery-three-quarters.svgbed.svgbeer.svgbell-slash.svgbell.svgbezier-curve.svgbible.svgbicycle.svgbinoculars.svgbirthday-cake.svgblender-phone.svgblender.svgblind.svgbold.svgbolt.svgbomb.svgbone.svgbong.svgbook-dead.svgbook-open.svgbook-reader.svgbook.svgbookmark.svgbowling-ball.svgbox-open.svgbox.svgboxes.svgbraille.svgbrain.svgbriefcase-medical.svgbriefcase.svgbroadcast-tower.svgbroom.svgbrush.svgbug.svgbuilding.svgbullhorn.svgbullseye.svgburn.svgbus-alt.svgbus.svgbusiness-time.svgcalculator.svgcalendar-alt.svgcalendar-check.svgcalendar-minus.svgcalendar-plus.svgcalendar-times.svgcalendar.svgcamera-retro.svgcamera.svgcampground.svgcannabis.svgcapsules.svgcar-alt.svgcar-battery.svgcar-crash.svgcar-side.svgcar.svgcaret-down.svgcaret-left.svgcaret-right.svgcaret-square-down.svgcaret-square-left.svgcaret-square-right.svgcaret-square-up.svgcaret-up.svgcart-arrow-down.svgcart-plus.svgcat.svgcertificate.svgchair.svgchalkboard-teacher.svgchalkboard.svgcharging-station.svgchart-area.svgchart-bar.svgchart-line.svgchart-pie.svgcheck-circle.svgcheck-double.svgcheck-square.svgcheck.svgchess-bishop.svgchess-board.svgchess-king.svgchess-knight.svgchess-pawn.svgchess-queen.svgchess-rook.svgchess.svgchevron-circle-down.svgchevron-circle-left.svgchevron-circle-right.svgchevron-circle-up.svgchevron-down.svgchevron-left.svgchevron-right.svgchevron-up.svgchild.svgchurch.svgcircle-notch.svgcircle.svgcity.svgclipboard-check.svgclipboard-list.svgclipboard.svgclock.svgclone.svgclosed-captioning.svgcloud-download-alt.svgcloud-meatball.svgcloud-moon-rain.svgcloud-moon.svgcloud-rain.svgcloud-showers-heavy.svgcloud-sun-rain.svgcloud-sun.svgcloud-upload-alt.svgcloud.svgcocktail.svgcode-branch.svgcode.svgcoffee.svgcog.svgcogs.svgcoins.svgcolumns.svgcomment-alt.svgcomment-dollar.svgcomment-dots.svgcomment-slash.svgcomment.svgcomments-dollar.svgcomments.svgcompact-disc.svgcompass.svgcompress.svgconcierge-bell.svgcookie-bite.svgcookie.svgcopy.svgcopyright.svgcouch.svgcredit-card.svgcrop-alt.svgcrop.svgcross.svgcrosshairs.svgcrow.svgcrown.svgcube.svgcubes.svgcut.svgdatabase.svgdeaf.svgdemocrat.svgdesktop.svgdharmachakra.svgdiagnoses.svgdice-d20.svgdice-d6.svgdice-five.svgdice-four.svgdice-one.svgdice-six.svgdice-three.svgdice-two.svgdice.svgdigital-tachograph.svgdirections.svgdivide.svgdizzy.svgdna.svgdog.svgdollar-sign.svgdolly-flatbed.svgdolly.svgdonate.svgdoor-closed.svgdoor-open.svgdot-circle.svgdove.svgdownload.svgdrafting-compass.svgdragon.svgdraw-polygon.svgdrum-steelpan.svgdrum.svgdrumstick-bite.svgdumbbell.svgdungeon.svgedit.svgeject.svgellipsis-h.svgellipsis-v.svgenvelope-open-text.svgenvelope-open.svgenvelope-square.svgenvelope.svgequals.svgeraser.svgeuro-sign.svgexchange-alt.svgexclamation-circle.svgexclamation-triangle.svgexclamation.svgexpand-arrows-alt.svgexpand.svgexternal-link-alt.svgexternal-link-square-alt.svgeye-dropper.svgeye-slash.svgeye.svgfast-backward.svgfast-forward.svgfax.svgfeather-alt.svgfeather.svgfemale.svgfighter-jet.svgfile-alt.svgfile-archive.svgfile-audio.svgfile-code.svgfile-contract.svgfile-csv.svgfile-download.svgfile-excel.svgfile-export.svgfile-image.svgfile-import.svgfile-invoice-dollar.svgfile-invoice.svgfile-medical-alt.svgfile-medical.svgfile-pdf.svgfile-powerpoint.svgfile-prescription.svgfile-signature.svgfile-upload.svgfile-video.svgfile-word.svgfile.svgfill-drip.svgfill.svgfilm.svgfilter.svgfingerprint.svgfire-extinguisher.svgfire.svgfirst-aid.svgfish.svgfist-raised.svgflag-checkered.svgflag-usa.svgflag.svgflask.svgflushed.svgfolder-minus.svgfolder-open.svgfolder-plus.svgfolder.svgfont-awesome-logo-full.svgfont.svgfootball-ball.svgforward.svgfrog.svgfrown-open.svgfrown.svgfunnel-dollar.svgfutbol.svggamepad.svggas-pump.svggavel.svggem.svggenderless.svgghost.svggift.svgglass-martini-alt.svgglass-martini.svgglasses.svgglobe-africa.svgglobe-americas.svgglobe-asia.svgglobe.svggolf-ball.svggopuram.svggraduation-cap.svggreater-than-equal.svggreater-than.svggrimace.svggrin-alt.svggrin-beam-sweat.svggrin-beam.svggrin-hearts.svggrin-squint-tears.svggrin-squint.svggrin-stars.svggrin-tears.svggrin-tongue-squint.svggrin-tongue-wink.svggrin-tongue.svggrin-wink.svggrin.svggrip-horizontal.svggrip-vertical.svgh-square.svghammer.svghamsa.svghand-holding-heart.svghand-holding-usd.svghand-holding.svghand-lizard.svghand-paper.svghand-peace.svghand-point-down.svghand-point-left.svghand-point-right.svghand-point-up.svghand-pointer.svghand-rock.svghand-scissors.svghand-spock.svghands-helping.svghands.svghandshake.svghanukiah.svghashtag.svghat-wizard.svghaykal.svghdd.svgheading.svgheadphones-alt.svgheadphones.svgheadset.svgheart.svgheartbeat.svghelicopter.svghighlighter.svghiking.svghippo.svghistory.svghockey-puck.svghome.svghorse.svghospital-alt.svghospital-symbol.svghospital.svghot-tub.svghotel.svghourglass-end.svghourglass-half.svghourglass-start.svghourglass.svghouse-damage.svghryvnia.svgi-cursor.svgid-badge.svgid-card-alt.svgid-card.svgimage.svgimages.svginbox.svgindent.svgindustry.svginfinity.svginfo-circle.svginfo.svgitalic.svgjedi.svgjoint.svgjournal-whills.svgkaaba.svgkey.svgkeyboard.svgkhanda.svgkiss-beam.svgkiss-wink-heart.svgkiss.svgkiwi-bird.svglandmark.svglanguage.svglaptop-code.svglaptop.svglaugh-beam.svglaugh-squint.svglaugh-wink.svglaugh.svglayer-group.svgleaf.svglemon.svgless-than-equal.svgless-than.svglevel-down-alt.svglevel-up-alt.svglife-ring.svglightbulb.svglink.svglira-sign.svglist-alt.svglist-ol.svglist-ul.svglist.svglocation-arrow.svglock-open.svglock.svglong-arrow-alt-down.svglong-arrow-alt-left.svglong-arrow-alt-right.svglong-arrow-alt-up.svglow-vision.svgluggage-cart.svgmagic.svgmagnet.svgmail-bulk.svgmale.svgmap-marked-alt.svgmap-marked.svgmap-marker-alt.svgmap-marker.svgmap-pin.svgmap-signs.svgmap.svgmarker.svgmars-double.svgmars-stroke-h.svgmars-stroke-v.svgmars-stroke.svgmars.svgmask.svgmedal.svgmedkit.svgmeh-blank.svgmeh-rolling-eyes.svgmeh.svgmemory.svgmenorah.svgmercury.svgmeteor.svgmicrochip.svgmicrophone-alt-slash.svgmicrophone-alt.svgmicrophone-slash.svgmicrophone.svgmicroscope.svgminus-circle.svgminus-square.svgminus.svgmobile-alt.svgmobile.svgmoney-bill-alt.svgmoney-bill-wave-alt.svgmoney-bill-wave.svgmoney-bill.svgmoney-check-alt.svgmoney-check.svgmonument.svgmoon.svgmortar-pestle.svgmosque.svgmotorcycle.svgmountain.svgmouse-pointer.svgmusic.svgnetwork-wired.svgneuter.svgnewspaper.svgnot-equal.svgnotes-medical.svgobject-group.svgobject-ungroup.svgoil-can.svgom.svgotter.svgoutdent.svgpaint-brush.svgpaint-roller.svgpalette.svgpallet.svgpaper-plane.svgpaperclip.svgparachute-box.svgparagraph.svgparking.svgpassport.svgpastafarianism.svgpaste.svgpause-circle.svgpause.svgpaw.svgpeace.svgpen-alt.svgpen-fancy.svgpen-nib.svgpen-square.svgpen.svgpencil-alt.svgpencil-ruler.svgpeople-carry.svgpercent.svgpercentage.svgperson-booth.svgphone-slash.svgphone-square.svgphone-volume.svgphone.svgpiggy-bank.svgpills.svgplace-of-worship.svgplane-arrival.svgplane-departure.svgplane.svgplay-circle.svgplay.svgplug.svgplus-circle.svgplus-square.svgplus.svgpodcast.svgpoll-h.svgpoll.svgpoo-storm.svgpoo.svgpoop.svgportrait.svgpound-sign.svgpower-off.svgpray.svgpraying-hands.svgprescription-bottle-alt.svgprescription-bottle.svgprescription.svgprint.svgprocedures.svgproject-diagram.svgpuzzle-piece.svgqrcode.svgquestion-circle.svgquestion.svgquidditch.svgquote-left.svgquote-right.svgquran.svgrainbow.svgrandom.svgreceipt.svgrecycle.svgredo-alt.svgredo.svgregistered.svgreply-all.svgreply.svgrepublican.svgretweet.svgribbon.svgring.svgroad.svgrobot.svgrocket.svgroute.svgrss-square.svgrss.svgruble-sign.svgruler-combined.svgruler-horizontal.svgruler-vertical.svgruler.svgrunning.svgrupee-sign.svgsad-cry.svgsad-tear.svgsave.svgschool.svgscrewdriver.svgscroll.svgsearch-dollar.svgsearch-location.svgsearch-minus.svgsearch-plus.svgsearch.svgseedling.svgserver.svgshapes.svgshare-alt-square.svgshare-alt.svgshare-square.svgshare.svgshekel-sign.svgshield-alt.svgship.svgshipping-fast.svgshoe-prints.svgshopping-bag.svgshopping-basket.svgshopping-cart.svgshower.svgshuttle-van.svgsign-in-alt.svgsign-language.svgsign-out-alt.svgsign.svgsignal.svgsignature.svgsitemap.svgskull-crossbones.svgskull.svgslash.svgsliders-h.svgsmile-beam.svgsmile-wink.svgsmile.svgsmog.svgsmoking-ban.svgsmoking.svgsnowflake.svgsocks.svgsolar-panel.svgsort-alpha-down.svgsort-alpha-up.svgsort-amount-down.svgsort-amount-up.svgsort-down.svgsort-numeric-down.svgsort-numeric-up.svgsort-up.svgsort.svgspa.svgspace-shuttle.svgspider.svgspinner.svgsplotch.svgspray-can.svgsquare-full.svgsquare-root-alt.svgsquare.svgstamp.svgstar-and-crescent.svgstar-half-alt.svgstar-half.svgstar-of-david.svgstar-of-life.svgstar.svgstep-backward.svgstep-forward.svgstethoscope.svgsticky-note.svgstop-circle.svgstop.svgstopwatch.svgstore-alt.svgstore.svgstream.svgstreet-view.svgstrikethrough.svgstroopwafel.svgsubscript.svgsubway.svgsuitcase-rolling.svgsuitcase.svgsun.svgsuperscript.svgsurprise.svgswatchbook.svgswimmer.svgswimming-pool.svgsynagogue.svgsync-alt.svgsync.svgsyringe.svgtable-tennis.svgtable.svgtablet-alt.svgtablet.svgtablets.svgtachometer-alt.svgtag.svgtags.svgtape.svgtasks.svgtaxi.svgteeth-open.svgteeth.svgtemperature-high.svgtemperature-low.svgterminal.svgtext-height.svgtext-width.svgth-large.svgth-list.svgth.svgtheater-masks.svgthermometer-empty.svgthermometer-full.svgthermometer-half.svgthermometer-quarter.svgthermometer-three-quarters.svgthermometer.svgthumbs-down.svgthumbs-up.svgthumbtack.svgticket-alt.svgtimes-circle.svgtimes.svgtint-slash.svgtint.svgtired.svgtoggle-off.svgtoggle-on.svgtoilet-paper.svgtoolbox.svgtooth.svgtorah.svgtorii-gate.svgtractor.svgtrademark.svgtraffic-light.svgtrain.svgtransgender-alt.svgtransgender.svgtrash-alt.svgtrash.svgtree.svgtrophy.svgtruck-loading.svgtruck-monster.svgtruck-moving.svgtruck-pickup.svgtruck.svgtshirt.svgtty.svgtv.svgumbrella-beach.svgumbrella.svgunderline.svgundo-alt.svgundo.svguniversal-access.svguniversity.svgunlink.svgunlock-alt.svgunlock.svgupload.svguser-alt-slash.svguser-alt.svguser-astronaut.svguser-check.svguser-circle.svguser-clock.svguser-cog.svguser-edit.svguser-friends.svguser-graduate.svguser-injured.svguser-lock.svguser-md.svguser-minus.svguser-ninja.svguser-plus.svguser-secret.svguser-shield.svguser-slash.svguser-tag.svguser-tie.svguser-times.svguser.svgusers-cog.svgusers.svgutensil-spoon.svgutensils.svgvector-square.svgvenus-double.svgvenus-mars.svgvenus.svgvial.svgvials.svgvideo-slash.svgvideo.svgvihara.svgvolleyball-ball.svgvolume-down.svgvolume-mute.svgvolume-off.svgvolume-up.svgvote-yea.svgvr-cardboard.svgwalking.svgwallet.svgwarehouse.svgwater.svgweight-hanging.svgweight.svgwheelchair.svgwifi.svgwind.svgwindow-close.svgwindow-maximize.svgwindow-minimize.svgwindow-restore.svgwine-bottle.svgwine-glass-alt.svgwine-glass.svgwon-sign.svgwrench.svgx-ray.svgyen-sign.svgyin-yang.svg
webfonts
bootstrap
dist
chart.js
jquery
js-cookie
nucleo
resources
assets
css
nucleo
js
Install.vueapp.jsbootstrap.js
components
AkauntingDashboard.vueAkauntingDate.vueAkauntingModal.vueAkauntingRecurring.vueAkauntingSearch.vueAkauntingSelect.vueAkauntingWidget.vueBadge.vueBaseAlert.vueBaseButton.vueBaseDropdown.vueBaseHeader.vueBasePagination.vueBaseProgress.vueBaseSlider.vueBaseSwitch.vueBaseTable.vue
Breadcrumb
ButtonCheckbox.vueButtonRadioGroup.vueCards
Charts
CloseButton.vueCollapse
DataRangePicker.vueExample.vueFeed
Field-Attributes.vueInputs
BaseCheckbox.vueBaseInput.vueBaseRadio.vueDropzoneFileUpload.vueFileInput.vueHtmlEditor.vueIconCheckbox.vueTagsInput.vue
LoadingPanel.vueModal.vueNavbar
NavbarToggleButton.vueNotificationPlugin
SidebarPlugin
Tabs
Timeline
WorldMap
forms
AkauntingCheckboxGroup.vueAkauntingEmailGroup.vueAkauntingFileGroup.vueAkauntingInvoiceTextGroup.vueAkauntingNumberGroup.vueAkauntingPasswordGroup.vueAkauntingRadioGroup.vueAkauntingSaveButtons.vueAkauntingSelectGroup.vueAkauntingTextGroup.vueAkauntingTextareaGroup.vue
index.jsdirectives
install.jsmixins
plugins
bulk-action.jsdashboard-plugin.jserror.jsform.jsglobalComponents.jsglobalDirectives.jsnprogress-axios.jsselecttwo.js
polyfills.jsviews
auth
banking
common
expenses
incomes
install
modules
portal
settings
wizard
sass
_variables.scssapp.scssargon.scss
core
alerts
avatars
badges
breadcrumbs
buttons
cards
_card-animations.scss_card-blockquote.scss_card-money.scss_card-pricing.scss_card-profile.scss_card-stats.scss_card.scss
charts
close
collapse
content
custom-forms
dropdowns
footers
forms
grid
headers
icons
list-groups
maps
masks
medias
mixins
_alert.scss_background-variant.scss_badge.scss_buttons.scss_custom-forms.scss_forms.scss_icon.scss_modals.scss_popover.scss
modals
navbars
_navbar-collapse.scss_navbar-dropdown.scss_navbar-floating.scss_navbar-search.scss_navbar-top.scss_navbar-vertical.scss_navbar.scss
navs
paginations
popovers
progresses
reboot
sections
separators
shortcuts
tables
timeline
type
utilities
_backgrounds.scss_blurable.scss_floating.scss_helper.scss_image.scss_opacity.scss_overflow.scss_position.scss_shadows.scss_sizing.scss_spacing.scss_text.scss_transform.scss
vendors
custom
lang
ar-SA
bg-BG
cs-CZ
da-DK
de-DE
el-GR
en-GB
auth.phpbulk_actions.phpcompanies.phpcustomers.phpdashboard.phpemail_templates.phpgeneral.phpheader.phpinvoices.phpitems.phpmaintenance.phpmessages.phpmodules.phppagination.phpreconciliations.phpreports.phpsettings.phptaxes.phpvalidation.php
es-ES
es-MX
fa-IR
fr-FR
he-IL
hr-HR
id-ID
it-IT
ja-JP
ka-GE
ko-KR
lt-LT
lv-LV
mk-MK
nb-NO
nl-NL
pt-BR
pt-PT
ro-RO
ru-RU
sk-SK
sq-AL
sr-RS
sv-SE
th-TH
tr-TR
uk-UA
ur-PK
vendor
firewall
vi-VN
zh-CN
zh-TW
views
auth
forgot
login
permissions
reset
roles
users
banking
accounts
reconciliations
transactions
transfers
common
companies
dashboard
import
items
notifications
reports
customers
dashboard
invoices
payments
transactions
errors
expenses
bills
payments
vendors
incomes
customers
invoices
revenues
install
database
language
requirements
settings
updates
layouts
admin.blade.phpauth.blade.phpbill.blade.phpcustomer.blade.phpinstall.blade.phpinvoice.blade.phplink.blade.phpmodules.blade.phpportal.blade.phpprint.blade.phpsigned.blade.phpwidget.blade.phpwizard.blade.php
modals
bills
categories
customers
invoices
taxes
vendors
modules
api_key
home
item
my
tiles
token
partials
admin
content.blade.phpfooter.blade.phphead.blade.phpheader.blade.phpmenu.blade.phpnavbar.blade.phppagination.blade.phpscripts.blade.php
auth
bill
customer
email
form
alias_group.blade.phpbulk_action_all_group.blade.phpbulk_action_group.blade.phpbulk_action_row_group.blade.phpcheckbox_group.blade.phpdate_group.blade.phpdate_range.blade.phpdelete_button.blade.phpdelete_link.blade.phpemail_group.blade.phpenabled_group.blade.phpfile_group.blade.phpinvoice_text.blade.phpmoney_group.blade.phpmulti_select_add_new_group.blade.phpmulti_select_group.blade.phpnumber_group.blade.phppassword_group.blade.phpradio_group.blade.phprecurring.blade.phpsave_buttons.blade.phpselect_add_new_group.blade.phpselect_group.blade.phpselect_group_add_new_group.blade.phpselect_group_group.blade.phptext_group.blade.phptextarea_group.blade.php
install
invoice
link
media
modules
portal
content.blade.phpfooter.blade.phphead.blade.phpheader.blade.phpmenu.blade.phpnavbar.blade.phppagination.blade.php
payment_method
scripts.blade.phppwa
reports
chart.blade.phpcontent.blade.php
content
filter.blade.phpheader.blade.phpprint.blade.phpshow.blade.phptable.blade.phptable
signed
widget
wizard
portal
dashboard
invoices
payments
profile
transactions
reports
expense_summary
income_expense_summary
income_summary
profit_loss
tax_summary
settings
categories
company
currencies
default
email
invoice
localisation
modules
schedule
settings
taxes
vendor
consoletvs
charts
flash
language
mail
notifications
pagination
widgets
account_balance.blade.phpcash_flow.blade.phpexpenses_by_category.blade.phpincomes_by_category.blade.phplatest_expenses.blade.phplatest_incomes.blade.phptotal_expenses.blade.phptotal_incomes.blade.phptotal_profit.blade.php
wizard
companies
currencies
finish
taxes
routes
serviceworker.jsstorage
tests
Feature
Auth
Banking
Commands
Common
Expenses
FeatureTestCase.phpIncomes
Reports
ExpenseSummaryTest.phpIncomeExpenseSumaryTest.phpIncomeSummaryTest.phpProfitLossTest.phpTaxSummaryTest.php
Settings
125
resources/assets/js/components/Modal.vue
Normal file
125
resources/assets/js/components/Modal.vue
Normal file
@ -0,0 +1,125 @@
|
||||
<template>
|
||||
<SlideYUpTransition :duration="animationDuration">
|
||||
<div class="modal fade"
|
||||
@click.self="closeModal"
|
||||
:class="[{'show d-block': show}, {'d-none': !show}, {'modal-mini': type === 'mini'}]"
|
||||
v-show="show"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
:aria-hidden="!show">
|
||||
|
||||
<div class="modal-dialog modal-dialog-centered"
|
||||
:class="[{'modal-notice': type === 'notice', [`modal-${size}`]: size}, modalClasses]">
|
||||
<div class="modal-content" :class="[gradient ? `bg-gradient-${gradient}` : '',modalContentClasses]">
|
||||
|
||||
<div class="card-header" :class="[headerClasses]" v-if="$slots.header">
|
||||
<slot name="header"></slot>
|
||||
<slot name="close-button">
|
||||
<button type="button"
|
||||
class="close"
|
||||
v-if="showClose"
|
||||
@click="closeModal"
|
||||
data-dismiss="modal"
|
||||
aria-label="Close">
|
||||
<span :aria-hidden="!show">×</span>
|
||||
</button>
|
||||
</slot>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" :class="bodyClasses">
|
||||
<slot></slot>
|
||||
</div>
|
||||
|
||||
<div class="card-footer" :class="footerClasses" v-if="$slots.footer">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</SlideYUpTransition>
|
||||
</template>
|
||||
<script>
|
||||
import { SlideYUpTransition } from "vue2-transitions";
|
||||
|
||||
export default {
|
||||
name: "modal",
|
||||
components: {
|
||||
SlideYUpTransition
|
||||
},
|
||||
props: {
|
||||
show: Boolean,
|
||||
showClose: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: "",
|
||||
validator(value) {
|
||||
let acceptedValues = ["", "notice", "mini"];
|
||||
return acceptedValues.indexOf(value) !== -1;
|
||||
},
|
||||
description: 'Modal type (notice|mini|"") '
|
||||
},
|
||||
modalClasses: {
|
||||
type: [Object, String],
|
||||
description: "Modal dialog css classes"
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
description: 'Modal size',
|
||||
validator(value) {
|
||||
let acceptedValues = ["", "sm", "lg"];
|
||||
return acceptedValues.indexOf(value) !== -1;
|
||||
},
|
||||
},
|
||||
modalContentClasses: {
|
||||
type: [Object, String],
|
||||
description: "Modal dialog content css classes"
|
||||
},
|
||||
gradient: {
|
||||
type: String,
|
||||
description: "Modal gradient type (danger, primary etc)"
|
||||
},
|
||||
headerClasses: {
|
||||
type: [Object, String],
|
||||
description: "Modal Header css classes"
|
||||
},
|
||||
bodyClasses: {
|
||||
type: [Object, String],
|
||||
description: "Modal Body css classes"
|
||||
},
|
||||
footerClasses: {
|
||||
type: [Object, String],
|
||||
description: "Modal Footer css classes"
|
||||
},
|
||||
animationDuration: {
|
||||
type: Number,
|
||||
default: 500,
|
||||
description: "Modal transition duration"
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
closeModal() {
|
||||
this.$emit("update:show", false);
|
||||
this.$emit("close");
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
show(val) {
|
||||
let documentClasses = document.body.classList;
|
||||
if (val) {
|
||||
documentClasses.add("modal-open");
|
||||
} else {
|
||||
documentClasses.remove("modal-open");
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
.modal.show {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user