@vc-shell/framework 1.0.57 → 1.0.59
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/plugins/validation/rules.ts +67 -24
- package/core/types/index.ts +19 -2
- package/dist/framework.mjs +1859 -4863
- package/dist/index.css +1 -1
- package/dist/types/core/plugins/validation/rules.d.ts +8 -30
- package/dist/types/core/plugins/validation/rules.d.ts.map +1 -1
- package/dist/types/core/types/index.d.ts +17 -2
- package/dist/types/core/types/index.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/shared/components/app-switcher/components/index.d.ts.map +1 -0
- package/dist/types/shared/{app-switcher → components/app-switcher}/components/vc-app-switcher/index.d.ts +5 -5
- package/dist/types/shared/components/app-switcher/components/vc-app-switcher/index.d.ts.map +1 -0
- package/dist/types/shared/{app-switcher → components/app-switcher}/components/vc-app-switcher/vc-app-switcher.vue.d.ts +1 -1
- package/dist/types/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -0
- package/dist/types/shared/components/app-switcher/composables/index.d.ts.map +1 -0
- package/dist/types/shared/{app-switcher → components/app-switcher}/composables/useAppSwitcher/index.d.ts +1 -1
- package/dist/types/shared/components/app-switcher/composables/useAppSwitcher/index.d.ts.map +1 -0
- package/dist/types/shared/components/app-switcher/index.d.ts.map +1 -0
- package/dist/types/shared/components/blade-navigation/components/index.d.ts.map +1 -0
- package/dist/types/shared/components/blade-navigation/components/vc-blade-navigation/index.d.ts.map +1 -0
- package/dist/types/shared/{blade-navigation → components/blade-navigation}/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts +1 -1
- package/dist/types/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -0
- package/dist/types/shared/components/blade-navigation/composables/index.d.ts.map +1 -0
- package/dist/types/shared/{blade-navigation → components/blade-navigation}/composables/useBladeNavigation/index.d.ts +1 -1
- package/dist/types/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -0
- package/dist/types/shared/components/blade-navigation/index.d.ts.map +1 -0
- package/dist/types/shared/{blade-navigation → components/blade-navigation}/types/index.d.ts +1 -1
- package/dist/types/shared/components/blade-navigation/types/index.d.ts.map +1 -0
- package/dist/types/shared/index.d.ts +4 -3
- package/dist/types/shared/index.d.ts.map +1 -1
- package/dist/types/shared/{assets → modules/assets}/components/assets-details/assets-details.vue.d.ts +4 -13
- package/dist/types/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -0
- package/dist/types/shared/{assets → modules/assets}/components/assets-details/index.d.ts +6 -7
- package/dist/types/shared/modules/assets/components/assets-details/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets/components/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets/locales/index.d.ts +3 -0
- package/dist/types/shared/modules/assets/locales/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +58 -0
- package/dist/types/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -0
- package/dist/types/shared/modules/assets-manager/components/assets-manager/index.d.ts +59 -0
- package/dist/types/shared/modules/assets-manager/components/assets-manager/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets-manager/components/index.d.ts +2 -0
- package/dist/types/shared/modules/assets-manager/components/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets-manager/index.d.ts +12 -0
- package/dist/types/shared/modules/assets-manager/index.d.ts.map +1 -0
- package/dist/types/shared/modules/assets-manager/locales/index.d.ts.map +1 -0
- package/dist/types/shared/utilities/assets.d.ts +5 -0
- package/dist/types/shared/utilities/assets.d.ts.map +1 -0
- package/dist/types/ui/components/atoms/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-input/index.d.ts +0 -4
- package/dist/types/ui/components/molecules/vc-input/index.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-input/vc-input.vue.d.ts +1 -1
- package/dist/types/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/types/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +2 -19
- package/dist/types/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -20
- package/dist/types/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-gallery/index.d.ts +30 -33
- package/dist/types/ui/components/organisms/vc-gallery/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +2 -6
- package/dist/types/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/index.d.ts +49 -37
- package/dist/types/ui/components/organisms/vc-table/index.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts +49 -37
- package/dist/types/ui/components/organisms/vc-table/vc-table.stories.d.ts.map +1 -1
- package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts +12 -7
- package/dist/types/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +5 -6
- package/shared/{app-switcher → components/app-switcher}/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/{app-switcher → components/app-switcher}/composables/useAppSwitcher/index.ts +2 -2
- package/shared/{app-switcher → components/app-switcher}/index.ts +1 -1
- package/shared/{blade-navigation → components/blade-navigation}/components/vc-blade-navigation/vc-blade-navigation.vue +2 -2
- package/shared/{blade-navigation → components/blade-navigation}/composables/useBladeNavigation/index.ts +6 -5
- package/shared/{blade-navigation → components/blade-navigation}/index.ts +1 -1
- package/shared/{blade-navigation → components/blade-navigation}/types/index.ts +1 -1
- package/shared/index.ts +10 -7
- package/shared/modules/assets/components/assets-details/assets-details.vue +166 -0
- package/shared/{assets → modules/assets}/index.ts +1 -1
- package/shared/{assets → modules/assets}/locales/en.json +7 -5
- package/shared/modules/assets/locales/index.ts +2 -0
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +372 -0
- package/shared/modules/assets-manager/components/assets-manager/index.ts +3 -0
- package/shared/modules/assets-manager/components/index.ts +1 -0
- package/shared/modules/assets-manager/index.ts +14 -0
- package/shared/modules/assets-manager/locales/en.json +28 -0
- package/shared/utilities/assets.ts +40 -0
- package/ui/components/atoms/vc-checkbox/vc-checkbox.vue +1 -11
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +1 -0
- package/ui/components/molecules/vc-input/vc-input.vue +1 -1
- package/ui/components/molecules/vc-select/vc-select.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +3 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +3 -6
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +2 -6
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +6 -0
- package/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue +5 -11
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +164 -49
- package/ui/components/organisms/vc-table/vc-table.vue +171 -100
- package/dist/types/shared/app-switcher/components/index.d.ts.map +0 -1
- package/dist/types/shared/app-switcher/components/vc-app-switcher/index.d.ts.map +0 -1
- package/dist/types/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +0 -1
- package/dist/types/shared/app-switcher/composables/index.d.ts.map +0 -1
- package/dist/types/shared/app-switcher/composables/useAppSwitcher/index.d.ts.map +0 -1
- package/dist/types/shared/app-switcher/index.d.ts.map +0 -1
- package/dist/types/shared/assets/components/assets-details/assets-details.vue.d.ts.map +0 -1
- package/dist/types/shared/assets/components/assets-details/index.d.ts.map +0 -1
- package/dist/types/shared/assets/components/index.d.ts.map +0 -1
- package/dist/types/shared/assets/index.d.ts.map +0 -1
- package/dist/types/shared/assets/locales/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/components/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/components/vc-blade-navigation/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/composables/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/composables/useBladeNavigation/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/index.d.ts.map +0 -1
- package/dist/types/shared/blade-navigation/types/index.d.ts.map +0 -1
- package/shared/assets/components/assets-details/assets-details.vue +0 -116
- /package/dist/types/shared/{app-switcher → components/app-switcher}/components/index.d.ts +0 -0
- /package/dist/types/shared/{app-switcher → components/app-switcher}/composables/index.d.ts +0 -0
- /package/dist/types/shared/{app-switcher → components/app-switcher}/index.d.ts +0 -0
- /package/dist/types/shared/{blade-navigation → components/blade-navigation}/components/index.d.ts +0 -0
- /package/dist/types/shared/{blade-navigation → components/blade-navigation}/components/vc-blade-navigation/index.d.ts +0 -0
- /package/dist/types/shared/{blade-navigation → components/blade-navigation}/composables/index.d.ts +0 -0
- /package/dist/types/shared/{blade-navigation → components/blade-navigation}/index.d.ts +0 -0
- /package/dist/types/shared/{assets → modules/assets}/components/index.d.ts +0 -0
- /package/dist/types/shared/{assets → modules/assets}/index.d.ts +0 -0
- /package/dist/types/shared/{assets → modules/assets-manager}/locales/index.d.ts +0 -0
- /package/shared/{app-switcher → components/app-switcher}/components/index.ts +0 -0
- /package/shared/{app-switcher → components/app-switcher}/components/vc-app-switcher/index.ts +0 -0
- /package/shared/{app-switcher → components/app-switcher}/composables/index.ts +0 -0
- /package/shared/{blade-navigation → components/blade-navigation}/components/index.ts +0 -0
- /package/shared/{blade-navigation → components/blade-navigation}/components/vc-blade-navigation/index.ts +0 -0
- /package/shared/{blade-navigation → components/blade-navigation}/composables/index.ts +0 -0
- /package/shared/{assets → modules/assets}/components/assets-details/index.ts +0 -0
- /package/shared/{assets → modules/assets}/components/index.ts +0 -0
- /package/shared/{assets → modules/assets-manager}/locales/index.ts +0 -0
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
<!-- Desktop table view -->
|
|
92
92
|
<table
|
|
93
93
|
v-else
|
|
94
|
-
|
|
94
|
+
ref="tableRef"
|
|
95
|
+
class="[border-spacing:0] tw-border-collapse tw-relative tw-pt-[43px] tw-table-fixed tw-box-border tw-w-full"
|
|
95
96
|
:class="{
|
|
96
97
|
'vc-table_empty': !items || !items.length,
|
|
97
98
|
'vc-table_multiselect': multiselect,
|
|
@@ -99,7 +100,7 @@
|
|
|
99
100
|
>
|
|
100
101
|
<thead
|
|
101
102
|
v-if="filteredCols"
|
|
102
|
-
class="vc-table__header"
|
|
103
|
+
class="vc-table__header tw-relative"
|
|
103
104
|
>
|
|
104
105
|
<tr class="vc-table__header-row">
|
|
105
106
|
<th
|
|
@@ -108,8 +109,7 @@
|
|
|
108
109
|
>
|
|
109
110
|
<div class="tw-flex tw-justify-center tw-items-center">
|
|
110
111
|
<VcCheckbox
|
|
111
|
-
|
|
112
|
-
@update:modelValue="processHeaderCheckbox"
|
|
112
|
+
v-model="headerCheckbox"
|
|
113
113
|
@click.stop
|
|
114
114
|
></VcCheckbox>
|
|
115
115
|
</div>
|
|
@@ -194,7 +194,11 @@
|
|
|
194
194
|
</tr>
|
|
195
195
|
<div
|
|
196
196
|
ref="resizer"
|
|
197
|
-
class="tw-w-
|
|
197
|
+
class="tw-w-px tw-absolute tw-z-10 tw-hidden tw-h-full tw-bg-[#e5e7eb] tw-cursor-col-resize"
|
|
198
|
+
></div>
|
|
199
|
+
<div
|
|
200
|
+
ref="reorderRef"
|
|
201
|
+
class="tw-w-0.5 tw-bg-[#41afe6] tw-h-full tw-absolute tw-top-0 tw-bottom-0 tw-z-[2] tw-hidden"
|
|
198
202
|
></div>
|
|
199
203
|
</thead>
|
|
200
204
|
|
|
@@ -203,11 +207,11 @@
|
|
|
203
207
|
class="vc-table__body"
|
|
204
208
|
>
|
|
205
209
|
<tr
|
|
206
|
-
v-for="(item,
|
|
207
|
-
:key="(typeof item === 'object' && 'id' in item && item.id) ||
|
|
210
|
+
v-for="(item, itemIndex) in items"
|
|
211
|
+
:key="(typeof item === 'object' && 'id' in item && item.id) || itemIndex"
|
|
208
212
|
class="vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9] tw-cursor-pointer"
|
|
209
213
|
:class="{
|
|
210
|
-
'tw-bg-[#f8f8f8]':
|
|
214
|
+
'tw-bg-[#f8f8f8]': itemIndex % 2 === 1,
|
|
211
215
|
'!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]':
|
|
212
216
|
typeof item === 'object' && 'id' in item && item.id ? selectedItemId === item.id : false,
|
|
213
217
|
}"
|
|
@@ -223,18 +227,19 @@
|
|
|
223
227
|
<td
|
|
224
228
|
v-if="multiselect && typeof item === 'object'"
|
|
225
229
|
class="tw-w-[50px] tw-max-w-[50px] tw-min-w-[50px]"
|
|
230
|
+
@click.stop
|
|
226
231
|
>
|
|
227
232
|
<div class="tw-flex tw-justify-center tw-items-center">
|
|
228
233
|
<VcCheckbox
|
|
229
|
-
:
|
|
230
|
-
|
|
231
|
-
@click.stop
|
|
234
|
+
@update:model-value="rowCheckbox(item)"
|
|
235
|
+
:model-value="isSelected(item)"
|
|
232
236
|
></VcCheckbox>
|
|
233
237
|
</div>
|
|
234
238
|
</td>
|
|
235
239
|
<td
|
|
236
240
|
class="tw-box-border tw-overflow-visible tw-px-3 tw-w-[44px] tw-max-w-[44px] tw-min-w-[44px]"
|
|
237
241
|
v-if="itemActionBuilder && typeof item === 'object'"
|
|
242
|
+
@click.stop
|
|
238
243
|
>
|
|
239
244
|
<div class="vc-table__body-actions-container tw-relative tw-flex tw-justify-center tw-items-center">
|
|
240
245
|
<button
|
|
@@ -242,7 +247,7 @@
|
|
|
242
247
|
@click.stop="showActions(item, item.id)"
|
|
243
248
|
:ref="(el: Element) => setActionToggleRefs(el, item.id)"
|
|
244
249
|
aria-describedby="tooltip"
|
|
245
|
-
:disabled="!(
|
|
250
|
+
:disabled="!(itemActions[itemIndex] && itemActions[itemIndex].length)"
|
|
246
251
|
>
|
|
247
252
|
<VcIcon
|
|
248
253
|
icon="fas fa-ellipsis-v"
|
|
@@ -257,10 +262,10 @@
|
|
|
257
262
|
role="tooltip"
|
|
258
263
|
>
|
|
259
264
|
<div
|
|
260
|
-
class="tw-flex tw-items-
|
|
265
|
+
class="tw-flex tw-items-start tw-flex-col tw-text-[#3f3f3f] tw-font-normal not-italic tw-text-base tw-leading-[20px] tw-gap-[25px]"
|
|
261
266
|
>
|
|
262
267
|
<div
|
|
263
|
-
v-for="(itemAction, i) in
|
|
268
|
+
v-for="(itemAction, i) in itemActions[itemIndex]"
|
|
264
269
|
:key="i"
|
|
265
270
|
:class="[
|
|
266
271
|
'tw-flex tw-flex-row tw-items-center tw-text-[#319ed4] tw-cursor-pointer',
|
|
@@ -288,8 +293,8 @@
|
|
|
288
293
|
</td>
|
|
289
294
|
<td
|
|
290
295
|
v-for="cell in filteredCols"
|
|
291
|
-
:key="`${(typeof item === 'object' && 'id' in item && item.id) ||
|
|
292
|
-
class="tw-box-border tw-overflow-hidden tw-px-3"
|
|
296
|
+
:key="`${(typeof item === 'object' && 'id' in item && item.id) || itemIndex}_${cell.id}`"
|
|
297
|
+
class="tw-box-border tw-overflow-hidden tw-px-3 tw-truncate"
|
|
293
298
|
:class="cell.class"
|
|
294
299
|
:style="{ maxWidth: cell.width, width: cell.width }"
|
|
295
300
|
>
|
|
@@ -387,7 +392,7 @@
|
|
|
387
392
|
</template>
|
|
388
393
|
|
|
389
394
|
<script lang="ts" setup>
|
|
390
|
-
import { computed, nextTick, ref, watch, onBeforeUpdate, onBeforeUnmount, Ref } from "vue";
|
|
395
|
+
import { computed, nextTick, ref, watch, onBeforeUpdate, onBeforeUnmount, Ref, onUpdated, onBeforeMount } from "vue";
|
|
391
396
|
import VcTableCounter from "./_internal/vc-table-counter/vc-table-counter.vue";
|
|
392
397
|
import VcTableFilter from "./_internal/vc-table-filter/vc-table-filter.vue";
|
|
393
398
|
import VcTableMobileItem from "./_internal/vc-table-mobile-item/vc-table-mobile-item.vue";
|
|
@@ -395,7 +400,7 @@ import VcTableCell from "./_internal/vc-table-cell/vc-table-cell.vue";
|
|
|
395
400
|
import VcTableColumnSwitcher from "./_internal/vc-table-column-switcher/vc-table-column-switcher.vue";
|
|
396
401
|
import { createPopper, Instance } from "@popperjs/core";
|
|
397
402
|
import { IActionBuilderResult, ITableColumns } from "./../../../../core/types";
|
|
398
|
-
import { useLocalStorage,
|
|
403
|
+
import { useLocalStorage, useCurrentElement } from "@vueuse/core";
|
|
399
404
|
import VcContainer from "./../../atoms/vc-container/vc-container.vue";
|
|
400
405
|
|
|
401
406
|
export interface StatusImage {
|
|
@@ -420,6 +425,11 @@ export interface Props {
|
|
|
420
425
|
itemActionBuilder?: (item: TableItem) => IActionBuilderResult[];
|
|
421
426
|
sort?: string;
|
|
422
427
|
multiselect?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Emit whole item instead of {id: boolean} while prop multiselect = true
|
|
430
|
+
* @default false
|
|
431
|
+
*/
|
|
432
|
+
multiselectEmitItem?: boolean;
|
|
423
433
|
expanded?: boolean;
|
|
424
434
|
totalLabel?: string;
|
|
425
435
|
totalCount?: number;
|
|
@@ -443,10 +453,10 @@ export interface Props {
|
|
|
443
453
|
|
|
444
454
|
export interface Emits {
|
|
445
455
|
(event: "paginationClick", page: number): void;
|
|
446
|
-
(event: "selectionChanged", values:
|
|
456
|
+
(event: "selectionChanged", values: TableItemType[]): void;
|
|
447
457
|
(event: "search:change", value: string): void;
|
|
448
458
|
(event: "headerClick", value: Record<string, unknown>): void;
|
|
449
|
-
(event: "itemClick", item:
|
|
459
|
+
(event: "itemClick", item: TableItemType): void;
|
|
450
460
|
(event: "scroll:ptr"): void;
|
|
451
461
|
(event: "row:reorder", args: { dragIndex: number; dropIndex: number; value: TableItemType[] }): void;
|
|
452
462
|
}
|
|
@@ -479,26 +489,35 @@ interface ITableItemRef {
|
|
|
479
489
|
|
|
480
490
|
const emit = defineEmits<Emits>();
|
|
481
491
|
|
|
482
|
-
|
|
492
|
+
// template refs
|
|
493
|
+
const tooltipRefs = ref<ITableItemRef[]>([]);
|
|
494
|
+
const reorderRef = ref<HTMLElement | null>();
|
|
495
|
+
const tableRef = ref<HTMLElement | null>();
|
|
496
|
+
|
|
497
|
+
// event listeners
|
|
498
|
+
let columnResizeListener = null;
|
|
499
|
+
let columnResizeEndListener = null;
|
|
500
|
+
|
|
501
|
+
const selection = ref<TableItemType[]>([]);
|
|
502
|
+
|
|
483
503
|
const selectedRow = ref<string>();
|
|
484
504
|
const tooltip = ref<Instance>();
|
|
485
505
|
const scrollContainer = ref<typeof VcContainer>();
|
|
486
506
|
const actionToggleRefs = ref<ITableItemRef[]>([]);
|
|
487
|
-
|
|
507
|
+
|
|
508
|
+
const itemActions = ref<IActionBuilderResult[][]>([]);
|
|
488
509
|
const mobileSwipeItem = ref<string>();
|
|
489
510
|
const columnResizing = ref(false);
|
|
490
511
|
const resizeColumnElement = ref<ITableColumns>();
|
|
491
512
|
const nextColumn = ref<ITableColumns>();
|
|
492
513
|
const lastResize = ref<number>();
|
|
493
514
|
const table = useCurrentElement();
|
|
494
|
-
const columnResizeListener = ref(null);
|
|
495
|
-
const columnResizeEndListener = ref(null);
|
|
496
515
|
const resizer = ref();
|
|
497
|
-
const state = useLocalStorage(props.stateKey, []);
|
|
516
|
+
const state = useLocalStorage("VC_TABLE_STATE_" + props.stateKey.toUpperCase(), []);
|
|
498
517
|
const defaultColumns: Ref<ITableColumns[]> = ref([]);
|
|
499
518
|
const draggedColumn = ref();
|
|
519
|
+
const draggedElement = ref<HTMLElement>();
|
|
500
520
|
const dropPosition = ref();
|
|
501
|
-
const calculatedItems = computedAsync(async () => await populateWithActions(props.items), []);
|
|
502
521
|
|
|
503
522
|
// row reordering variables
|
|
504
523
|
const draggedRow = ref<TableItemType>();
|
|
@@ -506,13 +525,25 @@ const rowDragged = ref(false);
|
|
|
506
525
|
const droppedRowIndex = ref<number>();
|
|
507
526
|
const draggedRowIndex = ref<number>();
|
|
508
527
|
|
|
528
|
+
onBeforeMount(() => {
|
|
529
|
+
if (isStateful()) {
|
|
530
|
+
restoreState();
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
onBeforeUnmount(() => {
|
|
535
|
+
unbindColumnResizeEvents();
|
|
536
|
+
});
|
|
537
|
+
|
|
509
538
|
onBeforeUpdate(() => {
|
|
510
539
|
actionToggleRefs.value = [];
|
|
511
540
|
tooltipRefs.value = [];
|
|
512
541
|
});
|
|
513
542
|
|
|
514
|
-
|
|
515
|
-
|
|
543
|
+
onUpdated(() => {
|
|
544
|
+
if (isStateful()) {
|
|
545
|
+
saveState();
|
|
546
|
+
}
|
|
516
547
|
});
|
|
517
548
|
|
|
518
549
|
const sortDirection = computed(() => {
|
|
@@ -540,12 +571,21 @@ const tableAlignment = {
|
|
|
540
571
|
evenly: "tw-justify-evenly",
|
|
541
572
|
};
|
|
542
573
|
|
|
543
|
-
const headerCheckbox = computed(
|
|
544
|
-
|
|
574
|
+
const headerCheckbox = computed({
|
|
575
|
+
get() {
|
|
576
|
+
return props.items ? selection.value.length === props.items.length : false;
|
|
577
|
+
},
|
|
578
|
+
set(checked: boolean) {
|
|
579
|
+
let _selected = [];
|
|
545
580
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
581
|
+
if (checked) {
|
|
582
|
+
_selected = props.items;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
selection.value = _selected;
|
|
586
|
+
|
|
587
|
+
emit("selectionChanged", selection.value);
|
|
588
|
+
},
|
|
549
589
|
});
|
|
550
590
|
|
|
551
591
|
const filteredCols = computed(() => {
|
|
@@ -558,14 +598,10 @@ const filteredCols = computed(() => {
|
|
|
558
598
|
|
|
559
599
|
watch(
|
|
560
600
|
() => props.items,
|
|
561
|
-
|
|
562
|
-
checkboxes.value = {};
|
|
563
|
-
value?.forEach((item) => {
|
|
564
|
-
if (typeof item === "object" && "id" in item) {
|
|
565
|
-
checkboxes.value[item.id] = false;
|
|
566
|
-
}
|
|
567
|
-
});
|
|
601
|
+
(newVal) => {
|
|
568
602
|
scrollContainer.value?.scrollTop();
|
|
603
|
+
|
|
604
|
+
calculateActions(newVal);
|
|
569
605
|
},
|
|
570
606
|
{ deep: true, immediate: true }
|
|
571
607
|
);
|
|
@@ -573,10 +609,6 @@ watch(
|
|
|
573
609
|
watch(
|
|
574
610
|
() => props.columns,
|
|
575
611
|
(newVal) => {
|
|
576
|
-
if (isStateful()) {
|
|
577
|
-
nextTick(() => restoreState());
|
|
578
|
-
}
|
|
579
|
-
|
|
580
612
|
if (!defaultColumns.value.length) {
|
|
581
613
|
defaultColumns.value = newVal;
|
|
582
614
|
}
|
|
@@ -584,28 +616,20 @@ watch(
|
|
|
584
616
|
{ deep: true, immediate: true }
|
|
585
617
|
);
|
|
586
618
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
if (value && typeof value === "object") {
|
|
591
|
-
if (props.itemActionBuilder && typeof props.itemActionBuilder === "function") {
|
|
592
|
-
for (let index = 0; index < value.length; index++) {
|
|
593
|
-
const element = value[index] as Record<string, unknown>;
|
|
594
|
-
|
|
595
|
-
if (!("actions" in element && element.actions))
|
|
596
|
-
populatedItems.push({
|
|
597
|
-
actions: await calculateActions(element),
|
|
598
|
-
...element,
|
|
599
|
-
});
|
|
600
|
-
}
|
|
619
|
+
function isSelected(item: TableItemType) {
|
|
620
|
+
return selection.value.indexOf(item) > -1;
|
|
621
|
+
}
|
|
601
622
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
623
|
+
function rowCheckbox(item: TableItemType) {
|
|
624
|
+
const clear = item;
|
|
625
|
+
const index = selection.value.indexOf(clear);
|
|
626
|
+
if (index > -1) {
|
|
627
|
+
selection.value = selection.value.filter((x) => x !== clear);
|
|
606
628
|
} else {
|
|
607
|
-
|
|
629
|
+
selection.value.push(clear);
|
|
608
630
|
}
|
|
631
|
+
|
|
632
|
+
emit("selectionChanged", selection.value);
|
|
609
633
|
}
|
|
610
634
|
|
|
611
635
|
function setTooltipRefs(el: Element, id: string) {
|
|
@@ -626,17 +650,6 @@ function setActionToggleRefs(el: Element, id: string) {
|
|
|
626
650
|
}
|
|
627
651
|
}
|
|
628
652
|
|
|
629
|
-
function processHeaderCheckbox() {
|
|
630
|
-
const currentState = Object.values(checkboxes.value).every((value) => value);
|
|
631
|
-
Object.keys(checkboxes.value).forEach((key) => (checkboxes.value[key] = !currentState));
|
|
632
|
-
emit("selectionChanged", checkboxes.value);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
function processCheckbox(id: string, state: boolean) {
|
|
636
|
-
checkboxes.value[id] = state;
|
|
637
|
-
emit("selectionChanged", checkboxes.value);
|
|
638
|
-
}
|
|
639
|
-
|
|
640
653
|
function showActions(item: TableItem, index: string) {
|
|
641
654
|
selectedRow.value = item.id;
|
|
642
655
|
|
|
@@ -661,9 +674,16 @@ function showActions(item: TableItem, index: string) {
|
|
|
661
674
|
}
|
|
662
675
|
}
|
|
663
676
|
|
|
664
|
-
async function calculateActions(
|
|
677
|
+
async function calculateActions(items: TableItemType[]) {
|
|
665
678
|
if (typeof props.itemActionBuilder === "function") {
|
|
666
|
-
|
|
679
|
+
let populatedItems = [];
|
|
680
|
+
for (let index = 0; index < items.length; index++) {
|
|
681
|
+
if (typeof items[index] === "object") {
|
|
682
|
+
const elementWithActions = await props.itemActionBuilder(items[index] as TableItem);
|
|
683
|
+
populatedItems.push(elementWithActions);
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
itemActions.value = populatedItems;
|
|
667
687
|
}
|
|
668
688
|
}
|
|
669
689
|
|
|
@@ -690,15 +710,15 @@ function handleMouseDown(e: MouseEvent, item: ITableColumns) {
|
|
|
690
710
|
}
|
|
691
711
|
|
|
692
712
|
function bindColumnResizeEvents() {
|
|
693
|
-
if (!columnResizeListener
|
|
694
|
-
columnResizeListener
|
|
713
|
+
if (!columnResizeListener) {
|
|
714
|
+
columnResizeListener = document.addEventListener("mousemove", (event: MouseEvent) => {
|
|
695
715
|
if (columnResizing.value) {
|
|
696
716
|
onColumnResize(event);
|
|
697
717
|
}
|
|
698
718
|
});
|
|
699
719
|
}
|
|
700
|
-
if (!columnResizeEndListener
|
|
701
|
-
columnResizeEndListener
|
|
720
|
+
if (!columnResizeEndListener) {
|
|
721
|
+
columnResizeEndListener = document.addEventListener("mouseup", () => {
|
|
702
722
|
if (columnResizing.value) {
|
|
703
723
|
columnResizing.value = false;
|
|
704
724
|
onColumnResizeEnd();
|
|
@@ -708,13 +728,13 @@ function bindColumnResizeEvents() {
|
|
|
708
728
|
}
|
|
709
729
|
|
|
710
730
|
function unbindColumnResizeEvents() {
|
|
711
|
-
if (columnResizeListener
|
|
712
|
-
document.removeEventListener("document", columnResizeListener
|
|
713
|
-
columnResizeListener
|
|
731
|
+
if (columnResizeListener) {
|
|
732
|
+
document.removeEventListener("document", columnResizeListener);
|
|
733
|
+
columnResizeListener = null;
|
|
714
734
|
}
|
|
715
|
-
if (columnResizeEndListener
|
|
716
|
-
document.removeEventListener("document", columnResizeEndListener
|
|
717
|
-
columnResizeEndListener
|
|
735
|
+
if (columnResizeEndListener) {
|
|
736
|
+
document.removeEventListener("document", columnResizeEndListener);
|
|
737
|
+
columnResizeEndListener = null;
|
|
718
738
|
}
|
|
719
739
|
}
|
|
720
740
|
|
|
@@ -784,6 +804,7 @@ function onColumnHeaderDragStart(event: DragEvent, item: ITableColumns) {
|
|
|
784
804
|
}
|
|
785
805
|
|
|
786
806
|
draggedColumn.value = item;
|
|
807
|
+
draggedElement.value = event.target as HTMLElement
|
|
787
808
|
event.dataTransfer.setData("text", "reorder");
|
|
788
809
|
}
|
|
789
810
|
|
|
@@ -807,16 +828,25 @@ function onColumnHeaderDragOver(event: DragEvent) {
|
|
|
807
828
|
|
|
808
829
|
if (props.reorderableColumns && draggedColumn.value && dropHeader) {
|
|
809
830
|
event.preventDefault();
|
|
831
|
+
let containerOffset = getOffset(table.value as HTMLElement);
|
|
810
832
|
let dropHeaderOffset = getOffset(dropHeader);
|
|
811
833
|
|
|
812
|
-
if (
|
|
834
|
+
if (draggedElement.value !== dropHeader) {
|
|
835
|
+
let targetLeft = dropHeaderOffset.left - containerOffset.left;
|
|
813
836
|
let columnCenter = dropHeaderOffset.left + dropHeader.offsetWidth / 2;
|
|
814
837
|
|
|
838
|
+
reorderRef.value.style.top = dropHeaderOffset.top - getOffset(tableRef.value).top + "px";
|
|
839
|
+
|
|
815
840
|
if (event.pageX > columnCenter) {
|
|
841
|
+
reorderRef.value.style.left = targetLeft + dropHeader.offsetWidth + "px";
|
|
842
|
+
|
|
816
843
|
dropPosition.value = 1;
|
|
817
844
|
} else {
|
|
845
|
+
reorderRef.value.style.left = targetLeft + "px";
|
|
818
846
|
dropPosition.value = -1;
|
|
819
847
|
}
|
|
848
|
+
|
|
849
|
+
reorderRef.value.style.display = "block";
|
|
820
850
|
}
|
|
821
851
|
}
|
|
822
852
|
}
|
|
@@ -824,6 +854,8 @@ function onColumnHeaderDragOver(event: DragEvent) {
|
|
|
824
854
|
function onColumnHeaderDragLeave(event: DragEvent) {
|
|
825
855
|
if (props.reorderableColumns && draggedColumn.value) {
|
|
826
856
|
event.preventDefault();
|
|
857
|
+
|
|
858
|
+
reorderRef.value.style.display = "none";
|
|
827
859
|
}
|
|
828
860
|
}
|
|
829
861
|
|
|
@@ -852,7 +884,8 @@ function onColumnHeaderDrop(event: DragEvent, item: ITableColumns) {
|
|
|
852
884
|
}
|
|
853
885
|
}
|
|
854
886
|
|
|
855
|
-
|
|
887
|
+
reorderRef.value.style.display = "none";
|
|
888
|
+
draggedElement.value.draggable = false;
|
|
856
889
|
draggedColumn.value = null;
|
|
857
890
|
dropPosition.value = null;
|
|
858
891
|
}
|
|
@@ -914,25 +947,45 @@ function onRowMouseDown(event: MouseEvent & { currentTarget?: { draggable: boole
|
|
|
914
947
|
}
|
|
915
948
|
|
|
916
949
|
function onRowDragStart(event: DragEvent, item: TableItem | string) {
|
|
950
|
+
if (!props.reorderableRows) {
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
917
953
|
rowDragged.value = true;
|
|
918
954
|
draggedRow.value = item;
|
|
919
|
-
draggedRowIndex.value =
|
|
955
|
+
draggedRowIndex.value = props.items.indexOf(item);
|
|
920
956
|
event.dataTransfer.setData("text", "row-reorder");
|
|
921
957
|
}
|
|
922
958
|
|
|
923
959
|
function onRowDragOver(event: DragEvent, item: TableItem | string) {
|
|
924
|
-
|
|
960
|
+
if (!props.reorderableRows) {
|
|
961
|
+
return;
|
|
962
|
+
}
|
|
963
|
+
const index = props.items.indexOf(item);
|
|
925
964
|
|
|
926
965
|
if (rowDragged.value && draggedRow.value !== item) {
|
|
927
|
-
let rowElement = event.currentTarget;
|
|
928
|
-
let rowY = getOffset(rowElement
|
|
966
|
+
let rowElement = event.currentTarget as HTMLElement;
|
|
967
|
+
let rowY = getOffset(rowElement).top;
|
|
929
968
|
let pageY = event.pageY;
|
|
930
|
-
let rowMidY = rowY +
|
|
969
|
+
let rowMidY = rowY + rowElement.offsetHeight / 2;
|
|
970
|
+
let previousRowElement = rowElement.previousElementSibling;
|
|
931
971
|
|
|
932
972
|
if (pageY < rowMidY) {
|
|
973
|
+
rowElement.classList.remove("vc-table__drag-row-bottom");
|
|
933
974
|
droppedRowIndex.value = index;
|
|
975
|
+
|
|
976
|
+
if (previousRowElement) {
|
|
977
|
+
previousRowElement.classList.add("vc-table__drag-row-bottom");
|
|
978
|
+
} else {
|
|
979
|
+
rowElement.classList.add("vc-table__drag-row-top");
|
|
980
|
+
}
|
|
934
981
|
} else {
|
|
982
|
+
if (previousRowElement) {
|
|
983
|
+
previousRowElement.classList.remove("vc-table__drag-row-bottom");
|
|
984
|
+
} else {
|
|
985
|
+
rowElement.classList.add("vc-table__drag-row-top");
|
|
986
|
+
}
|
|
935
987
|
droppedRowIndex.value = index + 1;
|
|
988
|
+
rowElement.classList.add("vc-table__drag-row-bottom");
|
|
936
989
|
}
|
|
937
990
|
|
|
938
991
|
event.preventDefault();
|
|
@@ -941,6 +994,16 @@ function onRowDragOver(event: DragEvent, item: TableItem | string) {
|
|
|
941
994
|
|
|
942
995
|
function onRowDragLeave(event: DragEvent) {
|
|
943
996
|
event.preventDefault();
|
|
997
|
+
|
|
998
|
+
let rowElement = event.currentTarget as HTMLElement;
|
|
999
|
+
let previousRowElement = rowElement.previousElementSibling;
|
|
1000
|
+
|
|
1001
|
+
if (previousRowElement) {
|
|
1002
|
+
previousRowElement.classList.remove("vc-table__drag-row-bottom");
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
rowElement.classList.remove("vc-table__drag-row-top");
|
|
1006
|
+
rowElement.classList.remove("vc-table__drag-row-bottom");
|
|
944
1007
|
}
|
|
945
1008
|
|
|
946
1009
|
function onRowDragEnd(event: DragEvent & { currentTarget?: { draggable: boolean } }) {
|
|
@@ -950,7 +1013,7 @@ function onRowDragEnd(event: DragEvent & { currentTarget?: { draggable: boolean
|
|
|
950
1013
|
event.currentTarget.draggable = false;
|
|
951
1014
|
}
|
|
952
1015
|
|
|
953
|
-
function onRowDrop(event) {
|
|
1016
|
+
function onRowDrop(event: DragEvent) {
|
|
954
1017
|
if (droppedRowIndex.value != null) {
|
|
955
1018
|
let dropIndex =
|
|
956
1019
|
draggedRowIndex.value > droppedRowIndex.value
|
|
@@ -959,7 +1022,7 @@ function onRowDrop(event) {
|
|
|
959
1022
|
? 0
|
|
960
1023
|
: droppedRowIndex.value - 1;
|
|
961
1024
|
|
|
962
|
-
let processedItems = [...
|
|
1025
|
+
let processedItems = [...props.items];
|
|
963
1026
|
|
|
964
1027
|
reorderArray(processedItems, draggedRowIndex.value, dropIndex);
|
|
965
1028
|
|
|
@@ -972,12 +1035,16 @@ function onRowDrop(event) {
|
|
|
972
1035
|
|
|
973
1036
|
// cleanup
|
|
974
1037
|
onRowDragLeave(event);
|
|
975
|
-
onRowDragEnd(event);
|
|
1038
|
+
onRowDragEnd(event as DragEvent & { currentTarget?: { draggable: boolean } });
|
|
976
1039
|
event.preventDefault();
|
|
977
1040
|
}
|
|
978
1041
|
</script>
|
|
979
1042
|
|
|
980
1043
|
<style lang="scss">
|
|
1044
|
+
:root {
|
|
1045
|
+
--row-drag-color: #41afe6;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
981
1048
|
$variants: (
|
|
982
1049
|
danger: #ff4a4a,
|
|
983
1050
|
success: #87b563,
|
|
@@ -1021,10 +1088,6 @@ $variants: (
|
|
|
1021
1088
|
top: -5px;
|
|
1022
1089
|
}
|
|
1023
1090
|
|
|
1024
|
-
// &-row:hover .vc-table__body-actions-container {
|
|
1025
|
-
// @apply tw-flex #{!important};
|
|
1026
|
-
// }
|
|
1027
|
-
|
|
1028
1091
|
&-actions-item {
|
|
1029
1092
|
@each $name, $variant in $variants {
|
|
1030
1093
|
&_#{$name} {
|
|
@@ -1050,5 +1113,13 @@ $variants: (
|
|
|
1050
1113
|
@apply tw-top-[-5px];
|
|
1051
1114
|
}
|
|
1052
1115
|
}
|
|
1116
|
+
|
|
1117
|
+
&__drag-row-bottom {
|
|
1118
|
+
box-shadow: inset 0 -2px 0 0 var(--row-drag-color);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
&__drag-row-top {
|
|
1122
|
+
box-shadow: inset 0 2px 0 0 var(--row-drag-color);
|
|
1123
|
+
}
|
|
1053
1124
|
}
|
|
1054
1125
|
</style>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/app-switcher/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/app-switcher/components/vc-app-switcher/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC"}
|
package/dist/types/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-app-switcher.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;;;;;;;;;;;;AAED,wBAwJc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/app-switcher/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/app-switcher/composables/useAppSwitcher/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAO,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,aAAa,EAAc,MAAM,wBAAwB,CAAC;AAGnE,UAAU,eAAe;IACvB,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACzC;8BAEkB,eAAe;AAAlC,wBAsCE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/app-switcher/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAG3C,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,gBAAgB;QAC/B,aAAa,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,eAAe,CAAC,CAAC;KACrD;CACF;;;;AAED,wBAAwC;AAExC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assets-details.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/assets/components/assets-details/assets-details.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE;QACR,aAAa,EAAE,WAAW,CAAC;QAC3B,WAAW,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,KAAK,IAAI,CAAC;KACjE,CAAC;CACH;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IACpD,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;;;;;;;;;;;;;;;;;;AAED,wBAsKc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/assets/components/assets-details/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/assets/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/assets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAI3C,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,gBAAgB;QAC/B,aAAa,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,eAAe,CAAC,CAAC;KACrD;CACF;;;;AAED,wBAAiD;AAEjD,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/assets/locales/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,EAAE,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/blade-navigation/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/blade-navigation/components/vc-blade-navigation/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vc-blade-navigation.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAiB,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEpG,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;QAAE,KAAK,EAAE,WAAW,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACnE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,eAAe,CAAA;KAAE,GAAG,IAAI,CAAC;CAC5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED,wBAmJc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/blade-navigation/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/blade-navigation/composables/useBladeNavigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,GAAG,EAAE,MAAM,KAAK,CAAC;AAEvD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpE,OAAO,EAAqB,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvH,UAAU,mBAAmB;IAC3B,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,eAAe,EAAE,CAAC,CAAC;IACxC,QAAQ,CAAC,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1D,QAAQ,CAAC,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvC,UAAU,EAAE,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;IACjC,SAAS,EAAE,CACT,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,WAAW,EAC7E,KAAK,CAAC,EAAE,MAAM,EACd,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,iBAAiB,CAAC,KACnD,IAAI,CAAC;IACV,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;CAC9D;8BAOkB,mBAAmB;AAAtC,wBAiKE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../shared/blade-navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAG3C,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,gBAAgB;QAC/B,iBAAiB,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,mBAAmB,CAAC,CAAC;KAC7D;CACF;;;;AAED,wBAAwC;AAExC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../shared/blade-navigation/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAGD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAGF,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,aAAc,SAAQ,uBAAuB;IAC5D,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAGD,MAAM,WAAW,WAAW;IAC1B,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAGD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,iBAAiB,CAAC,CAAC;CACvD;AAGD,MAAM,WAAW,UAAW,SAAQ,WAAW;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,iBAAiB,CAAC,CAAC;CACxD"}
|