@ironsource/shared-ui 2.1.11-rc.6 → 2.1.11-rc.60
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_aa32a103_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
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css"; import { defineComponent as I, computed as u, openBlock as a, createElementBlock as d, createBlock as m, createCommentVNode as n, createElementVNode as c, mergeProps as h, unref as l, renderSlot as i, createVNode as r, withCtx as O, createTextVNode as B, toDisplayString as $ } from "vue";
|
|
2
2
|
import w from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
|
|
4
4
|
import g from "../../icon/v4/IconV4.vue.js";
|
|
5
|
-
import "../../icon/v4/IconFlag.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
const N = { class: "default-dropdown-wrapper" }, C = { class: "content" }, x = {
|
|
5
|
+
import K from "../../icon/v4/IconFlag.vue.js";
|
|
6
|
+
import V from "../../shared/FieldLabel.vue.js";
|
|
7
|
+
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
|
+
import D from "../../statusDot/StatusDot.vue.js";
|
|
9
|
+
const N = { class: "default-dropdown-wrapper" }, S = { class: "content" }, x = {
|
|
11
10
|
key: 0,
|
|
12
11
|
class: "image"
|
|
13
|
-
},
|
|
12
|
+
}, C = ["src"], F = {
|
|
14
13
|
key: 1,
|
|
15
14
|
class: "flag"
|
|
16
|
-
},
|
|
15
|
+
}, P = {
|
|
17
16
|
key: 2,
|
|
18
17
|
class: "start-icon"
|
|
19
18
|
}, z = {
|
|
20
19
|
key: 3,
|
|
21
20
|
class: "status-dot"
|
|
22
|
-
},
|
|
21
|
+
}, E = { key: 0 }, H = { class: "caret-down" }, Q = /* @__PURE__ */ I({
|
|
23
22
|
__name: "DefaultDropdownTrigger",
|
|
24
23
|
props: {
|
|
25
24
|
placeholder: { default: "Select" },
|
|
@@ -51,21 +50,21 @@ const N = { class: "default-dropdown-wrapper" }, C = { class: "content" }, x = {
|
|
|
51
50
|
statusDotType: { default: null }
|
|
52
51
|
},
|
|
53
52
|
emits: ["click"],
|
|
54
|
-
setup(t, { emit:
|
|
55
|
-
const e = t,
|
|
53
|
+
setup(t, { emit: T }) {
|
|
54
|
+
const e = t, v = u(
|
|
56
55
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
57
56
|
), b = () => {
|
|
58
|
-
|
|
59
|
-
}, p =
|
|
57
|
+
T("click");
|
|
58
|
+
}, p = A(e.testId, f), k = u(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.showAllSelectedText && e.allSelected ? `All selected (${e.selectedOption.length})` : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), s = u(() => {
|
|
60
59
|
if (!e.selectedOption)
|
|
61
60
|
return null;
|
|
62
61
|
if (!e.multi)
|
|
63
62
|
return e.selectedOption;
|
|
64
63
|
if (Array.isArray(e.selectedOption))
|
|
65
64
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
66
|
-
})
|
|
67
|
-
return (o,
|
|
68
|
-
t.label ? (a(),
|
|
65
|
+
});
|
|
66
|
+
return (o, y) => (a(), d("div", N, [
|
|
67
|
+
t.label ? (a(), m(V, {
|
|
69
68
|
key: 0,
|
|
70
69
|
label: t.label,
|
|
71
70
|
mandatory: t.mandatory,
|
|
@@ -74,55 +73,55 @@ const N = { class: "default-dropdown-wrapper" }, C = { class: "content" }, x = {
|
|
|
74
73
|
disabled: t.disabled,
|
|
75
74
|
"test-id": t.testId,
|
|
76
75
|
class: "dropdown-field-label"
|
|
77
|
-
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) :
|
|
76
|
+
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
|
|
78
77
|
c("div", h({
|
|
79
|
-
class: ["dropdown-trigger", [t.size, l(
|
|
78
|
+
class: ["dropdown-trigger", [t.size, l(v), { open: t.open, disabled: t.disabled }]]
|
|
80
79
|
}, l(p)[l(f).BUTTON_WRAPPER], {
|
|
81
|
-
onClick:
|
|
80
|
+
onClick: y[0] || (y[0] = (R) => b())
|
|
82
81
|
}), [
|
|
83
|
-
c("div",
|
|
84
|
-
o.$slots.image || l(
|
|
82
|
+
c("div", S, [
|
|
83
|
+
o.$slots.image || l(s) && t.optionImageKey ? (a(), d("div", x, [
|
|
85
84
|
i(o.$slots, "image", {}, () => [
|
|
86
|
-
t.optionImageKey ? (a(),
|
|
85
|
+
t.optionImageKey ? (a(), d("img", {
|
|
87
86
|
key: 0,
|
|
88
|
-
src: l(
|
|
89
|
-
}, null, 8,
|
|
87
|
+
src: l(s)[t.optionImageKey]
|
|
88
|
+
}, null, 8, C)) : n("", !0)
|
|
90
89
|
], !0)
|
|
91
|
-
])) :
|
|
92
|
-
o.$slots.flag || l(
|
|
90
|
+
])) : n("", !0),
|
|
91
|
+
o.$slots.flag || l(s) && t.optionFlagKey ? (a(), d("div", F, [
|
|
93
92
|
i(o.$slots, "flag", {}, () => [
|
|
94
|
-
|
|
93
|
+
t.optionFlagKey ? (a(), m(l(K), {
|
|
95
94
|
key: 0,
|
|
96
|
-
src: l(
|
|
97
|
-
}, null, 8,
|
|
95
|
+
src: l(s)[t.optionFlagKey]
|
|
96
|
+
}, null, 8, ["src"])) : n("", !0)
|
|
98
97
|
], !0)
|
|
99
|
-
])) :
|
|
100
|
-
o.$slots["icon-start"] || l(
|
|
98
|
+
])) : n("", !0),
|
|
99
|
+
o.$slots["icon-start"] || l(s) && t.optionIconKey ? (a(), d("div", P, [
|
|
101
100
|
i(o.$slots, "icon-start", {}, () => [
|
|
102
|
-
|
|
101
|
+
r(l(g), {
|
|
103
102
|
type: t.optionIconType,
|
|
104
|
-
name: l(
|
|
103
|
+
name: l(s)[t.optionIconKey],
|
|
105
104
|
size: "20px"
|
|
106
105
|
}, null, 8, ["type", "name"])
|
|
107
106
|
], !0)
|
|
108
|
-
])) :
|
|
109
|
-
t.statusDotType ? (a(),
|
|
110
|
-
|
|
111
|
-
])) :
|
|
107
|
+
])) : n("", !0),
|
|
108
|
+
t.statusDotType ? (a(), d("div", z, [
|
|
109
|
+
r(l(D), { type: t.statusDotType }, null, 8, ["type"])
|
|
110
|
+
])) : n("", !0),
|
|
112
111
|
i(o.$slots, "displayed-value", {}, () => [
|
|
113
|
-
|
|
114
|
-
default:
|
|
115
|
-
|
|
112
|
+
r(l(w), h({ variant: "body1" }, l(p)[l(f).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
113
|
+
default: O(() => [
|
|
114
|
+
B($(l(k)), 1)
|
|
116
115
|
]),
|
|
117
116
|
_: 1
|
|
118
117
|
}, 16)
|
|
119
118
|
], !0)
|
|
120
119
|
]),
|
|
121
|
-
o.$slots["end-icon"] ? (a(),
|
|
120
|
+
o.$slots["end-icon"] ? (a(), d("div", E, [
|
|
122
121
|
i(o.$slots, "end-icon", {}, void 0, !0)
|
|
123
|
-
])) :
|
|
124
|
-
c("div",
|
|
125
|
-
|
|
122
|
+
])) : n("", !0),
|
|
123
|
+
c("div", H, [
|
|
124
|
+
r(l(g), {
|
|
126
125
|
name: "caret-down",
|
|
127
126
|
size: "20px"
|
|
128
127
|
})
|
|
@@ -132,5 +131,5 @@ const N = { class: "default-dropdown-wrapper" }, C = { class: "content" }, x = {
|
|
|
132
131
|
}
|
|
133
132
|
});
|
|
134
133
|
export {
|
|
135
|
-
|
|
134
|
+
Q as default
|
|
136
135
|
};
|
|
@@ -7,6 +7,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
popperClass?: string;
|
|
9
9
|
loading?: boolean;
|
|
10
|
+
loadMoreLoading?: boolean;
|
|
11
|
+
infiniteLoading?: boolean;
|
|
10
12
|
testId?: string;
|
|
11
13
|
isOpen?: boolean;
|
|
12
14
|
options: unknown[];
|
|
@@ -35,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
37
|
onSearch?: (option: any, term: string) => boolean;
|
|
36
38
|
noResultsText?: string;
|
|
37
39
|
searchAutoFocus?: boolean;
|
|
38
|
-
|
|
40
|
+
onClearSearch?: () => void;
|
|
39
41
|
displayValue: (option: unknown) => string;
|
|
40
42
|
optionNameKey?: string;
|
|
41
43
|
optionIconKey?: string;
|
|
@@ -58,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
60
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
59
61
|
disableVirtualScroll?: boolean;
|
|
60
62
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
63
|
+
withConditions?: boolean;
|
|
61
64
|
}>, {
|
|
62
65
|
multi: boolean;
|
|
63
66
|
inlineSearchPlaceholder: string;
|
|
@@ -77,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
77
80
|
placeholder: string;
|
|
78
81
|
size: string;
|
|
79
82
|
onSearch: any;
|
|
80
|
-
|
|
83
|
+
onClearSearch: () => true;
|
|
81
84
|
theme: string;
|
|
82
85
|
container: string;
|
|
83
86
|
flip: boolean;
|
|
@@ -114,6 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
114
117
|
statusType: any;
|
|
115
118
|
disableVirtualScroll: boolean;
|
|
116
119
|
overrideOptionCountCalculation: any;
|
|
120
|
+
withConditions: boolean;
|
|
121
|
+
infiniteLoading: boolean;
|
|
117
122
|
}>, {
|
|
118
123
|
selectItem: (option: any, index?: number) => void;
|
|
119
124
|
scrollTo: (index: number) => void;
|
|
@@ -127,6 +132,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
127
132
|
clear: () => void;
|
|
128
133
|
copyToClipboard: () => void;
|
|
129
134
|
onsearch: (value: string) => void;
|
|
135
|
+
loadMore: () => void;
|
|
136
|
+
allSelectedChanged: (value: boolean) => void;
|
|
137
|
+
unsavedSelectionUpdate: (value: unknown[]) => void;
|
|
130
138
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
131
139
|
modelValue?: unknown;
|
|
132
140
|
selected?: unknown;
|
|
@@ -135,6 +143,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
135
143
|
disabled?: boolean;
|
|
136
144
|
popperClass?: string;
|
|
137
145
|
loading?: boolean;
|
|
146
|
+
loadMoreLoading?: boolean;
|
|
147
|
+
infiniteLoading?: boolean;
|
|
138
148
|
testId?: string;
|
|
139
149
|
isOpen?: boolean;
|
|
140
150
|
options: unknown[];
|
|
@@ -163,7 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
163
173
|
onSearch?: (option: any, term: string) => boolean;
|
|
164
174
|
noResultsText?: string;
|
|
165
175
|
searchAutoFocus?: boolean;
|
|
166
|
-
|
|
176
|
+
onClearSearch?: () => void;
|
|
167
177
|
displayValue: (option: unknown) => string;
|
|
168
178
|
optionNameKey?: string;
|
|
169
179
|
optionIconKey?: string;
|
|
@@ -186,6 +196,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
186
196
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
187
197
|
disableVirtualScroll?: boolean;
|
|
188
198
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
199
|
+
withConditions?: boolean;
|
|
189
200
|
}>, {
|
|
190
201
|
multi: boolean;
|
|
191
202
|
inlineSearchPlaceholder: string;
|
|
@@ -205,7 +216,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
205
216
|
placeholder: string;
|
|
206
217
|
size: string;
|
|
207
218
|
onSearch: any;
|
|
208
|
-
|
|
219
|
+
onClearSearch: () => true;
|
|
209
220
|
theme: string;
|
|
210
221
|
container: string;
|
|
211
222
|
flip: boolean;
|
|
@@ -242,14 +253,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
242
253
|
statusType: any;
|
|
243
254
|
disableVirtualScroll: boolean;
|
|
244
255
|
overrideOptionCountCalculation: any;
|
|
256
|
+
withConditions: boolean;
|
|
257
|
+
infiniteLoading: boolean;
|
|
245
258
|
}>>> & {
|
|
246
259
|
onCopyToClipboard?: () => any;
|
|
247
260
|
onClear?: () => any;
|
|
248
261
|
onApply?: (value: unknown) => any;
|
|
249
262
|
onSelectAll?: () => any;
|
|
250
263
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
264
|
+
onAllSelectedChanged?: (value: boolean) => any;
|
|
251
265
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
252
266
|
onOnsearch?: (value: string) => any;
|
|
267
|
+
onLoadMore?: () => any;
|
|
268
|
+
onUnsavedSelectionUpdate?: (value: unknown[]) => any;
|
|
253
269
|
onOpened?: () => any;
|
|
254
270
|
onClosed?: () => any;
|
|
255
271
|
}, {
|
|
@@ -266,9 +282,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
266
282
|
skidding: number;
|
|
267
283
|
modelValue: any;
|
|
268
284
|
selected: any;
|
|
269
|
-
|
|
285
|
+
valueToCopy: string;
|
|
270
286
|
placeholder: string;
|
|
271
287
|
multi: boolean;
|
|
288
|
+
infiniteLoading: boolean;
|
|
272
289
|
showSelectAll: boolean;
|
|
273
290
|
defaultOpen: boolean;
|
|
274
291
|
keepOpen: boolean;
|
|
@@ -287,6 +304,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
287
304
|
onSearch: (option: any, term: string) => boolean;
|
|
288
305
|
noResultsText: string;
|
|
289
306
|
searchAutoFocus: boolean;
|
|
307
|
+
onClearSearch: () => void;
|
|
290
308
|
optionNameKey: string;
|
|
291
309
|
optionIconKey: string;
|
|
292
310
|
optionImageKey: string;
|
|
@@ -295,7 +313,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
295
313
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
296
314
|
optionsEndTextIconKey: string;
|
|
297
315
|
optionFlagKey: string;
|
|
298
|
-
valueToCopy: string;
|
|
299
316
|
disabledOptionKey: string;
|
|
300
317
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
301
318
|
optionTwoLinesKey: string;
|
|
@@ -307,6 +324,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
307
324
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
308
325
|
disableVirtualScroll: boolean;
|
|
309
326
|
overrideOptionCountCalculation: (option: unknown) => number;
|
|
327
|
+
withConditions: boolean;
|
|
310
328
|
}>, {
|
|
311
329
|
label?(_: {}): any;
|
|
312
330
|
"dropdown-trigger"?(_: {
|
|
@@ -346,10 +364,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
346
364
|
onClick: () => void;
|
|
347
365
|
};
|
|
348
366
|
}): any;
|
|
367
|
+
"dropdown-conditions"?(_: {}): any;
|
|
349
368
|
"inline-search"?(_: {}): any;
|
|
350
369
|
"input-list"?(_: {
|
|
351
370
|
open: true;
|
|
352
371
|
}): any;
|
|
372
|
+
"custom-list-area"?(_: {}): any;
|
|
353
373
|
"select-all"?(_: {}): any;
|
|
354
374
|
"group-option"?(_: {}): any;
|
|
355
375
|
default?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-75002075"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|