@vc-shell/framework 1.0.50 → 1.0.51
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/types/index.ts +4 -2
- package/dist/core/types/index.d.ts +3 -2
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +56 -56
- package/dist/shared/blade-navigation/index.d.ts +1 -1
- package/dist/shared/blade-navigation/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/vc-badge-model.d.ts +6 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts +1 -1
- package/dist/ui/components/atoms/vc-button/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts +19 -5
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
- package/dist/ui/components/index.d.ts +34 -34
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/types/index.d.ts +0 -68
- package/dist/ui/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/assets/components/assets-details/assets-details.vue +1 -1
- package/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +1 -1
- package/shared/blade-navigation/index.ts +7 -7
- package/tailwind.config.js +1 -1
- package/ui/components/atoms/vc-badge/vc-badge-model.ts +7 -1
- package/ui/components/atoms/vc-badge/vc-badge.vue +2 -1
- package/ui/components/atoms/vc-button/index.ts +1 -1
- package/ui/components/atoms/vc-button/vc-button-model.ts +20 -12
- package/ui/components/atoms/vc-button/vc-button.vue +32 -8
- package/ui/components/atoms/vc-card/vc-card.vue +31 -6
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +25 -6
- package/ui/components/atoms/vc-col/vc-col.vue +4 -2
- package/ui/components/atoms/vc-container/vc-container.vue +18 -11
- package/ui/components/atoms/vc-icon/vc-icon.vue +5 -2
- package/ui/components/atoms/vc-image/vc-image.vue +37 -11
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +20 -6
- package/ui/components/atoms/vc-label/vc-label.vue +12 -8
- package/ui/components/atoms/vc-link/vc-link.vue +9 -4
- package/ui/components/atoms/vc-loading/vc-loading.vue +5 -4
- package/ui/components/atoms/vc-progress/vc-progress.vue +11 -5
- package/ui/components/atoms/vc-status/vc-status.vue +15 -5
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +7 -11
- package/ui/components/atoms/vc-switch/vc-switch.vue +24 -6
- package/ui/components/atoms/vc-widget/vc-widget.vue +19 -3
- package/ui/components/index.ts +34 -34
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +11 -2
- package/ui/components/molecules/vc-editor/vc-editor.vue +52 -15
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +33 -12
- package/ui/components/molecules/vc-notification/vc-notification.vue +10 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +16 -6
- package/ui/components/molecules/vc-rating/vc-rating.vue +10 -2
- package/ui/components/molecules/vc-slider/vc-slider.vue +25 -7
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +47 -9
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +1 -2
- package/ui/components/organisms/vc-app/vc-app.vue +31 -6
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +32 -17
- package/ui/components/organisms/vc-blade/vc-blade.vue +34 -9
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +94 -66
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +21 -31
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +81 -22
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +14 -3
- package/ui/components/organisms/vc-popup/vc-popup.vue +15 -4
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +2 -2
- package/ui/components/organisms/vc-table/vc-table.vue +41 -9
- package/ui/types/index.ts +1 -188
- package/dist/ui/components/atoms/vc-card/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +0 -16
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +0 -14
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-col/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-col/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +0 -8
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-container/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +0 -11
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-hint/index.d.ts +0 -2
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-icon/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +0 -9
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-image/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +0 -15
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-info-row/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +0 -11
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-label/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +0 -10
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-link/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +0 -10
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-loading/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +0 -8
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-progress/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +0 -9
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-row/index.d.ts +0 -2
- package/dist/ui/components/atoms/vc-row/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts +0 -5
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-status/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +0 -10
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +0 -8
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-switch/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-switch/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +0 -13
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-widget/index.d.ts +0 -5
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +0 -1
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +0 -12
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +0 -14
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-editor/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +0 -16
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +0 -14
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-form/index.d.ts +0 -2
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-notification/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +0 -10
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +0 -11
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-rating/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +0 -13
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-slider/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +0 -14
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +0 -5
- package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +0 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +0 -17
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +0 -26
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +0 -17
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +0 -14
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +0 -32
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-login-form/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +0 -10
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-popup/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-popup/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +0 -11
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/index.d.ts +0 -5
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +0 -1
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +0 -66
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +0 -1
- package/ui/components/atoms/vc-card/index.ts +0 -7
- package/ui/components/atoms/vc-card/vc-card-model.ts +0 -17
- package/ui/components/atoms/vc-checkbox/index.ts +0 -7
- package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +0 -15
- package/ui/components/atoms/vc-col/index.ts +0 -6
- package/ui/components/atoms/vc-col/vc-col-model.ts +0 -9
- package/ui/components/atoms/vc-container/index.ts +0 -7
- package/ui/components/atoms/vc-container/vc-container-model.ts +0 -12
- package/ui/components/atoms/vc-hint/index.ts +0 -2
- package/ui/components/atoms/vc-icon/index.ts +0 -7
- package/ui/components/atoms/vc-icon/vc-icon-model.ts +0 -10
- package/ui/components/atoms/vc-image/index.ts +0 -7
- package/ui/components/atoms/vc-image/vc-image-model.ts +0 -27
- package/ui/components/atoms/vc-info-row/index.ts +0 -7
- package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +0 -12
- package/ui/components/atoms/vc-label/index.ts +0 -7
- package/ui/components/atoms/vc-label/vc-label-model.ts +0 -11
- package/ui/components/atoms/vc-link/index.ts +0 -7
- package/ui/components/atoms/vc-link/vc-link-model.ts +0 -11
- package/ui/components/atoms/vc-loading/index.ts +0 -7
- package/ui/components/atoms/vc-loading/vc-loading-model.ts +0 -9
- package/ui/components/atoms/vc-progress/index.ts +0 -7
- package/ui/components/atoms/vc-progress/vc-progress-model.ts +0 -10
- package/ui/components/atoms/vc-row/index.ts +0 -2
- package/ui/components/atoms/vc-row/vc-row-model.ts +0 -5
- package/ui/components/atoms/vc-status/index.ts +0 -7
- package/ui/components/atoms/vc-status/vc-status-model.ts +0 -17
- package/ui/components/atoms/vc-status-icon/index.ts +0 -7
- package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +0 -9
- package/ui/components/atoms/vc-switch/index.ts +0 -7
- package/ui/components/atoms/vc-switch/vc-switch-model.ts +0 -14
- package/ui/components/atoms/vc-widget/index.ts +0 -7
- package/ui/components/atoms/vc-widget/vc-widget-model.ts +0 -13
- package/ui/components/molecules/vc-breadcrumbs/index.ts +0 -7
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +0 -15
- package/ui/components/molecules/vc-editor/index.ts +0 -7
- package/ui/components/molecules/vc-editor/vc-editor-model.ts +0 -17
- package/ui/components/molecules/vc-file-upload/index.ts +0 -7
- package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +0 -15
- package/ui/components/molecules/vc-form/index.ts +0 -2
- package/ui/components/molecules/vc-notification/index.ts +0 -7
- package/ui/components/molecules/vc-notification/vc-notification-model.ts +0 -11
- package/ui/components/molecules/vc-pagination/index.ts +0 -7
- package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +0 -12
- package/ui/components/molecules/vc-rating/index.ts +0 -7
- package/ui/components/molecules/vc-rating/vc-rating-model.ts +0 -14
- package/ui/components/molecules/vc-slider/index.ts +0 -7
- package/ui/components/molecules/vc-slider/vc-slider-model.ts +0 -15
- package/ui/components/molecules/vc-textarea/index.ts +0 -7
- package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +0 -18
- package/ui/components/organisms/vc-app/index.ts +0 -6
- package/ui/components/organisms/vc-app/vc-app-model.ts +0 -27
- package/ui/components/organisms/vc-blade/index.ts +0 -7
- package/ui/components/organisms/vc-blade/vc-blade-model.ts +0 -18
- package/ui/components/organisms/vc-dynamic-property/index.ts +0 -7
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +0 -25
- package/ui/components/organisms/vc-gallery/index.ts +0 -7
- package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +0 -33
- package/ui/components/organisms/vc-login-form/index.ts +0 -7
- package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +0 -11
- package/ui/components/organisms/vc-popup/index.ts +0 -7
- package/ui/components/organisms/vc-popup/vc-popup-model.ts +0 -12
- package/ui/components/organisms/vc-table/index.ts +0 -7
- package/ui/components/organisms/vc-table/vc-table-model.ts +0 -56
|
@@ -12,7 +12,12 @@ export interface VcBadgeProps {
|
|
|
12
12
|
* Is badge clickable?
|
|
13
13
|
* */
|
|
14
14
|
clickable?: boolean | undefined;
|
|
15
|
-
|
|
15
|
+
}
|
|
16
|
+
export interface VcBadgeEmits {
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when component is clicked
|
|
19
|
+
* */
|
|
20
|
+
(event: "click"): void;
|
|
16
21
|
}
|
|
17
22
|
export interface VcBadgeSlots {
|
|
18
23
|
/**
|
|
@@ -1 +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;
|
|
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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from "vue";
|
|
2
2
|
import { VcButtonProps } from "./vc-button-model";
|
|
3
3
|
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const VcBadge: ComponentConstructor<ComponentPublicInstance<VcButtonProps>>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
2
|
export interface VcButtonProps {
|
|
3
|
+
/**
|
|
4
|
+
* Button icon from Fontawesome icons set
|
|
5
|
+
* */
|
|
3
6
|
icon?: string | undefined;
|
|
4
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Put component in disabled state
|
|
9
|
+
* */
|
|
5
10
|
disabled?: boolean | undefined;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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;
|
|
10
21
|
}
|
|
11
22
|
export interface VcButtonSlots {
|
|
23
|
+
/**
|
|
24
|
+
* Slot for component content
|
|
25
|
+
* */
|
|
12
26
|
default: () => VNode[];
|
|
13
27
|
}
|
|
14
28
|
//# sourceMappingURL=vc-button-model.d.ts.map
|
|
@@ -1 +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,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B
|
|
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"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
export { VcBadge } from "./atoms/vc-badge";
|
|
2
|
-
export { VcButton } from "./atoms/vc-button";
|
|
3
|
-
export { VcCard } from "./atoms/vc-card";
|
|
4
|
-
export { VcCheckbox } from "./atoms/vc-checkbox";
|
|
5
|
-
export { VcCol } from "./atoms/vc-col";
|
|
6
|
-
export { VcContainer } from "./atoms/vc-container";
|
|
7
|
-
export { VcHint } from "./atoms/vc-hint";
|
|
8
|
-
export { VcIcon } from "./atoms/vc-icon";
|
|
9
|
-
export { VcInfoRow } from "./atoms/vc-info-row";
|
|
10
|
-
export { VcImage } from "./atoms/vc-image";
|
|
11
|
-
export { VcLabel } from "./atoms/vc-label";
|
|
12
|
-
export { VcLink } from "./atoms/vc-link";
|
|
13
|
-
export { VcLoading } from "./atoms/vc-loading";
|
|
14
|
-
export { VcProgress } from "./atoms/vc-progress";
|
|
15
|
-
export { VcRow } from "./atoms/vc-row";
|
|
16
|
-
export { VcStatus } from "./atoms/vc-status";
|
|
17
|
-
export { VcStatusIcon } from "./atoms/vc-status-icon";
|
|
18
|
-
export { VcSwitch } from "./atoms/vc-switch";
|
|
19
|
-
export { VcWidget } from "./atoms/vc-widget";
|
|
20
|
-
export { VcBreadcrumbs } from "./molecules/vc-breadcrumbs";
|
|
21
|
-
export { VcEditor } from "./molecules/vc-editor";
|
|
22
|
-
export { VcForm } from "./molecules/vc-form";
|
|
23
|
-
export { VcFileUpload } from "./molecules/vc-file-upload";
|
|
2
|
+
export { default as VcButton } from "./atoms/vc-button/vc-button.vue";
|
|
3
|
+
export { default as VcCard } from "./atoms/vc-card/vc-card.vue";
|
|
4
|
+
export { default as VcCheckbox } from "./atoms/vc-checkbox/vc-checkbox.vue";
|
|
5
|
+
export { default as VcCol } from "./atoms/vc-col/vc-col.vue";
|
|
6
|
+
export { default as VcContainer } from "./atoms/vc-container/vc-container.vue";
|
|
7
|
+
export { default as VcHint } from "./atoms/vc-hint/vc-hint.vue";
|
|
8
|
+
export { default as VcIcon } from "./atoms/vc-icon/vc-icon.vue";
|
|
9
|
+
export { default as VcInfoRow } from "./atoms/vc-info-row/vc-info-row.vue";
|
|
10
|
+
export { default as VcImage } from "./atoms/vc-image/vc-image.vue";
|
|
11
|
+
export { default as VcLabel } from "./atoms/vc-label/vc-label.vue";
|
|
12
|
+
export { default as VcLink } from "./atoms/vc-link/vc-link.vue";
|
|
13
|
+
export { default as VcLoading } from "./atoms/vc-loading/vc-loading.vue";
|
|
14
|
+
export { default as VcProgress } from "./atoms/vc-progress/vc-progress.vue";
|
|
15
|
+
export { default as VcRow } from "./atoms/vc-row/vc-row.vue";
|
|
16
|
+
export { default as VcStatus } from "./atoms/vc-status/vc-status.vue";
|
|
17
|
+
export { default as VcStatusIcon } from "./atoms/vc-status-icon/vc-status-icon.vue";
|
|
18
|
+
export { default as VcSwitch } from "./atoms/vc-switch/vc-switch.vue";
|
|
19
|
+
export { default as VcWidget } from "./atoms/vc-widget/vc-widget.vue";
|
|
20
|
+
export { default as VcBreadcrumbs } from "./molecules/vc-breadcrumbs/vc-breadcrumbs.vue";
|
|
21
|
+
export { default as VcEditor } from "./molecules/vc-editor/vc-editor.vue";
|
|
22
|
+
export { default as VcForm } from "./molecules/vc-form/vc-form.vue";
|
|
23
|
+
export { default as VcFileUpload } from "./molecules/vc-file-upload/vc-file-upload.vue";
|
|
24
24
|
export { VcInput } from "./molecules/vc-input";
|
|
25
25
|
export { VcInputCurrency } from "./molecules/vc-input-currency";
|
|
26
|
-
export { VcNotification } from "./molecules/vc-notification";
|
|
27
|
-
export { VcPagination } from "./molecules/vc-pagination";
|
|
28
|
-
export { VcRating } from "./molecules/vc-rating";
|
|
26
|
+
export { default as VcNotification } from "./molecules/vc-notification/vc-notification.vue";
|
|
27
|
+
export { default as VcPagination } from "./molecules/vc-pagination/vc-pagination.vue";
|
|
28
|
+
export { default as VcRating } from "./molecules/vc-rating/vc-rating.vue";
|
|
29
29
|
export { VcSelect } from "./molecules/vc-select";
|
|
30
|
-
export { VcSlider } from "./molecules/vc-slider";
|
|
31
|
-
export { VcTextarea } from "./molecules/vc-textarea";
|
|
32
|
-
export { VcApp } from "./organisms/vc-app";
|
|
33
|
-
export { VcBlade } from "./organisms/vc-blade";
|
|
34
|
-
export { VcDynamicProperty } from "./organisms/vc-dynamic-property";
|
|
35
|
-
export { VcGallery } from "./organisms/vc-gallery";
|
|
36
|
-
export { VcLoginForm } from "./organisms/vc-login-form";
|
|
37
|
-
export { VcPopup } from "./organisms/vc-popup";
|
|
38
|
-
export { VcTable } from "./organisms/vc-table";
|
|
30
|
+
export { default as VcSlider } from "./molecules/vc-slider/vc-slider.vue";
|
|
31
|
+
export { default as VcTextarea } from "./molecules/vc-textarea/vc-textarea.vue";
|
|
32
|
+
export { default as VcApp } from "./organisms/vc-app/vc-app.vue";
|
|
33
|
+
export { default as VcBlade } from "./organisms/vc-blade/vc-blade.vue";
|
|
34
|
+
export { default as VcDynamicProperty } from "./organisms/vc-dynamic-property/vc-dynamic-property.vue";
|
|
35
|
+
export { default as VcGallery } from "./organisms/vc-gallery/vc-gallery.vue";
|
|
36
|
+
export { default as VcLoginForm } from "./organisms/vc-login-form/vc-login-form.vue";
|
|
37
|
+
export { default as VcPopup } from "./organisms/vc-popup/vc-popup.vue";
|
|
38
|
+
export { default as VcTable } from "./organisms/vc-table/vc-table.vue";
|
|
39
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,
|
|
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,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAGtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,OAAO,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/ui/types/index.d.ts
CHANGED
|
@@ -2,79 +2,11 @@ import { GlobalComponentConstructor } from "./ts-helpers";
|
|
|
2
2
|
import { VcInputProps, VcInputSlots } from "../components/molecules/vc-input/vc-input-model";
|
|
3
3
|
import { VcSelectProps, VcSelectSlots } from "../components/molecules/vc-select/vc-select-model";
|
|
4
4
|
import { VcInputCurrencyProps, VcInputCurrencySlots } from "../components/molecules/vc-input-currency/vc-input-currency-model";
|
|
5
|
-
import { VcBadgeProps, VcBadgeSlots } from "../components/atoms/vc-badge/vc-badge-model";
|
|
6
|
-
import { VcButtonProps, VcButtonSlots } from "../components/atoms/vc-button/vc-button-model";
|
|
7
|
-
import { VcCardProps, VcCardSlots } from "../components/atoms/vc-card/vc-card-model";
|
|
8
|
-
import { VcCheckboxProps, VcCheckboxSlots } from "../components/atoms/vc-checkbox/vc-checkbox-model";
|
|
9
|
-
import { VcColProps, VcColSlots } from "../components/atoms/vc-col/vc-col-model";
|
|
10
|
-
import { VcContainerProps, VcContainerSlots } from "../components/atoms/vc-container/vc-container-model";
|
|
11
|
-
import { VcIconProps, VcIconSlots } from "../components/atoms/vc-icon/vc-icon-model";
|
|
12
|
-
import { VcImageProps, VcImageSlots } from "../components/atoms/vc-image/vc-image-model";
|
|
13
|
-
import { VcInfoRowProps, VcInfoRowSlots } from "../components/atoms/vc-info-row/vc-info-row-model";
|
|
14
|
-
import { VcLabelProps, VcLabelSlots } from "../components/atoms/vc-label/vc-label-model";
|
|
15
|
-
import { VcLinkProps, VcLinkSlots } from "../components/atoms/vc-link/vc-link-model";
|
|
16
|
-
import { VcLoadingProps, VcLoadingSlots } from "../components/atoms/vc-loading/vc-loading-model";
|
|
17
|
-
import { VcProgressProps, VcProgressSlots } from "../components/atoms/vc-progress/vc-progress-model";
|
|
18
|
-
import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
|
|
19
|
-
import { VcStatusProps, VcStatusSlots } from "../components/atoms/vc-status/vc-status-model";
|
|
20
|
-
import { VcStatusIconProps, VcStatusIconSlots } from "../components/atoms/vc-status-icon/vc-status-icon-model";
|
|
21
|
-
import { VcSwitchProps, VcSwitchSlots } from "../components/atoms/vc-switch/vc-switch-model";
|
|
22
|
-
import { VcWidgetProps, VcWidgetSlots } from "../components/atoms/vc-widget/vc-widget-model";
|
|
23
|
-
import { VcBreadcrumbsProps, VcBreadcrumbsSlots } from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
|
|
24
|
-
import { VcEditorProps, VcEditorSlots } from "../components/molecules/vc-editor/vc-editor-model";
|
|
25
|
-
import { VcFileUploadProps, VcFileUploadSlots } from "../components/molecules/vc-file-upload/vc-file-upload-model";
|
|
26
|
-
import { VcNotificationProps, VcNotificationSlots } from "../components/molecules/vc-notification/vc-notification-model";
|
|
27
|
-
import { VcPaginationProps, VcPaginationSlots } from "../components/molecules/vc-pagination/vc-pagination-model";
|
|
28
|
-
import { VcRatingProps, VcRatingSlots } from "../components/molecules/vc-rating/vc-rating-model";
|
|
29
|
-
import { VcSliderProps, VcSliderSlots } from "../components/molecules/vc-slider/vc-slider-model";
|
|
30
|
-
import { VcTextareaProps, VcTextareaSlots } from "../components/molecules/vc-textarea/vc-textarea-model";
|
|
31
|
-
import { VcAppProps, VcAppSlots } from "../components/organisms/vc-app/vc-app-model";
|
|
32
|
-
import { VcBladeProps, VcBladeSlots } from "../components/organisms/vc-blade/vc-blade-model";
|
|
33
|
-
import { VcDynamicPropertyProps, VcDynamicPropertySlots } from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
|
|
34
|
-
import { VcGalleryProps, VcGallerySlots } from "../components/organisms/vc-gallery/vc-gallery-model";
|
|
35
|
-
import { VcLoginFormProps, VcLoginFormSlots } from "../components/organisms/vc-login-form/vc-login-form-model";
|
|
36
|
-
import { VcPopupProps, VcPopupSlots } from "../components/organisms/vc-popup/vc-popup-model";
|
|
37
|
-
import { VcTableProps, VcTableSlots } from "../components/organisms/vc-table/vc-table-model";
|
|
38
5
|
declare module "@vue/runtime-core" {
|
|
39
6
|
interface GlobalComponents {
|
|
40
|
-
VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots>;
|
|
41
|
-
VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots>;
|
|
42
|
-
VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots>;
|
|
43
|
-
VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots>;
|
|
44
|
-
VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
|
|
45
|
-
VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots>;
|
|
46
|
-
VcHint: GlobalComponentConstructor;
|
|
47
|
-
VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
|
|
48
|
-
VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots>;
|
|
49
|
-
VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
|
|
50
|
-
VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
|
|
51
|
-
VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots>;
|
|
52
|
-
VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
|
|
53
|
-
VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
|
|
54
|
-
VcRow: GlobalComponentConstructor<any, VcRowSlots>;
|
|
55
|
-
VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
|
|
56
|
-
VcStatusIcon: GlobalComponentConstructor<VcStatusIconProps, VcStatusIconSlots>;
|
|
57
|
-
VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots>;
|
|
58
|
-
VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots>;
|
|
59
|
-
VcBreadcrumbs: GlobalComponentConstructor<VcBreadcrumbsProps, VcBreadcrumbsSlots>;
|
|
60
|
-
VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots>;
|
|
61
|
-
VcFileUpload: GlobalComponentConstructor<VcFileUploadProps, VcFileUploadSlots>;
|
|
62
|
-
VcForm: GlobalComponentConstructor;
|
|
63
7
|
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
|
|
64
8
|
VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots>;
|
|
65
|
-
VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots>;
|
|
66
|
-
VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots>;
|
|
67
|
-
VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
|
|
68
9
|
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots>;
|
|
69
|
-
VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
|
|
70
|
-
VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots>;
|
|
71
|
-
VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots>;
|
|
72
|
-
VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots>;
|
|
73
|
-
VcDynamicProperty: GlobalComponentConstructor<VcDynamicPropertyProps, VcDynamicPropertySlots>;
|
|
74
|
-
VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots>;
|
|
75
|
-
VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
|
|
76
|
-
VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots>;
|
|
77
|
-
VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots>;
|
|
78
10
|
}
|
|
79
11
|
}
|
|
80
12
|
export {};
|
|
@@ -1 +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,EACb,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,aAAa,EACb,aAAa,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mEAAmE,CAAC;
|
|
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,EACb,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,aAAa,EACb,aAAa,EACd,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mEAAmE,CAAC;AAE3E,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAU,gBAAgB;QACxB,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAChE,eAAe,EAAE,0BAA0B,CACzC,oBAAoB,EACpB,oBAAoB,CACrB,CAAC;QACF,QAAQ,EAAE,0BAA0B,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;KACpE;CACF;AAED,OAAO,EAAG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
4
4
|
"main": "./dist/framework.js",
|
|
5
5
|
"module": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
56
56
|
"@rollup/plugin-commonjs": "^21.0.2",
|
|
57
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
58
|
-
"@vc-shell/config-generator": "^1.0.
|
|
57
|
+
"@vc-shell/api-client-generator": "^1.0.51",
|
|
58
|
+
"@vc-shell/config-generator": "^1.0.51",
|
|
59
59
|
"@vue-macros/volar": "^0.8.1",
|
|
60
60
|
"sass": "^1.49.0",
|
|
61
61
|
"typescript": "^4.9.5",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public",
|
|
67
67
|
"registry": "https://registry.npmjs.org/"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "8d2d6a13782f99309def2eb83d0344afedd5e478"
|
|
70
70
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@open:blade="$emit('onOpen', { blade: $event, id: blade.idx })"
|
|
26
26
|
@close:blade="$emit('onClose', i)"
|
|
27
27
|
@close:children="$emit('onClose', i + 1)"
|
|
28
|
-
@parent:call="$emit('onParentCall', { id: i,
|
|
28
|
+
@parent:call="$emit('onParentCall', { id: i, cb: $event })"
|
|
29
29
|
:ref="setBladesRef"
|
|
30
30
|
></component>
|
|
31
31
|
</template>
|
|
@@ -2,14 +2,14 @@ import { App } from "vue";
|
|
|
2
2
|
import * as components from "./components";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
install(app: App): void {
|
|
6
|
+
// Register exported pages
|
|
7
|
+
Object.entries(components).forEach(([componentName, component]) => {
|
|
8
|
+
app.component(componentName, component);
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export * from "./components";
|
|
14
14
|
export * from "./composables";
|
|
15
|
-
export * from
|
|
15
|
+
export * from './types'
|
package/tailwind.config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @type { import('tailwindcss').Config } */
|
|
2
2
|
module.exports = {
|
|
3
3
|
prefix: 'tw-',
|
|
4
|
-
content: ["./ui/components/**/*.{vue,js,ts,jsx,tsx}"],
|
|
4
|
+
content: ["./ui/components/**/*.{vue,js,ts,jsx,tsx}", "./shared/**/*.{vue,js,ts,jsx,tsx}"],
|
|
5
5
|
theme: {
|
|
6
6
|
fontFamily: {
|
|
7
7
|
roboto: ["Roboto", "sans-serif"],
|
|
@@ -13,7 +13,13 @@ export interface VcBadgeProps {
|
|
|
13
13
|
* Is badge clickable?
|
|
14
14
|
* */
|
|
15
15
|
clickable?: boolean | undefined;
|
|
16
|
-
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface VcBadgeEmits {
|
|
19
|
+
/**
|
|
20
|
+
* Emitted when component is clicked
|
|
21
|
+
* */
|
|
22
|
+
(event: "click"): void;
|
|
17
23
|
}
|
|
18
24
|
|
|
19
25
|
export interface VcBadgeSlots {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<script lang="ts" setup>
|
|
19
19
|
import {
|
|
20
|
+
VcBadgeEmits,
|
|
20
21
|
VcBadgeProps,
|
|
21
22
|
} from "@/ui/components/atoms/vc-badge/vc-badge-model";
|
|
22
23
|
|
|
@@ -25,7 +26,7 @@ const props = withDefaults(defineProps<VcBadgeProps>(), {
|
|
|
25
26
|
disabled: false,
|
|
26
27
|
clickable: true,
|
|
27
28
|
});
|
|
28
|
-
const emit = defineEmits(
|
|
29
|
+
const emit = defineEmits<VcBadgeEmits>();
|
|
29
30
|
|
|
30
31
|
function onClick(): void {
|
|
31
32
|
if (props.clickable && !props.disabled) {
|
|
@@ -2,6 +2,6 @@ import { ComponentPublicInstance } from "vue";
|
|
|
2
2
|
import { VcButtonProps } from "./vc-button-model";
|
|
3
3
|
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
4
|
import Button from "./vc-button.vue";
|
|
5
|
-
export const
|
|
5
|
+
export const VcBadge: ComponentConstructor<
|
|
6
6
|
ComponentPublicInstance<VcButtonProps>
|
|
7
7
|
> = Button;
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
2
|
|
|
3
3
|
export interface VcButtonProps {
|
|
4
|
+
/**
|
|
5
|
+
* Button icon from Fontawesome icons set
|
|
6
|
+
* */
|
|
4
7
|
icon?: string | undefined;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
| "special"
|
|
9
|
-
| "danger"
|
|
10
|
-
| "widget"
|
|
11
|
-
| "onlytext"
|
|
12
|
-
| undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Put component in disabled state
|
|
10
|
+
* */
|
|
13
11
|
disabled?: boolean | undefined;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Is badge clickable?
|
|
14
|
+
* */
|
|
15
|
+
clickable?: boolean | undefined;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface VcButtonEmits {
|
|
19
|
+
/**
|
|
20
|
+
* Emitted when component is clicked
|
|
21
|
+
* */
|
|
22
|
+
(event: "click"): void;
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
export interface VcButtonSlots {
|
|
26
|
+
/**
|
|
27
|
+
* Slot for component content
|
|
28
|
+
* */
|
|
21
29
|
default: () => VNode[];
|
|
22
30
|
}
|
|
@@ -26,14 +26,38 @@
|
|
|
26
26
|
|
|
27
27
|
<script lang="ts" setup>
|
|
28
28
|
import { VcIcon } from "@/ui/components";
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
|
|
30
|
+
const props = defineProps({
|
|
31
|
+
icon: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: undefined,
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
variant: {
|
|
37
|
+
type: String,
|
|
38
|
+
enum: ["primary", "secondary", "special", "danger", "widget", "onlytext"],
|
|
39
|
+
default: "primary",
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
disabled: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: false,
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
small: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: false,
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
outline: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false,
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
selected: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false,
|
|
60
|
+
},
|
|
37
61
|
});
|
|
38
62
|
|
|
39
63
|
const emit = defineEmits(["click"]);
|
|
@@ -29,12 +29,37 @@
|
|
|
29
29
|
|
|
30
30
|
<script lang="ts" setup>
|
|
31
31
|
import { ref } from "vue";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
const props = defineProps({
|
|
33
|
+
header: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: undefined,
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
icon: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: undefined,
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
isCollapsable: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false,
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
isCollapsed: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false,
|
|
51
|
+
},
|
|
52
|
+
|
|
53
|
+
fill: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false,
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
variant: {
|
|
59
|
+
type: String,
|
|
60
|
+
enum: ["default", "success", "danger"],
|
|
61
|
+
default: "default",
|
|
62
|
+
},
|
|
38
63
|
});
|
|
39
64
|
const emit = defineEmits(["header:click", "state:collapsed"]);
|
|
40
65
|
const isCollapsedInternal = ref(props.isCollapsed);
|
|
@@ -29,13 +29,32 @@
|
|
|
29
29
|
|
|
30
30
|
<script lang="ts" setup>
|
|
31
31
|
import { watch } from "vue";
|
|
32
|
-
import { VcCheckboxProps } from "@/ui/components/atoms/vc-checkbox/vc-checkbox-model";
|
|
33
32
|
|
|
34
|
-
const props =
|
|
35
|
-
modelValue:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
const props = defineProps({
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false,
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
disabled: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false,
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
required: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false,
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
name: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: "Field",
|
|
52
|
+
},
|
|
53
|
+
|
|
54
|
+
errorMessage: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: undefined
|
|
57
|
+
}
|
|
39
58
|
});
|
|
40
59
|
const emit = defineEmits(["update:modelValue"]);
|
|
41
60
|
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
</template>
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
|
-
|
|
11
|
+
export interface Props {
|
|
12
|
+
size: string;
|
|
13
|
+
}
|
|
12
14
|
|
|
13
|
-
withDefaults(defineProps<
|
|
15
|
+
withDefaults(defineProps<Props>(), {
|
|
14
16
|
size: "1",
|
|
15
17
|
});
|
|
16
18
|
</script>
|
|
@@ -36,16 +36,23 @@
|
|
|
36
36
|
|
|
37
37
|
<script lang="ts" setup>
|
|
38
38
|
import { ref, onMounted, computed, nextTick } from "vue";
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
const props = defineProps({
|
|
40
|
+
shadow: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: false,
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
noPadding: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: false,
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
usePtr: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: false,
|
|
53
|
+
},
|
|
45
54
|
});
|
|
46
|
-
|
|
47
|
-
const emit = defineEmits(["scroll:ptr"]);
|
|
48
|
-
|
|
55
|
+
const emit = defineEmits(["scroll:ptr", "scroll:infinite"]);
|
|
49
56
|
const component = ref<HTMLElement>();
|
|
50
57
|
const scroll = ref(false);
|
|
51
58
|
const startY = ref(0);
|
|
@@ -153,8 +160,8 @@ function ease(distance: number) {
|
|
|
153
160
|
}
|
|
154
161
|
|
|
155
162
|
defineExpose({
|
|
156
|
-
|
|
157
|
-
|
|
163
|
+
scrollTop,
|
|
164
|
+
component,
|
|
158
165
|
});
|
|
159
166
|
</script>
|
|
160
167
|
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script lang="ts" setup>
|
|
6
|
-
|
|
6
|
+
export interface Props {
|
|
7
|
+
icon?: string;
|
|
8
|
+
size?: "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
9
|
+
}
|
|
7
10
|
|
|
8
|
-
withDefaults(defineProps<
|
|
11
|
+
withDefaults(defineProps<Props>(), {
|
|
9
12
|
icon: "fas fa-square-full",
|
|
10
13
|
size: "m",
|
|
11
14
|
});
|