@ironsource/shared-ui 2.2.0-rc.42 → 2.2.0-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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
- package/components/autocomplete/index.d.ts +16 -16
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
- package/components/dropdown/common/Dropdown.common.js +351 -274
- package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
- package/components/dropdown/v3/index.d.ts +77 -77
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +237 -216
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2377 -2349
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +11 -10
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +54 -53
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +22 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +30 -21
- package/components/search/v4/SearchV4.vue.d.ts +5 -0
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +23 -18
- package/components/search/v4/index.d.ts +9 -0
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -8
- package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +28 -22
- package/components/table/v4/index.d.ts +9 -0
- package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +74 -43
- package/components/tabs/v4/index.d.ts +20 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +50 -41
- package/components/toggle/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +14 -1
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
- package/components/tooltip/v4/index.d.ts +51 -4
- package/index.d.ts +2996 -2678
- package/index.js +1 -1
- package/package.json +5 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextField.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextField.
|
|
4
|
-
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f4275491"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css"; import { defineComponent as te, computed as i, ref as le, openBlock as l, createElementBlock as s, mergeProps as d, unref as e, createBlock as f, createCommentVNode as n, createVNode as x, withCtx as v, createElementVNode as V, normalizeClass as F, renderSlot as z, createTextVNode as N, toDisplayString as $, withKeys as ae, withModifiers as D, normalizeProps as H } from "vue";
|
|
2
2
|
import h from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import R from "../../tooltip/v4/TooltipV4.vue.js";
|
|
@@ -16,16 +16,16 @@ const de = {
|
|
|
16
16
|
}, ue = ["maxlength", "value", "placeholder", "disabled", "type", "step"], fe = ["onClick"], ce = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "inline-error"
|
|
19
|
-
}, me = {
|
|
19
|
+
}, me = ["aria-label"], ye = {
|
|
20
20
|
key: 8,
|
|
21
21
|
class: "loading-indicator"
|
|
22
|
-
},
|
|
22
|
+
}, xe = {
|
|
23
23
|
key: 9,
|
|
24
24
|
class: "icon-container icon-after"
|
|
25
|
-
},
|
|
25
|
+
}, he = {
|
|
26
26
|
inheritAttrs: !1
|
|
27
|
-
},
|
|
28
|
-
...
|
|
27
|
+
}, Ae = /* @__PURE__ */ te({
|
|
28
|
+
...he,
|
|
29
29
|
__name: "TextField",
|
|
30
30
|
props: {
|
|
31
31
|
modelValue: { default: "" },
|
|
@@ -57,6 +57,7 @@ const de = {
|
|
|
57
57
|
inlineErrorText: { default: "" },
|
|
58
58
|
inlineErrorTextPlacement: { default: "top" },
|
|
59
59
|
clearable: { type: Boolean, default: !1 },
|
|
60
|
+
clearLabel: { default: "Clear input" },
|
|
60
61
|
loading: { type: Boolean, default: !1 }
|
|
61
62
|
},
|
|
62
63
|
emits: ["update:modelValue", "apply", "clear"],
|
|
@@ -93,7 +94,7 @@ const de = {
|
|
|
93
94
|
() => a.showApply || r?.confirmable && r?.withIcons && !r?.error?.value
|
|
94
95
|
), O = i(
|
|
95
96
|
() => r?.error?.value ? "error" : a.feedbackVariant
|
|
96
|
-
),
|
|
97
|
+
), b = le(!1), _ = i(() => b.value && a.type === "password" ? "text" : a.type), ee = () => {
|
|
97
98
|
p("update:modelValue", ""), p("clear");
|
|
98
99
|
};
|
|
99
100
|
return K({
|
|
@@ -119,7 +120,7 @@ const de = {
|
|
|
119
120
|
text: e(E),
|
|
120
121
|
placement: t.inlineErrorTextPlacement
|
|
121
122
|
}, e(m)[e(c).TOOLTIP_WITHOUT_ICON]), {
|
|
122
|
-
default:
|
|
123
|
+
default: v(() => [
|
|
123
124
|
V("div", {
|
|
124
125
|
class: F({
|
|
125
126
|
"input-container": !0,
|
|
@@ -135,7 +136,7 @@ const de = {
|
|
|
135
136
|
class: "prefix-text",
|
|
136
137
|
variant: "body1"
|
|
137
138
|
}, {
|
|
138
|
-
default:
|
|
139
|
+
default: v(() => [
|
|
139
140
|
N($(t.prefix), 1)
|
|
140
141
|
]),
|
|
141
142
|
_: 1
|
|
@@ -185,7 +186,7 @@ const de = {
|
|
|
185
186
|
class: "suffix-text",
|
|
186
187
|
variant: "body1"
|
|
187
188
|
}, {
|
|
188
|
-
default:
|
|
189
|
+
default: v(() => [
|
|
189
190
|
N($(t.suffix), 1)
|
|
190
191
|
]),
|
|
191
192
|
_: 1
|
|
@@ -196,7 +197,7 @@ const de = {
|
|
|
196
197
|
text: e(E),
|
|
197
198
|
placement: t.inlineErrorTextPlacement
|
|
198
199
|
}, e(m)[e(c).TOOLTIP]), {
|
|
199
|
-
default:
|
|
200
|
+
default: v(() => [
|
|
200
201
|
x(e(h), {
|
|
201
202
|
name: "warning-circle",
|
|
202
203
|
size: "16px"
|
|
@@ -209,9 +210,9 @@ const de = {
|
|
|
209
210
|
key: 6,
|
|
210
211
|
class: "password-visibility-toggle"
|
|
211
212
|
}, e(m)[e(c).TOGGLE_PASSWORD], {
|
|
212
|
-
onClick: o[5] || (o[5] = (u) =>
|
|
213
|
+
onClick: o[5] || (o[5] = (u) => b.value = !b.value)
|
|
213
214
|
}), [
|
|
214
|
-
|
|
215
|
+
b.value ? (l(), f(e(h), {
|
|
215
216
|
key: 0,
|
|
216
217
|
name: "eye",
|
|
217
218
|
size: "16px"
|
|
@@ -221,23 +222,25 @@ const de = {
|
|
|
221
222
|
size: "16px"
|
|
222
223
|
}))
|
|
223
224
|
], 16)) : n("", !0),
|
|
224
|
-
t.clearable && t.modelValue && !t.loading ? (l(), s("
|
|
225
|
+
t.clearable && t.modelValue && !t.loading ? (l(), s("button", d({
|
|
225
226
|
key: 7,
|
|
226
|
-
|
|
227
|
+
type: "button",
|
|
228
|
+
class: "clear-button",
|
|
229
|
+
"aria-label": t.clearLabel
|
|
227
230
|
}, e(m)[e(c).CLEAR_BUTTON], { onClick: ee }), [
|
|
228
231
|
x(e(h), {
|
|
229
232
|
name: "x-circle",
|
|
230
233
|
size: "16px",
|
|
231
234
|
type: "fill"
|
|
232
235
|
})
|
|
233
|
-
], 16)) : n("", !0),
|
|
234
|
-
t.loading ? (l(), s("div",
|
|
236
|
+
], 16, me)) : n("", !0),
|
|
237
|
+
t.loading ? (l(), s("div", ye, [
|
|
235
238
|
x(e(se), d({
|
|
236
239
|
"max-width": 16,
|
|
237
240
|
"stroke-width": 1
|
|
238
241
|
}, e(m)[e(c).LOADING]), null, 16)
|
|
239
242
|
])) : n("", !0),
|
|
240
|
-
y.$slots.iconAfter ? (l(), s("div",
|
|
243
|
+
y.$slots.iconAfter ? (l(), s("div", xe, [
|
|
241
244
|
z(y.$slots, "iconAfter", {}, void 0, !0)
|
|
242
245
|
])) : n("", !0)
|
|
243
246
|
], 2)
|
|
@@ -261,5 +264,5 @@ const de = {
|
|
|
261
264
|
}
|
|
262
265
|
});
|
|
263
266
|
export {
|
|
264
|
-
|
|
267
|
+
Ae as default
|
|
265
268
|
};
|
|
@@ -34,6 +34,7 @@ declare const TextFieldTypes: () => ({
|
|
|
34
34
|
showFeedbackTextIcon: boolean;
|
|
35
35
|
feedbackPositionAbsolute: boolean;
|
|
36
36
|
clearable: boolean;
|
|
37
|
+
clearLabel: string;
|
|
37
38
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
38
39
|
type: {
|
|
39
40
|
type: import("vue").PropType<"number" | "text" | "password">;
|
|
@@ -155,11 +156,15 @@ declare const TextFieldTypes: () => ({
|
|
|
155
156
|
type: import("vue").PropType<boolean>;
|
|
156
157
|
default: boolean;
|
|
157
158
|
};
|
|
159
|
+
clearLabel: {
|
|
160
|
+
type: import("vue").PropType<string>;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
158
163
|
}>> & {
|
|
159
164
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
160
165
|
onClear?: () => any;
|
|
161
166
|
onApply?: () => any;
|
|
162
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "loading" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute" | "clearable">;
|
|
167
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "loading" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute" | "clearable" | "clearLabel">;
|
|
163
168
|
$attrs: {
|
|
164
169
|
[x: string]: unknown;
|
|
165
170
|
};
|
|
@@ -294,6 +299,10 @@ declare const TextFieldTypes: () => ({
|
|
|
294
299
|
type: import("vue").PropType<boolean>;
|
|
295
300
|
default: boolean;
|
|
296
301
|
};
|
|
302
|
+
clearLabel: {
|
|
303
|
+
type: import("vue").PropType<string>;
|
|
304
|
+
default: string;
|
|
305
|
+
};
|
|
297
306
|
}>> & {
|
|
298
307
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
299
308
|
onClear?: () => any;
|
|
@@ -335,6 +344,7 @@ declare const TextFieldTypes: () => ({
|
|
|
335
344
|
showFeedbackTextIcon: boolean;
|
|
336
345
|
feedbackPositionAbsolute: boolean;
|
|
337
346
|
clearable: boolean;
|
|
347
|
+
clearLabel: string;
|
|
338
348
|
}, {}, string> & {
|
|
339
349
|
beforeCreate?: (() => void) | (() => void)[];
|
|
340
350
|
created?: (() => void) | (() => void)[];
|
|
@@ -476,6 +486,10 @@ declare const TextFieldTypes: () => ({
|
|
|
476
486
|
type: import("vue").PropType<boolean>;
|
|
477
487
|
default: boolean;
|
|
478
488
|
};
|
|
489
|
+
clearLabel: {
|
|
490
|
+
type: import("vue").PropType<string>;
|
|
491
|
+
default: string;
|
|
492
|
+
};
|
|
479
493
|
}>> & {
|
|
480
494
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
481
495
|
onClear?: () => any;
|
|
@@ -607,6 +621,10 @@ declare const TextFieldTypes: () => ({
|
|
|
607
621
|
type: import("vue").PropType<boolean>;
|
|
608
622
|
default: boolean;
|
|
609
623
|
};
|
|
624
|
+
clearLabel: {
|
|
625
|
+
type: import("vue").PropType<string>;
|
|
626
|
+
default: string;
|
|
627
|
+
};
|
|
610
628
|
}>> & {
|
|
611
629
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
612
630
|
onClear?: () => any;
|
|
@@ -648,6 +666,7 @@ declare const TextFieldTypes: () => ({
|
|
|
648
666
|
showFeedbackTextIcon: boolean;
|
|
649
667
|
feedbackPositionAbsolute: boolean;
|
|
650
668
|
clearable: boolean;
|
|
669
|
+
clearLabel: string;
|
|
651
670
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
652
671
|
$slots: {
|
|
653
672
|
iconBefore?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../Link.
|
|
4
|
-
const
|
|
1
|
+
import o from "./Link.vue2.js";
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c4345b08"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../Link.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "../../Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css"; import { defineComponent as k, openBlock as l, createBlock as d, unref as t, mergeProps as r, withKeys as s, withModifiers as u, withCtx as b, createCommentVNode as f, renderSlot as h } from "vue";
|
|
2
|
+
import v from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import m from "../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
-
import { useTestIdAttrs as
|
|
6
|
-
import { LinkTestIdModifiers as
|
|
7
|
-
const
|
|
5
|
+
import { useTestIdAttrs as w } from "../../utils/testIds.js";
|
|
6
|
+
import { LinkTestIdModifiers as n } from "../../testids/index.js";
|
|
7
|
+
const B = /* @__PURE__ */ k({
|
|
8
8
|
__name: "Link",
|
|
9
9
|
props: {
|
|
10
10
|
href: { default: null },
|
|
@@ -21,45 +21,54 @@ const w = /* @__PURE__ */ m({
|
|
|
21
21
|
navigateToPage: { type: Function, default: null }
|
|
22
22
|
},
|
|
23
23
|
emits: ["click"],
|
|
24
|
-
setup(e, { emit:
|
|
25
|
-
const i = e,
|
|
24
|
+
setup(e, { emit: y }) {
|
|
25
|
+
const i = e, a = () => {
|
|
26
26
|
if (!i.disabled) {
|
|
27
27
|
{
|
|
28
28
|
if (i.navigateToPage)
|
|
29
29
|
return i.navigateToPage();
|
|
30
30
|
i.href && window.open(i.href);
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
y("click");
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
return (
|
|
34
|
+
}, o = w(i.testId, n);
|
|
35
|
+
return (T, c) => (l(), d(t(v), r({
|
|
36
36
|
class: ["link", [`link--${e.color}`, { "link--disabled": e.disabled }]],
|
|
37
37
|
variant: e.variant,
|
|
38
38
|
"is-truncated": e.isTruncated,
|
|
39
39
|
"with-tooltip": e.withTooltip,
|
|
40
|
-
"tooltip-text": e.tooltipText
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
"tooltip-text": e.tooltipText,
|
|
41
|
+
role: e.href ? "link" : "button",
|
|
42
|
+
tabindex: e.disabled ? -1 : 0,
|
|
43
|
+
"aria-disabled": e.disabled || void 0
|
|
44
|
+
}, t(o)[t(n).WRAPPER], {
|
|
45
|
+
onClick: a,
|
|
46
|
+
onKeydown: [
|
|
47
|
+
s(u(a, ["prevent"]), ["enter"]),
|
|
48
|
+
c[0] || (c[0] = s(u((x) => !e.href && a(), ["prevent"]), ["space"]))
|
|
49
|
+
]
|
|
50
|
+
}), {
|
|
51
|
+
default: b(() => [
|
|
52
|
+
e.iconName && e.iconPosition === "start" ? (l(), d(t(m), r({
|
|
44
53
|
key: 0,
|
|
45
54
|
name: e.iconName,
|
|
46
55
|
type: e.iconType,
|
|
47
56
|
size: "16px",
|
|
48
57
|
class: "icon"
|
|
49
|
-
}, t(
|
|
50
|
-
T
|
|
51
|
-
e.iconName && e.iconPosition === "end" ? (
|
|
58
|
+
}, t(o)[t(n).ICON]), null, 16, ["name", "type"])) : f("", !0),
|
|
59
|
+
h(T.$slots, "default", {}, void 0, !0),
|
|
60
|
+
e.iconName && e.iconPosition === "end" ? (l(), d(t(m), r({
|
|
52
61
|
key: 1,
|
|
53
62
|
name: e.iconName,
|
|
54
63
|
type: e.iconType,
|
|
55
64
|
size: "16px",
|
|
56
65
|
class: "icon"
|
|
57
|
-
}, t(
|
|
66
|
+
}, t(o)[t(n).ICON]), null, 16, ["name", "type"])) : f("", !0)
|
|
58
67
|
]),
|
|
59
68
|
_: 3
|
|
60
|
-
}, 16, ["class", "variant", "is-truncated", "with-tooltip", "tooltip-text"]));
|
|
69
|
+
}, 16, ["class", "variant", "is-truncated", "with-tooltip", "tooltip-text", "role", "tabindex", "aria-disabled", "onKeydown"]));
|
|
61
70
|
}
|
|
62
71
|
});
|
|
63
72
|
export {
|
|
64
|
-
|
|
73
|
+
B as default
|
|
65
74
|
};
|
|
@@ -4,11 +4,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
testId?: string;
|
|
6
6
|
autoFocus?: boolean;
|
|
7
|
+
clearLabel?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
testId: string;
|
|
10
11
|
autoFocus: boolean;
|
|
11
12
|
placeholder: string;
|
|
13
|
+
clearLabel: string;
|
|
12
14
|
}>, {
|
|
13
15
|
inputRef: import("vue").Ref<any>;
|
|
14
16
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -20,11 +22,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
22
|
disabled?: boolean;
|
|
21
23
|
testId?: string;
|
|
22
24
|
autoFocus?: boolean;
|
|
25
|
+
clearLabel?: string;
|
|
23
26
|
}>, {
|
|
24
27
|
disabled: boolean;
|
|
25
28
|
testId: string;
|
|
26
29
|
autoFocus: boolean;
|
|
27
30
|
placeholder: string;
|
|
31
|
+
clearLabel: string;
|
|
28
32
|
}>>> & {
|
|
29
33
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
30
34
|
onOnClear?: () => any;
|
|
@@ -33,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
37
|
disabled: boolean;
|
|
34
38
|
placeholder: string;
|
|
35
39
|
autoFocus: boolean;
|
|
40
|
+
clearLabel: string;
|
|
36
41
|
}>;
|
|
37
42
|
export default _default;
|
|
38
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SearchV4.
|
|
4
|
-
const
|
|
1
|
+
import e from "./SearchV4.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-e1a33934"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import "../../../SearchV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css"; import { defineComponent as p, openBlock as h, createElementBlock as b, mergeProps as u, unref as e, createVNode as o, withCtx as V, withDirectives as x, createElementVNode as C, vShow as I } from "vue";
|
|
2
|
+
import m from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import { SearchTestIdModifiers as r } from "../../../testids/index.js";
|
|
5
|
-
import { searchCommon as
|
|
6
|
-
import
|
|
5
|
+
import { searchCommon as y } from "../common/Search.common.js";
|
|
6
|
+
import v from "../../input/v4/TextField.vue.js";
|
|
7
7
|
import { useTestIdAttrs as B } from "../../../utils/testIds.js";
|
|
8
|
-
const
|
|
8
|
+
const g = ["aria-label"], F = /* @__PURE__ */ p({
|
|
9
9
|
__name: "SearchV4",
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: null,
|
|
12
12
|
placeholder: { default: "Search" },
|
|
13
13
|
disabled: { type: Boolean, default: !1 },
|
|
14
14
|
testId: { default: "" },
|
|
15
|
-
autoFocus: { type: Boolean, default: !1 }
|
|
15
|
+
autoFocus: { type: Boolean, default: !1 },
|
|
16
|
+
clearLabel: { default: "Clear search" }
|
|
16
17
|
},
|
|
17
18
|
emits: ["update:modelValue", "onClear"],
|
|
18
19
|
setup(t, { expose: f, emit: d }) {
|
|
19
|
-
const s = t, { inputRef: i, clearValue: n } =
|
|
20
|
+
const s = t, { inputRef: i, clearValue: n } = y(s, d), c = B(s.testId, r);
|
|
20
21
|
return f({
|
|
21
22
|
inputRef: i
|
|
22
|
-
}), (
|
|
23
|
-
|
|
23
|
+
}), (k, a) => (h(), b("div", u({ class: "search-container" }, e(c)[e(r).CONTAINER]), [
|
|
24
|
+
o(e(v), {
|
|
24
25
|
ref_key: "inputRef",
|
|
25
26
|
ref: i,
|
|
26
27
|
"model-value": t.modelValue,
|
|
@@ -29,31 +30,35 @@ const T = /* @__PURE__ */ p({
|
|
|
29
30
|
placeholder: t.placeholder,
|
|
30
31
|
disabled: t.disabled,
|
|
31
32
|
"test-id": t.testId,
|
|
32
|
-
"onUpdate:modelValue":
|
|
33
|
+
"onUpdate:modelValue": a[0] || (a[0] = (l) => d("update:modelValue", l))
|
|
33
34
|
}, {
|
|
34
|
-
iconBefore:
|
|
35
|
-
|
|
35
|
+
iconBefore: V(() => [
|
|
36
|
+
o(e(m), {
|
|
36
37
|
name: "magnifying-glass",
|
|
37
38
|
size: "16px"
|
|
38
39
|
})
|
|
39
40
|
]),
|
|
40
41
|
_: 1
|
|
41
42
|
}, 8, ["model-value", "auto-focus", "placeholder", "disabled", "test-id"]),
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
x(C("button", u({
|
|
44
|
+
type: "button",
|
|
45
|
+
class: "x-circle-wrapper",
|
|
46
|
+
"aria-label": t.clearLabel
|
|
47
|
+
}, e(c)[e(r).CLEAR], {
|
|
48
|
+
onClick: a[1] || (a[1] = //@ts-ignore
|
|
44
49
|
(...l) => e(n) && e(n)(...l))
|
|
45
50
|
}), [
|
|
46
|
-
|
|
51
|
+
o(e(m), {
|
|
47
52
|
name: "x-circle",
|
|
48
53
|
size: "16px",
|
|
49
54
|
type: "fill"
|
|
50
55
|
})
|
|
51
|
-
], 16), [
|
|
52
|
-
[
|
|
56
|
+
], 16, g), [
|
|
57
|
+
[I, !!t.modelValue]
|
|
53
58
|
])
|
|
54
59
|
], 16));
|
|
55
60
|
}
|
|
56
61
|
});
|
|
57
62
|
export {
|
|
58
|
-
|
|
63
|
+
F as default
|
|
59
64
|
};
|
|
@@ -19,6 +19,10 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
clearLabel: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
22
26
|
}, {
|
|
23
27
|
inputRef: import("vue").Ref<any>;
|
|
24
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -45,6 +49,10 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
45
49
|
type: import("vue").PropType<boolean>;
|
|
46
50
|
default: boolean;
|
|
47
51
|
};
|
|
52
|
+
clearLabel: {
|
|
53
|
+
type: import("vue").PropType<string>;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
48
56
|
}>> & {
|
|
49
57
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
50
58
|
onOnClear?: () => any;
|
|
@@ -53,6 +61,7 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
|
|
|
53
61
|
disabled: boolean;
|
|
54
62
|
placeholder: string;
|
|
55
63
|
autoFocus: boolean;
|
|
64
|
+
clearLabel: string;
|
|
56
65
|
}>[];
|
|
57
66
|
export { default as Search } from './SearchV4.vue';
|
|
58
67
|
export { SearchTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./FieldLabel.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FieldLabel.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-960ea8b1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../FieldLabel.
|
|
1
|
+
import "../../FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css"; import { defineComponent as I, useSlots as y, computed as s, openBlock as i, createElementBlock as p, Fragment as k, createElementVNode as N, mergeProps as n, unref as e, createVNode as c, withCtx as l, createTextVNode as d, toDisplayString as T, createBlock as h, createCommentVNode as m, createSlots as C, normalizeClass as A, renderSlot as B } from "vue";
|
|
2
2
|
import H from "../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../icon/v4/IconFlag.vue.js";
|
|
4
4
|
import S from "../tooltip/v4/TooltipV4.vue.js";
|
|
@@ -33,12 +33,12 @@ const L = {
|
|
|
33
33
|
"field-label--with-description": !!t.description
|
|
34
34
|
}]
|
|
35
35
|
}, e(a)[e(o).CONTAINER]), [
|
|
36
|
-
|
|
36
|
+
c(e(f), n({
|
|
37
37
|
class: "label",
|
|
38
38
|
variant: "inputLabel"
|
|
39
39
|
}, e(a)[e(o).TEXT]), {
|
|
40
40
|
default: l(() => [
|
|
41
|
-
|
|
41
|
+
d(T(t.label), 1)
|
|
42
42
|
]),
|
|
43
43
|
_: 1
|
|
44
44
|
}, 16),
|
|
@@ -48,7 +48,7 @@ const L = {
|
|
|
48
48
|
class: "mandatory"
|
|
49
49
|
}, e(a)[e(o).MANDATORY]), {
|
|
50
50
|
default: l(() => [
|
|
51
|
-
|
|
51
|
+
d("*")
|
|
52
52
|
]),
|
|
53
53
|
_: 1
|
|
54
54
|
}, 16)) : m("", !0),
|
|
@@ -56,10 +56,11 @@ const L = {
|
|
|
56
56
|
key: 1,
|
|
57
57
|
triggers: t.helpTextIconTooltipTrigger,
|
|
58
58
|
text: t.hoverHelpText,
|
|
59
|
-
placement: t.hoverHelpTextPlacement
|
|
59
|
+
placement: t.hoverHelpTextPlacement,
|
|
60
|
+
focusable: ""
|
|
60
61
|
}, e(a)[e(o).TOOLTIP], { "test-id": t.testId }), C({
|
|
61
62
|
default: l(() => [
|
|
62
|
-
|
|
63
|
+
c(e(H), {
|
|
63
64
|
class: A(["info-icon", { "clickable-icon": e(g) }]),
|
|
64
65
|
name: "question",
|
|
65
66
|
size: "16px"
|
|
@@ -77,9 +78,9 @@ const L = {
|
|
|
77
78
|
]), 1040, ["triggers", "text", "placement", "test-id"])) : m("", !0)
|
|
78
79
|
], 16),
|
|
79
80
|
t.description ? (i(), p("div", L, [
|
|
80
|
-
|
|
81
|
+
c(e(f), { variant: "body2" }, {
|
|
81
82
|
default: l(() => [
|
|
82
|
-
|
|
83
|
+
d(T(t.description), 1)
|
|
83
84
|
]),
|
|
84
85
|
_: 1
|
|
85
86
|
})
|
|
@@ -4,24 +4,29 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
menuItems: MenuItem[];
|
|
5
5
|
rowIndex?: number;
|
|
6
6
|
placement?: Placement;
|
|
7
|
+
ariaLabel?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
menuItems: () => any[];
|
|
9
10
|
rowIndex: any;
|
|
10
11
|
placement: string;
|
|
12
|
+
ariaLabel: string;
|
|
11
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
14
|
selected: (option: unknown) => void;
|
|
13
15
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
16
|
menuItems: MenuItem[];
|
|
15
17
|
rowIndex?: number;
|
|
16
18
|
placement?: Placement;
|
|
19
|
+
ariaLabel?: string;
|
|
17
20
|
}>, {
|
|
18
21
|
menuItems: () => any[];
|
|
19
22
|
rowIndex: any;
|
|
20
23
|
placement: string;
|
|
24
|
+
ariaLabel: string;
|
|
21
25
|
}>>> & {
|
|
22
26
|
onSelected?: (option: unknown) => any;
|
|
23
27
|
}, {
|
|
24
28
|
placement: Placement;
|
|
29
|
+
ariaLabel: string;
|
|
25
30
|
rowIndex: number;
|
|
26
31
|
menuItems: MenuItem[];
|
|
27
32
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGridMenu.
|
|
4
|
-
const
|
|
1
|
+
import e from "./DataGridMenu.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-b7e65177"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|