@nathapp/na-cli 1.0.1-rc.6 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -20
- package/dist/index.js +36 -2
- package/dist/index.js.map +1 -1
- package/dist/templates/k8s-cert-manager/README.md +60 -0
- package/dist/templates/k8s-cert-manager/cloudflare-cert-manager-issuer.yaml +26 -0
- package/dist/templates/k8s-deployment/templates/_deployment.tpl +1 -1
- package/dist/templates/k8s-deployment/templates/_endpointslice.tpl +42 -0
- package/dist/templates/k8s-deployment/templates/_gateway.tpl +94 -0
- package/dist/templates/k8s-deployment/templates/_grpcroute.tpl +186 -0
- package/dist/templates/k8s-deployment/templates/_httproute.tpl +209 -0
- package/dist/templates/k8s-deployment/templates/_ingressroute.tpl +178 -0
- package/dist/templates/k8s-deployment/templates/_middleware.tpl +553 -0
- package/dist/templates/k8s-deployment/templates/_serverstransport.tpl +73 -0
- package/dist/templates/k8s-deployment/templates/_service.tpl +4 -1
- package/dist/templates/k8s-helm-chart/templates/endpointslice.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/gateway.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/grpcroute.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/httproute.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/ingressroute.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/middleware.yaml +1 -0
- package/dist/templates/k8s-helm-chart/templates/serverstransport.yaml +1 -0
- package/dist/templates/k8s-helm-chart/values.yaml +3 -5
- package/dist/templates/nestjs-api/{.env → .env.local} +5 -0
- package/dist/templates/nestjs-api/.gitignore-rename +2 -1
- package/dist/templates/nestjs-api/Dockerfile +33 -13
- package/dist/templates/nestjs-api/package.json +49 -39
- package/dist/templates/nestjs-api/src/i18n/en_US/date.json +7 -0
- package/dist/templates/nestjs-api/src/i18n/en_US/validation.json +16 -0
- package/dist/templates/nestjs-api/src/i18n/zh_CN/date.json +7 -0
- package/dist/templates/nestjs-api/src/i18n/zh_CN/validation.json +16 -0
- package/dist/templates/nestjs-api/src/i18n/zh_TW/date.json +7 -0
- package/dist/templates/nestjs-api/src/i18n/zh_TW/validation.json +16 -0
- package/dist/templates/nestjs-api/test/jest-test.json +26 -0
- package/dist/templates/nestjs-library/.npmignore-rename +4 -0
- package/dist/templates/nestjs-library/package.json +8 -8
- package/dist/templates/ts-library/.npmignore-rename +4 -0
- package/dist/templates/turbo-nestjs-vuexy/README.md +3 -0
- package/dist/templates/turbo-nestjs-vuexy/package.json +49 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/README.md +3 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/library.js +43 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/package.json +18 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/vue.js +236 -0
- package/dist/templates/{ts-library/tsconfig.json → turbo-nestjs-vuexy/packages/typescript-config/base.json} +4 -6
- package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/nestjs.json +12 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/package.json +9 -0
- package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/vue.json +82 -0
- package/dist/templates/turbo-nestjs-vuexy/turbo.json +24 -0
- package/dist/templates/vuexy-portal/.editorconfig +1 -0
- package/dist/templates/vuexy-portal/.eslintrc.cjs +237 -0
- package/dist/templates/vuexy-portal/.gitignore-rename +42 -0
- package/dist/templates/vuexy-portal/.stylelintrc.json +46 -0
- package/dist/templates/vuexy-portal/Dockerfile +43 -0
- package/dist/templates/vuexy-portal/README.md +35 -0
- package/dist/templates/vuexy-portal/auto-imports.d.ts +1131 -0
- package/dist/templates/vuexy-portal/components.d.ts +68 -0
- package/dist/templates/vuexy-portal/dev.Dockerfile +25 -0
- package/dist/templates/vuexy-portal/docker-compose.dev.yml +14 -0
- package/dist/templates/vuexy-portal/docker-compose.prod.yml +13 -0
- package/dist/templates/vuexy-portal/entrypoint.sh +6 -0
- package/dist/templates/vuexy-portal/env.d.ts +12 -0
- package/dist/templates/vuexy-portal/index.html +57 -0
- package/dist/templates/vuexy-portal/nginx.conf +14 -0
- package/dist/templates/vuexy-portal/package.json +140 -0
- package/dist/templates/vuexy-portal/pnpm-lock.yaml +7963 -0
- package/dist/templates/vuexy-portal/prod.Dockerfile +41 -0
- package/dist/templates/vuexy-portal/public/favicon.ico +0 -0
- package/dist/templates/vuexy-portal/public/images/avatars/avatar-1.png +0 -0
- package/dist/templates/vuexy-portal/public/images/avatars/avatar-2.png +0 -0
- package/dist/templates/vuexy-portal/public/images/svg/discord.svg +10 -0
- package/dist/templates/vuexy-portal/public/images/svg/gift.svg +8 -0
- package/dist/templates/vuexy-portal/public/images/svg/keyboard.svg +8 -0
- package/dist/templates/vuexy-portal/public/images/svg/laptop.svg +8 -0
- package/dist/templates/vuexy-portal/public/images/svg/lightbulb.svg +8 -0
- package/dist/templates/vuexy-portal/public/images/svg/rocket.svg +8 -0
- package/dist/templates/vuexy-portal/public/loader.css +79 -0
- package/dist/templates/vuexy-portal/public/mockServiceWorker.js +287 -0
- package/dist/templates/vuexy-portal/shims.d.ts +15 -0
- package/dist/templates/vuexy-portal/src/@core/components/AppBarSearch.vue +278 -0
- package/dist/templates/vuexy-portal/src/@core/components/AppDrawerHeaderSection.vue +30 -0
- package/dist/templates/vuexy-portal/src/@core/components/AppStepper.vue +371 -0
- package/dist/templates/vuexy-portal/src/@core/components/BuyNow.vue +92 -0
- package/dist/templates/vuexy-portal/src/@core/components/CardStatisticsVerticalSimple.vue +35 -0
- package/dist/templates/vuexy-portal/src/@core/components/CustomizerSection.vue +27 -0
- package/dist/templates/vuexy-portal/src/@core/components/DialogCloseBtn.vue +25 -0
- package/dist/templates/vuexy-portal/src/@core/components/DropZone.vue +135 -0
- package/dist/templates/vuexy-portal/src/@core/components/I18n.vue +48 -0
- package/dist/templates/vuexy-portal/src/@core/components/MoreBtn.vue +24 -0
- package/dist/templates/vuexy-portal/src/@core/components/Notifications.vue +245 -0
- package/dist/templates/vuexy-portal/src/@core/components/ProductDescriptionEditor.vue +198 -0
- package/dist/templates/vuexy-portal/src/@core/components/ScrollToTop.vue +41 -0
- package/dist/templates/vuexy-portal/src/@core/components/Shortcuts.vue +99 -0
- package/dist/templates/vuexy-portal/src/@core/components/TablePagination.vue +39 -0
- package/dist/templates/vuexy-portal/src/@core/components/TheCustomizer.vue +618 -0
- package/dist/templates/vuexy-portal/src/@core/components/ThemeSwitcher.vue +61 -0
- package/dist/templates/vuexy-portal/src/@core/components/TiptapEditor.vue +166 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppAutocomplete.vue +57 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppCombobox.vue +57 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppDateTimePicker.vue +543 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppSelect.vue +50 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppTextField.vue +78 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppTextarea.vue +50 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxes.vue +81 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxesWithIcon.vue +95 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxesWithImage.vue +93 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadios.vue +81 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadiosWithIcon.vue +88 -0
- package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadiosWithImage.vue +99 -0
- package/dist/templates/vuexy-portal/src/@core/components/cards/AppCardActions.vue +167 -0
- package/dist/templates/vuexy-portal/src/@core/components/cards/AppCardCode.vue +152 -0
- package/dist/templates/vuexy-portal/src/@core/components/cards/CardStatisticsHorizontal.vue +41 -0
- package/dist/templates/vuexy-portal/src/@core/components/cards/CardStatisticsVertical.vue +48 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_components.scss +185 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_dark.scss +16 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout-w-horizontal-nav.scss +45 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout-w-vertical-nav.scss +103 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout.scss +16 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_horizontal-nav.scss +194 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_index.scss +48 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_layouts.scss +63 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_misc.scss +20 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_mixins.scss +63 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_route-transitions.scss +70 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_utilities.scss +181 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_utils.scss +90 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_variables.scss +198 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/_vertical-nav.scss +255 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/libs/_perfect-scrollbar.scss +35 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_index.scss +1 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_overrides.scss +264 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_variables.scss +62 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout-horizontal-nav.scss +27 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout-vertical-nav.scss +45 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout.scss +3 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_horizontal-nav.scss +98 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_index.scss +7 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_misc.scss +7 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_nav.scss +33 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_vertical-nav.scss +80 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/skins/_bordered.scss +72 -0
- package/dist/templates/vuexy-portal/src/@core/scss/base/skins/_index.scss +1 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_default-layout-w-horizontal-nav.scss +9 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_default-layout-w-vertical-nav.scss +20 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_horizontal-nav.scss +40 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_mixins.scss +6 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_utilities.scss +49 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_variables.scss +102 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/_vertical-nav.scss +47 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/index.scss +17 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/apex-chart.scss +108 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/full-calendar.scss +351 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/shepherd.scss +94 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/swiper.scss +5 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/_variables.scss +351 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_alert.scss +114 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_avatar.scss +27 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_badge.scss +25 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_button.scss +280 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_cards.scss +3 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_checkbox.scss +57 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_chip.scss +102 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_dialog.scss +27 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_expansion-panels.scss +106 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_field.scss +308 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_list.scss +30 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_menu.scss +35 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_otp-input.scss +17 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_pagination.scss +140 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_progress.scss +13 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_radio.scss +46 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_rating.scss +20 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_slider.scss +27 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_snackbar.scss +10 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_switch.scss +58 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_table.scss +48 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_tabs.scss +91 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_textarea.scss +9 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_timeline.scss +99 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_tooltip.scss +6 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/index.scss +25 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/index.scss +3 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/overrides.scss +18 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/pages/misc.scss +20 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/pages/page-auth.scss +63 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_default-layout-horizontal-nav.scss +7 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_default-layout-vertical-nav.scss +8 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_horizontal-nav.scss +47 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_index.scss +6 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_misc.scss +3 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_nav.scss +27 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_vertical-nav.scss +35 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/skins/_bordered.scss +82 -0
- package/dist/templates/vuexy-portal/src/@core/scss/template/skins/_index.scss +1 -0
- package/dist/templates/vuexy-portal/src/@custom/assets/images/user-profile-header.png +0 -0
- package/dist/templates/vuexy-portal/src/@custom/components/ConfirmationDialog.vue +155 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNav.vue +35 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavGroup.vue +110 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavLayout.vue +150 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavLink.vue +56 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavPopper.vue +175 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/TransitionExpand.vue +92 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VNodeRenderer.tsx +17 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNav.vue +236 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavGroup.vue +267 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavLayout.vue +232 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavLink.vue +68 -0
- package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavSectionTitle.vue +37 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_classes.scss +3 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_default-layout.scss +35 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_global.scss +10 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_mixins.scss +30 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_placeholders.scss +53 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_rtl.scss +7 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/_variables.scss +29 -0
- package/dist/templates/vuexy-portal/src/@layouts/styles/index.scss +3 -0
- package/dist/templates/vuexy-portal/src/App.vue +26 -0
- package/dist/templates/vuexy-portal/src/assets/images/avatars/avatar-1.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/border-light.svg +16 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/collapsed-light.svg +17 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/compact-light.svg +11 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/default-light.svg +17 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/horizontal-light.svg +12 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/ltr-light.svg +15 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/rtl-light.svg +15 -0
- package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/wide-light.svg +11 -0
- package/dist/templates/vuexy-portal/src/assets/images/logo.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/images/misc/3d-safe-box-with-golden-dollar-coins.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/misc/3d-space-rocket-with-smoke.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/misc/dollar-coins-flying-pink-piggy-bank.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/misc/fleet-car.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/pages/misc-mask-dark.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/pages/misc-mask-light.png +0 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/Card.svg +8 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/Check.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/Diamond.svg +12 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/Suitcase.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/Wallet.svg +10 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/address.svg +25 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/auth-v1-bottom-shape.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/auth-v1-top-shape.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/cart.svg +5 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-checked.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-indeterminate.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-unchecked.svg +10 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/discord.svg +10 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/gift.svg +8 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/home.svg +5 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/keyboard.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/laptop.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/lightbulb.svg +8 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/office.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/paper-send.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/payment.svg +21 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/radio-checked.svg +3 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/radio-unchecked.svg +3 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/rocket.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/trending.svg +14 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/user-info.svg +4 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/user.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-account.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-address.svg +18 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-personal.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-social-link.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-submit.svg +6 -0
- package/dist/templates/vuexy-portal/src/assets/styles/styles.scss +1 -0
- package/dist/templates/vuexy-portal/src/assets/styles/variables/_template.scss +6 -0
- package/dist/templates/vuexy-portal/src/assets/styles/variables/_vuetify.scss +7 -0
- package/dist/templates/vuexy-portal/src/components/AppLoadingIndicator.vue +63 -0
- package/dist/templates/vuexy-portal/src/components/AppPricing.vue +247 -0
- package/dist/templates/vuexy-portal/src/components/AppSearchHeader.vue +77 -0
- package/dist/templates/vuexy-portal/src/components/ErrorHeader.vue +40 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/AddAuthenticatorAppDialog.vue +101 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/AddEditAddressDialog.vue +238 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/AddEditPermissionDialog.vue +93 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/AddEditRoleDialog.vue +302 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/AddPaymentMethodDialog.vue +120 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/CardAddEditDialog.vue +153 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/ConfirmDialog.vue +151 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/CreateAppDialog.vue +459 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/EnableOneTimePasswordDialog.vue +85 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/PaymentProvidersDialog.vue +123 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/PricingPlanDialog.vue +34 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/ReferAndEarnDialog.vue +181 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/ShareProjectDialog.vue +198 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/TwoFactorAuthDialog.vue +120 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/UserInfoEditDialog.vue +246 -0
- package/dist/templates/vuexy-portal/src/components/dialogs/UserUpgradePlanDialog.vue +101 -0
- package/dist/templates/vuexy-portal/src/layouts/blank.vue +42 -0
- package/dist/templates/vuexy-portal/src/layouts/components/DefaultLayoutWithHorizontalNav.vue +75 -0
- package/dist/templates/vuexy-portal/src/layouts/components/DefaultLayoutWithVerticalNav.vue +79 -0
- package/dist/templates/vuexy-portal/src/layouts/components/Footer.vue +17 -0
- package/dist/templates/vuexy-portal/src/layouts/components/NavSearchBar.vue +266 -0
- package/dist/templates/vuexy-portal/src/layouts/components/NavbarShortcuts.vue +45 -0
- package/dist/templates/vuexy-portal/src/layouts/components/NavbarThemeSwitcher.vue +22 -0
- package/dist/templates/vuexy-portal/src/layouts/components/UserProfile.vue +114 -0
- package/dist/templates/vuexy-portal/src/layouts/default.vue +30 -0
- package/dist/templates/vuexy-portal/src/pages/[...error].vue +46 -0
- package/dist/templates/vuexy-portal/src/pages/account-settings/[tab].vue +57 -0
- package/dist/templates/vuexy-portal/src/pages/index.vue +32 -0
- package/dist/templates/vuexy-portal/src/pages/login.vue +178 -0
- package/dist/templates/vuexy-portal/src/pages/not-authorized.vue +47 -0
- package/dist/templates/vuexy-portal/src/pages/second-page.vue +13 -0
- package/dist/templates/vuexy-portal/src/plugins/casl/shims-ability.d.ts +8 -0
- package/dist/templates/vuexy-portal/src/plugins/i18n/locales/en_US.json +88 -0
- package/dist/templates/vuexy-portal/src/plugins/i18n/locales/zh_CN.json +88 -0
- package/dist/templates/vuexy-portal/src/plugins/i18n/vue-i18n.d.ts +17 -0
- package/dist/templates/vuexy-portal/src/plugins/iconify/icons.css +21039 -0
- package/dist/templates/vuexy-portal/src/plugins/iconify/package.json +3 -0
- package/dist/templates/vuexy-portal/src/views/account-settings/AccountSettingsSecurity.vue +179 -0
- package/dist/templates/vuexy-portal/typed-router.d.ts +146 -0
- package/dist/utils/template.js +122 -47
- package/dist/utils/template.js.map +1 -1
- package/package.json +1 -1
- package/.gitlab-ci.yml +0 -143
- package/Makefile +0 -62
- package/dist/templates/db-schema/.gitlab-ci.yml +0 -139
- package/dist/templates/db-schema/Makefile +0 -885
- package/dist/templates/k8s-deployment/.gitlab-ci.yml +0 -128
- package/dist/templates/k8s-deployment/Makefile +0 -196
- package/dist/templates/k8s-deployment/resources/charts/mysql/charts/mysql-install/script/Makefile +0 -12
- package/dist/templates/k8s-deployment/resources/charts/redis/charts/redis-install/script/Makefile +0 -8
- package/dist/templates/k8s-deployment/services/charts/hooks/charts/pre-delete-rsc/script/Makefile +0 -49
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-cypress/Makefile +0 -9
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/script/Makefile +0 -14
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/_t-0100-readiness-liveness.ts +0 -84
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/hub.ts +0 -372
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-contact.ts +0 -158
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-contract.ts +0 -328
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-kyc.ts +0 -304
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-onboard-app.ts +0 -823
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-onboard-web.ts +0 -493
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-profile.ts +0 -277
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-whitelist.ts +0 -133
- package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/t-0200-start.ts +0 -172
- package/dist/templates/mxw-base-api-express/.dockerignore +0 -2
- package/dist/templates/mxw-base-api-express/.env +0 -10
- package/dist/templates/mxw-base-api-express/.gitignore-rename +0 -3
- package/dist/templates/mxw-base-api-express/.gitlab-ci.yml +0 -174
- package/dist/templates/mxw-base-api-express/.nvmrc +0 -1
- package/dist/templates/mxw-base-api-express/Dockerfile +0 -14
- package/dist/templates/mxw-base-api-express/Makefile +0 -84
- package/dist/templates/mxw-base-api-express/README.md +0 -71
- package/dist/templates/mxw-base-api-express/package.json +0 -55
- package/dist/templates/mxw-base-api-express/src/app-service.test.ts +0 -94
- package/dist/templates/mxw-base-api-express/src/app-service.ts +0 -498
- package/dist/templates/mxw-base-api-express/src/auth/auth-user.test.ts +0 -215
- package/dist/templates/mxw-base-api-express/src/auth/auth-user.ts +0 -86
- package/dist/templates/mxw-base-api-express/src/auth/auth.ts +0 -81
- package/dist/templates/mxw-base-api-express/src/core-service.ts +0 -72
- package/dist/templates/mxw-base-api-express/src/crud.ts +0 -84
- package/dist/templates/mxw-base-api-express/src/http-handler.ts +0 -71
- package/dist/templates/mxw-base-api-express/src/server.ts +0 -54
- package/dist/templates/mxw-base-api-express/src/test.ts +0 -38
- package/dist/templates/mxw-base-api-express/src/utils/api-utilities.ts +0 -52
- package/dist/templates/mxw-base-api-express/src/utils/file-utilities.ts +0 -55
- package/dist/templates/mxw-base-api-express/tsconfig.json +0 -32
- package/dist/templates/nestjs-api/.dockerignore +0 -6
- package/dist/templates/nestjs-api/.gitlab-ci.yml +0 -174
- package/dist/templates/nestjs-api/.nvmrc +0 -1
- package/dist/templates/nestjs-api/.prettierrc +0 -4
- package/dist/templates/nestjs-api/Makefile +0 -95
- package/dist/templates/nestjs-api/nest-cli.json +0 -11
- package/dist/templates/nestjs-api/src/app.controller.spec.ts +0 -24
- package/dist/templates/nestjs-api/src/app.controller.ts +0 -27
- package/dist/templates/nestjs-api/src/app.module.ts +0 -49
- package/dist/templates/nestjs-api/src/app.service.ts +0 -27
- package/dist/templates/nestjs-api/src/main.ts +0 -26
- package/dist/templates/nestjs-api/test/app.e2e-spec.ts +0 -47
- package/dist/templates/nestjs-api/tsconfig.build.json +0 -4
- package/dist/templates/nestjs-api/tsconfig.json +0 -24
- package/dist/templates/nestjs-library/.eslintrc.js +0 -24
- package/dist/templates/nestjs-library/.gitlab-ci.yml +0 -138
- package/dist/templates/nestjs-library/.prettierrc +0 -6
- package/dist/templates/nestjs-library/Makefile +0 -60
- package/dist/templates/nestjs-library/index.ts +0 -1
- package/dist/templates/nestjs-library/lib/index.ts +0 -2
- package/dist/templates/nestjs-library/test/app/controller/hello.controller.ts +0 -7
- package/dist/templates/nestjs-library/tsconfig.build.json +0 -7
- package/dist/templates/nestjs-library/tsconfig.json +0 -18
- package/dist/templates/ts-library/.dockerignore +0 -2
- package/dist/templates/ts-library/.eslintrc.js +0 -24
- package/dist/templates/ts-library/.gitlab-ci.yml +0 -136
- package/dist/templates/ts-library/.prettierrc +0 -6
- package/dist/templates/ts-library/Makefile +0 -58
- package/dist/templates/ts-library/index.ts +0 -1
- package/dist/templates/ts-library/lib/index.ts +0 -1
- package/dist/templates/ts-library/lib/samples/index.ts +0 -5
- package/dist/templates/ts-library/lib/samples/samples-function.ts +0 -3
- package/dist/templates/ts-library/test/sample.e2e-spec.ts +0 -10
- package/dist/templates/ts-library/tsconfig.build.json +0 -4
- package/dist/utils/help.js +0 -8
- package/dist/utils/help.js.map +0 -1
- package/tsconfig.json +0 -24
- /package/dist/templates/{nestjs-api/.eslintrc.js → turbo-nestjs-vuexy/packages/eslint-config/nest.js} +0 -0
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface UserData {
|
|
3
|
+
id: number | null
|
|
4
|
+
fullName: string
|
|
5
|
+
firstName: string
|
|
6
|
+
lastName: string
|
|
7
|
+
company: string
|
|
8
|
+
username: string
|
|
9
|
+
role: string
|
|
10
|
+
country: string
|
|
11
|
+
contact: string
|
|
12
|
+
email: string
|
|
13
|
+
currentPlan: string
|
|
14
|
+
status: string
|
|
15
|
+
avatar: string
|
|
16
|
+
taskDone: number | null
|
|
17
|
+
projectDone: number | null
|
|
18
|
+
taxId: string
|
|
19
|
+
language: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface Props {
|
|
23
|
+
userData?: UserData
|
|
24
|
+
isDialogVisible: boolean
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface Emit {
|
|
28
|
+
(e: 'submit', value: UserData): void
|
|
29
|
+
(e: 'update:isDialogVisible', val: boolean): void
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
33
|
+
userData: () => ({
|
|
34
|
+
id: 0,
|
|
35
|
+
fullName: '',
|
|
36
|
+
firstName: '',
|
|
37
|
+
lastName: '',
|
|
38
|
+
company: '',
|
|
39
|
+
role: '',
|
|
40
|
+
username: '',
|
|
41
|
+
country: '',
|
|
42
|
+
contact: '',
|
|
43
|
+
email: '',
|
|
44
|
+
currentPlan: '',
|
|
45
|
+
status: '',
|
|
46
|
+
avatar: '',
|
|
47
|
+
taskDone: null,
|
|
48
|
+
projectDone: null,
|
|
49
|
+
taxId: '',
|
|
50
|
+
language: '',
|
|
51
|
+
}),
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
const emit = defineEmits<Emit>()
|
|
55
|
+
|
|
56
|
+
const userData = ref<UserData>(structuredClone(toRaw(props.userData)))
|
|
57
|
+
const isUseAsBillingAddress = ref(false)
|
|
58
|
+
|
|
59
|
+
watch(props, () => {
|
|
60
|
+
userData.value = structuredClone(toRaw(props.userData))
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
const onFormSubmit = () => {
|
|
64
|
+
emit('update:isDialogVisible', false)
|
|
65
|
+
emit('submit', userData.value)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const onFormReset = () => {
|
|
69
|
+
userData.value = structuredClone(toRaw(props.userData))
|
|
70
|
+
|
|
71
|
+
emit('update:isDialogVisible', false)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const dialogModelValueUpdate = (val: boolean) => {
|
|
75
|
+
emit('update:isDialogVisible', val)
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<template>
|
|
80
|
+
<VDialog
|
|
81
|
+
:width="$vuetify.display.smAndDown ? 'auto' : 900"
|
|
82
|
+
:model-value="props.isDialogVisible"
|
|
83
|
+
@update:model-value="dialogModelValueUpdate"
|
|
84
|
+
>
|
|
85
|
+
<!-- Dialog close btn -->
|
|
86
|
+
<DialogCloseBtn @click="dialogModelValueUpdate(false)" />
|
|
87
|
+
|
|
88
|
+
<VCard class="pa-sm-10 pa-2">
|
|
89
|
+
<VCardText>
|
|
90
|
+
<!-- 👉 Title -->
|
|
91
|
+
<h4 class="text-h4 text-center mb-2">
|
|
92
|
+
Edit User Information
|
|
93
|
+
</h4>
|
|
94
|
+
<p class="text-body-1 text-center mb-6">
|
|
95
|
+
Updating user details will receive a privacy audit.
|
|
96
|
+
</p>
|
|
97
|
+
|
|
98
|
+
<!-- 👉 Form -->
|
|
99
|
+
<VForm
|
|
100
|
+
class="mt-6"
|
|
101
|
+
@submit.prevent="onFormSubmit"
|
|
102
|
+
>
|
|
103
|
+
<VRow>
|
|
104
|
+
<!-- 👉 First Name -->
|
|
105
|
+
<VCol
|
|
106
|
+
cols="12"
|
|
107
|
+
md="6"
|
|
108
|
+
>
|
|
109
|
+
<AppTextField
|
|
110
|
+
v-model="userData.firstName"
|
|
111
|
+
label="First Name"
|
|
112
|
+
placeholder="John"
|
|
113
|
+
/>
|
|
114
|
+
</VCol>
|
|
115
|
+
|
|
116
|
+
<!-- 👉 Last Name -->
|
|
117
|
+
<VCol
|
|
118
|
+
cols="12"
|
|
119
|
+
md="6"
|
|
120
|
+
>
|
|
121
|
+
<AppTextField
|
|
122
|
+
v-model="userData.lastName"
|
|
123
|
+
label="Last Name"
|
|
124
|
+
placeholder="Doe"
|
|
125
|
+
/>
|
|
126
|
+
</VCol>
|
|
127
|
+
|
|
128
|
+
<!-- 👉 Username -->
|
|
129
|
+
<VCol cols="12">
|
|
130
|
+
<AppTextField
|
|
131
|
+
v-model="userData.username"
|
|
132
|
+
label="Username"
|
|
133
|
+
placeholder="john.doe.007"
|
|
134
|
+
/>
|
|
135
|
+
</VCol>
|
|
136
|
+
|
|
137
|
+
<!-- 👉 Billing Email -->
|
|
138
|
+
<VCol
|
|
139
|
+
cols="12"
|
|
140
|
+
md="6"
|
|
141
|
+
>
|
|
142
|
+
<AppTextField
|
|
143
|
+
v-model="userData.email"
|
|
144
|
+
label="Email"
|
|
145
|
+
placeholder="johndoe@email.com"
|
|
146
|
+
/>
|
|
147
|
+
</VCol>
|
|
148
|
+
|
|
149
|
+
<!-- 👉 Status -->
|
|
150
|
+
<VCol
|
|
151
|
+
cols="12"
|
|
152
|
+
md="6"
|
|
153
|
+
>
|
|
154
|
+
<AppSelect
|
|
155
|
+
v-model="userData.status"
|
|
156
|
+
label="Status"
|
|
157
|
+
placeholder="Active"
|
|
158
|
+
:items="['Active', 'Inactive', 'Pending']"
|
|
159
|
+
/>
|
|
160
|
+
</VCol>
|
|
161
|
+
|
|
162
|
+
<!-- 👉 Tax Id -->
|
|
163
|
+
<VCol
|
|
164
|
+
cols="12"
|
|
165
|
+
md="6"
|
|
166
|
+
>
|
|
167
|
+
<AppTextField
|
|
168
|
+
v-model="userData.taxId"
|
|
169
|
+
label="Tax ID"
|
|
170
|
+
placeholder="123456789"
|
|
171
|
+
/>
|
|
172
|
+
</VCol>
|
|
173
|
+
|
|
174
|
+
<!-- 👉 Contact -->
|
|
175
|
+
<VCol
|
|
176
|
+
cols="12"
|
|
177
|
+
md="6"
|
|
178
|
+
>
|
|
179
|
+
<AppTextField
|
|
180
|
+
v-model="userData.contact"
|
|
181
|
+
label="Phone Number"
|
|
182
|
+
placeholder="+1 9876543210"
|
|
183
|
+
/>
|
|
184
|
+
</VCol>
|
|
185
|
+
|
|
186
|
+
<!-- 👉 Language -->
|
|
187
|
+
<VCol
|
|
188
|
+
cols="12"
|
|
189
|
+
md="6"
|
|
190
|
+
>
|
|
191
|
+
<AppSelect
|
|
192
|
+
v-model="userData.language"
|
|
193
|
+
closable-chips
|
|
194
|
+
chips
|
|
195
|
+
multiple
|
|
196
|
+
label="Language"
|
|
197
|
+
placeholder="English"
|
|
198
|
+
:items="['English', 'Spanish', 'French']"
|
|
199
|
+
/>
|
|
200
|
+
</VCol>
|
|
201
|
+
|
|
202
|
+
<!-- 👉 Country -->
|
|
203
|
+
<VCol
|
|
204
|
+
cols="12"
|
|
205
|
+
md="6"
|
|
206
|
+
>
|
|
207
|
+
<AppSelect
|
|
208
|
+
v-model="userData.country"
|
|
209
|
+
label="Country"
|
|
210
|
+
placeholder="United States"
|
|
211
|
+
:items="['United States', 'United Kingdom', 'France']"
|
|
212
|
+
/>
|
|
213
|
+
</VCol>
|
|
214
|
+
|
|
215
|
+
<!-- 👉 Switch -->
|
|
216
|
+
<VCol cols="12">
|
|
217
|
+
<VSwitch
|
|
218
|
+
v-model="isUseAsBillingAddress"
|
|
219
|
+
density="compact"
|
|
220
|
+
label="Use as a billing address?"
|
|
221
|
+
/>
|
|
222
|
+
</VCol>
|
|
223
|
+
|
|
224
|
+
<!-- 👉 Submit and Cancel -->
|
|
225
|
+
<VCol
|
|
226
|
+
cols="12"
|
|
227
|
+
class="d-flex flex-wrap justify-center gap-4"
|
|
228
|
+
>
|
|
229
|
+
<VBtn type="submit">
|
|
230
|
+
Submit
|
|
231
|
+
</VBtn>
|
|
232
|
+
|
|
233
|
+
<VBtn
|
|
234
|
+
color="secondary"
|
|
235
|
+
variant="tonal"
|
|
236
|
+
@click="onFormReset"
|
|
237
|
+
>
|
|
238
|
+
Cancel
|
|
239
|
+
</VBtn>
|
|
240
|
+
</VCol>
|
|
241
|
+
</VRow>
|
|
242
|
+
</VForm>
|
|
243
|
+
</VCardText>
|
|
244
|
+
</VCard>
|
|
245
|
+
</VDialog>
|
|
246
|
+
</template>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Emit {
|
|
3
|
+
(e: 'update:isDialogVisible', val: boolean): void
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface Prop {
|
|
7
|
+
isDialogVisible: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const props = defineProps<Prop>()
|
|
11
|
+
|
|
12
|
+
const emit = defineEmits<Emit>()
|
|
13
|
+
|
|
14
|
+
const selectedPlan = ref('standard')
|
|
15
|
+
|
|
16
|
+
const plansList = [
|
|
17
|
+
{ desc: 'Standard - $99/month', title: 'Standard', value: 'standard' },
|
|
18
|
+
{ desc: 'Basic - $0/month', title: 'Basic', value: 'basic' },
|
|
19
|
+
{ desc: 'Enterprise - $499/month', title: 'Enterprise', value: 'enterprice' },
|
|
20
|
+
{ desc: 'Company - $999/month', title: 'Company', value: 'company' },
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
const isConfirmDialogVisible = ref(false)
|
|
24
|
+
|
|
25
|
+
const dialogModelValueUpdate = (val: boolean) => {
|
|
26
|
+
emit('update:isDialogVisible', val)
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<template>
|
|
31
|
+
<!-- 👉 upgrade plan -->
|
|
32
|
+
<VDialog
|
|
33
|
+
:width="$vuetify.display.smAndDown ? 'auto' : 650"
|
|
34
|
+
:model-value="props.isDialogVisible"
|
|
35
|
+
@update:model-value="dialogModelValueUpdate"
|
|
36
|
+
>
|
|
37
|
+
<!-- Dialog close btn -->
|
|
38
|
+
<DialogCloseBtn @click="dialogModelValueUpdate(false)" />
|
|
39
|
+
|
|
40
|
+
<VCard class="pa-2 pa-sm-10">
|
|
41
|
+
<VCardText>
|
|
42
|
+
<!-- 👉 Title -->
|
|
43
|
+
<h4 class="text-h4 text-center mb-2">
|
|
44
|
+
Upgrade Plan
|
|
45
|
+
</h4>
|
|
46
|
+
<p class="text-body-1 text-center mb-6">
|
|
47
|
+
Choose the best plan for user.
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
<div class="d-flex justify-space-between flex-column flex-sm-row gap-4">
|
|
51
|
+
<AppSelect
|
|
52
|
+
v-model="selectedPlan"
|
|
53
|
+
:items="plansList"
|
|
54
|
+
label="Choose a plan"
|
|
55
|
+
placeholder="Basic"
|
|
56
|
+
/>
|
|
57
|
+
<VBtn
|
|
58
|
+
class="align-self-end"
|
|
59
|
+
:block="$vuetify.display.xs"
|
|
60
|
+
>
|
|
61
|
+
Upgrade
|
|
62
|
+
</VBtn>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<VDivider class="my-6" />
|
|
66
|
+
|
|
67
|
+
<p class="text-body-1 mb-1">
|
|
68
|
+
User current plan is standard plan
|
|
69
|
+
</p>
|
|
70
|
+
<div class="d-flex justify-space-between align-center flex-wrap">
|
|
71
|
+
<div class="d-flex align-center gap-1 me-3">
|
|
72
|
+
<sup class="text-body-1 text-primary">$</sup>
|
|
73
|
+
<h1 class="text-h1 text-primary">
|
|
74
|
+
99
|
|
75
|
+
</h1>
|
|
76
|
+
<sub class="text-body-2 mt-5">
|
|
77
|
+
/ month
|
|
78
|
+
</sub>
|
|
79
|
+
</div>
|
|
80
|
+
<VBtn
|
|
81
|
+
color="error"
|
|
82
|
+
variant="tonal"
|
|
83
|
+
@click="isConfirmDialogVisible = true"
|
|
84
|
+
>
|
|
85
|
+
Cancel Subscription
|
|
86
|
+
</VBtn>
|
|
87
|
+
</div>
|
|
88
|
+
</VCardText>
|
|
89
|
+
|
|
90
|
+
<!-- 👉 Confirm Dialog -->
|
|
91
|
+
<ConfirmDialog
|
|
92
|
+
v-model:isDialogVisible="isConfirmDialogVisible"
|
|
93
|
+
cancel-title="Cancelled"
|
|
94
|
+
confirm-title="Unsubscribed!"
|
|
95
|
+
confirm-msg="Your subscription cancelled successfully."
|
|
96
|
+
confirmation-question="Are you sure to cancel your subscription?"
|
|
97
|
+
cancel-msg="Unsubscription Cancelled!!"
|
|
98
|
+
/>
|
|
99
|
+
</VCard>
|
|
100
|
+
</VDialog>
|
|
101
|
+
</template>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
const { injectSkinClasses } = useSkins()
|
|
3
|
+
|
|
4
|
+
// ℹ️ This will inject classes in body tag for accurate styling
|
|
5
|
+
injectSkinClasses()
|
|
6
|
+
|
|
7
|
+
// SECTION: Loading Indicator
|
|
8
|
+
const isFallbackStateActive = ref(false)
|
|
9
|
+
const refLoadingIndicator = ref<any>(null)
|
|
10
|
+
|
|
11
|
+
// watching if the fallback state is active and the refLoadingIndicator component is available
|
|
12
|
+
watch([isFallbackStateActive, refLoadingIndicator], () => {
|
|
13
|
+
if (isFallbackStateActive.value && refLoadingIndicator.value)
|
|
14
|
+
refLoadingIndicator.value.fallbackHandle()
|
|
15
|
+
|
|
16
|
+
if (!isFallbackStateActive.value && refLoadingIndicator.value)
|
|
17
|
+
refLoadingIndicator.value.resolveHandle()
|
|
18
|
+
}, { immediate: true })
|
|
19
|
+
// !SECTION
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<AppLoadingIndicator ref="refLoadingIndicator" />
|
|
24
|
+
|
|
25
|
+
<div class="layout-wrapper layout-blank">
|
|
26
|
+
<RouterView #="{Component}">
|
|
27
|
+
<Suspense
|
|
28
|
+
:timeout="0"
|
|
29
|
+
@fallback="isFallbackStateActive = true"
|
|
30
|
+
@resolve="isFallbackStateActive = false"
|
|
31
|
+
>
|
|
32
|
+
<Component :is="Component" />
|
|
33
|
+
</Suspense>
|
|
34
|
+
</RouterView>
|
|
35
|
+
</div>
|
|
36
|
+
</template>
|
|
37
|
+
|
|
38
|
+
<style>
|
|
39
|
+
.layout-wrapper.layout-blank {
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
}
|
|
42
|
+
</style>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import navItems from '@/navigation/horizontal'
|
|
3
|
+
|
|
4
|
+
import { themeConfig } from '@themeConfig'
|
|
5
|
+
|
|
6
|
+
// Components
|
|
7
|
+
import Footer from '@/layouts/components/Footer.vue'
|
|
8
|
+
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue'
|
|
9
|
+
import UserProfile from '@/layouts/components/UserProfile.vue'
|
|
10
|
+
import NavBarI18n from '@core/components/I18n.vue'
|
|
11
|
+
import { HorizontalNavLayout } from '@layouts'
|
|
12
|
+
import { VNodeRenderer } from '@layouts/components/VNodeRenderer'
|
|
13
|
+
|
|
14
|
+
// SECTION: Loading Indicator
|
|
15
|
+
const isFallbackStateActive = ref(false)
|
|
16
|
+
const refLoadingIndicator = ref<any>(null)
|
|
17
|
+
|
|
18
|
+
// watching if the fallback state is active and the refLoadingIndicator component is available
|
|
19
|
+
watch([isFallbackStateActive, refLoadingIndicator], () => {
|
|
20
|
+
if (isFallbackStateActive.value && refLoadingIndicator.value)
|
|
21
|
+
refLoadingIndicator.value.fallbackHandle()
|
|
22
|
+
|
|
23
|
+
if (!isFallbackStateActive.value && refLoadingIndicator.value)
|
|
24
|
+
refLoadingIndicator.value.resolveHandle()
|
|
25
|
+
}, { immediate: true })
|
|
26
|
+
// !SECTION
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<HorizontalNavLayout :nav-items="navItems">
|
|
31
|
+
<!-- 👉 navbar -->
|
|
32
|
+
<template #navbar>
|
|
33
|
+
<RouterLink
|
|
34
|
+
to="/"
|
|
35
|
+
class="app-logo d-flex align-center gap-x-3"
|
|
36
|
+
>
|
|
37
|
+
<VNodeRenderer :nodes="themeConfig.app.logo" />
|
|
38
|
+
|
|
39
|
+
<h1 class="app-title font-weight-bold leading-normal text-xl text-capitalize">
|
|
40
|
+
{{ themeConfig.app.title }}
|
|
41
|
+
</h1>
|
|
42
|
+
</RouterLink>
|
|
43
|
+
<VSpacer />
|
|
44
|
+
|
|
45
|
+
<NavBarI18n
|
|
46
|
+
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
|
47
|
+
:languages="themeConfig.app.i18n.langConfig"
|
|
48
|
+
/>
|
|
49
|
+
|
|
50
|
+
<NavbarThemeSwitcher class="me-2" />
|
|
51
|
+
<UserProfile />
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<AppLoadingIndicator ref="refLoadingIndicator" />
|
|
55
|
+
|
|
56
|
+
<!-- 👉 Pages -->
|
|
57
|
+
<RouterView v-slot="{ Component }">
|
|
58
|
+
<Suspense
|
|
59
|
+
:timeout="0"
|
|
60
|
+
@fallback="isFallbackStateActive = true"
|
|
61
|
+
@resolve="isFallbackStateActive = false"
|
|
62
|
+
>
|
|
63
|
+
<Component :is="Component" />
|
|
64
|
+
</Suspense>
|
|
65
|
+
</RouterView>
|
|
66
|
+
|
|
67
|
+
<!-- 👉 Footer -->
|
|
68
|
+
<template #footer>
|
|
69
|
+
<Footer />
|
|
70
|
+
</template>
|
|
71
|
+
|
|
72
|
+
<!-- 👉 Customizer -->
|
|
73
|
+
<!-- <TheCustomizer /> -->
|
|
74
|
+
</HorizontalNavLayout>
|
|
75
|
+
</template>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import navItems from '@/navigation/vertical'
|
|
3
|
+
import { themeConfig } from '@themeConfig'
|
|
4
|
+
|
|
5
|
+
// Components
|
|
6
|
+
import Footer from '@/layouts/components/Footer.vue'
|
|
7
|
+
import NavbarThemeSwitcher from '@/layouts/components/NavbarThemeSwitcher.vue'
|
|
8
|
+
import UserProfile from '@/layouts/components/UserProfile.vue'
|
|
9
|
+
import NavBarI18n from '@core/components/I18n.vue'
|
|
10
|
+
|
|
11
|
+
// @layouts plugin
|
|
12
|
+
import { VerticalNavLayout } from '@layouts'
|
|
13
|
+
|
|
14
|
+
// SECTION: Loading Indicator
|
|
15
|
+
const isFallbackStateActive = ref(false)
|
|
16
|
+
const refLoadingIndicator = ref<any>(null)
|
|
17
|
+
|
|
18
|
+
// watching if the fallback state is active and the refLoadingIndicator component is available
|
|
19
|
+
watch([isFallbackStateActive, refLoadingIndicator], () => {
|
|
20
|
+
if (isFallbackStateActive.value && refLoadingIndicator.value)
|
|
21
|
+
refLoadingIndicator.value.fallbackHandle()
|
|
22
|
+
|
|
23
|
+
if (!isFallbackStateActive.value && refLoadingIndicator.value)
|
|
24
|
+
refLoadingIndicator.value.resolveHandle()
|
|
25
|
+
}, { immediate: true })
|
|
26
|
+
// !SECTION
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<VerticalNavLayout :nav-items="navItems">
|
|
31
|
+
<!-- 👉 navbar -->
|
|
32
|
+
<template #navbar="{ toggleVerticalOverlayNavActive }">
|
|
33
|
+
<div class="d-flex h-100 align-center">
|
|
34
|
+
<IconBtn
|
|
35
|
+
id="vertical-nav-toggle-btn"
|
|
36
|
+
class="ms-n3 d-lg-none"
|
|
37
|
+
@click="toggleVerticalOverlayNavActive(true)"
|
|
38
|
+
>
|
|
39
|
+
<VIcon
|
|
40
|
+
size="26"
|
|
41
|
+
icon="tabler-menu-2"
|
|
42
|
+
/>
|
|
43
|
+
</IconBtn>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<VSpacer />
|
|
47
|
+
|
|
48
|
+
<NavbarThemeSwitcher />
|
|
49
|
+
|
|
50
|
+
<NavBarI18n
|
|
51
|
+
v-if="themeConfig.app.i18n.enable && themeConfig.app.i18n.langConfig?.length"
|
|
52
|
+
:languages="themeConfig.app.i18n.langConfig"
|
|
53
|
+
/>
|
|
54
|
+
<UserProfile />
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
|
|
58
|
+
<AppLoadingIndicator ref="refLoadingIndicator" />
|
|
59
|
+
|
|
60
|
+
<!-- 👉 Pages -->
|
|
61
|
+
<RouterView v-slot="{ Component }">
|
|
62
|
+
<Suspense
|
|
63
|
+
:timeout="0"
|
|
64
|
+
@fallback="isFallbackStateActive = true"
|
|
65
|
+
@resolve="isFallbackStateActive = false"
|
|
66
|
+
>
|
|
67
|
+
<Component :is="Component" />
|
|
68
|
+
</Suspense>
|
|
69
|
+
</RouterView>
|
|
70
|
+
|
|
71
|
+
<!-- 👉 Footer -->
|
|
72
|
+
<template #footer>
|
|
73
|
+
<Footer />
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<!-- 👉 Customizer -->
|
|
77
|
+
<!-- <TheCustomizer /> -->
|
|
78
|
+
</VerticalNavLayout>
|
|
79
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { themeConfig } from '@themeConfig';
|
|
3
|
+
</script>
|
|
4
|
+
<template>
|
|
5
|
+
<div class="h-100 d-flex align-center justify-md-space-between justify-center">
|
|
6
|
+
<!-- 👉 Footer: left content -->
|
|
7
|
+
<span class="d-flex align-center text-medium-emphasis">
|
|
8
|
+
©
|
|
9
|
+
{{ new Date().getFullYear() }}
|
|
10
|
+
{{themeConfig.app.title}} All Right Reserved.
|
|
11
|
+
</span>
|
|
12
|
+
<!-- 👉 Footer: right content -->
|
|
13
|
+
<span class="d-md-flex gap-x-4 text-primary d-none">
|
|
14
|
+
|
|
15
|
+
</span>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|