@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,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
"side-panel"?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./DataGridContainer.vue2.js";
|
|
2
|
+
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9a30b10c"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../../../DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css"; import { defineComponent as n, useSlots as a, computed as d, unref as r, openBlock as i, createElementBlock as l, renderSlot as t, createElementVNode as c } from "vue";
|
|
2
|
+
const u = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "data-grid-container"
|
|
5
|
+
}, p = { class: "side-panel-container" }, v = /* @__PURE__ */ n({
|
|
6
|
+
__name: "DataGridContainer",
|
|
7
|
+
setup(_) {
|
|
8
|
+
const o = a(), s = d(() => !!o["side-panel"]);
|
|
9
|
+
return (e, m) => r(s) ? (i(), l("div", u, [
|
|
10
|
+
t(e.$slots, "default", {}, void 0, !0),
|
|
11
|
+
c("div", p, [
|
|
12
|
+
t(e.$slots, "side-panel", {}, void 0, !0)
|
|
13
|
+
])
|
|
14
|
+
])) : t(e.$slots, "default", { key: 1 }, void 0, !0);
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
v as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string;
|
|
3
|
+
search?: string;
|
|
4
|
+
isSticky?: boolean;
|
|
5
|
+
zIndexBase?: number;
|
|
6
|
+
standalone?: boolean;
|
|
7
|
+
showSearch?: boolean;
|
|
8
|
+
searchPlaceholder?: string;
|
|
9
|
+
searchAutoFocus?: boolean;
|
|
10
|
+
testId?: string;
|
|
11
|
+
}>, {
|
|
12
|
+
title: string;
|
|
13
|
+
search: any;
|
|
14
|
+
isSticky: boolean;
|
|
15
|
+
zIndexBase: number;
|
|
16
|
+
standalone: boolean;
|
|
17
|
+
showSearch: boolean;
|
|
18
|
+
searchPlaceholder: string;
|
|
19
|
+
searchAutoFocus: boolean;
|
|
20
|
+
testId: string;
|
|
21
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:search": (query: string) => void;
|
|
23
|
+
onClearSearch: () => void;
|
|
24
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
title?: string;
|
|
26
|
+
search?: string;
|
|
27
|
+
isSticky?: boolean;
|
|
28
|
+
zIndexBase?: number;
|
|
29
|
+
standalone?: boolean;
|
|
30
|
+
showSearch?: boolean;
|
|
31
|
+
searchPlaceholder?: string;
|
|
32
|
+
searchAutoFocus?: boolean;
|
|
33
|
+
testId?: string;
|
|
34
|
+
}>, {
|
|
35
|
+
title: string;
|
|
36
|
+
search: any;
|
|
37
|
+
isSticky: boolean;
|
|
38
|
+
zIndexBase: number;
|
|
39
|
+
standalone: boolean;
|
|
40
|
+
showSearch: boolean;
|
|
41
|
+
searchPlaceholder: string;
|
|
42
|
+
searchAutoFocus: boolean;
|
|
43
|
+
testId: string;
|
|
44
|
+
}>>> & {
|
|
45
|
+
"onUpdate:search"?: (query: string) => any;
|
|
46
|
+
onOnClearSearch?: () => any;
|
|
47
|
+
}, {
|
|
48
|
+
title: string;
|
|
49
|
+
search: string;
|
|
50
|
+
testId: string;
|
|
51
|
+
searchAutoFocus: boolean;
|
|
52
|
+
searchPlaceholder: string;
|
|
53
|
+
zIndexBase: number;
|
|
54
|
+
showSearch: boolean;
|
|
55
|
+
isSticky: boolean;
|
|
56
|
+
standalone: boolean;
|
|
57
|
+
}>, {
|
|
58
|
+
title?(_: {}): any;
|
|
59
|
+
"table-header-pre-search"?(_: {}): any;
|
|
60
|
+
search?(_: {}): any;
|
|
61
|
+
"table-header-actions"?(_: {}): any;
|
|
62
|
+
}>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
type __VLS_WithDefaults<P, D> = {
|
|
74
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
75
|
+
default: D[K];
|
|
76
|
+
}> : P[K];
|
|
77
|
+
};
|
|
78
|
+
type __VLS_Prettify<T> = {
|
|
79
|
+
[K in keyof T]: T[K];
|
|
80
|
+
} & {};
|
|
81
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./DataGridHeader.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0e826456"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import "../../../DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css"; import { defineComponent as $, useCssVars as I, useSlots as S, openBlock as r, createElementBlock as i, normalizeClass as E, normalizeStyle as b, unref as t, createElementVNode as n, renderSlot as l, createVNode as m, withCtx as v, createTextVNode as A, toDisplayString as C, createCommentVNode as c, isRef as H } from "vue";
|
|
2
|
+
import { TableTestIdModifiers as s } from "../../../testids/index.js";
|
|
3
|
+
import T from "../../typography/v4/Typography.vue.js";
|
|
4
|
+
import R from "../../search/v4/SearchV4.vue.js";
|
|
5
|
+
import { useVModel as V } from "@vueuse/core";
|
|
6
|
+
import { DATA_GRID_HEADER_HEIGHT as k } from "../common/consts.js";
|
|
7
|
+
const B = ["data-testid"], D = ["data-testid"], p = ["data-testid"], N = ["data-testid"], g = { class: "search-wrapper" }, w = ["data-testid"], O = /* @__PURE__ */ $({
|
|
8
|
+
__name: "DataGridHeader",
|
|
9
|
+
props: {
|
|
10
|
+
title: { default: "" },
|
|
11
|
+
search: { default: null },
|
|
12
|
+
isSticky: { type: Boolean, default: !1 },
|
|
13
|
+
zIndexBase: { default: 100 },
|
|
14
|
+
standalone: { type: Boolean, default: !1 },
|
|
15
|
+
showSearch: { type: Boolean, default: !1 },
|
|
16
|
+
searchPlaceholder: { default: "Search" },
|
|
17
|
+
searchAutoFocus: { type: Boolean, default: !1 },
|
|
18
|
+
testId: { default: "" }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:search", "onClearSearch"],
|
|
21
|
+
setup(e, { emit: h }) {
|
|
22
|
+
const y = e;
|
|
23
|
+
I((a) => ({
|
|
24
|
+
"406e82a6": e.zIndexBase
|
|
25
|
+
}));
|
|
26
|
+
const u = S(), o = V(y, "search", h);
|
|
27
|
+
return (a, d) => (r(), i("div", {
|
|
28
|
+
class: E(["table-header", {
|
|
29
|
+
isStickyHeader: e.isSticky,
|
|
30
|
+
"table-header--standalone": e.standalone
|
|
31
|
+
}]),
|
|
32
|
+
style: b({ height: `${t(k)}px` }),
|
|
33
|
+
"data-testid": `${e.testId}-${t(s).HEADER}`
|
|
34
|
+
}, [
|
|
35
|
+
n("div", {
|
|
36
|
+
class: "table-title",
|
|
37
|
+
"data-testid": `${e.testId}-${t(s).TITLE}`
|
|
38
|
+
}, [
|
|
39
|
+
l(a.$slots, "title", {}, () => [
|
|
40
|
+
m(t(T), { variant: "h3" }, {
|
|
41
|
+
default: v(() => [
|
|
42
|
+
A(C(e.title), 1)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
})
|
|
46
|
+
], !0)
|
|
47
|
+
], 8, D),
|
|
48
|
+
t(u)["table-header-pre-search"] ? (r(), i("div", {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: "table-header-pre-search-content",
|
|
51
|
+
"data-testid": `${e.testId}-${t(s).PRE_SEARCH_HEADER}`
|
|
52
|
+
}, [
|
|
53
|
+
l(a.$slots, "table-header-pre-search", {}, void 0, !0)
|
|
54
|
+
], 8, p)) : c("", !0),
|
|
55
|
+
n("div", {
|
|
56
|
+
class: "table-header-right",
|
|
57
|
+
"data-testid": `${e.testId}-${t(s).HEADER_RIGHT}`
|
|
58
|
+
}, [
|
|
59
|
+
e.showSearch ? l(a.$slots, "search", { key: 0 }, () => [
|
|
60
|
+
n("div", g, [
|
|
61
|
+
m(t(R), {
|
|
62
|
+
modelValue: t(o),
|
|
63
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => H(o) ? o.value = f : null),
|
|
64
|
+
placeholder: e.searchPlaceholder,
|
|
65
|
+
"auto-focus": e.searchAutoFocus,
|
|
66
|
+
"test-id": e.testId,
|
|
67
|
+
onOnClear: d[1] || (d[1] = (f) => h("onClearSearch"))
|
|
68
|
+
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
|
|
69
|
+
])
|
|
70
|
+
], !0) : c("", !0)
|
|
71
|
+
], 8, N),
|
|
72
|
+
t(u)["table-header-actions"] ? (r(), i("div", {
|
|
73
|
+
key: 1,
|
|
74
|
+
class: "table-header-actions",
|
|
75
|
+
"data-testid": `${e.testId}-${t(s).ACTIONS}`
|
|
76
|
+
}, [
|
|
77
|
+
l(a.$slots, "table-header-actions", {}, void 0, !0)
|
|
78
|
+
], 8, w)) : c("", !0)
|
|
79
|
+
], 14, B));
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
export {
|
|
83
|
+
O as default
|
|
84
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGridRowsCounter.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGridRowsCounter.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e38c881a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../DataGridRowsCounter.
|
|
1
|
+
import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css"; import { defineComponent as r, openBlock as u, createElementBlock as f, unref as e, createVNode as d, withCtx as l, createTextVNode as a, toDisplayString as o } from "vue";
|
|
2
2
|
import s from "../../typography/v4/Typography.vue.js";
|
|
3
|
-
import { RowsCounterTestIdModifiers as
|
|
4
|
-
import { nFormatter as
|
|
5
|
-
const c = ["data-testid"], I = /* @__PURE__ */
|
|
3
|
+
import { RowsCounterTestIdModifiers as i } from "../../../testids/index.js";
|
|
4
|
+
import { nFormatter as n } from "../../../utils/formatNumbers.js";
|
|
5
|
+
const c = ["data-testid"], I = /* @__PURE__ */ r({
|
|
6
6
|
__name: "DataGridRowsCounter",
|
|
7
7
|
props: {
|
|
8
8
|
count: { default: 0 },
|
|
@@ -15,18 +15,18 @@ const c = ["data-testid"], I = /* @__PURE__ */ l({
|
|
|
15
15
|
setup(t) {
|
|
16
16
|
return (m, T) => (u(), f("div", {
|
|
17
17
|
class: "data-grid-rows-counter",
|
|
18
|
-
"data-testid": `${t.testId}-${e(
|
|
18
|
+
"data-testid": `${t.testId}-${e(i).CONTAINER}`
|
|
19
19
|
}, [
|
|
20
20
|
d(e(s), { variant: "body1" }, {
|
|
21
|
-
default:
|
|
21
|
+
default: l(() => [
|
|
22
22
|
a(o(t.displayingText) + " ", 1),
|
|
23
23
|
d(e(s), {
|
|
24
24
|
class: "text-strong",
|
|
25
25
|
variant: "subtitle1",
|
|
26
|
-
"data-testid": `${t.testId}-${e(
|
|
26
|
+
"data-testid": `${t.testId}-${e(i).COUNT}`
|
|
27
27
|
}, {
|
|
28
|
-
default:
|
|
29
|
-
a(o(e(
|
|
28
|
+
default: l(() => [
|
|
29
|
+
a(o(e(n)(t.count, !1, null, !1)), 1)
|
|
30
30
|
]),
|
|
31
31
|
_: 1
|
|
32
32
|
}, 8, ["data-testid"]),
|
|
@@ -34,10 +34,10 @@ const c = ["data-testid"], I = /* @__PURE__ */ l({
|
|
|
34
34
|
d(e(s), {
|
|
35
35
|
class: "text-strong",
|
|
36
36
|
variant: "subtitle1",
|
|
37
|
-
"data-testid": `${t.testId}-${e(
|
|
37
|
+
"data-testid": `${t.testId}-${e(i).TOTAL}`
|
|
38
38
|
}, {
|
|
39
|
-
default:
|
|
40
|
-
a(o(e(
|
|
39
|
+
default: l(() => [
|
|
40
|
+
a(o(e(n)(t.totalCount, !1, null, !1)), 1)
|
|
41
41
|
]),
|
|
42
42
|
_: 1
|
|
43
43
|
}, 8, ["data-testid"]),
|
|
@@ -114,23 +114,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
114
114
|
isLoading: boolean;
|
|
115
115
|
searchPlaceholder: string;
|
|
116
116
|
count: number;
|
|
117
|
-
showSearch: boolean;
|
|
118
117
|
loadingRowCount: number;
|
|
118
|
+
zIndexBase: number;
|
|
119
|
+
showSearch: boolean;
|
|
119
120
|
emptyStateTitle: string;
|
|
120
121
|
isSticky: boolean;
|
|
121
|
-
zIndexBase: number;
|
|
122
122
|
emptyStateSubtitle: string;
|
|
123
|
-
getRowId: (row: Row, index: number) => unknown;
|
|
124
|
-
getRowKey: (row: Row, index: number) => string | number;
|
|
125
|
-
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
126
|
-
rowCustomClassKey: string;
|
|
127
|
-
rowDataKey: string;
|
|
128
123
|
totalCount: number;
|
|
129
124
|
displayingText: string;
|
|
130
125
|
outOfText: string;
|
|
131
126
|
totalText: string;
|
|
132
127
|
tablesSettings: TableSettings[];
|
|
133
128
|
loadingAndEmptyStatesColumns: Column[];
|
|
129
|
+
getRowId: (row: Row, index: number) => unknown;
|
|
130
|
+
getRowKey: (row: Row, index: number) => string | number;
|
|
131
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
132
|
+
rowCustomClassKey: string;
|
|
133
|
+
rowDataKey: string;
|
|
134
134
|
}>, Partial<Record<string, (_: {
|
|
135
135
|
column: Column;
|
|
136
136
|
}) => any>> & Partial<Record<string, (_: {
|
|
@@ -144,6 +144,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
144
144
|
}) => any>> & {
|
|
145
145
|
title?(_: {}): any;
|
|
146
146
|
search?(_: {}): any;
|
|
147
|
+
"table-header-pre-search"?(_: {}): any;
|
|
147
148
|
"table-header-actions"?(_: {}): any;
|
|
148
149
|
"floating-row"?(_: {
|
|
149
150
|
row: import("@vueuse/core").UseVirtualListItem<Row>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./MultipleDataGrid.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3caa1d7b"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css"; import { defineComponent as V, useCssVars as E, useSlots as N, computed as G, openBlock as d, createElementBlock as w, createVNode as O, unref as l, isRef as b, createSlots as g, withCtx as n, renderSlot as i, createBlock as S, createCommentVNode as v, Fragment as p, renderList as h } from "vue";
|
|
2
|
+
import R from "./DataGrid.vue.js";
|
|
3
3
|
import "./DataGridMenu.vue.js";
|
|
4
|
-
import
|
|
4
|
+
import A from "./DataGridRowsCounter.vue.js";
|
|
5
|
+
import F from "./DataGridHeader.vue.js";
|
|
6
|
+
import "./DataGridContainer.vue.js";
|
|
5
7
|
import "./MultipleDataGrid.vue.js";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
import { TableTestIdModifiers as g } from "../../../testids/index.js";
|
|
9
|
-
const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-testid"], X = {
|
|
8
|
+
import { useVModel as H } from "@vueuse/core";
|
|
9
|
+
const M = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "tables-container"
|
|
12
|
-
},
|
|
12
|
+
}, Y = /* @__PURE__ */ V({
|
|
13
13
|
__name: "MultipleDataGrid",
|
|
14
14
|
props: {
|
|
15
15
|
tablesSettings: { default: () => [] },
|
|
16
16
|
loadingAndEmptyStatesColumns: { default: () => [] },
|
|
17
|
-
getRowId: { type: Function, default: (t,
|
|
18
|
-
getRowKey: { type: Function, default: (t,
|
|
17
|
+
getRowId: { type: Function, default: (t, s) => s },
|
|
18
|
+
getRowKey: { type: Function, default: (t, s) => s },
|
|
19
19
|
isSticky: { type: Boolean, default: !0 },
|
|
20
20
|
isLoading: { type: Boolean, default: !1 },
|
|
21
21
|
emptyStateVariant: { default: null },
|
|
@@ -36,30 +36,34 @@ const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-
|
|
|
36
36
|
testId: { default: "" }
|
|
37
37
|
},
|
|
38
38
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow", "saveRow"],
|
|
39
|
-
setup(t, { emit:
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
"
|
|
39
|
+
setup(t, { emit: s }) {
|
|
40
|
+
const f = t;
|
|
41
|
+
E((e) => ({
|
|
42
|
+
"21bdffad": t.zIndexBase
|
|
43
43
|
}));
|
|
44
|
-
const
|
|
45
|
-
() =>
|
|
46
|
-
),
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
return (e,
|
|
44
|
+
const k = N(), x = G(
|
|
45
|
+
() => f.isLoading || !f.tablesSettings.flatMap((e) => e.rows).length
|
|
46
|
+
), u = H(f, "search", s), y = (e) => `header-${e.id}`, C = (e) => `cell-${e.id}`, $ = (e) => {
|
|
47
|
+
s("onScroll", e.target.scrollTop);
|
|
48
|
+
}, I = () => s("onClearSearch"), B = (e, r) => s("clickRow", e, r), T = ({ value: e, rowIndex: r, cellIndex: a, confirm: c }, o) => s("saveRow", { value: e, tableIndex: o, rowIndex: r, cellIndex: a, confirm: c });
|
|
49
|
+
return (e, r) => (d(), w("div", {
|
|
50
50
|
class: "multi-table-container",
|
|
51
|
-
onScrollPassive:
|
|
51
|
+
onScrollPassive: $
|
|
52
52
|
}, [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
O(l(F), {
|
|
54
|
+
search: l(u),
|
|
55
|
+
"onUpdate:search": r[0] || (r[0] = (a) => b(u) ? u.value = a : null),
|
|
56
|
+
class: "multi-table-header",
|
|
57
|
+
"is-sticky": t.isSticky,
|
|
58
|
+
"show-search": t.showSearch,
|
|
59
|
+
"search-placeholder": t.searchPlaceholder,
|
|
60
|
+
"z-index-base": t.zIndexBase,
|
|
61
|
+
"test-id": t.testId,
|
|
62
|
+
onOnClearSearch: I
|
|
63
|
+
}, g({
|
|
64
|
+
title: n(() => [
|
|
61
65
|
i(e.$slots, "title", {}, () => [
|
|
62
|
-
t.isLoading ?
|
|
66
|
+
t.isLoading ? v("", !0) : (d(), S(l(A), {
|
|
63
67
|
key: 0,
|
|
64
68
|
count: t.count,
|
|
65
69
|
"total-count": t.totalCount,
|
|
@@ -69,33 +73,31 @@ const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-
|
|
|
69
73
|
"test-id": t.testId
|
|
70
74
|
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
|
|
71
75
|
], !0)
|
|
72
|
-
]
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
class: "table-header-actions",
|
|
89
|
-
"data-testid": `${t.testId}-${s(g).ACTIONS}`
|
|
90
|
-
}, [
|
|
76
|
+
]),
|
|
77
|
+
search: n(() => [
|
|
78
|
+
i(e.$slots, "search", {}, void 0, !0)
|
|
79
|
+
]),
|
|
80
|
+
_: 2
|
|
81
|
+
}, [
|
|
82
|
+
l(k)["table-header-pre-search"] ? {
|
|
83
|
+
name: "table-header-pre-search",
|
|
84
|
+
fn: n(() => [
|
|
85
|
+
i(e.$slots, "table-header-pre-search", {}, void 0, !0)
|
|
86
|
+
]),
|
|
87
|
+
key: "0"
|
|
88
|
+
} : void 0,
|
|
89
|
+
l(k)["table-header-actions"] ? {
|
|
90
|
+
name: "table-header-actions",
|
|
91
|
+
fn: n(() => [
|
|
91
92
|
i(e.$slots, "table-header-actions", {}, void 0, !0)
|
|
92
|
-
]
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
]),
|
|
94
|
+
key: "1"
|
|
95
|
+
} : void 0
|
|
96
|
+
]), 1032, ["search", "is-sticky", "show-search", "search-placeholder", "z-index-base", "test-id"]),
|
|
97
|
+
l(x) ? (d(), S(l(R), {
|
|
96
98
|
key: 1,
|
|
97
|
-
search:
|
|
98
|
-
"onUpdate:search":
|
|
99
|
+
search: l(u),
|
|
100
|
+
"onUpdate:search": r[1] || (r[1] = (a) => b(u) ? u.value = a : null),
|
|
99
101
|
rows: [],
|
|
100
102
|
columns: t.loadingAndEmptyStatesColumns,
|
|
101
103
|
"is-loading": t.isLoading,
|
|
@@ -104,24 +106,24 @@ const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-
|
|
|
104
106
|
"empty-state-title": t.emptyStateTitle,
|
|
105
107
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
106
108
|
"test-id": t.testId
|
|
107
|
-
},
|
|
108
|
-
"empty-state":
|
|
109
|
+
}, g({
|
|
110
|
+
"empty-state": n(() => [
|
|
109
111
|
i(e.$slots, "empty-state", {}, void 0, !0)
|
|
110
112
|
]),
|
|
111
113
|
_: 2
|
|
112
114
|
}, [
|
|
113
|
-
|
|
114
|
-
name:
|
|
115
|
-
fn:
|
|
116
|
-
i(e.$slots, `${
|
|
115
|
+
h(t.loadingAndEmptyStatesColumns, (a) => ({
|
|
116
|
+
name: y(a),
|
|
117
|
+
fn: n(() => [
|
|
118
|
+
i(e.$slots, `${y(a)}`, { column: a }, void 0, !0)
|
|
117
119
|
])
|
|
118
120
|
}))
|
|
119
|
-
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (d(),
|
|
120
|
-
(d(!0),
|
|
121
|
+
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (d(), w("div", M, [
|
|
122
|
+
(d(!0), w(p, null, h(t.tablesSettings, (a, c) => (d(), w("div", {
|
|
121
123
|
key: a.testId,
|
|
122
124
|
class: "table-wrapper"
|
|
123
125
|
}, [
|
|
124
|
-
a.rows.length ? (d(),
|
|
126
|
+
a.rows.length ? (d(), S(l(R), {
|
|
125
127
|
key: 0,
|
|
126
128
|
sections: a.sections,
|
|
127
129
|
columns: a.columns,
|
|
@@ -134,48 +136,48 @@ const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-
|
|
|
134
136
|
"row-custom-class-key": t.rowCustomClassKey,
|
|
135
137
|
"row-data-key": t.rowDataKey,
|
|
136
138
|
"test-id": a.testId,
|
|
137
|
-
onClickRow: (o) =>
|
|
138
|
-
onSaveRow: (o) =>
|
|
139
|
-
},
|
|
140
|
-
"floating-row":
|
|
139
|
+
onClickRow: (o) => B(o, c),
|
|
140
|
+
onSaveRow: (o) => T(o, c)
|
|
141
|
+
}, g({
|
|
142
|
+
"floating-row": n(({ row: o, rowIndex: m }) => [
|
|
141
143
|
i(e.$slots, "floating-row", {
|
|
142
144
|
row: o,
|
|
143
|
-
rowIndex:
|
|
144
|
-
tableIndex:
|
|
145
|
+
rowIndex: m,
|
|
146
|
+
tableIndex: c
|
|
145
147
|
}, void 0, !0)
|
|
146
148
|
]),
|
|
147
149
|
_: 2
|
|
148
150
|
}, [
|
|
149
|
-
|
|
150
|
-
name:
|
|
151
|
-
fn:
|
|
152
|
-
i(e.$slots, `${
|
|
151
|
+
h(a.columns, (o) => ({
|
|
152
|
+
name: y(o),
|
|
153
|
+
fn: n(() => [
|
|
154
|
+
i(e.$slots, `${y(o)}`, { column: o }, void 0, !0)
|
|
153
155
|
])
|
|
154
156
|
})),
|
|
155
|
-
|
|
156
|
-
name:
|
|
157
|
-
fn:
|
|
158
|
-
cell:
|
|
159
|
-
rowIndex:
|
|
160
|
-
isLoading:
|
|
161
|
-
cellIndex:
|
|
162
|
-
row:
|
|
157
|
+
h(a.columns, (o) => ({
|
|
158
|
+
name: C(o),
|
|
159
|
+
fn: n(({
|
|
160
|
+
cell: m,
|
|
161
|
+
rowIndex: z,
|
|
162
|
+
isLoading: L,
|
|
163
|
+
cellIndex: D,
|
|
164
|
+
row: K
|
|
163
165
|
}) => [
|
|
164
|
-
i(e.$slots, `${
|
|
165
|
-
cell:
|
|
166
|
-
isLoading:
|
|
167
|
-
cellIndex:
|
|
168
|
-
row:
|
|
169
|
-
rowIndex:
|
|
166
|
+
i(e.$slots, `${C(o)}`, {
|
|
167
|
+
cell: m,
|
|
168
|
+
isLoading: L,
|
|
169
|
+
cellIndex: D,
|
|
170
|
+
row: K,
|
|
171
|
+
rowIndex: z
|
|
170
172
|
}, void 0, !0)
|
|
171
173
|
])
|
|
172
174
|
}))
|
|
173
|
-
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "get-row-id", "get-row-key", "row-custom-class-key", "row-data-key", "test-id", "onClickRow", "onSaveRow"])) :
|
|
175
|
+
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "get-row-id", "get-row-key", "row-custom-class-key", "row-data-key", "test-id", "onClickRow", "onSaveRow"])) : v("", !0)
|
|
174
176
|
]))), 128))
|
|
175
177
|
]))
|
|
176
178
|
], 32));
|
|
177
179
|
}
|
|
178
180
|
});
|
|
179
181
|
export {
|
|
180
|
-
|
|
182
|
+
Y as default
|
|
181
183
|
};
|