@vc-shell/framework 1.0.39 → 1.0.41
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/composables/usePermissions/index.ts +1 -1
- package/core/composables/useSettings/index.ts +31 -5
- package/core/types/index.ts +12 -12
- package/dist/core/composables/useSettings/index.d.ts +10 -1
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +69 -69
- 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/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- 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 +27 -10
- package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +13 -10
- package/shared/assets/components/assets-details/assets-details.vue +12 -12
- package/shared/blade-navigation/composables/useBladeNavigation/index.ts +4 -4
- package/shared/blade-navigation/types/index.ts +25 -25
- 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/{components → ui/components}/atoms/vc-badge/vc-badge.stories.ts +0 -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/{components → ui/components}/atoms/vc-button/vc-button.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-button/vc-button.vue +54 -54
- package/{components → ui/components}/atoms/vc-card/vc-card.vue +15 -15
- package/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-checkbox/vc-checkbox.vue +21 -21
- package/{components → ui/components}/atoms/vc-col/vc-col.vue +2 -2
- package/{components → ui/components}/atoms/vc-container/vc-container.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-container/vc-container.vue +21 -19
- package/{components → ui/components}/atoms/vc-hint/vc-hint.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-hint/vc-hint.vue +1 -1
- package/{components → ui/components}/atoms/vc-icon/vc-icon.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-icon/vc-icon.vue +1 -1
- package/{components → ui/components}/atoms/vc-image/vc-image.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-image/vc-image.vue +9 -9
- package/{components → ui/components}/atoms/vc-info-row/vc-info-row.vue +3 -3
- package/{components → ui/components}/atoms/vc-label/vc-label.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-label/vc-label.vue +6 -6
- package/{components → ui/components}/atoms/vc-link/vc-link.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-link/vc-link.vue +3 -3
- package/ui/components/atoms/vc-loading/vc-loading.vue +33 -0
- package/{components → ui/components}/atoms/vc-progress/vc-progress.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-progress/vc-progress.vue +2 -2
- package/{components → ui/components}/atoms/vc-row/vc-row.vue +1 -1
- package/{components → ui/components}/atoms/vc-status/vc-status.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-status/vc-status.vue +4 -4
- package/{components → ui/components}/atoms/vc-status-icon/vc-status-icon.vue +3 -3
- package/{components → ui/components}/atoms/vc-switch/vc-switch.stories.ts +0 -0
- package/{components → ui/components}/atoms/vc-switch/vc-switch.vue +10 -10
- package/{components → ui/components}/atoms/vc-widget/vc-widget.vue +12 -12
- package/{components → ui/components}/index.ts +4 -3
- package/{components → ui/components}/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +17 -17
- package/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.stories.ts +0 -0
- package/{components → ui/components}/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +1 -1
- package/{components/molecules/vc-input → ui/components/molecules/vc-currency-input}/vc-input.vue +30 -37
- package/{components → ui/components}/molecules/vc-editor/vc-editor.vue +4 -4
- package/{components → ui/components}/molecules/vc-file-upload/vc-file-upload.vue +6 -6
- package/{components → ui/components}/molecules/vc-form/vc-form.stories.ts +0 -0
- package/{components → ui/components}/molecules/vc-form/vc-form.vue +0 -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/{components → ui/components}/molecules/vc-multivalue/vc-multivalue.vue +41 -41
- package/{components → ui/components}/molecules/vc-notification/vc-notification.vue +5 -5
- package/{components → ui/components}/molecules/vc-pagination/vc-pagination.stories.ts +0 -0
- package/{components → ui/components}/molecules/vc-pagination/vc-pagination.vue +24 -24
- package/{components → ui/components}/molecules/vc-rating/vc-rating.stories.ts +0 -0
- package/{components → ui/components}/molecules/vc-rating/vc-rating.vue +6 -6
- 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/{components → ui/components}/molecules/vc-slider/vc-slider.vue +12 -12
- package/{components → ui/components}/molecules/vc-textarea/vc-textarea.stories.ts +0 -0
- package/{components → ui/components}/molecules/vc-textarea/vc-textarea.vue +17 -17
- package/{components → ui/components}/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +20 -16
- package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +31 -31
- package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +9 -9
- package/{components → ui/components}/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +11 -11
- package/{components → ui/components}/organisms/vc-app/vc-app.stories.ts +0 -0
- package/{components → ui/components}/organisms/vc-app/vc-app.vue +9 -11
- package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +10 -10
- package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +17 -17
- package/{components → ui/components}/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +4 -4
- package/{components → ui/components}/organisms/vc-blade/vc-blade.stories.ts +0 -0
- package/{components → ui/components}/organisms/vc-blade/vc-blade.vue +5 -5
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +426 -0
- package/{components → ui/components}/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +12 -12
- package/{components → ui/components}/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue +9 -9
- package/{components → ui/components}/organisms/vc-gallery/vc-gallery.vue +6 -6
- package/{components → ui/components}/organisms/vc-login-form/vc-login-form.stories.ts +6 -6
- package/{components → ui/components}/organisms/vc-login-form/vc-login-form.vue +5 -5
- package/{components → ui/components}/organisms/vc-popup/vc-popup.stories.ts +0 -0
- package/{components → ui/components}/organisms/vc-popup/vc-popup.vue +13 -13
- package/{components → ui/components}/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +6 -6
- package/{components → ui/components}/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue +3 -3
- package/{components → ui/components}/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue +13 -13
- package/{components → ui/components}/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +23 -23
- package/{components → ui/components}/organisms/vc-table/vc-table.stories.ts +3 -3
- package/{components → ui/components}/organisms/vc-table/vc-table.vue +42 -42
- package/ui/types/index.ts +38 -0
- package/ui/types/ts-helpers.ts +46 -0
- package/components/atoms/vc-badge/vc-badge.vue +0 -63
- package/components/atoms/vc-loading/vc-loading.vue +0 -30
- package/components/molecules/vc-input/vc-input.stories.ts +0 -26
- package/components/molecules/vc-select/vc-select.stories.ts +0 -25
- package/components/molecules/vc-select/vc-select.vue +0 -402
- package/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +0 -292
- 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
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcBadgeProps } from "./vc-badge-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
export declare const VcBadge: ComponentConstructor<ComponentPublicInstance<VcBadgeProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/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;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
export interface VcBadgeProps {
|
|
3
|
+
/**
|
|
4
|
+
* Badge active state
|
|
5
|
+
* */
|
|
6
|
+
active?: boolean | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Put component in disabled state
|
|
9
|
+
* */
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Is badge clickable?
|
|
13
|
+
* */
|
|
14
|
+
clickable?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface VcBadgeEmits {
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when component is clicked
|
|
19
|
+
* */
|
|
20
|
+
(event: "click"): void;
|
|
21
|
+
}
|
|
22
|
+
export interface VcBadgeSlots {
|
|
23
|
+
/**
|
|
24
|
+
* Slot for component content
|
|
25
|
+
* */
|
|
26
|
+
default: () => VNode[];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=vc-badge-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-badge-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;SAEK;IACL,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-badge.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-badge/vc-badge.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcButtonProps } from "./vc-button-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
export declare const VcBadge: ComponentConstructor<ComponentPublicInstance<VcButtonProps>>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/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,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,aAAa,CAAC,CAC9B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
export interface VcButtonProps {
|
|
3
|
+
/**
|
|
4
|
+
* Badge active state
|
|
5
|
+
* */
|
|
6
|
+
icon?: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Put component in disabled state
|
|
9
|
+
* */
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Is badge clickable?
|
|
13
|
+
* */
|
|
14
|
+
clickable?: boolean | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface VcButtonEmits {
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when component is clicked
|
|
19
|
+
* */
|
|
20
|
+
(event: "click"): void;
|
|
21
|
+
}
|
|
22
|
+
export interface VcButtonSlots {
|
|
23
|
+
/**
|
|
24
|
+
* Slot for component content
|
|
25
|
+
* */
|
|
26
|
+
default: () => VNode[];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=vc-button-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-button-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/vc-button-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;SAEK;IACL,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B;;SAEK;IACL,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-button.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-button/vc-button.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,wBASE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/vc-checkbox.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,QAAQ,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-container.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAgBF,eAAO,MAAM,SAAS,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-hint.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-hint/vc-hint.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-icon.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/vc-icon.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;AAOA,wBASE;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-image.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/vc-image.stories.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAOA,wBAaE;AAWF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-label.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,KAAK,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-link.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link.stories.ts"],"names":[],"mappings":";;;;;;;;;;AAOA,wBAME;AAUF,eAAO,MAAM,IAAI,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-progress.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/vc-progress.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,QAAQ,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-status.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-status/vc-status.stories.ts"],"names":[],"mappings":";;;;AAOA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-switch.stories.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-switch/vc-switch.stories.ts"],"names":[],"mappings":";;;;AAQA,wBAGE;AAUF,eAAO,MAAM,MAAM,KAAoB,CAAC"}
|
|
@@ -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,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O,IAAI,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;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;AAE5B,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;OAGG;IACH,IAAI,CAAC,EACD,MAAM,GACN,UAAU,GACV,OAAO,GACP,KAAK,GACL,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,SAAS,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;;OA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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,GAC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AAG,EAAE,GAAG,SAAS,CAAC;IAC5B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B;AACD,MAAM,WAAW,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"}
|