@ironsource/shared-ui 2.2.0-test.7 → 2.2.0-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/Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/components/dateRange/common/DateRange.common.js +1 -1
- package/components/tag/Tag.vue.d.ts +105 -0
- package/components/tag/Tag.vue.js +7 -0
- package/components/tag/Tag.vue2.js +223 -0
- package/components/tag/index.d.ts +150 -0
- package/components/tag/index.js +6 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +0 -41
- package/components/tagsField/TagsFieldChip.vue.js +5 -5
- package/components/tagsField/TagsFieldChip.vue2.js +54 -96
- package/components/tagsField/index.d.ts +0 -72
- package/index.d.ts +1 -0
- package/index.js +84 -80
- package/package.json +6 -2
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-043adaf5],.font-chart-2[data-v-043adaf5],.font-chart-1[data-v-043adaf5]{font-family:Inter,sans-serif;font-weight:700}.tag-input-sizer[data-v-043adaf5],.tag-input[data-v-043adaf5],.font-chip-label[data-v-043adaf5],.font-table-label[data-v-043adaf5],.font-button[data-v-043adaf5],.font-heading-6[data-v-043adaf5],.font-heading-5[data-v-043adaf5],.font-heading-4[data-v-043adaf5],.font-heading-3[data-v-043adaf5],.font-heading-2[data-v-043adaf5],.font-heading-1[data-v-043adaf5],.font-title[data-v-043adaf5]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-043adaf5],.font-input-label[data-v-043adaf5],.font-overline[data-v-043adaf5],.font-subtitle-2[data-v-043adaf5],.font-subtitle-1[data-v-043adaf5]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-043adaf5],.font-body-2[data-v-043adaf5],.font-body-1[data-v-043adaf5]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-043adaf5]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-043adaf5]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-043adaf5]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-043adaf5]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-043adaf5]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-043adaf5]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-043adaf5]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-043adaf5]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-043adaf5]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-043adaf5]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-043adaf5]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-043adaf5]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-043adaf5]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-043adaf5]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-043adaf5]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-043adaf5]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-043adaf5]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-043adaf5]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-043adaf5],.font-tab-label2[data-v-043adaf5]{font-size:.875rem;line-height:1rem}.tag-input-sizer[data-v-043adaf5],.tag-input[data-v-043adaf5],.font-chip-label[data-v-043adaf5]{font-size:.75rem;line-height:1rem}h1[data-v-043adaf5],h2[data-v-043adaf5],h3[data-v-043adaf5],h4[data-v-043adaf5],h5[data-v-043adaf5],h6[data-v-043adaf5]{margin:0}.tag-container[data-v-043adaf5]{position:relative;width:200px}.rounded-tag[data-v-043adaf5]{border-radius:100px}.tag-editing[data-v-043adaf5]{outline:1px solid var(--outline-color)}.unselected-tag-hover-outline[data-v-043adaf5]{background-color:var(--action-hover)}.tag-hover-outline[data-v-043adaf5]{outline:1px solid var(--outline-color);cursor:pointer}.unselected-tag[data-v-043adaf5]{outline:1px solid var(--action-outlined-border)}.tag-disabled[data-v-043adaf5]{background-color:transparent;outline:1px solid var(--action-disabled)}.tag-content[data-v-043adaf5]{display:flex;align-items:center;position:relative;min-width:.625rem;max-width:31.25rem}.tag-icon[data-v-043adaf5]{margin-right:.25rem}.tag-label[data-v-043adaf5]{user-select:none;min-width:.5rem}.tag-label--disabled[data-v-043adaf5]{color:var(--action-disabled)}.tag-label--hidden[data-v-043adaf5]{visibility:hidden}.tag-input[data-v-043adaf5]{position:static;width:auto;background:transparent;min-width:.6rem;padding:0;border:none;max-width:100%;overflow-x:auto;white-space:nowrap}.tag-input[data-v-043adaf5]:focus{outline:none}.tag-input-outline[data-v-043adaf5]::placeholder{color:var(--action-disabled)}.clear-button[data-v-043adaf5]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-043adaf5]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-043adaf5]{color:var(--error-dark)}.clear-button--invalid[data-v-043adaf5]:hover{color:var(--error-darker)}.tag-input-sizer[data-v-043adaf5]{position:absolute;visibility:hidden;height:0;white-space:pre;pointer-events:none;padding:0}.editable-tag[data-v-043adaf5]{cursor:text}.empty-tag[data-v-043adaf5]{background-color:transparent;outline:1px dashed var(--action-outlined-border);color:var(--text-secondary)}.empty-tag[data-v-043adaf5]:hover{outline:1px dashed var(--action-active)}.tag-max-length-tooltip[data-v-043adaf5]{display:flex;width:250px;padding:.25rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-d186b7ef],.font-chart-2[data-v-d186b7ef],.font-chart-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:700}.chip-input[data-v-d186b7ef],.font-chip-label[data-v-d186b7ef],.font-table-label[data-v-d186b7ef],.font-button[data-v-d186b7ef],.font-heading-6[data-v-d186b7ef],.font-heading-5[data-v-d186b7ef],.font-heading-4[data-v-d186b7ef],.font-heading-3[data-v-d186b7ef],.font-heading-2[data-v-d186b7ef],.font-heading-1[data-v-d186b7ef],.font-title[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-d186b7ef],.font-input-label[data-v-d186b7ef],.font-overline[data-v-d186b7ef],.font-subtitle-2[data-v-d186b7ef],.font-subtitle-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-d186b7ef],.font-body-2[data-v-d186b7ef],.font-body-1[data-v-d186b7ef]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-d186b7ef]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-d186b7ef]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-d186b7ef]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-d186b7ef]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-d186b7ef]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-d186b7ef]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-d186b7ef]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-d186b7ef]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-d186b7ef]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-d186b7ef]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-d186b7ef]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-d186b7ef]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-d186b7ef]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-d186b7ef]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-d186b7ef],.font-tab-label2[data-v-d186b7ef]{font-size:.875rem;line-height:1rem}.chip-input[data-v-d186b7ef],.font-chip-label[data-v-d186b7ef]{font-size:.75rem;line-height:1rem}h1[data-v-d186b7ef],h2[data-v-d186b7ef],h3[data-v-d186b7ef],h4[data-v-d186b7ef],h5[data-v-d186b7ef],h6[data-v-d186b7ef]{margin:0}.tags-field-chip[data-v-d186b7ef]{--outline-color: var(--default-outlined-border);border-radius:100px}.tags-field-chip--invalid[data-v-d186b7ef]{--outline-color: var(--error-outlined-border)}.tags-field-chip--editing[data-v-d186b7ef]{outline:1px solid var(--outline-color)}.chip-content[data-v-d186b7ef]{display:flex;position:relative}.chip-label[data-v-d186b7ef]{min-width:.5rem}.chip-label--hidden[data-v-d186b7ef]{visibility:hidden}.chip-input[data-v-d186b7ef]{position:absolute;left:0;top:-.5px;width:100%;height:100%;background:transparent;color:var(--text-primary);line-height:normal;min-width:.5rem;padding:0;border:none}.chip-input[data-v-d186b7ef]:focus{outline:none}.clear-button[data-v-d186b7ef]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-d186b7ef]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-d186b7ef]{color:var(--error-dark)}.clear-button--invalid[data-v-d186b7ef]:hover{color:var(--error-darker)}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { ChipSize, ChipColor, ChipVariant } from '../chip/v4/Chip.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isInvalid?: boolean;
|
|
6
|
+
testId?: string;
|
|
7
|
+
size?: ChipSize;
|
|
8
|
+
rounded?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
color?: ChipColor;
|
|
11
|
+
variant?: ChipVariant;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
iconName?: string;
|
|
14
|
+
editable?: boolean;
|
|
15
|
+
selectable?: boolean;
|
|
16
|
+
maxLength?: number;
|
|
17
|
+
maxLengthTooltip?: string;
|
|
18
|
+
}>, {
|
|
19
|
+
isInvalid: boolean;
|
|
20
|
+
label: string;
|
|
21
|
+
testId: string;
|
|
22
|
+
size: string;
|
|
23
|
+
rounded: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
color: string;
|
|
26
|
+
variant: string;
|
|
27
|
+
placeholder: string;
|
|
28
|
+
iconName: string;
|
|
29
|
+
editable: boolean;
|
|
30
|
+
selectable: boolean;
|
|
31
|
+
maxLength: any;
|
|
32
|
+
maxLengthTooltip: string;
|
|
33
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
"update:label": (value: string) => void;
|
|
35
|
+
remove: () => void;
|
|
36
|
+
stopEditing: () => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
38
|
+
label: string;
|
|
39
|
+
isSelected: boolean;
|
|
40
|
+
isInvalid?: boolean;
|
|
41
|
+
testId?: string;
|
|
42
|
+
size?: ChipSize;
|
|
43
|
+
rounded?: boolean;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
color?: ChipColor;
|
|
46
|
+
variant?: ChipVariant;
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
iconName?: string;
|
|
49
|
+
editable?: boolean;
|
|
50
|
+
selectable?: boolean;
|
|
51
|
+
maxLength?: number;
|
|
52
|
+
maxLengthTooltip?: string;
|
|
53
|
+
}>, {
|
|
54
|
+
isInvalid: boolean;
|
|
55
|
+
label: string;
|
|
56
|
+
testId: string;
|
|
57
|
+
size: string;
|
|
58
|
+
rounded: boolean;
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
color: string;
|
|
61
|
+
variant: string;
|
|
62
|
+
placeholder: string;
|
|
63
|
+
iconName: string;
|
|
64
|
+
editable: boolean;
|
|
65
|
+
selectable: boolean;
|
|
66
|
+
maxLength: any;
|
|
67
|
+
maxLengthTooltip: string;
|
|
68
|
+
}>>> & {
|
|
69
|
+
onRemove?: () => any;
|
|
70
|
+
"onUpdate:label"?: (value: string) => any;
|
|
71
|
+
onStopEditing?: () => any;
|
|
72
|
+
}, {
|
|
73
|
+
label: string;
|
|
74
|
+
testId: string;
|
|
75
|
+
variant: ChipVariant;
|
|
76
|
+
disabled: boolean;
|
|
77
|
+
color: ChipColor;
|
|
78
|
+
size: ChipSize;
|
|
79
|
+
iconName: string;
|
|
80
|
+
rounded: boolean;
|
|
81
|
+
maxLength: number;
|
|
82
|
+
placeholder: string;
|
|
83
|
+
editable: boolean;
|
|
84
|
+
isInvalid: boolean;
|
|
85
|
+
selectable: boolean;
|
|
86
|
+
maxLengthTooltip: string;
|
|
87
|
+
}>;
|
|
88
|
+
export default _default;
|
|
89
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
90
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
91
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
92
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
93
|
+
} : {
|
|
94
|
+
type: import('vue').PropType<T[K]>;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
type __VLS_WithDefaults<P, D> = {
|
|
99
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
100
|
+
default: D[K];
|
|
101
|
+
}> : P[K];
|
|
102
|
+
};
|
|
103
|
+
type __VLS_Prettify<T> = {
|
|
104
|
+
[K in keyof T]: T[K];
|
|
105
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Tag.vue2.js";
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-043adaf5"]]);
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import "../../Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css"; import { defineComponent as J, ref as u, computed as d, watch as S, nextTick as E, openBlock as v, createElementBlock as C, normalizeStyle as T, createVNode as y, unref as l, withCtx as f, createElementVNode as V, createTextVNode as R, toDisplayString as z, normalizeClass as h, withModifiers as m, createBlock as $, createCommentVNode as O, withDirectives as H, isRef as Q, withKeys as K, vModelText as X, vShow as Z } from "vue";
|
|
2
|
+
import D from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import W from "../icon/v4/IconV4.vue.js";
|
|
4
|
+
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
+
import _ from "../chip/v4/ChipV4.vue.js";
|
|
6
|
+
import ee from "../popover/v4/PopoverV4.vue.js";
|
|
7
|
+
const ae = { class: "tag-max-length-tooltip" }, le = { class: "tag-content" }, te = ["placeholder", "maxlength", "onKeyup"], se = /* @__PURE__ */ J({
|
|
8
|
+
__name: "Tag",
|
|
9
|
+
props: {
|
|
10
|
+
label: { default: "" },
|
|
11
|
+
isSelected: { type: Boolean },
|
|
12
|
+
isInvalid: { type: Boolean, default: !1 },
|
|
13
|
+
testId: { default: "" },
|
|
14
|
+
size: { default: "medium" },
|
|
15
|
+
rounded: { type: Boolean, default: !1 },
|
|
16
|
+
disabled: { type: Boolean, default: !1 },
|
|
17
|
+
color: { default: "primary" },
|
|
18
|
+
variant: { default: "filled" },
|
|
19
|
+
placeholder: { default: "" },
|
|
20
|
+
iconName: { default: "" },
|
|
21
|
+
editable: { type: Boolean, default: !1 },
|
|
22
|
+
selectable: { type: Boolean, default: !0 },
|
|
23
|
+
maxLength: { default: void 0 },
|
|
24
|
+
maxLengthTooltip: { default: "You have reached the maximum number of characters" }
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:label", "remove", "stopEditing"],
|
|
27
|
+
setup(a, { emit: b }) {
|
|
28
|
+
const e = a, r = u(!1), k = u(null), g = u(void 0), x = u(!1), s = u(!1), i = u(e.isSelected || e.editable), I = d(() => !e.label && !r.value && e.placeholder), M = d(() => (console.log(
|
|
29
|
+
"isTooltipOpen",
|
|
30
|
+
e.maxLength && o.value.length >= e.maxLength && r.value
|
|
31
|
+
), e.maxLength && o.value.length >= e.maxLength && r.value)), p = d(() => e.disabled || !e.selectable || r.value ? "outlined" : s.value ? "filled" : !i.value && !e.editable ? "outlined" : e.variant), F = d(() => e.disabled ? "default" : e.isInvalid ? "error" : i.value || !i.value && e.editable || !e.selectable ? e.color : "default"), o = d({
|
|
32
|
+
get: () => e.label,
|
|
33
|
+
set: (n) => {
|
|
34
|
+
b("update:label", n);
|
|
35
|
+
}
|
|
36
|
+
}), B = u(null), P = () => B.value?.focus(), U = async () => {
|
|
37
|
+
e.disabled || !e.selectable || (e.editable ? (r.value = !0, await E(), P()) : i.value = !i.value);
|
|
38
|
+
}, Y = () => {
|
|
39
|
+
b("stopEditing"), w();
|
|
40
|
+
}, w = () => {
|
|
41
|
+
r.value = !1, !o.value && !e.placeholder && b("remove");
|
|
42
|
+
};
|
|
43
|
+
S(
|
|
44
|
+
() => [o.value, e.placeholder, r.value],
|
|
45
|
+
async () => {
|
|
46
|
+
await E(), r.value && k.value ? g.value = k.value.offsetWidth + "px" : g.value = void 0;
|
|
47
|
+
},
|
|
48
|
+
{ immediate: !0 }
|
|
49
|
+
), S(
|
|
50
|
+
() => e.editable,
|
|
51
|
+
() => {
|
|
52
|
+
e.editable && (i.value = !0);
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
const L = {
|
|
56
|
+
default: "var(--default-outlined-border)",
|
|
57
|
+
primary: "var(--primary-main)",
|
|
58
|
+
info: "var(--info-dark)",
|
|
59
|
+
error: "var(--error-main)",
|
|
60
|
+
warning: "var(--warning-main)",
|
|
61
|
+
success: "var(--success-main)",
|
|
62
|
+
dark: "var(--common-divider)"
|
|
63
|
+
}, N = {
|
|
64
|
+
default: "var(--action-active)",
|
|
65
|
+
primary: "var(--primary-dark)",
|
|
66
|
+
info: "var(--info-dark)",
|
|
67
|
+
error: "var(--error-dark)",
|
|
68
|
+
warning: "var(--warning-dark)",
|
|
69
|
+
success: "var(--success-dark)",
|
|
70
|
+
dark: "var(--common-divider)"
|
|
71
|
+
}, j = {
|
|
72
|
+
default: "var(--action-active)",
|
|
73
|
+
primary: "var(--primary-darker)",
|
|
74
|
+
info: "var(--info-darker)",
|
|
75
|
+
error: "var(--error-darker)",
|
|
76
|
+
warning: "var(--warning-darker)",
|
|
77
|
+
success: "var(--success-darker)",
|
|
78
|
+
dark: "var(--common-divider)"
|
|
79
|
+
}, q = d(() => {
|
|
80
|
+
if (e.disabled)
|
|
81
|
+
return "var(--action-disabled)";
|
|
82
|
+
const n = e.isInvalid ? "error" : e.color;
|
|
83
|
+
return x.value ? j[n] : N[n];
|
|
84
|
+
}), A = d(() => {
|
|
85
|
+
if (e.disabled)
|
|
86
|
+
return "var(--action-disabled)";
|
|
87
|
+
const n = e.isInvalid ? "error" : e.color;
|
|
88
|
+
return i.value || !e.selectable ? N[n] : "var(--action-active)";
|
|
89
|
+
}), G = d(() => {
|
|
90
|
+
if (e.editable && e.variant !== "outlined" || !e.selectable) {
|
|
91
|
+
const n = r.value ? L[e.color] : "var(--primary-main-50-p)";
|
|
92
|
+
return {
|
|
93
|
+
"--outline-color": e.isInvalid ? L.error : n
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
return s.value && e.variant !== "outlined" && e.color === "primary" && !e.editable ? {
|
|
97
|
+
"--outline-color": i.value ? "var(--primary-main-50-p)" : "var(--action-active)"
|
|
98
|
+
} : {};
|
|
99
|
+
});
|
|
100
|
+
return (n, t) => (v(), C("div", {
|
|
101
|
+
style: T(r.value ? { width: g.value } : void 0)
|
|
102
|
+
}, [
|
|
103
|
+
y(l(ee), {
|
|
104
|
+
placement: "top",
|
|
105
|
+
text: a.maxLengthTooltip,
|
|
106
|
+
"is-open": l(M),
|
|
107
|
+
disabled: !l(M),
|
|
108
|
+
distance: 10,
|
|
109
|
+
skidding: 10
|
|
110
|
+
}, {
|
|
111
|
+
content: f(() => [
|
|
112
|
+
V("div", ae, [
|
|
113
|
+
y(l(D), { variant: "body2" }, {
|
|
114
|
+
default: f(() => [
|
|
115
|
+
R(z(a.maxLengthTooltip), 1)
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
})
|
|
119
|
+
])
|
|
120
|
+
]),
|
|
121
|
+
trigger: f(() => [
|
|
122
|
+
y(l(_), {
|
|
123
|
+
class: h({
|
|
124
|
+
"rounded-tag": a.rounded,
|
|
125
|
+
"tag-editing": r.value && l(p) !== "outlined",
|
|
126
|
+
// outlined chips have an outline
|
|
127
|
+
"tag-hover-outline": a.label && s.value && l(p) !== "outlined",
|
|
128
|
+
// outlined chips have an outline
|
|
129
|
+
"unselected-tag-hover-outline": a.label && s.value && l(p) !== "outlined" && !i.value && !a.editable,
|
|
130
|
+
// for unselected tags that are not editable, we want to show a hover outline
|
|
131
|
+
"tag-disabled": a.disabled,
|
|
132
|
+
"empty-tag": l(I),
|
|
133
|
+
"unselected-tag": !i.value && a.selectable && a.label,
|
|
134
|
+
"editable-tag": a.editable
|
|
135
|
+
}),
|
|
136
|
+
label: l(o),
|
|
137
|
+
"test-id": a.testId,
|
|
138
|
+
color: l(F),
|
|
139
|
+
size: a.size,
|
|
140
|
+
variant: l(p),
|
|
141
|
+
disabled: a.disabled,
|
|
142
|
+
style: T(l(G)),
|
|
143
|
+
onMouseover: t[5] || (t[5] = (c) => s.value = !0),
|
|
144
|
+
onMouseleave: t[6] || (t[6] = (c) => s.value = !1),
|
|
145
|
+
onClick: m(U, ["stop"])
|
|
146
|
+
}, {
|
|
147
|
+
default: f(() => [
|
|
148
|
+
V("div", le, [
|
|
149
|
+
a.iconName ? (v(), $(l(W), {
|
|
150
|
+
key: 0,
|
|
151
|
+
name: a.iconName,
|
|
152
|
+
size: "16px",
|
|
153
|
+
color: l(A),
|
|
154
|
+
class: "tag-icon"
|
|
155
|
+
}, null, 8, ["name", "color"])) : O("", !0),
|
|
156
|
+
r.value ? H((v(), C("input", {
|
|
157
|
+
key: 2,
|
|
158
|
+
ref_key: "inputRef",
|
|
159
|
+
ref: B,
|
|
160
|
+
"onUpdate:modelValue": t[0] || (t[0] = (c) => Q(o) ? o.value = c : null),
|
|
161
|
+
placeholder: a.placeholder,
|
|
162
|
+
class: h(["tag-input", { "tag-input-outline": a.variant === "outlined" }]),
|
|
163
|
+
spellcheck: "false",
|
|
164
|
+
style: T({ width: g.value }),
|
|
165
|
+
maxlength: a.maxLength,
|
|
166
|
+
onBlur: Y,
|
|
167
|
+
onKeyup: [
|
|
168
|
+
K(m(w, ["prevent"]), ["enter"]),
|
|
169
|
+
K(m(w, ["prevent"]), ["esc"])
|
|
170
|
+
]
|
|
171
|
+
}, null, 46, te)), [
|
|
172
|
+
[
|
|
173
|
+
X,
|
|
174
|
+
l(o),
|
|
175
|
+
void 0,
|
|
176
|
+
{ trim: !0 }
|
|
177
|
+
]
|
|
178
|
+
]) : (v(), $(l(D), {
|
|
179
|
+
key: 1,
|
|
180
|
+
variant: "chipLabel",
|
|
181
|
+
class: h(["tag-label", {
|
|
182
|
+
"tag-label--placeholder": !l(o) && a.placeholder,
|
|
183
|
+
"tag-label--disabled": a.disabled
|
|
184
|
+
}])
|
|
185
|
+
}, {
|
|
186
|
+
default: f(() => [
|
|
187
|
+
R(z(l(o) || a.placeholder), 1)
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 8, ["class"])),
|
|
191
|
+
r.value ? (v(), C("span", {
|
|
192
|
+
key: 3,
|
|
193
|
+
ref_key: "sizerRef",
|
|
194
|
+
ref: k,
|
|
195
|
+
class: "tag-input-sizer"
|
|
196
|
+
}, z(l(o) || a.placeholder || ""), 513)) : O("", !0)
|
|
197
|
+
]),
|
|
198
|
+
H(y(l(W), {
|
|
199
|
+
class: h(["clear-button", { "clear-button--invalid": a.isInvalid }]),
|
|
200
|
+
name: "x-circle",
|
|
201
|
+
size: "16px",
|
|
202
|
+
type: "fill",
|
|
203
|
+
color: l(q),
|
|
204
|
+
onMousedown: t[1] || (t[1] = m(() => {
|
|
205
|
+
}, ["prevent"])),
|
|
206
|
+
onMouseover: t[2] || (t[2] = (c) => x.value = !0),
|
|
207
|
+
onMouseleave: t[3] || (t[3] = (c) => x.value = !1),
|
|
208
|
+
onClick: t[4] || (t[4] = m((c) => b("remove"), ["stop"]))
|
|
209
|
+
}, null, 8, ["class", "color"]), [
|
|
210
|
+
[Z, a.editable && !l(I) && a.selectable]
|
|
211
|
+
])
|
|
212
|
+
]),
|
|
213
|
+
_: 1
|
|
214
|
+
}, 8, ["class", "label", "test-id", "color", "size", "variant", "disabled", "style", "onClick"])
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}, 8, ["text", "is-open", "disabled"])
|
|
218
|
+
], 4));
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
export {
|
|
222
|
+
se as default
|
|
223
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import Tag from './Tag.vue';
|
|
2
|
+
declare const TagTypes: () => import("vue").DefineComponent<{
|
|
3
|
+
label: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
testId: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: import("vue").PropType<"filled" | "outlined">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: import("vue").PropType<"small" | "medium">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
iconName: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
rounded: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
maxLength: {
|
|
37
|
+
type: import("vue").PropType<number>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
placeholder: {
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
isSelected: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
editable: {
|
|
49
|
+
type: import("vue").PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
isInvalid: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
selectable: {
|
|
57
|
+
type: import("vue").PropType<boolean>;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
maxLengthTooltip: {
|
|
61
|
+
type: import("vue").PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
"update:label": (value: string) => void;
|
|
66
|
+
remove: () => void;
|
|
67
|
+
stopEditing: () => void;
|
|
68
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
+
label: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
required: true;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
testId: {
|
|
75
|
+
type: import("vue").PropType<string>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
variant: {
|
|
79
|
+
type: import("vue").PropType<"filled" | "outlined">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
disabled: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
color: {
|
|
87
|
+
type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
type: import("vue").PropType<"small" | "medium">;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
iconName: {
|
|
95
|
+
type: import("vue").PropType<string>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
rounded: {
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
maxLength: {
|
|
103
|
+
type: import("vue").PropType<number>;
|
|
104
|
+
default: any;
|
|
105
|
+
};
|
|
106
|
+
placeholder: {
|
|
107
|
+
type: import("vue").PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
isSelected: {
|
|
111
|
+
type: import("vue").PropType<boolean>;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
editable: {
|
|
115
|
+
type: import("vue").PropType<boolean>;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
isInvalid: {
|
|
119
|
+
type: import("vue").PropType<boolean>;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
selectable: {
|
|
123
|
+
type: import("vue").PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
maxLengthTooltip: {
|
|
127
|
+
type: import("vue").PropType<string>;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
}>> & {
|
|
131
|
+
onRemove?: () => any;
|
|
132
|
+
"onUpdate:label"?: (value: string) => any;
|
|
133
|
+
onStopEditing?: () => any;
|
|
134
|
+
}, {
|
|
135
|
+
label: string;
|
|
136
|
+
testId: string;
|
|
137
|
+
variant: "filled" | "outlined";
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
|
|
140
|
+
size: "small" | "medium";
|
|
141
|
+
iconName: string;
|
|
142
|
+
rounded: boolean;
|
|
143
|
+
maxLength: number;
|
|
144
|
+
placeholder: string;
|
|
145
|
+
editable: boolean;
|
|
146
|
+
isInvalid: boolean;
|
|
147
|
+
selectable: boolean;
|
|
148
|
+
maxLengthTooltip: string;
|
|
149
|
+
}>[];
|
|
150
|
+
export { Tag, TagTypes };
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
import { ChipSize, ChipColor, ChipVariant } from '../chip/v4/Chip.types';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
2
|
label: string;
|
|
4
3
|
isInvalid?: boolean;
|
|
5
4
|
testId?: string;
|
|
6
|
-
size?: ChipSize;
|
|
7
|
-
rounded?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
removable?: boolean;
|
|
10
|
-
color?: ChipColor;
|
|
11
|
-
iconColor?: string;
|
|
12
|
-
variant?: ChipVariant;
|
|
13
|
-
placeholder?: string;
|
|
14
5
|
}>, {
|
|
15
6
|
isInvalid: boolean;
|
|
16
7
|
label: string;
|
|
17
8
|
testId: string;
|
|
18
|
-
size: string;
|
|
19
|
-
rounded: boolean;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
removable: boolean;
|
|
22
|
-
color: string;
|
|
23
|
-
iconColor: string;
|
|
24
|
-
variant: string;
|
|
25
|
-
placeholder: string;
|
|
26
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
10
|
"update:label": (value: string) => void;
|
|
28
11
|
remove: () => void;
|
|
@@ -30,41 +13,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
30
13
|
label: string;
|
|
31
14
|
isInvalid?: boolean;
|
|
32
15
|
testId?: string;
|
|
33
|
-
size?: ChipSize;
|
|
34
|
-
rounded?: boolean;
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
removable?: boolean;
|
|
37
|
-
color?: ChipColor;
|
|
38
|
-
iconColor?: string;
|
|
39
|
-
variant?: ChipVariant;
|
|
40
|
-
placeholder?: string;
|
|
41
16
|
}>, {
|
|
42
17
|
isInvalid: boolean;
|
|
43
18
|
label: string;
|
|
44
19
|
testId: string;
|
|
45
|
-
size: string;
|
|
46
|
-
rounded: boolean;
|
|
47
|
-
disabled: boolean;
|
|
48
|
-
removable: boolean;
|
|
49
|
-
color: string;
|
|
50
|
-
iconColor: string;
|
|
51
|
-
variant: string;
|
|
52
|
-
placeholder: string;
|
|
53
20
|
}>>> & {
|
|
54
21
|
onRemove?: () => any;
|
|
55
22
|
"onUpdate:label"?: (value: string) => any;
|
|
56
23
|
}, {
|
|
57
24
|
label: string;
|
|
58
25
|
testId: string;
|
|
59
|
-
variant: ChipVariant;
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
color: ChipColor;
|
|
62
|
-
size: ChipSize;
|
|
63
|
-
rounded: boolean;
|
|
64
|
-
placeholder: string;
|
|
65
26
|
isInvalid: boolean;
|
|
66
|
-
removable: boolean;
|
|
67
|
-
iconColor: string;
|
|
68
27
|
}>;
|
|
69
28
|
export default _default;
|
|
70
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../TagsFieldChip.
|
|
4
|
-
const
|
|
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
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,123 +1,81 @@
|
|
|
1
|
-
import "../../TagsFieldChip.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
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
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import D from "../chip/v4/ChipV4.vue.js";
|
|
6
|
+
const M = { class: "chip-content" }, S = ["onKeyup"], j = /* @__PURE__ */ k({
|
|
7
7
|
__name: "TagsFieldChip",
|
|
8
8
|
props: {
|
|
9
9
|
label: { default: "" },
|
|
10
10
|
isInvalid: { type: Boolean, default: !1 },
|
|
11
|
-
testId: { default: "" }
|
|
12
|
-
size: { default: "small" },
|
|
13
|
-
rounded: { type: Boolean, default: !0 },
|
|
14
|
-
disabled: { type: Boolean, default: !1 },
|
|
15
|
-
removable: { type: Boolean, default: !0 },
|
|
16
|
-
color: { default: "default" },
|
|
17
|
-
iconColor: { default: "var(--action-active)" },
|
|
18
|
-
variant: { default: "filled" },
|
|
19
|
-
placeholder: { default: "" }
|
|
11
|
+
testId: { default: "" }
|
|
20
12
|
},
|
|
21
13
|
emits: ["update:label", "remove"],
|
|
22
|
-
setup(
|
|
23
|
-
const
|
|
24
|
-
get: () =>
|
|
25
|
-
set: (
|
|
26
|
-
|
|
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);
|
|
27
19
|
}
|
|
28
|
-
}),
|
|
29
|
-
i.
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
primary: "var(--primary-main)",
|
|
43
|
-
info: "var(--info-dark)",
|
|
44
|
-
error: "var(--error-main)",
|
|
45
|
-
warning: "var(--warning-main)",
|
|
46
|
-
success: "var(--success-main)",
|
|
47
|
-
dark: "var(--common-divider)"
|
|
48
|
-
}, T = b(() => t.value && i.variant !== "outlined" ? {
|
|
49
|
-
"--outline-color": i.isInvalid ? p.error : p[i.color] || "var(--default-outlined-border)"
|
|
50
|
-
} : {});
|
|
51
|
-
return (h, o) => (n(), g(a($), {
|
|
52
|
-
class: d({
|
|
53
|
-
"rounded-chip": e.rounded,
|
|
54
|
-
"tags-field-chip--editing": t.value && e.variant !== "outlined"
|
|
55
|
-
// outlined chips have an outline
|
|
56
|
-
}),
|
|
57
|
-
label: a(l),
|
|
58
|
-
"test-id": e.testId,
|
|
59
|
-
color: e.isInvalid ? "error" : e.color,
|
|
60
|
-
size: e.size,
|
|
61
|
-
variant: e.variant,
|
|
62
|
-
disabled: e.disabled,
|
|
63
|
-
style: C(a(T)),
|
|
64
|
-
onClick: u(R, ["stop"])
|
|
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"])
|
|
65
34
|
}, {
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
t
|
|
69
|
-
|
|
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", {
|
|
70
47
|
ref_key: "inputRef",
|
|
71
|
-
ref:
|
|
72
|
-
"onUpdate:modelValue":
|
|
73
|
-
|
|
74
|
-
class: d(["chip-input", { "chip-input-outline": e.variant === "outlined" }]),
|
|
48
|
+
ref: r,
|
|
49
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => E(e) ? e.value = u : null),
|
|
50
|
+
class: "chip-input",
|
|
75
51
|
spellcheck: "false",
|
|
76
|
-
|
|
77
|
-
onBlur: s,
|
|
52
|
+
onBlur: o,
|
|
78
53
|
onKeyup: [
|
|
79
|
-
|
|
80
|
-
|
|
54
|
+
h(s(o, ["prevent"]), ["enter"]),
|
|
55
|
+
h(s(o, ["prevent"]), ["esc"])
|
|
81
56
|
]
|
|
82
|
-
}, null,
|
|
57
|
+
}, null, 40, S), [
|
|
58
|
+
[V, i.value],
|
|
83
59
|
[
|
|
84
|
-
|
|
85
|
-
|
|
60
|
+
K,
|
|
61
|
+
t(e),
|
|
86
62
|
void 0,
|
|
87
63
|
{ trim: !0 }
|
|
88
64
|
]
|
|
89
|
-
])
|
|
90
|
-
key: 0,
|
|
91
|
-
variant: "chipLabel",
|
|
92
|
-
class: d(["chip-label", { "chip-label--placeholder": !a(l) && e.placeholder }])
|
|
93
|
-
}, {
|
|
94
|
-
default: w(() => [
|
|
95
|
-
S(z(a(l) || e.placeholder), 1)
|
|
96
|
-
]),
|
|
97
|
-
_: 1
|
|
98
|
-
}, 8, ["class"])),
|
|
99
|
-
t.value ? (n(), I("span", {
|
|
100
|
-
key: 2,
|
|
101
|
-
ref_key: "sizerRef",
|
|
102
|
-
ref: v,
|
|
103
|
-
class: "chip-input-sizer"
|
|
104
|
-
}, z(a(l) || e.placeholder || ""), 513)) : W("", !0)
|
|
65
|
+
])
|
|
105
66
|
]),
|
|
106
|
-
|
|
107
|
-
class:
|
|
67
|
+
m(t(z), {
|
|
68
|
+
class: c(["clear-button", { "clear-button--invalid": l.isInvalid }]),
|
|
108
69
|
name: "x-circle",
|
|
109
70
|
size: "16px",
|
|
110
71
|
type: "fill",
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}, null, 8, ["class", "color"]), [
|
|
114
|
-
[L, e.removable]
|
|
115
|
-
])
|
|
72
|
+
onClick: a[1] || (a[1] = s((u) => n("remove"), ["stop"]))
|
|
73
|
+
}, null, 8, ["class"])
|
|
116
74
|
]),
|
|
117
75
|
_: 1
|
|
118
|
-
}, 8, ["class", "label", "test-id", "color", "
|
|
76
|
+
}, 8, ["class", "label", "test-id", "color", "onClick"]));
|
|
119
77
|
}
|
|
120
78
|
});
|
|
121
79
|
export {
|
|
122
|
-
|
|
80
|
+
j as default
|
|
123
81
|
};
|
|
@@ -10,42 +10,10 @@ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
|
|
|
10
10
|
type: import("vue").PropType<string>;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
|
-
variant: {
|
|
14
|
-
type: import("vue").PropType<"filled" | "outlined">;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
disabled: {
|
|
18
|
-
type: import("vue").PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
color: {
|
|
22
|
-
type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
size: {
|
|
26
|
-
type: import("vue").PropType<"small" | "medium">;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
rounded: {
|
|
30
|
-
type: import("vue").PropType<boolean>;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
placeholder: {
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
13
|
isInvalid: {
|
|
38
14
|
type: import("vue").PropType<boolean>;
|
|
39
15
|
default: boolean;
|
|
40
16
|
};
|
|
41
|
-
removable: {
|
|
42
|
-
type: import("vue").PropType<boolean>;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
iconColor: {
|
|
46
|
-
type: import("vue").PropType<string>;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
17
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
18
|
"update:label": (value: string) => void;
|
|
51
19
|
remove: () => void;
|
|
@@ -59,57 +27,17 @@ declare const TagsFieldTypes: () => (import("vue").DefineComponent<{
|
|
|
59
27
|
type: import("vue").PropType<string>;
|
|
60
28
|
default: string;
|
|
61
29
|
};
|
|
62
|
-
variant: {
|
|
63
|
-
type: import("vue").PropType<"filled" | "outlined">;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
disabled: {
|
|
67
|
-
type: import("vue").PropType<boolean>;
|
|
68
|
-
default: boolean;
|
|
69
|
-
};
|
|
70
|
-
color: {
|
|
71
|
-
type: import("vue").PropType<"dark" | "default" | "primary" | "info" | "success" | "warning" | "error">;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
size: {
|
|
75
|
-
type: import("vue").PropType<"small" | "medium">;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
rounded: {
|
|
79
|
-
type: import("vue").PropType<boolean>;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
placeholder: {
|
|
83
|
-
type: import("vue").PropType<string>;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
30
|
isInvalid: {
|
|
87
31
|
type: import("vue").PropType<boolean>;
|
|
88
32
|
default: boolean;
|
|
89
33
|
};
|
|
90
|
-
removable: {
|
|
91
|
-
type: import("vue").PropType<boolean>;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
iconColor: {
|
|
95
|
-
type: import("vue").PropType<string>;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
34
|
}>> & {
|
|
99
35
|
onRemove?: () => any;
|
|
100
36
|
"onUpdate:label"?: (value: string) => any;
|
|
101
37
|
}, {
|
|
102
38
|
label: string;
|
|
103
39
|
testId: string;
|
|
104
|
-
variant: "filled" | "outlined";
|
|
105
|
-
disabled: boolean;
|
|
106
|
-
color: "dark" | "default" | "primary" | "info" | "success" | "warning" | "error";
|
|
107
|
-
size: "small" | "medium";
|
|
108
|
-
rounded: boolean;
|
|
109
|
-
placeholder: string;
|
|
110
40
|
isInvalid: boolean;
|
|
111
|
-
removable: boolean;
|
|
112
|
-
iconColor: string;
|
|
113
41
|
}> | import("vue").DefineComponent<{
|
|
114
42
|
testId: {
|
|
115
43
|
type: import("vue").PropType<string>;
|
package/index.d.ts
CHANGED
|
@@ -28587,3 +28587,4 @@ export * from '@/components/chart';
|
|
|
28587
28587
|
export * from '@/components/columnPicker';
|
|
28588
28588
|
export * from '@/components/columnConfigurator';
|
|
28589
28589
|
export * from '@/components/tagsField';
|
|
28590
|
+
export * from '@/components/tag';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_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";
|
|
@@ -6,7 +6,7 @@ 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";
|
|
9
|
-
import { ID_INJECTION_KEY as
|
|
9
|
+
import { ID_INJECTION_KEY as yo, useId as co } from "./composables/useId.js";
|
|
10
10
|
import { FilterDropdownTypes as Fo } from "./components/filterDropdown/index.js";
|
|
11
11
|
import { TypographyTypes as Co } from "./components/typography/index.js";
|
|
12
12
|
import { TypographyTypesV4 as Eo } from "./components/typography/v4/index.js";
|
|
@@ -30,8 +30,8 @@ import * as l from "./components/checkbox/v4/index.js";
|
|
|
30
30
|
import * as u from "./components/icon/v3/index.js";
|
|
31
31
|
import * as $ from "./components/icon/v4/index.js";
|
|
32
32
|
import * as T from "./components/input/v3/index.js";
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
33
|
+
import * as y from "./components/input/v4/index.js";
|
|
34
|
+
import * as c from "./components/tabs/v3/index.js";
|
|
35
35
|
import * as g from "./components/tabs/v4/index.js";
|
|
36
36
|
import * as F from "./components/dialog/v3/index.js";
|
|
37
37
|
import * as I from "./components/dialog/v4/index.js";
|
|
@@ -79,41 +79,43 @@ import { ChartTypes as or } from "./components/chart/index.js";
|
|
|
79
79
|
import { ColumnPickerTypes as er } from "./components/columnPicker/index.js";
|
|
80
80
|
import { ColumnConfiguratorTypes as mr } from "./components/columnConfigurator/index.js";
|
|
81
81
|
import { TagsFieldTypes as ar } from "./components/tagsField/index.js";
|
|
82
|
-
import {
|
|
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/
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as Fr } from "./components/
|
|
89
|
-
import { default as Cr } from "./components/includeExclude/
|
|
90
|
-
import { default as Er } from "./components/includeExclude/
|
|
91
|
-
import { default as hr } from "./components/includeExclude/
|
|
92
|
-
import { default as Mr } from "./components/includeExclude/
|
|
93
|
-
import { default as wr } from "./components/includeExclude/
|
|
94
|
-
import { default as Hr } from "./components/includeExclude/
|
|
95
|
-
import { default as Pr } from "./components/
|
|
96
|
-
import { default as vr } from "./components/filterDropdown/
|
|
97
|
-
import { default as Nr } from "./components/
|
|
98
|
-
import { default as Jr } from "./components/typography/
|
|
99
|
-
import { default as Rr } from "./components/typography/
|
|
100
|
-
import { default as jr } from "./components/
|
|
101
|
-
import { default as zr } from "./components/
|
|
102
|
-
import { default as Qr } from "./components/
|
|
103
|
-
import { default as Ur } from "./components/forms/
|
|
104
|
-
import { default as Xr } from "./components/forms/
|
|
105
|
-
import { default as oe } from "./components/forms/
|
|
106
|
-
import { default as ee } from "./components/
|
|
107
|
-
import { default as me } from "./components/
|
|
108
|
-
import { default as ae } from "./components/
|
|
109
|
-
import { default as ie } from "./components/
|
|
110
|
-
import { default as xe } from "./components/
|
|
111
|
-
import { default as ne } from "./components/
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import { default as Fe } from "./components/
|
|
115
|
-
import { default as Ce } from "./components/
|
|
116
|
-
import { default as Ee } from "./components/tagsField/
|
|
82
|
+
import { TagTypes as ir } from "./components/tag/index.js";
|
|
83
|
+
import { default as xr } from "./components/appTrigger/AppTrigger.vue.js";
|
|
84
|
+
import { default as nr } from "./components/autocompleteDropdown/AutocompleteDropdown.vue.js";
|
|
85
|
+
import { default as ur } from "./components/menuItem/MenuItem.vue.js";
|
|
86
|
+
import { default as Tr } from "./components/menu/Menu.vue.js";
|
|
87
|
+
import { default as cr } from "./components/appIcon/AppIcon.vue.js";
|
|
88
|
+
import { default as Fr } from "./components/floatingToolbar/FloatingToolbar.vue.js";
|
|
89
|
+
import { default as Cr } from "./components/includeExclude/IncludeExclude.vue.js";
|
|
90
|
+
import { default as Er } from "./components/includeExclude/IncludeExcludeDragDrop.vue.js";
|
|
91
|
+
import { default as hr } from "./components/includeExclude/IncludeExcludeOption.vue.js";
|
|
92
|
+
import { default as Mr } from "./components/includeExclude/IncludeExcludeOptionDraggable.vue.js";
|
|
93
|
+
import { default as wr } from "./components/includeExclude/IncludeExcludeAppTrigger.vue.js";
|
|
94
|
+
import { default as Hr } from "./components/includeExclude/IncludeExcludeAppHeader.vue.js";
|
|
95
|
+
import { default as Pr } from "./components/includeExclude/IncludeExcludeChipFilter.vue.js";
|
|
96
|
+
import { default as vr } from "./components/filterDropdown/FilterDropdown.vue.js";
|
|
97
|
+
import { default as Nr } from "./components/filterDropdown/AddFilterButton.vue.js";
|
|
98
|
+
import { default as Jr } from "./components/typography/Heading.vue.js";
|
|
99
|
+
import { default as Rr } from "./components/typography/Text.vue.js";
|
|
100
|
+
import { default as jr } from "./components/typography/v4/Typography.vue.js";
|
|
101
|
+
import { default as zr } from "./components/multibar/MultiBar.vue.js";
|
|
102
|
+
import { default as Qr } from "./components/layout/FoldableSection.vue.js";
|
|
103
|
+
import { default as Ur } from "./components/forms/FormRow.vue.js";
|
|
104
|
+
import { default as Xr } from "./components/forms/FormCard.vue.js";
|
|
105
|
+
import { default as oe } from "./components/forms/CardPanel.vue.js";
|
|
106
|
+
import { default as ee } from "./components/forms/FormField.vue.js";
|
|
107
|
+
import { default as me } from "./components/banner/Banner.vue.js";
|
|
108
|
+
import { default as ae } from "./components/alert/Alert.vue.js";
|
|
109
|
+
import { default as ie } from "./components/link/Link.vue.js";
|
|
110
|
+
import { default as xe } from "./components/helpText/HelpText.vue.js";
|
|
111
|
+
import { default as ne } from "./components/autocomplete/Autocomplete.vue.js";
|
|
112
|
+
import { default as ue } from "./components/chart/Chart.vue.js";
|
|
113
|
+
import { ChartType as Te, TooltipOrder as ye, TrendDirection as ce } from "./components/chart/types.js";
|
|
114
|
+
import { default as Fe } from "./components/columnPicker/ColumnPicker.vue.js";
|
|
115
|
+
import { default as Ce } from "./components/columnConfigurator/ColumnConfigurator.vue.js";
|
|
116
|
+
import { default as Ee } from "./components/tagsField/TagsField.vue.js";
|
|
117
|
+
import { default as he } from "./components/tagsField/TagsFieldChip.vue.js";
|
|
118
|
+
import { default as Me } from "./components/tag/Tag.vue.js";
|
|
117
119
|
const Z = {
|
|
118
120
|
...e,
|
|
119
121
|
...t,
|
|
@@ -128,10 +130,10 @@ const Z = {
|
|
|
128
130
|
...x,
|
|
129
131
|
...s,
|
|
130
132
|
...T,
|
|
131
|
-
...
|
|
133
|
+
...y,
|
|
132
134
|
...u,
|
|
133
135
|
...$,
|
|
134
|
-
...
|
|
136
|
+
...c,
|
|
135
137
|
...g,
|
|
136
138
|
...F,
|
|
137
139
|
...I,
|
|
@@ -170,65 +172,67 @@ const Z = {
|
|
|
170
172
|
...X
|
|
171
173
|
};
|
|
172
174
|
export {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
Nr as AddFilterButton,
|
|
176
|
+
ae as Alert,
|
|
175
177
|
zo as AlertTypes,
|
|
176
|
-
|
|
178
|
+
cr as AppIcon,
|
|
177
179
|
so as AppIconTypes,
|
|
178
|
-
|
|
180
|
+
xr as AppTrigger,
|
|
179
181
|
eo as AppTriggerTypes,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
+
ne as Autocomplete,
|
|
183
|
+
nr as AutocompleteDropdown,
|
|
182
184
|
mo as AutocompleteDropdownTypes,
|
|
183
185
|
Xo as AutocompleteTypes,
|
|
184
|
-
|
|
186
|
+
me as Banner,
|
|
185
187
|
jo as BannerTypes,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
oe as CardPanel,
|
|
189
|
+
ue as Chart,
|
|
190
|
+
Te as ChartType,
|
|
189
191
|
or as ChartTypes,
|
|
190
|
-
|
|
192
|
+
Ce as ColumnConfigurator,
|
|
191
193
|
mr as ColumnConfiguratorTypes,
|
|
192
|
-
|
|
194
|
+
Fe as ColumnPicker,
|
|
193
195
|
er as ColumnPickerTypes,
|
|
194
|
-
|
|
196
|
+
vr as FilterDropdown,
|
|
195
197
|
Fo as FilterDropdownTypes,
|
|
196
|
-
|
|
198
|
+
Fr as FloatingToolbar,
|
|
197
199
|
lo as FloatingToolbarTypes,
|
|
198
|
-
|
|
200
|
+
Qr as FoldableSection,
|
|
199
201
|
Mo as FoldableSectionTypes,
|
|
200
|
-
|
|
202
|
+
Xr as FormCard,
|
|
201
203
|
wo as FormCardTypes,
|
|
202
|
-
|
|
204
|
+
ee as FormField,
|
|
203
205
|
ko as FormFieldTypes,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
Ur as FormRow,
|
|
207
|
+
Jr as Heading,
|
|
208
|
+
xe as HelpText,
|
|
207
209
|
Uo as HelpTextTypes,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
yo as ID_INJECTION_KEY,
|
|
211
|
+
Cr as IncludeExclude,
|
|
212
|
+
Hr as IncludeExcludeAppHeader,
|
|
213
|
+
wr as IncludeExcludeAppTrigger,
|
|
214
|
+
Pr as IncludeExcludeChipFilter,
|
|
215
|
+
Er as IncludeExcludeDragDrop,
|
|
216
|
+
hr as IncludeExcludeOption,
|
|
217
|
+
Mr as IncludeExcludeOptionDraggable,
|
|
216
218
|
$o as IncludeExcludeTypes,
|
|
217
|
-
|
|
219
|
+
ie as Link,
|
|
218
220
|
Qo as LinkTypes,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
+
Tr as Menu,
|
|
222
|
+
ur as MenuItem,
|
|
221
223
|
ao as MenuItemTypes,
|
|
222
224
|
io as MenuTypes,
|
|
223
|
-
|
|
225
|
+
zr as MultiBar,
|
|
224
226
|
ho as MultiBarTypes,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
+
Me as Tag,
|
|
228
|
+
ir as TagTypes,
|
|
229
|
+
Ee as TagsField,
|
|
230
|
+
he as TagsFieldChip,
|
|
227
231
|
ar as TagsFieldTypes,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
+
Rr as Text,
|
|
233
|
+
ye as TooltipOrder,
|
|
234
|
+
ce as TrendDirection,
|
|
235
|
+
jr as Typography,
|
|
232
236
|
Co as TypographyTypes,
|
|
233
237
|
Eo as TypographyTypesV4,
|
|
234
238
|
Z as default,
|
|
@@ -236,7 +240,7 @@ export {
|
|
|
236
240
|
No as scrollToFirstInvalidElement,
|
|
237
241
|
Ro as useDateService,
|
|
238
242
|
Vo as useFormValidation,
|
|
239
|
-
|
|
243
|
+
co as useId,
|
|
240
244
|
So as useSearch,
|
|
241
245
|
Oo as useToggle,
|
|
242
246
|
Jo as yupValidation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.2.0-test.
|
|
3
|
+
"version": "2.2.0-test.9",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -239,7 +239,8 @@
|
|
|
239
239
|
"./sortableList": "./components/sortableList/index.js",
|
|
240
240
|
"./composables/useFormValidation": "./composables/useFormValidation.js",
|
|
241
241
|
"./composables/useDateService": "./composables/useDateService.js",
|
|
242
|
-
"./utils/": "./utils/index.ts"
|
|
242
|
+
"./utils/": "./utils/index.ts",
|
|
243
|
+
"./tag": "./components/tag/index.js"
|
|
243
244
|
},
|
|
244
245
|
"typesVersions": {
|
|
245
246
|
"*": {
|
|
@@ -494,6 +495,9 @@
|
|
|
494
495
|
],
|
|
495
496
|
"composables/useDateService": [
|
|
496
497
|
"./composables/useDateService.d.ts"
|
|
498
|
+
],
|
|
499
|
+
"tag": [
|
|
500
|
+
"./components/tag/index.d.ts"
|
|
497
501
|
]
|
|
498
502
|
}
|
|
499
503
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-a5f2dd8b],.font-chart-2[data-v-a5f2dd8b],.font-chart-1[data-v-a5f2dd8b]{font-family:Inter,sans-serif;font-weight:700}.chip-input-sizer[data-v-a5f2dd8b],.chip-input[data-v-a5f2dd8b],.font-chip-label[data-v-a5f2dd8b],.font-table-label[data-v-a5f2dd8b],.font-button[data-v-a5f2dd8b],.font-heading-6[data-v-a5f2dd8b],.font-heading-5[data-v-a5f2dd8b],.font-heading-4[data-v-a5f2dd8b],.font-heading-3[data-v-a5f2dd8b],.font-heading-2[data-v-a5f2dd8b],.font-heading-1[data-v-a5f2dd8b],.font-title[data-v-a5f2dd8b]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-a5f2dd8b],.font-input-label[data-v-a5f2dd8b],.font-overline[data-v-a5f2dd8b],.font-subtitle-2[data-v-a5f2dd8b],.font-subtitle-1[data-v-a5f2dd8b]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-a5f2dd8b],.font-body-2[data-v-a5f2dd8b],.font-body-1[data-v-a5f2dd8b]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-a5f2dd8b]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-a5f2dd8b]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-a5f2dd8b]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-a5f2dd8b]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-a5f2dd8b]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-a5f2dd8b]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-a5f2dd8b]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.font-body-1[data-v-a5f2dd8b]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-a5f2dd8b]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-a5f2dd8b]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-a5f2dd8b]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-a5f2dd8b]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-a5f2dd8b]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-a5f2dd8b]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-a5f2dd8b]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-a5f2dd8b]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-a5f2dd8b]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-a5f2dd8b]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-a5f2dd8b],.font-tab-label2[data-v-a5f2dd8b]{font-size:.875rem;line-height:1rem}.chip-input-sizer[data-v-a5f2dd8b],.chip-input[data-v-a5f2dd8b],.font-chip-label[data-v-a5f2dd8b]{font-size:.75rem;line-height:1rem}h1[data-v-a5f2dd8b],h2[data-v-a5f2dd8b],h3[data-v-a5f2dd8b],h4[data-v-a5f2dd8b],h5[data-v-a5f2dd8b],h6[data-v-a5f2dd8b]{margin:0}.rounded-chip[data-v-a5f2dd8b]{border-radius:100px}.tags-field-chip--editing[data-v-a5f2dd8b]{outline:1px solid var(--outline-color)}.chip-content[data-v-a5f2dd8b]{display:flex;align-items:center;position:relative;min-width:.625rem;max-width:31.25rem}.chip-label[data-v-a5f2dd8b]{min-width:.5rem}.chip-label--hidden[data-v-a5f2dd8b]{visibility:hidden}.chip-input[data-v-a5f2dd8b]{position:static;width:auto;background:transparent;min-width:.6rem;padding:0;border:none;max-width:100%;overflow-x:auto;white-space:nowrap}.chip-input[data-v-a5f2dd8b]:focus{outline:none}.chip-input-outline[data-v-a5f2dd8b]::placeholder{color:var(--action-disabled)}.clear-button[data-v-a5f2dd8b]{margin-left:.25rem;color:var(--action-active);cursor:pointer}.clear-button[data-v-a5f2dd8b]:hover{color:var(--text-primary)}.clear-button--invalid[data-v-a5f2dd8b]{color:var(--error-dark)}.clear-button--invalid[data-v-a5f2dd8b]:hover{color:var(--error-darker)}.chip-input-sizer[data-v-a5f2dd8b]{position:absolute;visibility:hidden;height:0;white-space:pre;pointer-events:none;padding:0}
|