@ironsource/shared-ui 2.1.12-test.53 → 2.1.12-test.54
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/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6db25923_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/DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css +1 -0
- 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/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/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/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +122 -112
- 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 +42 -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 +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +125 -119
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +38 -34
- 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/index.d.ts +20 -1
- 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 +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +99 -97
- package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +89 -82
- 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 +41 -1
- 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/link/Link.vue.d.ts +5 -0
- package/components/link/Link.vue.js +3 -3
- package/components/link/Link.vue2.js +36 -28
- package/components/link/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.js +4 -4
- package/components/sortableList/SortableItem.vue2.js +3 -3
- package/components/sortableList/SortableList.vue.d.ts +2 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +96 -106
- 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/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +39 -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 +4 -3
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +363 -335
- 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 +1 -1
- package/components/table/v4/DataGridHeader.vue.js +2 -2
- package/components/table/v4/DataGridHeader.vue2.js +30 -28
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +104 -103
- 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/index.d.ts +410 -288
- package/index.js +87 -79
- package/package.json +10 -1
- package/testids/index.d.ts +36 -0
- package/testids/index.js +37 -31
- 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_3da25a36_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_2f916aeb_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_dd60ff0e_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import "../../TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css"; import { defineComponent as R, ref as m, computed as B, openBlock as s, createElementBlock as p, mergeProps as k, unref as d, createElementVNode as x, normalizeClass as C, Fragment as P, renderList as $, createBlock as V, withDirectives as E, withKeys as A, withModifiers as H, vModelText as D, createCommentVNode as h } from "vue";
|
|
2
|
+
import { TagsFieldTestIdModifiers as r } from "../../testids/index.js";
|
|
3
|
+
import { useTestIdAttrs as K } from "../../utils/testIds.js";
|
|
4
|
+
import M from "./TagsFieldChip.vue.js";
|
|
5
|
+
import { WIDTH_PER_CHAR as U } from "./consts.js";
|
|
6
|
+
import W from "../shared/FieldHelpText.vue.js";
|
|
7
|
+
const L = ["placeholder", "disabled", "onKeyup"], N = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "footer"
|
|
10
|
+
}, Q = /* @__PURE__ */ R({
|
|
11
|
+
__name: "TagsField",
|
|
12
|
+
props: {
|
|
13
|
+
modelValue: { default: () => [] },
|
|
14
|
+
placeholder: { default: "" },
|
|
15
|
+
testId: { default: "" },
|
|
16
|
+
disabled: { type: Boolean, default: !1 },
|
|
17
|
+
feedbackVariant: { default: null },
|
|
18
|
+
feedbackText: { default: "" },
|
|
19
|
+
showFeedbackTextIcon: { type: Boolean, default: !1 }
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(e, { emit: c }) {
|
|
23
|
+
const u = e, f = m(!1), n = m(""), I = B(
|
|
24
|
+
() => n.value.length * U + "px"
|
|
25
|
+
), v = m(null), g = () => {
|
|
26
|
+
v.value?.focus();
|
|
27
|
+
}, y = () => {
|
|
28
|
+
f.value = !1, T();
|
|
29
|
+
}, T = () => {
|
|
30
|
+
const o = (n.value || "").trim();
|
|
31
|
+
o && (n.value = "", c("update:modelValue", [...u.modelValue, { text: o }]));
|
|
32
|
+
}, F = (o) => {
|
|
33
|
+
const l = u.modelValue || [];
|
|
34
|
+
c(
|
|
35
|
+
"update:modelValue",
|
|
36
|
+
l.filter((a, t) => t !== o)
|
|
37
|
+
);
|
|
38
|
+
}, w = (o, l) => {
|
|
39
|
+
const a = u.modelValue || [];
|
|
40
|
+
c(
|
|
41
|
+
"update:modelValue",
|
|
42
|
+
a.map((t, i) => i === o ? { ...t, text: l } : t)
|
|
43
|
+
);
|
|
44
|
+
}, b = K(u.testId, r);
|
|
45
|
+
return (o, l) => (s(), p("div", k({
|
|
46
|
+
class: ["tags-field", [`tags-field--${e.feedbackVariant}`]]
|
|
47
|
+
}, d(b)[d(r).WRAPPER], { onClick: g }), [
|
|
48
|
+
x("div", {
|
|
49
|
+
class: C(["input-container", { "input-container--focused": f.value }])
|
|
50
|
+
}, [
|
|
51
|
+
(s(!0), p(P, null, $(e.modelValue, (a, t) => (s(), V(M, {
|
|
52
|
+
key: t,
|
|
53
|
+
label: a.text,
|
|
54
|
+
"is-invalid": a.isInvalid,
|
|
55
|
+
"test-id": `${e.testId}-${d(r).CHIP}-${t}`,
|
|
56
|
+
onRemove: (i) => F(t),
|
|
57
|
+
"onUpdate:label": (i) => w(t, i)
|
|
58
|
+
}, null, 8, ["label", "is-invalid", "test-id", "onRemove", "onUpdate:label"]))), 128)),
|
|
59
|
+
E(x("input", k({
|
|
60
|
+
ref_key: "inputRef",
|
|
61
|
+
ref: v,
|
|
62
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => n.value = a),
|
|
63
|
+
class: "input",
|
|
64
|
+
type: "text",
|
|
65
|
+
style: { width: d(I) },
|
|
66
|
+
placeholder: e.placeholder,
|
|
67
|
+
disabled: e.disabled
|
|
68
|
+
}, d(b)[d(r).FIELD], {
|
|
69
|
+
onFocus: l[1] || (l[1] = (a) => f.value = !0),
|
|
70
|
+
onBlur: y,
|
|
71
|
+
onKeyup: A(H(T, ["prevent"]), ["enter"])
|
|
72
|
+
}), null, 16, L), [
|
|
73
|
+
[D, n.value]
|
|
74
|
+
])
|
|
75
|
+
], 2),
|
|
76
|
+
e.feedbackText ? (s(), p("div", N, [
|
|
77
|
+
e.feedbackText ? (s(), V(W, {
|
|
78
|
+
key: 0,
|
|
79
|
+
text: e.feedbackText,
|
|
80
|
+
variant: e.feedbackVariant,
|
|
81
|
+
"show-icon": e.showFeedbackTextIcon,
|
|
82
|
+
"test-id": e.testId
|
|
83
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : h("", !0)
|
|
84
|
+
])) : h("", !0)
|
|
85
|
+
], 16));
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
export {
|
|
89
|
+
Q as default
|
|
90
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
isInvalid?: boolean;
|
|
4
|
+
testId?: string;
|
|
5
|
+
}>, {
|
|
6
|
+
isInvalid: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
testId: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:label": (value: string) => void;
|
|
11
|
+
remove: () => void;
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
label: string;
|
|
14
|
+
isInvalid?: boolean;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}>, {
|
|
17
|
+
isInvalid: boolean;
|
|
18
|
+
label: string;
|
|
19
|
+
testId: string;
|
|
20
|
+
}>>> & {
|
|
21
|
+
onRemove?: () => any;
|
|
22
|
+
"onUpdate:label"?: (value: string) => any;
|
|
23
|
+
}, {
|
|
24
|
+
label: string;
|
|
25
|
+
testId: string;
|
|
26
|
+
isInvalid: boolean;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
}> : P[K];
|
|
42
|
+
};
|
|
43
|
+
type __VLS_Prettify<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./TagsFieldChip.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d186b7ef"]]);
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; import { defineComponent as k, ref as p, computed as x, openBlock as C, createBlock as I, unref as t, normalizeClass as c, withModifiers as s, withCtx as f, createElementVNode as v, createVNode as m, createTextVNode as w, toDisplayString as T, withDirectives as B, isRef as E, withKeys as h, vShow as V, vModelText as K, nextTick as N } from "vue";
|
|
2
|
+
import R from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import z from "../icon/v4/IconV4.vue.js";
|
|
4
|
+
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
+
import D from "../chip/v4/ChipV4.vue.js";
|
|
6
|
+
const M = { class: "chip-content" }, S = ["onKeyup"], j = /* @__PURE__ */ k({
|
|
7
|
+
__name: "TagsFieldChip",
|
|
8
|
+
props: {
|
|
9
|
+
label: { default: "" },
|
|
10
|
+
isInvalid: { type: Boolean, default: !1 },
|
|
11
|
+
testId: { default: "" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:label", "remove"],
|
|
14
|
+
setup(l, { emit: n }) {
|
|
15
|
+
const b = l, i = p(!1), e = x({
|
|
16
|
+
get: () => b.label,
|
|
17
|
+
set: (d) => {
|
|
18
|
+
n("update:label", d);
|
|
19
|
+
}
|
|
20
|
+
}), r = p(null), g = () => r.value?.focus(), y = async () => {
|
|
21
|
+
i.value = !0, await N(), g();
|
|
22
|
+
}, o = () => {
|
|
23
|
+
i.value = !1, e.value || n("remove");
|
|
24
|
+
};
|
|
25
|
+
return (d, a) => (C(), I(t(D), {
|
|
26
|
+
class: c(["tags-field-chip", {
|
|
27
|
+
"tags-field-chip--editing": i.value,
|
|
28
|
+
"tags-field-chip--invalid": l.isInvalid
|
|
29
|
+
}]),
|
|
30
|
+
label: t(e),
|
|
31
|
+
"test-id": l.testId,
|
|
32
|
+
color: l.isInvalid ? "error" : "default",
|
|
33
|
+
onClick: s(y, ["stop"])
|
|
34
|
+
}, {
|
|
35
|
+
default: f(() => [
|
|
36
|
+
v("div", M, [
|
|
37
|
+
m(t(R), {
|
|
38
|
+
variant: "chipLabel",
|
|
39
|
+
class: c(["chip-label", { "chip-label--hidden": i.value }])
|
|
40
|
+
}, {
|
|
41
|
+
default: f(() => [
|
|
42
|
+
w(T(t(e)), 1)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 8, ["class"]),
|
|
46
|
+
B(v("input", {
|
|
47
|
+
ref_key: "inputRef",
|
|
48
|
+
ref: r,
|
|
49
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => E(e) ? e.value = u : null),
|
|
50
|
+
class: "chip-input",
|
|
51
|
+
spellcheck: "false",
|
|
52
|
+
onBlur: o,
|
|
53
|
+
onKeyup: [
|
|
54
|
+
h(s(o, ["prevent"]), ["enter"]),
|
|
55
|
+
h(s(o, ["prevent"]), ["esc"])
|
|
56
|
+
]
|
|
57
|
+
}, null, 40, S), [
|
|
58
|
+
[V, i.value],
|
|
59
|
+
[
|
|
60
|
+
K,
|
|
61
|
+
t(e),
|
|
62
|
+
void 0,
|
|
63
|
+
{ trim: !0 }
|
|
64
|
+
]
|
|
65
|
+
])
|
|
66
|
+
]),
|
|
67
|
+
m(t(z), {
|
|
68
|
+
class: c(["clear-button", { "clear-button--invalid": l.isInvalid }]),
|
|
69
|
+
name: "x-circle",
|
|
70
|
+
size: "16px",
|
|
71
|
+
type: "fill",
|
|
72
|
+
onClick: a[1] || (a[1] = s((u) => n("remove"), ["stop"]))
|
|
73
|
+
}, null, 8, ["class"])
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 8, ["class", "label", "test-id", "color", "onClick"]));
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
j as default
|
|
81
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WIDTH_PER_CHAR = 10;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import TagsField from './TagsField.vue';
|
|
2
|
+
declare const TagsFieldTypes: () => import("vue").DefineComponent<{
|
|
3
|
+
testId: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: import("vue").PropType<import("./TagsField.types").Tag[]>;
|
|
13
|
+
required: true;
|
|
14
|
+
default: () => any[];
|
|
15
|
+
};
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
feedbackText: {
|
|
21
|
+
type: import("vue").PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
feedbackVariant: {
|
|
25
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
26
|
+
default: any;
|
|
27
|
+
};
|
|
28
|
+
showFeedbackTextIcon: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (value: import("./TagsField.types").Tag[]) => void;
|
|
34
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
testId: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: import("vue").PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: import("vue").PropType<import("./TagsField.types").Tag[]>;
|
|
45
|
+
required: true;
|
|
46
|
+
default: () => any[];
|
|
47
|
+
};
|
|
48
|
+
placeholder: {
|
|
49
|
+
type: import("vue").PropType<string>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
feedbackText: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
feedbackVariant: {
|
|
57
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
showFeedbackTextIcon: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>> & {
|
|
65
|
+
"onUpdate:modelValue"?: (value: import("./TagsField.types").Tag[]) => any;
|
|
66
|
+
}, {
|
|
67
|
+
testId: string;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
modelValue: import("./TagsField.types").Tag[];
|
|
70
|
+
placeholder: string;
|
|
71
|
+
feedbackText: string;
|
|
72
|
+
feedbackVariant: "success" | "warning" | "error";
|
|
73
|
+
showFeedbackTextIcon: boolean;
|
|
74
|
+
}>[];
|
|
75
|
+
export { TagsField, TagsFieldTypes };
|