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