@ironsource/shared-ui 2.1.12-rc.47 → 2.1.12-rc.48
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/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_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/components/chart/ChartPlane.vue.js +2 -2
- package/components/chart/ChartPlane.vue2.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +88 -82
- package/components/dropdown/v4/index.d.ts +1 -0
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/index.d.ts +3 -0
- package/index.js +74 -70
- package/package.json +5 -1
- package/testids/index.d.ts +5 -0
- package/testids/index.js +29 -28
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_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 };
|
package/index.d.ts
CHANGED
|
@@ -18503,6 +18503,7 @@ declare const _default: {
|
|
|
18503
18503
|
"option-end"?(_: {
|
|
18504
18504
|
option: any;
|
|
18505
18505
|
}): any;
|
|
18506
|
+
footer?(_: {}): any;
|
|
18506
18507
|
};
|
|
18507
18508
|
});
|
|
18508
18509
|
DefaultDropdownTrigger: {
|
|
@@ -23356,6 +23357,7 @@ declare const _default: {
|
|
|
23356
23357
|
"option-end"?(_: {
|
|
23357
23358
|
option: any;
|
|
23358
23359
|
}): any;
|
|
23360
|
+
footer?(_: {}): any;
|
|
23359
23361
|
};
|
|
23360
23362
|
})) | import("vue").DefineComponent<{
|
|
23361
23363
|
label: {
|
|
@@ -27863,3 +27865,4 @@ export * from '@/components/link';
|
|
|
27863
27865
|
export * from '@/components/autocomplete';
|
|
27864
27866
|
export * from '@/components/chart';
|
|
27865
27867
|
export * from '@/components/columnPicker';
|
|
27868
|
+
export * from '@/components/tagsField';
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
|
|
2
2
|
import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
|
|
3
3
|
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as ao } from "./components/menuItem/index.js";
|
|
5
|
-
import { MenuTypes as
|
|
5
|
+
import { MenuTypes as io } from "./components/menu/index.js";
|
|
6
6
|
import { AppIconTypes as so } from "./components/appIcon/index.js";
|
|
7
7
|
import { FloatingToolbarTypes as lo } from "./components/floatingToolbar/index.js";
|
|
8
8
|
import { IncludeExcludeTypes as $o } from "./components/includeExclude/index.js";
|
|
@@ -20,8 +20,8 @@ import * as t from "./components/chip/v4/index.js";
|
|
|
20
20
|
import * as m from "./components/switch/v3/index.js";
|
|
21
21
|
import * as p from "./components/switch/v4/index.js";
|
|
22
22
|
import * as a from "./components/dropdown/v3/index.js";
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
23
|
+
import * as f from "./components/dropdown/v4/index.js";
|
|
24
|
+
import * as i from "./components/search/v3/index.js";
|
|
25
25
|
import * as d from "./components/search/v4/index.js";
|
|
26
26
|
import * as x from "./components/filtersPanel/v3/index.js";
|
|
27
27
|
import * as s from "./components/filtersPanel/v4/index.js";
|
|
@@ -76,37 +76,39 @@ import { LinkTypes as Qo } from "./components/link/index.js";
|
|
|
76
76
|
import { AutocompleteTypes as Uo } from "./components/autocomplete/index.js";
|
|
77
77
|
import { ChartTypes as Xo } from "./components/chart/index.js";
|
|
78
78
|
import { ColumnPickerTypes as or } from "./components/columnPicker/index.js";
|
|
79
|
-
import {
|
|
80
|
-
import { default as mr } from "./components/
|
|
81
|
-
import { default as ar } from "./components/
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as xr } from "./components/
|
|
84
|
-
import { default as nr } from "./components/
|
|
85
|
-
import { default as ur } from "./components/
|
|
86
|
-
import { default as Tr } from "./components/includeExclude/
|
|
87
|
-
import { default as yr } from "./components/includeExclude/
|
|
88
|
-
import { default as Fr } from "./components/includeExclude/
|
|
89
|
-
import { default as Ar } from "./components/includeExclude/
|
|
90
|
-
import { default as Cr } from "./components/includeExclude/
|
|
91
|
-
import { default as hr } from "./components/includeExclude/
|
|
92
|
-
import { default as Mr } from "./components/
|
|
93
|
-
import { default as wr } from "./components/filterDropdown/
|
|
94
|
-
import { default as Or } from "./components/
|
|
95
|
-
import { default as Sr } from "./components/typography/
|
|
96
|
-
import { default as Hr } from "./components/typography/
|
|
97
|
-
import { default as Nr } from "./components/
|
|
98
|
-
import { default as Jr } from "./components/
|
|
99
|
-
import { default as Rr } from "./components/
|
|
100
|
-
import { default as jr } from "./components/forms/
|
|
101
|
-
import { default as zr } from "./components/forms/
|
|
102
|
-
import { default as Qr } from "./components/forms/
|
|
103
|
-
import { default as Ur } from "./components/
|
|
104
|
-
import { default as Xr } from "./components/
|
|
105
|
-
import { default as oe } from "./components/
|
|
106
|
-
import { default as ee } from "./components/
|
|
107
|
-
import { default as me } from "./components/
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
79
|
+
import { TagsFieldTypes as er } from "./components/tagsField/index.js";
|
|
80
|
+
import { default as mr } from "./components/appTrigger/AppTrigger.vue.js";
|
|
81
|
+
import { default as ar } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
|
|
82
|
+
import { default as ir } from "./components/menuItem/MenuItem.vue.js";
|
|
83
|
+
import { default as xr } from "./components/menu/Menu.vue.js";
|
|
84
|
+
import { default as nr } from "./components/appIcon/AppIcon.vue.js";
|
|
85
|
+
import { default as ur } from "./components/floatingToolbar/FloatingToolbar.vue.js";
|
|
86
|
+
import { default as Tr } from "./components/includeExclude/IncludeExclude.vue.js";
|
|
87
|
+
import { default as yr } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
|
|
88
|
+
import { default as Fr } from "./components/includeExclude/IncludeExcludeOption.vue.js";
|
|
89
|
+
import { default as Ar } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
|
|
90
|
+
import { default as Cr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
|
|
91
|
+
import { default as hr } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
|
|
92
|
+
import { default as Mr } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
|
|
93
|
+
import { default as wr } from "./components/filterDropdown/FilterDropdown.vue.js";
|
|
94
|
+
import { default as Or } from "./components/filterDropdown/AddFilterButton.vue.js";
|
|
95
|
+
import { default as Sr } from "./components/typography/Heading.vue.js";
|
|
96
|
+
import { default as Hr } from "./components/typography/Text.vue.js";
|
|
97
|
+
import { default as Nr } from "./components/typography/v4/Typography.vue.js";
|
|
98
|
+
import { default as Jr } from "./components/multibar/MultiBar.vue.js";
|
|
99
|
+
import { default as Rr } from "./components/layout/FoldableSection.vue.js";
|
|
100
|
+
import { default as jr } from "./components/forms/FormRow.vue.js";
|
|
101
|
+
import { default as zr } from "./components/forms/FormCard.vue.js";
|
|
102
|
+
import { default as Qr } from "./components/forms/CardPanel.vue.js";
|
|
103
|
+
import { default as Ur } from "./components/forms/FormField.vue.js";
|
|
104
|
+
import { default as Xr } from "./components/banner/Banner.vue.js";
|
|
105
|
+
import { default as oe } from "./components/alert/Alert.vue.js";
|
|
106
|
+
import { default as ee } from "./components/link/Link.vue.js";
|
|
107
|
+
import { default as me } from "./components/autocomplete/Autocomplete.vue.js";
|
|
108
|
+
import { default as ae } from "./components/chart/Chart.vue.js";
|
|
109
|
+
import { ChartType as ie, TooltipOrder as de, TrendDirection as xe } from "./components/chart/types.js";
|
|
110
|
+
import { default as ne } from "./components/columnPicker/ColumnPicker.vue.js";
|
|
111
|
+
import { default as ue } from "./components/tagsField/TagsField.vue.js";
|
|
110
112
|
const Z = {
|
|
111
113
|
...e,
|
|
112
114
|
...t,
|
|
@@ -115,8 +117,8 @@ const Z = {
|
|
|
115
117
|
...o,
|
|
116
118
|
...r,
|
|
117
119
|
...a,
|
|
118
|
-
...i,
|
|
119
120
|
...f,
|
|
121
|
+
...i,
|
|
120
122
|
...d,
|
|
121
123
|
...x,
|
|
122
124
|
...s,
|
|
@@ -163,58 +165,60 @@ const Z = {
|
|
|
163
165
|
...X
|
|
164
166
|
};
|
|
165
167
|
export {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
+
Or as AddFilterButton,
|
|
169
|
+
oe as Alert,
|
|
168
170
|
zo as AlertTypes,
|
|
169
|
-
|
|
171
|
+
nr as AppIcon,
|
|
170
172
|
so as AppIconTypes,
|
|
171
|
-
|
|
173
|
+
mr as AppTrigger,
|
|
172
174
|
eo as AppTriggerTypes,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
me as Autocomplete,
|
|
176
|
+
ar as AutocompleteDropdown,
|
|
175
177
|
mo as AutocompleteDropdownTypes,
|
|
176
178
|
Uo as AutocompleteTypes,
|
|
177
|
-
|
|
179
|
+
Xr as Banner,
|
|
178
180
|
jo as BannerTypes,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
Qr as CardPanel,
|
|
182
|
+
ae as Chart,
|
|
183
|
+
ie as ChartType,
|
|
182
184
|
Xo as ChartTypes,
|
|
183
|
-
|
|
185
|
+
ne as ColumnPicker,
|
|
184
186
|
or as ColumnPickerTypes,
|
|
185
|
-
|
|
187
|
+
wr as FilterDropdown,
|
|
186
188
|
Fo as FilterDropdownTypes,
|
|
187
|
-
|
|
189
|
+
ur as FloatingToolbar,
|
|
188
190
|
lo as FloatingToolbarTypes,
|
|
189
|
-
|
|
191
|
+
Rr as FoldableSection,
|
|
190
192
|
Mo as FoldableSectionTypes,
|
|
191
|
-
|
|
193
|
+
zr as FormCard,
|
|
192
194
|
wo as FormCardTypes,
|
|
193
|
-
|
|
195
|
+
Ur as FormField,
|
|
194
196
|
ko as FormFieldTypes,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
+
jr as FormRow,
|
|
198
|
+
Sr as Heading,
|
|
197
199
|
co as ID_INJECTION_KEY,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
200
|
+
Tr as IncludeExclude,
|
|
201
|
+
hr as IncludeExcludeAppHeader,
|
|
202
|
+
Cr as IncludeExcludeAppTrigger,
|
|
203
|
+
Mr as IncludeExcludeChipFilter,
|
|
204
|
+
yr as IncludeExcludeDragDrop,
|
|
205
|
+
Fr as IncludeExcludeOption,
|
|
206
|
+
Ar as IncludeExcludeOptionDraggable,
|
|
205
207
|
$o as IncludeExcludeTypes,
|
|
206
|
-
|
|
208
|
+
ee as Link,
|
|
207
209
|
Qo as LinkTypes,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
+
xr as Menu,
|
|
211
|
+
ir as MenuItem,
|
|
210
212
|
ao as MenuItemTypes,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
+
io as MenuTypes,
|
|
214
|
+
Jr as MultiBar,
|
|
213
215
|
ho as MultiBarTypes,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
ue as TagsField,
|
|
217
|
+
er as TagsFieldTypes,
|
|
218
|
+
Hr as Text,
|
|
219
|
+
de as TooltipOrder,
|
|
220
|
+
xe as TrendDirection,
|
|
221
|
+
Nr as Typography,
|
|
218
222
|
Ao as TypographyTypes,
|
|
219
223
|
Co as TypographyTypesV4,
|
|
220
224
|
Z as default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.1.12-rc.
|
|
3
|
+
"version": "2.1.12-rc.48",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -153,6 +153,7 @@
|
|
|
153
153
|
"./menuItem": "./components/menuItem/MenuItem.vue.js",
|
|
154
154
|
"./menu": "./components/menu/Menu.vue.js",
|
|
155
155
|
"./columnPicker": "./components/columnPicker/index.js",
|
|
156
|
+
"./tagsField": "./components/tagsField/index.js",
|
|
156
157
|
".": {
|
|
157
158
|
"import": "./index.js"
|
|
158
159
|
},
|
|
@@ -259,6 +260,9 @@
|
|
|
259
260
|
"columnPicker": [
|
|
260
261
|
"./components/columnPicker/index.d.ts"
|
|
261
262
|
],
|
|
263
|
+
"tagsField": [
|
|
264
|
+
"./components/tagsField/index.d.ts"
|
|
265
|
+
],
|
|
262
266
|
"editable": [
|
|
263
267
|
"./components/table-cells/v3/Editable.vue.d.ts"
|
|
264
268
|
],
|
package/testids/index.d.ts
CHANGED
|
@@ -72,6 +72,11 @@ export declare enum InputTestIdModifiers {
|
|
|
72
72
|
CLEAR_BUTTON = "input-clear-button",
|
|
73
73
|
LOADING = "input-loading"
|
|
74
74
|
}
|
|
75
|
+
export declare enum TagsFieldTestIdModifiers {
|
|
76
|
+
WRAPPER = "tags-field-wrapper",
|
|
77
|
+
FIELD = "tags-field-field",
|
|
78
|
+
CHIP = "tags-field-chip"
|
|
79
|
+
}
|
|
75
80
|
export declare enum CheckboxTestIdModifiers {
|
|
76
81
|
WRAPPER = "cb-wrapper",
|
|
77
82
|
LABEL = "cb-label",
|