@ironsource/shared-ui 2.1.12-test.53 → 2.1.12-test.54
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_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6db25923_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +122 -112
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +42 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +125 -119
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +38 -34
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/index.d.ts +20 -1
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +99 -97
- package/components/dropdown/v4/DropdownV4.vue.d.ts +2 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +89 -82
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +41 -1
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/link/Link.vue.d.ts +5 -0
- package/components/link/Link.vue.js +3 -3
- package/components/link/Link.vue2.js +36 -28
- package/components/link/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.js +4 -4
- package/components/sortableList/SortableItem.vue2.js +3 -3
- package/components/sortableList/SortableList.vue.d.ts +2 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +96 -106
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +39 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +4 -3
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +363 -335
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
- package/components/table/v4/DataGridHeader.vue.js +2 -2
- package/components/table/v4/DataGridHeader.vue2.js +30 -28
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +104 -103
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/index.d.ts +410 -288
- package/index.js +87 -79
- package/package.json +10 -1
- package/testids/index.d.ts +36 -0
- package/testids/index.js +37 -31
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -2,19 +2,24 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
2
2
|
selected: unknown;
|
|
3
3
|
options: unknown[];
|
|
4
4
|
optionNameKey: string;
|
|
5
|
+
testId?: string;
|
|
5
6
|
}>, {
|
|
6
7
|
options: () => any[];
|
|
8
|
+
testId: string;
|
|
7
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
10
|
"update:selected": (option: unknown) => void;
|
|
9
11
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
12
|
selected: unknown;
|
|
11
13
|
options: unknown[];
|
|
12
14
|
optionNameKey: string;
|
|
15
|
+
testId?: string;
|
|
13
16
|
}>, {
|
|
14
17
|
options: () => any[];
|
|
18
|
+
testId: string;
|
|
15
19
|
}>>> & {
|
|
16
20
|
"onUpdate:selected"?: (option: unknown) => any;
|
|
17
21
|
}, {
|
|
22
|
+
testId: string;
|
|
18
23
|
options: unknown[];
|
|
19
24
|
}>;
|
|
20
25
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as l, openBlock as
|
|
1
|
+
import { defineComponent as l, openBlock as s, createElementBlock as m, createVNode as r, unref as n, isRef as d, withCtx as a, mergeProps as c } from "vue";
|
|
2
2
|
import u from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import f from "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
@@ -15,28 +15,30 @@ const y = { class: "legend-sorting" }, L = /* @__PURE__ */ l({
|
|
|
15
15
|
props: {
|
|
16
16
|
selected: null,
|
|
17
17
|
options: { default: () => [] },
|
|
18
|
-
optionNameKey: null
|
|
18
|
+
optionNameKey: null,
|
|
19
|
+
testId: { default: "" }
|
|
19
20
|
},
|
|
20
21
|
emits: ["update:selected"],
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
return (v, i) => (
|
|
22
|
+
setup(e, { emit: p }) {
|
|
23
|
+
const o = g(e, "selected", p);
|
|
24
|
+
return (v, i) => (s(), m("div", y, [
|
|
24
25
|
r(n(u), {
|
|
25
|
-
selected: n(
|
|
26
|
-
"onUpdate:selected": i[0] || (i[0] = (
|
|
27
|
-
"display-value": (
|
|
28
|
-
options:
|
|
29
|
-
"option-name-key":
|
|
30
|
-
placement: "bottom-end"
|
|
26
|
+
selected: n(o),
|
|
27
|
+
"onUpdate:selected": i[0] || (i[0] = (t) => d(o) ? o.value = t : null),
|
|
28
|
+
"display-value": (t) => t[e.optionNameKey],
|
|
29
|
+
options: e.options,
|
|
30
|
+
"option-name-key": e.optionNameKey,
|
|
31
|
+
placement: "bottom-end",
|
|
32
|
+
"test-id": e.testId
|
|
31
33
|
}, {
|
|
32
|
-
"dropdown-trigger": a(({ buttonTriggerProps:
|
|
33
|
-
r(n(f), c(
|
|
34
|
+
"dropdown-trigger": a(({ buttonTriggerProps: t }) => [
|
|
35
|
+
r(n(f), c(t, {
|
|
34
36
|
"icon-name": "funnel-simple",
|
|
35
37
|
"icon-type": "regular"
|
|
36
38
|
}), null, 16)
|
|
37
39
|
]),
|
|
38
40
|
_: 1
|
|
39
|
-
}, 8, ["selected", "display-value", "options", "option-name-key"])
|
|
41
|
+
}, 8, ["selected", "display-value", "options", "option-name-key", "test-id"])
|
|
40
42
|
]));
|
|
41
43
|
}
|
|
42
44
|
});
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { ChartType } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
chartType: ChartType;
|
|
4
4
|
hideLegend: boolean;
|
|
5
|
+
testId?: string;
|
|
6
|
+
}>, {
|
|
7
|
+
testId: string;
|
|
5
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
9
|
"update:chartType": (type: ChartType) => void;
|
|
7
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
11
|
chartType: ChartType;
|
|
9
12
|
hideLegend: boolean;
|
|
13
|
+
testId?: string;
|
|
14
|
+
}>, {
|
|
15
|
+
testId: string;
|
|
10
16
|
}>>> & {
|
|
11
17
|
"onUpdate:chartType"?: (type: ChartType) => any;
|
|
12
|
-
}, {
|
|
18
|
+
}, {
|
|
19
|
+
testId: string;
|
|
20
|
+
}>, {
|
|
13
21
|
"before-chart-type"?(_: {}): any;
|
|
14
22
|
metric?(_: {}): any;
|
|
15
23
|
breakdowns?(_: {}): any;
|
|
@@ -24,6 +32,14 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
24
32
|
required: true;
|
|
25
33
|
};
|
|
26
34
|
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
27
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
44
|
new (): {
|
|
29
45
|
$slots: S;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./SettingsHeader.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../SettingsHeader.
|
|
4
|
-
const
|
|
3
|
+
// import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a869d327"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,66 +1,73 @@
|
|
|
1
|
-
import "../../SettingsHeader.
|
|
2
|
-
import
|
|
1
|
+
import "../../SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css"; import { defineComponent as y, computed as T, openBlock as v, createElementBlock as I, mergeProps as m, unref as t, createElementVNode as s, normalizeClass as c, renderSlot as i, createVNode as u, isRef as b, withCtx as w } from "vue";
|
|
2
|
+
import N 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";
|
|
6
6
|
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import O from "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
10
|
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
11
|
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
12
|
-
import { DROPDOWN_TYPE_OPTIONS as
|
|
13
|
-
|
|
12
|
+
import { DROPDOWN_TYPE_OPTIONS as f } from "./consts.js";
|
|
13
|
+
import { useTestIdAttrs as k } from "../../utils/testIds.js";
|
|
14
|
+
import { ChartSettingsHeaderTestIdModifiers as n } from "../../testids/index.js";
|
|
15
|
+
const C = { class: "chart-type-selection" }, M = /* @__PURE__ */ y({
|
|
14
16
|
__name: "SettingsHeader",
|
|
15
17
|
props: {
|
|
16
18
|
chartType: null,
|
|
17
|
-
hideLegend: { type: Boolean }
|
|
19
|
+
hideLegend: { type: Boolean },
|
|
20
|
+
testId: { default: "" }
|
|
18
21
|
},
|
|
19
22
|
emits: ["update:chartType"],
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
23
|
+
setup(r, { emit: h }) {
|
|
24
|
+
const a = r, o = T({
|
|
22
25
|
get() {
|
|
23
|
-
return
|
|
26
|
+
return f.find(({ id: e }) => e === a.chartType);
|
|
24
27
|
},
|
|
25
28
|
set(e) {
|
|
26
|
-
|
|
29
|
+
h("update:chartType", e.id);
|
|
27
30
|
}
|
|
28
|
-
}),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
}), l = (e) => `Chart: ${e.name}`, g = k(
|
|
32
|
+
a.testId,
|
|
33
|
+
n
|
|
34
|
+
);
|
|
35
|
+
return (e, p) => (v(), I("div", m({ class: "settings-header-container" }, t(g)[t(n).CONTAINER]), [
|
|
36
|
+
s("div", {
|
|
37
|
+
class: c(["settings", { "settings-spacer": !r.hideLegend }])
|
|
32
38
|
}, [
|
|
33
39
|
i(e.$slots, "before-chart-type", {}, void 0, !0),
|
|
34
|
-
|
|
35
|
-
|
|
40
|
+
s("div", C, [
|
|
41
|
+
u(t(N), {
|
|
36
42
|
selected: t(o),
|
|
37
|
-
"onUpdate:selected":
|
|
38
|
-
options: t(
|
|
43
|
+
"onUpdate:selected": p[0] || (p[0] = (d) => b(o) ? o.value = d : null),
|
|
44
|
+
options: t(f),
|
|
39
45
|
"option-name-key": "name",
|
|
40
|
-
"display-value":
|
|
46
|
+
"display-value": l,
|
|
41
47
|
placeholder: "Select chart type",
|
|
42
|
-
size: "small"
|
|
48
|
+
size: "small",
|
|
49
|
+
"test-id": `${r.testId}-${t(n).TYPE_DROPDOWN}`
|
|
43
50
|
}, {
|
|
44
|
-
"dropdown-trigger":
|
|
45
|
-
|
|
46
|
-
label:
|
|
51
|
+
"dropdown-trigger": w(({ buttonTriggerProps: d }) => [
|
|
52
|
+
u(t(O), m(d, {
|
|
53
|
+
label: l(t(o))
|
|
47
54
|
}), null, 16, ["label"])
|
|
48
55
|
]),
|
|
49
56
|
_: 1
|
|
50
|
-
}, 8, ["selected", "options"])
|
|
57
|
+
}, 8, ["selected", "options", "test-id"])
|
|
51
58
|
]),
|
|
52
|
-
|
|
59
|
+
s("div", null, [
|
|
53
60
|
i(e.$slots, "metric", {}, void 0, !0)
|
|
54
61
|
])
|
|
55
62
|
], 2),
|
|
56
|
-
|
|
57
|
-
class:
|
|
63
|
+
s("div", {
|
|
64
|
+
class: c(["breakdowns", { "breakdowns-border": !r.hideLegend }])
|
|
58
65
|
}, [
|
|
59
66
|
i(e.$slots, "breakdowns", {}, void 0, !0)
|
|
60
67
|
], 2)
|
|
61
|
-
]));
|
|
68
|
+
], 16));
|
|
62
69
|
}
|
|
63
70
|
});
|
|
64
71
|
export {
|
|
65
|
-
|
|
72
|
+
M as default
|
|
66
73
|
};
|
|
@@ -6,6 +6,7 @@ declare const ChartTypes: () => ({
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
header: string;
|
|
9
|
+
testId: string;
|
|
9
10
|
loading: boolean;
|
|
10
11
|
visibleIds: unknown[];
|
|
11
12
|
minVisible: number;
|
|
@@ -53,6 +54,10 @@ declare const ChartTypes: () => ({
|
|
|
53
54
|
type: import("vue").PropType<string>;
|
|
54
55
|
default: string;
|
|
55
56
|
};
|
|
57
|
+
testId: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
56
61
|
loading: {
|
|
57
62
|
type: import("vue").PropType<boolean>;
|
|
58
63
|
default: boolean;
|
|
@@ -234,7 +239,7 @@ declare const ChartTypes: () => ({
|
|
|
234
239
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
235
240
|
"onUpdate:sortSelected"?: (sortOption: unknown) => any;
|
|
236
241
|
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
237
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
242
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "testId" | "loading" | "visibleIds" | "minVisible" | "maxVisible" | "maxLimitTooltipText" | "sortSelected" | "sortOptions" | "sortOptionNameKey" | "chartType" | "hideLegend" | "xAxisFormat" | "xAxisDateInterval" | "totalsChart" | "parsing" | "yAxisFormat" | "valueSuffix" | "valuePrefix" | "trendTooltip" | "subheader" | "subheaderTooltip" | "trendValue" | "trendDirection" | "noteText" | "dataSets" | "tickCount" | "truncateTickLabels" | "keepSubheaderVisible" | "empty" | "noDataIcon" | "noDataTitle" | "noDataSubtitle" | "withAnimation" | "tooltipTotalType" | "tooltipTotalCalcFn" | "tooltipOrder" | "indicateIncompleteData" | "tooltipExcludeTotalItem" | "fullHeight" | "fullHeightBottomSpacing" | "withSettingsHeader" | "extraCharts" | "colorVariant">;
|
|
238
243
|
$attrs: {
|
|
239
244
|
[x: string]: unknown;
|
|
240
245
|
};
|
|
@@ -253,6 +258,10 @@ declare const ChartTypes: () => ({
|
|
|
253
258
|
type: import("vue").PropType<string>;
|
|
254
259
|
default: string;
|
|
255
260
|
};
|
|
261
|
+
testId: {
|
|
262
|
+
type: import("vue").PropType<string>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
256
265
|
loading: {
|
|
257
266
|
type: import("vue").PropType<boolean>;
|
|
258
267
|
default: boolean;
|
|
@@ -440,6 +449,7 @@ declare const ChartTypes: () => ({
|
|
|
440
449
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
441
450
|
}, string, {
|
|
442
451
|
header: string;
|
|
452
|
+
testId: string;
|
|
443
453
|
loading: boolean;
|
|
444
454
|
visibleIds: unknown[];
|
|
445
455
|
minVisible: number;
|
|
@@ -507,6 +517,10 @@ declare const ChartTypes: () => ({
|
|
|
507
517
|
type: import("vue").PropType<string>;
|
|
508
518
|
default: string;
|
|
509
519
|
};
|
|
520
|
+
testId: {
|
|
521
|
+
type: import("vue").PropType<string>;
|
|
522
|
+
default: string;
|
|
523
|
+
};
|
|
510
524
|
loading: {
|
|
511
525
|
type: import("vue").PropType<boolean>;
|
|
512
526
|
default: boolean;
|
|
@@ -697,6 +711,10 @@ declare const ChartTypes: () => ({
|
|
|
697
711
|
type: import("vue").PropType<string>;
|
|
698
712
|
default: string;
|
|
699
713
|
};
|
|
714
|
+
testId: {
|
|
715
|
+
type: import("vue").PropType<string>;
|
|
716
|
+
default: string;
|
|
717
|
+
};
|
|
700
718
|
loading: {
|
|
701
719
|
type: import("vue").PropType<boolean>;
|
|
702
720
|
default: boolean;
|
|
@@ -884,6 +902,7 @@ declare const ChartTypes: () => ({
|
|
|
884
902
|
"update:sortSelected": (sortOption: unknown) => void;
|
|
885
903
|
}, string, {
|
|
886
904
|
header: string;
|
|
905
|
+
testId: string;
|
|
887
906
|
loading: boolean;
|
|
888
907
|
visibleIds: unknown[];
|
|
889
908
|
minVisible: number;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SortableListItem } from '@/components/sortableList/SortableList.types';
|
|
2
|
+
export type ColumnConfigSection = {
|
|
3
|
+
sectionId: string;
|
|
4
|
+
title: string;
|
|
5
|
+
isGrouped: boolean;
|
|
6
|
+
maxSelections?: number;
|
|
7
|
+
sectionOptions: SortableListItem[] | SectionOptionsGroup[];
|
|
8
|
+
};
|
|
9
|
+
export type SectionOptionsGroup = {
|
|
10
|
+
displayText: string;
|
|
11
|
+
options: SortableListItem[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
columnsConfig: ColumnConfigSection[];
|
|
4
|
+
selection: (string | number)[];
|
|
5
|
+
childSelection: Record<string, string | number>;
|
|
6
|
+
alwaysVisibleCount?: number;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
testId?: string;
|
|
9
|
+
}>, {
|
|
10
|
+
columnsConfig: () => any[];
|
|
11
|
+
selection: () => any[];
|
|
12
|
+
childSelection: () => {};
|
|
13
|
+
alwaysVisibleCount: number;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
testId: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:selection": (value: unknown[]) => void;
|
|
18
|
+
"update:childSelection": (value: Record<string, string | number>) => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
+
columnsConfig: ColumnConfigSection[];
|
|
21
|
+
selection: (string | number)[];
|
|
22
|
+
childSelection: Record<string, string | number>;
|
|
23
|
+
alwaysVisibleCount?: number;
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
testId?: string;
|
|
26
|
+
}>, {
|
|
27
|
+
columnsConfig: () => any[];
|
|
28
|
+
selection: () => any[];
|
|
29
|
+
childSelection: () => {};
|
|
30
|
+
alwaysVisibleCount: number;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
testId: string;
|
|
33
|
+
}>>> & {
|
|
34
|
+
"onUpdate:selection"?: (value: unknown[]) => any;
|
|
35
|
+
"onUpdate:childSelection"?: (value: Record<string, string | number>) => any;
|
|
36
|
+
}, {
|
|
37
|
+
testId: string;
|
|
38
|
+
loading: boolean;
|
|
39
|
+
selection: (string | number)[];
|
|
40
|
+
alwaysVisibleCount: number;
|
|
41
|
+
columnsConfig: ColumnConfigSection[];
|
|
42
|
+
childSelection: Record<string, string | number>;
|
|
43
|
+
}>;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
+
} : {
|
|
50
|
+
type: import('vue').PropType<T[K]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
type __VLS_WithDefaults<P, D> = {
|
|
55
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
|
+
default: D[K];
|
|
57
|
+
}> : P[K];
|
|
58
|
+
};
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K];
|
|
61
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ColumnConfigurator.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-702ad52e"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import "../../ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css"; import { defineComponent as E, ref as g, computed as f, watch as I, openBlock as p, createElementBlock as v, mergeProps as O, unref as s, Fragment as w, renderList as T, createVNode as u, isRef as U, withCtx as h, createElementVNode as x } from "vue";
|
|
2
|
+
import N from "./SectionHeaderText.vue.js";
|
|
3
|
+
import R from "../sortableList/SortableSelectableList.vue.js";
|
|
4
|
+
import k from "../columnPicker/RemoveButton.vue.js";
|
|
5
|
+
import { mapOverObject as B, omitKeys as A } from "../../utils/object.js";
|
|
6
|
+
import { findOptionInSection as P } from "./utils.js";
|
|
7
|
+
import { useTestIdAttrs as V } from "../../utils/testIds.js";
|
|
8
|
+
import { ColumnConfiguratorTestIdModifiers as c } from "../../testids/index.js";
|
|
9
|
+
import L from "./SectionDropdown.vue.js";
|
|
10
|
+
const M = { class: "section-header" }, Q = /* @__PURE__ */ E({
|
|
11
|
+
__name: "ColumnConfigurator",
|
|
12
|
+
props: {
|
|
13
|
+
columnsConfig: { default: () => [] },
|
|
14
|
+
selection: { default: () => [] },
|
|
15
|
+
childSelection: { default: () => ({}) },
|
|
16
|
+
alwaysVisibleCount: { default: 6 },
|
|
17
|
+
loading: { type: Boolean, default: !1 },
|
|
18
|
+
testId: { default: "" }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:selection", "update:childSelection"],
|
|
21
|
+
setup(n, { emit: m }) {
|
|
22
|
+
const i = n, r = g(null), d = f({
|
|
23
|
+
get: () => i.childSelection,
|
|
24
|
+
set: (t) => {
|
|
25
|
+
m("update:childSelection", t);
|
|
26
|
+
}
|
|
27
|
+
}), C = f(
|
|
28
|
+
() => B(a.value, (t) => t?.length ?? 0)
|
|
29
|
+
), a = g({});
|
|
30
|
+
I(
|
|
31
|
+
[() => i.selection, () => i.columnsConfig],
|
|
32
|
+
() => {
|
|
33
|
+
a.value = i.columnsConfig.reduce((t, o) => (t[o.sectionId] = (i.selection ?? []).map((e) => P(o, e)).filter((e) => e), t), {});
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
immediate: !0
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
const S = (t, o) => {
|
|
40
|
+
const e = o;
|
|
41
|
+
a.value[t] = e, e.forEach((l) => {
|
|
42
|
+
l.children?.length > 0 && (d.value = {
|
|
43
|
+
...d.value,
|
|
44
|
+
[l.id]: l.children[0].id
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}, $ = f(
|
|
48
|
+
() => Object.values(a.value).reduce(
|
|
49
|
+
(t, o) => t.concat(o.map(({ id: e }) => e)),
|
|
50
|
+
[]
|
|
51
|
+
)
|
|
52
|
+
);
|
|
53
|
+
I($, (t) => {
|
|
54
|
+
JSON.stringify(t) !== JSON.stringify(i.selection) && m("update:selection", t);
|
|
55
|
+
});
|
|
56
|
+
const b = (t) => {
|
|
57
|
+
m(
|
|
58
|
+
"update:selection",
|
|
59
|
+
i.selection.filter((o) => o !== t)
|
|
60
|
+
), r.value === t && (r.value = null), d.value = A(d.value, [String(t)]);
|
|
61
|
+
}, y = V(
|
|
62
|
+
i.testId,
|
|
63
|
+
c
|
|
64
|
+
);
|
|
65
|
+
return (t, o) => (p(), v("div", O({ class: "column-configurator" }, s(y)[s(c).WRAPPER]), [
|
|
66
|
+
(p(!0), v(w, null, T(n.columnsConfig, (e) => (p(), v("div", {
|
|
67
|
+
key: e.sectionId,
|
|
68
|
+
class: "column-section"
|
|
69
|
+
}, [
|
|
70
|
+
u(R, {
|
|
71
|
+
items: a.value[e.sectionId],
|
|
72
|
+
"onUpdate:items": (l) => a.value[e.sectionId] = l,
|
|
73
|
+
"open-id": r.value,
|
|
74
|
+
"onUpdate:open-id": o[0] || (o[0] = (l) => r.value = l),
|
|
75
|
+
"selected-child-per-item": s(d),
|
|
76
|
+
"onUpdate:selected-child-per-item": o[1] || (o[1] = (l) => U(d) ? d.value = l : null),
|
|
77
|
+
"always-visible-count": n.alwaysVisibleCount,
|
|
78
|
+
"is-loading": n.loading,
|
|
79
|
+
variant: "compact",
|
|
80
|
+
"draggable-area": "full",
|
|
81
|
+
"loading-row-count": 3,
|
|
82
|
+
"test-id": `${n.testId}-${s(c).LIST}-${e.sectionId}`
|
|
83
|
+
}, {
|
|
84
|
+
header: h(() => [
|
|
85
|
+
x("div", M, [
|
|
86
|
+
u(N, {
|
|
87
|
+
"header-text": e.title,
|
|
88
|
+
"records-count": n.loading ? null : s(C)[e.sectionId],
|
|
89
|
+
"data-testid": `${n.testId}-${s(c).SECTION_HEADER}-${e.sectionId}`
|
|
90
|
+
}, null, 8, ["header-text", "records-count", "data-testid"]),
|
|
91
|
+
u(L, {
|
|
92
|
+
selected: a.value[e.sectionId],
|
|
93
|
+
section: e,
|
|
94
|
+
"test-id": n.testId,
|
|
95
|
+
"onUpdate:selected": (l) => S(e.sectionId, l)
|
|
96
|
+
}, null, 8, ["selected", "section", "test-id", "onUpdate:selected"])
|
|
97
|
+
])
|
|
98
|
+
]),
|
|
99
|
+
menu: h(({ item: l }) => [
|
|
100
|
+
u(k, {
|
|
101
|
+
"test-id": `${n.testId}-${s(c).REMOVE_BUTTON}-${l.id}`,
|
|
102
|
+
onClick: (j) => b(l.id)
|
|
103
|
+
}, null, 8, ["test-id", "onClick"])
|
|
104
|
+
]),
|
|
105
|
+
_: 2
|
|
106
|
+
}, 1032, ["items", "onUpdate:items", "open-id", "selected-child-per-item", "always-visible-count", "is-loading", "test-id"])
|
|
107
|
+
]))), 128))
|
|
108
|
+
], 16));
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
Q as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
|
|
2
|
+
import { SortableListItem } from '@/components/sortableList/SortableList.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
selected: SortableListItem[];
|
|
5
|
+
section: ColumnConfigSection;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}>, {
|
|
8
|
+
testId: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:selected": (value: SortableListItem[]) => void;
|
|
11
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
selected: SortableListItem[];
|
|
13
|
+
section: ColumnConfigSection;
|
|
14
|
+
testId?: string;
|
|
15
|
+
}>, {
|
|
16
|
+
testId: string;
|
|
17
|
+
}>>> & {
|
|
18
|
+
"onUpdate:selected"?: (value: SortableListItem[]) => any;
|
|
19
|
+
}, {
|
|
20
|
+
testId: string;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./SectionDropdown.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-cfad60a8"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "../../SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css"; import { defineComponent as c, openBlock as m, createBlock as a, unref as t, withCtx as p, createVNode as u, mergeProps as f } from "vue";
|
|
2
|
+
import { DISPLAY_FIELD_NAME as n } from "./consts.js";
|
|
3
|
+
import g from "../dropdown/v4/DropdownV4.vue.js";
|
|
4
|
+
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
5
|
+
import D from "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
6
|
+
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
7
|
+
import "../dropdown/v4/AppDropdownTrigger.vue.js";
|
|
8
|
+
import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
9
|
+
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
10
|
+
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
11
|
+
import "../dropdown/v4/OptionV4.vue.js";
|
|
12
|
+
import "../dropdown/v4/ConditionalDropdown.vue.js";
|
|
13
|
+
import { ColumnConfiguratorTestIdModifiers as r } from "../../testids/index.js";
|
|
14
|
+
import { matchString as I } from "../../utils/search.js";
|
|
15
|
+
const v = /* @__PURE__ */ c({
|
|
16
|
+
__name: "SectionDropdown",
|
|
17
|
+
props: {
|
|
18
|
+
selected: null,
|
|
19
|
+
section: null,
|
|
20
|
+
testId: { default: "" }
|
|
21
|
+
},
|
|
22
|
+
emits: ["update:selected"],
|
|
23
|
+
setup(e, { emit: l }) {
|
|
24
|
+
const d = (s, i) => I(s[n], i);
|
|
25
|
+
return (s, i) => (m(), a(t(g), {
|
|
26
|
+
selected: e.selected,
|
|
27
|
+
class: "section-dropdown",
|
|
28
|
+
"display-value": (o) => o[t(n)],
|
|
29
|
+
options: e.section.sectionOptions,
|
|
30
|
+
"grouped-options": e.section.isGrouped,
|
|
31
|
+
"max-selections": e.section.maxSelections,
|
|
32
|
+
"option-name-key": t(n),
|
|
33
|
+
"comparing-key": "id",
|
|
34
|
+
multi: "",
|
|
35
|
+
"inline-search": "",
|
|
36
|
+
"show-select-all": !1,
|
|
37
|
+
"show-clear-all": !1,
|
|
38
|
+
"on-search": d,
|
|
39
|
+
placement: "bottom-end",
|
|
40
|
+
"test-id": `${e.testId}-${t(r).DROPDOWN}-${e.section.sectionId}`,
|
|
41
|
+
"onUpdate:selected": i[0] || (i[0] = (o) => l("update:selected", o))
|
|
42
|
+
}, {
|
|
43
|
+
"dropdown-trigger": p(({ buttonTriggerProps: o }) => [
|
|
44
|
+
u(t(D), f({
|
|
45
|
+
"icon-name": "plus",
|
|
46
|
+
"icon-type": "regular",
|
|
47
|
+
size: "extraSmall",
|
|
48
|
+
"test-id": `${e.testId}-${t(r).ADD_BUTTON}-${e.section.sectionId}`
|
|
49
|
+
}, o), null, 16, ["test-id"])
|
|
50
|
+
]),
|
|
51
|
+
_: 1
|
|
52
|
+
}, 8, ["selected", "display-value", "options", "grouped-options", "max-selections", "option-name-key", "test-id"]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
v as default
|
|
57
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
headerText: string;
|
|
3
|
+
recordsCount: number;
|
|
4
|
+
}>, {
|
|
5
|
+
headerText: string;
|
|
6
|
+
recordsCount: any;
|
|
7
|
+
}>, {}, 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<{
|
|
8
|
+
headerText: string;
|
|
9
|
+
recordsCount: number;
|
|
10
|
+
}>, {
|
|
11
|
+
headerText: string;
|
|
12
|
+
recordsCount: any;
|
|
13
|
+
}>>>, {
|
|
14
|
+
headerText: string;
|
|
15
|
+
recordsCount: number;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|