@webitel/ui-sdk 25.12.89 → 25.12.91
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/dist/img/sprite/index.js +2 -0
- package/dist/img/sprite/index.ts +470 -0
- package/dist/img/sprite/protection-error.svg +4 -0
- package/dist/{install-DNOHZmRK.js → install-xxJkvH3q.js} +4389 -4383
- package/dist/{plyr-DK1TOPjS.js → plyr-DBwNvENg.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +7 -3
- package/dist/{vidstack-Bq6c3Bam-BoVc8VDA.js → vidstack-Bq6c3Bam-9_l6LYZU.js} +2 -2
- package/dist/{vidstack-D2pY00kU-CWZ9f0mN.js → vidstack-D2pY00kU-CXBPoRmb.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-B6DsLcaA.js → vidstack-DDXt6fpN-DRXAjsnT.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-FEMDvFp1.js → vidstack-D_-9AA6_-Dhmknr8Q.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-vqjzJdNk.js → vidstack-DqAw8m9J-CtUTnMP-.js} +1 -1
- package/dist/{vidstack-audio-xbKLe-qX.js → vidstack-audio-BMQ-rYSL.js} +2 -2
- package/dist/{vidstack-dash-BAjgoF3J.js → vidstack-dash-BoHptcOq.js} +3 -3
- package/dist/{vidstack-google-cast-BgSc8U0Z.js → vidstack-google-cast-Bl-WeY8m.js} +3 -3
- package/dist/{vidstack-hls-BQS65HTC.js → vidstack-hls-UM7Tdf6m.js} +3 -3
- package/dist/{vidstack-video-JUayQO7h.js → vidstack-video-DQi0vPSD.js} +2 -2
- package/dist/{vidstack-vimeo-BY12jQy-.js → vidstack-vimeo-CenK6q8S.js} +3 -3
- package/dist/{vidstack-youtube-CqDo223S.js → vidstack-youtube-CcCFYuit.js} +2 -2
- package/dist/{vuex.esm-bundler-K1XWEQRV.js → vuex.esm-bundler-CD7oDkdn.js} +1 -1
- package/package.json +1 -1
- package/src/assets/icons/sprite/index.js +2 -0
- package/src/assets/icons/sprite/index.ts +470 -0
- package/src/assets/icons/sprite/protection-error.svg +4 -0
- package/src/components/wt-table/wt-table.vue +13 -1
- package/types/assets/icons/sprite/index.d.ts +1 -1
- package/types/components/wt-table/wt-table.vue.d.ts +11 -0
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
:row-style="rowStyle"
|
|
10
10
|
:show-headers="!headless"
|
|
11
11
|
:value="data"
|
|
12
|
+
:data-key="props.dataKey"
|
|
12
13
|
class="wt-table"
|
|
13
14
|
column-resize-mode="expand"
|
|
14
15
|
lazy
|
|
@@ -261,6 +262,16 @@ interface Props extends DataTableProps{
|
|
|
261
262
|
* 'If true, allows to reorder rows.'
|
|
262
263
|
*/
|
|
263
264
|
rowReorder?: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* @author @Oleksandr Palonnyi
|
|
267
|
+
*
|
|
268
|
+
* [WTEL-8629](https://webitel.atlassian.net/browse/WTEL-8629)
|
|
269
|
+
*
|
|
270
|
+
* Unique field name used to identify a row.
|
|
271
|
+
* Required for selection, expansion, and virtual scrolling to work correctly.
|
|
272
|
+
* The value must be stable and unique across all rows.
|
|
273
|
+
*/
|
|
274
|
+
dataKey?: string;
|
|
264
275
|
/**
|
|
265
276
|
* 'If true, restrict sprecific row reorder.'
|
|
266
277
|
*/
|
|
@@ -296,7 +307,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
296
307
|
reorderableColumns: false,
|
|
297
308
|
rowExpansionDisabled: () => false,
|
|
298
309
|
lazy: false,
|
|
299
|
-
itemSize: DEFAULT_ITEM_SIZE
|
|
310
|
+
itemSize: DEFAULT_ITEM_SIZE,
|
|
311
|
+
dataKey: '',
|
|
300
312
|
});
|
|
301
313
|
|
|
302
314
|
const { t } = useI18n();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: Record<string, string>;
|
|
2
2
|
export default _default;
|
|
@@ -35,6 +35,16 @@ interface Props extends DataTableProps {
|
|
|
35
35
|
* 'If true, allows to reorder rows.'
|
|
36
36
|
*/
|
|
37
37
|
rowReorder?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @author @Oleksandr Palonnyi
|
|
40
|
+
*
|
|
41
|
+
* [WTEL-8629](https://webitel.atlassian.net/browse/WTEL-8629)
|
|
42
|
+
*
|
|
43
|
+
* Unique field name used to identify a row.
|
|
44
|
+
* Required for selection, expansion, and virtual scrolling to work correctly.
|
|
45
|
+
* The value must be stable and unique across all rows.
|
|
46
|
+
*/
|
|
47
|
+
dataKey?: string;
|
|
38
48
|
/**
|
|
39
49
|
* 'If true, restrict sprecific row reorder.'
|
|
40
50
|
*/
|
|
@@ -101,6 +111,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
101
111
|
fixedActions: boolean;
|
|
102
112
|
headless: boolean;
|
|
103
113
|
rowReorder: boolean;
|
|
114
|
+
dataKey: string;
|
|
104
115
|
isRowReorderDisabled: (row: any) => boolean;
|
|
105
116
|
rowExpansion: boolean;
|
|
106
117
|
rowClass: () => string;
|