@vc-shell/framework 1.0.49 → 1.0.50
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 +2 -4
- package/dist/core/types/index.d.ts +2 -3
- 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 +1 -6
- 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 +5 -19
- package/dist/ui/components/atoms/vc-button/vc-button-model.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-card/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts +16 -0
- package/dist/ui/components/atoms/vc-card/vc-card-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-checkbox/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts +14 -0
- package/dist/ui/components/atoms/vc-checkbox/vc-checkbox-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-col/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-col/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts +8 -0
- package/dist/ui/components/atoms/vc-col/vc-col-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-container/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-container/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts +11 -0
- package/dist/ui/components/atoms/vc-container/vc-container-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-hint/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-hint/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts +9 -0
- package/dist/ui/components/atoms/vc-icon/vc-icon-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-image/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-image/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts +15 -0
- package/dist/ui/components/atoms/vc-image/vc-image-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-info-row/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-info-row/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts +11 -0
- package/dist/ui/components/atoms/vc-info-row/vc-info-row-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-label/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts +10 -0
- package/dist/ui/components/atoms/vc-label/vc-label-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-link/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-link/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts +10 -0
- package/dist/ui/components/atoms/vc-link/vc-link-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-loading/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-loading/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts +8 -0
- package/dist/ui/components/atoms/vc-loading/vc-loading-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-progress/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-progress/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts +9 -0
- package/dist/ui/components/atoms/vc-progress/vc-progress-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-row/index.d.ts +2 -0
- package/dist/ui/components/atoms/vc-row/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts +5 -0
- package/dist/ui/components/atoms/vc-row/vc-row-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-status/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts +10 -0
- package/dist/ui/components/atoms/vc-status/vc-status-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-status-icon/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts +8 -0
- package/dist/ui/components/atoms/vc-status-icon/vc-status-icon-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-switch/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-switch/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts +13 -0
- package/dist/ui/components/atoms/vc-switch/vc-switch-model.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts +5 -0
- package/dist/ui/components/atoms/vc-widget/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts +12 -0
- package/dist/ui/components/atoms/vc-widget/vc-widget-model.d.ts.map +1 -0
- package/dist/ui/components/index.d.ts +34 -34
- package/dist/ui/components/index.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts +14 -0
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-editor/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts +16 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-file-upload/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts +14 -0
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-form/index.d.ts +2 -0
- package/dist/ui/components/molecules/vc-form/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-notification/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-notification/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts +10 -0
- package/dist/ui/components/molecules/vc-notification/vc-notification-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-pagination/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-pagination/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts +11 -0
- package/dist/ui/components/molecules/vc-pagination/vc-pagination-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-rating/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts +13 -0
- package/dist/ui/components/molecules/vc-rating/vc-rating-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-slider/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-slider/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts +14 -0
- package/dist/ui/components/molecules/vc-slider/vc-slider-model.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-textarea/index.d.ts +5 -0
- package/dist/ui/components/molecules/vc-textarea/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts +17 -0
- package/dist/ui/components/molecules/vc-textarea/vc-textarea-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-app/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts +26 -0
- package/dist/ui/components/organisms/vc-app/vc-app-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-blade/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts +17 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-dynamic-property/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts +14 -0
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-gallery/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts +32 -0
- package/dist/ui/components/organisms/vc-gallery/vc-gallery-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-login-form/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-login-form/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts +10 -0
- package/dist/ui/components/organisms/vc-login-form/vc-login-form-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-popup/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts +11 -0
- package/dist/ui/components/organisms/vc-popup/vc-popup-model.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/index.d.ts +5 -0
- package/dist/ui/components/organisms/vc-table/index.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts +66 -0
- package/dist/ui/components/organisms/vc-table/vc-table-model.d.ts.map +1 -0
- package/dist/ui/types/index.d.ts +68 -0
- 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/ui/components/atoms/vc-badge/vc-badge-model.ts +1 -7
- package/ui/components/atoms/vc-badge/vc-badge.vue +1 -2
- package/ui/components/atoms/vc-button/index.ts +1 -1
- package/ui/components/atoms/vc-button/vc-button-model.ts +12 -20
- package/ui/components/atoms/vc-button/vc-button.vue +8 -32
- package/ui/components/atoms/vc-card/index.ts +7 -0
- package/ui/components/atoms/vc-card/vc-card-model.ts +17 -0
- package/ui/components/atoms/vc-card/vc-card.vue +6 -31
- package/ui/components/atoms/vc-checkbox/index.ts +7 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox-model.ts +15 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +6 -25
- package/ui/components/atoms/vc-col/index.ts +6 -0
- package/ui/components/atoms/vc-col/vc-col-model.ts +9 -0
- package/ui/components/atoms/vc-col/vc-col.vue +2 -4
- package/ui/components/atoms/vc-container/index.ts +7 -0
- package/ui/components/atoms/vc-container/vc-container-model.ts +12 -0
- package/ui/components/atoms/vc-container/vc-container.vue +11 -18
- package/ui/components/atoms/vc-hint/index.ts +2 -0
- package/ui/components/atoms/vc-icon/index.ts +7 -0
- package/ui/components/atoms/vc-icon/vc-icon-model.ts +10 -0
- package/ui/components/atoms/vc-icon/vc-icon.vue +2 -5
- package/ui/components/atoms/vc-image/index.ts +7 -0
- package/ui/components/atoms/vc-image/vc-image-model.ts +27 -0
- package/ui/components/atoms/vc-image/vc-image.vue +11 -37
- package/ui/components/atoms/vc-info-row/index.ts +7 -0
- package/ui/components/atoms/vc-info-row/vc-info-row-model.ts +12 -0
- package/ui/components/atoms/vc-info-row/vc-info-row.vue +6 -20
- package/ui/components/atoms/vc-label/index.ts +7 -0
- package/ui/components/atoms/vc-label/vc-label-model.ts +11 -0
- package/ui/components/atoms/vc-label/vc-label.vue +8 -12
- package/ui/components/atoms/vc-link/index.ts +7 -0
- package/ui/components/atoms/vc-link/vc-link-model.ts +11 -0
- package/ui/components/atoms/vc-link/vc-link.vue +4 -9
- package/ui/components/atoms/vc-loading/index.ts +7 -0
- package/ui/components/atoms/vc-loading/vc-loading-model.ts +9 -0
- package/ui/components/atoms/vc-loading/vc-loading.vue +4 -5
- package/ui/components/atoms/vc-progress/index.ts +7 -0
- package/ui/components/atoms/vc-progress/vc-progress-model.ts +10 -0
- package/ui/components/atoms/vc-progress/vc-progress.vue +5 -11
- package/ui/components/atoms/vc-row/index.ts +2 -0
- package/ui/components/atoms/vc-row/vc-row-model.ts +5 -0
- package/ui/components/atoms/vc-status/index.ts +7 -0
- package/ui/components/atoms/vc-status/vc-status-model.ts +17 -0
- package/ui/components/atoms/vc-status/vc-status.vue +5 -15
- package/ui/components/atoms/vc-status-icon/index.ts +7 -0
- package/ui/components/atoms/vc-status-icon/vc-status-icon-model.ts +9 -0
- package/ui/components/atoms/vc-status-icon/vc-status-icon.vue +11 -7
- package/ui/components/atoms/vc-switch/index.ts +7 -0
- package/ui/components/atoms/vc-switch/vc-switch-model.ts +14 -0
- package/ui/components/atoms/vc-switch/vc-switch.vue +6 -24
- package/ui/components/atoms/vc-widget/index.ts +7 -0
- package/ui/components/atoms/vc-widget/vc-widget-model.ts +13 -0
- package/ui/components/atoms/vc-widget/vc-widget.vue +3 -19
- package/ui/components/index.ts +34 -34
- package/ui/components/molecules/vc-breadcrumbs/index.ts +7 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs-model.ts +15 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +2 -11
- package/ui/components/molecules/vc-editor/index.ts +7 -0
- package/ui/components/molecules/vc-editor/vc-editor-model.ts +17 -0
- package/ui/components/molecules/vc-editor/vc-editor.vue +15 -52
- package/ui/components/molecules/vc-file-upload/index.ts +7 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload-model.ts +15 -0
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +12 -33
- package/ui/components/molecules/vc-form/index.ts +2 -0
- package/ui/components/molecules/vc-notification/index.ts +7 -0
- package/ui/components/molecules/vc-notification/vc-notification-model.ts +11 -0
- package/ui/components/molecules/vc-notification/vc-notification.vue +3 -10
- package/ui/components/molecules/vc-pagination/index.ts +7 -0
- package/ui/components/molecules/vc-pagination/vc-pagination-model.ts +12 -0
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +6 -16
- package/ui/components/molecules/vc-rating/index.ts +7 -0
- package/ui/components/molecules/vc-rating/vc-rating-model.ts +14 -0
- package/ui/components/molecules/vc-rating/vc-rating.vue +2 -10
- package/ui/components/molecules/vc-slider/index.ts +7 -0
- package/ui/components/molecules/vc-slider/vc-slider-model.ts +15 -0
- package/ui/components/molecules/vc-slider/vc-slider.vue +7 -25
- package/ui/components/molecules/vc-textarea/index.ts +7 -0
- package/ui/components/molecules/vc-textarea/vc-textarea-model.ts +18 -0
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +9 -47
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +2 -1
- package/ui/components/organisms/vc-app/index.ts +6 -0
- package/ui/components/organisms/vc-app/vc-app-model.ts +27 -0
- package/ui/components/organisms/vc-app/vc-app.vue +6 -31
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +17 -32
- package/ui/components/organisms/vc-blade/index.ts +7 -0
- package/ui/components/organisms/vc-blade/vc-blade-model.ts +18 -0
- package/ui/components/organisms/vc-blade/vc-blade.vue +9 -34
- package/ui/components/organisms/vc-dynamic-property/index.ts +7 -0
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property-model.ts +25 -0
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +66 -94
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +31 -21
- package/ui/components/organisms/vc-gallery/index.ts +7 -0
- package/ui/components/organisms/vc-gallery/vc-gallery-model.ts +33 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +22 -81
- package/ui/components/organisms/vc-login-form/index.ts +7 -0
- package/ui/components/organisms/vc-login-form/vc-login-form-model.ts +11 -0
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +3 -14
- package/ui/components/organisms/vc-popup/index.ts +7 -0
- package/ui/components/organisms/vc-popup/vc-popup-model.ts +12 -0
- package/ui/components/organisms/vc-popup/vc-popup.vue +4 -15
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +2 -2
- package/ui/components/organisms/vc-table/index.ts +7 -0
- package/ui/components/organisms/vc-table/vc-table-model.ts +56 -0
- package/ui/components/organisms/vc-table/vc-table.vue +9 -41
- package/ui/types/index.ts +188 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IActionBuilderResult, ITableColumns } from "@/core/types";
|
|
2
|
+
import { VNode } from "vue";
|
|
3
|
+
export interface StatusImage {
|
|
4
|
+
image?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
action?: string;
|
|
7
|
+
clickHandler?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface VcTableProps {
|
|
10
|
+
columns?: ITableColumns[];
|
|
11
|
+
items?: {
|
|
12
|
+
id?: string;
|
|
13
|
+
}[];
|
|
14
|
+
itemActionBuilder?: (item: {
|
|
15
|
+
id?: string;
|
|
16
|
+
}) => IActionBuilderResult[] | undefined;
|
|
17
|
+
sort?: string | undefined;
|
|
18
|
+
multiselect?: boolean | undefined;
|
|
19
|
+
expanded?: boolean | undefined;
|
|
20
|
+
totalLabel?: string | undefined;
|
|
21
|
+
totalCount?: number | undefined;
|
|
22
|
+
pages?: number | undefined;
|
|
23
|
+
currentPage?: number | undefined;
|
|
24
|
+
searchPlaceholder?: string | undefined;
|
|
25
|
+
searchValue?: string | undefined;
|
|
26
|
+
loading?: boolean | undefined;
|
|
27
|
+
empty?: StatusImage | undefined;
|
|
28
|
+
notfound?: StatusImage | undefined;
|
|
29
|
+
header?: boolean | undefined;
|
|
30
|
+
footer?: boolean | undefined;
|
|
31
|
+
activeFilterCount?: number | undefined;
|
|
32
|
+
selectedItemId?: string | undefined;
|
|
33
|
+
scrolling?: boolean | undefined;
|
|
34
|
+
onPaginationClick?: (page: number) => void;
|
|
35
|
+
onSelectionChanged?: (values: Record<string, boolean>) => void;
|
|
36
|
+
"onSearch:change"?: (value: string) => void;
|
|
37
|
+
onHeaderClick?: (value: Record<string, unknown>) => void;
|
|
38
|
+
onItemClick?: (item: {
|
|
39
|
+
id: string;
|
|
40
|
+
}) => void;
|
|
41
|
+
"onScroll:ptr"?: () => void;
|
|
42
|
+
}
|
|
43
|
+
export interface VcTableSlots {
|
|
44
|
+
header: () => VNode[];
|
|
45
|
+
filters: (args: {
|
|
46
|
+
closePanel: () => void;
|
|
47
|
+
}) => VNode[];
|
|
48
|
+
"mobile-item": (args: {
|
|
49
|
+
item: {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
id: string;
|
|
52
|
+
};
|
|
53
|
+
}) => VNode[];
|
|
54
|
+
[key: `header_${string}`]: () => VNode[];
|
|
55
|
+
[key: `item_${string}`]: (args: {
|
|
56
|
+
item?: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
id: string;
|
|
59
|
+
};
|
|
60
|
+
cell?: ITableColumns;
|
|
61
|
+
}) => VNode[];
|
|
62
|
+
notfound: () => VNode[];
|
|
63
|
+
empty: () => VNode[];
|
|
64
|
+
footer: () => VNode[];
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=vc-table-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vc-table-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE;QACzB,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,KAAK,oBAAoB,EAAE,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,O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E,GAAG,MAAM,KAAK,EAAE,CAAC;IACzC,CAAC,GAAG,EAAE,QAAQ,MAAM,EAAE,GAAG,CAAC,IAAI,EAAE;QAC9B,IAAI,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,CAAC;QAC5C,IAAI,CAAC,EAAE,aAAa,CAAC;KACtB,KAAK,KAAK,EAAE,CAAC;IACd,QAAQ,EAAE,MAAM,KAAK,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;IACrB,MAAM,EAAE,MAAM,KAAK,EAAE,CAAC;CACvB"}
|
package/dist/ui/types/index.d.ts
CHANGED
|
@@ -2,11 +2,79 @@ 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";
|
|
5
38
|
declare module "@vue/runtime-core" {
|
|
6
39
|
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;
|
|
7
63
|
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
|
|
8
64
|
VcInputCurrency: GlobalComponentConstructor<VcInputCurrencyProps, VcInputCurrencySlots>;
|
|
65
|
+
VcNotification: GlobalComponentConstructor<VcNotificationProps, VcNotificationSlots>;
|
|
66
|
+
VcPagination: GlobalComponentConstructor<VcPaginationProps, VcPaginationSlots>;
|
|
67
|
+
VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
|
|
9
68
|
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>;
|
|
10
78
|
}
|
|
11
79
|
}
|
|
12
80
|
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;AAC3E,OAAO,EACL,YAAY,EACZ,YAAY,EACb,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,aAAa,EACb,aAAa,EACd,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACL,WAAW,EACX,WAAW,EACZ,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,eAAe,EACf,eAAe,EAChB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EACL,UAAU,EACV,UAAU,EACX,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,qDAAqD,CAAC;AAC7D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D,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAChE,iBAAiB,EAAE,0BAA0B,CAC3C,sBAAsB,EACtB,sBAAsB,CACvB,CAAC;QACF,SAAS,EAAE,0BAA0B,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;QACtE,WAAW,EAAE,0BAA0B,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;QAC5E,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAChE,OAAO,EAAE,0BAA0B,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;KACjE;CACF;AAED,OAAO,EAAE,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.50",
|
|
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.50",
|
|
58
|
+
"@vc-shell/config-generator": "^1.0.50",
|
|
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": "0376b9ddffbe2d9e7e34a537898f83a2457a690f"
|
|
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, args: $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";
|
|
@@ -13,13 +13,7 @@ export interface VcBadgeProps {
|
|
|
13
13
|
* Is badge clickable?
|
|
14
14
|
* */
|
|
15
15
|
clickable?: boolean | undefined;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface VcBadgeEmits {
|
|
19
|
-
/**
|
|
20
|
-
* Emitted when component is clicked
|
|
21
|
-
* */
|
|
22
|
-
(event: "click"): void;
|
|
16
|
+
onClick?: (event: "click") => void;
|
|
23
17
|
}
|
|
24
18
|
|
|
25
19
|
export interface VcBadgeSlots {
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
|
|
18
18
|
<script lang="ts" setup>
|
|
19
19
|
import {
|
|
20
|
-
VcBadgeEmits,
|
|
21
20
|
VcBadgeProps,
|
|
22
21
|
} from "@/ui/components/atoms/vc-badge/vc-badge-model";
|
|
23
22
|
|
|
@@ -26,7 +25,7 @@ const props = withDefaults(defineProps<VcBadgeProps>(), {
|
|
|
26
25
|
disabled: false,
|
|
27
26
|
clickable: true,
|
|
28
27
|
});
|
|
29
|
-
const emit = defineEmits
|
|
28
|
+
const emit = defineEmits(["click"]);
|
|
30
29
|
|
|
31
30
|
function onClick(): void {
|
|
32
31
|
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 VcButton: ComponentConstructor<
|
|
6
6
|
ComponentPublicInstance<VcButtonProps>
|
|
7
7
|
> = Button;
|
|
@@ -1,30 +1,22 @@
|
|
|
1
1
|
import { VNode } from "vue";
|
|
2
2
|
|
|
3
3
|
export interface VcButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* Button icon from Fontawesome icons set
|
|
6
|
-
* */
|
|
7
4
|
icon?: string | undefined;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
variant?:
|
|
6
|
+
| "primary"
|
|
7
|
+
| "secondary"
|
|
8
|
+
| "special"
|
|
9
|
+
| "danger"
|
|
10
|
+
| "widget"
|
|
11
|
+
| "onlytext"
|
|
12
|
+
| undefined;
|
|
11
13
|
disabled?: boolean | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface VcButtonEmits {
|
|
19
|
-
/**
|
|
20
|
-
* Emitted when component is clicked
|
|
21
|
-
* */
|
|
22
|
-
(event: "click"): void;
|
|
14
|
+
small?: boolean | undefined;
|
|
15
|
+
outline?: boolean | undefined;
|
|
16
|
+
selected?: boolean | undefined;
|
|
17
|
+
onClick?: () => void;
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
export interface VcButtonSlots {
|
|
26
|
-
/**
|
|
27
|
-
* Slot for component content
|
|
28
|
-
* */
|
|
29
21
|
default: () => VNode[];
|
|
30
22
|
}
|
|
@@ -26,38 +26,14 @@
|
|
|
26
26
|
|
|
27
27
|
<script lang="ts" setup>
|
|
28
28
|
import { VcIcon } from "@/ui/components";
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
},
|
|
29
|
+
import { VcButtonProps } from "@/ui/components/atoms/vc-button/vc-button-model";
|
|
30
|
+
|
|
31
|
+
const props = withDefaults(defineProps<VcButtonProps>(), {
|
|
32
|
+
variant: "primary",
|
|
33
|
+
disabled: false,
|
|
34
|
+
small: false,
|
|
35
|
+
outline: false,
|
|
36
|
+
selected: false,
|
|
61
37
|
});
|
|
62
38
|
|
|
63
39
|
const emit = defineEmits(["click"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcCardProps } from "./vc-card-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
import Card from "./vc-card.vue";
|
|
5
|
+
export const VcCard: ComponentConstructor<
|
|
6
|
+
ComponentPublicInstance<VcCardProps>
|
|
7
|
+
> = Card;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface VcCardProps {
|
|
4
|
+
header?: string | undefined;
|
|
5
|
+
icon?: string | undefined;
|
|
6
|
+
isCollapsable?: boolean | undefined;
|
|
7
|
+
isCollapsed?: boolean | undefined;
|
|
8
|
+
fill?: boolean | undefined;
|
|
9
|
+
variant?: "default" | "success" | "danger" | undefined;
|
|
10
|
+
"onHeader:click"?: () => void;
|
|
11
|
+
"onState:collapsed"?: (isCollapsedState: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface VcCardSlots {
|
|
15
|
+
default: () => VNode[];
|
|
16
|
+
actions: () => VNode[];
|
|
17
|
+
}
|
|
@@ -29,37 +29,12 @@
|
|
|
29
29
|
|
|
30
30
|
<script lang="ts" setup>
|
|
31
31
|
import { ref } from "vue";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
},
|
|
32
|
+
import { VcCardProps } from "@/ui/components/atoms/vc-card/vc-card-model";
|
|
33
|
+
const props = withDefaults(defineProps<VcCardProps>(), {
|
|
34
|
+
isCollapsable: false,
|
|
35
|
+
isCollapsed: false,
|
|
36
|
+
fill: false,
|
|
37
|
+
variant: "default",
|
|
63
38
|
});
|
|
64
39
|
const emit = defineEmits(["header:click", "state:collapsed"]);
|
|
65
40
|
const isCollapsedInternal = ref(props.isCollapsed);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcCheckboxProps } from "./vc-checkbox-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
import Checkbox from "./vc-checkbox.vue";
|
|
5
|
+
export const VcCheckbox: ComponentConstructor<
|
|
6
|
+
ComponentPublicInstance<VcCheckboxProps>
|
|
7
|
+
> = Checkbox;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VNode } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface VcCheckboxProps {
|
|
4
|
+
modelValue?: boolean | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
required?: boolean | undefined;
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
errorMessage?: string | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: (value: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface VcCheckboxSlots {
|
|
13
|
+
default: () => VNode[];
|
|
14
|
+
error: () => VNode[];
|
|
15
|
+
}
|
|
@@ -29,32 +29,13 @@
|
|
|
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";
|
|
32
33
|
|
|
33
|
-
const props = defineProps({
|
|
34
|
-
modelValue:
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
}
|
|
34
|
+
const props = withDefaults(defineProps<VcCheckboxProps>(), {
|
|
35
|
+
modelValue: false,
|
|
36
|
+
disabled: false,
|
|
37
|
+
required: false,
|
|
38
|
+
name: "Field",
|
|
58
39
|
});
|
|
59
40
|
const emit = defineEmits(["update:modelValue"]);
|
|
60
41
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcColProps } from "./vc-col-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
import Col from "./vc-col.vue";
|
|
5
|
+
export const VcCol: ComponentConstructor<ComponentPublicInstance<VcColProps>> =
|
|
6
|
+
Col;
|
|
@@ -8,11 +8,9 @@
|
|
|
8
8
|
</template>
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
|
-
|
|
12
|
-
size: string;
|
|
13
|
-
}
|
|
11
|
+
import { VcColProps } from "@/ui/components/atoms/vc-col/vc-col-model";
|
|
14
12
|
|
|
15
|
-
withDefaults(defineProps<
|
|
13
|
+
withDefaults(defineProps<VcColProps>(), {
|
|
16
14
|
size: "1",
|
|
17
15
|
});
|
|
18
16
|
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcContainerProps } from "./vc-container-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
import Container from "./vc-container.vue";
|
|
5
|
+
export const VcContainer: ComponentConstructor<
|
|
6
|
+
ComponentPublicInstance<VcContainerProps>
|
|
7
|
+
> = Container;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {VNode} from "vue";
|
|
2
|
+
|
|
3
|
+
export interface VcContainerProps {
|
|
4
|
+
shadow?: boolean | undefined
|
|
5
|
+
noPadding?: boolean | undefined
|
|
6
|
+
usePtr?: boolean | undefined
|
|
7
|
+
"onScroll:ptr"?: () => void
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface VcContainerSlots {
|
|
11
|
+
default: () => VNode[];
|
|
12
|
+
}
|
|
@@ -36,23 +36,16 @@
|
|
|
36
36
|
|
|
37
37
|
<script lang="ts" setup>
|
|
38
38
|
import { ref, onMounted, computed, nextTick } from "vue";
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
noPadding: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: false,
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
usePtr: {
|
|
51
|
-
type: Boolean,
|
|
52
|
-
default: false,
|
|
53
|
-
},
|
|
39
|
+
import { VcContainerProps } from "@/ui/components/atoms/vc-container/vc-container-model";
|
|
40
|
+
|
|
41
|
+
const props = withDefaults(defineProps<VcContainerProps>(), {
|
|
42
|
+
shadow: false,
|
|
43
|
+
noPadding: false,
|
|
44
|
+
usePtr: false,
|
|
54
45
|
});
|
|
55
|
-
|
|
46
|
+
|
|
47
|
+
const emit = defineEmits(["scroll:ptr"]);
|
|
48
|
+
|
|
56
49
|
const component = ref<HTMLElement>();
|
|
57
50
|
const scroll = ref(false);
|
|
58
51
|
const startY = ref(0);
|
|
@@ -160,8 +153,8 @@ function ease(distance: number) {
|
|
|
160
153
|
}
|
|
161
154
|
|
|
162
155
|
defineExpose({
|
|
163
|
-
|
|
164
|
-
|
|
156
|
+
scrollTop,
|
|
157
|
+
component,
|
|
165
158
|
});
|
|
166
159
|
</script>
|
|
167
160
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from "vue";
|
|
2
|
+
import { VcIconProps } from "./vc-icon-model";
|
|
3
|
+
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
+
import Icon from "./vc-icon.vue";
|
|
5
|
+
export const VcIcon: ComponentConstructor<
|
|
6
|
+
ComponentPublicInstance<VcIconProps>
|
|
7
|
+
> = Icon;
|
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script lang="ts" setup>
|
|
6
|
-
|
|
7
|
-
icon?: string;
|
|
8
|
-
size?: "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
9
|
-
}
|
|
6
|
+
import { VcIconProps } from "@/ui/components/atoms/vc-icon/vc-icon-model";
|
|
10
7
|
|
|
11
|
-
withDefaults(defineProps<
|
|
8
|
+
withDefaults(defineProps<VcIconProps>(), {
|
|
12
9
|
icon: "fas fa-square-full",
|
|
13
10
|
size: "m",
|
|
14
11
|
});
|