@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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../SortableItem.
|
|
2
|
-
import
|
|
1
|
+
import "../../SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css"; import { defineComponent as P, useCssVars as E, useSlots as $, computed as C, watch as I, ref as R, openBlock as l, createElementBlock as n, normalizeClass as f, unref as t, withModifiers as u, createElementVNode as d, createVNode as h, createBlock as a, withCtx as b, createTextVNode as S, toDisplayString as V, createCommentVNode as c, renderSlot as D, mergeProps as F, normalizeProps as j, Fragment as q, renderList as A } from "vue";
|
|
2
|
+
import L from "../typography/v4/Typography.vue.js";
|
|
3
3
|
import m from "../icon/v4/IconV4.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { useVirtualList as
|
|
7
|
-
import { matchString as
|
|
8
|
-
import { useHoverEffect as
|
|
9
|
-
const
|
|
4
|
+
import w from "../icon/v4/IconFlag.vue.js";
|
|
5
|
+
import G from "./SortableItemLabel.vue.js";
|
|
6
|
+
import { useVirtualList as J } from "@vueuse/core";
|
|
7
|
+
import { matchString as K } from "../../utils/search.js";
|
|
8
|
+
import { useHoverEffect as U } from "./composables/useHoverEffect.js";
|
|
9
|
+
const W = { class: "draggable-handle" }, X = { class: "item__prefix" }, Y = ["onClick"], Z = { class: "item__text" }, _ = ["onClick"], de = /* @__PURE__ */ P({
|
|
10
10
|
__name: "SortableItem",
|
|
11
11
|
props: {
|
|
12
12
|
item: null,
|
|
@@ -15,126 +15,142 @@ const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["on
|
|
|
15
15
|
isSelected: { type: Boolean, default: !1 },
|
|
16
16
|
selectedChildId: { default: null },
|
|
17
17
|
searchQuery: { default: null },
|
|
18
|
+
childListMaxHeight: { default: "530px" },
|
|
18
19
|
searchHandler: { type: Function, default: null },
|
|
19
20
|
displayValue: null
|
|
20
21
|
},
|
|
21
22
|
emits: ["toggle", "select", "selectChild"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
setup(e, { emit: y }) {
|
|
24
|
+
const s = e;
|
|
25
|
+
E((r) => ({
|
|
26
|
+
bdf83566: e.childListMaxHeight
|
|
27
|
+
}));
|
|
28
|
+
const H = $(), M = () => {
|
|
29
|
+
y("toggle", !s.isOpen);
|
|
30
|
+
}, g = C(() => (s.item.children || []).filter(
|
|
31
|
+
(o) => s.searchHandler ? s.searchHandler(o, s.searchQuery) : K(o.displayText, s.searchQuery)
|
|
32
|
+
)), k = C(() => g.value.length > 0), z = (r) => r.id === s.selectedChildId, {
|
|
33
|
+
list: Q,
|
|
34
|
+
containerProps: B,
|
|
30
35
|
wrapperProps: T,
|
|
31
36
|
scrollTo: N
|
|
32
|
-
} =
|
|
37
|
+
} = J(g, {
|
|
33
38
|
itemHeight: 34
|
|
34
39
|
});
|
|
35
|
-
|
|
36
|
-
() =>
|
|
40
|
+
I(
|
|
41
|
+
() => s.searchQuery,
|
|
37
42
|
() => N(0)
|
|
38
43
|
);
|
|
39
|
-
const
|
|
40
|
-
|
|
44
|
+
const p = R(null), { handleMouseout: v, handleMouseover: x } = U(
|
|
45
|
+
p,
|
|
41
46
|
"sortable-item--hovered"
|
|
42
47
|
);
|
|
43
|
-
return (
|
|
48
|
+
return (r, o) => (l(), n("div", {
|
|
44
49
|
ref_key: "itemRef",
|
|
45
|
-
ref:
|
|
46
|
-
class: f(["sortable-item", { "sortable-item--selected":
|
|
47
|
-
onMouseover:
|
|
48
|
-
(...i) =>
|
|
49
|
-
onMouseout:
|
|
50
|
-
(...i) =>
|
|
51
|
-
onClick:
|
|
50
|
+
ref: p,
|
|
51
|
+
class: f(["sortable-item", { "sortable-item--selected": e.isSelected }]),
|
|
52
|
+
onMouseover: o[1] || (o[1] = //@ts-ignore
|
|
53
|
+
(...i) => t(x) && t(x)(...i)),
|
|
54
|
+
onMouseout: o[2] || (o[2] = //@ts-ignore
|
|
55
|
+
(...i) => t(v) && t(v)(...i)),
|
|
56
|
+
onClick: o[3] || (o[3] = u((i) => y("select"), ["stop"]))
|
|
52
57
|
}, [
|
|
53
|
-
|
|
54
|
-
class: f(["item", {
|
|
58
|
+
d("div", {
|
|
59
|
+
class: f(["item", {
|
|
60
|
+
"drag-allowed": !e.item.isLocked && !e.searchQuery,
|
|
61
|
+
"item--selected": e.isSelected && !e.selectedChildId
|
|
62
|
+
}])
|
|
55
63
|
}, [
|
|
56
|
-
|
|
57
|
-
h(
|
|
64
|
+
d("div", W, [
|
|
65
|
+
h(t(m), {
|
|
58
66
|
name: "dots-six-vertical",
|
|
59
|
-
|
|
67
|
+
size: "20px",
|
|
60
68
|
type: "bold"
|
|
61
69
|
})
|
|
62
70
|
]),
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
d("div", X, [
|
|
72
|
+
e.item.isLocked ? (l(), a(t(m), {
|
|
65
73
|
key: 1,
|
|
66
74
|
class: "locked-icon",
|
|
67
75
|
name: "lock",
|
|
68
|
-
|
|
69
|
-
})) : (
|
|
76
|
+
size: "16px"
|
|
77
|
+
})) : (l(), a(t(L), {
|
|
70
78
|
key: 0,
|
|
71
79
|
class: "order-num",
|
|
72
80
|
variant: "subtitle2"
|
|
73
81
|
}, {
|
|
74
82
|
default: b(() => [
|
|
75
|
-
|
|
83
|
+
S(V(e.index + 1) + ". ", 1)
|
|
76
84
|
]),
|
|
77
85
|
_: 1
|
|
78
86
|
}))
|
|
79
87
|
]),
|
|
80
|
-
|
|
88
|
+
t(k) && !e.searchQuery ? (l(), n("div", {
|
|
81
89
|
key: 0,
|
|
82
90
|
class: "expand-icon",
|
|
83
|
-
onClick:
|
|
91
|
+
onClick: u(M, ["stop"])
|
|
84
92
|
}, [
|
|
85
|
-
|
|
93
|
+
e.isOpen ? (l(), a(t(m), {
|
|
86
94
|
key: 0,
|
|
87
95
|
name: "caret-down",
|
|
88
|
-
|
|
89
|
-
})) : (
|
|
96
|
+
size: "16px"
|
|
97
|
+
})) : (l(), a(t(m), {
|
|
90
98
|
key: 1,
|
|
91
99
|
name: "caret-right",
|
|
92
|
-
|
|
100
|
+
size: "16px"
|
|
93
101
|
}))
|
|
94
|
-
], 8,
|
|
95
|
-
|
|
96
|
-
|
|
102
|
+
], 8, Y)) : c("", !0),
|
|
103
|
+
d("div", Z, [
|
|
104
|
+
e.item.countryFlag ? (l(), a(t(w), {
|
|
97
105
|
key: 0,
|
|
98
106
|
class: "country-flag",
|
|
99
|
-
"country-code":
|
|
100
|
-
}, null, 8, ["country-code"])) :
|
|
101
|
-
h(
|
|
102
|
-
"display-value":
|
|
103
|
-
item:
|
|
107
|
+
"country-code": e.item.countryFlag
|
|
108
|
+
}, null, 8, ["country-code"])) : c("", !0),
|
|
109
|
+
h(G, {
|
|
110
|
+
"display-value": e.displayValue,
|
|
111
|
+
item: e.item
|
|
104
112
|
}, null, 8, ["display-value", "item"])
|
|
105
113
|
]),
|
|
106
|
-
|
|
114
|
+
t(H).menu ? (l(), n("div", {
|
|
115
|
+
key: 1,
|
|
107
116
|
class: "item__menu",
|
|
108
|
-
onClick:
|
|
117
|
+
onClick: o[0] || (o[0] = u(() => {
|
|
109
118
|
}, ["stop"]))
|
|
110
119
|
}, [
|
|
111
|
-
|
|
112
|
-
])
|
|
120
|
+
D(r.$slots, "menu", {}, void 0, !0)
|
|
121
|
+
])) : c("", !0)
|
|
113
122
|
], 2),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
(
|
|
123
|
+
d("div", F(t(B), { class: "child-list" }), [
|
|
124
|
+
t(k) && e.isOpen ? (l(), n("ul", j(F({ key: 0 }, t(T))), [
|
|
125
|
+
(l(!0), n(q, null, A(t(Q), ({ data: i, index: O }) => (l(), n("li", {
|
|
117
126
|
key: O,
|
|
118
|
-
class: f({ selected:
|
|
119
|
-
onClick:
|
|
127
|
+
class: f({ selected: z(i) }),
|
|
128
|
+
onClick: u((ee) => y("selectChild", i), ["stop"])
|
|
120
129
|
}, [
|
|
121
|
-
i.countryFlag ? (
|
|
130
|
+
i.countryFlag ? (l(), a(t(w), {
|
|
122
131
|
key: 0,
|
|
123
132
|
class: "country-flag",
|
|
124
133
|
"country-code": i.countryFlag
|
|
125
|
-
}, null, 8, ["country-code"])) :
|
|
126
|
-
h(
|
|
134
|
+
}, null, 8, ["country-code"])) : c("", !0),
|
|
135
|
+
h(t(L), {
|
|
136
|
+
class: "country-title",
|
|
137
|
+
variant: "body2",
|
|
138
|
+
"tooltip-placement": "top",
|
|
139
|
+
"tooltip-text": e.displayValue(i),
|
|
140
|
+
"is-truncated": "",
|
|
141
|
+
"with-tooltip": ""
|
|
142
|
+
}, {
|
|
127
143
|
default: b(() => [
|
|
128
|
-
|
|
144
|
+
S(V(e.displayValue(i)), 1)
|
|
129
145
|
]),
|
|
130
146
|
_: 2
|
|
131
|
-
},
|
|
132
|
-
], 10,
|
|
133
|
-
], 16)) :
|
|
147
|
+
}, 1032, ["tooltip-text"])
|
|
148
|
+
], 10, _))), 128))
|
|
149
|
+
], 16)) : c("", !0)
|
|
134
150
|
], 16)
|
|
135
151
|
], 34));
|
|
136
152
|
}
|
|
137
153
|
});
|
|
138
154
|
export {
|
|
139
|
-
|
|
155
|
+
de as default
|
|
140
156
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./SortableItemLabel.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../SortableItemLabel.
|
|
4
|
-
const
|
|
3
|
+
// import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f2ced2f4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import "../../SortableItemLabel.
|
|
1
|
+
import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; import { defineComponent as m, openBlock as a, createBlock as p, unref as l, withCtx as e, createElementVNode as u, createElementBlock as d, Fragment as f, renderList as h, createVNode as i, createTextVNode as o, toDisplayString as r } from "vue";
|
|
2
2
|
import n from "../typography/v4/Typography.vue.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import _ from "../tooltip/v4/TooltipV4.vue.js";
|
|
4
|
+
const x = { class: "tooltip-content" }, g = /* @__PURE__ */ m({
|
|
5
5
|
__name: "SortableItemLabel",
|
|
6
6
|
props: {
|
|
7
7
|
item: null,
|
|
8
8
|
displayValue: null
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
return (
|
|
10
|
+
setup(t) {
|
|
11
|
+
return (y, b) => (a(), p(l(_), {
|
|
12
12
|
class: "item-label",
|
|
13
13
|
placement: "right",
|
|
14
|
-
disabled: !
|
|
14
|
+
disabled: !t.item.helpText
|
|
15
15
|
}, {
|
|
16
|
-
tooltip:
|
|
17
|
-
|
|
18
|
-
(a(!0),
|
|
19
|
-
key:
|
|
16
|
+
tooltip: e(() => [
|
|
17
|
+
u("div", x, [
|
|
18
|
+
(a(!0), d(f, null, h(t.item.helpText, (c, s) => (a(), d("div", {
|
|
19
|
+
key: s,
|
|
20
20
|
class: "help"
|
|
21
21
|
}, [
|
|
22
22
|
i(l(n), {
|
|
23
23
|
class: "help__title",
|
|
24
24
|
variant: "h5"
|
|
25
25
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
o(r(
|
|
26
|
+
default: e(() => [
|
|
27
|
+
o(r(c.title), 1)
|
|
28
28
|
]),
|
|
29
29
|
_: 2
|
|
30
30
|
}, 1024),
|
|
@@ -32,29 +32,26 @@ const _ = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
|
|
|
32
32
|
class: "help__text",
|
|
33
33
|
variant: "body2"
|
|
34
34
|
}, {
|
|
35
|
-
default:
|
|
36
|
-
o(r(
|
|
35
|
+
default: e(() => [
|
|
36
|
+
o(r(c.text), 1)
|
|
37
37
|
]),
|
|
38
38
|
_: 2
|
|
39
39
|
}, 1024)
|
|
40
40
|
]))), 128))
|
|
41
41
|
])
|
|
42
42
|
]),
|
|
43
|
-
default:
|
|
44
|
-
i(l(n), {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}, {
|
|
48
|
-
default: t(() => [
|
|
49
|
-
o(r(e.displayValue(e.item)), 1)
|
|
43
|
+
default: e(() => [
|
|
44
|
+
i(l(n), { variant: "body2" }, {
|
|
45
|
+
default: e(() => [
|
|
46
|
+
o(r(t.displayValue(t.item)), 1)
|
|
50
47
|
]),
|
|
51
48
|
_: 1
|
|
52
|
-
}
|
|
49
|
+
})
|
|
53
50
|
]),
|
|
54
51
|
_: 1
|
|
55
52
|
}, 8, ["disabled"]));
|
|
56
53
|
}
|
|
57
54
|
});
|
|
58
55
|
export {
|
|
59
|
-
|
|
56
|
+
g as default
|
|
60
57
|
};
|
|
@@ -12,6 +12,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
isLoading?: boolean;
|
|
13
13
|
loadingRowCount?: number;
|
|
14
14
|
emptyStateTitle?: string;
|
|
15
|
+
childListMaxHeight?: string;
|
|
16
|
+
isSticky?: boolean;
|
|
17
|
+
zIndexBase?: number;
|
|
15
18
|
testId?: string;
|
|
16
19
|
}>, {
|
|
17
20
|
items: () => any[];
|
|
@@ -26,6 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
29
|
isLoading: boolean;
|
|
27
30
|
loadingRowCount: number;
|
|
28
31
|
emptyStateTitle: string;
|
|
32
|
+
childListMaxHeight: string;
|
|
33
|
+
isSticky: boolean;
|
|
34
|
+
zIndexBase: number;
|
|
29
35
|
testId: string;
|
|
30
36
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
37
|
sortableItemDragged: (event: {
|
|
@@ -51,6 +57,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
57
|
isLoading?: boolean;
|
|
52
58
|
loadingRowCount?: number;
|
|
53
59
|
emptyStateTitle?: string;
|
|
60
|
+
childListMaxHeight?: string;
|
|
61
|
+
isSticky?: boolean;
|
|
62
|
+
zIndexBase?: number;
|
|
54
63
|
testId?: string;
|
|
55
64
|
}>, {
|
|
56
65
|
items: () => any[];
|
|
@@ -65,8 +74,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
74
|
isLoading: boolean;
|
|
66
75
|
loadingRowCount: number;
|
|
67
76
|
emptyStateTitle: string;
|
|
77
|
+
childListMaxHeight: string;
|
|
78
|
+
isSticky: boolean;
|
|
79
|
+
zIndexBase: number;
|
|
68
80
|
testId: string;
|
|
69
81
|
}>>> & {
|
|
82
|
+
onClearSearch?: () => any;
|
|
70
83
|
onSortableItemDragged?: (event: {
|
|
71
84
|
id: string;
|
|
72
85
|
newIndex: number;
|
|
@@ -76,7 +89,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
89
|
"onUpdate:selectedId"?: (id: string | number) => any;
|
|
77
90
|
"onUpdate:selectedChildId"?: (id: string | number) => any;
|
|
78
91
|
"onUpdate:search"?: (query: string) => any;
|
|
79
|
-
onClearSearch?: () => any;
|
|
80
92
|
}, {
|
|
81
93
|
search: string;
|
|
82
94
|
testId: string;
|
|
@@ -85,13 +97,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
97
|
searchPlaceholder: string;
|
|
86
98
|
items: SortableListItem[];
|
|
87
99
|
selectedChildId: string | number;
|
|
100
|
+
childListMaxHeight: string;
|
|
88
101
|
searchHandler: (item: SortableListItem, searchQuery: string) => boolean;
|
|
89
102
|
openId: string | number;
|
|
90
103
|
selectedId: string | number;
|
|
91
104
|
showSearch: boolean;
|
|
92
105
|
loadingRowCount: number;
|
|
93
106
|
emptyStateTitle: string;
|
|
107
|
+
isSticky: boolean;
|
|
108
|
+
zIndexBase: number;
|
|
94
109
|
}>, {
|
|
110
|
+
header?(_: {}): any;
|
|
95
111
|
menu?(_: {
|
|
96
112
|
item: SortableListItem;
|
|
97
113
|
}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SortableList.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../SortableList.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8f267f88"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|