@ironsource/shared-ui 2.1.12-rc.5 → 2.1.12-rc.51
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- 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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_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_ef67c78e_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_840e700c_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_2d66b7b6_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_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_a869d327_lang.css +1 -0
- 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/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_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/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_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_4ba9e4bd_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +5 -3
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +28 -27
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/chart/Chart.vue.d.ts +128 -10
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +152 -86
- package/components/chart/ChartHeader.vue.d.ts +41 -7
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +67 -65
- package/components/chart/ChartHeaderTrend.vue.d.ts +24 -5
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +89 -21
- package/components/chart/ChartLegend.vue.d.ts +29 -0
- package/components/chart/ChartLegend.vue.js +2 -2
- package/components/chart/ChartLegend.vue2.js +88 -65
- package/components/chart/ChartPlane.vue.d.ts +111 -13
- package/components/chart/ChartPlane.vue.js +4 -4
- package/components/chart/ChartPlane.vue2.js +321 -240
- package/components/chart/ChartStoryArgs.d.ts +63 -2
- package/components/chart/ChartTooltip.vue.d.ts +27 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +52 -54
- package/components/chart/LegendSorting.vue.d.ts +42 -0
- package/components/chart/LegendSorting.vue.js +47 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +20 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +39 -31
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +2 -2
- package/components/chart/composables/useChartHeight.js +16 -14
- package/components/chart/composables/useColorsMap.d.ts +5 -3
- package/components/chart/composables/useColorsMap.js +43 -12
- package/components/chart/consts.d.ts +29 -8
- package/components/chart/consts.js +45 -26
- package/components/chart/index.d.ts +492 -76
- package/components/chart/mockData.d.ts +33 -5
- package/components/chart/types.d.ts +35 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +25 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- 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 +100 -94
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/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 +13 -12
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +164 -164
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +161 -149
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +205 -176
- package/components/dropdown/v4/DropdownV4.vue.d.ts +36 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +258 -199
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +23 -5
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +162 -117
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +703 -162
- 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/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.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 +110 -110
- 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/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/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/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +19 -7
- package/components/table/v4/DataGrid.vue.js +5 -5
- package/components/table/v4/DataGrid.vue2.js +375 -307
- 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 +82 -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 +91 -90
- package/components/table/v4/index.d.ts +581 -298
- package/components/table/v4/index.js +7 -4
- package/components/table/v4/storyUtils.d.ts +27 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- 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/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +9 -4
- 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 +27 -8
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +10385 -8429
- package/index.js +158 -134
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +22 -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 +39 -8
- package/utils/index.js +7 -0
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_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_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_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_1e8837dc_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_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/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
|
@@ -1,32 +1,37 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css"; import { defineComponent as ye, useCssVars as fe, unref as t, useSlots as ke, computed as y, openBlock as i, createBlock as C, createSlots as Y, withCtx as u, createElementVNode as g, normalizeStyle as v, normalizeClass as f, isRef as Se, renderSlot as n, createCommentVNode as c, createElementBlock as d, Fragment as x, renderList as $, createVNode as S, createTextVNode as V, toDisplayString as D, mergeProps as I } from "vue";
|
|
2
|
+
import M from "../../typography/v4/Typography.vue.js";
|
|
3
|
+
import ge from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
|
+
import me from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
5
|
+
import Q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
6
|
+
import be from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import "./DataGrid.vue.js";
|
|
8
|
+
import "./DataGridMenu.vue.js";
|
|
9
|
+
import "./DataGridRowsCounter.vue.js";
|
|
10
|
+
import ve from "./DataGridHeader.vue.js";
|
|
11
|
+
import "./MultipleDataGrid.vue.js";
|
|
12
|
+
import pe from "./DataGridContainer.vue.js";
|
|
13
|
+
import { TableTestIdModifiers as R } from "../../../testids/index.js";
|
|
14
|
+
import { tableCommon as Ce } from "../common/Table.common.js";
|
|
15
|
+
import xe from "./SortIcon.vue.js";
|
|
16
|
+
import $e from "./HelpIcon.vue.js";
|
|
17
|
+
import Re from "./ExpandRowToggle.vue.js";
|
|
18
|
+
import { DEFAULT_ROW_HEIGHT as Te, CHECKBOX_COLUMN_ID as we } from "../common/consts.js";
|
|
19
|
+
const Be = ["data-testid"], He = ["data-testid"], Ee = ["data-testid"], Pe = {
|
|
15
20
|
key: 1,
|
|
16
21
|
class: "expand-toggle-cell"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
19
|
-
class: "
|
|
20
|
-
},
|
|
22
|
+
}, Le = ["onClick"], Ve = { class: "table-head-container" }, Ie = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "totals-row"
|
|
25
|
+
}, Me = ["data-testid"], Ae = ["onMouseenter", "onClick"], Fe = {
|
|
21
26
|
key: 2,
|
|
22
27
|
class: "expanded-row"
|
|
23
|
-
},
|
|
28
|
+
}, Ne = {
|
|
24
29
|
key: 3,
|
|
25
30
|
class: "floating-row"
|
|
26
31
|
}, Oe = { key: 1 }, De = {
|
|
27
32
|
key: 0,
|
|
28
33
|
class: "table-footer"
|
|
29
|
-
},
|
|
34
|
+
}, it = /* @__PURE__ */ ye({
|
|
30
35
|
__name: "DataGrid",
|
|
31
36
|
props: {
|
|
32
37
|
title: { default: "" },
|
|
@@ -35,9 +40,9 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
35
40
|
sections: { default: null },
|
|
36
41
|
sort: { default: null },
|
|
37
42
|
selection: { default: null },
|
|
38
|
-
getRowId: { type: Function, default: (s,
|
|
39
|
-
getRowKey: { type: Function, default: (s,
|
|
40
|
-
selectedMatcher: { type: Function, default: (s,
|
|
43
|
+
getRowId: { type: Function, default: (s, m) => m },
|
|
44
|
+
getRowKey: { type: Function, default: (s, m) => m },
|
|
45
|
+
selectedMatcher: { type: Function, default: (s, m) => s === m },
|
|
41
46
|
isSticky: { type: Boolean, default: !0 },
|
|
42
47
|
isStickyHeader: { type: Boolean, default: !1 },
|
|
43
48
|
isLoading: { type: Boolean, default: !1 },
|
|
@@ -45,10 +50,12 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
45
50
|
emptyStateTitle: { default: "No data to display" },
|
|
46
51
|
emptyStateSubtitle: { default: "" },
|
|
47
52
|
isInfiniteScroll: { type: Boolean, default: !1 },
|
|
53
|
+
showTotalsRow: { type: Boolean },
|
|
48
54
|
infiniteScrollThreshold: { default: 100 },
|
|
49
|
-
rowHeight: { type: [Number, Function], default:
|
|
55
|
+
rowHeight: { type: [Number, Function], default: Te },
|
|
50
56
|
loadingRowCount: { default: 3 },
|
|
51
57
|
defaultScrollPosition: { default: null },
|
|
58
|
+
helpTooltipVariant: { default: "icon" },
|
|
52
59
|
testId: { default: "" },
|
|
53
60
|
search: { default: null },
|
|
54
61
|
showSearch: { type: Boolean, default: !1 },
|
|
@@ -61,309 +68,370 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
61
68
|
isSelectionBordered: { type: Boolean, default: !1 }
|
|
62
69
|
},
|
|
63
70
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
64
|
-
setup(s, { expose:
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"65a66d41": t(Z)
|
|
71
|
+
setup(s, { expose: m, emit: k }) {
|
|
72
|
+
const a = s;
|
|
73
|
+
fe((l) => ({
|
|
74
|
+
"6539eabc": s.zIndexBase,
|
|
75
|
+
"118a88d4": t(te),
|
|
76
|
+
"49737de2": t(z)
|
|
71
77
|
}));
|
|
72
|
-
const
|
|
73
|
-
list:
|
|
74
|
-
containerProps:
|
|
75
|
-
wrapperProps:
|
|
76
|
-
activeRow:
|
|
77
|
-
gridColumnTemplate:
|
|
78
|
-
toggleSortOrder:
|
|
79
|
-
columnsStickyPositions:
|
|
80
|
-
hasSearchSlot:
|
|
81
|
-
containerStyle:
|
|
82
|
-
onScroll:
|
|
83
|
-
savingRows:
|
|
84
|
-
hasExpandSlot:
|
|
85
|
-
toggleExpandRow:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
78
|
+
const b = ke(), X = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
|
|
79
|
+
list: T,
|
|
80
|
+
containerProps: j,
|
|
81
|
+
wrapperProps: q,
|
|
82
|
+
activeRow: w,
|
|
83
|
+
gridColumnTemplate: z,
|
|
84
|
+
toggleSortOrder: J,
|
|
85
|
+
columnsStickyPositions: B,
|
|
86
|
+
hasSearchSlot: Z,
|
|
87
|
+
containerStyle: _,
|
|
88
|
+
onScroll: K,
|
|
89
|
+
savingRows: U,
|
|
90
|
+
hasExpandSlot: H,
|
|
91
|
+
toggleExpandRow: ee,
|
|
92
|
+
cssExpandGridCol: te,
|
|
93
|
+
isRowExpanded: A,
|
|
94
|
+
hasCheckboxes: F,
|
|
95
|
+
activeMenuRow: le,
|
|
96
|
+
scrollTo: se
|
|
97
|
+
} = Ce(a, k), G = y(() => !!b.footer), ae = y(
|
|
98
|
+
() => a.title || b.title || Z.value || b["table-header-actions"] || b["table-header-pre-search"]
|
|
99
|
+
), p = y({
|
|
100
|
+
get: () => a.search,
|
|
101
|
+
set: (l) => k("update:search", l)
|
|
102
|
+
}), ie = y(() => a.selection.length || 0), N = y(() => {
|
|
103
|
+
const l = a.rows.map((o, e) => a.getRowId(o, e));
|
|
104
|
+
return !!l.length && l.every((o) => E(o));
|
|
105
|
+
}), E = (l) => a.selection.findIndex((o) => a.selectedMatcher(l, o)) !== -1, oe = (l) => {
|
|
106
|
+
E(l) ? (P(
|
|
107
|
+
a.selection.filter(
|
|
108
|
+
(o) => !a.selectedMatcher(l, o)
|
|
101
109
|
)
|
|
102
|
-
),
|
|
103
|
-
},
|
|
104
|
-
if (
|
|
105
|
-
|
|
110
|
+
), k("selectRow", !1)) : (P([...a.selection, l]), k("selectRow", !0));
|
|
111
|
+
}, de = () => {
|
|
112
|
+
if (N.value)
|
|
113
|
+
P([]), k("selectAll", !1);
|
|
106
114
|
else {
|
|
107
|
-
const
|
|
108
|
-
|
|
115
|
+
const l = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
|
|
116
|
+
P([...a.selection, ...l]), k("selectAll", !0);
|
|
109
117
|
}
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
() =>
|
|
114
|
-
),
|
|
115
|
-
() =>
|
|
116
|
-
),
|
|
118
|
+
}, P = (l) => {
|
|
119
|
+
k("update:selection", l);
|
|
120
|
+
}, ne = (l) => !a.isLoading && w.value === l, re = y(
|
|
121
|
+
() => a.emptyStateVariant ?? (p.value ? "no-results" : "no-data")
|
|
122
|
+
), ce = y(
|
|
123
|
+
() => a.emptyStateSubtitle ? a.emptyStateSubtitle : p.value ? "Search again with different filters" : void 0
|
|
124
|
+
), O = y(() => ({
|
|
117
125
|
class: {
|
|
118
|
-
sticky:
|
|
119
|
-
bordered:
|
|
126
|
+
sticky: a.isSelectionSticky,
|
|
127
|
+
bordered: a.isSelectionBordered
|
|
120
128
|
},
|
|
121
|
-
style:
|
|
122
|
-
}))
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
t(se) ? (i(), o("div", {
|
|
141
|
-
key: 0,
|
|
142
|
-
class: S(["table-header", { isStickyHeader: s.isStickyHeader }]),
|
|
143
|
-
"data-testid": `${s.testId}-${t(y).HEADER}`
|
|
144
|
-
}, [
|
|
145
|
-
u("div", {
|
|
146
|
-
class: "table-title",
|
|
147
|
-
"data-testid": `${s.testId}-${t(y).TITLE}`
|
|
148
|
-
}, [
|
|
149
|
-
c(a.$slots, "title", {}, () => [
|
|
150
|
-
h(t(A), { variant: "h3" }, {
|
|
151
|
-
default: w(() => [
|
|
152
|
-
E(B(s.title), 1)
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
])
|
|
157
|
-
], 8, Te),
|
|
158
|
-
t(g)["table-header-pre-search"] ? (i(), o("div", {
|
|
159
|
-
key: 0,
|
|
160
|
-
class: "table-header-pre-search-content",
|
|
161
|
-
"data-testid": `${s.testId}-${t(y).PRE_SEARCH_HEADER}`
|
|
162
|
-
}, [
|
|
163
|
-
c(a.$slots, "table-header-pre-search")
|
|
164
|
-
], 8, we)) : r("", !0),
|
|
165
|
-
u("div", {
|
|
166
|
-
class: "table-header-right",
|
|
167
|
-
"data-testid": `${s.testId}-${t(y).HEADER_RIGHT}`
|
|
168
|
-
}, [
|
|
169
|
-
s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
|
|
170
|
-
u("div", Be, [
|
|
171
|
-
h(t(ve), {
|
|
172
|
-
modelValue: t(b),
|
|
173
|
-
"onUpdate:modelValue": d[0] || (d[0] = (e) => he(b) ? b.value = e : null),
|
|
174
|
-
placeholder: s.searchPlaceholder,
|
|
175
|
-
"auto-focus": s.searchAutoFocus,
|
|
176
|
-
"test-id": s.testId,
|
|
177
|
-
onOnClear: d[1] || (d[1] = (e) => f("onClearSearch"))
|
|
178
|
-
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
|
|
179
|
-
])
|
|
180
|
-
]) : r("", !0)
|
|
181
|
-
], 8, Ee),
|
|
182
|
-
t(g)["table-header-actions"] ? (i(), o("div", {
|
|
183
|
-
key: 1,
|
|
184
|
-
class: "table-header-actions",
|
|
185
|
-
"data-testid": `${s.testId}-${t(y).ACTIONS}`
|
|
186
|
-
}, [
|
|
187
|
-
c(a.$slots, "table-header-actions")
|
|
188
|
-
], 8, pe)) : r("", !0)
|
|
189
|
-
], 10, xe)) : r("", !0),
|
|
190
|
-
u("thead", {
|
|
191
|
-
class: S({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
|
|
129
|
+
style: a.isSelectionSticky ? B.value[we] : null
|
|
130
|
+
})), ue = (l) => ({
|
|
131
|
+
sticky: l.isSticky,
|
|
132
|
+
isStickyRight: l.isStickyRight,
|
|
133
|
+
bordered: l.isBordered,
|
|
134
|
+
isTextRight: l.isTextRight
|
|
135
|
+
}), W = y(
|
|
136
|
+
() => a.columns.map((l) => ue(l))
|
|
137
|
+
), he = (l) => ({
|
|
138
|
+
minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(l) : a.rowHeight) + "px"
|
|
139
|
+
}), L = y(() => T.value.reduce((l, o) => (l[o.index] = he(o.index), l), {}));
|
|
140
|
+
return m({
|
|
141
|
+
scrollTo: se
|
|
142
|
+
}), (l, o) => (i(), C(pe, null, Y({
|
|
143
|
+
default: u(() => [
|
|
144
|
+
g("div", {
|
|
145
|
+
class: "table-container",
|
|
146
|
+
"data-testid": `${s.testId}-${t(R).CONTAINER}`,
|
|
147
|
+
onMouseleave: o[3] || (o[3] = (e) => w.value = null)
|
|
192
148
|
}, [
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
149
|
+
g("table", {
|
|
150
|
+
ref: t(j).ref,
|
|
151
|
+
style: v(t(_)),
|
|
152
|
+
class: f({
|
|
153
|
+
hasFooter: t(G)
|
|
154
|
+
}),
|
|
155
|
+
"data-testid": `${s.testId}-${t(R).TABLE}`,
|
|
156
|
+
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
157
|
+
(...e) => t(K) && t(K)(...e))
|
|
196
158
|
}, [
|
|
197
|
-
(
|
|
198
|
-
key: e.id,
|
|
199
|
-
class: S(["section-container", { sticky: e.isSticky }])
|
|
200
|
-
}, [
|
|
201
|
-
c(a.$slots, `section-${e.id}`, {}, () => [
|
|
202
|
-
u("div", {
|
|
203
|
-
style: T({ width: e.width + "px" }),
|
|
204
|
-
class: S({ section: !0 })
|
|
205
|
-
}, [
|
|
206
|
-
h(t(A), { variant: "body2" }, {
|
|
207
|
-
default: w(() => [
|
|
208
|
-
E(B(e.title), 1)
|
|
209
|
-
]),
|
|
210
|
-
_: 2
|
|
211
|
-
}, 1024)
|
|
212
|
-
], 4)
|
|
213
|
-
])
|
|
214
|
-
], 2))), 128))
|
|
215
|
-
], 8, Ie),
|
|
216
|
-
u("tr", null, [
|
|
217
|
-
t(D) ? (i(), o("th", M({
|
|
159
|
+
t(ae) ? (i(), C(t(ve), {
|
|
218
160
|
key: 0,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
])
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
isTextRight: e.isTextRight,
|
|
238
|
-
isSortable: e.isSortable,
|
|
239
|
-
[`column-${e.id}`]: !0
|
|
240
|
-
}),
|
|
241
|
-
style: T(e.isSticky ? t(H)[e.id] : null),
|
|
242
|
-
onClick: (v) => e.isSortable ? t(X)(e) : null
|
|
161
|
+
search: t(p),
|
|
162
|
+
"onUpdate:search": o[0] || (o[0] = (e) => Se(p) ? p.value = e : null),
|
|
163
|
+
title: s.title,
|
|
164
|
+
"is-sticky": s.isStickyHeader,
|
|
165
|
+
"show-search": s.showSearch,
|
|
166
|
+
"search-placeholder": s.searchPlaceholder,
|
|
167
|
+
"search-auto-focus": s.searchAutoFocus,
|
|
168
|
+
"z-index-base": s.zIndexBase,
|
|
169
|
+
"test-id": s.testId,
|
|
170
|
+
onOnClearSearch: o[1] || (o[1] = (e) => k("onClearSearch"))
|
|
171
|
+
}, Y({
|
|
172
|
+
title: u(() => [
|
|
173
|
+
n(l.$slots, "title")
|
|
174
|
+
]),
|
|
175
|
+
search: u(() => [
|
|
176
|
+
n(l.$slots, "search")
|
|
177
|
+
]),
|
|
178
|
+
_: 2
|
|
243
179
|
}, [
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
E(B(e.title), 1)
|
|
249
|
-
]),
|
|
250
|
-
_: 2
|
|
251
|
-
}, 1024)
|
|
180
|
+
t(b)["table-header-pre-search"] ? {
|
|
181
|
+
name: "table-header-pre-search",
|
|
182
|
+
fn: u(() => [
|
|
183
|
+
n(l.$slots, "table-header-pre-search")
|
|
252
184
|
]),
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
], 2),
|
|
266
|
-
u("tbody", null, [
|
|
267
|
-
t(V).length > 0 ? (i(), o("div", M({
|
|
268
|
-
key: 0,
|
|
269
|
-
class: "table-body-wrapper",
|
|
270
|
-
"data-testid": `${s.testId}-${t(y).BODY_WRAPPER}`
|
|
271
|
-
}, t(W)), [
|
|
272
|
-
(i(!0), o(p, null, I(t(V), (e) => (i(), o("tr", {
|
|
273
|
-
key: s.getRowKey(e.data, e.index),
|
|
274
|
-
class: S(["table-row", {
|
|
275
|
-
loading: s.isLoading || s.isLoading && !e.data || t(O).includes(e.index),
|
|
276
|
-
active: t($) === e.index,
|
|
277
|
-
activeMenu: t(ee) === e.index,
|
|
278
|
-
expanded: t(R) && t(P)(e.index),
|
|
279
|
-
[Y(e.index)]: !0
|
|
280
|
-
}]),
|
|
281
|
-
onMouseenter: (v) => $.value = e.index,
|
|
282
|
-
onClick: (v) => f("clickRow", e.index)
|
|
185
|
+
key: "0"
|
|
186
|
+
} : void 0,
|
|
187
|
+
t(b)["table-header-actions"] ? {
|
|
188
|
+
name: "table-header-actions",
|
|
189
|
+
fn: u(() => [
|
|
190
|
+
n(l.$slots, "table-header-actions")
|
|
191
|
+
]),
|
|
192
|
+
key: "1"
|
|
193
|
+
} : void 0
|
|
194
|
+
]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
|
|
195
|
+
g("thead", {
|
|
196
|
+
class: f({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
|
|
283
197
|
}, [
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}, t(U)), [
|
|
288
|
-
h(t(G), {
|
|
289
|
-
"is-checked": C(s.getRowId(e.data, e.index)),
|
|
290
|
-
"onUpdate:isChecked": (v) => le(s.getRowId(e.data, e.index))
|
|
291
|
-
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
292
|
-
], 16)) : r("", !0),
|
|
293
|
-
t(R) ? (i(), o("td", Ve, [
|
|
294
|
-
h(ge, {
|
|
295
|
-
expanded: t(P)(e.index),
|
|
296
|
-
onClick: (v) => t(J)(e.index, v)
|
|
297
|
-
}, null, 8, ["expanded", "onClick"])
|
|
298
|
-
])) : r("", !0),
|
|
299
|
-
(i(!0), o(p, null, I(s.columns, (v, n) => (i(), o("td", {
|
|
300
|
-
key: n,
|
|
301
|
-
class: S({
|
|
302
|
-
sticky: s.columns[n].isSticky,
|
|
303
|
-
isStickyRight: s.columns[n].isStickyRight,
|
|
304
|
-
bordered: s.columns[n].isBordered,
|
|
305
|
-
isTextRight: s.columns[n].isTextRight,
|
|
306
|
-
[`column-${s.columns[n].id}`]: !0
|
|
307
|
-
}),
|
|
308
|
-
style: T(
|
|
309
|
-
s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
|
|
310
|
-
)
|
|
198
|
+
g("div", {
|
|
199
|
+
class: "sections",
|
|
200
|
+
"data-testid": `${s.testId}-${t(R).SECTIONS}`
|
|
311
201
|
}, [
|
|
312
|
-
!
|
|
202
|
+
(i(!0), d(x, null, $(s.sections, (e) => (i(), d("div", {
|
|
203
|
+
key: e.id,
|
|
204
|
+
class: f(["section-container", { sticky: e.isSticky }])
|
|
205
|
+
}, [
|
|
206
|
+
n(l.$slots, `section-${e.id}`, {}, () => [
|
|
207
|
+
g("div", {
|
|
208
|
+
style: v({ width: e.width + "px" }),
|
|
209
|
+
class: f({ section: !0 })
|
|
210
|
+
}, [
|
|
211
|
+
S(t(M), { variant: "body2" }, {
|
|
212
|
+
default: u(() => [
|
|
213
|
+
V(D(e.title), 1)
|
|
214
|
+
]),
|
|
215
|
+
_: 2
|
|
216
|
+
}, 1024)
|
|
217
|
+
], 4)
|
|
218
|
+
])
|
|
219
|
+
], 2))), 128))
|
|
220
|
+
], 8, Ee),
|
|
221
|
+
g("tr", null, [
|
|
222
|
+
t(F) ? (i(), d("th", I({
|
|
313
223
|
key: 0,
|
|
314
|
-
class:
|
|
224
|
+
class: "checkbox-cell"
|
|
225
|
+
}, t(O)), [
|
|
226
|
+
n(l.$slots, "select-all-checkbox", {}, () => [
|
|
227
|
+
S(t(Q), {
|
|
228
|
+
disabled: s.isLoading,
|
|
229
|
+
"is-checked": t(N),
|
|
230
|
+
"is-indeterminate": !t(N) && t(ie) > 0,
|
|
231
|
+
"onUpdate:isChecked": de
|
|
232
|
+
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
233
|
+
])
|
|
234
|
+
], 16)) : c("", !0),
|
|
235
|
+
t(H) ? (i(), d("th", Pe)) : c("", !0),
|
|
236
|
+
(i(!0), d(x, null, $(s.columns, (e, h) => (i(), d("th", {
|
|
237
|
+
key: e.id,
|
|
238
|
+
class: f({
|
|
239
|
+
...t(W)[h],
|
|
240
|
+
isSortable: e.isSortable,
|
|
241
|
+
[`column-${e.id}`]: !0
|
|
242
|
+
}),
|
|
243
|
+
style: v(
|
|
244
|
+
e.isSticky ? t(B)[e.id] : null
|
|
245
|
+
),
|
|
246
|
+
onClick: (r) => e.isSortable ? t(J)(e) : null
|
|
315
247
|
}, [
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
248
|
+
g("div", Ve, [
|
|
249
|
+
n(l.$slots, `header-${e.id}`, { column: e }, () => [
|
|
250
|
+
S(t(be), {
|
|
251
|
+
text: e.helpText,
|
|
252
|
+
disabled: !e.helpText || s.helpTooltipVariant === "icon",
|
|
253
|
+
placement: e.helpTextPlacement || "top",
|
|
254
|
+
"test-id": `help-tooltip-underlined-${e.id}`
|
|
255
|
+
}, {
|
|
256
|
+
default: u(() => [
|
|
257
|
+
S(t(M), {
|
|
258
|
+
variant: "tableLabel",
|
|
259
|
+
class: f({
|
|
260
|
+
underlined: e.helpText && s.helpTooltipVariant === "underline"
|
|
261
|
+
})
|
|
262
|
+
}, {
|
|
263
|
+
default: u(() => [
|
|
264
|
+
V(D(e.title), 1)
|
|
265
|
+
]),
|
|
266
|
+
_: 2
|
|
267
|
+
}, 1032, ["class"])
|
|
268
|
+
]),
|
|
269
|
+
_: 2
|
|
270
|
+
}, 1032, ["text", "disabled", "placement", "test-id"])
|
|
271
|
+
]),
|
|
272
|
+
e.helpText && s.helpTooltipVariant === "icon" ? (i(), C($e, {
|
|
273
|
+
key: 0,
|
|
274
|
+
"hover-help-text": e.helpText,
|
|
275
|
+
"hover-help-text-placement": e.helpTextPlacement,
|
|
276
|
+
"test-id": `help-tooltip-${e.id}`
|
|
277
|
+
}, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
|
|
278
|
+
n(l.$slots, `after-header-${e.id}`, { column: e }),
|
|
279
|
+
e.isSortable && e.id === s.sort?.sortBy ? (i(), C(xe, {
|
|
280
|
+
key: 1,
|
|
281
|
+
"sort-order": s.sort.sortOrder
|
|
282
|
+
}, null, 8, ["sort-order"])) : c("", !0)
|
|
283
|
+
])
|
|
284
|
+
], 14, Le))), 128))
|
|
285
|
+
]),
|
|
286
|
+
s.showTotalsRow && t(T).length > 0 ? (i(), d("tr", Ie, [
|
|
287
|
+
t(F) ? (i(), d("td", I({
|
|
288
|
+
key: 0,
|
|
289
|
+
class: "bg"
|
|
290
|
+
}, t(O)), null, 16)) : c("", !0),
|
|
291
|
+
(i(!0), d(x, null, $(s.columns, (e, h) => (i(), d("td", {
|
|
292
|
+
key: e.id,
|
|
293
|
+
class: f({
|
|
294
|
+
...t(W)[h],
|
|
295
|
+
[`total-${e.id}`]: !0
|
|
296
|
+
}),
|
|
297
|
+
style: v(
|
|
298
|
+
e.isSticky ? t(B)[e.id] : null
|
|
299
|
+
)
|
|
300
|
+
}, [
|
|
301
|
+
n(l.$slots, `total-${e.id}`, { column: e }, () => [
|
|
302
|
+
h === 0 ? (i(), C(t(M), {
|
|
303
|
+
key: 0,
|
|
304
|
+
variant: "h6"
|
|
305
|
+
}, {
|
|
306
|
+
default: u(() => [
|
|
307
|
+
V("Totals")
|
|
326
308
|
]),
|
|
327
|
-
_:
|
|
328
|
-
},
|
|
309
|
+
_: 1
|
|
310
|
+
})) : c("", !0)
|
|
329
311
|
])
|
|
330
|
-
],
|
|
331
|
-
|
|
312
|
+
], 6))), 128))
|
|
313
|
+
])) : c("", !0)
|
|
314
|
+
], 2),
|
|
315
|
+
g("tbody", null, [
|
|
316
|
+
t(T).length > 0 ? (i(), d("div", I({
|
|
317
|
+
key: 0,
|
|
318
|
+
class: "table-body-wrapper",
|
|
319
|
+
"data-testid": `${s.testId}-${t(R).BODY_WRAPPER}`
|
|
320
|
+
}, t(q)), [
|
|
321
|
+
(i(!0), d(x, null, $(t(T), (e) => (i(), d("tr", {
|
|
322
|
+
key: s.getRowKey(e.data, e.index),
|
|
323
|
+
class: f(["table-row", {
|
|
324
|
+
loading: s.isLoading || s.isLoading && !e.data || t(U).includes(e.index),
|
|
325
|
+
active: t(w) === e.index,
|
|
326
|
+
activeMenu: t(le) === e.index,
|
|
327
|
+
expanded: t(H) && t(A)(e.index),
|
|
328
|
+
[X(e.index)]: !0
|
|
329
|
+
}]),
|
|
330
|
+
style: v(t(L)[e.index]),
|
|
331
|
+
onMouseenter: (h) => w.value = e.index,
|
|
332
|
+
onClick: (h) => k("clickRow", e.index)
|
|
333
|
+
}, [
|
|
334
|
+
t(F) ? (i(), d("td", I({
|
|
335
|
+
key: 0,
|
|
336
|
+
class: "checkbox-cell"
|
|
337
|
+
}, t(O), {
|
|
338
|
+
style: t(L)[e.index]
|
|
339
|
+
}), [
|
|
340
|
+
S(t(Q), {
|
|
341
|
+
"is-checked": E(s.getRowId(e.data, e.index)),
|
|
342
|
+
"onUpdate:isChecked": (h) => oe(s.getRowId(e.data, e.index))
|
|
343
|
+
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
344
|
+
], 16)) : c("", !0),
|
|
345
|
+
t(H) ? (i(), d("td", {
|
|
346
|
+
key: 1,
|
|
347
|
+
class: "expand-toggle-cell",
|
|
348
|
+
style: v(t(L)[e.index])
|
|
349
|
+
}, [
|
|
350
|
+
S(Re, {
|
|
351
|
+
expanded: t(A)(e.index),
|
|
352
|
+
onClick: (h) => t(ee)(e.index, h)
|
|
353
|
+
}, null, 8, ["expanded", "onClick"])
|
|
354
|
+
], 4)) : c("", !0),
|
|
355
|
+
(i(!0), d(x, null, $(s.columns, (h, r) => (i(), d("td", {
|
|
356
|
+
key: r,
|
|
357
|
+
class: f({
|
|
358
|
+
sticky: s.columns[r].isSticky,
|
|
359
|
+
isStickyRight: s.columns[r].isStickyRight,
|
|
360
|
+
bordered: s.columns[r].isBordered,
|
|
361
|
+
isTextRight: s.columns[r].isTextRight,
|
|
362
|
+
[`column-${s.columns[r].id}`]: !0
|
|
363
|
+
}),
|
|
364
|
+
style: v([
|
|
365
|
+
s.columns[r].isSticky ? t(B)[s.columns[r].id] : null,
|
|
366
|
+
t(L)[e.index]
|
|
367
|
+
])
|
|
368
|
+
}, [
|
|
369
|
+
!s.isLoading || s.isLoading && e.data[r] ? (i(), d("div", {
|
|
370
|
+
key: 0,
|
|
371
|
+
class: f(["table-cell", { last: r === e.data.length - 1 }])
|
|
372
|
+
}, [
|
|
373
|
+
n(l.$slots, `cell-${s.columns[r].id}`, {
|
|
374
|
+
cell: e.data[r],
|
|
375
|
+
isLoading: t(U).includes(e.index),
|
|
376
|
+
cellIndex: r,
|
|
377
|
+
row: e,
|
|
378
|
+
rowIndex: e.index
|
|
379
|
+
}, () => [
|
|
380
|
+
S(t(M), { variant: "body1" }, {
|
|
381
|
+
default: u(() => [
|
|
382
|
+
V(D(e.data[r]), 1)
|
|
383
|
+
]),
|
|
384
|
+
_: 2
|
|
385
|
+
}, 1024)
|
|
386
|
+
])
|
|
387
|
+
], 2)) : n(l.$slots, "loader", { key: 1 }, () => [
|
|
388
|
+
S(t(ge), { round: "" })
|
|
389
|
+
])
|
|
390
|
+
], 6))), 128)),
|
|
391
|
+
t(H) && t(A)(e.index) ? (i(), d("div", Fe, [
|
|
392
|
+
n(l.$slots, "expanded", {
|
|
393
|
+
row: e,
|
|
394
|
+
gridColumnTemplate: t(z)
|
|
395
|
+
})
|
|
396
|
+
])) : c("", !0),
|
|
397
|
+
ne(e.index) ? (i(), d("div", Ne, [
|
|
398
|
+
n(l.$slots, "floating-row", {
|
|
399
|
+
row: e,
|
|
400
|
+
rowIndex: e.index
|
|
401
|
+
})
|
|
402
|
+
])) : c("", !0)
|
|
403
|
+
], 46, Ae))), 128))
|
|
404
|
+
], 16, Me)) : (i(), d("div", Oe, [
|
|
405
|
+
n(l.$slots, "empty-state", {}, () => [
|
|
406
|
+
S(t(me), {
|
|
407
|
+
class: "empty-state",
|
|
408
|
+
title: s.emptyStateTitle,
|
|
409
|
+
subtitle: t(ce),
|
|
410
|
+
variant: t(re),
|
|
411
|
+
"icon-name": "file-search",
|
|
412
|
+
"test-id": `${s.testId}-${t(R).EMPTY_STATE}`
|
|
413
|
+
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
332
414
|
])
|
|
333
|
-
]
|
|
334
|
-
t(R) && t(P)(e.index) ? (i(), o("div", Ne, [
|
|
335
|
-
c(a.$slots, "expanded", {
|
|
336
|
-
row: e,
|
|
337
|
-
gridColumnTemplate: t(N)
|
|
338
|
-
})
|
|
339
|
-
])) : r("", !0),
|
|
340
|
-
oe(e.index) ? (i(), o("div", Fe, [
|
|
341
|
-
c(a.$slots, "floating-row", {
|
|
342
|
-
row: e,
|
|
343
|
-
rowIndex: e.index
|
|
344
|
-
})
|
|
345
|
-
])) : r("", !0)
|
|
346
|
-
], 42, Me))), 128))
|
|
347
|
-
], 16, Le)) : (i(), o("div", Oe, [
|
|
348
|
-
c(a.$slots, "empty-state", {}, () => [
|
|
349
|
-
h(t(fe), {
|
|
350
|
-
class: "empty-state",
|
|
351
|
-
title: s.emptyStateTitle,
|
|
352
|
-
subtitle: t(ne),
|
|
353
|
-
variant: t(de),
|
|
354
|
-
"icon-name": "file-search",
|
|
355
|
-
"test-id": `${s.testId}-${t(y).EMPTY_STATE}`
|
|
356
|
-
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
415
|
+
]))
|
|
357
416
|
])
|
|
358
|
-
])
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
])
|
|
364
|
-
|
|
417
|
+
], 46, He),
|
|
418
|
+
t(G) ? (i(), d("div", De, [
|
|
419
|
+
n(l.$slots, "footer")
|
|
420
|
+
])) : c("", !0)
|
|
421
|
+
], 40, Be)
|
|
422
|
+
]),
|
|
423
|
+
_: 2
|
|
424
|
+
}, [
|
|
425
|
+
t(b)["side-panel"] ? {
|
|
426
|
+
name: "side-panel",
|
|
427
|
+
fn: u(() => [
|
|
428
|
+
n(l.$slots, "side-panel")
|
|
429
|
+
]),
|
|
430
|
+
key: "0"
|
|
431
|
+
} : void 0
|
|
432
|
+
]), 1024));
|
|
365
433
|
}
|
|
366
434
|
});
|
|
367
435
|
export {
|
|
368
|
-
|
|
436
|
+
it as default
|
|
369
437
|
};
|