@ironsource/shared-ui 2.2.0-rc.43 → 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/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- 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/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_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/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- 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/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -1
- 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/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_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/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- 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/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +1 -2
- package/components/ThemeWrapper/ThemeStrore.js +11 -14
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +11 -8
- package/components/ThemeWrapper/index.d.ts +1 -2
- package/components/ThemeWrapper/index.js +2 -4
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +1 -1
- package/components/autocomplete/index.d.ts +16 -16
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- 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 +6 -6
- package/components/dropdown/v3/index.d.ts +88 -88
- 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 +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +239 -224
- 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/loader/v4/Loader.vue.js +3 -3
- package/components/loader/v4/Loader.vue2.js +1 -1
- package/components/menu/Menu.vue.js +3 -3
- package/components/menu/Menu.vue2.js +30 -33
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +50 -51
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +21 -22
- 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/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- 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/v3/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/v3/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +15 -2
- 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 +70 -23
- package/design-foundation.stories/colors/ColorsData.d.ts +0 -114
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +1 -28
- package/index.d.ts +3013 -2696
- package/index.js +1 -1
- package/package.json +5 -1
- package/style/v4/border-radius.scss +2 -2
- package/style/v4/colors.scss +0 -105
- package/style/v4/elevations.scss +0 -11
- package/style/v4/grid.css +1 -17
- package/style/v4/grid.css.map +1 -1
- package/style/v4/grid.scss +1 -1
- package/style/v4/spacings.scss +1 -1
- package/style/v4/styleguideV4.scss +0 -1
- package/styleguide.scss +2 -2
- package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_73af6757_lang.css +0 -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/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_5545bc01_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_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/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_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/ThemeWrapper.vue_vue_type_style_index_0_scoped_8eef6574_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_f88fbece_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
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Loader.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../Loader.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-50d9be64"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../Loader.
|
|
1
|
+
import "../../../Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css"; import { defineComponent as v, ref as l, onMounted as m, openBlock as u, createElementBlock as h, createElementVNode as g, renderSlot as x, normalizeStyle as p } from "vue";
|
|
2
2
|
const W = { style: { visibility: "hidden" } }, O = ["width", "height"], _ = ["r"], y = /* @__PURE__ */ v({
|
|
3
3
|
__name: "Loader",
|
|
4
4
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import e from "./Menu.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../Menu.
|
|
3
|
+
// import "../../Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css"; //*');
|
|
4
4
|
// import "../../Menu.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const
|
|
5
|
+
const l = /* @__PURE__ */ o(e, [["__scopeId", "data-v-eb057818"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
l as default
|
|
8
8
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import "../../Menu.
|
|
2
|
-
import { Dropdown as
|
|
3
|
-
import { onClickOutside as
|
|
4
|
-
import { useToggle as
|
|
5
|
-
|
|
6
|
-
const z = /* @__PURE__ */ C({
|
|
1
|
+
import "../../Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css"; import "../../Menu.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, ref as s, computed as u, openBlock as v, createBlock as h, unref as t, withCtx as a, createElementVNode as l, renderSlot as f } from "vue";
|
|
2
|
+
import { Dropdown as C } from "floating-vue";
|
|
3
|
+
import { onClickOutside as w } from "@vueuse/core";
|
|
4
|
+
import { useToggle as B } from "../../composables/useToggle.js";
|
|
5
|
+
const $ = /* @__PURE__ */ k({
|
|
7
6
|
__name: "Menu",
|
|
8
7
|
props: {
|
|
9
8
|
isOnTop: { type: Boolean, default: !0 },
|
|
@@ -13,53 +12,51 @@ const z = /* @__PURE__ */ C({
|
|
|
13
12
|
container: { default: "body" },
|
|
14
13
|
testId: { default: "" }
|
|
15
14
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const {
|
|
18
|
-
(
|
|
19
|
-
), p = r(() => `${a.value}-theme-v4`), [g, s] = y({ initialValue: !1 }), d = l(), n = l(), h = r(() => n.value?.getBoundingClientRect()), k = r(() => {
|
|
20
|
-
if (!d.value || !n.value)
|
|
15
|
+
setup(e) {
|
|
16
|
+
const [c, d] = B({ initialValue: !1 }), r = s(), n = s(), p = u(() => n.value?.getBoundingClientRect()), g = u(() => {
|
|
17
|
+
if (!r.value || !n.value)
|
|
21
18
|
return;
|
|
22
19
|
const { width: o } = n.value.getBoundingClientRect();
|
|
23
20
|
return -o;
|
|
24
21
|
});
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
}), (o, i) => (
|
|
22
|
+
return w(r, () => {
|
|
23
|
+
d(!1);
|
|
24
|
+
}), (o, i) => (v(), h(t(C), {
|
|
28
25
|
class: "menu",
|
|
29
|
-
theme:
|
|
26
|
+
theme: "is-menu",
|
|
30
27
|
triggers: [],
|
|
31
|
-
shown:
|
|
28
|
+
shown: t(c),
|
|
32
29
|
placement: "auto-start",
|
|
33
|
-
container:
|
|
30
|
+
container: e.container,
|
|
34
31
|
flip: "",
|
|
35
|
-
distance:
|
|
36
|
-
skidding:
|
|
32
|
+
distance: e.isOnTop ? t(g) : e.distance,
|
|
33
|
+
skidding: e.isOnTop ? -t(p)?.height / 2 : e.distance,
|
|
37
34
|
"auto-hide": !1,
|
|
38
|
-
"test-id":
|
|
35
|
+
"test-id": e.testId
|
|
39
36
|
}, {
|
|
40
|
-
popper:
|
|
41
|
-
|
|
37
|
+
popper: a(() => [
|
|
38
|
+
l("div", {
|
|
42
39
|
ref_key: "popup",
|
|
43
|
-
ref:
|
|
44
|
-
class:
|
|
45
|
-
onClick: i[1] || (i[1] = (
|
|
40
|
+
ref: r,
|
|
41
|
+
class: "menu-popup",
|
|
42
|
+
onClick: i[1] || (i[1] = (m) => t(d)(!1))
|
|
46
43
|
}, [
|
|
47
|
-
|
|
48
|
-
],
|
|
44
|
+
f(o.$slots, "default", {}, void 0, !0)
|
|
45
|
+
], 512)
|
|
49
46
|
]),
|
|
50
|
-
default:
|
|
51
|
-
|
|
47
|
+
default: a(() => [
|
|
48
|
+
l("div", {
|
|
52
49
|
ref_key: "triggerRef",
|
|
53
50
|
ref: n,
|
|
54
|
-
onClick: i[0] || (i[0] = (
|
|
51
|
+
onClick: i[0] || (i[0] = (m) => t(d)())
|
|
55
52
|
}, [
|
|
56
|
-
|
|
53
|
+
f(o.$slots, "trigger", {}, void 0, !0)
|
|
57
54
|
], 512)
|
|
58
55
|
]),
|
|
59
56
|
_: 3
|
|
60
|
-
}, 8, ["
|
|
57
|
+
}, 8, ["shown", "container", "distance", "skidding", "test-id"]));
|
|
61
58
|
}
|
|
62
59
|
});
|
|
63
60
|
export {
|
|
64
|
-
|
|
61
|
+
$ as default
|
|
65
62
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./MultiBar.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../MultiBar.
|
|
4
|
-
const
|
|
3
|
+
// import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ _(o, [["__scopeId", "data-v-c4395fb6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import "../../MultiBar.
|
|
2
|
-
import { useVModel as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import O from "../button/v4/IconButtonV4.vue.js";
|
|
1
|
+
import "../../MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css"; import { defineComponent as k, computed as v, openBlock as l, createBlock as d, Teleport as x, createVNode as u, Transition as g, withCtx as c, unref as t, createElementBlock as r, mergeProps as B, createElementVNode as V, createTextVNode as h, toDisplayString as A, createCommentVNode as m, Fragment as z, renderList as M, normalizeClass as N } from "vue";
|
|
2
|
+
import { useVModel as $ } from "@vueuse/core";
|
|
3
|
+
import E from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import S from "../button/v4/ButtonV4.vue.js";
|
|
5
|
+
import P from "../button/v4/IconButtonV4.vue.js";
|
|
7
6
|
import "../button/v4/ButtonGroup.vue.js";
|
|
8
7
|
import "../button/v4/ToggleButtonGroupAB.vue.js";
|
|
9
|
-
import
|
|
10
|
-
import { useTestIdAttrs as
|
|
11
|
-
import { MultiBarTestIdModifiers as
|
|
12
|
-
const
|
|
8
|
+
import w from "./MultiBarMenu.vue.js";
|
|
9
|
+
import { useTestIdAttrs as L } from "../../utils/testIds.js";
|
|
10
|
+
import { MultiBarTestIdModifiers as n } from "../../testids/index.js";
|
|
11
|
+
const O = { class: "multi-bar-panel" }, R = {
|
|
13
12
|
key: 0,
|
|
14
13
|
class: "count-text"
|
|
15
|
-
},
|
|
14
|
+
}, D = {
|
|
16
15
|
inheritAttrs: !1
|
|
17
|
-
},
|
|
18
|
-
...
|
|
16
|
+
}, Z = /* @__PURE__ */ k({
|
|
17
|
+
...D,
|
|
19
18
|
__name: "MultiBar",
|
|
20
19
|
props: {
|
|
21
20
|
modelValue: { type: Boolean },
|
|
@@ -29,26 +28,26 @@ const F = { class: "multi-bar-panel" }, U = {
|
|
|
29
28
|
zIndex: { default: 1e3 }
|
|
30
29
|
},
|
|
31
30
|
emits: ["update:modelValue", "close", "action"],
|
|
32
|
-
setup(o, { emit:
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
() =>
|
|
39
|
-
),
|
|
40
|
-
() =>
|
|
41
|
-
),
|
|
42
|
-
return (a,
|
|
31
|
+
setup(o, { emit: s }) {
|
|
32
|
+
const e = o, f = $(e, "modelValue", s), I = () => {
|
|
33
|
+
f.value = !1, s("close");
|
|
34
|
+
}, b = (a) => {
|
|
35
|
+
s("action", a);
|
|
36
|
+
}, p = v(
|
|
37
|
+
() => e.actions.length > e.visibleActionsCount ? e.actions.slice(0, e.visibleActionsCount) : e.actions
|
|
38
|
+
), C = v(
|
|
39
|
+
() => e.actions.length > e.visibleActionsCount ? e.actions.slice(e.visibleActionsCount) : []
|
|
40
|
+
), y = L(e.testId, n);
|
|
41
|
+
return (a, F) => (l(), d(x, {
|
|
43
42
|
to: "body",
|
|
44
43
|
disabled: !o.appendToBody
|
|
45
44
|
}, [
|
|
46
|
-
|
|
47
|
-
default:
|
|
48
|
-
|
|
45
|
+
u(g, { name: "multi-bar" }, {
|
|
46
|
+
default: c(() => [
|
|
47
|
+
t(f) ? (l(), r("div", B({
|
|
49
48
|
key: 0,
|
|
50
49
|
class: ["multi-bar", {
|
|
51
|
-
|
|
50
|
+
"light-theme-v4": !0,
|
|
52
51
|
"multi-bar--fixed": o.appendToBody,
|
|
53
52
|
"multi-bar--absolute": !o.appendToBody,
|
|
54
53
|
"multi-bar--small": o.size === "small",
|
|
@@ -56,45 +55,45 @@ const F = { class: "multi-bar-panel" }, U = {
|
|
|
56
55
|
"multi-bar--left": o.position === "left"
|
|
57
56
|
}],
|
|
58
57
|
style: { zIndex: o.zIndex }
|
|
59
|
-
}, { ...a.$attrs, ...
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
}, { ...a.$attrs, ...t(y)[t(n).WRAPPER] }), [
|
|
59
|
+
V("div", O, [
|
|
60
|
+
u(t(P), B({
|
|
62
61
|
"icon-name": "x",
|
|
63
62
|
class: "close-icon"
|
|
64
|
-
},
|
|
65
|
-
o.selectedCount ? (
|
|
66
|
-
|
|
67
|
-
default:
|
|
68
|
-
|
|
63
|
+
}, t(y)[t(n).CLOSE_BTN], { onClick: I }), null, 16),
|
|
64
|
+
o.selectedCount ? (l(), r("div", R, [
|
|
65
|
+
u(t(E), { variant: "body1" }, {
|
|
66
|
+
default: c(() => [
|
|
67
|
+
h(A(o.selectedCount) + " selected ", 1)
|
|
69
68
|
]),
|
|
70
69
|
_: 1
|
|
71
70
|
})
|
|
72
|
-
])) :
|
|
73
|
-
(
|
|
71
|
+
])) : m("", !0),
|
|
72
|
+
(l(!0), r(z, null, M(t(p), (i, T) => (l(), d(t(S), {
|
|
74
73
|
key: i.id,
|
|
75
|
-
class:
|
|
76
|
-
"action-button--last":
|
|
74
|
+
class: N(["action-button", {
|
|
75
|
+
"action-button--last": T === t(p).length - 1
|
|
77
76
|
}]),
|
|
78
77
|
variant: "text",
|
|
79
78
|
color: "default",
|
|
80
79
|
"start-icon-name": i.icon,
|
|
81
|
-
"data-testid": `${
|
|
80
|
+
"data-testid": `${e.testId}-${t(n).ACTION}-${i.id}`,
|
|
82
81
|
disabled: i.disabled,
|
|
83
|
-
onClick: (
|
|
82
|
+
onClick: (U) => b(i)
|
|
84
83
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
84
|
+
default: c(() => [
|
|
85
|
+
h(A(i.title), 1)
|
|
87
86
|
]),
|
|
88
87
|
_: 2
|
|
89
88
|
}, 1032, ["class", "start-icon-name", "data-testid", "disabled", "onClick"]))), 128)),
|
|
90
|
-
|
|
89
|
+
t(C).length ? (l(), d(w, {
|
|
91
90
|
key: 1,
|
|
92
|
-
"menu-items":
|
|
93
|
-
"test-id": `${
|
|
94
|
-
onSelected:
|
|
95
|
-
}, null, 8, ["menu-items", "test-id"])) :
|
|
91
|
+
"menu-items": t(C),
|
|
92
|
+
"test-id": `${e.testId}-${t(n).MENU}`,
|
|
93
|
+
onSelected: b
|
|
94
|
+
}, null, 8, ["menu-items", "test-id"])) : m("", !0)
|
|
96
95
|
])
|
|
97
|
-
], 16)) :
|
|
96
|
+
], 16)) : m("", !0)
|
|
98
97
|
]),
|
|
99
98
|
_: 1
|
|
100
99
|
})
|
|
@@ -102,5 +101,5 @@ const F = { class: "multi-bar-panel" }, U = {
|
|
|
102
101
|
}
|
|
103
102
|
});
|
|
104
103
|
export {
|
|
105
|
-
|
|
104
|
+
Z as default
|
|
106
105
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./PopoverV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../PopoverV4.
|
|
3
|
+
// import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css"; //*');
|
|
4
4
|
// import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9ae00876"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|