@ironsource/shared-ui 2.1.12-test.98 → 2.1.12
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/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_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_cd41c5ca_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/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- 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/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_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/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_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/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +21 -1
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +130 -114
- 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 +43 -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 +15 -0
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +173 -156
- package/components/chart/ChartStoryArgs.d.ts +17 -0
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +39 -35
- 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/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +26 -26
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/consts.d.ts +5 -1
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +77 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +3 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +20 -14
- 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 +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +60 -60
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +157 -157
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- 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 +81 -3
- 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/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +70 -70
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +95 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +65 -0
- package/components/link/index.d.ts +296 -0
- package/components/link/index.js +6 -0
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/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.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +5 -5
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +12 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +111 -113
- 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/composables/useHoverEffect.js +1 -1
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +77 -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 +12 -7
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +273 -268
- 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 +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +84 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
- package/components/table/v4/index.d.ts +646 -332
- package/components/table/v4/index.js +11 -5
- package/components/table/v4/storyUtils.d.ts +25 -0
- 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/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 +18 -17
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +2675 -1649
- package/index.js +137 -121
- package/package.json +18 -1
- package/testids/index.d.ts +47 -1
- package/testids/index.js +40 -32
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +38 -21
- 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_e8f25a03_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_db8a902c_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_4f67d41d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -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
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./SectionHeaderText.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0b8d3d79"]]);
|
|
5
|
+
export {
|
|
6
|
+
s as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "../../SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css"; import { defineComponent as r, openBlock as o, createElementBlock as a, createVNode as n, unref as c, withCtx as d, createTextVNode as i, toDisplayString as t } from "vue";
|
|
2
|
+
import s from "../typography/v4/Typography.vue.js";
|
|
3
|
+
const u = { class: "section-header-text" }, x = /* @__PURE__ */ r({
|
|
4
|
+
__name: "SectionHeaderText",
|
|
5
|
+
props: {
|
|
6
|
+
headerText: { default: "" },
|
|
7
|
+
recordsCount: { default: null }
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
return (l, f) => (o(), a("div", u, [
|
|
11
|
+
n(c(s), { variant: "h5" }, {
|
|
12
|
+
default: d(() => [
|
|
13
|
+
i(t(e.headerText) + " " + t(e.recordsCount ? `(${e.recordsCount})` : ""), 1)
|
|
14
|
+
]),
|
|
15
|
+
_: 1
|
|
16
|
+
})
|
|
17
|
+
]));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
x as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
allShown: boolean;
|
|
3
|
+
}>, {
|
|
4
|
+
allShown: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:allShown": (value: boolean) => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
allShown: boolean;
|
|
9
|
+
}>, {
|
|
10
|
+
allShown: boolean;
|
|
11
|
+
}>>> & {
|
|
12
|
+
"onUpdate:allShown"?: (value: boolean) => any;
|
|
13
|
+
}, {
|
|
14
|
+
allShown: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ShowMoreLink.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9fc3bc1b"]]);
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import "../../ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css"; import { defineComponent as f, openBlock as n, createElementBlock as k, unref as t, createBlock as r, mergeProps as l, withCtx as a, createTextVNode as i, createCommentVNode as m } from "vue";
|
|
2
|
+
import p from "../link/Link.vue.js";
|
|
3
|
+
import { useVModel as w } from "@vueuse/core";
|
|
4
|
+
const h = { class: "show-more-link" }, y = /* @__PURE__ */ f({
|
|
5
|
+
__name: "ShowMoreLink",
|
|
6
|
+
props: {
|
|
7
|
+
allShown: { type: Boolean, default: !1 }
|
|
8
|
+
},
|
|
9
|
+
emits: ["update:allShown"],
|
|
10
|
+
setup(u, { emit: c }) {
|
|
11
|
+
const e = w(u, "allShown", c), s = {
|
|
12
|
+
variant: "body2",
|
|
13
|
+
iconPosition: "start"
|
|
14
|
+
};
|
|
15
|
+
return (v, o) => (n(), k("div", h, [
|
|
16
|
+
t(e) ? m("", !0) : (n(), r(t(p), l({ key: 0 }, s, {
|
|
17
|
+
"test-id": "show-more",
|
|
18
|
+
"icon-name": "plus",
|
|
19
|
+
onClick: o[0] || (o[0] = (d) => e.value = !0)
|
|
20
|
+
}), {
|
|
21
|
+
default: a(() => [
|
|
22
|
+
i(" Show more ")
|
|
23
|
+
]),
|
|
24
|
+
_: 1
|
|
25
|
+
}, 16)),
|
|
26
|
+
t(e) ? (n(), r(t(p), l({ key: 1 }, s, {
|
|
27
|
+
"test-id": "show-less",
|
|
28
|
+
"icon-name": "minus",
|
|
29
|
+
onClick: o[1] || (o[1] = (d) => e.value = !1)
|
|
30
|
+
}), {
|
|
31
|
+
default: a(() => [
|
|
32
|
+
i(" Show less ")
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 16)) : m("", !0)
|
|
36
|
+
]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
y as default
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DISPLAY_FIELD_NAME = "displayText";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import ColumnConfigurator from './ColumnConfigurator.vue';
|
|
2
|
+
declare const ColumnConfiguratorTypes: () => import("vue").DefineComponent<{
|
|
3
|
+
testId: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
loading: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
selection: {
|
|
12
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
13
|
+
required: true;
|
|
14
|
+
default: () => any[];
|
|
15
|
+
};
|
|
16
|
+
alwaysVisibleCount: {
|
|
17
|
+
type: import("vue").PropType<number>;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
columnsConfig: {
|
|
21
|
+
type: import("vue").PropType<import("./ColumnConfigurator.types").ColumnConfigSection[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
default: () => any[];
|
|
24
|
+
};
|
|
25
|
+
childSelection: {
|
|
26
|
+
type: import("vue").PropType<Record<string, string | number>>;
|
|
27
|
+
required: true;
|
|
28
|
+
default: () => {};
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"update:selection": (value: unknown[]) => void;
|
|
32
|
+
"update:childSelection": (value: Record<string, string | number>) => void;
|
|
33
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
testId: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
loading: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
selection: {
|
|
43
|
+
type: import("vue").PropType<(string | number)[]>;
|
|
44
|
+
required: true;
|
|
45
|
+
default: () => any[];
|
|
46
|
+
};
|
|
47
|
+
alwaysVisibleCount: {
|
|
48
|
+
type: import("vue").PropType<number>;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
columnsConfig: {
|
|
52
|
+
type: import("vue").PropType<import("./ColumnConfigurator.types").ColumnConfigSection[]>;
|
|
53
|
+
required: true;
|
|
54
|
+
default: () => any[];
|
|
55
|
+
};
|
|
56
|
+
childSelection: {
|
|
57
|
+
type: import("vue").PropType<Record<string, string | number>>;
|
|
58
|
+
required: true;
|
|
59
|
+
default: () => {};
|
|
60
|
+
};
|
|
61
|
+
}>> & {
|
|
62
|
+
"onUpdate:selection"?: (value: unknown[]) => any;
|
|
63
|
+
"onUpdate:childSelection"?: (value: Record<string, string | number>) => any;
|
|
64
|
+
}, {
|
|
65
|
+
testId: string;
|
|
66
|
+
loading: boolean;
|
|
67
|
+
selection: (string | number)[];
|
|
68
|
+
alwaysVisibleCount: number;
|
|
69
|
+
columnsConfig: import("./ColumnConfigurator.types").ColumnConfigSection[];
|
|
70
|
+
childSelection: Record<string, string | number>;
|
|
71
|
+
}>[];
|
|
72
|
+
export type { ColumnConfigSection } from './ColumnConfigurator.types';
|
|
73
|
+
export { ColumnConfigurator, ColumnConfiguratorTypes };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ColumnConfigSection } from '@/components/columnConfigurator/ColumnConfigurator.types';
|
|
2
|
+
export declare enum ColumnId {
|
|
3
|
+
DATE = "date",
|
|
4
|
+
AD_FORMAT = "adFormat",
|
|
5
|
+
APP = "app",
|
|
6
|
+
PLATFORM = "platform",
|
|
7
|
+
COUNTRY = "country",
|
|
8
|
+
SEGMENT = "segment",
|
|
9
|
+
REVENUE = "revenue",
|
|
10
|
+
DAU = "dau",
|
|
11
|
+
IMPRESSIONS = "impressions",
|
|
12
|
+
CLICKS = "clicks",
|
|
13
|
+
CTR = "ctr",
|
|
14
|
+
ENGAGED_SESSIONS = "engagedSessions",
|
|
15
|
+
ENGAGEMENT_RATE = "engagementRate",
|
|
16
|
+
QCTR = "qctr",
|
|
17
|
+
REACH = "reach",
|
|
18
|
+
UNIQUE_CLICKS = "uniqueClicks",
|
|
19
|
+
VIDEO_VIEWS = "videoViews"
|
|
20
|
+
}
|
|
21
|
+
export declare const TABLE_COLUMNS: ({
|
|
22
|
+
id: ColumnId;
|
|
23
|
+
title: string;
|
|
24
|
+
width?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
id: ColumnId;
|
|
27
|
+
title: string;
|
|
28
|
+
width: number;
|
|
29
|
+
})[];
|
|
30
|
+
export declare const COLUMNS_CONFIG: ColumnConfigSection[];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const s = (n, i) => {
|
|
2
|
+
const t = n.sectionOptions;
|
|
3
|
+
if (!n.isGrouped) {
|
|
4
|
+
t.forEach((o) => i(o));
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
t.forEach((o) => {
|
|
8
|
+
o.options.forEach((r) => i(r));
|
|
9
|
+
});
|
|
10
|
+
}, c = (n, i) => {
|
|
11
|
+
let t = null;
|
|
12
|
+
return s(n, (o) => {
|
|
13
|
+
o.id === i && (t = o);
|
|
14
|
+
}), t;
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
c as findOptionInSection
|
|
18
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
selected: unknown[];
|
|
3
|
+
options: Record<string, unknown>[];
|
|
4
|
+
defaultSelection?: unknown[];
|
|
5
|
+
inlineGroupIds?: unknown[];
|
|
6
|
+
headerText?: string;
|
|
7
|
+
noResultsText?: string;
|
|
8
|
+
searchPlaceholder?: string;
|
|
9
|
+
searchAutoFocus?: boolean;
|
|
10
|
+
idKey?: string;
|
|
11
|
+
displayKey?: string;
|
|
12
|
+
childrenKey?: string;
|
|
13
|
+
disabledKey?: string;
|
|
14
|
+
minSelections?: number;
|
|
15
|
+
minSelectionsTooltipMessage?: string;
|
|
16
|
+
appendToBody?: boolean;
|
|
17
|
+
testId: string;
|
|
18
|
+
}>, {
|
|
19
|
+
selected: () => any[];
|
|
20
|
+
options: () => any[];
|
|
21
|
+
inlineGroupIds: () => any[];
|
|
22
|
+
defaultSelection: any;
|
|
23
|
+
minSelections: number;
|
|
24
|
+
minSelectionsTooltipMessage: string;
|
|
25
|
+
headerText: string;
|
|
26
|
+
noResultsText: string;
|
|
27
|
+
searchPlaceholder: string;
|
|
28
|
+
searchAutoFocus: boolean;
|
|
29
|
+
idKey: string;
|
|
30
|
+
displayKey: string;
|
|
31
|
+
childrenKey: string;
|
|
32
|
+
disabledKey: string;
|
|
33
|
+
appendToBody: boolean;
|
|
34
|
+
testId: string;
|
|
35
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:selected": (value: unknown[]) => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
38
|
+
selected: unknown[];
|
|
39
|
+
options: Record<string, unknown>[];
|
|
40
|
+
defaultSelection?: unknown[];
|
|
41
|
+
inlineGroupIds?: unknown[];
|
|
42
|
+
headerText?: string;
|
|
43
|
+
noResultsText?: string;
|
|
44
|
+
searchPlaceholder?: string;
|
|
45
|
+
searchAutoFocus?: boolean;
|
|
46
|
+
idKey?: string;
|
|
47
|
+
displayKey?: string;
|
|
48
|
+
childrenKey?: string;
|
|
49
|
+
disabledKey?: string;
|
|
50
|
+
minSelections?: number;
|
|
51
|
+
minSelectionsTooltipMessage?: string;
|
|
52
|
+
appendToBody?: boolean;
|
|
53
|
+
testId: string;
|
|
54
|
+
}>, {
|
|
55
|
+
selected: () => any[];
|
|
56
|
+
options: () => any[];
|
|
57
|
+
inlineGroupIds: () => any[];
|
|
58
|
+
defaultSelection: any;
|
|
59
|
+
minSelections: number;
|
|
60
|
+
minSelectionsTooltipMessage: string;
|
|
61
|
+
headerText: string;
|
|
62
|
+
noResultsText: string;
|
|
63
|
+
searchPlaceholder: string;
|
|
64
|
+
searchAutoFocus: boolean;
|
|
65
|
+
idKey: string;
|
|
66
|
+
displayKey: string;
|
|
67
|
+
childrenKey: string;
|
|
68
|
+
disabledKey: string;
|
|
69
|
+
appendToBody: boolean;
|
|
70
|
+
testId: string;
|
|
71
|
+
}>>> & {
|
|
72
|
+
"onUpdate:selected"?: (value: unknown[]) => any;
|
|
73
|
+
}, {
|
|
74
|
+
testId: string;
|
|
75
|
+
selected: unknown[];
|
|
76
|
+
options: Record<string, unknown>[];
|
|
77
|
+
minSelections: number;
|
|
78
|
+
noResultsText: string;
|
|
79
|
+
searchAutoFocus: boolean;
|
|
80
|
+
searchPlaceholder: string;
|
|
81
|
+
headerText: string;
|
|
82
|
+
appendToBody: boolean;
|
|
83
|
+
defaultSelection: unknown[];
|
|
84
|
+
inlineGroupIds: unknown[];
|
|
85
|
+
idKey: string;
|
|
86
|
+
displayKey: string;
|
|
87
|
+
childrenKey: string;
|
|
88
|
+
disabledKey: string;
|
|
89
|
+
minSelectionsTooltipMessage: string;
|
|
90
|
+
}>, {
|
|
91
|
+
trigger?(_: {
|
|
92
|
+
triggerProps: {
|
|
93
|
+
onClick: () => void;
|
|
94
|
+
};
|
|
95
|
+
}): any;
|
|
96
|
+
}>;
|
|
97
|
+
export default _default;
|
|
98
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
99
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
100
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
101
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
102
|
+
} : {
|
|
103
|
+
type: import('vue').PropType<T[K]>;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
type __VLS_WithDefaults<P, D> = {
|
|
108
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
109
|
+
default: D[K];
|
|
110
|
+
}> : P[K];
|
|
111
|
+
};
|
|
112
|
+
type __VLS_Prettify<T> = {
|
|
113
|
+
[K in keyof T]: T[K];
|
|
114
|
+
} & {};
|
|
115
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ColumnPicker.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ea8c7024"]]);
|
|
5
|
+
export {
|
|
6
|
+
t as default
|
|
7
|
+
};
|