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