@ironsource/shared-ui 2.2.0-test.8 → 2.2.0-test.89
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/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css +1 -0
- package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +17 -15
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/composables/useChartHeight.js +16 -15
- package/components/chart/index.d.ts +20 -1
- package/components/chart/types.d.ts +1 -0
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -0
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +13 -12
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +5 -5
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +11 -9
- package/components/popover/v4/index.d.ts +41 -1
- package/components/tag/Tag.vue.d.ts +131 -0
- package/components/tag/Tag.vue.js +7 -0
- package/components/tag/Tag.vue2.js +295 -0
- package/components/tag/index.d.ts +192 -0
- package/components/tag/index.js +6 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +0 -43
- package/components/tagsField/TagsFieldChip.vue.js +3 -3
- package/components/tagsField/TagsFieldChip.vue2.js +54 -102
- package/components/tagsField/index.d.ts +0 -74
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +157 -38
- package/index.js +84 -80
- package/package.json +6 -2
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_fabe8ff0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
|
@@ -11,7 +11,7 @@ declare const DateRangeTypes: () => ({
|
|
|
11
11
|
dateFormat: string;
|
|
12
12
|
types: ("date" | "week" | "month")[];
|
|
13
13
|
maxDaysInRange: number;
|
|
14
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
14
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12";
|
|
15
15
|
regex: RegExp;
|
|
16
16
|
initialType: "date" | "week" | "month";
|
|
17
17
|
openOnTop: boolean;
|
|
@@ -59,7 +59,7 @@ declare const DateRangeTypes: () => ({
|
|
|
59
59
|
default: any;
|
|
60
60
|
};
|
|
61
61
|
datePresetList: {
|
|
62
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
62
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12">;
|
|
63
63
|
default: string;
|
|
64
64
|
};
|
|
65
65
|
regex: {
|
|
@@ -151,7 +151,7 @@ declare const DateRangeTypes: () => ({
|
|
|
151
151
|
default: any;
|
|
152
152
|
};
|
|
153
153
|
datePresetList: {
|
|
154
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
154
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12">;
|
|
155
155
|
default: string;
|
|
156
156
|
};
|
|
157
157
|
regex: {
|
|
@@ -204,7 +204,7 @@ declare const DateRangeTypes: () => ({
|
|
|
204
204
|
dateFormat: string;
|
|
205
205
|
types: ("date" | "week" | "month")[];
|
|
206
206
|
maxDaysInRange: number;
|
|
207
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
207
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12";
|
|
208
208
|
regex: RegExp;
|
|
209
209
|
initialType: "date" | "week" | "month";
|
|
210
210
|
openOnTop: boolean;
|
|
@@ -272,7 +272,7 @@ declare const DateRangeTypes: () => ({
|
|
|
272
272
|
default: any;
|
|
273
273
|
};
|
|
274
274
|
datePresetList: {
|
|
275
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
275
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12">;
|
|
276
276
|
default: string;
|
|
277
277
|
};
|
|
278
278
|
regex: {
|
|
@@ -354,7 +354,7 @@ declare const DateRangeTypes: () => ({
|
|
|
354
354
|
default: any;
|
|
355
355
|
};
|
|
356
356
|
datePresetList: {
|
|
357
|
-
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12">;
|
|
357
|
+
type: import("vue").PropType<"date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12">;
|
|
358
358
|
default: string;
|
|
359
359
|
};
|
|
360
360
|
regex: {
|
|
@@ -407,7 +407,7 @@ declare const DateRangeTypes: () => ({
|
|
|
407
407
|
dateFormat: string;
|
|
408
408
|
types: ("date" | "week" | "month")[];
|
|
409
409
|
maxDaysInRange: number;
|
|
410
|
-
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "month-3-6-9-12";
|
|
410
|
+
datePresetList: "date" | "week" | "month" | "date1-7-14-30-90" | "date7-14-30-60-90" | "date7-14-31-60-90" | "dateWithoutToday" | "dateWithoutLastMonth" | "dateWithLastMonth" | "month-3-6-9-12";
|
|
411
411
|
regex: RegExp;
|
|
412
412
|
initialType: "date" | "week" | "month";
|
|
413
413
|
openOnTop: boolean;
|
|
@@ -58,8 +58,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
58
|
withTooltip: boolean;
|
|
59
59
|
tooltipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
60
60
|
disabled: boolean;
|
|
61
|
-
size: "small" | "medium";
|
|
62
61
|
maxWidth: number;
|
|
62
|
+
size: "small" | "medium";
|
|
63
63
|
open: boolean;
|
|
64
64
|
startIconName: string;
|
|
65
65
|
startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-771e1980"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import D from "../../typography/Text.vue.js";
|
|
4
4
|
import q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -6,7 +6,7 @@ import y from "../../icon/v4/IconV4.vue.js";
|
|
|
6
6
|
import G from "../../icon/v4/IconFlag.vue.js";
|
|
7
7
|
import { NOOP as $ } from "@vue/shared";
|
|
8
8
|
import { optionCommon as H } from "../common/Option.common.js";
|
|
9
|
-
import
|
|
9
|
+
import x from "../../typography/v4/Typography.vue.js";
|
|
10
10
|
import h from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
11
|
import { isElementTruncated as J } from "../../../utils/text.js";
|
|
12
12
|
import { promiseTimeout as Q } from "@vueuse/core";
|
|
@@ -71,11 +71,11 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
71
71
|
setup(e, { emit: M }) {
|
|
72
72
|
const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
|
|
73
73
|
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
|
|
74
|
-
},
|
|
74
|
+
}, p = I(null), w = I(!1), A = (t) => {
|
|
75
75
|
d.disabled && (t.stopPropagation(), $());
|
|
76
76
|
};
|
|
77
|
-
F([() => d.treeChildShown,
|
|
78
|
-
await Q(100), w.value =
|
|
77
|
+
F([() => d.treeChildShown, p], async () => {
|
|
78
|
+
await Q(100), w.value = p.value && J(p.value);
|
|
79
79
|
});
|
|
80
80
|
const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
|
|
81
81
|
const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
|
|
@@ -97,7 +97,8 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
97
97
|
"item-container--disabled": e.disabled,
|
|
98
98
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
99
99
|
"item-container--selected": n(b),
|
|
100
|
-
"item-container--multi": e.isMulti
|
|
100
|
+
"item-container--multi": e.isMulti,
|
|
101
|
+
"item-container--filtered-out": e.option?.filteredOut
|
|
101
102
|
}]),
|
|
102
103
|
onClick: A
|
|
103
104
|
}, [
|
|
@@ -145,10 +146,10 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
145
146
|
])) : o("", !0),
|
|
146
147
|
u("div", {
|
|
147
148
|
ref_key: "textContainerRef",
|
|
148
|
-
ref:
|
|
149
|
+
ref: p,
|
|
149
150
|
class: "text-container"
|
|
150
151
|
}, [
|
|
151
|
-
a(n(
|
|
152
|
+
a(n(x), {
|
|
152
153
|
class: "option-text",
|
|
153
154
|
variant: "body2"
|
|
154
155
|
}, {
|
|
@@ -166,7 +167,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
166
167
|
}, {
|
|
167
168
|
default: s(() => [
|
|
168
169
|
e.option?.conditionalOptions ? (i(), l("div", ee, [
|
|
169
|
-
a(n(
|
|
170
|
+
a(n(x), {
|
|
170
171
|
variant: "body2",
|
|
171
172
|
class: "conditional-option-label"
|
|
172
173
|
}, {
|
|
@@ -175,7 +176,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
175
176
|
]),
|
|
176
177
|
_: 1
|
|
177
178
|
}),
|
|
178
|
-
a(n(
|
|
179
|
+
a(n(x), {
|
|
179
180
|
variant: "h5",
|
|
180
181
|
class: "conditional-option-value"
|
|
181
182
|
}, {
|
|
@@ -196,7 +197,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
196
197
|
}, null, 8, ["name"])
|
|
197
198
|
])) : o("", !0),
|
|
198
199
|
e.optionTwoLinesKey ? (i(), l("div", ne, [
|
|
199
|
-
a(n(
|
|
200
|
+
a(n(x), { variant: "caption" }, {
|
|
200
201
|
default: s(() => [
|
|
201
202
|
T(m(e.option[e.optionTwoLinesKey]), 1)
|
|
202
203
|
]),
|
|
@@ -279,7 +280,7 @@ const U = { class: "multiline-tooltip" }, W = {
|
|
|
279
280
|
name: "tooltip",
|
|
280
281
|
fn: s(() => [
|
|
281
282
|
u("div", U, [
|
|
282
|
-
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(
|
|
283
|
+
(i(!0), l(j, null, R(n(k), (f) => (i(), g(n(x), {
|
|
283
284
|
key: f,
|
|
284
285
|
variant: "body2"
|
|
285
286
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormCard.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../FormCard.
|
|
4
|
-
const t = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-98458a8f"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../FormCard.
|
|
1
|
+
import "../../FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css"; import { defineComponent as B, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as n, unref as e, renderSlot as m, createVNode as a, withCtx as u, createTextVNode as g, toDisplayString as v, createBlock as T, createCommentVNode as C } from "vue";
|
|
2
2
|
import b from "../typography/v4/Typography.vue.js";
|
|
3
3
|
import k from "../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import "../button/v4/IconButtonV4.vue.js";
|
|
@@ -7,7 +7,7 @@ import "../button/v4/ToggleButtonGroupAB.vue.js";
|
|
|
7
7
|
import { FormCardTestIdModifiers as o } from "../../testids/index.js";
|
|
8
8
|
import { useTestIdAttrs as N } from "../../utils/testIds.js";
|
|
9
9
|
import i from "../skeleton/v4/SkeletonV4.vue.js";
|
|
10
|
-
const
|
|
10
|
+
const h = { class: "form-card" }, p = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "content-skeleton-container"
|
|
13
13
|
}, F = /* @__PURE__ */ B({
|
|
@@ -27,7 +27,7 @@ const p = { class: "form-card" }, h = {
|
|
|
27
27
|
setup(t, { emit: y }) {
|
|
28
28
|
const l = N(t.testId, o);
|
|
29
29
|
return (r, s) => (d(), c("div", null, [
|
|
30
|
-
f("div",
|
|
30
|
+
f("div", h, [
|
|
31
31
|
f("header", n({ class: "card-header" }, e(l)[e(o).TITLE]), [
|
|
32
32
|
t.isLoading ? (d(), T(e(i), {
|
|
33
33
|
key: 1,
|
|
@@ -46,7 +46,7 @@ const p = { class: "form-card" }, h = {
|
|
|
46
46
|
f("div", n({
|
|
47
47
|
class: ["card-content", { "card-content--no-padding": t.noPadding }]
|
|
48
48
|
}, e(l)[e(o).CONTENT]), [
|
|
49
|
-
t.isLoading ? (d(), c("div",
|
|
49
|
+
t.isLoading ? (d(), c("div", p, [
|
|
50
50
|
a(e(i), {
|
|
51
51
|
type: "rectangle",
|
|
52
52
|
size: 20,
|
|
@@ -85,7 +85,7 @@ const p = { class: "form-card" }, h = {
|
|
|
85
85
|
class: "form-action",
|
|
86
86
|
loading: t.saveLoading
|
|
87
87
|
}, e(l)[e(o).SAVE_BUTTON], {
|
|
88
|
-
disabled: t.saveDisabled || t.isLoading,
|
|
88
|
+
disabled: t.saveDisabled || t.isLoading || t.saveLoading,
|
|
89
89
|
onClick: s[1] || (s[1] = (L) => y("save"))
|
|
90
90
|
}), {
|
|
91
91
|
default: u(() => [
|
|
@@ -7,6 +7,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
placement?: Placement;
|
|
8
8
|
distance?: number;
|
|
9
9
|
skidding?: number;
|
|
10
|
+
delay?: number | {
|
|
11
|
+
show: number;
|
|
12
|
+
hide: number;
|
|
13
|
+
};
|
|
10
14
|
testId?: string;
|
|
11
15
|
popperClass?: string;
|
|
12
16
|
container?: string;
|
|
@@ -18,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
22
|
placement: string;
|
|
19
23
|
distance: number;
|
|
20
24
|
skidding: number;
|
|
25
|
+
delay: number;
|
|
21
26
|
testId: string;
|
|
22
27
|
popperClass: string;
|
|
23
28
|
container: string;
|
|
@@ -33,6 +38,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
38
|
placement?: Placement;
|
|
34
39
|
distance?: number;
|
|
35
40
|
skidding?: number;
|
|
41
|
+
delay?: number | {
|
|
42
|
+
show: number;
|
|
43
|
+
hide: number;
|
|
44
|
+
};
|
|
36
45
|
testId?: string;
|
|
37
46
|
popperClass?: string;
|
|
38
47
|
container?: string;
|
|
@@ -44,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
53
|
placement: string;
|
|
45
54
|
distance: number;
|
|
46
55
|
skidding: number;
|
|
56
|
+
delay: number;
|
|
47
57
|
testId: string;
|
|
48
58
|
popperClass: string;
|
|
49
59
|
container: string;
|
|
@@ -51,6 +61,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
61
|
onIsOpen?: (value: boolean) => any;
|
|
52
62
|
}, {
|
|
53
63
|
testId: string;
|
|
64
|
+
delay: number | {
|
|
65
|
+
show: number;
|
|
66
|
+
hide: number;
|
|
67
|
+
};
|
|
54
68
|
placement: Placement;
|
|
55
69
|
disabled: boolean;
|
|
56
70
|
distance: number;
|
|
@@ -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
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../PopoverV4.
|
|
1
|
+
import "../../../PopoverV4.vue_vue_type_style_index_0_scoped_9ae00876_lang.css"; import "../../../PopoverV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as k, watch as s, openBlock as p, createBlock as y, unref as r, withCtx as u, createElementBlock as h, renderSlot as g, createCommentVNode as B, createElementVNode as C } from "vue";
|
|
2
2
|
import { Dropdown as w } from "floating-vue";
|
|
3
3
|
import { popoverCommon as $ } from "../common/Popover.common.js";
|
|
4
4
|
const O = ["data-testid"], H = /* @__PURE__ */ k({
|
|
@@ -11,6 +11,7 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
|
|
|
11
11
|
placement: { default: "bottom-start" },
|
|
12
12
|
distance: { default: 0 },
|
|
13
13
|
skidding: { default: 0 },
|
|
14
|
+
delay: { default: 0 },
|
|
14
15
|
testId: { default: "" },
|
|
15
16
|
popperClass: { default: "" },
|
|
16
17
|
container: { default: "body" }
|
|
@@ -26,24 +27,25 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
|
|
|
26
27
|
d(o);
|
|
27
28
|
}
|
|
28
29
|
);
|
|
29
|
-
const
|
|
30
|
+
const a = (o) => {
|
|
30
31
|
i.trigger === o && (t.value = !t.value);
|
|
31
32
|
};
|
|
32
33
|
return f({
|
|
33
34
|
toggle: d
|
|
34
|
-
}), (o, n) => (p(), y(
|
|
35
|
+
}), (o, n) => (p(), y(r(w), {
|
|
35
36
|
theme: "custom-popover",
|
|
36
37
|
placement: e.placement,
|
|
37
|
-
shown: !!
|
|
38
|
+
shown: !!r(t),
|
|
38
39
|
triggers: e.trigger === "managed" ? [] : [e.trigger],
|
|
39
40
|
"auto-hide": e.autoHide,
|
|
40
41
|
distance: e.distance,
|
|
41
42
|
skidding: e.skidding,
|
|
43
|
+
delay: e.delay,
|
|
42
44
|
container: e.container,
|
|
43
45
|
"popper-class": [e.popperClass, "v4-popover__popper light-theme-v4"]
|
|
44
46
|
}, {
|
|
45
47
|
popper: u(() => [
|
|
46
|
-
|
|
48
|
+
r(t) ? (p(), h("div", {
|
|
47
49
|
key: 0,
|
|
48
50
|
ref_key: "popup",
|
|
49
51
|
ref: c,
|
|
@@ -57,15 +59,15 @@ const O = ["data-testid"], H = /* @__PURE__ */ k({
|
|
|
57
59
|
C("div", {
|
|
58
60
|
ref_key: "triggerRef",
|
|
59
61
|
ref: v,
|
|
60
|
-
onClick: n[0] || (n[0] = (l) =>
|
|
61
|
-
onMouseenter: n[1] || (n[1] = (l) =>
|
|
62
|
-
onMouseleave: n[2] || (n[2] = (l) =>
|
|
62
|
+
onClick: n[0] || (n[0] = (l) => a("click")),
|
|
63
|
+
onMouseenter: n[1] || (n[1] = (l) => a("hover")),
|
|
64
|
+
onMouseleave: n[2] || (n[2] = (l) => a("hover"))
|
|
63
65
|
}, [
|
|
64
66
|
g(o.$slots, "trigger", {}, void 0, !0)
|
|
65
67
|
], 544)
|
|
66
68
|
]),
|
|
67
69
|
_: 3
|
|
68
|
-
}, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "container", "popper-class"]));
|
|
70
|
+
}, 8, ["placement", "shown", "triggers", "auto-hide", "distance", "skidding", "delay", "container", "popper-class"]));
|
|
69
71
|
}
|
|
70
72
|
});
|
|
71
73
|
export {
|
|
@@ -5,6 +5,10 @@ declare const PopoverTypes: () => ({
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
testId: string;
|
|
8
|
+
delay: number | {
|
|
9
|
+
show: number;
|
|
10
|
+
hide: number;
|
|
11
|
+
};
|
|
8
12
|
placement: import("floating-vue").Placement;
|
|
9
13
|
disabled: boolean;
|
|
10
14
|
distance: number;
|
|
@@ -19,6 +23,13 @@ declare const PopoverTypes: () => ({
|
|
|
19
23
|
type: import("vue").PropType<string>;
|
|
20
24
|
default: string;
|
|
21
25
|
};
|
|
26
|
+
delay: {
|
|
27
|
+
type: import("vue").PropType<number | {
|
|
28
|
+
show: number;
|
|
29
|
+
hide: number;
|
|
30
|
+
}>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
22
33
|
placement: {
|
|
23
34
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
24
35
|
default: string;
|
|
@@ -57,7 +68,7 @@ declare const PopoverTypes: () => ({
|
|
|
57
68
|
};
|
|
58
69
|
}>> & {
|
|
59
70
|
onIsOpen?: (value: boolean) => any;
|
|
60
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
|
|
71
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "delay" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
|
|
61
72
|
$attrs: {
|
|
62
73
|
[x: string]: unknown;
|
|
63
74
|
};
|
|
@@ -76,6 +87,13 @@ declare const PopoverTypes: () => ({
|
|
|
76
87
|
type: import("vue").PropType<string>;
|
|
77
88
|
default: string;
|
|
78
89
|
};
|
|
90
|
+
delay: {
|
|
91
|
+
type: import("vue").PropType<number | {
|
|
92
|
+
show: number;
|
|
93
|
+
hide: number;
|
|
94
|
+
}>;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
79
97
|
placement: {
|
|
80
98
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
81
99
|
default: string;
|
|
@@ -120,6 +138,10 @@ declare const PopoverTypes: () => ({
|
|
|
120
138
|
isOpen: (value: boolean) => void;
|
|
121
139
|
}, string, {
|
|
122
140
|
testId: string;
|
|
141
|
+
delay: number | {
|
|
142
|
+
show: number;
|
|
143
|
+
hide: number;
|
|
144
|
+
};
|
|
123
145
|
placement: import("floating-vue").Placement;
|
|
124
146
|
disabled: boolean;
|
|
125
147
|
distance: number;
|
|
@@ -154,6 +176,13 @@ declare const PopoverTypes: () => ({
|
|
|
154
176
|
type: import("vue").PropType<string>;
|
|
155
177
|
default: string;
|
|
156
178
|
};
|
|
179
|
+
delay: {
|
|
180
|
+
type: import("vue").PropType<number | {
|
|
181
|
+
show: number;
|
|
182
|
+
hide: number;
|
|
183
|
+
}>;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
157
186
|
placement: {
|
|
158
187
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
159
188
|
default: string;
|
|
@@ -203,6 +232,13 @@ declare const PopoverTypes: () => ({
|
|
|
203
232
|
type: import("vue").PropType<string>;
|
|
204
233
|
default: string;
|
|
205
234
|
};
|
|
235
|
+
delay: {
|
|
236
|
+
type: import("vue").PropType<number | {
|
|
237
|
+
show: number;
|
|
238
|
+
hide: number;
|
|
239
|
+
}>;
|
|
240
|
+
default: number;
|
|
241
|
+
};
|
|
206
242
|
placement: {
|
|
207
243
|
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
208
244
|
default: string;
|
|
@@ -247,6 +283,10 @@ declare const PopoverTypes: () => ({
|
|
|
247
283
|
isOpen: (value: boolean) => void;
|
|
248
284
|
}, string, {
|
|
249
285
|
testId: string;
|
|
286
|
+
delay: number | {
|
|
287
|
+
show: number;
|
|
288
|
+
hide: number;
|
|
289
|
+
};
|
|
250
290
|
placement: import("floating-vue").Placement;
|
|
251
291
|
disabled: boolean;
|
|
252
292
|
distance: number;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ChipSize, ChipColor, ChipVariant } from '../chip/v4/Chip.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isInvalid?: boolean;
|
|
6
|
+
testId?: string;
|
|
7
|
+
size?: ChipSize;
|
|
8
|
+
rounded?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
color?: ChipColor;
|
|
11
|
+
variant?: ChipVariant;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
iconName?: string;
|
|
14
|
+
iconType?: 'regular' | 'fill';
|
|
15
|
+
editable?: boolean;
|
|
16
|
+
removable?: boolean;
|
|
17
|
+
selectable?: boolean;
|
|
18
|
+
maxLength?: number;
|
|
19
|
+
maxLengthTooltip?: string;
|
|
20
|
+
validationPattern?: string;
|
|
21
|
+
validationErrorText?: string;
|
|
22
|
+
}>, {
|
|
23
|
+
isInvalid: boolean;
|
|
24
|
+
label: string;
|
|
25
|
+
testId: string;
|
|
26
|
+
size: string;
|
|
27
|
+
rounded: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
color: string;
|
|
30
|
+
variant: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
iconName: string;
|
|
33
|
+
editable: boolean;
|
|
34
|
+
removable: boolean;
|
|
35
|
+
selectable: boolean;
|
|
36
|
+
maxLength: any;
|
|
37
|
+
iconType: string;
|
|
38
|
+
maxLengthTooltip: string;
|
|
39
|
+
validationPattern: string;
|
|
40
|
+
validationErrorText: string;
|
|
41
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
"update:label": (value: string) => void;
|
|
43
|
+
remove: () => void;
|
|
44
|
+
stopEditing: () => void;
|
|
45
|
+
"update:isSelected": (value: boolean) => void;
|
|
46
|
+
validationError: (value: string) => void;
|
|
47
|
+
validationSuccess: () => void;
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
49
|
+
label: string;
|
|
50
|
+
isSelected: boolean;
|
|
51
|
+
isInvalid?: boolean;
|
|
52
|
+
testId?: string;
|
|
53
|
+
size?: ChipSize;
|
|
54
|
+
rounded?: boolean;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
color?: ChipColor;
|
|
57
|
+
variant?: ChipVariant;
|
|
58
|
+
placeholder?: string;
|
|
59
|
+
iconName?: string;
|
|
60
|
+
iconType?: 'regular' | 'fill';
|
|
61
|
+
editable?: boolean;
|
|
62
|
+
removable?: boolean;
|
|
63
|
+
selectable?: boolean;
|
|
64
|
+
maxLength?: number;
|
|
65
|
+
maxLengthTooltip?: string;
|
|
66
|
+
validationPattern?: string;
|
|
67
|
+
validationErrorText?: string;
|
|
68
|
+
}>, {
|
|
69
|
+
isInvalid: boolean;
|
|
70
|
+
label: string;
|
|
71
|
+
testId: string;
|
|
72
|
+
size: string;
|
|
73
|
+
rounded: boolean;
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
color: string;
|
|
76
|
+
variant: string;
|
|
77
|
+
placeholder: string;
|
|
78
|
+
iconName: string;
|
|
79
|
+
editable: boolean;
|
|
80
|
+
removable: boolean;
|
|
81
|
+
selectable: boolean;
|
|
82
|
+
maxLength: any;
|
|
83
|
+
iconType: string;
|
|
84
|
+
maxLengthTooltip: string;
|
|
85
|
+
validationPattern: string;
|
|
86
|
+
validationErrorText: string;
|
|
87
|
+
}>>> & {
|
|
88
|
+
onRemove?: () => any;
|
|
89
|
+
"onUpdate:label"?: (value: string) => any;
|
|
90
|
+
onStopEditing?: () => any;
|
|
91
|
+
"onUpdate:isSelected"?: (value: boolean) => any;
|
|
92
|
+
onValidationError?: (value: string) => any;
|
|
93
|
+
onValidationSuccess?: () => any;
|
|
94
|
+
}, {
|
|
95
|
+
label: string;
|
|
96
|
+
testId: string;
|
|
97
|
+
variant: ChipVariant;
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
color: ChipColor;
|
|
100
|
+
size: ChipSize;
|
|
101
|
+
iconName: string;
|
|
102
|
+
rounded: boolean;
|
|
103
|
+
maxLength: number;
|
|
104
|
+
placeholder: string;
|
|
105
|
+
iconType: 'regular' | 'fill';
|
|
106
|
+
editable: boolean;
|
|
107
|
+
isInvalid: boolean;
|
|
108
|
+
removable: boolean;
|
|
109
|
+
selectable: boolean;
|
|
110
|
+
maxLengthTooltip: string;
|
|
111
|
+
validationPattern: string;
|
|
112
|
+
validationErrorText: string;
|
|
113
|
+
}>;
|
|
114
|
+
export default _default;
|
|
115
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
116
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
117
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
118
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
119
|
+
} : {
|
|
120
|
+
type: import('vue').PropType<T[K]>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
type __VLS_WithDefaults<P, D> = {
|
|
125
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
126
|
+
default: D[K];
|
|
127
|
+
}> : P[K];
|
|
128
|
+
};
|
|
129
|
+
type __VLS_Prettify<T> = {
|
|
130
|
+
[K in keyof T]: T[K];
|
|
131
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Tag.vue2.js";
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b0662035"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|