@ironsource/shared-ui 2.1.11-test.7 → 2.1.11-test.9
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +1 -0
- package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/chart/SettingsHeader.vue2.js +3 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
- package/components/dropdown/common/Dropdown.common.js +127 -127
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +12 -12
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +66 -44
- package/components/dropdown/v4/ConditionalDroprown.vue.d.ts +68 -0
- package/components/dropdown/v4/ConditionalDroprown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDroprown.vue2.js +157 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -5
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +85 -78
- 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 +119 -93
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +105 -95
- package/components/dropdown/v4/index.d.ts +160 -27
- package/components/dropdown/v4/index.js +6 -3
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.js +3 -2
- package/components/popover/v4/PopoverV4.vue2.js +1 -1
- package/components/table/common/Table.common.js +26 -28
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/index.d.ts +316 -51
- package/index.js +1 -1
- package/mocks/options.d.ts +19 -4
- package/package.json +2 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import "../../../ChipDropdownTrigger.
|
|
2
|
-
import
|
|
1
|
+
import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css"; import { defineComponent as w, ref as d, computed as p, watch as _, openBlock as k, createBlock as B, unref as t, withCtx as T, createElementVNode as r, mergeProps as u, createVNode as f, createTextVNode as A, toDisplayString as N, withDirectives as g, vShow as O, withModifiers as I } from "vue";
|
|
2
|
+
import x from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import { DropdownTestIdModifiers as
|
|
6
|
-
import { useTestIdAttrs as
|
|
7
|
-
|
|
4
|
+
import $ from "../../typography/v4/Typography.vue.js";
|
|
5
|
+
import { DropdownTestIdModifiers as n } from "../../../testids/index.js";
|
|
6
|
+
import { useTestIdAttrs as D } from "../../../utils/testIds.js";
|
|
7
|
+
import { isElementTruncated as S } from "../../../utils/text.js";
|
|
8
|
+
import { promiseTimeout as E } from "@vueuse/core";
|
|
9
|
+
import R from "../../tooltip/v4/TooltipV4.vue.js";
|
|
10
|
+
const U = { class: "chip-trigger--icon" }, z = ["onClick"], K = /* @__PURE__ */ w({
|
|
8
11
|
__name: "ChipDropdownTrigger",
|
|
9
12
|
props: {
|
|
10
13
|
label: { default: "Status" },
|
|
@@ -20,15 +23,15 @@ const N = { class: "chip-trigger--content" }, I = { class: "chip-trigger--icon"
|
|
|
20
23
|
multi: { type: Boolean }
|
|
21
24
|
},
|
|
22
25
|
emits: ["clear"],
|
|
23
|
-
setup(
|
|
24
|
-
const e =
|
|
25
|
-
|
|
26
|
-
}, i =
|
|
26
|
+
setup(s, { emit: V }) {
|
|
27
|
+
const e = s, v = () => {
|
|
28
|
+
V("clear");
|
|
29
|
+
}, o = d(null), i = d(!0), m = d(!1), h = (l) => {
|
|
27
30
|
let a = l;
|
|
28
31
|
return Array.isArray(l) && (l.length > 1 ? a = `${l[0]}, +${l[1]}` : a = l[0] ? `${l[0]}` : ""), i.value = !!a, a ? `${e.label}: ${a}` : e.label;
|
|
29
|
-
},
|
|
32
|
+
}, C = p(
|
|
30
33
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
31
|
-
),
|
|
34
|
+
), c = D(e.testId, n), y = p(() => {
|
|
32
35
|
if (!e.multi)
|
|
33
36
|
return e.selectedOption ? e.displayValue(e.selectedOption) : "";
|
|
34
37
|
if (Array.isArray(e.selectedOption))
|
|
@@ -37,39 +40,58 @@ const N = { class: "chip-trigger--content" }, I = { class: "chip-trigger--icon"
|
|
|
37
40
|
e.selectedOption.length - 1
|
|
38
41
|
] : [];
|
|
39
42
|
});
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
43
|
+
_([() => e.selectedOption, o], async () => {
|
|
44
|
+
await E(100), m.value = o.value && S(o.value);
|
|
45
|
+
});
|
|
46
|
+
const b = p(() => m.value ? h(y.value) : "");
|
|
47
|
+
return (l, a) => (k(), B(t(R), {
|
|
48
|
+
text: t(b),
|
|
49
|
+
class: "tooltip-option"
|
|
50
|
+
}, {
|
|
51
|
+
default: T(() => [
|
|
52
|
+
r("div", u({
|
|
53
|
+
class: ["chip-trigger", [t(C), { active: i.value, disabled: s.disabled, open: s.open }]]
|
|
54
|
+
}, t(c)[t(n).BUTTON]), [
|
|
55
|
+
r("div", {
|
|
56
|
+
ref_key: "textContainerRef",
|
|
57
|
+
ref: o,
|
|
58
|
+
class: "chip-trigger--content"
|
|
59
|
+
}, [
|
|
60
|
+
f(t($), u({
|
|
61
|
+
class: "chip-trigger--text",
|
|
62
|
+
variant: "chipLabel"
|
|
63
|
+
}, t(c)[t(n).BUTTON_CONTENT]), {
|
|
64
|
+
default: T(() => [
|
|
65
|
+
A(N(h(t(y))), 1)
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 16),
|
|
69
|
+
g(r("div", U, [
|
|
70
|
+
f(t(x), {
|
|
71
|
+
name: "caret-down",
|
|
72
|
+
size: "16px"
|
|
73
|
+
})
|
|
74
|
+
], 512), [
|
|
75
|
+
[O, !i.value]
|
|
76
|
+
]),
|
|
77
|
+
g(r("div", u({ class: "x-circle-wrapper" }, t(c)[t(n).BUTTON_CLEAR], {
|
|
78
|
+
onClick: I(v, ["stop"])
|
|
79
|
+
}), [
|
|
80
|
+
f(t(x), {
|
|
81
|
+
name: "x-circle",
|
|
82
|
+
size: "16px",
|
|
83
|
+
type: "fill"
|
|
84
|
+
})
|
|
85
|
+
], 16, z), [
|
|
86
|
+
[O, i.value]
|
|
87
|
+
])
|
|
88
|
+
], 512)
|
|
89
|
+
], 16)
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["text"]));
|
|
71
93
|
}
|
|
72
94
|
});
|
|
73
95
|
export {
|
|
74
|
-
|
|
96
|
+
K as default
|
|
75
97
|
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
type SelectedCondition = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
multi: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
selectedCondition: SelectedCondition | null;
|
|
8
|
+
appliedSelections: unknown | unknown[];
|
|
9
|
+
conditionalOptions: SelectedCondition[];
|
|
10
|
+
label: string;
|
|
11
|
+
testId?: string;
|
|
12
|
+
comparingKey: string;
|
|
13
|
+
fetchFnCallback: (q: string) => Promise<unknown[]>;
|
|
14
|
+
optionNameKey: string;
|
|
15
|
+
minCharsToStart?: number;
|
|
16
|
+
}>, {
|
|
17
|
+
label: string;
|
|
18
|
+
testId: string;
|
|
19
|
+
comparingKey: string;
|
|
20
|
+
optionNameKey: string;
|
|
21
|
+
minCharsToStart: number;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:selectedCondition": (value: SelectedCondition) => void;
|
|
24
|
+
"update:appliedSelections": (value: unknown) => void;
|
|
25
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
selectedCondition: SelectedCondition | null;
|
|
27
|
+
appliedSelections: unknown | unknown[];
|
|
28
|
+
conditionalOptions: SelectedCondition[];
|
|
29
|
+
label: string;
|
|
30
|
+
testId?: string;
|
|
31
|
+
comparingKey: string;
|
|
32
|
+
fetchFnCallback: (q: string) => Promise<unknown[]>;
|
|
33
|
+
optionNameKey: string;
|
|
34
|
+
minCharsToStart?: number;
|
|
35
|
+
}>, {
|
|
36
|
+
label: string;
|
|
37
|
+
testId: string;
|
|
38
|
+
comparingKey: string;
|
|
39
|
+
optionNameKey: string;
|
|
40
|
+
minCharsToStart: number;
|
|
41
|
+
}>>> & {
|
|
42
|
+
"onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
|
|
43
|
+
"onUpdate:appliedSelections"?: (value: unknown) => any;
|
|
44
|
+
}, {
|
|
45
|
+
label: string;
|
|
46
|
+
testId: string;
|
|
47
|
+
optionNameKey: string;
|
|
48
|
+
comparingKey: string;
|
|
49
|
+
minCharsToStart: number;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
+
} : {
|
|
57
|
+
type: import('vue').PropType<T[K]>;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type __VLS_WithDefaults<P, D> = {
|
|
62
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
|
+
default: D[K];
|
|
64
|
+
}> : P[K];
|
|
65
|
+
};
|
|
66
|
+
type __VLS_Prettify<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ConditionalDroprown.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-546e19a9"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import "../../../ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css"; import { defineComponent as E, computed as f, ref as u, watch as y, openBlock as w, createBlock as A, unref as s, withCtx as m, createVNode as h, mergeProps as B, createElementVNode as F, isRef as U, createElementBlock as $, createTextVNode as z, toDisplayString as M, createCommentVNode as P } from "vue";
|
|
2
|
+
import N from "./DropdownV4.vue.js";
|
|
3
|
+
import "./DefaultDropdownTrigger.vue.js";
|
|
4
|
+
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
|
+
import I from "./ChipDropdownTrigger.vue.js";
|
|
6
|
+
import "./AppDropdownTrigger.vue.js";
|
|
7
|
+
import "./ButtonDropdownTrigger.vue.js";
|
|
8
|
+
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
|
+
import "./TreeDropdown.vue.js";
|
|
10
|
+
import "./OptionV4.vue.js";
|
|
11
|
+
import "./ConditionalDroprown.vue.js";
|
|
12
|
+
import L from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import Q from "../../typography/v4/Typography.vue.js";
|
|
14
|
+
import { useDebounceFn as R } from "@vueuse/core";
|
|
15
|
+
const j = { class: "conditional-container" }, q = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "custom-list-area"
|
|
18
|
+
}, ue = /* @__PURE__ */ E({
|
|
19
|
+
__name: "ConditionalDroprown",
|
|
20
|
+
props: {
|
|
21
|
+
selectedCondition: null,
|
|
22
|
+
appliedSelections: null,
|
|
23
|
+
conditionalOptions: null,
|
|
24
|
+
label: { default: "" },
|
|
25
|
+
testId: { default: "" },
|
|
26
|
+
comparingKey: { default: "id" },
|
|
27
|
+
fetchFnCallback: null,
|
|
28
|
+
optionNameKey: { default: "name" },
|
|
29
|
+
minCharsToStart: { default: 3 }
|
|
30
|
+
},
|
|
31
|
+
emits: ["update:selectedCondition", "update:appliedSelections"],
|
|
32
|
+
setup(p, { emit: b }) {
|
|
33
|
+
const t = p, g = f({
|
|
34
|
+
get: () => t.appliedSelections,
|
|
35
|
+
set: (o) => {
|
|
36
|
+
b("update:appliedSelections", o);
|
|
37
|
+
}
|
|
38
|
+
}), a = f({
|
|
39
|
+
get: () => t.selectedCondition || t.conditionalOptions[0],
|
|
40
|
+
set: (o) => {
|
|
41
|
+
b("update:selectedCondition", o);
|
|
42
|
+
}
|
|
43
|
+
}), c = u(!0), e = u([]), d = u([]), C = u(!0), r = u(!1), l = u(""), O = u(""), v = u(t.label), D = f(() => (!l.value || l.value?.length < t.minCharsToStart) && !e.value.length ? `Enter at least ${t.minCharsToStart} keywords to begin` : "No results found"), T = f(() => {
|
|
44
|
+
const o = c.value ? 2.5 : 4;
|
|
45
|
+
return e.value.length ? null : o;
|
|
46
|
+
}), K = R(async (o) => {
|
|
47
|
+
try {
|
|
48
|
+
r.value = !0;
|
|
49
|
+
const i = await t.fetchFnCallback(o);
|
|
50
|
+
r.value = !1, e.value = i, k();
|
|
51
|
+
} catch (i) {
|
|
52
|
+
console.error("Error fetching data:", i);
|
|
53
|
+
}
|
|
54
|
+
}, 400), S = (o) => {
|
|
55
|
+
o.length >= t.minCharsToStart ? K(o) : e.value = [];
|
|
56
|
+
}, k = () => {
|
|
57
|
+
l.value && e.value.length && !r.value && !a.value.multi ? e.value[0].conditionalOptions ? e.value[0] = {
|
|
58
|
+
name: l.value,
|
|
59
|
+
conditionalOptions: !0,
|
|
60
|
+
conditionalName: a.value.label,
|
|
61
|
+
[t.comparingKey]: l.value
|
|
62
|
+
} : e.value = [
|
|
63
|
+
{
|
|
64
|
+
name: l.value,
|
|
65
|
+
conditionalOptions: !0,
|
|
66
|
+
conditionalName: a.value.label,
|
|
67
|
+
[t.comparingKey]: l.value
|
|
68
|
+
},
|
|
69
|
+
...e.value
|
|
70
|
+
] : e.value.length && e.value[0].conditionalOptions && e.value.shift();
|
|
71
|
+
};
|
|
72
|
+
y(l, () => {
|
|
73
|
+
S(l.value);
|
|
74
|
+
}), y(a, () => {
|
|
75
|
+
k();
|
|
76
|
+
});
|
|
77
|
+
const V = () => {
|
|
78
|
+
O.value = l.value, v.value = `${t.label} ${a.value.label.toLowerCase()}`, g.value = c.value ? [...d.value] : { ...d.value }, C.value = c.value;
|
|
79
|
+
};
|
|
80
|
+
y(a, () => {
|
|
81
|
+
a.value.multi ? (r.value = !0, d.value = [], setTimeout(() => {
|
|
82
|
+
r.value = !1, c.value = !0;
|
|
83
|
+
}, 100)) : setTimeout(() => {
|
|
84
|
+
c.value = !1;
|
|
85
|
+
}, 100);
|
|
86
|
+
});
|
|
87
|
+
const x = () => {
|
|
88
|
+
d.value = [], g.value = [], a.value = null, v.value = t.label, l.value = "";
|
|
89
|
+
};
|
|
90
|
+
return (o, i) => (w(), A(s(N), {
|
|
91
|
+
selected: d.value,
|
|
92
|
+
"onUpdate:selected": i[2] || (i[2] = (n) => d.value = n),
|
|
93
|
+
"predefined-trigger": "chip",
|
|
94
|
+
"display-value": (n) => n?.[p.optionNameKey],
|
|
95
|
+
multi: c.value,
|
|
96
|
+
options: e.value,
|
|
97
|
+
placeholder: v.value,
|
|
98
|
+
"search-placeholder": "Search",
|
|
99
|
+
"option-name-key": p.optionNameKey,
|
|
100
|
+
"with-conditions": "",
|
|
101
|
+
"inline-search": "",
|
|
102
|
+
"custom-number-of-displayed-options": s(T),
|
|
103
|
+
"options-list-width": "330px",
|
|
104
|
+
loading: r.value,
|
|
105
|
+
"comparing-key": p.comparingKey,
|
|
106
|
+
onOnsearch: S,
|
|
107
|
+
onApply: V
|
|
108
|
+
}, {
|
|
109
|
+
"dropdown-trigger": m(({ defaultTriggerProps: n }) => [
|
|
110
|
+
h(s(I), B(n, {
|
|
111
|
+
label: v.value,
|
|
112
|
+
"selected-option": s(g),
|
|
113
|
+
multi: C.value,
|
|
114
|
+
onClear: x
|
|
115
|
+
}), null, 16, ["label", "selected-option", "multi"])
|
|
116
|
+
]),
|
|
117
|
+
"dropdown-conditions": m(() => [
|
|
118
|
+
F("div", j, [
|
|
119
|
+
h(s(N), {
|
|
120
|
+
selected: s(a),
|
|
121
|
+
"onUpdate:selected": i[0] || (i[0] = (n) => U(a) ? a.value = n : null),
|
|
122
|
+
options: p.conditionalOptions,
|
|
123
|
+
"option-name-key": "label",
|
|
124
|
+
"display-value": (n) => n?.label,
|
|
125
|
+
container: ".conditional-container",
|
|
126
|
+
size: "small"
|
|
127
|
+
}, null, 8, ["selected", "options", "display-value"])
|
|
128
|
+
])
|
|
129
|
+
]),
|
|
130
|
+
"inline-search": m(() => [
|
|
131
|
+
h(s(L), {
|
|
132
|
+
modelValue: l.value,
|
|
133
|
+
"onUpdate:modelValue": i[1] || (i[1] = (n) => l.value = n),
|
|
134
|
+
class: "inline-search",
|
|
135
|
+
placeholder: "Search",
|
|
136
|
+
variant: "transparent",
|
|
137
|
+
size: "md",
|
|
138
|
+
"auto-focus": ""
|
|
139
|
+
}, null, 8, ["modelValue"])
|
|
140
|
+
]),
|
|
141
|
+
"custom-list-area": m(() => [
|
|
142
|
+
!e.value.length && !r.value ? (w(), $("div", q, [
|
|
143
|
+
h(Q, { variant: "body1" }, {
|
|
144
|
+
default: m(() => [
|
|
145
|
+
z(M(s(D)), 1)
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
})
|
|
149
|
+
])) : P("", !0)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "comparing-key"]));
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
export {
|
|
156
|
+
ue as default
|
|
157
|
+
};
|
|
@@ -51,7 +51,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
51
|
optionTwoLinesKey?: string;
|
|
52
52
|
groupedOptions?: boolean;
|
|
53
53
|
comparingKey?: string;
|
|
54
|
-
withConditions: boolean;
|
|
55
54
|
customNumberOfDisplayedOptions?: number;
|
|
56
55
|
theme?: string;
|
|
57
56
|
fullWidth?: boolean;
|
|
@@ -59,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
58
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
60
59
|
disableVirtualScroll?: boolean;
|
|
61
60
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
61
|
+
withConditions?: boolean;
|
|
62
62
|
}>, {
|
|
63
63
|
multi: boolean;
|
|
64
64
|
inlineSearchPlaceholder: string;
|
|
@@ -109,13 +109,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
109
109
|
optionTwoLinesKey: any;
|
|
110
110
|
groupedOptions: boolean;
|
|
111
111
|
comparingKey: any;
|
|
112
|
-
withConditions: boolean;
|
|
113
112
|
customNumberOfDisplayedOptions: any;
|
|
114
113
|
fullWidth: boolean;
|
|
115
114
|
optionsListWidth: any;
|
|
116
115
|
statusType: any;
|
|
117
116
|
disableVirtualScroll: boolean;
|
|
118
117
|
overrideOptionCountCalculation: any;
|
|
118
|
+
withConditions: boolean;
|
|
119
119
|
}>, {
|
|
120
120
|
selectItem: (option: any, index?: number) => void;
|
|
121
121
|
scrollTo: (index: number) => void;
|
|
@@ -181,7 +181,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
181
181
|
optionTwoLinesKey?: string;
|
|
182
182
|
groupedOptions?: boolean;
|
|
183
183
|
comparingKey?: string;
|
|
184
|
-
withConditions: boolean;
|
|
185
184
|
customNumberOfDisplayedOptions?: number;
|
|
186
185
|
theme?: string;
|
|
187
186
|
fullWidth?: boolean;
|
|
@@ -189,6 +188,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
189
188
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
190
189
|
disableVirtualScroll?: boolean;
|
|
191
190
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
191
|
+
withConditions?: boolean;
|
|
192
192
|
}>, {
|
|
193
193
|
multi: boolean;
|
|
194
194
|
inlineSearchPlaceholder: string;
|
|
@@ -239,13 +239,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
239
239
|
optionTwoLinesKey: any;
|
|
240
240
|
groupedOptions: boolean;
|
|
241
241
|
comparingKey: any;
|
|
242
|
-
withConditions: boolean;
|
|
243
242
|
customNumberOfDisplayedOptions: any;
|
|
244
243
|
fullWidth: boolean;
|
|
245
244
|
optionsListWidth: any;
|
|
246
245
|
statusType: any;
|
|
247
246
|
disableVirtualScroll: boolean;
|
|
248
247
|
overrideOptionCountCalculation: any;
|
|
248
|
+
withConditions: boolean;
|
|
249
249
|
}>>> & {
|
|
250
250
|
onCopyToClipboard?: () => any;
|
|
251
251
|
onClear?: () => any;
|
|
@@ -305,13 +305,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
305
305
|
optionTwoLinesKey: string;
|
|
306
306
|
groupedOptions: boolean;
|
|
307
307
|
comparingKey: string;
|
|
308
|
-
withConditions: boolean;
|
|
309
308
|
customNumberOfDisplayedOptions: number;
|
|
310
309
|
fullWidth: boolean;
|
|
311
310
|
optionsListWidth: string;
|
|
312
311
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
313
312
|
disableVirtualScroll: boolean;
|
|
314
313
|
overrideOptionCountCalculation: (option: unknown) => number;
|
|
314
|
+
withConditions: boolean;
|
|
315
315
|
}>, {
|
|
316
316
|
label?(_: {}): any;
|
|
317
317
|
"dropdown-trigger"?(_: {
|
|
@@ -356,6 +356,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
356
356
|
"input-list"?(_: {
|
|
357
357
|
open: true;
|
|
358
358
|
}): any;
|
|
359
|
+
"custom-list-area"?(_: {}): any;
|
|
359
360
|
"select-all"?(_: {}): any;
|
|
360
361
|
"group-option"?(_: {}): any;
|
|
361
362
|
default?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
|
-
/* empty css *//* empty css */import
|
|
3
|
-
// import "../../../DropdownV4.
|
|
2
|
+
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f88a132e"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|