@ironsource/shared-ui 2.1.12-rc.25 → 2.1.12-rc.26
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/ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_683b8a75_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_1f7f7f9c_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9560a062_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +1 -1
- package/components/chart/ChartPlane.vue.d.ts +1 -1
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +141 -141
- package/components/chart/index.d.ts +24 -24
- package/components/chart/utils/utils.d.ts +1 -2
- package/components/chart/utils/utils.js +13 -19
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +17 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +133 -123
- package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +41 -39
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +41 -39
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +452 -107
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/switch/v4/SwitchV4.vue.d.ts +11 -0
- package/components/switch/v4/SwitchV4.vue.js +2 -2
- package/components/switch/v4/SwitchV4.vue2.js +39 -26
- package/components/switch/v4/index.d.ts +18 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +4 -4
- package/index.d.ts +955 -229
- package/mocks/optionsWithIcons.d.ts +1 -0
- package/package.json +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_cce87267_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_5b72e35a_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
|
@@ -17,13 +17,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
17
17
|
loading: boolean;
|
|
18
18
|
autoFocus: boolean;
|
|
19
19
|
hasSubtitle: boolean;
|
|
20
|
+
showClearAll: boolean;
|
|
20
21
|
defaultOpen: boolean;
|
|
21
22
|
isOnTop: boolean;
|
|
22
23
|
onSearch: (option: any, term: string) => boolean;
|
|
23
24
|
searchPlaceholder: string;
|
|
24
25
|
titleText: string;
|
|
25
26
|
alwayesOpen: boolean;
|
|
26
|
-
showClearAll: boolean;
|
|
27
27
|
distanceOffset: number;
|
|
28
28
|
skiddingOffset: number;
|
|
29
29
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -63,6 +63,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
63
63
|
type: import("vue").PropType<boolean>;
|
|
64
64
|
default: boolean;
|
|
65
65
|
};
|
|
66
|
+
showClearAll: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
66
70
|
defaultOpen: {
|
|
67
71
|
type: import("vue").PropType<boolean>;
|
|
68
72
|
default: boolean;
|
|
@@ -90,10 +94,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
90
94
|
type: import("vue").PropType<boolean>;
|
|
91
95
|
default: boolean;
|
|
92
96
|
};
|
|
93
|
-
showClearAll: {
|
|
94
|
-
type: import("vue").PropType<boolean>;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
97
|
distanceOffset: {
|
|
98
98
|
type: import("vue").PropType<number>;
|
|
99
99
|
default: number;
|
|
@@ -108,7 +108,7 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
108
108
|
};
|
|
109
109
|
}>> & {
|
|
110
110
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
111
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "loading" | "autoFocus" | "hasSubtitle" | "defaultOpen" | "isOnTop" | "onSearch" | "searchPlaceholder" | "titleText" | "alwayesOpen" | "
|
|
111
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "loading" | "autoFocus" | "hasSubtitle" | "showClearAll" | "defaultOpen" | "isOnTop" | "onSearch" | "searchPlaceholder" | "titleText" | "alwayesOpen" | "distanceOffset" | "skiddingOffset">;
|
|
112
112
|
$attrs: {
|
|
113
113
|
[x: string]: unknown;
|
|
114
114
|
};
|
|
@@ -159,6 +159,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
159
159
|
type: import("vue").PropType<boolean>;
|
|
160
160
|
default: boolean;
|
|
161
161
|
};
|
|
162
|
+
showClearAll: {
|
|
163
|
+
type: import("vue").PropType<boolean>;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
162
166
|
defaultOpen: {
|
|
163
167
|
type: import("vue").PropType<boolean>;
|
|
164
168
|
default: boolean;
|
|
@@ -186,10 +190,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
186
190
|
type: import("vue").PropType<boolean>;
|
|
187
191
|
default: boolean;
|
|
188
192
|
};
|
|
189
|
-
showClearAll: {
|
|
190
|
-
type: import("vue").PropType<boolean>;
|
|
191
|
-
default: boolean;
|
|
192
|
-
};
|
|
193
193
|
distanceOffset: {
|
|
194
194
|
type: import("vue").PropType<number>;
|
|
195
195
|
default: number;
|
|
@@ -214,13 +214,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
214
214
|
loading: boolean;
|
|
215
215
|
autoFocus: boolean;
|
|
216
216
|
hasSubtitle: boolean;
|
|
217
|
+
showClearAll: boolean;
|
|
217
218
|
defaultOpen: boolean;
|
|
218
219
|
isOnTop: boolean;
|
|
219
220
|
onSearch: (option: any, term: string) => boolean;
|
|
220
221
|
searchPlaceholder: string;
|
|
221
222
|
titleText: string;
|
|
222
223
|
alwayesOpen: boolean;
|
|
223
|
-
showClearAll: boolean;
|
|
224
224
|
distanceOffset: number;
|
|
225
225
|
skiddingOffset: number;
|
|
226
226
|
}, {}, string> & {
|
|
@@ -280,6 +280,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
280
280
|
type: import("vue").PropType<boolean>;
|
|
281
281
|
default: boolean;
|
|
282
282
|
};
|
|
283
|
+
showClearAll: {
|
|
284
|
+
type: import("vue").PropType<boolean>;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
283
287
|
defaultOpen: {
|
|
284
288
|
type: import("vue").PropType<boolean>;
|
|
285
289
|
default: boolean;
|
|
@@ -307,10 +311,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
307
311
|
type: import("vue").PropType<boolean>;
|
|
308
312
|
default: boolean;
|
|
309
313
|
};
|
|
310
|
-
showClearAll: {
|
|
311
|
-
type: import("vue").PropType<boolean>;
|
|
312
|
-
default: boolean;
|
|
313
|
-
};
|
|
314
314
|
distanceOffset: {
|
|
315
315
|
type: import("vue").PropType<number>;
|
|
316
316
|
default: number;
|
|
@@ -366,6 +366,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
366
366
|
type: import("vue").PropType<boolean>;
|
|
367
367
|
default: boolean;
|
|
368
368
|
};
|
|
369
|
+
showClearAll: {
|
|
370
|
+
type: import("vue").PropType<boolean>;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
369
373
|
defaultOpen: {
|
|
370
374
|
type: import("vue").PropType<boolean>;
|
|
371
375
|
default: boolean;
|
|
@@ -393,10 +397,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
393
397
|
type: import("vue").PropType<boolean>;
|
|
394
398
|
default: boolean;
|
|
395
399
|
};
|
|
396
|
-
showClearAll: {
|
|
397
|
-
type: import("vue").PropType<boolean>;
|
|
398
|
-
default: boolean;
|
|
399
|
-
};
|
|
400
400
|
distanceOffset: {
|
|
401
401
|
type: import("vue").PropType<number>;
|
|
402
402
|
default: number;
|
|
@@ -421,13 +421,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
421
421
|
loading: boolean;
|
|
422
422
|
autoFocus: boolean;
|
|
423
423
|
hasSubtitle: boolean;
|
|
424
|
+
showClearAll: boolean;
|
|
424
425
|
defaultOpen: boolean;
|
|
425
426
|
isOnTop: boolean;
|
|
426
427
|
onSearch: (option: any, term: string) => boolean;
|
|
427
428
|
searchPlaceholder: string;
|
|
428
429
|
titleText: string;
|
|
429
430
|
alwayesOpen: boolean;
|
|
430
|
-
showClearAll: boolean;
|
|
431
431
|
distanceOffset: number;
|
|
432
432
|
skiddingOffset: number;
|
|
433
433
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -460,13 +460,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
460
460
|
loading: boolean;
|
|
461
461
|
autoFocus: boolean;
|
|
462
462
|
hasSubtitle: boolean;
|
|
463
|
+
showClearAll: boolean;
|
|
463
464
|
defaultOpen: boolean;
|
|
464
465
|
isOnTop: boolean;
|
|
465
466
|
onSearch: (option: any, term: string) => boolean;
|
|
466
467
|
searchPlaceholder: string;
|
|
467
468
|
titleText: string;
|
|
468
469
|
alwayesOpen: boolean;
|
|
469
|
-
showClearAll: boolean;
|
|
470
470
|
distanceOffset: number;
|
|
471
471
|
skiddingOffset: number;
|
|
472
472
|
isDraggable: boolean;
|
|
@@ -504,6 +504,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
504
504
|
type: import("vue").PropType<boolean>;
|
|
505
505
|
default: boolean;
|
|
506
506
|
};
|
|
507
|
+
showClearAll: {
|
|
508
|
+
type: import("vue").PropType<boolean>;
|
|
509
|
+
default: boolean;
|
|
510
|
+
};
|
|
507
511
|
defaultOpen: {
|
|
508
512
|
type: import("vue").PropType<boolean>;
|
|
509
513
|
default: boolean;
|
|
@@ -531,10 +535,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
531
535
|
type: import("vue").PropType<boolean>;
|
|
532
536
|
default: boolean;
|
|
533
537
|
};
|
|
534
|
-
showClearAll: {
|
|
535
|
-
type: import("vue").PropType<boolean>;
|
|
536
|
-
default: boolean;
|
|
537
|
-
};
|
|
538
538
|
distanceOffset: {
|
|
539
539
|
type: import("vue").PropType<number>;
|
|
540
540
|
default: number;
|
|
@@ -559,7 +559,7 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
559
559
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
560
560
|
onChangeDragDrop?: (value: unknown) => any;
|
|
561
561
|
onClickOutside?: (value: unknown) => any;
|
|
562
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "distance" | "loading" | "autoFocus" | "hasSubtitle" | "defaultOpen" | "isOnTop" | "onSearch" | "searchPlaceholder" | "titleText" | "alwayesOpen" | "
|
|
562
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "distance" | "loading" | "autoFocus" | "hasSubtitle" | "showClearAll" | "defaultOpen" | "isOnTop" | "onSearch" | "searchPlaceholder" | "titleText" | "alwayesOpen" | "distanceOffset" | "skiddingOffset" | "isDraggable" | "draggableArgs">;
|
|
563
563
|
$attrs: {
|
|
564
564
|
[x: string]: unknown;
|
|
565
565
|
};
|
|
@@ -606,6 +606,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
606
606
|
type: import("vue").PropType<boolean>;
|
|
607
607
|
default: boolean;
|
|
608
608
|
};
|
|
609
|
+
showClearAll: {
|
|
610
|
+
type: import("vue").PropType<boolean>;
|
|
611
|
+
default: boolean;
|
|
612
|
+
};
|
|
609
613
|
defaultOpen: {
|
|
610
614
|
type: import("vue").PropType<boolean>;
|
|
611
615
|
default: boolean;
|
|
@@ -633,10 +637,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
633
637
|
type: import("vue").PropType<boolean>;
|
|
634
638
|
default: boolean;
|
|
635
639
|
};
|
|
636
|
-
showClearAll: {
|
|
637
|
-
type: import("vue").PropType<boolean>;
|
|
638
|
-
default: boolean;
|
|
639
|
-
};
|
|
640
640
|
distanceOffset: {
|
|
641
641
|
type: import("vue").PropType<number>;
|
|
642
642
|
default: number;
|
|
@@ -672,13 +672,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
672
672
|
loading: boolean;
|
|
673
673
|
autoFocus: boolean;
|
|
674
674
|
hasSubtitle: boolean;
|
|
675
|
+
showClearAll: boolean;
|
|
675
676
|
defaultOpen: boolean;
|
|
676
677
|
isOnTop: boolean;
|
|
677
678
|
onSearch: (option: any, term: string) => boolean;
|
|
678
679
|
searchPlaceholder: string;
|
|
679
680
|
titleText: string;
|
|
680
681
|
alwayesOpen: boolean;
|
|
681
|
-
showClearAll: boolean;
|
|
682
682
|
distanceOffset: number;
|
|
683
683
|
skiddingOffset: number;
|
|
684
684
|
isDraggable: boolean;
|
|
@@ -736,6 +736,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
736
736
|
type: import("vue").PropType<boolean>;
|
|
737
737
|
default: boolean;
|
|
738
738
|
};
|
|
739
|
+
showClearAll: {
|
|
740
|
+
type: import("vue").PropType<boolean>;
|
|
741
|
+
default: boolean;
|
|
742
|
+
};
|
|
739
743
|
defaultOpen: {
|
|
740
744
|
type: import("vue").PropType<boolean>;
|
|
741
745
|
default: boolean;
|
|
@@ -763,10 +767,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
763
767
|
type: import("vue").PropType<boolean>;
|
|
764
768
|
default: boolean;
|
|
765
769
|
};
|
|
766
|
-
showClearAll: {
|
|
767
|
-
type: import("vue").PropType<boolean>;
|
|
768
|
-
default: boolean;
|
|
769
|
-
};
|
|
770
770
|
distanceOffset: {
|
|
771
771
|
type: import("vue").PropType<number>;
|
|
772
772
|
default: number;
|
|
@@ -828,6 +828,10 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
828
828
|
type: import("vue").PropType<boolean>;
|
|
829
829
|
default: boolean;
|
|
830
830
|
};
|
|
831
|
+
showClearAll: {
|
|
832
|
+
type: import("vue").PropType<boolean>;
|
|
833
|
+
default: boolean;
|
|
834
|
+
};
|
|
831
835
|
defaultOpen: {
|
|
832
836
|
type: import("vue").PropType<boolean>;
|
|
833
837
|
default: boolean;
|
|
@@ -855,10 +859,6 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
855
859
|
type: import("vue").PropType<boolean>;
|
|
856
860
|
default: boolean;
|
|
857
861
|
};
|
|
858
|
-
showClearAll: {
|
|
859
|
-
type: import("vue").PropType<boolean>;
|
|
860
|
-
default: boolean;
|
|
861
|
-
};
|
|
862
862
|
distanceOffset: {
|
|
863
863
|
type: import("vue").PropType<number>;
|
|
864
864
|
default: number;
|
|
@@ -894,13 +894,13 @@ declare const IncludeExcludeTypes: () => (({
|
|
|
894
894
|
loading: boolean;
|
|
895
895
|
autoFocus: boolean;
|
|
896
896
|
hasSubtitle: boolean;
|
|
897
|
+
showClearAll: boolean;
|
|
897
898
|
defaultOpen: boolean;
|
|
898
899
|
isOnTop: boolean;
|
|
899
900
|
onSearch: (option: any, term: string) => boolean;
|
|
900
901
|
searchPlaceholder: string;
|
|
901
902
|
titleText: string;
|
|
902
903
|
alwayesOpen: boolean;
|
|
903
|
-
showClearAll: boolean;
|
|
904
904
|
distanceOffset: number;
|
|
905
905
|
skiddingOffset: number;
|
|
906
906
|
isDraggable: boolean;
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
+
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
options: unknown[];
|
|
3
4
|
modelValue: unknown;
|
|
4
5
|
variant: 'primary' | 'default';
|
|
5
6
|
testId?: string;
|
|
6
7
|
iconKey?: string;
|
|
8
|
+
tooltipTextKey?: string;
|
|
9
|
+
tooltipPlacement?: TooltipPositions;
|
|
7
10
|
}>, {
|
|
8
11
|
testId: string;
|
|
9
12
|
variant: string;
|
|
10
13
|
iconKey: string;
|
|
14
|
+
tooltipTextKey: string;
|
|
15
|
+
tooltipPlacement: string;
|
|
11
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
17
|
"update:modelValue": (...args: any[]) => void;
|
|
13
18
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -16,16 +21,22 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
21
|
variant: 'primary' | 'default';
|
|
17
22
|
testId?: string;
|
|
18
23
|
iconKey?: string;
|
|
24
|
+
tooltipTextKey?: string;
|
|
25
|
+
tooltipPlacement?: TooltipPositions;
|
|
19
26
|
}>, {
|
|
20
27
|
testId: string;
|
|
21
28
|
variant: string;
|
|
22
29
|
iconKey: string;
|
|
30
|
+
tooltipTextKey: string;
|
|
31
|
+
tooltipPlacement: string;
|
|
23
32
|
}>>> & {
|
|
24
33
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
25
34
|
}, {
|
|
26
35
|
testId: string;
|
|
27
36
|
variant: 'primary' | 'default';
|
|
37
|
+
tooltipPlacement: TooltipPositions;
|
|
28
38
|
iconKey: string;
|
|
39
|
+
tooltipTextKey: string;
|
|
29
40
|
}>;
|
|
30
41
|
export default _default;
|
|
31
42
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SwitchV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../SwitchV4.
|
|
4
|
-
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-cd6621a7"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,46 +1,59 @@
|
|
|
1
|
-
import "../../../SwitchV4.
|
|
2
|
-
import { useVModel as
|
|
1
|
+
import "../../../SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css"; import { defineComponent as T, ref as h, onMounted as k, openBlock as c, createElementBlock as r, normalizeClass as m, unref as a, Fragment as x, renderList as V, createBlock as w, withCtx as y, createVNode as C } from "vue";
|
|
2
|
+
import { useVModel as I } from "@vueuse/core";
|
|
3
|
+
import { SwitchTestIdModifiers as u } from "../../../testids/index.js";
|
|
3
4
|
import "../../button/v4/ButtonV4.vue.js";
|
|
4
|
-
import
|
|
5
|
+
import $ from "../../button/v4/IconButtonV4.vue.js";
|
|
5
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
7
|
-
import
|
|
8
|
-
const
|
|
8
|
+
import B from "../../tooltip/v4/TooltipV4.vue.js";
|
|
9
|
+
const K = ["data-testid"], A = /* @__PURE__ */ T({
|
|
9
10
|
__name: "SwitchV4",
|
|
10
11
|
props: {
|
|
11
12
|
options: null,
|
|
12
13
|
modelValue: null,
|
|
13
14
|
variant: { default: "default" },
|
|
14
15
|
testId: { default: "" },
|
|
15
|
-
iconKey: { default: "icon" }
|
|
16
|
+
iconKey: { default: "icon" },
|
|
17
|
+
tooltipTextKey: { default: "tooltipText" },
|
|
18
|
+
tooltipPlacement: { default: "top" }
|
|
16
19
|
},
|
|
17
20
|
emits: ["update:modelValue"],
|
|
18
21
|
setup(t, { emit: f }) {
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
n.value =
|
|
22
|
-
(e) => e ===
|
|
22
|
+
const i = t, n = h(), p = I(i, "modelValue", f), d = (e) => n.value === e;
|
|
23
|
+
k(() => {
|
|
24
|
+
n.value = i.options.findIndex(
|
|
25
|
+
(e) => e === i.modelValue
|
|
23
26
|
);
|
|
24
27
|
});
|
|
25
|
-
const
|
|
26
|
-
n.value = s,
|
|
28
|
+
const v = (e, s) => {
|
|
29
|
+
n.value = s, p.value = e;
|
|
27
30
|
};
|
|
28
|
-
return (e, s) => (
|
|
29
|
-
class:
|
|
30
|
-
"data-testid": `${t.testId}-${
|
|
31
|
+
return (e, s) => (c(), r("div", {
|
|
32
|
+
class: m(["switch", [`switch--variant-${t.variant}`]]),
|
|
33
|
+
"data-testid": `${t.testId}-${a(u).WRAPPER}`
|
|
31
34
|
}, [
|
|
32
|
-
(
|
|
33
|
-
key:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
(c(!0), r(x, null, V(t.options, (o, l) => (c(), w(a(B), {
|
|
36
|
+
key: l,
|
|
37
|
+
text: o[t.tooltipTextKey],
|
|
38
|
+
disabled: !o[t.tooltipTextKey],
|
|
39
|
+
placement: t.tooltipPlacement,
|
|
40
|
+
class: "option-wrapper"
|
|
41
|
+
}, {
|
|
42
|
+
default: y(() => [
|
|
43
|
+
C(a($), {
|
|
44
|
+
class: m(["option", { "option--selected": d(l) }]),
|
|
45
|
+
"icon-name": o[t.iconKey],
|
|
46
|
+
size: "small",
|
|
47
|
+
color: d(l) ? t.variant : "default",
|
|
48
|
+
"data-testid": `${t.testId}-${a(u).BUTTON}`,
|
|
49
|
+
onClick: (P) => v(o, l)
|
|
50
|
+
}, null, 8, ["class", "icon-name", "color", "data-testid", "onClick"])
|
|
51
|
+
]),
|
|
52
|
+
_: 2
|
|
53
|
+
}, 1032, ["text", "disabled", "placement"]))), 128))
|
|
54
|
+
], 10, K));
|
|
42
55
|
}
|
|
43
56
|
});
|
|
44
57
|
export {
|
|
45
|
-
|
|
58
|
+
A as default
|
|
46
59
|
};
|
|
@@ -8,6 +8,10 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
|
+
tooltipPlacement: {
|
|
12
|
+
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
11
15
|
modelValue: {
|
|
12
16
|
type: import("vue").PropType<unknown>;
|
|
13
17
|
required: true;
|
|
@@ -20,6 +24,10 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
20
24
|
type: import("vue").PropType<string>;
|
|
21
25
|
default: string;
|
|
22
26
|
};
|
|
27
|
+
tooltipTextKey: {
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
23
31
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
32
|
"update:modelValue": (...args: any[]) => void;
|
|
25
33
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -32,6 +40,10 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
32
40
|
required: true;
|
|
33
41
|
default: string;
|
|
34
42
|
};
|
|
43
|
+
tooltipPlacement: {
|
|
44
|
+
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
35
47
|
modelValue: {
|
|
36
48
|
type: import("vue").PropType<unknown>;
|
|
37
49
|
required: true;
|
|
@@ -44,12 +56,18 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
|
|
|
44
56
|
type: import("vue").PropType<string>;
|
|
45
57
|
default: string;
|
|
46
58
|
};
|
|
59
|
+
tooltipTextKey: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
47
63
|
}>> & {
|
|
48
64
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
49
65
|
}, {
|
|
50
66
|
testId: string;
|
|
51
67
|
variant: "default" | "primary";
|
|
68
|
+
tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
52
69
|
iconKey: string;
|
|
70
|
+
tooltipTextKey: string;
|
|
53
71
|
}>[];
|
|
54
72
|
export { default as Switch } from './SwitchV4.vue';
|
|
55
73
|
export { SwitchTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0963bb3c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css"; import { defineComponent as he, useCssVars as ye, unref as t, useSlots as fe, computed as g, openBlock as i, createElementBlock as o, createElementVNode as f, normalizeStyle as v, normalizeClass as u, renderSlot as c, createVNode as h, withCtx as $, createTextVNode as R, toDisplayString as P, createCommentVNode as n, isRef as Se, Fragment as T, renderList as x, mergeProps as L, createBlock as D } from "vue";
|
|
2
2
|
import p from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import ke from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
4
|
import ge from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
@@ -67,9 +67,9 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
|
|
|
67
67
|
setup(l, { expose: m, emit: k }) {
|
|
68
68
|
const a = l;
|
|
69
69
|
ye((s) => ({
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
70
|
+
"63c838b5": l.zIndexBase,
|
|
71
|
+
"8cc8612e": t(ee),
|
|
72
|
+
ec9ca7bc: t(K)
|
|
73
73
|
}));
|
|
74
74
|
const b = fe(), Q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
|
|
75
75
|
list: w,
|