@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,178 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useValidators } from '@/@custom/composables/validator';
|
|
3
|
+
import authV1BottomShape from '@images/svg/auth-v1-bottom-shape.svg?raw';
|
|
4
|
+
import authV1TopShape from '@images/svg/auth-v1-top-shape.svg?raw';
|
|
5
|
+
import { VNodeRenderer } from '@layouts/components/VNodeRenderer';
|
|
6
|
+
import { themeConfig } from '@themeConfig';
|
|
7
|
+
import { VForm } from 'vuetify/components/VForm';
|
|
8
|
+
|
|
9
|
+
definePage({
|
|
10
|
+
meta: {
|
|
11
|
+
layout: 'blank',
|
|
12
|
+
unauthenticatedOnly: true,
|
|
13
|
+
},
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
const isPasswordVisible = ref(false)
|
|
17
|
+
const { requiredValidator } = useValidators()
|
|
18
|
+
const route = useRoute()
|
|
19
|
+
const router = useRouter()
|
|
20
|
+
|
|
21
|
+
const ability = useAbility()
|
|
22
|
+
const authStore = useAuthStore();
|
|
23
|
+
|
|
24
|
+
const errors = ref<Record<string, string | undefined>>({
|
|
25
|
+
email: undefined,
|
|
26
|
+
password: undefined,
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
const refVForm = ref<VForm>()
|
|
30
|
+
|
|
31
|
+
const credentials = ref({
|
|
32
|
+
email: 'demo@example.com',
|
|
33
|
+
password: 'Aa123456',
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
const rememberMe = ref(false)
|
|
37
|
+
const actionLoading = ref(false)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
const login = async () => {
|
|
41
|
+
try {
|
|
42
|
+
actionLoading.value = true;
|
|
43
|
+
const response = await authStore.login({
|
|
44
|
+
username: credentials.value.email,
|
|
45
|
+
password: credentials.value.password,
|
|
46
|
+
})
|
|
47
|
+
const res = response?.data;
|
|
48
|
+
const result = res?.data;
|
|
49
|
+
|
|
50
|
+
const { accessToken, user, userAbilityRules = [{"action":"manage","subject":"all"}] } = result
|
|
51
|
+
useCookie('userAbilityRules').value = userAbilityRules
|
|
52
|
+
ability.update(userAbilityRules)
|
|
53
|
+
|
|
54
|
+
useCookie('userData').value = user
|
|
55
|
+
useCookie('accessToken').value = accessToken
|
|
56
|
+
|
|
57
|
+
// Redirect to `to` query if exist or redirect to index route
|
|
58
|
+
// ❗ nextTick is required to wait for DOM updates and later redirect
|
|
59
|
+
await nextTick(() => {
|
|
60
|
+
router.replace(route.query.to ? String(route.query.to) : '/')
|
|
61
|
+
})
|
|
62
|
+
}
|
|
63
|
+
catch (err) {
|
|
64
|
+
console.log(err)
|
|
65
|
+
actionLoading.value = false;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const onSubmit = () => {
|
|
70
|
+
refVForm.value?.validate()
|
|
71
|
+
.then(({ valid: isValid } : {valid: boolean }) => {
|
|
72
|
+
if (isValid)
|
|
73
|
+
login()
|
|
74
|
+
})
|
|
75
|
+
}
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<template>
|
|
79
|
+
<div class="auth-wrapper d-flex align-center justify-center pa-4">
|
|
80
|
+
<div class="position-relative my-sm-16">
|
|
81
|
+
<!-- 👉 Top shape -->
|
|
82
|
+
<VNodeRenderer
|
|
83
|
+
:nodes="h('div', { innerHTML: authV1TopShape })"
|
|
84
|
+
class="text-primary auth-v1-top-shape d-none d-sm-block"
|
|
85
|
+
/>
|
|
86
|
+
|
|
87
|
+
<!-- 👉 Bottom shape -->
|
|
88
|
+
<VNodeRenderer
|
|
89
|
+
:nodes="h('div', { innerHTML: authV1BottomShape })"
|
|
90
|
+
class="text-primary auth-v1-bottom-shape d-none d-sm-block"
|
|
91
|
+
/>
|
|
92
|
+
|
|
93
|
+
<!-- 👉 Auth Card -->
|
|
94
|
+
<VCard
|
|
95
|
+
class="auth-card"
|
|
96
|
+
max-width="460"
|
|
97
|
+
:class="$vuetify.display.smAndUp ? 'pa-6' : 'pa-0'"
|
|
98
|
+
>
|
|
99
|
+
<VCardItem class="justify-center">
|
|
100
|
+
<VCardTitle>
|
|
101
|
+
<div class="app-logo">
|
|
102
|
+
<VNodeRenderer :nodes="themeConfig.app.logo" />
|
|
103
|
+
<h1 class="app-logo-title">
|
|
104
|
+
{{ themeConfig.app.title }}
|
|
105
|
+
</h1>
|
|
106
|
+
</div>
|
|
107
|
+
</VCardTitle>
|
|
108
|
+
</VCardItem>
|
|
109
|
+
|
|
110
|
+
<VCardText>
|
|
111
|
+
<h4 class="text-h4 mb-1">
|
|
112
|
+
<i18n-t keypath="loginPage.welcomeMesage" tag="label">
|
|
113
|
+
<span class="text-capitalize">{{ themeConfig.app.title }}</span>
|
|
114
|
+
</i18n-t>
|
|
115
|
+
</h4>
|
|
116
|
+
<p class="mb-0">
|
|
117
|
+
{{$t('loginPage.welcomeMesage2')}}
|
|
118
|
+
</p>
|
|
119
|
+
</VCardText>
|
|
120
|
+
|
|
121
|
+
<VCardText>
|
|
122
|
+
<VForm ref="refVForm" @submit.prevent="onSubmit">
|
|
123
|
+
<VRow>
|
|
124
|
+
<!-- email -->
|
|
125
|
+
<VCol cols="12">
|
|
126
|
+
<AppTextField
|
|
127
|
+
v-model="credentials.email"
|
|
128
|
+
autofocus
|
|
129
|
+
label="Email or Username"
|
|
130
|
+
type="email"
|
|
131
|
+
placeholder="johndoe@email.com"
|
|
132
|
+
:rules="[requiredValidator]"
|
|
133
|
+
:error-messages="errors.email"
|
|
134
|
+
/>
|
|
135
|
+
</VCol>
|
|
136
|
+
|
|
137
|
+
<!-- password -->
|
|
138
|
+
<VCol cols="12">
|
|
139
|
+
<AppTextField
|
|
140
|
+
v-model="credentials.password"
|
|
141
|
+
:label="$t('common.password')"
|
|
142
|
+
:placeholder="$t('common.password')"
|
|
143
|
+
:rules="[requiredValidator]"
|
|
144
|
+
:error-messages="errors.password"
|
|
145
|
+
:type="isPasswordVisible ? 'text' : 'password'"
|
|
146
|
+
:append-inner-icon="isPasswordVisible ? 'tabler-eye-off' : 'tabler-eye'"
|
|
147
|
+
@click:append-inner="isPasswordVisible = !isPasswordVisible"
|
|
148
|
+
/>
|
|
149
|
+
|
|
150
|
+
<!-- remember me checkbox -->
|
|
151
|
+
<div class="d-flex align-center justify-space-between flex-wrap my-6">
|
|
152
|
+
<VCheckbox
|
|
153
|
+
v-model="rememberMe"
|
|
154
|
+
label="Remember me"
|
|
155
|
+
/>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<!-- login button -->
|
|
159
|
+
<VBtn
|
|
160
|
+
block
|
|
161
|
+
type="submit"
|
|
162
|
+
:loading="actionLoading"
|
|
163
|
+
:disabled="actionLoading"
|
|
164
|
+
>
|
|
165
|
+
{{ $t("loginPage.login") }}
|
|
166
|
+
</VBtn>
|
|
167
|
+
</VCol>
|
|
168
|
+
</VRow>
|
|
169
|
+
</VForm>
|
|
170
|
+
</VCardText>
|
|
171
|
+
</VCard>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</template>
|
|
175
|
+
|
|
176
|
+
<style lang="scss">
|
|
177
|
+
@use "@core/scss/template/pages/page-auth.scss";
|
|
178
|
+
</style>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import miscMaskDark from '@images/pages/misc-mask-dark.png'
|
|
3
|
+
import miscMaskLight from '@images/pages/misc-mask-light.png'
|
|
4
|
+
|
|
5
|
+
import { useGenerateImageVariant } from '@core/composable/useGenerateImageVariant'
|
|
6
|
+
|
|
7
|
+
definePage({
|
|
8
|
+
alias: '/pages/not-authorized',
|
|
9
|
+
meta: {
|
|
10
|
+
layout: 'blank',
|
|
11
|
+
public: true,
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
const authThemeMask = useGenerateImageVariant(miscMaskLight, miscMaskDark)
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<div class="misc-wrapper">
|
|
20
|
+
<ErrorHeader
|
|
21
|
+
status-code="401"
|
|
22
|
+
:title="$t('errorPage.notAuthorized')"
|
|
23
|
+
:description="$t('errorPage.notAuthorizedMessage')"
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<VBtn
|
|
27
|
+
class="mb-11"
|
|
28
|
+
to="/"
|
|
29
|
+
>
|
|
30
|
+
{{ $t('common.backToHome') }}
|
|
31
|
+
</VBtn>
|
|
32
|
+
|
|
33
|
+
<!-- 👉 Image -->
|
|
34
|
+
<div class="misc-avatar w-100 text-center" />
|
|
35
|
+
|
|
36
|
+
<img
|
|
37
|
+
class="misc-footer-img d-none d-md-block"
|
|
38
|
+
:src="authThemeMask"
|
|
39
|
+
alt="misc-footer-img"
|
|
40
|
+
height="320"
|
|
41
|
+
>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
|
|
45
|
+
<style lang="scss">
|
|
46
|
+
@use "@core/scss/template/pages/misc.scss";
|
|
47
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<VCard title="Create Awesome 🙌">
|
|
4
|
+
<VCardText>This is your second page.</VCardText>
|
|
5
|
+
<VCardText>
|
|
6
|
+
Chocolate sesame snaps pie carrot cake pastry pie lollipop muffin.
|
|
7
|
+
Carrot cake dragée chupa chups jujubes. Macaroon liquorice cookie
|
|
8
|
+
wafer tart marzipan bonbon. Gingerbread jelly-o dragée
|
|
9
|
+
chocolate.
|
|
10
|
+
</VCardText>
|
|
11
|
+
</VCard>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Home": "Home",
|
|
3
|
+
"navigation": {
|
|
4
|
+
"home": "Dashboard"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"password": "Password",
|
|
8
|
+
"username": "Username",
|
|
9
|
+
"email": "Email",
|
|
10
|
+
"mobile": "Mobile Number",
|
|
11
|
+
"mobileNoPlaceholder": "123456789",
|
|
12
|
+
"logout": "Logout",
|
|
13
|
+
"name": "Name",
|
|
14
|
+
"joinDate": "Join Date",
|
|
15
|
+
"remark": "Remark",
|
|
16
|
+
"cancel": "Cancel",
|
|
17
|
+
"submit": "Submit",
|
|
18
|
+
"search": "Search",
|
|
19
|
+
"select": "Select",
|
|
20
|
+
"filters": "Filters",
|
|
21
|
+
"transactionDate": "Transaction Date",
|
|
22
|
+
"amount": "Amount",
|
|
23
|
+
"details": "Details",
|
|
24
|
+
"address1": "Address Line 1",
|
|
25
|
+
"address2": "Address Line 2",
|
|
26
|
+
"address2Placeholder": "Address Line 2 (optional)",
|
|
27
|
+
"address3": "Address Line 3",
|
|
28
|
+
"address3Placeholder": "Address Line 3 (optional)",
|
|
29
|
+
"city": "City",
|
|
30
|
+
"state": "State",
|
|
31
|
+
"postalCode": "Postal Code",
|
|
32
|
+
"country": "Country",
|
|
33
|
+
"total": "Total",
|
|
34
|
+
"next": "Next",
|
|
35
|
+
"previous": "Previous",
|
|
36
|
+
"confirm": "Confirm",
|
|
37
|
+
"ok": "OK",
|
|
38
|
+
"reset": "Reset",
|
|
39
|
+
"saveChanges": "Save Changes",
|
|
40
|
+
"backToHome": "Back To Home"
|
|
41
|
+
},
|
|
42
|
+
"validation": {
|
|
43
|
+
"requiredMessage": "This field is required",
|
|
44
|
+
"invalidEmailFormat": "The Email field must be a valid email",
|
|
45
|
+
"invalidPasswordFormat": "Field must contain at least one uppercase, lowercase, special character and digit with min 8 chars",
|
|
46
|
+
"confirmPasswordNotMatch": "The Confirm Password field confirmation does not match",
|
|
47
|
+
"betweenMessage": "Enter number between {min} and {max}",
|
|
48
|
+
"integerMessage": "This field must be an integer",
|
|
49
|
+
"alphaMessage": "The field may only contain alphabetic characters",
|
|
50
|
+
"urlMessage": "URL is invalid",
|
|
51
|
+
"lengthMessage": "The field must be {length} characters",
|
|
52
|
+
"alphaDashMessage": "The field may only contain alpha-numeric characters, as well as dashes",
|
|
53
|
+
"mobileNumberFormat": "The Mobile Number field must be a valid mobile number",
|
|
54
|
+
"currencyFormat": "The field must be a valid currency and must be greater than 0"
|
|
55
|
+
},
|
|
56
|
+
"pagination": {
|
|
57
|
+
"paginationMeta": "Showing {start} to {end} of {total} entries"
|
|
58
|
+
},
|
|
59
|
+
"errorPage": {
|
|
60
|
+
"pageNotFound": "Page Not Found ⚠️",
|
|
61
|
+
"pageNotFoundMessage": "We couldn't find the page you are looking for.",
|
|
62
|
+
"notAuthorized": "You are not authorized! 🔐",
|
|
63
|
+
"notAuthorizedMessage": "You don’t have permission to access this page."
|
|
64
|
+
},
|
|
65
|
+
"loginPage": {
|
|
66
|
+
"login": "Login",
|
|
67
|
+
"mobileNoPlaceholder": "+60123456789",
|
|
68
|
+
"welcomeMesage": "Welcome to {0}",
|
|
69
|
+
"welcomeMesage2": "Please sign-in to your account and start using merchant platform"
|
|
70
|
+
},
|
|
71
|
+
"accountSetting": {
|
|
72
|
+
"settings": "Settings",
|
|
73
|
+
"security": "Security"
|
|
74
|
+
},
|
|
75
|
+
"changePassword": {
|
|
76
|
+
"changePassword": "Change Password",
|
|
77
|
+
"currentPassword": "Current Password",
|
|
78
|
+
"newPassword": "New Password",
|
|
79
|
+
"confirmPassword": "Confirm New Password",
|
|
80
|
+
"passwordRequirements": "Password Requirements:",
|
|
81
|
+
"passwordRequirement1": "Minimum 8 characters long - the more, the better",
|
|
82
|
+
"passwordRequirement2": "At least one uppercase letter",
|
|
83
|
+
"passwordRequirement3": "At least one lowercase letter",
|
|
84
|
+
"passwordRequirement4": "At least one number",
|
|
85
|
+
"passwordRequirement5": "At least one special character",
|
|
86
|
+
"passwordChangeSuccess": "Password changed successfully"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Home": "首页",
|
|
3
|
+
"navigation": {
|
|
4
|
+
"home": "首页"
|
|
5
|
+
},
|
|
6
|
+
"common": {
|
|
7
|
+
"password": "密码",
|
|
8
|
+
"username": "用户名",
|
|
9
|
+
"email": "电子邮件",
|
|
10
|
+
"mobile": "手机号码",
|
|
11
|
+
"mobileNoPlaceholder": "123456789",
|
|
12
|
+
"logout": "登出",
|
|
13
|
+
"name": "姓名",
|
|
14
|
+
"joinDate": "加入日期",
|
|
15
|
+
"remark": "备注",
|
|
16
|
+
"cancel": "取消",
|
|
17
|
+
"submit": "提交",
|
|
18
|
+
"search": "搜索",
|
|
19
|
+
"select": "选择",
|
|
20
|
+
"filters": "筛选器",
|
|
21
|
+
"transactionDate": "交易日期",
|
|
22
|
+
"amount": "金额",
|
|
23
|
+
"details": "详情",
|
|
24
|
+
"address1": "地址1",
|
|
25
|
+
"address2": "地址2",
|
|
26
|
+
"address2Placeholder": "地址2(可选)",
|
|
27
|
+
"address3": "地址3",
|
|
28
|
+
"address3Placeholder": "地址3(可选)",
|
|
29
|
+
"city": "城市",
|
|
30
|
+
"state": "州",
|
|
31
|
+
"postalCode": "邮政编码",
|
|
32
|
+
"country": "国家",
|
|
33
|
+
"total": "总计",
|
|
34
|
+
"next": "下一页",
|
|
35
|
+
"previous": "上一页",
|
|
36
|
+
"confirm": "确认",
|
|
37
|
+
"ok": "确定",
|
|
38
|
+
"reset": "重置",
|
|
39
|
+
"saveChanges": "保存",
|
|
40
|
+
"backToHome": "返回首页"
|
|
41
|
+
},
|
|
42
|
+
"validation": {
|
|
43
|
+
"requiredMessage": "此字段为必填项",
|
|
44
|
+
"invalidEmailFormat": "电子邮件格式无效",
|
|
45
|
+
"invalidPasswordFormat": "字段必须包含至少一个大写字母、一个小写字母、一个特殊字符和一个数字,长度至少为8个字符",
|
|
46
|
+
"confirmPasswordNotMatch": "确认密码与密码不匹配",
|
|
47
|
+
"betweenMessage": "请输入介于 {min} 和 {max} 之间的数字",
|
|
48
|
+
"integerMessage": "此字段必须为整数",
|
|
49
|
+
"alphaMessage": "此字段只能包含字母字符",
|
|
50
|
+
"urlMessage": "URL无效",
|
|
51
|
+
"lengthMessage": "此字段必须为 {length} 个字符",
|
|
52
|
+
"alphaDashMessage": "此字段只能包含字母数字字符和破折号",
|
|
53
|
+
"mobileNumberFormat": "手机号码格式无效",
|
|
54
|
+
"currencyFormat": "该字段必须是有效的金额且必须大于0"
|
|
55
|
+
},
|
|
56
|
+
"pagination": {
|
|
57
|
+
"paginationMeta": "显示 {start} 到 {end} 条,共 {total} 条记录"
|
|
58
|
+
},
|
|
59
|
+
"errorPage": {
|
|
60
|
+
"pageNotFound": "未找到页面 ⚠️",
|
|
61
|
+
"pageNotFoundMessage": "未能找到您要查找的页面。",
|
|
62
|
+
"notAuthorized": "您没有权限!🔐",
|
|
63
|
+
"notAuthorizedMessage": "您没有权限访问此页面。"
|
|
64
|
+
},
|
|
65
|
+
"loginPage": {
|
|
66
|
+
"login": "登录",
|
|
67
|
+
"mobileNoPlaceholder": "+60123456789",
|
|
68
|
+
"welcomeMesage": "欢迎来到 {0}",
|
|
69
|
+
"welcomeMesage2": "请登录您的账户并开始使用商家平台"
|
|
70
|
+
},
|
|
71
|
+
"accountSetting": {
|
|
72
|
+
"settings": "设置",
|
|
73
|
+
"security": "安全设置"
|
|
74
|
+
},
|
|
75
|
+
"changePassword": {
|
|
76
|
+
"changePassword": "修改密码",
|
|
77
|
+
"currentPassword": "当前密码",
|
|
78
|
+
"newPassword": "新密码",
|
|
79
|
+
"confirmPassword": "确认新密码",
|
|
80
|
+
"passwordRequirements": "密码要求:",
|
|
81
|
+
"passwordRequirement1": "至少8个字符长 - 越长越好",
|
|
82
|
+
"passwordRequirement2": "至少一个大写字母",
|
|
83
|
+
"passwordRequirement3": "至少一个小写字母",
|
|
84
|
+
"passwordRequirement4": "至少一个数字",
|
|
85
|
+
"passwordRequirement5": "至少一个特殊字符",
|
|
86
|
+
"passwordChangeSuccess": "密码修改成功"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* global type definitions
|
|
3
|
+
* using the typescript interface, you can define the i18n resources that is type-safed!
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* you need to import the some interfaces
|
|
8
|
+
*/
|
|
9
|
+
import en from '@/plugins/i18n/locales/en_US.json';
|
|
10
|
+
import 'vue-i18n';
|
|
11
|
+
|
|
12
|
+
type LocaleMessage = typeof en
|
|
13
|
+
|
|
14
|
+
declare module 'vue-i18n' {
|
|
15
|
+
export interface DefineLocaleMessage extends LocaleMessage {
|
|
16
|
+
}
|
|
17
|
+
}
|