@ironsource/shared-ui 2.1.12-rc.13 → 2.1.12-rc.14
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/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_de950ffe_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_1ff0e54f_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_21ce0774_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_ae87f435_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +4 -3
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +36 -0
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +89 -74
- package/components/chart/ChartHeader.vue.d.ts +24 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +70 -50
- package/components/chart/ChartHeaderTrend.vue.d.ts +13 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +80 -18
- package/components/chart/ChartPlane.vue.d.ts +35 -2
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +115 -103
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/index.d.ts +106 -1
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dialog/v4/index.d.ts +7 -7
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +7 -7
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +29 -26
- package/index.d.ts +35 -35
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a0b89669_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_0f3a67d5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_0875167b_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../SettingsHeader.
|
|
2
|
-
import
|
|
1
|
+
import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css"; import { defineComponent as h, computed as g, openBlock as y, createElementBlock as f, createElementVNode as r, normalizeClass as l, renderSlot as i, createVNode as p, unref as t, isRef as v, withCtx as T, mergeProps as b } from "vue";
|
|
2
|
+
import w from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
@@ -10,7 +10,7 @@ import "../dropdown/v4/TreeDropdown.vue.js";
|
|
|
10
10
|
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
11
|
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
12
|
import { DROPDOWN_TYPE_OPTIONS as c } from "./consts.js";
|
|
13
|
-
const
|
|
13
|
+
const B = { class: "settings-header-container" }, C = { class: "chart-type-selection" }, H = /* @__PURE__ */ h({
|
|
14
14
|
__name: "SettingsHeader",
|
|
15
15
|
props: {
|
|
16
16
|
chartType: null,
|
|
@@ -25,41 +25,42 @@ const _ = { class: "settings-header-container" }, B = { class: "chart-type-selec
|
|
|
25
25
|
set(e) {
|
|
26
26
|
m("update:chartType", e.id);
|
|
27
27
|
}
|
|
28
|
-
}),
|
|
29
|
-
return (e,
|
|
28
|
+
}), d = (e) => `Chart: ${e.name}`;
|
|
29
|
+
return (e, a) => (y(), f("div", B, [
|
|
30
30
|
r("div", {
|
|
31
|
-
class:
|
|
31
|
+
class: l(["settings", { "settings-spacer": !s.hideLegend }])
|
|
32
32
|
}, [
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
i(e.$slots, "before-chart-type", {}, void 0, !0),
|
|
34
|
+
r("div", C, [
|
|
35
|
+
p(t(w), {
|
|
35
36
|
selected: t(o),
|
|
36
|
-
"onUpdate:selected":
|
|
37
|
+
"onUpdate:selected": a[0] || (a[0] = (n) => v(o) ? o.value = n : null),
|
|
37
38
|
options: t(c),
|
|
38
39
|
"option-name-key": "name",
|
|
39
|
-
"display-value":
|
|
40
|
+
"display-value": d,
|
|
40
41
|
placeholder: "Select chart type",
|
|
41
42
|
size: "small"
|
|
42
43
|
}, {
|
|
43
44
|
"dropdown-trigger": T(({ buttonTriggerProps: n }) => [
|
|
44
|
-
|
|
45
|
-
label:
|
|
45
|
+
p(t(k), b(n, {
|
|
46
|
+
label: d(t(o))
|
|
46
47
|
}), null, 16, ["label"])
|
|
47
48
|
]),
|
|
48
49
|
_: 1
|
|
49
50
|
}, 8, ["selected", "options"])
|
|
50
51
|
]),
|
|
51
52
|
r("div", null, [
|
|
52
|
-
|
|
53
|
+
i(e.$slots, "metric", {}, void 0, !0)
|
|
53
54
|
])
|
|
54
55
|
], 2),
|
|
55
56
|
r("div", {
|
|
56
|
-
class:
|
|
57
|
+
class: l(["breakdowns", { "breakdowns-border": !s.hideLegend }])
|
|
57
58
|
}, [
|
|
58
|
-
|
|
59
|
+
i(e.$slots, "breakdowns", {}, void 0, !0)
|
|
59
60
|
], 2)
|
|
60
61
|
]));
|
|
61
62
|
}
|
|
62
63
|
});
|
|
63
64
|
export {
|
|
64
|
-
|
|
65
|
+
H as default
|
|
65
66
|
};
|
|
@@ -19,7 +19,9 @@ declare const ChartTypes: () => ({
|
|
|
19
19
|
yAxisFormat: import("./types").ValueFormat;
|
|
20
20
|
parsing: import("./types").ChartParsingConfig;
|
|
21
21
|
dataSets: import("./types").ChartDataSet[];
|
|
22
|
+
trendTooltip: any;
|
|
22
23
|
subheader: string;
|
|
24
|
+
subheaderTooltip: any;
|
|
23
25
|
trendValue: string | number;
|
|
24
26
|
trendDirection: "up" | "down";
|
|
25
27
|
tickCount: number;
|
|
@@ -27,6 +29,8 @@ declare const ChartTypes: () => ({
|
|
|
27
29
|
noDataTitle: string;
|
|
28
30
|
noDataSubtitle: string;
|
|
29
31
|
withAnimation: boolean;
|
|
32
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
33
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
30
34
|
totalsChart: boolean;
|
|
31
35
|
fullHeight: boolean;
|
|
32
36
|
withSettingsHeader: boolean;
|
|
@@ -94,10 +98,25 @@ declare const ChartTypes: () => ({
|
|
|
94
98
|
required: true;
|
|
95
99
|
default: () => any[];
|
|
96
100
|
};
|
|
101
|
+
trendTooltip: {
|
|
102
|
+
type: import("vue").PropType<{
|
|
103
|
+
header?: string;
|
|
104
|
+
rangeCurrent?: string;
|
|
105
|
+
rangePrevious?: string;
|
|
106
|
+
}>;
|
|
107
|
+
default: any;
|
|
108
|
+
};
|
|
97
109
|
subheader: {
|
|
98
110
|
type: import("vue").PropType<string>;
|
|
99
111
|
default: string;
|
|
100
112
|
};
|
|
113
|
+
subheaderTooltip: {
|
|
114
|
+
type: import("vue").PropType<{
|
|
115
|
+
header?: string;
|
|
116
|
+
text?: string;
|
|
117
|
+
}>;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
101
120
|
trendValue: {
|
|
102
121
|
type: import("vue").PropType<string | number>;
|
|
103
122
|
default: any;
|
|
@@ -126,6 +145,14 @@ declare const ChartTypes: () => ({
|
|
|
126
145
|
type: import("vue").PropType<boolean>;
|
|
127
146
|
default: boolean;
|
|
128
147
|
};
|
|
148
|
+
tooltipTotalType: {
|
|
149
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
150
|
+
default: import("../../utils/totals").TotalType;
|
|
151
|
+
};
|
|
152
|
+
tooltipTotalCalcFn: {
|
|
153
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
154
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
155
|
+
};
|
|
129
156
|
totalsChart: {
|
|
130
157
|
type: import("vue").PropType<boolean>;
|
|
131
158
|
default: boolean;
|
|
@@ -146,7 +173,7 @@ declare const ChartTypes: () => ({
|
|
|
146
173
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
147
174
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
148
175
|
"onUpdate:chartType"?: (chartType: import("./types").ChartType) => any;
|
|
149
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "yAxisFormat" | "parsing" | "dataSets" | "subheader" | "trendValue" | "trendDirection" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "totalsChart" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
|
|
176
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "yAxisFormat" | "parsing" | "dataSets" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "totalsChart" | "fullHeight" | "withSettingsHeader" | "extraCharts">;
|
|
150
177
|
$attrs: {
|
|
151
178
|
[x: string]: unknown;
|
|
152
179
|
};
|
|
@@ -223,10 +250,25 @@ declare const ChartTypes: () => ({
|
|
|
223
250
|
required: true;
|
|
224
251
|
default: () => any[];
|
|
225
252
|
};
|
|
253
|
+
trendTooltip: {
|
|
254
|
+
type: import("vue").PropType<{
|
|
255
|
+
header?: string;
|
|
256
|
+
rangeCurrent?: string;
|
|
257
|
+
rangePrevious?: string;
|
|
258
|
+
}>;
|
|
259
|
+
default: any;
|
|
260
|
+
};
|
|
226
261
|
subheader: {
|
|
227
262
|
type: import("vue").PropType<string>;
|
|
228
263
|
default: string;
|
|
229
264
|
};
|
|
265
|
+
subheaderTooltip: {
|
|
266
|
+
type: import("vue").PropType<{
|
|
267
|
+
header?: string;
|
|
268
|
+
text?: string;
|
|
269
|
+
}>;
|
|
270
|
+
default: any;
|
|
271
|
+
};
|
|
230
272
|
trendValue: {
|
|
231
273
|
type: import("vue").PropType<string | number>;
|
|
232
274
|
default: any;
|
|
@@ -255,6 +297,14 @@ declare const ChartTypes: () => ({
|
|
|
255
297
|
type: import("vue").PropType<boolean>;
|
|
256
298
|
default: boolean;
|
|
257
299
|
};
|
|
300
|
+
tooltipTotalType: {
|
|
301
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
302
|
+
default: import("../../utils/totals").TotalType;
|
|
303
|
+
};
|
|
304
|
+
tooltipTotalCalcFn: {
|
|
305
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
306
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
307
|
+
};
|
|
258
308
|
totalsChart: {
|
|
259
309
|
type: import("vue").PropType<boolean>;
|
|
260
310
|
default: boolean;
|
|
@@ -295,7 +345,9 @@ declare const ChartTypes: () => ({
|
|
|
295
345
|
yAxisFormat: import("./types").ValueFormat;
|
|
296
346
|
parsing: import("./types").ChartParsingConfig;
|
|
297
347
|
dataSets: import("./types").ChartDataSet[];
|
|
348
|
+
trendTooltip: any;
|
|
298
349
|
subheader: string;
|
|
350
|
+
subheaderTooltip: any;
|
|
299
351
|
trendValue: string | number;
|
|
300
352
|
trendDirection: "up" | "down";
|
|
301
353
|
tickCount: number;
|
|
@@ -303,6 +355,8 @@ declare const ChartTypes: () => ({
|
|
|
303
355
|
noDataTitle: string;
|
|
304
356
|
noDataSubtitle: string;
|
|
305
357
|
withAnimation: boolean;
|
|
358
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
359
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
306
360
|
totalsChart: boolean;
|
|
307
361
|
fullHeight: boolean;
|
|
308
362
|
withSettingsHeader: boolean;
|
|
@@ -390,10 +444,25 @@ declare const ChartTypes: () => ({
|
|
|
390
444
|
required: true;
|
|
391
445
|
default: () => any[];
|
|
392
446
|
};
|
|
447
|
+
trendTooltip: {
|
|
448
|
+
type: import("vue").PropType<{
|
|
449
|
+
header?: string;
|
|
450
|
+
rangeCurrent?: string;
|
|
451
|
+
rangePrevious?: string;
|
|
452
|
+
}>;
|
|
453
|
+
default: any;
|
|
454
|
+
};
|
|
393
455
|
subheader: {
|
|
394
456
|
type: import("vue").PropType<string>;
|
|
395
457
|
default: string;
|
|
396
458
|
};
|
|
459
|
+
subheaderTooltip: {
|
|
460
|
+
type: import("vue").PropType<{
|
|
461
|
+
header?: string;
|
|
462
|
+
text?: string;
|
|
463
|
+
}>;
|
|
464
|
+
default: any;
|
|
465
|
+
};
|
|
397
466
|
trendValue: {
|
|
398
467
|
type: import("vue").PropType<string | number>;
|
|
399
468
|
default: any;
|
|
@@ -422,6 +491,14 @@ declare const ChartTypes: () => ({
|
|
|
422
491
|
type: import("vue").PropType<boolean>;
|
|
423
492
|
default: boolean;
|
|
424
493
|
};
|
|
494
|
+
tooltipTotalType: {
|
|
495
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
496
|
+
default: import("../../utils/totals").TotalType;
|
|
497
|
+
};
|
|
498
|
+
tooltipTotalCalcFn: {
|
|
499
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
500
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
501
|
+
};
|
|
425
502
|
totalsChart: {
|
|
426
503
|
type: import("vue").PropType<boolean>;
|
|
427
504
|
default: boolean;
|
|
@@ -509,10 +586,25 @@ declare const ChartTypes: () => ({
|
|
|
509
586
|
required: true;
|
|
510
587
|
default: () => any[];
|
|
511
588
|
};
|
|
589
|
+
trendTooltip: {
|
|
590
|
+
type: import("vue").PropType<{
|
|
591
|
+
header?: string;
|
|
592
|
+
rangeCurrent?: string;
|
|
593
|
+
rangePrevious?: string;
|
|
594
|
+
}>;
|
|
595
|
+
default: any;
|
|
596
|
+
};
|
|
512
597
|
subheader: {
|
|
513
598
|
type: import("vue").PropType<string>;
|
|
514
599
|
default: string;
|
|
515
600
|
};
|
|
601
|
+
subheaderTooltip: {
|
|
602
|
+
type: import("vue").PropType<{
|
|
603
|
+
header?: string;
|
|
604
|
+
text?: string;
|
|
605
|
+
}>;
|
|
606
|
+
default: any;
|
|
607
|
+
};
|
|
516
608
|
trendValue: {
|
|
517
609
|
type: import("vue").PropType<string | number>;
|
|
518
610
|
default: any;
|
|
@@ -541,6 +633,14 @@ declare const ChartTypes: () => ({
|
|
|
541
633
|
type: import("vue").PropType<boolean>;
|
|
542
634
|
default: boolean;
|
|
543
635
|
};
|
|
636
|
+
tooltipTotalType: {
|
|
637
|
+
type: import("vue").PropType<import("../../utils/totals").TotalType>;
|
|
638
|
+
default: import("../../utils/totals").TotalType;
|
|
639
|
+
};
|
|
640
|
+
tooltipTotalCalcFn: {
|
|
641
|
+
type: import("vue").PropType<(values: number[], totalType: import("../../utils/totals").TotalType) => number>;
|
|
642
|
+
default: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
643
|
+
};
|
|
544
644
|
totalsChart: {
|
|
545
645
|
type: import("vue").PropType<boolean>;
|
|
546
646
|
default: boolean;
|
|
@@ -581,7 +681,9 @@ declare const ChartTypes: () => ({
|
|
|
581
681
|
yAxisFormat: import("./types").ValueFormat;
|
|
582
682
|
parsing: import("./types").ChartParsingConfig;
|
|
583
683
|
dataSets: import("./types").ChartDataSet[];
|
|
684
|
+
trendTooltip: any;
|
|
584
685
|
subheader: string;
|
|
686
|
+
subheaderTooltip: any;
|
|
585
687
|
trendValue: string | number;
|
|
586
688
|
trendDirection: "up" | "down";
|
|
587
689
|
tickCount: number;
|
|
@@ -589,12 +691,15 @@ declare const ChartTypes: () => ({
|
|
|
589
691
|
noDataTitle: string;
|
|
590
692
|
noDataSubtitle: string;
|
|
591
693
|
withAnimation: boolean;
|
|
694
|
+
tooltipTotalType: import("../../utils/totals").TotalType;
|
|
695
|
+
tooltipTotalCalcFn: (values: number[], totalType: import("../../utils/totals").TotalType) => number;
|
|
592
696
|
totalsChart: boolean;
|
|
593
697
|
fullHeight: boolean;
|
|
594
698
|
withSettingsHeader: boolean;
|
|
595
699
|
extraCharts: Record<string, unknown>[];
|
|
596
700
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
597
701
|
$slots: {
|
|
702
|
+
"before-chart-type"?(_: {}): any;
|
|
598
703
|
metric?(_: {}): any;
|
|
599
704
|
breakdowns?(_: {}): any;
|
|
600
705
|
"subheader-tooltip"?(_: {}): any;
|
|
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
2
2
|
isChecked: boolean;
|
|
3
3
|
isIndeterminate?: boolean;
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "md" | "sm" | "lg";
|
|
6
6
|
label?: string;
|
|
7
7
|
testId?: string;
|
|
8
8
|
}>, {
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
isChecked: boolean;
|
|
17
17
|
isIndeterminate?: boolean;
|
|
18
18
|
disabled?: boolean;
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "md" | "sm" | "lg";
|
|
20
20
|
label?: string;
|
|
21
21
|
testId?: string;
|
|
22
22
|
}>, {
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
}, {
|
|
30
30
|
label: string;
|
|
31
31
|
testId: string;
|
|
32
|
-
size: "
|
|
32
|
+
size: "md" | "sm" | "lg";
|
|
33
33
|
}>, {
|
|
34
34
|
default?(_: {}): any;
|
|
35
35
|
}>;
|
|
@@ -5,7 +5,7 @@ declare const CheckboxTypes: () => ({
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
label: string;
|
|
7
7
|
testId: string;
|
|
8
|
-
size: "
|
|
8
|
+
size: "md" | "sm" | "lg";
|
|
9
9
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
10
10
|
label: {
|
|
11
11
|
type: import("vue").PropType<string>;
|
|
@@ -19,7 +19,7 @@ declare const CheckboxTypes: () => ({
|
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: import("vue").PropType<"
|
|
22
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
isIndeterminate: {
|
|
@@ -59,7 +59,7 @@ declare const CheckboxTypes: () => ({
|
|
|
59
59
|
type: import("vue").PropType<boolean>;
|
|
60
60
|
};
|
|
61
61
|
size: {
|
|
62
|
-
type: import("vue").PropType<"
|
|
62
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
63
63
|
default: string;
|
|
64
64
|
};
|
|
65
65
|
isIndeterminate: {
|
|
@@ -78,7 +78,7 @@ declare const CheckboxTypes: () => ({
|
|
|
78
78
|
}, string, {
|
|
79
79
|
label: string;
|
|
80
80
|
testId: string;
|
|
81
|
-
size: "
|
|
81
|
+
size: "md" | "sm" | "lg";
|
|
82
82
|
}, {}, string> & {
|
|
83
83
|
beforeCreate?: (() => void) | (() => void)[];
|
|
84
84
|
created?: (() => void) | (() => void)[];
|
|
@@ -112,7 +112,7 @@ declare const CheckboxTypes: () => ({
|
|
|
112
112
|
type: import("vue").PropType<boolean>;
|
|
113
113
|
};
|
|
114
114
|
size: {
|
|
115
|
-
type: import("vue").PropType<"
|
|
115
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
116
116
|
default: string;
|
|
117
117
|
};
|
|
118
118
|
isIndeterminate: {
|
|
@@ -142,7 +142,7 @@ declare const CheckboxTypes: () => ({
|
|
|
142
142
|
type: import("vue").PropType<boolean>;
|
|
143
143
|
};
|
|
144
144
|
size: {
|
|
145
|
-
type: import("vue").PropType<"
|
|
145
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
148
|
isIndeterminate: {
|
|
@@ -161,7 +161,7 @@ declare const CheckboxTypes: () => ({
|
|
|
161
161
|
}, string, {
|
|
162
162
|
label: string;
|
|
163
163
|
testId: string;
|
|
164
|
-
size: "
|
|
164
|
+
size: "md" | "sm" | "lg";
|
|
165
165
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
166
166
|
$slots: {
|
|
167
167
|
default?(_: {}): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Reason } from '@/components/dialog/common/Reason';
|
|
2
|
+
import { ButtonColor } from '@/components/button/common/consts';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
modelValue: boolean;
|
|
4
5
|
content?: string;
|
|
@@ -18,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
19
|
showFooter?: boolean;
|
|
19
20
|
saveButtonLabel?: string;
|
|
20
21
|
saveButtonLoading?: boolean;
|
|
21
|
-
saveButtonColor?:
|
|
22
|
+
saveButtonColor?: ButtonColor;
|
|
22
23
|
cancelButtonLabel?: string;
|
|
23
24
|
cancelButtonColor?: string;
|
|
24
25
|
testId?: string;
|
|
@@ -71,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
71
72
|
showFooter?: boolean;
|
|
72
73
|
saveButtonLabel?: string;
|
|
73
74
|
saveButtonLoading?: boolean;
|
|
74
|
-
saveButtonColor?:
|
|
75
|
+
saveButtonColor?: ButtonColor;
|
|
75
76
|
cancelButtonLabel?: string;
|
|
76
77
|
cancelButtonColor?: string;
|
|
77
78
|
testId?: string;
|
|
@@ -124,7 +125,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
124
125
|
showFooter: boolean;
|
|
125
126
|
saveButtonLabel: string;
|
|
126
127
|
saveButtonLoading: boolean;
|
|
127
|
-
saveButtonColor:
|
|
128
|
+
saveButtonColor: ButtonColor;
|
|
128
129
|
cancelButtonLabel: string;
|
|
129
130
|
cancelButtonColor: string;
|
|
130
131
|
noPadding: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DialogV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DialogV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-eb226e31"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DialogV4.
|
|
1
|
+
import "../../../DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css"; import { defineComponent as L, openBlock as o, createBlock as u, Teleport as E, createVNode as A, Transition as P, withCtx as i, unref as t, createElementBlock as m, createElementVNode as y, mergeProps as s, renderSlot as k, createTextVNode as f, toDisplayString as B, createCommentVNode as l } from "vue";
|
|
2
2
|
import { NOOP as I } from "@vue/shared";
|
|
3
3
|
import b from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import O from "../../button/v4/ButtonV4.vue.js";
|
|
@@ -22,7 +22,7 @@ declare const DialogTypes: () => ({
|
|
|
22
22
|
showFooter: boolean;
|
|
23
23
|
saveButtonLabel: string;
|
|
24
24
|
saveButtonLoading: boolean;
|
|
25
|
-
saveButtonColor:
|
|
25
|
+
saveButtonColor: import("../../button/common/consts").ButtonColor;
|
|
26
26
|
cancelButtonLabel: string;
|
|
27
27
|
cancelButtonColor: string;
|
|
28
28
|
noPadding: boolean;
|
|
@@ -104,7 +104,7 @@ declare const DialogTypes: () => ({
|
|
|
104
104
|
default: boolean;
|
|
105
105
|
};
|
|
106
106
|
saveButtonColor: {
|
|
107
|
-
type: import("vue").PropType<
|
|
107
|
+
type: import("vue").PropType<import("../../button/common/consts").ButtonColor>;
|
|
108
108
|
default: string;
|
|
109
109
|
};
|
|
110
110
|
cancelButtonLabel: {
|
|
@@ -217,7 +217,7 @@ declare const DialogTypes: () => ({
|
|
|
217
217
|
default: boolean;
|
|
218
218
|
};
|
|
219
219
|
saveButtonColor: {
|
|
220
|
-
type: import("vue").PropType<
|
|
220
|
+
type: import("vue").PropType<import("../../button/common/consts").ButtonColor>;
|
|
221
221
|
default: string;
|
|
222
222
|
};
|
|
223
223
|
cancelButtonLabel: {
|
|
@@ -263,7 +263,7 @@ declare const DialogTypes: () => ({
|
|
|
263
263
|
showFooter: boolean;
|
|
264
264
|
saveButtonLabel: string;
|
|
265
265
|
saveButtonLoading: boolean;
|
|
266
|
-
saveButtonColor:
|
|
266
|
+
saveButtonColor: import("../../button/common/consts").ButtonColor;
|
|
267
267
|
cancelButtonLabel: string;
|
|
268
268
|
cancelButtonColor: string;
|
|
269
269
|
noPadding: boolean;
|
|
@@ -365,7 +365,7 @@ declare const DialogTypes: () => ({
|
|
|
365
365
|
default: boolean;
|
|
366
366
|
};
|
|
367
367
|
saveButtonColor: {
|
|
368
|
-
type: import("vue").PropType<
|
|
368
|
+
type: import("vue").PropType<import("../../button/common/consts").ButtonColor>;
|
|
369
369
|
default: string;
|
|
370
370
|
};
|
|
371
371
|
cancelButtonLabel: {
|
|
@@ -468,7 +468,7 @@ declare const DialogTypes: () => ({
|
|
|
468
468
|
default: boolean;
|
|
469
469
|
};
|
|
470
470
|
saveButtonColor: {
|
|
471
|
-
type: import("vue").PropType<
|
|
471
|
+
type: import("vue").PropType<import("../../button/common/consts").ButtonColor>;
|
|
472
472
|
default: string;
|
|
473
473
|
};
|
|
474
474
|
cancelButtonLabel: {
|
|
@@ -514,7 +514,7 @@ declare const DialogTypes: () => ({
|
|
|
514
514
|
showFooter: boolean;
|
|
515
515
|
saveButtonLabel: string;
|
|
516
516
|
saveButtonLoading: boolean;
|
|
517
|
-
saveButtonColor:
|
|
517
|
+
saveButtonColor: import("../../button/common/consts").ButtonColor;
|
|
518
518
|
cancelButtonLabel: string;
|
|
519
519
|
cancelButtonColor: string;
|
|
520
520
|
noPadding: boolean;
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
3
|
label: string;
|
|
3
4
|
mandatory?: boolean;
|
|
4
5
|
testId?: string;
|
|
5
6
|
hoverHelpText?: string;
|
|
6
7
|
hoverHelpTextPlacement?: "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";
|
|
8
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
7
9
|
}>, {
|
|
8
10
|
label: string;
|
|
9
11
|
mandatory: boolean;
|
|
10
12
|
testId: string;
|
|
11
|
-
hoverHelpText:
|
|
13
|
+
hoverHelpText: any;
|
|
12
14
|
hoverHelpTextPlacement: string;
|
|
15
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
13
16
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
17
|
label: string;
|
|
15
18
|
mandatory?: boolean;
|
|
16
19
|
testId?: string;
|
|
17
20
|
hoverHelpText?: string;
|
|
18
21
|
hoverHelpTextPlacement?: "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";
|
|
22
|
+
helpTextIconTooltipTrigger?: TooltipTriggers[];
|
|
19
23
|
}>, {
|
|
20
24
|
label: string;
|
|
21
25
|
mandatory: boolean;
|
|
22
26
|
testId: string;
|
|
23
|
-
hoverHelpText:
|
|
27
|
+
hoverHelpText: any;
|
|
24
28
|
hoverHelpTextPlacement: string;
|
|
29
|
+
helpTextIconTooltipTrigger: () => string[];
|
|
25
30
|
}>>>, {
|
|
26
31
|
label: string;
|
|
27
32
|
testId: string;
|
|
28
33
|
mandatory: boolean;
|
|
29
34
|
hoverHelpText: string;
|
|
30
35
|
hoverHelpTextPlacement: "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";
|
|
36
|
+
helpTextIconTooltipTrigger: TooltipTriggers[];
|
|
31
37
|
}>, {
|
|
38
|
+
"icon-tooltip-content"?(_: {}): any;
|
|
32
39
|
default?(_: {}): any;
|
|
33
40
|
}>;
|
|
34
41
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormRow.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../FormRow.
|
|
4
|
-
const
|
|
3
|
+
// import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2d5a3057"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,34 +1,45 @@
|
|
|
1
|
-
import "../../FormRow.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import "../../FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css"; import { defineComponent as r, useSlots as i, openBlock as o, createElementBlock as l, createVNode as c, createSlots as d, unref as s, withCtx as h, renderSlot as n, createCommentVNode as m, createElementVNode as p } from "vue";
|
|
2
|
+
import u from "../shared/FieldLabel.vue.js";
|
|
3
|
+
const f = { class: "form-row" }, v = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "label-container"
|
|
6
|
-
},
|
|
6
|
+
}, x = { class: "content" }, y = /* @__PURE__ */ r({
|
|
7
7
|
__name: "FormRow",
|
|
8
8
|
props: {
|
|
9
9
|
label: { default: "" },
|
|
10
10
|
mandatory: { type: Boolean, default: !1 },
|
|
11
11
|
testId: { default: "" },
|
|
12
|
-
hoverHelpText: { default:
|
|
13
|
-
hoverHelpTextPlacement: { default: "top" }
|
|
12
|
+
hoverHelpText: { default: null },
|
|
13
|
+
hoverHelpTextPlacement: { default: "top" },
|
|
14
|
+
helpTextIconTooltipTrigger: { default: () => ["hover"] }
|
|
14
15
|
},
|
|
15
16
|
setup(e) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
const a = i();
|
|
18
|
+
return (t, T) => (o(), l("div", f, [
|
|
19
|
+
e.label ? (o(), l("div", v, [
|
|
20
|
+
c(u, {
|
|
19
21
|
label: e.label,
|
|
20
22
|
mandatory: e.mandatory,
|
|
21
23
|
"hover-help-text": e.hoverHelpText,
|
|
22
24
|
"hover-help-text-placement": e.hoverHelpTextPlacement,
|
|
25
|
+
"help-text-icon-tooltip-trigger": e.helpTextIconTooltipTrigger,
|
|
23
26
|
"test-id": e.testId
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
}, d({ _: 2 }, [
|
|
28
|
+
s(a)["icon-tooltip-content"] ? {
|
|
29
|
+
name: "icon-tooltip-content",
|
|
30
|
+
fn: h(() => [
|
|
31
|
+
n(t.$slots, "icon-tooltip-content", {}, void 0, !0)
|
|
32
|
+
]),
|
|
33
|
+
key: "0"
|
|
34
|
+
} : void 0
|
|
35
|
+
]), 1032, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "help-text-icon-tooltip-trigger", "test-id"])
|
|
36
|
+
])) : m("", !0),
|
|
37
|
+
p("div", x, [
|
|
38
|
+
n(t.$slots, "default", {}, void 0, !0)
|
|
28
39
|
])
|
|
29
40
|
]));
|
|
30
41
|
}
|
|
31
42
|
});
|
|
32
43
|
export {
|
|
33
|
-
|
|
44
|
+
y as default
|
|
34
45
|
};
|