@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.50
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
- package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/chart/Chart.vue.d.ts +16 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +127 -110
- package/components/chart/ChartHeader.vue.d.ts +13 -6
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +32 -29
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +99 -49
- package/components/chart/ChartTooltip.vue.d.ts +4 -5
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +64 -43
- package/components/chart/SettingsHeader.vue2.js +3 -2
- package/components/chart/index.d.ts +55 -16
- package/components/chart/mockData.d.ts +15 -2
- package/components/chart/types.d.ts +15 -1
- package/components/chart/utils/utils.js +5 -5
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
- package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +80 -73
- package/components/dialog/v4/index.d.ts +58 -1
- package/components/dropdown/common/Dropdown.common.js +200 -189
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +88 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +135 -98
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +165 -120
- package/components/dropdown/v4/index.d.ts +443 -110
- package/components/dropdown/v4/index.js +6 -3
- package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
- package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +1 -1
- package/components/icon/v4/IconFlag.vue.js +3 -3
- package/components/icon/v4/IconFlag.vue2.js +1 -1
- package/components/icon/v4/consts.d.ts +1 -1
- package/components/icon/v4/consts.js +1 -1
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +185 -165
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -24
- package/components/popover/v4/index.d.ts +55 -11
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
- package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
- package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
- package/components/sortableList/SortableItem.vue.d.ts +5 -0
- package/components/sortableList/SortableItem.vue.js +2 -2
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +20 -23
- package/components/sortableList/SortableList.vue.d.ts +17 -1
- package/components/sortableList/SortableList.vue.js +4 -4
- package/components/sortableList/SortableList.vue2.js +113 -94
- package/components/sortableList/index.d.ts +63 -5
- package/components/table/common/Table.common.d.ts +1 -1
- package/components/table/common/Table.common.js +83 -77
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/common/consts.d.ts +4 -0
- package/components/table/common/consts.js +7 -0
- package/components/table/v3/Table.vue.d.ts +1 -1
- package/components/table/v3/index.d.ts +5 -5
- package/components/table/v4/DataGrid.vue.d.ts +12 -2
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +164 -155
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +4 -3
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +84 -46
- package/components/table-cells/common/Editable.common.js +29 -23
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +11 -10
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/components/typography/v4/Typography.vue.js +3 -3
- package/components/typography/v4/Typography.vue2.js +24 -18
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1626 -366
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -6
- package/mocks/words.d.ts +1 -1
- package/package.json +2 -1
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/style/v4/spacings.scss +1 -0
- package/testids/index.d.ts +2 -0
- package/testids/index.js +13 -13
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
|
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
13
13
|
endIconKey?: string;
|
|
14
14
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
15
|
+
endTextIconKey?: string;
|
|
15
16
|
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";
|
|
16
17
|
treeMainOption?: boolean;
|
|
17
18
|
treeMainOptionExpanded?: boolean;
|
|
@@ -20,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
21
|
optionTwoLinesKey?: string;
|
|
21
22
|
treeChildShown?: boolean;
|
|
22
23
|
optionFlagKey?: string;
|
|
24
|
+
isMulti?: boolean;
|
|
23
25
|
}>, {
|
|
24
26
|
subtitle: string;
|
|
25
27
|
disabled: boolean;
|
|
@@ -33,6 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
35
|
iconType: string;
|
|
34
36
|
endIconKey: any;
|
|
35
37
|
endIconType: string;
|
|
38
|
+
endTextIconKey: any;
|
|
36
39
|
toolTipPlacement: string;
|
|
37
40
|
treeMainOption: boolean;
|
|
38
41
|
treeMainOptionExpanded: boolean;
|
|
@@ -41,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
44
|
optionTwoLinesKey: any;
|
|
42
45
|
treeChildShown: boolean;
|
|
43
46
|
optionFlagKey: any;
|
|
47
|
+
isMulti: boolean;
|
|
44
48
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
49
|
toggleTreeCollapse: (option: unknown) => void;
|
|
46
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -57,6 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
61
|
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
58
62
|
endIconKey?: string;
|
|
59
63
|
endIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
64
|
+
endTextIconKey?: string;
|
|
60
65
|
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";
|
|
61
66
|
treeMainOption?: boolean;
|
|
62
67
|
treeMainOptionExpanded?: boolean;
|
|
@@ -65,6 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
70
|
optionTwoLinesKey?: string;
|
|
66
71
|
treeChildShown?: boolean;
|
|
67
72
|
optionFlagKey?: string;
|
|
73
|
+
isMulti?: boolean;
|
|
68
74
|
}>, {
|
|
69
75
|
subtitle: string;
|
|
70
76
|
disabled: boolean;
|
|
@@ -78,6 +84,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
84
|
iconType: string;
|
|
79
85
|
endIconKey: any;
|
|
80
86
|
endIconType: string;
|
|
87
|
+
endTextIconKey: any;
|
|
81
88
|
toolTipPlacement: string;
|
|
82
89
|
treeMainOption: boolean;
|
|
83
90
|
treeMainOptionExpanded: boolean;
|
|
@@ -86,6 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
86
93
|
optionTwoLinesKey: any;
|
|
87
94
|
treeChildShown: boolean;
|
|
88
95
|
optionFlagKey: any;
|
|
96
|
+
isMulti: boolean;
|
|
89
97
|
}>>> & {
|
|
90
98
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
91
99
|
}, {
|
|
@@ -104,11 +112,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
104
112
|
iconKey: string;
|
|
105
113
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
106
114
|
endIconKey: string;
|
|
115
|
+
endTextIconKey: string;
|
|
107
116
|
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";
|
|
108
117
|
treeMainOption: boolean;
|
|
109
118
|
treeMainOptionExpanded: boolean;
|
|
110
119
|
stopOptionClickEventPropagation: boolean;
|
|
111
120
|
treeChildShown: boolean;
|
|
121
|
+
isMulti: boolean;
|
|
112
122
|
}>, {
|
|
113
123
|
image?(_: {}): any;
|
|
114
124
|
flag?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2c2947b3"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css"; import { defineComponent as N, ref as I, watch as L, computed as w, openBlock as o, createBlock as v, unref as n, createSlots as P, withCtx as d, createElementVNode as c, normalizeClass as k, createCommentVNode as l, createElementBlock as i, renderSlot as m, createVNode as s, toDisplayString as r, createTextVNode as y, withModifiers as $, Fragment as V, renderList as F } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import D from "../../typography/Text.vue.js";
|
|
4
|
+
import R from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
+
import f from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
8
|
-
import { optionCommon as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { isElementTruncated as
|
|
12
|
-
import { promiseTimeout as
|
|
13
|
-
import { SHARED_ASSETS_CDN_DOMAIN as
|
|
14
|
-
const
|
|
7
|
+
import { NOOP as j } from "@vue/shared";
|
|
8
|
+
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
|
+
import T from "../../typography/v4/Typography.vue.js";
|
|
10
|
+
import U from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
+
import { isElementTruncated as q } from "../../../utils/text.js";
|
|
12
|
+
import { promiseTimeout as G } from "@vueuse/core";
|
|
13
|
+
import { SHARED_ASSETS_CDN_DOMAIN as J } from "../../../consts/configs.js";
|
|
14
|
+
const Q = { class: "multiline-tooltip" }, W = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "image"
|
|
17
|
-
},
|
|
17
|
+
}, X = ["src"], Y = {
|
|
18
18
|
key: 2,
|
|
19
19
|
class: "flag"
|
|
20
|
-
},
|
|
20
|
+
}, Z = ["src"], _ = {
|
|
21
21
|
key: 3,
|
|
22
22
|
class: "start-icon"
|
|
23
|
-
},
|
|
23
|
+
}, ee = {
|
|
24
24
|
key: 0,
|
|
25
|
+
class: "main-text"
|
|
26
|
+
}, te = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "main-text"
|
|
29
|
+
}, ne = {
|
|
30
|
+
key: 2,
|
|
31
|
+
class: "end-text-icon"
|
|
32
|
+
}, oe = {
|
|
33
|
+
key: 3,
|
|
25
34
|
class: "caption-text"
|
|
26
35
|
}, ie = {
|
|
27
36
|
key: 4,
|
|
28
37
|
class: "end-icon"
|
|
29
|
-
},
|
|
38
|
+
}, le = ["onClick"], ae = { key: 0 }, he = /* @__PURE__ */ N({
|
|
30
39
|
__name: "OptionV4",
|
|
31
40
|
props: {
|
|
32
41
|
option: { default: null },
|
|
@@ -42,6 +51,7 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
42
51
|
iconType: { default: "regular" },
|
|
43
52
|
endIconKey: { default: null },
|
|
44
53
|
endIconType: { default: "regular" },
|
|
54
|
+
endTextIconKey: { default: null },
|
|
45
55
|
toolTipPlacement: { default: "right" },
|
|
46
56
|
treeMainOption: { type: Boolean, default: !1 },
|
|
47
57
|
treeMainOptionExpanded: { type: Boolean, default: !1 },
|
|
@@ -49,161 +59,188 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
49
59
|
optionTwoLinesVariant: { default: void 0 },
|
|
50
60
|
optionTwoLinesKey: { default: void 0 },
|
|
51
61
|
treeChildShown: { type: Boolean, default: !1 },
|
|
52
|
-
optionFlagKey: { default: null }
|
|
62
|
+
optionFlagKey: { default: null },
|
|
63
|
+
isMulti: { type: Boolean, default: !1 }
|
|
53
64
|
},
|
|
54
65
|
emits: ["toggleTreeCollapse"],
|
|
55
|
-
setup(e, { emit:
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
await
|
|
66
|
+
setup(e, { emit: O }) {
|
|
67
|
+
const a = e, { selected: h, id: B, onClick: S, api: K } = H(a), M = (t) => {
|
|
68
|
+
a.stopOptionClickEventPropagation && t.stopPropagation(), a.disabled ? j() : S(t);
|
|
69
|
+
}, g = I(null), C = I(!1);
|
|
70
|
+
L([() => a.treeChildShown, g], async () => {
|
|
71
|
+
await G(100), C.value = g.value && q(g.value);
|
|
61
72
|
});
|
|
62
|
-
const A = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) :
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
return (t,
|
|
66
|
-
text:
|
|
67
|
-
"test-id":
|
|
73
|
+
const A = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : C.value ? t[a.nameKey] : "", x = w(() => A(a.option)), E = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, z = () => {
|
|
74
|
+
O("toggleTreeCollapse", a.option);
|
|
75
|
+
}, b = w(() => a.optionFlagKey ? `${J}/assets/flags/v4/${a.option[a.optionFlagKey]?.toLowerCase()}.svg` : null);
|
|
76
|
+
return (t, p) => (o(), v(n(U), {
|
|
77
|
+
text: n(x),
|
|
78
|
+
"test-id": E(e.option),
|
|
68
79
|
placement: e.toolTipPlacement,
|
|
69
80
|
class: "tooltip-option"
|
|
70
|
-
},
|
|
71
|
-
default:
|
|
72
|
-
|
|
81
|
+
}, P({
|
|
82
|
+
default: d(() => [
|
|
83
|
+
c("div", {
|
|
73
84
|
ref: "el",
|
|
74
|
-
class:
|
|
85
|
+
class: k(["item-container", {
|
|
75
86
|
"item-container--disabled": e.disabled,
|
|
76
87
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
77
|
-
"item-container--selected":
|
|
78
|
-
"item-container--multi":
|
|
88
|
+
"item-container--selected": n(h),
|
|
89
|
+
"item-container--multi": e.isMulti
|
|
79
90
|
}])
|
|
80
91
|
}, [
|
|
81
|
-
|
|
82
|
-
class:
|
|
83
|
-
"item--multi":
|
|
92
|
+
c("div", {
|
|
93
|
+
class: k(["item", {
|
|
94
|
+
"item--multi": e.isMulti,
|
|
84
95
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
85
96
|
}])
|
|
86
97
|
}, [
|
|
87
|
-
|
|
98
|
+
e.isMulti || e.selectAllOption ? (o(), v(n(R), {
|
|
88
99
|
key: 0,
|
|
89
|
-
id:
|
|
100
|
+
id: n(B).toString(),
|
|
90
101
|
tabindex: "-1",
|
|
91
102
|
class: "checkbox",
|
|
92
|
-
"is-checked":
|
|
103
|
+
"is-checked": n(h),
|
|
93
104
|
"is-indeterminate": e.isIndeterminate,
|
|
94
|
-
onClick:
|
|
95
|
-
}, null, 8, ["id", "is-checked", "is-indeterminate"])) :
|
|
96
|
-
t.$slots.image || e.imageKey ? (
|
|
97
|
-
|
|
98
|
-
e.imageKey ? (
|
|
105
|
+
onClick: p[0] || (p[0] = (u) => M(u))
|
|
106
|
+
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : l("", !0),
|
|
107
|
+
t.$slots.image || e.imageKey ? (o(), i("div", W, [
|
|
108
|
+
m(t.$slots, "image", {}, () => [
|
|
109
|
+
e.imageKey ? (o(), i("img", {
|
|
99
110
|
key: 0,
|
|
100
111
|
src: e.option[e.imageKey]
|
|
101
|
-
}, null, 8,
|
|
112
|
+
}, null, 8, X)) : l("", !0)
|
|
102
113
|
], !0)
|
|
103
|
-
])) :
|
|
104
|
-
t.$slots.flag || e.optionFlagKey ? (
|
|
105
|
-
|
|
106
|
-
|
|
114
|
+
])) : l("", !0),
|
|
115
|
+
t.$slots.flag || e.optionFlagKey ? (o(), i("div", Y, [
|
|
116
|
+
m(t.$slots, "flag", {}, () => [
|
|
117
|
+
n(b) ? (o(), i("img", {
|
|
107
118
|
key: 0,
|
|
108
|
-
src:
|
|
109
|
-
}, null, 8,
|
|
119
|
+
src: n(b)
|
|
120
|
+
}, null, 8, Z)) : l("", !0)
|
|
110
121
|
], !0)
|
|
111
|
-
])) :
|
|
112
|
-
t.$slots["icon-start"] || e.iconKey ? (
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
])) : l("", !0),
|
|
123
|
+
t.$slots["icon-start"] || e.iconKey ? (o(), i("div", _, [
|
|
124
|
+
m(t.$slots, "icon-start", {}, () => [
|
|
125
|
+
s(n(f), {
|
|
115
126
|
type: e.iconType,
|
|
116
127
|
name: e.option[e.iconKey],
|
|
117
128
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
118
129
|
}, null, 8, ["type", "name", "size"])
|
|
119
130
|
], !0)
|
|
120
|
-
])) :
|
|
121
|
-
|
|
131
|
+
])) : l("", !0),
|
|
132
|
+
c("div", {
|
|
122
133
|
ref_key: "textContainerRef",
|
|
123
|
-
ref:
|
|
134
|
+
ref: g,
|
|
124
135
|
class: "text-container"
|
|
125
136
|
}, [
|
|
126
|
-
|
|
137
|
+
s(n(T), {
|
|
127
138
|
class: "option-text",
|
|
128
139
|
variant: "body2"
|
|
129
140
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
class:
|
|
141
|
+
default: d(() => [
|
|
142
|
+
m(t.$slots, "default", {}, () => [
|
|
143
|
+
c("div", {
|
|
144
|
+
class: k(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
134
145
|
}, [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
e.option.conditionalOptions ? (o(), i("div", te, [
|
|
147
|
+
s(n(T), {
|
|
148
|
+
variant: "body2",
|
|
149
|
+
class: "conditional-option-label"
|
|
150
|
+
}, {
|
|
151
|
+
default: d(() => [
|
|
152
|
+
y(r(e.option.conditionalName) + ": ", 1)
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}),
|
|
156
|
+
s(n(T), {
|
|
157
|
+
variant: "h5",
|
|
158
|
+
class: "conditional-option-value"
|
|
159
|
+
}, {
|
|
160
|
+
default: d(() => [
|
|
161
|
+
y('"' + r(e.option[e.nameKey]) + '"', 1)
|
|
162
|
+
]),
|
|
163
|
+
_: 1
|
|
164
|
+
})
|
|
165
|
+
])) : (o(), i("div", ee, r(e.option[e.nameKey]), 1)),
|
|
166
|
+
e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), i("span", ne, [
|
|
167
|
+
s(n(f), {
|
|
168
|
+
type: "regular",
|
|
169
|
+
name: e.option[e.endTextIconKey],
|
|
170
|
+
size: "16px"
|
|
171
|
+
}, null, 8, ["name"])
|
|
172
|
+
])) : l("", !0),
|
|
173
|
+
e.optionTwoLinesKey ? (o(), i("div", oe, [
|
|
174
|
+
s(n(T), { variant: "caption" }, {
|
|
175
|
+
default: d(() => [
|
|
176
|
+
y(r(e.option[e.optionTwoLinesKey]), 1)
|
|
140
177
|
]),
|
|
141
178
|
_: 1
|
|
142
179
|
})
|
|
143
|
-
])) :
|
|
180
|
+
])) : l("", !0)
|
|
144
181
|
], 2)
|
|
145
182
|
], !0)
|
|
146
183
|
]),
|
|
147
184
|
_: 3
|
|
148
185
|
}),
|
|
149
|
-
e.subtitle ? (
|
|
186
|
+
e.subtitle ? (o(), v(n(D), {
|
|
150
187
|
key: 0,
|
|
151
188
|
class: "subtitle",
|
|
152
189
|
size: "xs"
|
|
153
190
|
}, {
|
|
154
|
-
default:
|
|
155
|
-
|
|
191
|
+
default: d(() => [
|
|
192
|
+
y(r(e.subtitle), 1)
|
|
156
193
|
]),
|
|
157
194
|
_: 1
|
|
158
|
-
})) :
|
|
195
|
+
})) : l("", !0)
|
|
159
196
|
], 512),
|
|
160
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
type: e.endIconType,
|
|
197
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), i("div", ie, [
|
|
198
|
+
m(t.$slots, "icon-end", {}, () => [
|
|
199
|
+
s(n(f), {
|
|
200
|
+
type: e.endIconType || "regular",
|
|
164
201
|
name: e.option[e.endIconKey],
|
|
165
202
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
166
203
|
}, null, 8, ["type", "name", "size"])
|
|
167
204
|
], !0)
|
|
168
|
-
])) :
|
|
169
|
-
e.treeMainOption ? (
|
|
205
|
+
])) : l("", !0),
|
|
206
|
+
e.treeMainOption ? (o(), i("div", {
|
|
170
207
|
key: 5,
|
|
171
208
|
class: "tree-main-arrow-wrapper",
|
|
172
|
-
onClick:
|
|
209
|
+
onClick: $(z, ["stop"])
|
|
173
210
|
}, [
|
|
174
|
-
|
|
211
|
+
s(n(f), {
|
|
175
212
|
name: "caret-down",
|
|
176
213
|
size: "16px",
|
|
177
|
-
class:
|
|
214
|
+
class: k(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
178
215
|
}, null, 8, ["class"])
|
|
179
|
-
], 8,
|
|
216
|
+
], 8, le)) : l("", !0)
|
|
180
217
|
], 2),
|
|
181
|
-
|
|
182
|
-
|
|
218
|
+
n(K).clearable && n(h) ? (o(), i("div", ae, [
|
|
219
|
+
c("button", {
|
|
183
220
|
class: "clear-button",
|
|
184
|
-
onClick:
|
|
221
|
+
onClick: p[1] || (p[1] = $((u) => n(K).clearSelection(), ["prevent", "stop"]))
|
|
185
222
|
}, [
|
|
186
|
-
|
|
223
|
+
s(n(f), {
|
|
187
224
|
name: "close",
|
|
188
225
|
width: "8",
|
|
189
226
|
height: "8"
|
|
190
227
|
})
|
|
191
228
|
])
|
|
192
|
-
])) :
|
|
229
|
+
])) : l("", !0)
|
|
193
230
|
], 2)
|
|
194
231
|
]),
|
|
195
232
|
_: 2
|
|
196
233
|
}, [
|
|
197
|
-
Array.isArray(
|
|
234
|
+
Array.isArray(n(x)) ? {
|
|
198
235
|
name: "tooltip",
|
|
199
|
-
fn:
|
|
200
|
-
|
|
201
|
-
(
|
|
202
|
-
key:
|
|
236
|
+
fn: d(() => [
|
|
237
|
+
c("div", Q, [
|
|
238
|
+
(o(!0), i(V, null, F(n(x), (u) => (o(), v(n(T), {
|
|
239
|
+
key: u,
|
|
203
240
|
variant: "body2"
|
|
204
241
|
}, {
|
|
205
|
-
default:
|
|
206
|
-
|
|
242
|
+
default: d(() => [
|
|
243
|
+
y(r(u), 1)
|
|
207
244
|
]),
|
|
208
245
|
_: 2
|
|
209
246
|
}, 1024))), 128))
|
|
@@ -215,5 +252,5 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
215
252
|
}
|
|
216
253
|
});
|
|
217
254
|
export {
|
|
218
|
-
|
|
255
|
+
he as default
|
|
219
256
|
};
|
|
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
15
15
|
optionEndIconKey?: string;
|
|
16
16
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
17
|
+
optionEndTextIconKey?: string;
|
|
17
18
|
valueToCopy?: string;
|
|
18
19
|
disabledOptionKey?: string;
|
|
19
20
|
optionChildrenKey: string;
|
|
@@ -32,6 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
33
|
optionIconType: any;
|
|
33
34
|
optionEndIconKey: string;
|
|
34
35
|
optionEndIconType: any;
|
|
36
|
+
optionEndTextIconKey: any;
|
|
35
37
|
valueToCopy: any;
|
|
36
38
|
disabledOptionKey: string;
|
|
37
39
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -53,6 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
55
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
54
56
|
optionEndIconKey?: string;
|
|
55
57
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
58
|
+
optionEndTextIconKey?: string;
|
|
56
59
|
valueToCopy?: string;
|
|
57
60
|
disabledOptionKey?: string;
|
|
58
61
|
optionChildrenKey: string;
|
|
@@ -71,6 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
71
74
|
optionIconType: any;
|
|
72
75
|
optionEndIconKey: string;
|
|
73
76
|
optionEndIconType: any;
|
|
77
|
+
optionEndTextIconKey: any;
|
|
74
78
|
valueToCopy: any;
|
|
75
79
|
disabledOptionKey: string;
|
|
76
80
|
}>>> & {
|
|
@@ -81,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
81
85
|
disabled: boolean;
|
|
82
86
|
size: "small" | "medium" | "large";
|
|
83
87
|
selected: unknown[];
|
|
88
|
+
valueToCopy: string;
|
|
84
89
|
placeholder: string;
|
|
85
90
|
inlineSearchPlaceholder: string;
|
|
86
91
|
optionNameKey: string;
|
|
@@ -89,8 +94,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
94
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
90
95
|
optionEndIconKey: string;
|
|
91
96
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
92
|
-
valueToCopy: string;
|
|
93
97
|
disabledOptionKey: string;
|
|
98
|
+
optionEndTextIconKey: string;
|
|
94
99
|
}>, {
|
|
95
100
|
"trigger-end-icon"?(_: {}): any;
|
|
96
101
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TreeDropdown.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TreeDropdown.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b883d1fa"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|