@ironsource/shared-ui 2.1.12-test.98 → 2.1.12
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/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_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_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +21 -1
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +130 -114
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +43 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +15 -0
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +173 -156
- package/components/chart/ChartStoryArgs.d.ts +17 -0
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +39 -35
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +26 -26
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/consts.d.ts +5 -1
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +77 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +3 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +20 -14
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +60 -60
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +157 -157
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +81 -3
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +70 -70
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +95 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +65 -0
- package/components/link/index.d.ts +296 -0
- package/components/link/index.js +6 -0
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +5 -5
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +12 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +111 -113
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +77 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +12 -7
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +273 -268
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +84 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
- package/components/table/v4/index.d.ts +646 -332
- package/components/table/v4/index.js +11 -5
- package/components/table/v4/storyUtils.d.ts +25 -0
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +2675 -1649
- package/index.js +137 -121
- package/package.json +18 -1
- package/testids/index.d.ts +47 -1
- package/testids/index.js +40 -32
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +38 -21
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import D from "../../typography/Text.vue.js";
|
|
4
4
|
import q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
5
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import G from "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
7
|
+
import { NOOP as $ } from "@vue/shared";
|
|
8
8
|
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
9
|
import p from "../../typography/v4/Typography.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import h from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
11
|
import { isElementTruncated as J } from "../../../utils/text.js";
|
|
12
12
|
import { promiseTimeout as Q } from "@vueuse/core";
|
|
13
13
|
const U = { class: "multiline-tooltip" }, W = {
|
|
@@ -26,10 +26,10 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "main-text"
|
|
28
28
|
}, te = {
|
|
29
|
-
key:
|
|
29
|
+
key: 0,
|
|
30
30
|
class: "end-text-icon"
|
|
31
31
|
}, ne = {
|
|
32
|
-
key:
|
|
32
|
+
key: 1,
|
|
33
33
|
class: "caption-text"
|
|
34
34
|
}, ie = {
|
|
35
35
|
key: 4,
|
|
@@ -37,7 +37,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
37
37
|
}, oe = {
|
|
38
38
|
key: 5,
|
|
39
39
|
class: "option-warning"
|
|
40
|
-
}, le = ["onClick"], ae = { key: 0 },
|
|
40
|
+
}, le = ["onClick"], ae = { key: 0 }, ke = /* @__PURE__ */ V({
|
|
41
41
|
__name: "OptionV4",
|
|
42
42
|
props: {
|
|
43
43
|
option: { default: null },
|
|
@@ -56,6 +56,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
56
56
|
endIconType: { default: "regular" },
|
|
57
57
|
endTextIconKey: { default: null },
|
|
58
58
|
tooltipPlacement: { default: "right" },
|
|
59
|
+
tooltipAttachedToText: { type: Boolean, default: !1 },
|
|
59
60
|
treeMainOption: { type: Boolean, default: !1 },
|
|
60
61
|
treeMainOptionExpanded: { type: Boolean, default: !1 },
|
|
61
62
|
stopOptionClickEventPropagation: { type: Boolean, default: !1 },
|
|
@@ -67,37 +68,38 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
67
68
|
minMaxSelectionTooltipMessage: { default: null }
|
|
68
69
|
},
|
|
69
70
|
emits: ["toggleTreeCollapse"],
|
|
70
|
-
setup(e, { emit:
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
|
|
71
|
+
setup(e, { emit: M }) {
|
|
72
|
+
const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
|
|
73
|
+
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
|
|
74
|
+
}, x = I(null), w = I(!1), A = (t) => {
|
|
75
|
+
d.disabled && (t.stopPropagation(), $());
|
|
75
76
|
};
|
|
76
|
-
F([() =>
|
|
77
|
-
await Q(100),
|
|
77
|
+
F([() => d.treeChildShown, x], async () => {
|
|
78
|
+
await Q(100), w.value = x.value && J(x.value);
|
|
78
79
|
});
|
|
79
|
-
const
|
|
80
|
-
const t =
|
|
80
|
+
const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
|
|
81
|
+
const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
|
|
81
82
|
return c ? t ? `${c}. ${t}` : c : t;
|
|
82
|
-
}),
|
|
83
|
-
|
|
83
|
+
}), C = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
|
|
84
|
+
M("toggleTreeCollapse", d.option);
|
|
84
85
|
};
|
|
85
|
-
return (t, c) => (i(), g(n(
|
|
86
|
-
text: n(
|
|
87
|
-
|
|
86
|
+
return (t, c) => (i(), g(n(h), {
|
|
87
|
+
text: n(k),
|
|
88
|
+
disabled: e.tooltipAttachedToText,
|
|
89
|
+
"test-id": C(e.option),
|
|
88
90
|
placement: e.tooltipPlacement,
|
|
89
91
|
class: "tooltip-option"
|
|
90
92
|
}, N({
|
|
91
|
-
default:
|
|
93
|
+
default: s(() => [
|
|
92
94
|
u("div", {
|
|
93
95
|
ref: "el",
|
|
94
96
|
class: v(["item-container", {
|
|
95
97
|
"item-container--disabled": e.disabled,
|
|
96
98
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
97
|
-
"item-container--selected": n(
|
|
99
|
+
"item-container--selected": n(b),
|
|
98
100
|
"item-container--multi": e.isMulti
|
|
99
101
|
}]),
|
|
100
|
-
onClick:
|
|
102
|
+
onClick: A
|
|
101
103
|
}, [
|
|
102
104
|
u("div", {
|
|
103
105
|
class: v(["item", {
|
|
@@ -107,13 +109,13 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
107
109
|
}, [
|
|
108
110
|
e.isMulti || e.selectAllOption ? (i(), g(n(q), {
|
|
109
111
|
key: 0,
|
|
110
|
-
id: n(
|
|
111
|
-
disabled:
|
|
112
|
+
id: n(B).toString(),
|
|
113
|
+
disabled: d.disabled,
|
|
112
114
|
tabindex: "-1",
|
|
113
115
|
class: "checkbox",
|
|
114
|
-
"is-checked": n(
|
|
116
|
+
"is-checked": n(b),
|
|
115
117
|
"is-indeterminate": e.isIndeterminate,
|
|
116
|
-
onClick: c[0] || (c[0] = (f) =>
|
|
118
|
+
onClick: c[0] || (c[0] = (f) => z(f))
|
|
117
119
|
}, null, 8, ["id", "disabled", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
118
120
|
!e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (i(), l("div", W, [
|
|
119
121
|
r(t.$slots, "image", {}, () => [
|
|
@@ -133,7 +135,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
133
135
|
])) : o("", !0),
|
|
134
136
|
!e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (i(), l("div", Z, [
|
|
135
137
|
r(t.$slots, "icon-start", {}, () => [
|
|
136
|
-
|
|
138
|
+
a(n(y), {
|
|
137
139
|
type: e.iconType,
|
|
138
140
|
name: e.option[e.iconKey],
|
|
139
141
|
color: e.option.disabled ? "var(--text-disabled)" : null,
|
|
@@ -143,48 +145,59 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
143
145
|
])) : o("", !0),
|
|
144
146
|
u("div", {
|
|
145
147
|
ref_key: "textContainerRef",
|
|
146
|
-
ref:
|
|
148
|
+
ref: x,
|
|
147
149
|
class: "text-container"
|
|
148
150
|
}, [
|
|
149
|
-
|
|
151
|
+
a(n(p), {
|
|
150
152
|
class: "option-text",
|
|
151
153
|
variant: "body2"
|
|
152
154
|
}, {
|
|
153
|
-
default:
|
|
155
|
+
default: s(() => [
|
|
154
156
|
r(t.$slots, "default", {}, () => [
|
|
155
157
|
u("div", {
|
|
156
158
|
class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
157
159
|
}, [
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
160
|
+
a(n(h), {
|
|
161
|
+
text: n(k),
|
|
162
|
+
placement: e.tooltipPlacement,
|
|
163
|
+
disabled: !e.tooltipAttachedToText,
|
|
164
|
+
"test-id": C(e.option),
|
|
165
|
+
"dont-wrap-disabled": ""
|
|
166
|
+
}, {
|
|
167
|
+
default: s(() => [
|
|
168
|
+
e.option?.conditionalOptions ? (i(), l("div", ee, [
|
|
169
|
+
a(n(p), {
|
|
170
|
+
variant: "body2",
|
|
171
|
+
class: "conditional-option-label"
|
|
172
|
+
}, {
|
|
173
|
+
default: s(() => [
|
|
174
|
+
T(m(e.option.conditionalName) + ": ", 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
a(n(p), {
|
|
179
|
+
variant: "h5",
|
|
180
|
+
class: "conditional-option-value"
|
|
181
|
+
}, {
|
|
182
|
+
default: s(() => [
|
|
183
|
+
T('"' + m(e.option[e.nameKey]) + '"', 1)
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
})
|
|
187
|
+
])) : (i(), l("div", _, m(e.option[e.nameKey]), 1))
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["text", "placement", "disabled", "test-id"]),
|
|
178
191
|
e.endTextIconKey && e.option[e.endTextIconKey] ? (i(), l("span", te, [
|
|
179
|
-
|
|
192
|
+
a(n(y), {
|
|
180
193
|
type: "regular",
|
|
181
194
|
name: e.option[e.endTextIconKey],
|
|
182
195
|
size: "16px"
|
|
183
196
|
}, null, 8, ["name"])
|
|
184
197
|
])) : o("", !0),
|
|
185
198
|
e.optionTwoLinesKey ? (i(), l("div", ne, [
|
|
186
|
-
|
|
187
|
-
default:
|
|
199
|
+
a(n(p), { variant: "caption" }, {
|
|
200
|
+
default: s(() => [
|
|
188
201
|
T(m(e.option[e.optionTwoLinesKey]), 1)
|
|
189
202
|
]),
|
|
190
203
|
_: 1
|
|
@@ -200,7 +213,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
200
213
|
class: "subtitle",
|
|
201
214
|
size: "xs"
|
|
202
215
|
}, {
|
|
203
|
-
default:
|
|
216
|
+
default: s(() => [
|
|
204
217
|
T(m(e.subtitle), 1)
|
|
205
218
|
]),
|
|
206
219
|
_: 1
|
|
@@ -208,7 +221,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
208
221
|
], 512),
|
|
209
222
|
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", ie, [
|
|
210
223
|
r(t.$slots, "icon-end", {}, () => [
|
|
211
|
-
|
|
224
|
+
a(n(y), {
|
|
212
225
|
type: e.endIconType || "regular",
|
|
213
226
|
name: e.option[e.endIconKey],
|
|
214
227
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
@@ -216,12 +229,12 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
216
229
|
], !0)
|
|
217
230
|
])) : o("", !0),
|
|
218
231
|
e.warningKey && e.option?.[e.warningKey] ? (i(), l("div", oe, [
|
|
219
|
-
|
|
232
|
+
a(n(h), {
|
|
220
233
|
text: e.option[e.warningKey],
|
|
221
234
|
placement: "top"
|
|
222
235
|
}, {
|
|
223
|
-
default:
|
|
224
|
-
|
|
236
|
+
default: s(() => [
|
|
237
|
+
a(n(y), {
|
|
225
238
|
class: "option-warning__icon",
|
|
226
239
|
name: "warning-circle",
|
|
227
240
|
size: "16px"
|
|
@@ -237,21 +250,21 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
237
250
|
e.treeMainOption ? (i(), l("div", {
|
|
238
251
|
key: 7,
|
|
239
252
|
class: "tree-main-arrow-wrapper",
|
|
240
|
-
onClick:
|
|
253
|
+
onClick: O(E, ["stop"])
|
|
241
254
|
}, [
|
|
242
|
-
|
|
255
|
+
a(n(y), {
|
|
243
256
|
name: "caret-down",
|
|
244
257
|
size: "16px",
|
|
245
258
|
class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
246
259
|
}, null, 8, ["class"])
|
|
247
260
|
], 8, le)) : o("", !0)
|
|
248
261
|
], 2),
|
|
249
|
-
n(
|
|
262
|
+
n(K).clearable && n(b) ? (i(), l("div", ae, [
|
|
250
263
|
u("button", {
|
|
251
264
|
class: "clear-button",
|
|
252
|
-
onClick: c[1] || (c[1] =
|
|
265
|
+
onClick: c[1] || (c[1] = O((f) => n(K).clearSelection(), ["prevent", "stop"]))
|
|
253
266
|
}, [
|
|
254
|
-
|
|
267
|
+
a(n(y), {
|
|
255
268
|
name: "close",
|
|
256
269
|
width: "8",
|
|
257
270
|
height: "8"
|
|
@@ -262,15 +275,15 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
262
275
|
]),
|
|
263
276
|
_: 2
|
|
264
277
|
}, [
|
|
265
|
-
Array.isArray(n(
|
|
278
|
+
Array.isArray(n(k)) ? {
|
|
266
279
|
name: "tooltip",
|
|
267
|
-
fn:
|
|
280
|
+
fn: s(() => [
|
|
268
281
|
u("div", U, [
|
|
269
|
-
(i(!0), l(j, null, R(n(
|
|
282
|
+
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(p), {
|
|
270
283
|
key: f,
|
|
271
284
|
variant: "body2"
|
|
272
285
|
}, {
|
|
273
|
-
default:
|
|
286
|
+
default: s(() => [
|
|
274
287
|
T(m(f), 1)
|
|
275
288
|
]),
|
|
276
289
|
_: 2
|
|
@@ -279,9 +292,9 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
279
292
|
]),
|
|
280
293
|
key: "0"
|
|
281
294
|
} : void 0
|
|
282
|
-
]), 1032, ["text", "test-id", "placement"]));
|
|
295
|
+
]), 1032, ["text", "disabled", "test-id", "placement"]));
|
|
283
296
|
}
|
|
284
297
|
});
|
|
285
298
|
export {
|
|
286
|
-
|
|
299
|
+
ke as default
|
|
287
300
|
};
|
|
@@ -20,6 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
optionChildrenKey: string;
|
|
21
21
|
optionUniqueIdKey: string | number;
|
|
22
22
|
preExpandedOptions: string[] | number[];
|
|
23
|
+
triggerFeedbackText?: string;
|
|
24
|
+
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
23
25
|
}>, {
|
|
24
26
|
selected: any;
|
|
25
27
|
placeholder: string;
|
|
@@ -36,6 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
38
|
optionEndTextIconKey: any;
|
|
37
39
|
valueToCopy: any;
|
|
38
40
|
disabledOptionKey: string;
|
|
41
|
+
triggerFeedbackText: string;
|
|
42
|
+
triggerFeedbackVariant: any;
|
|
39
43
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
44
|
"update:selected": (value: unknown) => void;
|
|
41
45
|
"update:isOpen": (value: unknown) => void;
|
|
@@ -61,6 +65,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
65
|
optionChildrenKey: string;
|
|
62
66
|
optionUniqueIdKey: string | number;
|
|
63
67
|
preExpandedOptions: string[] | number[];
|
|
68
|
+
triggerFeedbackText?: string;
|
|
69
|
+
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
64
70
|
}>, {
|
|
65
71
|
selected: any;
|
|
66
72
|
placeholder: string;
|
|
@@ -77,6 +83,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
77
83
|
optionEndTextIconKey: any;
|
|
78
84
|
valueToCopy: any;
|
|
79
85
|
disabledOptionKey: string;
|
|
86
|
+
triggerFeedbackText: string;
|
|
87
|
+
triggerFeedbackVariant: any;
|
|
80
88
|
}>>> & {
|
|
81
89
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
82
90
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
@@ -87,6 +95,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
95
|
valueToCopy: string;
|
|
88
96
|
selected: unknown[];
|
|
89
97
|
placeholder: string;
|
|
98
|
+
triggerFeedbackText: string;
|
|
99
|
+
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
90
100
|
inlineSearchPlaceholder: string;
|
|
91
101
|
optionNameKey: string;
|
|
92
102
|
optionIconKey: string;
|
|
@@ -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_63dc057e_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-63dc057e"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|