@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
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
export interface VcTextareaProps {
|
|
4
|
-
placeholder?: string | undefined;
|
|
5
|
-
modelValue: string | undefined;
|
|
6
|
-
required?: boolean | undefined;
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
label?: string | undefined;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
name?: string | undefined;
|
|
11
|
-
maxchars?: string | undefined;
|
|
12
|
-
errorMessage?: string | undefined;
|
|
13
|
-
"onUpdate:modelValue"?: (value: string) => void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface VcTextareaSlots {
|
|
17
|
-
error: () => VNode[];
|
|
18
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcAppProps } from "./vc-app-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import App from "./vc-app.vue";
|
|
5
|
-
export const VcApp: ComponentConstructor<ComponentPublicInstance<VcAppProps>> =
|
|
6
|
-
App;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ExtendedComponent, IBladeElement, IOpenBlade } from "@/shared";
|
|
2
|
-
import { IBladeToolbar, IMenuItems } from "@/core/types";
|
|
3
|
-
import { VNode } from "vue";
|
|
4
|
-
|
|
5
|
-
export interface VcAppProps {
|
|
6
|
-
pages?: ExtendedComponent[] | undefined;
|
|
7
|
-
menuItems?: IMenuItems[] | undefined;
|
|
8
|
-
mobileMenuItems?: IMenuItems[] | undefined;
|
|
9
|
-
toolbarItems?: IBladeToolbar[] | undefined;
|
|
10
|
-
isReady?: boolean | undefined;
|
|
11
|
-
isAuthorized?: boolean | undefined;
|
|
12
|
-
logo?: string | undefined;
|
|
13
|
-
version?: string | undefined;
|
|
14
|
-
theme?: "light" | "dark" | undefined;
|
|
15
|
-
bladesRefs?: IBladeElement[] | undefined;
|
|
16
|
-
title?: string | undefined;
|
|
17
|
-
onOpen?: (args: IOpenBlade) => void;
|
|
18
|
-
onClose?: (index: number) => void;
|
|
19
|
-
"onBacklink:click"?: (index: number) => void;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface VcAppSlots {
|
|
23
|
-
appSwitcher: () => VNode[];
|
|
24
|
-
bladeNavigation: () => VNode[];
|
|
25
|
-
notifications: () => VNode[];
|
|
26
|
-
passwordChange: () => VNode[];
|
|
27
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcBladeProps } from "./vc-blade-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import Blade from "./vc-blade.vue";
|
|
5
|
-
export const VcBlade: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcBladeProps>
|
|
7
|
-
> = Blade;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IBladeToolbar } from "@/core/types";
|
|
2
|
-
import { VNode } from "vue";
|
|
3
|
-
|
|
4
|
-
export interface VcBladeProps {
|
|
5
|
-
icon?: string | undefined;
|
|
6
|
-
title?: string | undefined;
|
|
7
|
-
subtitle?: string | undefined;
|
|
8
|
-
width?: number | string | undefined;
|
|
9
|
-
expanded?: boolean | undefined;
|
|
10
|
-
closable?: boolean | undefined;
|
|
11
|
-
toolbarItems?: IBladeToolbar[] | undefined;
|
|
12
|
-
onClose?: () => void;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface VcBladeSlots {
|
|
16
|
-
actions: () => VNode[];
|
|
17
|
-
default: () => VNode[];
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcDynamicPropertyProps } from "./vc-dynamic-property-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import DynamicProperty from "./vc-dynamic-property.vue";
|
|
5
|
-
export const VcDynamicProperty: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcDynamicPropertyProps>
|
|
7
|
-
> = DynamicProperty;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
export interface VcDynamicPropertyProps {
|
|
4
|
-
property?: Record<string, any> | undefined;
|
|
5
|
-
dictionaries?: Record<string, any> | undefined;
|
|
6
|
-
getter?: (
|
|
7
|
-
property: Record<string, any>,
|
|
8
|
-
isDictionary?: boolean
|
|
9
|
-
) => Record<string, any> | string | number | boolean | Date | undefined;
|
|
10
|
-
optionsGetter?: (
|
|
11
|
-
property: Record<string, any>,
|
|
12
|
-
keyword?: string
|
|
13
|
-
) => Promise<any[] | undefined>;
|
|
14
|
-
setter?: (
|
|
15
|
-
property: Record<string, any>,
|
|
16
|
-
value: Record<string, any> | string | number | boolean,
|
|
17
|
-
dictionary?: any[]
|
|
18
|
-
) => void | undefined;
|
|
19
|
-
culture?: string | undefined;
|
|
20
|
-
disabled?: boolean | undefined;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface VcDynamicPropertySlots {
|
|
24
|
-
default: () => VNode[];
|
|
25
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcGalleryProps } from "./vc-gallery-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import Gallery from "./vc-gallery.vue";
|
|
5
|
-
export const VcGallery: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcGalleryProps>
|
|
7
|
-
> = Gallery;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { IImage } from "@/core/types";
|
|
2
|
-
import { VNode } from "vue";
|
|
3
|
-
|
|
4
|
-
export interface VcGalleryProps {
|
|
5
|
-
images?: IImage[] | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
required?: boolean | undefined;
|
|
8
|
-
label?: string | undefined;
|
|
9
|
-
tooltip?: string | undefined;
|
|
10
|
-
tooltipIcon?: string | undefined;
|
|
11
|
-
uploadIcon?: string | undefined;
|
|
12
|
-
multiple?: boolean | undefined;
|
|
13
|
-
variant?: "gallery" | "file-upload" | undefined;
|
|
14
|
-
itemActions?: {
|
|
15
|
-
name?: string | undefined;
|
|
16
|
-
preview: boolean | undefined;
|
|
17
|
-
edit: boolean | undefined;
|
|
18
|
-
remove: boolean | undefined;
|
|
19
|
-
};
|
|
20
|
-
disableDrag?: boolean | undefined;
|
|
21
|
-
hideAfterUpload?: boolean | undefined;
|
|
22
|
-
rules?: string | Record<string, unknown> | undefined;
|
|
23
|
-
name?: string | undefined;
|
|
24
|
-
onUpload?: (files: FileList) => void;
|
|
25
|
-
onSort?: (sorted: IImage[]) => void;
|
|
26
|
-
"onItem:edit"?: (image: IImage) => void;
|
|
27
|
-
"onItem:remove"?: (image: IImage) => void;
|
|
28
|
-
"onItem:move"?: (image: IImage) => void;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface VcGallerySlots {
|
|
32
|
-
default: () => VNode[];
|
|
33
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcLoginFormProps } from "./vc-login-form-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import LoginForm from "./vc-login-form.vue";
|
|
5
|
-
export const VcLoginForm: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcLoginFormProps>
|
|
7
|
-
> = LoginForm;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcPopupProps } from "./vc-popup-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import Popup from "./vc-popup.vue";
|
|
5
|
-
export const VcPopup: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcPopupProps>
|
|
7
|
-
> = Popup;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
|
|
3
|
-
export interface VcPopupProps {
|
|
4
|
-
title?: string | undefined;
|
|
5
|
-
closable?: boolean | undefined;
|
|
6
|
-
variant?: "small" | "medium" | "fullscreen" | undefined;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface VcPopupSlots {
|
|
11
|
-
default: () => VNode[];
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcTableProps } from "./vc-table-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
import Table from "./vc-table.vue";
|
|
5
|
-
export const VcTable: ComponentConstructor<
|
|
6
|
-
ComponentPublicInstance<VcTableProps>
|
|
7
|
-
> = Table;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { IActionBuilderResult, ITableColumns } from "@/core/types";
|
|
2
|
-
import { VNode } from "vue";
|
|
3
|
-
|
|
4
|
-
export interface StatusImage {
|
|
5
|
-
image?: string;
|
|
6
|
-
text: string;
|
|
7
|
-
action?: string;
|
|
8
|
-
clickHandler?: () => void;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface VcTableProps {
|
|
12
|
-
columns?: ITableColumns[];
|
|
13
|
-
items?: { id?: string }[];
|
|
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: { id: string }) => void;
|
|
39
|
-
"onScroll:ptr"?: () => void;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface VcTableSlots {
|
|
43
|
-
header: () => VNode[];
|
|
44
|
-
filters: (args: { closePanel: () => void }) => VNode[];
|
|
45
|
-
"mobile-item": (args: {
|
|
46
|
-
item: { [x: string]: unknown; id: string };
|
|
47
|
-
}) => VNode[];
|
|
48
|
-
[key: `header_${string}`]: () => VNode[];
|
|
49
|
-
[key: `item_${string}`]: (args: {
|
|
50
|
-
item?: { [x: string]: unknown; id: string };
|
|
51
|
-
cell?: ITableColumns;
|
|
52
|
-
}) => VNode[];
|
|
53
|
-
notfound: () => VNode[];
|
|
54
|
-
empty: () => VNode[];
|
|
55
|
-
footer: () => VNode[];
|
|
56
|
-
}
|