@vc-shell/framework 1.0.38 → 1.0.40
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/core/api/index.ts +1 -0
- package/core/api/platform.ts +8332 -0
- package/core/composables/index.ts +8 -0
- package/core/composables/useAutosave/index.ts +57 -0
- package/core/composables/useFunctions/debounce.ts +18 -0
- package/core/composables/useFunctions/delay.ts +7 -0
- package/core/composables/useFunctions/index.ts +21 -0
- package/core/composables/useFunctions/once.ts +14 -0
- package/core/composables/useFunctions/sleep.ts +4 -0
- package/core/composables/useFunctions/throttle.ts +17 -0
- package/core/composables/useI18n/index.ts +28 -0
- package/core/composables/useLogger/index.ts +24 -0
- package/core/composables/useNotifications/index.ts +116 -0
- package/core/composables/usePermissions/index.ts +32 -0
- package/core/composables/useSettings/index.ts +62 -0
- package/core/composables/useUser/index.ts +266 -0
- package/core/directives/autofocus/index.ts +9 -0
- package/core/directives/click-outside/index.ts +21 -0
- package/core/directives/index.ts +4 -0
- package/core/directives/loading/index.ts +28 -0
- package/core/directives/permissions/index.ts +20 -0
- package/core/plugins/index.ts +1 -0
- package/core/plugins/validation/index.ts +2 -0
- package/core/plugins/validation/rules.ts +196 -0
- package/core/types/index.ts +92 -0
- package/core/utilities/camelToSnake.ts +7 -0
- package/core/utilities/index.ts +1 -0
- package/dist/core/composables/useNotifications/index.d.ts +1 -1
- package/dist/core/composables/useNotifications/index.d.ts.map +1 -1
- package/dist/core/composables/useSettings/index.d.ts +10 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/composables/useUser/index.d.ts +2 -2
- package/dist/core/composables/useUser/index.d.ts.map +1 -1
- package/dist/core/plugins/validation/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +72 -99
- package/dist/framework.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/app-switcher/composables/useAppSwitcher/index.d.ts +1 -1
- package/dist/shared/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -1
- package/dist/shared/app-switcher/index.d.ts +2 -2
- package/dist/shared/app-switcher/index.d.ts.map +1 -1
- package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts +1 -1
- package/dist/shared/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/blade-navigation/types/index.d.ts +1 -1
- package/dist/shared/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/ui/components/atoms/vc-badge/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-badge/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts +28 -0
- package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-badge/vc-badge.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-badge/vc-badge.stories.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-button/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +28 -0
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-button/vc-button.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-container/vc-container.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-container/vc-container.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-hint/vc-hint.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-hint/vc-hint.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-icon/vc-icon.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-image/vc-image.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-image/vc-image.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-label/vc-label.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-label/vc-label.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-link/vc-link.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-link/vc-link.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-progress/vc-progress.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-status/vc-status.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-status/vc-status.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/atoms/vc-switch/vc-switch.stories.d.ts +0 -0
- package/dist/ui/components/atoms/vc-switch/vc-switch.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/index.d.ts +4 -3
- package/dist/ui/components/index.d.ts.map +1 -0
- package/dist/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts +0 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/molecules/vc-form/vc-form.stories.d.ts +0 -0
- package/dist/ui/components/molecules/vc-form/vc-form.stories.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-input/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts +140 -0
- package/dist/ui/components/molecules/vc-input/vc-input-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-input-currency/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts +124 -0
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency-model.d.ts.map +1 -0
- package/dist/{components → ui/components}/molecules/vc-pagination/vc-pagination.stories.d.ts +0 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/molecules/vc-rating/vc-rating.stories.d.ts +0 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating.stories.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-select/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts +207 -0
- package/dist/ui/components/molecules/vc-select/vc-select-model.d.ts.map +1 -0
- package/dist/{components → ui/components}/molecules/vc-textarea/vc-textarea.stories.d.ts +0 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/organisms/vc-app/vc-app.stories.d.ts +0 -0
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/organisms/vc-blade/vc-blade.stories.d.ts +0 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/organisms/vc-login-form/vc-login-form.stories.d.ts +0 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/organisms/vc-popup/vc-popup.stories.d.ts +0 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup.stories.d.ts.map +1 -0
- package/dist/{components → ui/components}/organisms/vc-table/vc-table.stories.d.ts +0 -0
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -0
- package/dist/ui/types/index.d.ts +13 -0
- package/dist/ui/types/index.d.ts.map +1 -0
- package/dist/ui/types/ts-helpers.d.ts +13 -0
- package/dist/ui/types/ts-helpers.d.ts.map +1 -0
- package/dist/vite.config.d.ts.map +1 -1
- package/package.json +30 -10
- package/shared/app-switcher/components/index.ts +1 -0
- package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +90 -0
- package/shared/app-switcher/composables/index.ts +1 -0
- package/shared/app-switcher/composables/useAppSwitcher/index.ts +54 -0
- package/shared/app-switcher/index.ts +14 -0
- package/shared/assets/components/assets-details/assets-details.vue +138 -0
- package/shared/assets/components/index.ts +1 -0
- package/shared/assets/index.ts +19 -0
- package/shared/assets/locales/en.json +29 -0
- package/shared/assets/locales/index.ts +2 -0
- package/shared/blade-navigation/components/index.ts +1 -0
- package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +84 -0
- package/shared/blade-navigation/composables/index.ts +1 -0
- package/shared/blade-navigation/composables/useBladeNavigation/index.ts +216 -0
- package/shared/blade-navigation/index.ts +15 -0
- package/shared/blade-navigation/types/index.ts +52 -0
- package/shared/index.ts +16 -0
- package/tailwind.config.js +4 -3
- package/ui/components/atoms/vc-badge/index.ts +7 -0
- package/ui/components/atoms/vc-badge/vc-badge-model.ts +30 -0
- package/ui/components/atoms/vc-badge/vc-badge.stories.ts +27 -0
- package/ui/components/atoms/vc-badge/vc-badge.vue +57 -0
- package/ui/components/atoms/vc-button/index.ts +7 -0
- package/ui/components/atoms/vc-button/vc-button-model.ts +30 -0
- package/ui/components/atoms/vc-button/vc-button.stories.ts +34 -0
- package/ui/components/atoms/vc-button/vc-button.vue +219 -0
- package/ui/components/atoms/vc-card/vc-card.vue +137 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.stories.ts +25 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +130 -0
- package/ui/components/atoms/vc-col/vc-col.vue +22 -0
- package/ui/components/atoms/vc-container/vc-container.stories.ts +31 -0
- package/ui/components/atoms/vc-container/vc-container.vue +222 -0
- package/ui/components/atoms/vc-hint/vc-hint.stories.ts +23 -0
- package/ui/components/atoms/vc-hint/vc-hint.vue +11 -0
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +32 -0
- package/ui/components/atoms/vc-icon/vc-icon.vue +36 -0
- package/ui/components/atoms/vc-image/vc-image.stories.ts +40 -0
- package/ui/components/atoms/vc-image/vc-image.vue +122 -0
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +42 -0
- package/ui/components/atoms/vc-label/vc-label.stories.ts +23 -0
- package/ui/components/atoms/vc-label/vc-label.vue +49 -0
- package/ui/components/atoms/vc-link/vc-link.stories.ts +30 -0
- package/ui/components/atoms/vc-link/vc-link.vue +46 -0
- package/ui/components/atoms/vc-loading/vc-loading.vue +33 -0
- package/ui/components/atoms/vc-progress/vc-progress.stories.ts +25 -0
- package/ui/components/atoms/vc-progress/vc-progress.vue +65 -0
- package/ui/components/atoms/vc-row/vc-row.vue +13 -0
- package/ui/components/atoms/vc-status/vc-status.stories.ts +26 -0
- package/ui/components/atoms/vc-status/vc-status.vue +78 -0
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +21 -0
- package/ui/components/atoms/vc-switch/vc-switch.stories.ts +27 -0
- package/ui/components/atoms/vc-switch/vc-switch.vue +100 -0
- package/ui/components/atoms/vc-widget/vc-widget.vue +85 -0
- package/ui/components/index.ts +44 -0
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +103 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +39 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +21 -0
- package/ui/components/molecules/vc-currency-input/vc-input.vue +436 -0
- package/ui/components/molecules/vc-editor/vc-editor.vue +117 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +134 -0
- package/ui/components/molecules/vc-form/vc-form.stories.ts +23 -0
- package/ui/components/molecules/vc-form/vc-form.vue +5 -0
- package/ui/components/molecules/vc-input/index.ts +8 -0
- package/ui/components/molecules/vc-input/vc-input-model.ts +150 -0
- package/ui/components/molecules/vc-input/vc-input.vue +324 -0
- package/ui/components/molecules/vc-input-currency/index.ts +8 -0
- package/ui/components/molecules/vc-input-currency/vc-input-currency-model.ts +128 -0
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +86 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +447 -0
- package/ui/components/molecules/vc-notification/vc-notification.vue +101 -0
- package/ui/components/molecules/vc-pagination/vc-pagination.stories.ts +23 -0
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +169 -0
- package/ui/components/molecules/vc-rating/vc-rating.stories.ts +23 -0
- package/ui/components/molecules/vc-rating/vc-rating.vue +77 -0
- package/ui/components/molecules/vc-select/index.ts +7 -0
- package/ui/components/molecules/vc-select/vc-select-model.ts +216 -0
- package/ui/components/molecules/vc-select/vc-select.vue +727 -0
- package/ui/components/molecules/vc-slider/vc-slider.vue +106 -0
- package/ui/components/molecules/vc-textarea/vc-textarea.stories.ts +23 -0
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +155 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +150 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +148 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +157 -0
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +110 -0
- package/ui/components/organisms/vc-app/vc-app.stories.ts +75 -0
- package/ui/components/organisms/vc-app/vc-app.vue +169 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +126 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +223 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +67 -0
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +46 -0
- package/ui/components/organisms/vc-blade/vc-blade.vue +87 -0
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +426 -0
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +123 -0
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +93 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +186 -0
- package/ui/components/organisms/vc-login-form/vc-login-form.stories.ts +55 -0
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +48 -0
- package/ui/components/organisms/vc-popup/vc-popup.stories.ts +23 -0
- package/ui/components/organisms/vc-popup/vc-popup.vue +97 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +113 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +29 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +152 -0
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +272 -0
- package/ui/components/organisms/vc-table/vc-table.stories.ts +99 -0
- package/ui/components/organisms/vc-table/vc-table.vue +638 -0
- package/ui/types/index.ts +38 -0
- package/ui/types/ts-helpers.ts +46 -0
- package/dist/components/atoms/vc-badge/vc-badge.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-button/vc-button.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-checkbox/vc-checkbox.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-container/vc-container.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-hint/vc-hint.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-icon/vc-icon.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-image/vc-image.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-label/vc-label.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-link/vc-link.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-progress/vc-progress.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-status/vc-status.stories.d.ts.map +0 -1
- package/dist/components/atoms/vc-switch/vc-switch.stories.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-form/vc-form.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-input/vc-input.stories.d.ts +0 -7
- package/dist/components/molecules/vc-input/vc-input.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-pagination/vc-pagination.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-rating/vc-rating.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-select/vc-select.stories.d.ts +0 -7
- package/dist/components/molecules/vc-select/vc-select.stories.d.ts.map +0 -1
- package/dist/components/molecules/vc-textarea/vc-textarea.stories.d.ts.map +0 -1
- package/dist/components/organisms/vc-app/vc-app.stories.d.ts.map +0 -1
- package/dist/components/organisms/vc-blade/vc-blade.stories.d.ts.map +0 -1
- package/dist/components/organisms/vc-login-form/vc-login-form.stories.d.ts.map +0 -1
- package/dist/components/organisms/vc-popup/vc-popup.stories.d.ts.map +0 -1
- package/dist/components/organisms/vc-table/vc-table.stories.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { VcBadge } from "./atoms/vc-badge";
|
|
2
2
|
export { default as VcButton } from "./atoms/vc-button/vc-button.vue";
|
|
3
3
|
export { default as VcCard } from "./atoms/vc-card/vc-card.vue";
|
|
4
4
|
export { default as VcCheckbox } from "./atoms/vc-checkbox/vc-checkbox.vue";
|
|
@@ -21,12 +21,13 @@ export { default as VcBreadcrumbs } from "./molecules/vc-breadcrumbs/vc-breadcru
|
|
|
21
21
|
export { default as VcEditor } from "./molecules/vc-editor/vc-editor.vue";
|
|
22
22
|
export { default as VcForm } from "./molecules/vc-form/vc-form.vue";
|
|
23
23
|
export { default as VcFileUpload } from "./molecules/vc-file-upload/vc-file-upload.vue";
|
|
24
|
-
export {
|
|
24
|
+
export { VcInput } from "./molecules/vc-input";
|
|
25
|
+
export { VcInputCurrency } from "./molecules/vc-input-currency";
|
|
25
26
|
export { default as VcMultivalue } from "./molecules/vc-multivalue/vc-multivalue.vue";
|
|
26
27
|
export { default as VcNotification } from "./molecules/vc-notification/vc-notification.vue";
|
|
27
28
|
export { default as VcPagination } from "./molecules/vc-pagination/vc-pagination.vue";
|
|
28
29
|
export { default as VcRating } from "./molecules/vc-rating/vc-rating.vue";
|
|
29
|
-
export {
|
|
30
|
+
export { VcSelect } from "./molecules/vc-select";
|
|
30
31
|
export { default as VcSlider } from "./molecules/vc-slider/vc-slider.vue";
|
|
31
32
|
export { default as VcTextarea } from "./molecules/vc-textarea/vc-textarea.vue";
|
|
32
33
|
export { default as VcApp } from "./organisms/vc-app/vc-app.vue";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAA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;AACjD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAGhF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AACvG,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
|
package/dist/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.d.ts
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,WAAW,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-form.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-form/vc-form.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcInputProps } from "./vc-input-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
export declare const VcInput: ComponentConstructor<ComponentPublicInstance<VcInputProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
export interface VcInputProps {
|
|
3
|
+
/**
|
|
4
|
+
* Model of the component; Use with a listener for 'update:model-value' event OR use v-model directive
|
|
5
|
+
*/
|
|
6
|
+
modelValue?: string | number | Date | null;
|
|
7
|
+
/**
|
|
8
|
+
* Input label text
|
|
9
|
+
*/
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Input placeholder text
|
|
13
|
+
*/
|
|
14
|
+
placeholder?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Input type
|
|
17
|
+
* Default value: text
|
|
18
|
+
*/
|
|
19
|
+
type?: "text" | "password" | "email" | "tel" | "number" | "url" | "time" | "date" | "datetime-local" | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Input description (hint) text below input component
|
|
22
|
+
*/
|
|
23
|
+
hint?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Appends clearable icon when a value is set;
|
|
26
|
+
* When clicked, model becomes null
|
|
27
|
+
*/
|
|
28
|
+
clearable?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Prefix
|
|
31
|
+
*/
|
|
32
|
+
prefix?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Suffix
|
|
35
|
+
*/
|
|
36
|
+
suffix?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Used to specify the name of the control; If not specified, it takes the value 'Field'
|
|
39
|
+
*/
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
43
|
+
*/
|
|
44
|
+
loading?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Debounce amount (in milliseconds) when updating model
|
|
47
|
+
*/
|
|
48
|
+
debounce?: string | number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Put component in disabled mode
|
|
51
|
+
*/
|
|
52
|
+
disabled?: boolean | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Focus field on initial component render
|
|
55
|
+
*/
|
|
56
|
+
autofocus?: boolean | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Does field have validation errors?
|
|
59
|
+
*/
|
|
60
|
+
error?: boolean | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
63
|
+
*/
|
|
64
|
+
errorMessage?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Specify a max length of model
|
|
67
|
+
* Default value: 1024
|
|
68
|
+
*/
|
|
69
|
+
maxlength?: string | number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Input tooltip information
|
|
72
|
+
*/
|
|
73
|
+
tooltip?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Input required state
|
|
76
|
+
*/
|
|
77
|
+
required?: boolean | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface VcInputEmits {
|
|
80
|
+
/**
|
|
81
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
82
|
+
* @param event Emitted event name
|
|
83
|
+
* @param value New model value
|
|
84
|
+
*/
|
|
85
|
+
(event: "update:modelValue", value: string | number | Date | null): void;
|
|
86
|
+
}
|
|
87
|
+
export interface VcInputSlots {
|
|
88
|
+
/**
|
|
89
|
+
* Slot for controls
|
|
90
|
+
* @param scope
|
|
91
|
+
*/
|
|
92
|
+
control: (scope: {
|
|
93
|
+
/**
|
|
94
|
+
* Field is editable
|
|
95
|
+
*/
|
|
96
|
+
editable: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Field has focus
|
|
99
|
+
*/
|
|
100
|
+
focused: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Field's value
|
|
103
|
+
*/
|
|
104
|
+
modelValue: string | number | Date | null;
|
|
105
|
+
/**
|
|
106
|
+
* Function that emits an @input event in the context of the field
|
|
107
|
+
* @param value Value to be emitted
|
|
108
|
+
*/
|
|
109
|
+
emitValue: (value: string | number | Date | null) => void;
|
|
110
|
+
/**
|
|
111
|
+
* Field placeholder text
|
|
112
|
+
*/
|
|
113
|
+
placeholder?: string | undefined;
|
|
114
|
+
}) => VNode[];
|
|
115
|
+
/**
|
|
116
|
+
* Prepend outer field
|
|
117
|
+
*/
|
|
118
|
+
prepend: () => VNode[];
|
|
119
|
+
/**
|
|
120
|
+
* Prepend inner field
|
|
121
|
+
*/
|
|
122
|
+
"prepend-inner": () => VNode[];
|
|
123
|
+
/**
|
|
124
|
+
* Append to inner field
|
|
125
|
+
*/
|
|
126
|
+
"append-inner": () => VNode[];
|
|
127
|
+
/**
|
|
128
|
+
* Append outer field
|
|
129
|
+
*/
|
|
130
|
+
append: () => VNode[];
|
|
131
|
+
/**
|
|
132
|
+
* Slot for errors
|
|
133
|
+
*/
|
|
134
|
+
error: () => VNode[];
|
|
135
|
+
/**
|
|
136
|
+
* Slot for hint text
|
|
137
|
+
*/
|
|
138
|
+
hint: () => VNode[];
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=vc-input-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-input-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input/vc-input-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE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AAE,OAAO,GAAG,SAAS,CAAC;CAChC;AACD,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1E;AACD,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE;QACf;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QACjB;;WAEG;QACH,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;QAC1C;;;WAGG;QACH,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;QAC1D;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC,KAAK,KAAK,EAAE,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,KAAK,EAAE,CAAC;IAC/B;;OAEG;IACH,cAAc,EAAE,MAAM,KAAK,EAAE,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,KAAK,EAAE,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,KAAK,EAAE,CAAC;CACrB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcInputCurrencyProps } from "./vc-input-currency-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
export declare const VcInputCurrency: ComponentConstructor<ComponentPublicInstance<VcInputCurrencyProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG7D,eAAO,MAAM,eAAe,EAAE,oBAAoB,CAChD,uBAAuB,CAAC,oBAAoB,CAAC,CAC9B,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
|
|
3
|
+
export interface VcInputCurrencyProps {
|
|
4
|
+
/**
|
|
5
|
+
* Model of the currency component; Use with a listener for 'update:price' event OR use v-model:price directive
|
|
6
|
+
*/
|
|
7
|
+
modelValue?: string | number | Date | null;
|
|
8
|
+
/**
|
|
9
|
+
* Input label text
|
|
10
|
+
*/
|
|
11
|
+
label?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Input placeholder text
|
|
14
|
+
*/
|
|
15
|
+
placeholder?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Input description (hint) text below input component
|
|
18
|
+
*/
|
|
19
|
+
hint?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Appends clearable icon when a value is set;
|
|
22
|
+
* When clicked, model becomes null
|
|
23
|
+
*/
|
|
24
|
+
clearable?: boolean | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Prefix
|
|
27
|
+
*/
|
|
28
|
+
prefix?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Suffix
|
|
31
|
+
*/
|
|
32
|
+
suffix?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Used to specify the name of the control; If not specified, it takes the value 'Field'
|
|
35
|
+
*/
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
39
|
+
*/
|
|
40
|
+
loading?: boolean | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Debounce amount (in milliseconds) for search input
|
|
43
|
+
* Default: 0
|
|
44
|
+
*/
|
|
45
|
+
debounce?: string | number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Put component in disabled mode
|
|
48
|
+
*/
|
|
49
|
+
disabled?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Focus field on initial component render
|
|
52
|
+
*/
|
|
53
|
+
autofocus?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Does field have validation errors?
|
|
56
|
+
*/
|
|
57
|
+
error?: boolean | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
60
|
+
*/
|
|
61
|
+
errorMessage?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Specify a max length of model
|
|
64
|
+
* Default value: 1024
|
|
65
|
+
*/
|
|
66
|
+
maxlength?: string | number | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Input tooltip information
|
|
69
|
+
*/
|
|
70
|
+
tooltip?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Input required state
|
|
73
|
+
*/
|
|
74
|
+
required?: boolean | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Option label
|
|
77
|
+
*/
|
|
78
|
+
option?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Available options that the user can select from.
|
|
81
|
+
* Default value: []
|
|
82
|
+
*/
|
|
83
|
+
options?: any[] | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Property of option which holds the 'value'
|
|
86
|
+
* Default value: id
|
|
87
|
+
* @param option The current option being processed
|
|
88
|
+
* @returns Value of the current option
|
|
89
|
+
*/
|
|
90
|
+
optionValue?: OptionProp;
|
|
91
|
+
/**
|
|
92
|
+
* Property of option which holds the 'label'
|
|
93
|
+
* Default value: title
|
|
94
|
+
* @param option The current option being processed
|
|
95
|
+
* @returns Label of the current option
|
|
96
|
+
*/
|
|
97
|
+
optionLabel?: OptionProp;
|
|
98
|
+
}
|
|
99
|
+
export interface VcInputCurrencyEmits {
|
|
100
|
+
/**
|
|
101
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
102
|
+
* @param event Emitted event name
|
|
103
|
+
* @param value New model value
|
|
104
|
+
*/
|
|
105
|
+
(event: "update:modelValue", value: string | number | null): void;
|
|
106
|
+
/**
|
|
107
|
+
* Emitted when the component needs to change the options model; Is also used by v-model:option
|
|
108
|
+
* @param event Emitted event name
|
|
109
|
+
* @param value New model value
|
|
110
|
+
*/
|
|
111
|
+
(event: "update:option", value: string | number | null): void;
|
|
112
|
+
}
|
|
113
|
+
export interface VcInputCurrencySlots {
|
|
114
|
+
/**
|
|
115
|
+
* Slot for custom dropdown open handler
|
|
116
|
+
*/
|
|
117
|
+
button: (scope: {
|
|
118
|
+
/**
|
|
119
|
+
* Dropdown open/close handler
|
|
120
|
+
*/
|
|
121
|
+
toggleHandler: () => void;
|
|
122
|
+
}) => VNode[];
|
|
123
|
+
}
|
|
124
|
+
//# sourceMappingURL=vc-input-currency-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-input-currency-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-input-currency/vc-input-currency-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,MAAM,UAAU,GAClB,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,GACtD,MAAM,GACN,SAAS,CAAC;AAEd,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,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,oBAAoB;IACnC;;;;OAIG;IACH,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAClE;;;;OAIG;IACH,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;CAC/D;AACD,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE;QACd;;WAEG;QACH,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,KAAK,KAAK,EAAE,CAAC;CACf"}
|
package/dist/{components → ui/components}/molecules/vc-pagination/vc-pagination.stories.d.ts
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-pagination.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-pagination/vc-pagination.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,UAAU,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-rating.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-rating/vc-rating.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcSelectProps } from "./vc-select-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
export declare const VcSelect: ComponentConstructor<ComponentPublicInstance<VcSelectProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,QAAQ,EAAE,oBAAoB,CACzC,uBAAuB,CAAC,aAAa,CAAC,CAC9B,CAAC"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
export type OptionProp = ((option: string | Record<string, unknown>) => string) | string | undefined;
|
|
3
|
+
export interface VcSelectProps {
|
|
4
|
+
/**
|
|
5
|
+
* Name of select
|
|
6
|
+
*/
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Model of the component; Must be Array if using 'multiple' prop; Use this property with a listener for 'update:modelValue' event OR use v-model directive
|
|
10
|
+
*/
|
|
11
|
+
modelValue: any;
|
|
12
|
+
/**
|
|
13
|
+
* Try to map labels of model from 'options' Array; If you are using emit-value you will probably need to use map-options to display the label text in the select field rather than the value;
|
|
14
|
+
* Default value: true
|
|
15
|
+
*/
|
|
16
|
+
mapOptions?: boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Does field have validation errors?
|
|
19
|
+
*/
|
|
20
|
+
error?: boolean | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
23
|
+
*/
|
|
24
|
+
errorMessage?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Select label
|
|
27
|
+
*/
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Select description (hint) text below input component
|
|
31
|
+
*/
|
|
32
|
+
hint?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Prefix
|
|
35
|
+
*/
|
|
36
|
+
prefix?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Suffix
|
|
39
|
+
*/
|
|
40
|
+
suffix?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
43
|
+
*/
|
|
44
|
+
loading?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Appends clearable icon when a value is set;
|
|
47
|
+
* When clicked, model becomes null
|
|
48
|
+
*/
|
|
49
|
+
clearable?: boolean | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Put component in disabled mode
|
|
52
|
+
*/
|
|
53
|
+
disabled?: boolean | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Allow multiple selection; Model must be Array
|
|
56
|
+
*/
|
|
57
|
+
multiple?: boolean | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Available options that the user can select from.
|
|
60
|
+
* Default value: []
|
|
61
|
+
*/
|
|
62
|
+
options?: ((keyword?: string, skip?: number, ids?: string[]) => Promise<{
|
|
63
|
+
results?: Record<string, unknown>[];
|
|
64
|
+
totalCount?: number;
|
|
65
|
+
}>) | any[] | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Property of option which holds the 'value'
|
|
68
|
+
* Default value: id
|
|
69
|
+
* @param option The current option being processed
|
|
70
|
+
* @returns Value of the current option
|
|
71
|
+
*/
|
|
72
|
+
optionValue?: OptionProp;
|
|
73
|
+
/**
|
|
74
|
+
* Property of option which holds the 'label'
|
|
75
|
+
* Default value: title
|
|
76
|
+
* @param option The current option being processed
|
|
77
|
+
* @returns Label of the current option
|
|
78
|
+
*/
|
|
79
|
+
optionLabel?: OptionProp;
|
|
80
|
+
/**
|
|
81
|
+
* Update model with the value of the selected option instead of the whole option
|
|
82
|
+
*/
|
|
83
|
+
emitValue?: boolean | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Debounce the search input update with an amount of milliseconds
|
|
86
|
+
* Default value: 500
|
|
87
|
+
*/
|
|
88
|
+
debounce?: number | string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Input placeholder text
|
|
91
|
+
*/
|
|
92
|
+
placeholder?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Input tooltip information
|
|
95
|
+
*/
|
|
96
|
+
tooltip?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Input required state
|
|
99
|
+
*/
|
|
100
|
+
required?: boolean | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Input search activation
|
|
103
|
+
*/
|
|
104
|
+
searchable?: boolean | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface VcSelectEmits {
|
|
107
|
+
/**
|
|
108
|
+
* Emitted when the component needs to change the model; Is also used by v-model
|
|
109
|
+
* @param event Emitted event name
|
|
110
|
+
* @param value New model value
|
|
111
|
+
*/
|
|
112
|
+
(event: "update:modelValue", value: any): void;
|
|
113
|
+
/**
|
|
114
|
+
* Emitted when user wants to filter a value
|
|
115
|
+
* @param event Emitted event name
|
|
116
|
+
* @param inputValue What the user typed
|
|
117
|
+
*/
|
|
118
|
+
(event: "search", inputValue: string): void;
|
|
119
|
+
/**
|
|
120
|
+
* Emitted when the select options list is hidden
|
|
121
|
+
* @param event Emitted event name
|
|
122
|
+
*/
|
|
123
|
+
(event: "close"): void;
|
|
124
|
+
}
|
|
125
|
+
export interface VcSelectSlots {
|
|
126
|
+
/**
|
|
127
|
+
* Custom select control
|
|
128
|
+
*/
|
|
129
|
+
control: (scope: {
|
|
130
|
+
toggleHandler: () => void;
|
|
131
|
+
}) => VNode[];
|
|
132
|
+
/**
|
|
133
|
+
* Prepend inner field
|
|
134
|
+
*/
|
|
135
|
+
"prepend-inner": () => VNode[];
|
|
136
|
+
/**
|
|
137
|
+
* Append to inner field
|
|
138
|
+
*/
|
|
139
|
+
"append-inner": () => VNode[];
|
|
140
|
+
/**
|
|
141
|
+
* Prepend outer field
|
|
142
|
+
*/
|
|
143
|
+
prepend: () => VNode[];
|
|
144
|
+
/**
|
|
145
|
+
* Append outer field
|
|
146
|
+
*/
|
|
147
|
+
append: () => VNode[];
|
|
148
|
+
/**
|
|
149
|
+
* What should the menu display after filtering options and none are left to be displayed
|
|
150
|
+
* @param scope
|
|
151
|
+
*/
|
|
152
|
+
"no-option": () => VNode[];
|
|
153
|
+
/**
|
|
154
|
+
* Slot for errors
|
|
155
|
+
*/
|
|
156
|
+
error: () => VNode[];
|
|
157
|
+
/**
|
|
158
|
+
* Slot for hint text
|
|
159
|
+
*/
|
|
160
|
+
hint: () => VNode[];
|
|
161
|
+
/**
|
|
162
|
+
* Override default selection slot
|
|
163
|
+
* @param scope
|
|
164
|
+
*/
|
|
165
|
+
"selected-item": (scope: {
|
|
166
|
+
/**
|
|
167
|
+
* Selection index
|
|
168
|
+
*/
|
|
169
|
+
index: number;
|
|
170
|
+
/**
|
|
171
|
+
* Selected option -- its value is taken from model
|
|
172
|
+
*/
|
|
173
|
+
opt: any;
|
|
174
|
+
/**
|
|
175
|
+
* Always true -- passed as prop
|
|
176
|
+
*/
|
|
177
|
+
selected: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Remove selected option located at specific index
|
|
180
|
+
* @param index Index at which to remove selection
|
|
181
|
+
*/
|
|
182
|
+
removeAtIndex: (index: number) => void;
|
|
183
|
+
}) => VNode[];
|
|
184
|
+
/**
|
|
185
|
+
* Override default selection slot;
|
|
186
|
+
*/
|
|
187
|
+
option: (scope: {
|
|
188
|
+
/**
|
|
189
|
+
* Option index
|
|
190
|
+
*/
|
|
191
|
+
index: number;
|
|
192
|
+
/**
|
|
193
|
+
* Option -- its value is taken from 'options' prop
|
|
194
|
+
*/
|
|
195
|
+
opt: any;
|
|
196
|
+
/**
|
|
197
|
+
* Is option selected?
|
|
198
|
+
*/
|
|
199
|
+
selected: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* Add/remove option from model
|
|
202
|
+
* @param opt Option to add to model
|
|
203
|
+
*/
|
|
204
|
+
toggleOption: (opt: any) => void;
|
|
205
|
+
}) => VNode[];
|
|
206
|
+
}
|
|
207
|
+
//# sourceMappingURL=vc-select-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-select-model.d.ts","sourceRoot":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,MAAM,KAAK,EAAE,CAAC;IACtB;;;OAGG;IACH,WAAW,EAAE,MAAM,KAAK,EAAE,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,KAAK,EAAE,CAAC;IACpB;;;OAGG;IACH,eAAe,EAAE,CAAC,KAAK,EAAE;QACvB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,GAAG,EAAE,GAAG,CAAC;QACT;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;;WAGG;QACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;KACxC,KAAK,KAAK,EAAE,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE;QACd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,GAAG,EAAE,GAAG,CAAC;QACT;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAClB;;;WAGG;QACH,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;KAClC,KAAK,KAAK,EAAE,CAAC;CACf"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-textarea.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-textarea/vc-textarea.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,QAAQ,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-app.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-app/vc-app.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAOA,wBAeE;AAUF,eAAO,MAAM,GAAG,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-blade.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA,wBAOE;AAWF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
package/dist/{components → ui/components}/organisms/vc-login-form/vc-login-form.stories.d.ts
RENAMED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-login-form.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-login-form/vc-login-form.stories.ts"],"names":[],"mappings":";;;;AASA,wBAGE;AAqCF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-popup.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-popup/vc-popup.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-table.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.stories.ts"],"names":[],"mappings":";;;;AASA,wBAGE;AAwBF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GlobalComponentConstructor } from "./ts-helpers";
|
|
2
|
+
import { VcInputEmits, VcInputProps, VcInputSlots } from "../components/molecules/vc-input/vc-input-model";
|
|
3
|
+
import { VcSelectEmits, VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
|
|
4
|
+
import { VcInputCurrencyProps, VcInputCurrencyEmits, VcInputCurrencySlots } from "@/ui/components/molecules/vc-input-currency/vc-input-currency-model";
|
|
5
|
+
declare module "@vue/runtime-core" {
|
|
6
|
+
interface GlobalComponents {
|
|
7
|
+
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots, VcInputEmits>;
|
|
8
|
+
VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots, VcInputCurrencyEmits>;
|
|
9
|
+
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots, VcSelectEmits>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../ui/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,aAAa,EACb,aAAa,EACb,aAAa,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qEAAqE,CAAC;AAE7E,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,gBAAgB;QACxB,OAAO,EAAE,0BAA0B,CACjC,YAAY,EACZ,YAAY,EACZ,YAAY,CACb,CAAC;QACF,eAAe,EAAE,0BAA0B,CACzC,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,CACrB,CAAC;QACF,QAAQ,EAAE,0BAA0B,CAClC,aAAa,EACb,aAAa,EACb,aAAa,CACd,CAAC;KACH;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentOptions, ComponentPublicInstance, ComputedOptions, EmitsOptions, MethodOptions, VNodeProps } from "vue";
|
|
2
|
+
export type PublicProps = VNodeProps;
|
|
3
|
+
export type ComponentConstructor<Component extends ComponentPublicInstance<Props, RawBindings, D, C, M, E> = ComponentPublicInstance<any>, Props = any, RawBindings = any, D = any, C extends ComputedOptions = ComputedOptions, M extends MethodOptions = MethodOptions, E extends EmitsOptions = EmitsOptions> = {
|
|
4
|
+
new (): Component;
|
|
5
|
+
} & ComponentOptions<Props, RawBindings, D, C, M, any, any, E>;
|
|
6
|
+
export type GlobalComponentConstructor<Props = {}, Slots = {}, Emits = {}> = {
|
|
7
|
+
new (): {
|
|
8
|
+
$props: PublicProps & Props;
|
|
9
|
+
$slots: Slots;
|
|
10
|
+
$emit: EmitsOptions & Emits;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ts-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-helpers.d.ts","sourceRoot":"","sources":["../../../ui/types/ts-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,UAAU,EACX,MAAM,KAAK,CAAC;AAEb,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC;AAErC,MAAM,MAAM,oBAAoB,CAC9B,SAAS,SAAS,uBAAuB,CACvC,KAAK,EACL,WAAW,EACX,CAAC,EACD,CAAC,EACD,CAAC,EACD,CAAC,CACF,GAAG,uBAAuB,CAAC,GAAG,CAAC,EAChC,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,GAAG,EACjB,CAAC,GAAG,GAAG,EACP,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,CAAC,SAAS,aAAa,GAAG,aAAa,EACvC,CAAC,SAAS,YAAY,GAAG,YAAY,IACnC;IAAE,QAAQ,SAAS,CAAA;CAAE,GAAG,gBAAgB,CAC1C,KAAK,EACL,WAAW,EACX,CAAC,EACD,CAAC,EACD,CAAC,EACD,GAAG,EACH,GAAG,EACH,CAAC,CACF,CAAC;AAGF,MAAM,MAAM,0BAA0B,CAAC,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,IAAI;IAC3E,QAAQ;QACN,MAAM,EAAE,WAAW,GAAG,KAAK,CAAC;QAC5B,MAAM,EAAE,KAAK,CAAC;QACd,KAAK,EAAE,YAAY,GAAG,KAAK,CAAC;KAC7B,CAAC;CACH,CAAC"}
|