@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
|
@@ -150,8 +150,9 @@
|
|
|
150
150
|
<tr
|
|
151
151
|
v-for="(item, i) in items"
|
|
152
152
|
:key="item.id"
|
|
153
|
-
class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9]
|
|
153
|
+
class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9]"
|
|
154
154
|
:class="{
|
|
155
|
+
'tw-cursor-pointer hover:tw-bg-[#dfeef9]': onItemClick,
|
|
155
156
|
'tw-bg-[#f8f8f8]': i % 2 === 1,
|
|
156
157
|
'!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]':
|
|
157
158
|
item && item.id ? selectedItemId === item.id : false,
|
|
@@ -297,7 +298,7 @@
|
|
|
297
298
|
</template>
|
|
298
299
|
|
|
299
300
|
<script lang="ts" setup>
|
|
300
|
-
import { computed, nextTick, ref, watch, onBeforeUpdate } from "vue";
|
|
301
|
+
import { computed, nextTick, PropType, ref, watch, onBeforeUpdate } from "vue";
|
|
301
302
|
import {
|
|
302
303
|
VcIcon,
|
|
303
304
|
VcLoading,
|
|
@@ -311,10 +312,40 @@ import VcTableFilter from "./_internal/vc-table-filter/vc-table-filter.vue";
|
|
|
311
312
|
import VcTableMobileItem from "./_internal/vc-table-mobile-item/vc-table-mobile-item.vue";
|
|
312
313
|
import VcTableCell from "./_internal/vc-table-cell/vc-table-cell.vue";
|
|
313
314
|
import { createPopper, Instance } from "@popperjs/core";
|
|
314
|
-
import { IActionBuilderResult } from "@/core/types";
|
|
315
|
-
|
|
315
|
+
import { IActionBuilderResult, ITableColumns } from "@/core/types";
|
|
316
|
+
|
|
317
|
+
export interface Props {
|
|
318
|
+
columns: ITableColumns[];
|
|
319
|
+
items: { id: string }[];
|
|
320
|
+
itemActionBuilder?: (item: { id: string }) => IActionBuilderResult[];
|
|
321
|
+
sort?: string;
|
|
322
|
+
multiselect?: boolean;
|
|
323
|
+
expanded?: boolean;
|
|
324
|
+
totalLabel?: string;
|
|
325
|
+
totalCount?: number;
|
|
326
|
+
pages?: number;
|
|
327
|
+
currentPage?: number;
|
|
328
|
+
searchPlaceholder?: string;
|
|
329
|
+
searchValue?: string;
|
|
330
|
+
loading?: boolean;
|
|
331
|
+
empty?: StatusImage;
|
|
332
|
+
notfound?: StatusImage;
|
|
333
|
+
header?: boolean;
|
|
334
|
+
footer?: boolean;
|
|
335
|
+
activeFilterCount?: number;
|
|
336
|
+
selectedItemId?: string;
|
|
337
|
+
scrolling?: boolean;
|
|
338
|
+
onItemClick?: () => void;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface StatusImage {
|
|
342
|
+
image?: string;
|
|
343
|
+
text: string;
|
|
344
|
+
action?: boolean;
|
|
345
|
+
clickHandler?: () => void;
|
|
346
|
+
}
|
|
316
347
|
|
|
317
|
-
const props = withDefaults(defineProps<
|
|
348
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
318
349
|
columns: () => [],
|
|
319
350
|
items: () => [],
|
|
320
351
|
itemActionBuilder: undefined,
|
|
@@ -339,6 +370,7 @@ const props = withDefaults(defineProps<VcTableProps>(), {
|
|
|
339
370
|
activeFilterCount: 0,
|
|
340
371
|
selectedItemId: undefined,
|
|
341
372
|
scrolling: false,
|
|
373
|
+
onItemClick: undefined,
|
|
342
374
|
});
|
|
343
375
|
|
|
344
376
|
interface ITableItemRef {
|
|
@@ -350,9 +382,9 @@ const emit = defineEmits([
|
|
|
350
382
|
"paginationClick",
|
|
351
383
|
"selectionChanged",
|
|
352
384
|
"search:change",
|
|
385
|
+
"filter:apply",
|
|
386
|
+
"filter:reset",
|
|
353
387
|
"headerClick",
|
|
354
|
-
"itemlick",
|
|
355
|
-
"scroll:ptr",
|
|
356
388
|
]);
|
|
357
389
|
|
|
358
390
|
const checkboxes = ref<Record<string, boolean>>({});
|
|
@@ -432,7 +464,7 @@ function processCheckbox(id: string, state: boolean) {
|
|
|
432
464
|
emit("selectionChanged", checkboxes.value);
|
|
433
465
|
}
|
|
434
466
|
|
|
435
|
-
function showActions(item: { id
|
|
467
|
+
function showActions(item: { id: string }, index: string) {
|
|
436
468
|
selectedRow.value = item.id;
|
|
437
469
|
|
|
438
470
|
const toggleRef = actionToggleRefs.value.find((item) => item.id === index);
|
|
@@ -460,7 +492,7 @@ function showActions(item: { id?: string }, index: string) {
|
|
|
460
492
|
}
|
|
461
493
|
}
|
|
462
494
|
|
|
463
|
-
async function calculateActions(item: { id
|
|
495
|
+
async function calculateActions(item: { id: string }) {
|
|
464
496
|
if (typeof props.itemActionBuilder === "function") {
|
|
465
497
|
itemActions.value = await props.itemActionBuilder(item);
|
|
466
498
|
}
|
package/ui/types/index.ts
CHANGED
|
@@ -11,203 +11,16 @@ import {
|
|
|
11
11
|
VcInputCurrencyProps,
|
|
12
12
|
VcInputCurrencySlots,
|
|
13
13
|
} from "../components/molecules/vc-input-currency/vc-input-currency-model";
|
|
14
|
-
import {
|
|
15
|
-
VcBadgeProps,
|
|
16
|
-
VcBadgeSlots,
|
|
17
|
-
} from "../components/atoms/vc-badge/vc-badge-model";
|
|
18
|
-
import {
|
|
19
|
-
VcButtonProps,
|
|
20
|
-
VcButtonSlots,
|
|
21
|
-
} from "../components/atoms/vc-button/vc-button-model";
|
|
22
|
-
import {
|
|
23
|
-
VcCardProps,
|
|
24
|
-
VcCardSlots,
|
|
25
|
-
} from "../components/atoms/vc-card/vc-card-model";
|
|
26
|
-
import {
|
|
27
|
-
VcCheckboxProps,
|
|
28
|
-
VcCheckboxSlots,
|
|
29
|
-
} from "../components/atoms/vc-checkbox/vc-checkbox-model";
|
|
30
|
-
import {
|
|
31
|
-
VcColProps,
|
|
32
|
-
VcColSlots,
|
|
33
|
-
} from "../components/atoms/vc-col/vc-col-model";
|
|
34
|
-
import {
|
|
35
|
-
VcContainerProps,
|
|
36
|
-
VcContainerSlots,
|
|
37
|
-
} from "../components/atoms/vc-container/vc-container-model";
|
|
38
|
-
import {
|
|
39
|
-
VcIconProps,
|
|
40
|
-
VcIconSlots,
|
|
41
|
-
} from "../components/atoms/vc-icon/vc-icon-model";
|
|
42
|
-
import {
|
|
43
|
-
VcImageProps,
|
|
44
|
-
VcImageSlots,
|
|
45
|
-
} from "../components/atoms/vc-image/vc-image-model";
|
|
46
|
-
import {
|
|
47
|
-
VcInfoRowProps,
|
|
48
|
-
VcInfoRowSlots,
|
|
49
|
-
} from "../components/atoms/vc-info-row/vc-info-row-model";
|
|
50
|
-
import {
|
|
51
|
-
VcLabelProps,
|
|
52
|
-
VcLabelSlots,
|
|
53
|
-
} from "../components/atoms/vc-label/vc-label-model";
|
|
54
|
-
import {
|
|
55
|
-
VcLinkProps,
|
|
56
|
-
VcLinkSlots,
|
|
57
|
-
} from "../components/atoms/vc-link/vc-link-model";
|
|
58
|
-
import {
|
|
59
|
-
VcLoadingProps,
|
|
60
|
-
VcLoadingSlots,
|
|
61
|
-
} from "../components/atoms/vc-loading/vc-loading-model";
|
|
62
|
-
import {
|
|
63
|
-
VcProgressProps,
|
|
64
|
-
VcProgressSlots,
|
|
65
|
-
} from "../components/atoms/vc-progress/vc-progress-model";
|
|
66
|
-
import { VcRowSlots } from "../components/atoms/vc-row/vc-row-model";
|
|
67
|
-
import {
|
|
68
|
-
VcStatusProps,
|
|
69
|
-
VcStatusSlots,
|
|
70
|
-
} from "../components/atoms/vc-status/vc-status-model";
|
|
71
|
-
import {
|
|
72
|
-
VcStatusIconProps,
|
|
73
|
-
VcStatusIconSlots,
|
|
74
|
-
} from "../components/atoms/vc-status-icon/vc-status-icon-model";
|
|
75
|
-
import {
|
|
76
|
-
VcSwitchProps,
|
|
77
|
-
VcSwitchSlots,
|
|
78
|
-
} from "../components/atoms/vc-switch/vc-switch-model";
|
|
79
|
-
import {
|
|
80
|
-
VcWidgetProps,
|
|
81
|
-
VcWidgetSlots,
|
|
82
|
-
} from "../components/atoms/vc-widget/vc-widget-model";
|
|
83
|
-
import {
|
|
84
|
-
VcBreadcrumbsProps,
|
|
85
|
-
VcBreadcrumbsSlots,
|
|
86
|
-
} from "../components/molecules/vc-breadcrumbs/vc-breadcrumbs-model";
|
|
87
|
-
import {
|
|
88
|
-
VcEditorProps,
|
|
89
|
-
VcEditorSlots,
|
|
90
|
-
} from "../components/molecules/vc-editor/vc-editor-model";
|
|
91
|
-
import {
|
|
92
|
-
VcFileUploadProps,
|
|
93
|
-
VcFileUploadSlots,
|
|
94
|
-
} from "../components/molecules/vc-file-upload/vc-file-upload-model";
|
|
95
|
-
import {
|
|
96
|
-
VcNotificationProps,
|
|
97
|
-
VcNotificationSlots,
|
|
98
|
-
} from "../components/molecules/vc-notification/vc-notification-model";
|
|
99
|
-
import {
|
|
100
|
-
VcPaginationProps,
|
|
101
|
-
VcPaginationSlots,
|
|
102
|
-
} from "../components/molecules/vc-pagination/vc-pagination-model";
|
|
103
|
-
import {
|
|
104
|
-
VcRatingProps,
|
|
105
|
-
VcRatingSlots,
|
|
106
|
-
} from "../components/molecules/vc-rating/vc-rating-model";
|
|
107
|
-
import {
|
|
108
|
-
VcSliderProps,
|
|
109
|
-
VcSliderSlots,
|
|
110
|
-
} from "../components/molecules/vc-slider/vc-slider-model";
|
|
111
|
-
import {
|
|
112
|
-
VcTextareaProps,
|
|
113
|
-
VcTextareaSlots,
|
|
114
|
-
} from "../components/molecules/vc-textarea/vc-textarea-model";
|
|
115
|
-
import {
|
|
116
|
-
VcAppProps,
|
|
117
|
-
VcAppSlots,
|
|
118
|
-
} from "../components/organisms/vc-app/vc-app-model";
|
|
119
|
-
import {
|
|
120
|
-
VcBladeProps,
|
|
121
|
-
VcBladeSlots,
|
|
122
|
-
} from "../components/organisms/vc-blade/vc-blade-model";
|
|
123
|
-
import {
|
|
124
|
-
VcDynamicPropertyProps,
|
|
125
|
-
VcDynamicPropertySlots,
|
|
126
|
-
} from "../components/organisms/vc-dynamic-property/vc-dynamic-property-model";
|
|
127
|
-
import {
|
|
128
|
-
VcGalleryProps,
|
|
129
|
-
VcGallerySlots,
|
|
130
|
-
} from "../components/organisms/vc-gallery/vc-gallery-model";
|
|
131
|
-
import {
|
|
132
|
-
VcLoginFormProps,
|
|
133
|
-
VcLoginFormSlots,
|
|
134
|
-
} from "../components/organisms/vc-login-form/vc-login-form-model";
|
|
135
|
-
import {
|
|
136
|
-
VcPopupProps,
|
|
137
|
-
VcPopupSlots,
|
|
138
|
-
} from "../components/organisms/vc-popup/vc-popup-model";
|
|
139
|
-
import {
|
|
140
|
-
VcTableProps,
|
|
141
|
-
VcTableSlots,
|
|
142
|
-
} from "../components/organisms/vc-table/vc-table-model";
|
|
143
14
|
|
|
144
15
|
declare module "@vue/runtime-core" {
|
|
145
16
|
interface GlobalComponents {
|
|
146
|
-
// atoms
|
|
147
|
-
VcBadge: GlobalComponentConstructor<VcBadgeProps, VcBadgeSlots>;
|
|
148
|
-
VcButton: GlobalComponentConstructor<VcButtonProps, VcButtonSlots>;
|
|
149
|
-
VcCard: GlobalComponentConstructor<VcCardProps, VcCardSlots>;
|
|
150
|
-
VcCheckbox: GlobalComponentConstructor<VcCheckboxProps, VcCheckboxSlots>;
|
|
151
|
-
VcCol: GlobalComponentConstructor<VcColProps, VcColSlots>;
|
|
152
|
-
VcContainer: GlobalComponentConstructor<VcContainerProps, VcContainerSlots>;
|
|
153
|
-
VcHint: GlobalComponentConstructor;
|
|
154
|
-
VcIcon: GlobalComponentConstructor<VcIconProps, VcIconSlots>;
|
|
155
|
-
VcImage: GlobalComponentConstructor<VcImageProps, VcImageSlots>;
|
|
156
|
-
VcInfoRow: GlobalComponentConstructor<VcInfoRowProps, VcInfoRowSlots>;
|
|
157
|
-
VcLabel: GlobalComponentConstructor<VcLabelProps, VcLabelSlots>;
|
|
158
|
-
VcLink: GlobalComponentConstructor<VcLinkProps, VcLinkSlots>;
|
|
159
|
-
VcLoading: GlobalComponentConstructor<VcLoadingProps, VcLoadingSlots>;
|
|
160
|
-
VcProgress: GlobalComponentConstructor<VcProgressProps, VcProgressSlots>;
|
|
161
|
-
VcRow: GlobalComponentConstructor<any, VcRowSlots>;
|
|
162
|
-
VcStatus: GlobalComponentConstructor<VcStatusProps, VcStatusSlots>;
|
|
163
|
-
VcStatusIcon: GlobalComponentConstructor<
|
|
164
|
-
VcStatusIconProps,
|
|
165
|
-
VcStatusIconSlots
|
|
166
|
-
>;
|
|
167
|
-
VcSwitch: GlobalComponentConstructor<VcSwitchProps, VcSwitchSlots>;
|
|
168
|
-
VcWidget: GlobalComponentConstructor<VcWidgetProps, VcWidgetSlots>;
|
|
169
|
-
|
|
170
|
-
// molecules
|
|
171
|
-
VcBreadcrumbs: GlobalComponentConstructor<
|
|
172
|
-
VcBreadcrumbsProps,
|
|
173
|
-
VcBreadcrumbsSlots
|
|
174
|
-
>;
|
|
175
|
-
VcEditor: GlobalComponentConstructor<VcEditorProps, VcEditorSlots>;
|
|
176
|
-
VcFileUpload: GlobalComponentConstructor<
|
|
177
|
-
VcFileUploadProps,
|
|
178
|
-
VcFileUploadSlots
|
|
179
|
-
>;
|
|
180
|
-
VcForm: GlobalComponentConstructor;
|
|
181
17
|
VcInput: GlobalComponentConstructor<VcInputProps, VcInputSlots>;
|
|
182
18
|
VcInputCurrency: GlobalComponentConstructor<
|
|
183
19
|
VcInputCurrencyProps,
|
|
184
20
|
VcInputCurrencySlots
|
|
185
21
|
>;
|
|
186
|
-
VcNotification: GlobalComponentConstructor<
|
|
187
|
-
VcNotificationProps,
|
|
188
|
-
VcNotificationSlots
|
|
189
|
-
>;
|
|
190
|
-
VcPagination: GlobalComponentConstructor<
|
|
191
|
-
VcPaginationProps,
|
|
192
|
-
VcPaginationSlots
|
|
193
|
-
>;
|
|
194
|
-
VcRating: GlobalComponentConstructor<VcRatingProps, VcRatingSlots>;
|
|
195
22
|
VcSelect: GlobalComponentConstructor<VcSelectProps, VcSelectSlots>;
|
|
196
|
-
VcSlider: GlobalComponentConstructor<VcSliderProps, VcSliderSlots>;
|
|
197
|
-
VcTextarea: GlobalComponentConstructor<VcTextareaProps, VcTextareaSlots>;
|
|
198
|
-
|
|
199
|
-
// organisms
|
|
200
|
-
VcApp: GlobalComponentConstructor<VcAppProps, VcAppSlots>;
|
|
201
|
-
VcBlade: GlobalComponentConstructor<VcBladeProps, VcBladeSlots>;
|
|
202
|
-
VcDynamicProperty: GlobalComponentConstructor<
|
|
203
|
-
VcDynamicPropertyProps,
|
|
204
|
-
VcDynamicPropertySlots
|
|
205
|
-
>;
|
|
206
|
-
VcGallery: GlobalComponentConstructor<VcGalleryProps, VcGallerySlots>;
|
|
207
|
-
VcLoginForm: GlobalComponentConstructor<VcLoginFormProps, VcLoginFormSlots>;
|
|
208
|
-
VcPopup: GlobalComponentConstructor<VcPopupProps, VcPopupSlots>;
|
|
209
|
-
VcTable: GlobalComponentConstructor<VcTableProps, VcTableSlots>;
|
|
210
23
|
}
|
|
211
24
|
}
|
|
212
25
|
|
|
213
|
-
export {};
|
|
26
|
+
export { };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcCardProps } from "./vc-card-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcCard: ComponentConstructor<ComponentPublicInstance<VcCardProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACvC,uBAAuB,CAAC,WAAW,CAAC,CAC9B,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcCardProps {
|
|
3
|
-
header?: string | undefined;
|
|
4
|
-
icon?: string | undefined;
|
|
5
|
-
isCollapsable?: boolean | undefined;
|
|
6
|
-
isCollapsed?: boolean | undefined;
|
|
7
|
-
fill?: boolean | undefined;
|
|
8
|
-
variant?: "default" | "success" | "danger" | undefined;
|
|
9
|
-
"onHeader:click"?: () => void;
|
|
10
|
-
"onState:collapsed"?: (isCollapsedState: boolean) => void;
|
|
11
|
-
}
|
|
12
|
-
export interface VcCardSlots {
|
|
13
|
-
default: () => VNode[];
|
|
14
|
-
actions: () => VNode[];
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=vc-card-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-card-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-card/vc-card-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACvD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,mBAAmB,CAAC,EAAE,CAAC,gBAAgB,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3D;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcCheckboxProps } from "./vc-checkbox-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcCheckbox: ComponentConstructor<ComponentPublicInstance<VcCheckboxProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,oBAAoB,CACzC,uBAAuB,CAAC,eAAe,CAAC,CAChC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcCheckboxProps {
|
|
3
|
-
modelValue?: boolean | undefined;
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
required?: boolean | undefined;
|
|
6
|
-
name?: string | undefined;
|
|
7
|
-
errorMessage?: string | undefined;
|
|
8
|
-
"onUpdate:modelValue"?: (value: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
export interface VcCheckboxSlots {
|
|
11
|
-
default: () => VNode[];
|
|
12
|
-
error: () => VNode[];
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=vc-checkbox-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-checkbox-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-checkbox/vc-checkbox-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,KAAK,EAAE,CAAC;CACtB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcColProps } from "./vc-col-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcCol: ComponentConstructor<ComponentPublicInstance<VcColProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-col/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,KAAK,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,UAAU,CAAC,CACvE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-col-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-col/vc-col-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcContainerProps } from "./vc-container-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcContainer: ComponentConstructor<ComponentPublicInstance<VcContainerProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,WAAW,EAAE,oBAAoB,CAC5C,uBAAuB,CAAC,gBAAgB,CAAC,CAC9B,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcContainerProps {
|
|
3
|
-
shadow?: boolean | undefined;
|
|
4
|
-
noPadding?: boolean | undefined;
|
|
5
|
-
usePtr?: boolean | undefined;
|
|
6
|
-
"onScroll:ptr"?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export interface VcContainerSlots {
|
|
9
|
-
default: () => VNode[];
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=vc-container-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-container-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-container/vc-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,KAAK,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAC7B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC/B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CAC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-hint/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM,KAAO,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcIconProps } from "./vc-icon-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcIcon: ComponentConstructor<ComponentPublicInstance<VcIconProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACrC,uBAAuB,CAAC,WAAW,CAAC,CAChC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-icon-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-icon/vc-icon-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,KAAK,CAAC;AAE1B,MAAM,WAAW,WAAW;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAA;CAC/C;AAED,MAAM,WAAW,WAAW;IACxB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CAC1B"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcImageProps } from "./vc-image-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcImage: ComponentConstructor<ComponentPublicInstance<VcImageProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcImageProps {
|
|
3
|
-
aspect?: string | undefined;
|
|
4
|
-
rounded?: boolean | undefined;
|
|
5
|
-
bordered?: boolean | undefined;
|
|
6
|
-
clickable?: boolean | undefined;
|
|
7
|
-
src?: string | undefined;
|
|
8
|
-
size?: "auto" | "1x1" | "16x9" | "4x3" | "3x2" | "xs" | "s" | "m" | "l" | "xl" | "xxl";
|
|
9
|
-
background?: "cover" | "contain" | "auto";
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface VcImageSlots {
|
|
13
|
-
default: () => VNode[];
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=vc-image-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-image-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-image/vc-image-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,CAAC,EACD,MAAM,GACN,KAAK,GACL,MAAM,GACN,KAAK,GACL,KAAK,GACL,IAAI,GACJ,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,KAAK,CAAC;IACV,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAC1C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcInfoRowProps } from "./vc-info-row-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcInfoRow: ComponentConstructor<ComponentPublicInstance<VcInfoRowProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-info-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,SAAS,EAAE,oBAAoB,CAC1C,uBAAuB,CAAC,cAAc,CAAC,CAC9B,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcInfoRowProps {
|
|
3
|
-
label?: string | undefined;
|
|
4
|
-
value?: string | undefined;
|
|
5
|
-
tooltip?: string | undefined;
|
|
6
|
-
type?: "default" | "email";
|
|
7
|
-
}
|
|
8
|
-
export interface VcInfoRowSlots {
|
|
9
|
-
default: () => VNode[];
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=vc-info-row-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-info-row-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-info-row/vc-info-row-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcLabelProps } from "./vc-label-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcLabel: ComponentConstructor<ComponentPublicInstance<VcLabelProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,oBAAoB,CACxC,uBAAuB,CAAC,YAAY,CAAC,CAC9B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcLabelProps {
|
|
3
|
-
required?: boolean | undefined;
|
|
4
|
-
tooltipIcon?: string | undefined;
|
|
5
|
-
}
|
|
6
|
-
export interface VcLabelSlots {
|
|
7
|
-
default: () => VNode[];
|
|
8
|
-
tooltip: () => VNode[];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=vc-label-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-label-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-label/vc-label-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;IACvB,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcLinkProps } from "./vc-link-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcLink: ComponentConstructor<ComponentPublicInstance<VcLinkProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,MAAM,EAAE,oBAAoB,CACvC,uBAAuB,CAAC,WAAW,CAAC,CAC9B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
2
|
-
export interface VcLinkProps {
|
|
3
|
-
active?: boolean | undefined;
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
}
|
|
7
|
-
export interface VcLinkSlots {
|
|
8
|
-
default: () => VNode[];
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=vc-link-model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-link-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-link/vc-link-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcLoadingProps } from "./vc-loading-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcLoading: ComponentConstructor<ComponentPublicInstance<VcLoadingProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,SAAS,EAAE,oBAAoB,CAC1C,uBAAuB,CAAC,cAAc,CAAC,CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-loading-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-loading/vc-loading-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentPublicInstance } from "vue";
|
|
2
|
-
import { VcProgressProps } from "./vc-progress-model";
|
|
3
|
-
import { ComponentConstructor } from "@/ui/types/ts-helpers";
|
|
4
|
-
export declare const VcProgress: ComponentConstructor<ComponentPublicInstance<VcProgressProps>>;
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAC3C,uBAAuB,CAAC,eAAe,CAAC,CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-progress-model.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-progress/vc-progress-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE5B,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,KAAK,EAAE,CAAC;CACxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-row/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,KAAK,KAAM,CAAC"}
|