@nathapp/na-cli 1.0.1-rc.1 → 1.0.1
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 +7 -5
- 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 +31 -17
- package/dist/templates/nestjs-api/src/i18n/en_US/date.json +7 -0
- package/dist/templates/nestjs-api/src/i18n/en_US/exception.json +1 -1
- 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-e2e.json +4 -1
- package/dist/templates/nestjs-library/.npmignore-rename +4 -0
- package/dist/templates/nestjs-library/package.json +3 -3
- package/dist/templates/ts-library/.npmignore-rename +4 -0
- package/dist/templates/ts-library/package.json +1 -1
- 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 +1 -0
- package/dist/utils/template.js.map +1 -1
- package/package.json +1 -1
- package/.gitlab-ci.yml +0 -145
- 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/.gitlab-ci.yml +0 -174
- package/dist/templates/mxw-base-api-express/.nvmrc +0 -1
- package/dist/templates/mxw-base-api-express/Makefile +0 -84
- 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 -22
- package/dist/templates/nestjs-api/src/app.controller.ts +0 -27
- package/dist/templates/nestjs-api/src/app.module.ts +0 -32
- 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 -24
- package/dist/templates/nestjs-api/tsconfig.build.json +0 -4
- package/dist/templates/nestjs-api/tsconfig.json +0 -21
- 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/tsconfig.json +0 -24
- /package/dist/templates/{nestjs-api/.eslintrc.js → turbo-nestjs-vuexy/packages/eslint-config/nest.js} +0 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import Shepherd from 'shepherd.js'
|
|
3
|
+
import { withQuery } from 'ufo'
|
|
4
|
+
import type { RouteLocationRaw } from 'vue-router'
|
|
5
|
+
import type { SearchResults } from '@db/app-bar-search/types'
|
|
6
|
+
import { useConfigStore } from '@core/stores/config'
|
|
7
|
+
|
|
8
|
+
interface Suggestion {
|
|
9
|
+
icon: string
|
|
10
|
+
title: string
|
|
11
|
+
url: RouteLocationRaw
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
defineOptions({
|
|
15
|
+
inheritAttrs: false,
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
const configStore = useConfigStore()
|
|
19
|
+
|
|
20
|
+
interface SuggestionGroup {
|
|
21
|
+
title: string
|
|
22
|
+
content: Suggestion[]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// 👉 Is App Search Bar Visible
|
|
26
|
+
const isAppSearchBarVisible = ref(false)
|
|
27
|
+
const isLoading = ref(false)
|
|
28
|
+
|
|
29
|
+
// 👉 Default suggestions
|
|
30
|
+
|
|
31
|
+
const suggestionGroups: SuggestionGroup[] = [
|
|
32
|
+
{
|
|
33
|
+
title: 'Popular Searches',
|
|
34
|
+
content: [
|
|
35
|
+
{ icon: 'tabler-chart-bar', title: 'Analytics', url: { name: 'dashboards-analytics' } },
|
|
36
|
+
{ icon: 'tabler-chart-donut-3', title: 'CRM', url: { name: 'dashboards-crm' } },
|
|
37
|
+
{ icon: 'tabler-shopping-cart', title: 'eCommerce', url: { name: 'dashboards-ecommerce' } },
|
|
38
|
+
{ icon: 'tabler-truck', title: 'Logistics', url: { name: 'dashboards-logistics' } },
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
title: 'Apps & Pages',
|
|
43
|
+
content: [
|
|
44
|
+
{ icon: 'tabler-calendar', title: 'Calendar', url: { name: 'apps-calendar' } },
|
|
45
|
+
{ icon: 'tabler-lock', title: 'Roles & Permissions', url: { name: 'apps-roles' } },
|
|
46
|
+
{ icon: 'tabler-settings', title: 'Account Settings', url: { name: 'pages-account-settings-tab', params: { tab: 'account' } } },
|
|
47
|
+
{ icon: 'tabler-copy', title: 'Dialog Examples', url: { name: 'pages-dialog-examples' } },
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: 'User Interface',
|
|
52
|
+
content: [
|
|
53
|
+
{ icon: 'tabler-typography', title: 'Typography', url: { name: 'pages-typography' } },
|
|
54
|
+
{ icon: 'tabler-menu-2', title: 'Accordion', url: { name: 'components-expansion-panel' } },
|
|
55
|
+
{ icon: 'tabler-info-triangle', title: 'Alert', url: { name: 'components-alert' } },
|
|
56
|
+
{ icon: 'tabler-checkbox', title: 'Cards', url: { name: 'pages-cards-card-basic' } },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
title: 'Forms & Tables',
|
|
61
|
+
content: [
|
|
62
|
+
{ icon: 'tabler-circle-dot', title: 'Radio', url: { name: 'forms-radio' } },
|
|
63
|
+
{ icon: 'tabler-file-invoice', title: 'Form Layouts', url: { name: 'forms-form-layouts' } },
|
|
64
|
+
{ icon: 'tabler-table', title: 'Table', url: { name: 'tables-data-table' } },
|
|
65
|
+
{ icon: 'tabler-edit', title: 'Editor', url: { name: 'forms-editors' } },
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
// 👉 No Data suggestion
|
|
71
|
+
const noDataSuggestions: Suggestion[] = [
|
|
72
|
+
{
|
|
73
|
+
title: 'Analytics',
|
|
74
|
+
icon: 'tabler-chart-bar',
|
|
75
|
+
url: { name: 'dashboards-analytics' },
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: 'CRM',
|
|
79
|
+
icon: 'tabler-chart-donut-3',
|
|
80
|
+
url: { name: 'dashboards-crm' },
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
title: 'eCommerce',
|
|
84
|
+
icon: 'tabler-shopping-cart',
|
|
85
|
+
url: { name: 'dashboards-ecommerce' },
|
|
86
|
+
},
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
const searchQuery = ref('')
|
|
90
|
+
|
|
91
|
+
const router = useRouter()
|
|
92
|
+
const searchResult = ref<SearchResults[]>([])
|
|
93
|
+
|
|
94
|
+
const fetchResults = async () => {
|
|
95
|
+
isLoading.value = true
|
|
96
|
+
|
|
97
|
+
const { data } = await useApi<any>(withQuery('/app-bar/search', { q: searchQuery.value }))
|
|
98
|
+
|
|
99
|
+
searchResult.value = data.value
|
|
100
|
+
|
|
101
|
+
// ℹ️ simulate loading: we have used setTimeout for better user experience your can remove it
|
|
102
|
+
setTimeout(() => {
|
|
103
|
+
isLoading.value = false
|
|
104
|
+
}, 500)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
watch(searchQuery, fetchResults)
|
|
108
|
+
|
|
109
|
+
const closeSearchBar = () => {
|
|
110
|
+
isAppSearchBarVisible.value = false
|
|
111
|
+
searchQuery.value = ''
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// 👉 redirect the selected page
|
|
115
|
+
const redirectToSuggestedPage = (selected: Suggestion) => {
|
|
116
|
+
router.push(selected.url as string)
|
|
117
|
+
closeSearchBar()
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const LazyAppBarSearch = defineAsyncComponent(() => import('@core/components/AppBarSearch.vue'))
|
|
121
|
+
</script>
|
|
122
|
+
|
|
123
|
+
<template>
|
|
124
|
+
<div
|
|
125
|
+
class="d-flex align-center cursor-pointer"
|
|
126
|
+
v-bind="$attrs"
|
|
127
|
+
style="user-select: none;"
|
|
128
|
+
@click="isAppSearchBarVisible = !isAppSearchBarVisible"
|
|
129
|
+
>
|
|
130
|
+
<!-- 👉 Search Trigger button -->
|
|
131
|
+
<!-- close active tour while opening search bar using icon -->
|
|
132
|
+
<IconBtn @click="Shepherd.activeTour?.cancel()">
|
|
133
|
+
<VIcon icon="tabler-search" />
|
|
134
|
+
</IconBtn>
|
|
135
|
+
|
|
136
|
+
<span
|
|
137
|
+
v-if="configStore.appContentLayoutNav === 'vertical'"
|
|
138
|
+
class="d-none d-md-flex align-center text-disabled ms-2"
|
|
139
|
+
@click="Shepherd.activeTour?.cancel()"
|
|
140
|
+
>
|
|
141
|
+
<span class="me-2">Search</span>
|
|
142
|
+
<span class="meta-key">⌘K</span>
|
|
143
|
+
</span>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<!-- 👉 App Bar Search -->
|
|
147
|
+
<LazyAppBarSearch
|
|
148
|
+
v-model:isDialogVisible="isAppSearchBarVisible"
|
|
149
|
+
:search-results="searchResult"
|
|
150
|
+
:is-loading="isLoading"
|
|
151
|
+
@search="searchQuery = $event"
|
|
152
|
+
>
|
|
153
|
+
<!-- suggestion -->
|
|
154
|
+
<template #suggestions>
|
|
155
|
+
<VCardText class="app-bar-search-suggestions pa-12">
|
|
156
|
+
<VRow v-if="suggestionGroups">
|
|
157
|
+
<VCol
|
|
158
|
+
v-for="suggestion in suggestionGroups"
|
|
159
|
+
:key="suggestion.title"
|
|
160
|
+
cols="12"
|
|
161
|
+
sm="6"
|
|
162
|
+
>
|
|
163
|
+
<p
|
|
164
|
+
class="custom-letter-spacing text-disabled text-uppercase py-2 px-4 mb-0"
|
|
165
|
+
style="font-size: 0.75rem; line-height: 0.875rem;"
|
|
166
|
+
>
|
|
167
|
+
{{ suggestion.title }}
|
|
168
|
+
</p>
|
|
169
|
+
<VList class="card-list">
|
|
170
|
+
<VListItem
|
|
171
|
+
v-for="item in suggestion.content"
|
|
172
|
+
:key="item.title"
|
|
173
|
+
class="app-bar-search-suggestion mx-4 mt-2"
|
|
174
|
+
@click="redirectToSuggestedPage(item)"
|
|
175
|
+
>
|
|
176
|
+
<VListItemTitle>{{ item.title }}</VListItemTitle>
|
|
177
|
+
<template #prepend>
|
|
178
|
+
<VIcon
|
|
179
|
+
:icon="item.icon"
|
|
180
|
+
size="20"
|
|
181
|
+
class="me-n1"
|
|
182
|
+
/>
|
|
183
|
+
</template>
|
|
184
|
+
</VListItem>
|
|
185
|
+
</VList>
|
|
186
|
+
</VCol>
|
|
187
|
+
</VRow>
|
|
188
|
+
</VCardText>
|
|
189
|
+
</template>
|
|
190
|
+
|
|
191
|
+
<!-- no data suggestion -->
|
|
192
|
+
<template #noDataSuggestion>
|
|
193
|
+
<div class="mt-9">
|
|
194
|
+
<span class="d-flex justify-center text-disabled mb-2">Try searching for</span>
|
|
195
|
+
<h6
|
|
196
|
+
v-for="suggestion in noDataSuggestions"
|
|
197
|
+
:key="suggestion.title"
|
|
198
|
+
class="app-bar-search-suggestion text-h6 font-weight-regular cursor-pointer py-2 px-4"
|
|
199
|
+
@click="redirectToSuggestedPage(suggestion)"
|
|
200
|
+
>
|
|
201
|
+
<VIcon
|
|
202
|
+
size="20"
|
|
203
|
+
:icon="suggestion.icon"
|
|
204
|
+
class="me-2"
|
|
205
|
+
/>
|
|
206
|
+
<span>{{ suggestion.title }}</span>
|
|
207
|
+
</h6>
|
|
208
|
+
</div>
|
|
209
|
+
</template>
|
|
210
|
+
|
|
211
|
+
<!-- search result -->
|
|
212
|
+
<template #searchResult="{ item }">
|
|
213
|
+
<VListSubheader class="text-disabled custom-letter-spacing font-weight-regular ps-4">
|
|
214
|
+
{{ item.title }}
|
|
215
|
+
</VListSubheader>
|
|
216
|
+
<VListItem
|
|
217
|
+
v-for="list in item.children"
|
|
218
|
+
:key="list.title"
|
|
219
|
+
:to="list.url"
|
|
220
|
+
@click="closeSearchBar"
|
|
221
|
+
>
|
|
222
|
+
<template #prepend>
|
|
223
|
+
<VIcon
|
|
224
|
+
size="20"
|
|
225
|
+
:icon="list.icon"
|
|
226
|
+
class="me-n1"
|
|
227
|
+
/>
|
|
228
|
+
</template>
|
|
229
|
+
<template #append>
|
|
230
|
+
<VIcon
|
|
231
|
+
size="20"
|
|
232
|
+
icon="tabler-corner-down-left"
|
|
233
|
+
class="enter-icon flip-in-rtl"
|
|
234
|
+
/>
|
|
235
|
+
</template>
|
|
236
|
+
<VListItemTitle>
|
|
237
|
+
{{ list.title }}
|
|
238
|
+
</VListItemTitle>
|
|
239
|
+
</VListItem>
|
|
240
|
+
</template>
|
|
241
|
+
</LazyAppBarSearch>
|
|
242
|
+
</template>
|
|
243
|
+
|
|
244
|
+
<style lang="scss">
|
|
245
|
+
@use "@styles/variables/vuetify.scss";
|
|
246
|
+
|
|
247
|
+
.meta-key {
|
|
248
|
+
border: thin solid rgba(var(--v-border-color), var(--v-border-opacity));
|
|
249
|
+
border-radius: 6px;
|
|
250
|
+
block-size: 1.5625rem;
|
|
251
|
+
font-size: 0.8125rem;
|
|
252
|
+
line-height: 1.3125rem;
|
|
253
|
+
padding-block: 0.125rem;
|
|
254
|
+
padding-inline: 0.25rem;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.app-bar-search-dialog {
|
|
258
|
+
.custom-letter-spacing {
|
|
259
|
+
letter-spacing: 0.8px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.card-list {
|
|
263
|
+
--v-card-list-gap: 8px;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
</style>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const shortcuts = [
|
|
3
|
+
{
|
|
4
|
+
icon: 'tabler-calendar',
|
|
5
|
+
title: 'Calendar',
|
|
6
|
+
subtitle: 'Appointments',
|
|
7
|
+
to: { name: 'apps-calendar' },
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
icon: 'tabler-file-dollar',
|
|
11
|
+
title: 'Invoice App',
|
|
12
|
+
subtitle: 'Manage Accounts',
|
|
13
|
+
to: { name: 'apps-invoice-list' },
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
icon: 'tabler-user',
|
|
17
|
+
title: 'Users',
|
|
18
|
+
subtitle: 'Manage Users',
|
|
19
|
+
to: { name: 'apps-user-list' },
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
icon: 'tabler-users',
|
|
23
|
+
title: 'Role Management',
|
|
24
|
+
subtitle: 'Permission',
|
|
25
|
+
to: { name: 'apps-roles' },
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
icon: 'tabler-device-desktop-analytics',
|
|
29
|
+
title: 'Dashboard',
|
|
30
|
+
subtitle: 'Dashboard Analytics',
|
|
31
|
+
to: { name: 'dashboards-analytics' },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
icon: 'tabler-settings',
|
|
35
|
+
title: 'Settings',
|
|
36
|
+
subtitle: 'Account Settings',
|
|
37
|
+
to: { name: 'pages-account-settings-tab', params: { tab: 'account' } },
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
]
|
|
41
|
+
</script>
|
|
42
|
+
|
|
43
|
+
<template>
|
|
44
|
+
<Shortcuts :shortcuts="shortcuts" />
|
|
45
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { ThemeSwitcherTheme } from '@layouts/types'
|
|
3
|
+
|
|
4
|
+
const themes: ThemeSwitcherTheme[] = [
|
|
5
|
+
{
|
|
6
|
+
name: 'light',
|
|
7
|
+
icon: 'tabler-sun-high',
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: 'dark',
|
|
11
|
+
icon: 'tabler-moon-stars',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
name: 'system',
|
|
15
|
+
icon: 'tabler-device-desktop-analytics',
|
|
16
|
+
},
|
|
17
|
+
]
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<ThemeSwitcher :themes="themes" />
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const authStore = useAuthStore()
|
|
3
|
+
|
|
4
|
+
const userData = useCookie<any>('userData')
|
|
5
|
+
|
|
6
|
+
const logoutAction = () => {
|
|
7
|
+
authStore.logout()
|
|
8
|
+
}
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<VBadge
|
|
13
|
+
dot
|
|
14
|
+
location="bottom right"
|
|
15
|
+
offset-x="3"
|
|
16
|
+
offset-y="3"
|
|
17
|
+
bordered
|
|
18
|
+
color="success"
|
|
19
|
+
>
|
|
20
|
+
<VAvatar
|
|
21
|
+
class="cursor-pointer"
|
|
22
|
+
:color="!(userData && userData.avatar) ? 'primary' : undefined"
|
|
23
|
+
:variant="!(userData && userData.avatar) ? 'tonal' : undefined"
|
|
24
|
+
>
|
|
25
|
+
<VImg
|
|
26
|
+
v-if="userData.avatar"
|
|
27
|
+
:src="userData.avatar"
|
|
28
|
+
/>
|
|
29
|
+
<span v-else>
|
|
30
|
+
{{ avatarText(userData.name) }}
|
|
31
|
+
</span>
|
|
32
|
+
|
|
33
|
+
<!-- SECTION Menu -->
|
|
34
|
+
<VMenu
|
|
35
|
+
activator="parent"
|
|
36
|
+
width="230"
|
|
37
|
+
location="bottom end"
|
|
38
|
+
offset="14px"
|
|
39
|
+
>
|
|
40
|
+
<VList>
|
|
41
|
+
<!-- 👉 User Avatar & Name -->
|
|
42
|
+
<VListItem>
|
|
43
|
+
<template #prepend>
|
|
44
|
+
<VListItemAction start>
|
|
45
|
+
<VBadge
|
|
46
|
+
dot
|
|
47
|
+
location="bottom right"
|
|
48
|
+
offset-x="3"
|
|
49
|
+
offset-y="3"
|
|
50
|
+
color="success"
|
|
51
|
+
>
|
|
52
|
+
<VAvatar
|
|
53
|
+
color="primary"
|
|
54
|
+
variant="tonal"
|
|
55
|
+
>
|
|
56
|
+
<VImg
|
|
57
|
+
v-if="userData.avatar"
|
|
58
|
+
:src="userData.avatar"
|
|
59
|
+
/>
|
|
60
|
+
<span v-else>
|
|
61
|
+
{{ avatarText(userData.name) }}
|
|
62
|
+
</span>
|
|
63
|
+
</VAvatar>
|
|
64
|
+
</VBadge>
|
|
65
|
+
</VListItemAction>
|
|
66
|
+
</template>
|
|
67
|
+
|
|
68
|
+
<VListItemTitle class="font-weight-semibold">
|
|
69
|
+
{{ userData ? userData.name : "" }}
|
|
70
|
+
</VListItemTitle>
|
|
71
|
+
<VListItemSubtitle>
|
|
72
|
+
{{ userData ? $t(`userRole.${userData.userRole}`) : "" }}
|
|
73
|
+
</VListItemSubtitle>
|
|
74
|
+
</VListItem>
|
|
75
|
+
|
|
76
|
+
<VDivider class="my-2" />
|
|
77
|
+
|
|
78
|
+
<!-- 👉 Settings -->
|
|
79
|
+
<VListItem
|
|
80
|
+
link
|
|
81
|
+
:to="{ name: 'account-settings' }"
|
|
82
|
+
>
|
|
83
|
+
<template #prepend>
|
|
84
|
+
<VIcon
|
|
85
|
+
class="me-2"
|
|
86
|
+
icon="tabler-settings"
|
|
87
|
+
size="22"
|
|
88
|
+
/>
|
|
89
|
+
</template>
|
|
90
|
+
|
|
91
|
+
<VListItemTitle>{{ $t('accountSetting.settings') }}</VListItemTitle>
|
|
92
|
+
</VListItem>
|
|
93
|
+
|
|
94
|
+
<!-- Divider -->
|
|
95
|
+
<VDivider class="my-2" />
|
|
96
|
+
|
|
97
|
+
<!-- 👉 Logout -->
|
|
98
|
+
<VListItem @click="logoutAction">
|
|
99
|
+
<template #prepend>
|
|
100
|
+
<VIcon
|
|
101
|
+
class="me-2"
|
|
102
|
+
icon="tabler-logout"
|
|
103
|
+
size="22"
|
|
104
|
+
/>
|
|
105
|
+
</template>
|
|
106
|
+
|
|
107
|
+
<VListItemTitle>{{ $t('common.logout') }}</VListItemTitle>
|
|
108
|
+
</VListItem>
|
|
109
|
+
</VList>
|
|
110
|
+
</VMenu>
|
|
111
|
+
<!-- !SECTION -->
|
|
112
|
+
</VAvatar>
|
|
113
|
+
</VBadge>
|
|
114
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { useConfigStore } from '@core/stores/config'
|
|
3
|
+
import { AppContentLayoutNav } from '@layouts/enums'
|
|
4
|
+
import { switchToVerticalNavOnLtOverlayNavBreakpoint } from '@layouts/utils'
|
|
5
|
+
|
|
6
|
+
const DefaultLayoutWithHorizontalNav = defineAsyncComponent(() => import('./components/DefaultLayoutWithHorizontalNav.vue'))
|
|
7
|
+
const DefaultLayoutWithVerticalNav = defineAsyncComponent(() => import('./components/DefaultLayoutWithVerticalNav.vue'))
|
|
8
|
+
|
|
9
|
+
const configStore = useConfigStore()
|
|
10
|
+
|
|
11
|
+
// ℹ️ This will switch to vertical nav when define breakpoint is reached when in horizontal nav layout
|
|
12
|
+
// Remove below composable usage if you are not using horizontal nav layout in your app
|
|
13
|
+
switchToVerticalNavOnLtOverlayNavBreakpoint()
|
|
14
|
+
|
|
15
|
+
const { layoutAttrs, injectSkinClasses } = useSkins()
|
|
16
|
+
|
|
17
|
+
injectSkinClasses()
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<Component
|
|
22
|
+
v-bind="layoutAttrs"
|
|
23
|
+
:is="configStore.appContentLayoutNav === AppContentLayoutNav.Vertical ? DefaultLayoutWithVerticalNav : DefaultLayoutWithHorizontalNav"
|
|
24
|
+
/>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<style lang="scss">
|
|
28
|
+
// As we are using `layouts` plugin we need its styles to be imported
|
|
29
|
+
@use "@layouts/styles/default-layout";
|
|
30
|
+
</style>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useGenerateImageVariant } from '@core/composable/useGenerateImageVariant'
|
|
3
|
+
import miscMaskDark from '@images/pages/misc-mask-dark.png'
|
|
4
|
+
import miscMaskLight from '@images/pages/misc-mask-light.png'
|
|
5
|
+
|
|
6
|
+
const authThemeMask = useGenerateImageVariant(miscMaskLight, miscMaskDark)
|
|
7
|
+
|
|
8
|
+
definePage({
|
|
9
|
+
alias: '/pages/not-found/:error(.*)',
|
|
10
|
+
meta: {
|
|
11
|
+
layout: 'blank',
|
|
12
|
+
public: true,
|
|
13
|
+
},
|
|
14
|
+
})
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<div class="misc-wrapper">
|
|
19
|
+
<ErrorHeader
|
|
20
|
+
status-code="404"
|
|
21
|
+
:title="$t('errorPage.pageNotFound')"
|
|
22
|
+
:description="$t('errorPage.pageNotFoundMessage')"
|
|
23
|
+
/>
|
|
24
|
+
|
|
25
|
+
<VBtn
|
|
26
|
+
to="/"
|
|
27
|
+
class="mb-11"
|
|
28
|
+
>
|
|
29
|
+
{{ $t('common.backToHome') }}
|
|
30
|
+
</VBtn>
|
|
31
|
+
|
|
32
|
+
<!-- 👉 Image -->
|
|
33
|
+
<div class="misc-avatar w-100 text-center" />
|
|
34
|
+
|
|
35
|
+
<img
|
|
36
|
+
class="misc-footer-img d-none d-md-block"
|
|
37
|
+
:src="authThemeMask"
|
|
38
|
+
alt="misc-footer-img"
|
|
39
|
+
height="320"
|
|
40
|
+
>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<style lang="scss">
|
|
45
|
+
@use "@core/scss/template/pages/misc.scss";
|
|
46
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import AccountSettingsSecurity from '@/views/account-settings/AccountSettingsSecurity.vue'
|
|
3
|
+
|
|
4
|
+
const { t } = useI18n()
|
|
5
|
+
const route = useRoute('account-settings-tab')
|
|
6
|
+
|
|
7
|
+
const activeTab = computed({
|
|
8
|
+
get: () => route.params.tab,
|
|
9
|
+
set: () => route.params.tab,
|
|
10
|
+
})
|
|
11
|
+
|
|
12
|
+
// tabs
|
|
13
|
+
const tabs = [
|
|
14
|
+
{ title: t('accountSetting.security'), icon: 'tabler-lock', tab: 'security' },
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
definePage({
|
|
18
|
+
meta: {
|
|
19
|
+
navActiveLink: 'account-settings-tab',
|
|
20
|
+
authenticatedOnly: true,
|
|
21
|
+
},
|
|
22
|
+
})
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<div>
|
|
27
|
+
<VTabs
|
|
28
|
+
v-model="activeTab"
|
|
29
|
+
class="v-tabs-pill"
|
|
30
|
+
>
|
|
31
|
+
<VTab
|
|
32
|
+
v-for="item in tabs"
|
|
33
|
+
:key="item.icon"
|
|
34
|
+
:value="item.tab"
|
|
35
|
+
:to="{ name: 'account-settings-tab', params: { tab: item.tab } }"
|
|
36
|
+
>
|
|
37
|
+
<VIcon
|
|
38
|
+
size="20"
|
|
39
|
+
start
|
|
40
|
+
:icon="item.icon"
|
|
41
|
+
/>
|
|
42
|
+
{{ item.title }}
|
|
43
|
+
</VTab>
|
|
44
|
+
</VTabs>
|
|
45
|
+
|
|
46
|
+
<VWindow
|
|
47
|
+
v-model="activeTab"
|
|
48
|
+
class="mt-6 disable-tab-transition"
|
|
49
|
+
:touch="false"
|
|
50
|
+
>
|
|
51
|
+
<!-- Security -->
|
|
52
|
+
<VWindowItem value="security">
|
|
53
|
+
<AccountSettingsSecurity />
|
|
54
|
+
</VWindowItem>
|
|
55
|
+
</VWindow>
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
definePage({
|
|
3
|
+
meta: {
|
|
4
|
+
authenticatedOnly: true,
|
|
5
|
+
},
|
|
6
|
+
})
|
|
7
|
+
</script>
|
|
8
|
+
<template>
|
|
9
|
+
<div>
|
|
10
|
+
<VCard
|
|
11
|
+
class="mb-6"
|
|
12
|
+
title="Kick start your project 🚀"
|
|
13
|
+
>
|
|
14
|
+
<VCardText>All the best for your new project.</VCardText>
|
|
15
|
+
<VCardText>
|
|
16
|
+
Please make sure to read our <a
|
|
17
|
+
href="https://demos.pixinvent.com/vuexy-vuejs-admin-template/documentation/"
|
|
18
|
+
target="_blank"
|
|
19
|
+
rel="noopener noreferrer"
|
|
20
|
+
class="text-decoration-none"
|
|
21
|
+
>
|
|
22
|
+
Template Documentation
|
|
23
|
+
</a> to understand where to go from here and how to use our template.
|
|
24
|
+
</VCardText>
|
|
25
|
+
</VCard>
|
|
26
|
+
|
|
27
|
+
<VCard title="Want to integrate JWT? 🔒">
|
|
28
|
+
<VCardText>We carefully crafted JWT flow so you can implement JWT with ease and with minimum efforts.</VCardText>
|
|
29
|
+
<VCardText>Please read our JWT Documentation to get more out of JWT authentication.</VCardText>
|
|
30
|
+
</VCard>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|