@ironsource/shared-ui 2.1.11-rc.6 → 2.1.11-rc.61
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_026d82c5_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_4fe1c7d1_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_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_2a77c137_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/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_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_6526c390_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_5ff4b654_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_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/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_07b259bf_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/chart/Chart.vue.d.ts +16 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +145 -123
- 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 +110 -50
- package/components/chart/ChartLoader.vue.js +5 -23
- package/components/chart/ChartLoader.vue2.js +15 -0
- 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.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +34 -26
- package/components/chart/index.d.ts +55 -16
- package/components/chart/mockData.d.ts +22 -1
- 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 +133 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +246 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +45 -46
- package/components/dropdown/v4/DropdownV4.vue.d.ts +26 -6
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +187 -167
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +116 -91
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +123 -113
- package/components/dropdown/v4/index.d.ts +431 -95
- 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 +11 -1
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -26
- package/components/popover/v4/index.d.ts +46 -8
- 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 +3 -3
- 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 +2 -2
- package/components/typography/v4/Typography.vue2.js +24 -18
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1570 -328
- package/index.js +1 -1
- package/mocks/options.d.ts +19 -0
- 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/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_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/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_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_111642c6_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_da829544_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_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/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
- package/consts/configs.js +0 -4
|
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
optionTwoLinesKey?: string;
|
|
22
22
|
treeChildShown?: boolean;
|
|
23
23
|
optionFlagKey?: string;
|
|
24
|
+
isMulti?: boolean;
|
|
24
25
|
}>, {
|
|
25
26
|
subtitle: string;
|
|
26
27
|
disabled: boolean;
|
|
@@ -43,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
44
|
optionTwoLinesKey: any;
|
|
44
45
|
treeChildShown: boolean;
|
|
45
46
|
optionFlagKey: any;
|
|
47
|
+
isMulti: boolean;
|
|
46
48
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
49
|
toggleTreeCollapse: (option: unknown) => void;
|
|
48
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -68,6 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
70
|
optionTwoLinesKey?: string;
|
|
69
71
|
treeChildShown?: boolean;
|
|
70
72
|
optionFlagKey?: string;
|
|
73
|
+
isMulti?: boolean;
|
|
71
74
|
}>, {
|
|
72
75
|
subtitle: string;
|
|
73
76
|
disabled: boolean;
|
|
@@ -90,6 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
90
93
|
optionTwoLinesKey: any;
|
|
91
94
|
treeChildShown: boolean;
|
|
92
95
|
optionFlagKey: any;
|
|
96
|
+
isMulti: boolean;
|
|
93
97
|
}>>> & {
|
|
94
98
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
95
99
|
}, {
|
|
@@ -114,6 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
114
118
|
treeMainOptionExpanded: boolean;
|
|
115
119
|
stopOptionClickEventPropagation: boolean;
|
|
116
120
|
treeChildShown: boolean;
|
|
121
|
+
isMulti: boolean;
|
|
117
122
|
}>, {
|
|
118
123
|
image?(_: {}): any;
|
|
119
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_5ff4b654_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-5ff4b654"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,35 +1,40 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_5ff4b654_lang.css"; import { defineComponent as P, ref as C, watch as S, computed as V, openBlock as o, createBlock as m, unref as n, createSlots as A, withCtx as s, createElementVNode as c, normalizeClass as v, createCommentVNode as i, createElementBlock as l, renderSlot as y, createVNode as a, toDisplayString as r, createTextVNode as f, withModifiers as I, Fragment as F, renderList as L } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import N from "../../typography/Text.vue.js";
|
|
4
4
|
import j from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
8
|
-
import { optionCommon as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { isElementTruncated as
|
|
5
|
+
import T from "../../icon/v4/IconV4.vue.js";
|
|
6
|
+
import R from "../../icon/v4/IconFlag.vue.js";
|
|
7
|
+
import { NOOP as D } from "@vue/shared";
|
|
8
|
+
import { optionCommon as q } from "../common/Option.common.js";
|
|
9
|
+
import g from "../../typography/v4/Typography.vue.js";
|
|
10
|
+
import G from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
+
import { isElementTruncated as H } from "../../../utils/text.js";
|
|
12
12
|
import { promiseTimeout as J } from "@vueuse/core";
|
|
13
|
-
|
|
14
|
-
const W = { class: "multiline-tooltip" }, X = {
|
|
13
|
+
const Q = { class: "multiline-tooltip" }, U = {
|
|
15
14
|
key: 1,
|
|
16
15
|
class: "image"
|
|
17
|
-
},
|
|
16
|
+
}, W = ["src"], X = {
|
|
18
17
|
key: 2,
|
|
19
18
|
class: "flag"
|
|
20
|
-
},
|
|
19
|
+
}, Y = {
|
|
21
20
|
key: 3,
|
|
22
21
|
class: "start-icon"
|
|
23
|
-
},
|
|
22
|
+
}, Z = {
|
|
24
23
|
key: 0,
|
|
25
|
-
class: "
|
|
26
|
-
},
|
|
24
|
+
class: "main-text"
|
|
25
|
+
}, _ = {
|
|
27
26
|
key: 1,
|
|
27
|
+
class: "main-text"
|
|
28
|
+
}, ee = {
|
|
29
|
+
key: 2,
|
|
30
|
+
class: "end-text-icon"
|
|
31
|
+
}, te = {
|
|
32
|
+
key: 3,
|
|
28
33
|
class: "caption-text"
|
|
29
|
-
},
|
|
34
|
+
}, ne = {
|
|
30
35
|
key: 4,
|
|
31
36
|
class: "end-icon"
|
|
32
|
-
},
|
|
37
|
+
}, oe = ["onClick"], ie = { key: 0 }, pe = /* @__PURE__ */ P({
|
|
33
38
|
__name: "OptionV4",
|
|
34
39
|
props: {
|
|
35
40
|
option: { default: null },
|
|
@@ -53,101 +58,121 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
53
58
|
optionTwoLinesVariant: { default: void 0 },
|
|
54
59
|
optionTwoLinesKey: { default: void 0 },
|
|
55
60
|
treeChildShown: { type: Boolean, default: !1 },
|
|
56
|
-
optionFlagKey: { default: null }
|
|
61
|
+
optionFlagKey: { default: null },
|
|
62
|
+
isMulti: { type: Boolean, default: !1 }
|
|
57
63
|
},
|
|
58
64
|
emits: ["toggleTreeCollapse"],
|
|
59
|
-
setup(e, { emit:
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
await J(100), b.value =
|
|
65
|
+
setup(e, { emit: w }) {
|
|
66
|
+
const d = e, { selected: h, id: O, onClick: $, api: K } = q(d), B = (t) => {
|
|
67
|
+
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() : $(t);
|
|
68
|
+
}, p = C(null), b = C(!1);
|
|
69
|
+
S([() => d.treeChildShown, p], async () => {
|
|
70
|
+
await J(100), b.value = p.value && H(p.value);
|
|
65
71
|
});
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
return (t,
|
|
70
|
-
text: n(
|
|
71
|
-
"test-id":
|
|
72
|
+
const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "", x = V(() => M(d.option)), z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
|
|
73
|
+
w("toggleTreeCollapse", d.option);
|
|
74
|
+
};
|
|
75
|
+
return (t, k) => (o(), m(n(G), {
|
|
76
|
+
text: n(x),
|
|
77
|
+
"test-id": z(e.option),
|
|
72
78
|
placement: e.toolTipPlacement,
|
|
73
79
|
class: "tooltip-option"
|
|
74
|
-
},
|
|
75
|
-
default:
|
|
76
|
-
|
|
80
|
+
}, A({
|
|
81
|
+
default: s(() => [
|
|
82
|
+
c("div", {
|
|
77
83
|
ref: "el",
|
|
78
|
-
class:
|
|
84
|
+
class: v(["item-container", {
|
|
79
85
|
"item-container--disabled": e.disabled,
|
|
80
86
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
81
|
-
"item-container--selected": n(
|
|
82
|
-
"item-container--multi":
|
|
87
|
+
"item-container--selected": n(h),
|
|
88
|
+
"item-container--multi": e.isMulti
|
|
83
89
|
}])
|
|
84
90
|
}, [
|
|
85
|
-
|
|
86
|
-
class:
|
|
87
|
-
"item--multi":
|
|
91
|
+
c("div", {
|
|
92
|
+
class: v(["item", {
|
|
93
|
+
"item--multi": e.isMulti,
|
|
88
94
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
89
95
|
}])
|
|
90
96
|
}, [
|
|
91
|
-
|
|
97
|
+
e.isMulti || e.selectAllOption ? (o(), m(n(j), {
|
|
92
98
|
key: 0,
|
|
93
|
-
id: n(
|
|
99
|
+
id: n(O).toString(),
|
|
94
100
|
tabindex: "-1",
|
|
95
101
|
class: "checkbox",
|
|
96
|
-
"is-checked": n(
|
|
102
|
+
"is-checked": n(h),
|
|
97
103
|
"is-indeterminate": e.isIndeterminate,
|
|
98
|
-
onClick:
|
|
104
|
+
onClick: k[0] || (k[0] = (u) => B(u))
|
|
99
105
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
|
|
100
|
-
t.$slots.image || e.imageKey ? (o(), l("div",
|
|
101
|
-
|
|
106
|
+
t.$slots.image || e.imageKey ? (o(), l("div", U, [
|
|
107
|
+
y(t.$slots, "image", {}, () => [
|
|
102
108
|
e.imageKey ? (o(), l("img", {
|
|
103
109
|
key: 0,
|
|
104
110
|
src: e.option[e.imageKey]
|
|
105
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, W)) : i("", !0)
|
|
106
112
|
], !0)
|
|
107
113
|
])) : i("", !0),
|
|
108
|
-
t.$slots.flag || e.optionFlagKey ? (o(), l("div",
|
|
109
|
-
|
|
110
|
-
|
|
114
|
+
t.$slots.flag || e.optionFlagKey ? (o(), l("div", X, [
|
|
115
|
+
y(t.$slots, "flag", {}, () => [
|
|
116
|
+
e.optionFlagKey ? (o(), m(n(R), {
|
|
111
117
|
key: 0,
|
|
112
|
-
|
|
113
|
-
}, null, 8,
|
|
118
|
+
"country-code": e.option[e.optionFlagKey]
|
|
119
|
+
}, null, 8, ["country-code"])) : i("", !0)
|
|
114
120
|
], !0)
|
|
115
121
|
])) : i("", !0),
|
|
116
|
-
t.$slots["icon-start"] || e.iconKey ? (o(), l("div",
|
|
117
|
-
|
|
118
|
-
|
|
122
|
+
t.$slots["icon-start"] || e.iconKey ? (o(), l("div", Y, [
|
|
123
|
+
y(t.$slots, "icon-start", {}, () => [
|
|
124
|
+
a(n(T), {
|
|
119
125
|
type: e.iconType,
|
|
120
126
|
name: e.option[e.iconKey],
|
|
121
127
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
122
128
|
}, null, 8, ["type", "name", "size"])
|
|
123
129
|
], !0)
|
|
124
130
|
])) : i("", !0),
|
|
125
|
-
|
|
131
|
+
c("div", {
|
|
126
132
|
ref_key: "textContainerRef",
|
|
127
|
-
ref:
|
|
133
|
+
ref: p,
|
|
128
134
|
class: "text-container"
|
|
129
135
|
}, [
|
|
130
|
-
|
|
136
|
+
a(n(g), {
|
|
131
137
|
class: "option-text",
|
|
132
138
|
variant: "body2"
|
|
133
139
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class:
|
|
140
|
+
default: s(() => [
|
|
141
|
+
y(t.$slots, "default", {}, () => [
|
|
142
|
+
c("div", {
|
|
143
|
+
class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
138
144
|
}, [
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
145
|
+
e.option.conditionalOptions ? (o(), l("div", _, [
|
|
146
|
+
a(n(g), {
|
|
147
|
+
variant: "body2",
|
|
148
|
+
class: "conditional-option-label"
|
|
149
|
+
}, {
|
|
150
|
+
default: s(() => [
|
|
151
|
+
f(r(e.option.conditionalName) + ": ", 1)
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
}),
|
|
155
|
+
a(n(g), {
|
|
156
|
+
variant: "h5",
|
|
157
|
+
class: "conditional-option-value"
|
|
158
|
+
}, {
|
|
159
|
+
default: s(() => [
|
|
160
|
+
f('"' + r(e.option[e.nameKey]) + '"', 1)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
})
|
|
164
|
+
])) : (o(), l("div", Z, r(e.option[e.nameKey]), 1)),
|
|
165
|
+
e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), l("span", ee, [
|
|
166
|
+
a(n(T), {
|
|
142
167
|
type: "regular",
|
|
143
168
|
name: e.option[e.endTextIconKey],
|
|
144
169
|
size: "16px"
|
|
145
170
|
}, null, 8, ["name"])
|
|
146
171
|
])) : i("", !0),
|
|
147
|
-
e.optionTwoLinesKey ? (o(), l("div",
|
|
148
|
-
|
|
149
|
-
default:
|
|
150
|
-
|
|
172
|
+
e.optionTwoLinesKey ? (o(), l("div", te, [
|
|
173
|
+
a(n(g), { variant: "caption" }, {
|
|
174
|
+
default: s(() => [
|
|
175
|
+
f(r(e.option[e.optionTwoLinesKey]), 1)
|
|
151
176
|
]),
|
|
152
177
|
_: 1
|
|
153
178
|
})
|
|
@@ -157,20 +182,20 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
157
182
|
]),
|
|
158
183
|
_: 3
|
|
159
184
|
}),
|
|
160
|
-
e.subtitle ? (o(),
|
|
185
|
+
e.subtitle ? (o(), m(n(N), {
|
|
161
186
|
key: 0,
|
|
162
187
|
class: "subtitle",
|
|
163
188
|
size: "xs"
|
|
164
189
|
}, {
|
|
165
|
-
default:
|
|
166
|
-
|
|
190
|
+
default: s(() => [
|
|
191
|
+
f(r(e.subtitle), 1)
|
|
167
192
|
]),
|
|
168
193
|
_: 1
|
|
169
194
|
})) : i("", !0)
|
|
170
195
|
], 512),
|
|
171
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div",
|
|
172
|
-
|
|
173
|
-
|
|
196
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div", ne, [
|
|
197
|
+
y(t.$slots, "icon-end", {}, () => [
|
|
198
|
+
a(n(T), {
|
|
174
199
|
type: e.endIconType || "regular",
|
|
175
200
|
name: e.option[e.endIconKey],
|
|
176
201
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
@@ -180,21 +205,21 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
180
205
|
e.treeMainOption ? (o(), l("div", {
|
|
181
206
|
key: 5,
|
|
182
207
|
class: "tree-main-arrow-wrapper",
|
|
183
|
-
onClick:
|
|
208
|
+
onClick: I(E, ["stop"])
|
|
184
209
|
}, [
|
|
185
|
-
|
|
210
|
+
a(n(T), {
|
|
186
211
|
name: "caret-down",
|
|
187
212
|
size: "16px",
|
|
188
|
-
class:
|
|
213
|
+
class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
189
214
|
}, null, 8, ["class"])
|
|
190
|
-
], 8,
|
|
215
|
+
], 8, oe)) : i("", !0)
|
|
191
216
|
], 2),
|
|
192
|
-
n(
|
|
193
|
-
|
|
217
|
+
n(K).clearable && n(h) ? (o(), l("div", ie, [
|
|
218
|
+
c("button", {
|
|
194
219
|
class: "clear-button",
|
|
195
|
-
onClick:
|
|
220
|
+
onClick: k[1] || (k[1] = I((u) => n(K).clearSelection(), ["prevent", "stop"]))
|
|
196
221
|
}, [
|
|
197
|
-
|
|
222
|
+
a(n(T), {
|
|
198
223
|
name: "close",
|
|
199
224
|
width: "8",
|
|
200
225
|
height: "8"
|
|
@@ -205,16 +230,16 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
205
230
|
]),
|
|
206
231
|
_: 2
|
|
207
232
|
}, [
|
|
208
|
-
Array.isArray(n(
|
|
233
|
+
Array.isArray(n(x)) ? {
|
|
209
234
|
name: "tooltip",
|
|
210
|
-
fn:
|
|
211
|
-
|
|
212
|
-
(o(!0), l(F, null,
|
|
213
|
-
key:
|
|
235
|
+
fn: s(() => [
|
|
236
|
+
c("div", Q, [
|
|
237
|
+
(o(!0), l(F, null, L(n(x), (u) => (o(), m(n(g), {
|
|
238
|
+
key: u,
|
|
214
239
|
variant: "body2"
|
|
215
240
|
}, {
|
|
216
|
-
default:
|
|
217
|
-
|
|
241
|
+
default: s(() => [
|
|
242
|
+
f(r(u), 1)
|
|
218
243
|
]),
|
|
219
244
|
_: 2
|
|
220
245
|
}, 1024))), 128))
|
|
@@ -226,5 +251,5 @@ const W = { class: "multiline-tooltip" }, X = {
|
|
|
226
251
|
}
|
|
227
252
|
});
|
|
228
253
|
export {
|
|
229
|
-
|
|
254
|
+
pe as default
|
|
230
255
|
};
|
|
@@ -85,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
85
|
disabled: boolean;
|
|
86
86
|
size: "small" | "medium" | "large";
|
|
87
87
|
selected: unknown[];
|
|
88
|
+
valueToCopy: string;
|
|
88
89
|
placeholder: string;
|
|
89
90
|
inlineSearchPlaceholder: string;
|
|
90
91
|
optionNameKey: string;
|
|
@@ -93,7 +94,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
93
94
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
94
95
|
optionEndIconKey: string;
|
|
95
96
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
96
|
-
valueToCopy: string;
|
|
97
97
|
disabledOptionKey: string;
|
|
98
98
|
optionEndTextIconKey: string;
|
|
99
99
|
}>, {
|
|
@@ -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
|
};
|