@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.31
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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_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_fa533a3d_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_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_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_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_55dd36a7_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_ad98fe7b_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/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_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_84dc8525_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/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_3b15c693_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 +158 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +150 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +96 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +226 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +370 -0
- package/components/chart/ChartStoryArgs.d.ts +184 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +50 -55
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- 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 +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +29 -7
- package/components/chart/consts.js +41 -21
- package/components/chart/index.d.ts +554 -119
- package/components/chart/mockData.d.ts +44 -5
- package/components/chart/types.d.ts +38 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- 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 +19 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- 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 +81 -75
- 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/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- 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 +172 -160
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- 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/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- 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 +151 -129
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- 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 +701 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- 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/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -0
- package/components/link/index.js +6 -0
- 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/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +3 -3
- 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 +10 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +104 -96
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/index.d.ts +39 -1
- 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 +15 -4
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +288 -230
- package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
- package/components/table/v4/index.d.ts +50 -15
- package/components/table/v4/storyUtils.d.ts +19 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- 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/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- 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 +2068 -739
- package/index.js +148 -132
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +13 -1
- package/testids/index.d.ts +8 -0
- package/testids/index.js +35 -33
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +19 -6
- package/utils/index.js +7 -0
- 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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_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_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_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_3a2aeea3_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_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/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/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_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/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
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
getRowKey?: (row: Row, index: number) => string | number;
|
|
8
8
|
isSticky?: boolean;
|
|
9
9
|
isLoading?: boolean;
|
|
10
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
10
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
11
11
|
emptyStateTitle?: string;
|
|
12
12
|
emptyStateSubtitle?: string;
|
|
13
13
|
loadingRowCount?: number;
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
61
|
getRowKey?: (row: Row, index: number) => string | number;
|
|
62
62
|
isSticky?: boolean;
|
|
63
63
|
isLoading?: boolean;
|
|
64
|
-
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
64
|
+
emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
65
65
|
emptyStateTitle?: string;
|
|
66
66
|
emptyStateSubtitle?: string;
|
|
67
67
|
loadingRowCount?: number;
|
|
@@ -122,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
122
122
|
emptyStateSubtitle: string;
|
|
123
123
|
getRowId: (row: Row, index: number) => unknown;
|
|
124
124
|
getRowKey: (row: Row, index: number) => string | number;
|
|
125
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
125
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
126
126
|
rowCustomClassKey: string;
|
|
127
127
|
rowDataKey: string;
|
|
128
128
|
totalCount: number;
|
|
@@ -30,7 +30,8 @@ declare const DataGridTypes: () => (({
|
|
|
30
30
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
31
31
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
32
32
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
33
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
33
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
34
|
+
helpTooltipVariant: "icon" | "underline";
|
|
34
35
|
rowCustomClassKey: string;
|
|
35
36
|
rowDataKey: string;
|
|
36
37
|
isSelectionSticky: boolean;
|
|
@@ -137,9 +138,16 @@ declare const DataGridTypes: () => (({
|
|
|
137
138
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
138
139
|
};
|
|
139
140
|
emptyStateVariant: {
|
|
140
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
141
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
141
142
|
default: any;
|
|
142
143
|
};
|
|
144
|
+
showTotalsRow: {
|
|
145
|
+
type: import("vue").PropType<boolean>;
|
|
146
|
+
};
|
|
147
|
+
helpTooltipVariant: {
|
|
148
|
+
type: import("vue").PropType<"icon" | "underline">;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
143
151
|
rowCustomClassKey: {
|
|
144
152
|
type: import("vue").PropType<string>;
|
|
145
153
|
default: string;
|
|
@@ -167,7 +175,7 @@ declare const DataGridTypes: () => (({
|
|
|
167
175
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
168
176
|
onSelectRow?: (value: boolean) => any;
|
|
169
177
|
onClickRow?: (rowIndex: number) => any;
|
|
170
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
|
|
178
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "helpTooltipVariant" | "rowCustomClassKey" | "rowDataKey" | "isSelectionSticky" | "isSelectionBordered">;
|
|
171
179
|
$attrs: {
|
|
172
180
|
[x: string]: unknown;
|
|
173
181
|
};
|
|
@@ -283,9 +291,16 @@ declare const DataGridTypes: () => (({
|
|
|
283
291
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
284
292
|
};
|
|
285
293
|
emptyStateVariant: {
|
|
286
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
294
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
287
295
|
default: any;
|
|
288
296
|
};
|
|
297
|
+
showTotalsRow: {
|
|
298
|
+
type: import("vue").PropType<boolean>;
|
|
299
|
+
};
|
|
300
|
+
helpTooltipVariant: {
|
|
301
|
+
type: import("vue").PropType<"icon" | "underline">;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
289
304
|
rowCustomClassKey: {
|
|
290
305
|
type: import("vue").PropType<string>;
|
|
291
306
|
default: string;
|
|
@@ -350,7 +365,8 @@ declare const DataGridTypes: () => (({
|
|
|
350
365
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
351
366
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
352
367
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
353
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
368
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
369
|
+
helpTooltipVariant: "icon" | "underline";
|
|
354
370
|
rowCustomClassKey: string;
|
|
355
371
|
rowDataKey: string;
|
|
356
372
|
isSelectionSticky: boolean;
|
|
@@ -477,9 +493,16 @@ declare const DataGridTypes: () => (({
|
|
|
477
493
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
478
494
|
};
|
|
479
495
|
emptyStateVariant: {
|
|
480
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
496
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
481
497
|
default: any;
|
|
482
498
|
};
|
|
499
|
+
showTotalsRow: {
|
|
500
|
+
type: import("vue").PropType<boolean>;
|
|
501
|
+
};
|
|
502
|
+
helpTooltipVariant: {
|
|
503
|
+
type: import("vue").PropType<"icon" | "underline">;
|
|
504
|
+
default: string;
|
|
505
|
+
};
|
|
483
506
|
rowCustomClassKey: {
|
|
484
507
|
type: import("vue").PropType<string>;
|
|
485
508
|
default: string;
|
|
@@ -615,9 +638,16 @@ declare const DataGridTypes: () => (({
|
|
|
615
638
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
616
639
|
};
|
|
617
640
|
emptyStateVariant: {
|
|
618
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
641
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
619
642
|
default: any;
|
|
620
643
|
};
|
|
644
|
+
showTotalsRow: {
|
|
645
|
+
type: import("vue").PropType<boolean>;
|
|
646
|
+
};
|
|
647
|
+
helpTooltipVariant: {
|
|
648
|
+
type: import("vue").PropType<"icon" | "underline">;
|
|
649
|
+
default: string;
|
|
650
|
+
};
|
|
621
651
|
rowCustomClassKey: {
|
|
622
652
|
type: import("vue").PropType<string>;
|
|
623
653
|
default: string;
|
|
@@ -682,7 +712,8 @@ declare const DataGridTypes: () => (({
|
|
|
682
712
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
683
713
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
684
714
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
685
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
715
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
716
|
+
helpTooltipVariant: "icon" | "underline";
|
|
686
717
|
rowCustomClassKey: string;
|
|
687
718
|
rowDataKey: string;
|
|
688
719
|
isSelectionSticky: boolean;
|
|
@@ -690,6 +721,10 @@ declare const DataGridTypes: () => (({
|
|
|
690
721
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
691
722
|
$slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
|
|
692
723
|
column: import("../common/Table.types").Column;
|
|
724
|
+
}) => any>> & Partial<Record<`after-header-${string}`, (_: {
|
|
725
|
+
column: import("../common/Table.types").Column;
|
|
726
|
+
}) => any>> & Partial<Record<`total-${string}`, (_: {
|
|
727
|
+
column: import("../common/Table.types").Column;
|
|
693
728
|
}) => any>> & Partial<Record<`cell-${string}`, (_: {
|
|
694
729
|
cell: unknown;
|
|
695
730
|
isLoading: boolean;
|
|
@@ -825,7 +860,7 @@ declare const DataGridTypes: () => (({
|
|
|
825
860
|
emptyStateSubtitle: string;
|
|
826
861
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
827
862
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
828
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
863
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
829
864
|
rowCustomClassKey: string;
|
|
830
865
|
rowDataKey: string;
|
|
831
866
|
totalCount: number;
|
|
@@ -888,7 +923,7 @@ declare const DataGridTypes: () => (({
|
|
|
888
923
|
default: (row: any, index: any) => any;
|
|
889
924
|
};
|
|
890
925
|
emptyStateVariant: {
|
|
891
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
926
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
892
927
|
default: any;
|
|
893
928
|
};
|
|
894
929
|
rowCustomClassKey: {
|
|
@@ -1003,7 +1038,7 @@ declare const DataGridTypes: () => (({
|
|
|
1003
1038
|
default: (row: any, index: any) => any;
|
|
1004
1039
|
};
|
|
1005
1040
|
emptyStateVariant: {
|
|
1006
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1041
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1007
1042
|
default: any;
|
|
1008
1043
|
};
|
|
1009
1044
|
rowCustomClassKey: {
|
|
@@ -1070,7 +1105,7 @@ declare const DataGridTypes: () => (({
|
|
|
1070
1105
|
emptyStateSubtitle: string;
|
|
1071
1106
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1072
1107
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1073
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1108
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
1074
1109
|
rowCustomClassKey: string;
|
|
1075
1110
|
rowDataKey: string;
|
|
1076
1111
|
totalCount: number;
|
|
@@ -1153,7 +1188,7 @@ declare const DataGridTypes: () => (({
|
|
|
1153
1188
|
default: (row: any, index: any) => any;
|
|
1154
1189
|
};
|
|
1155
1190
|
emptyStateVariant: {
|
|
1156
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1191
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1157
1192
|
default: any;
|
|
1158
1193
|
};
|
|
1159
1194
|
rowCustomClassKey: {
|
|
@@ -1256,7 +1291,7 @@ declare const DataGridTypes: () => (({
|
|
|
1256
1291
|
default: (row: any, index: any) => any;
|
|
1257
1292
|
};
|
|
1258
1293
|
emptyStateVariant: {
|
|
1259
|
-
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1294
|
+
type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
|
|
1260
1295
|
default: any;
|
|
1261
1296
|
};
|
|
1262
1297
|
rowCustomClassKey: {
|
|
@@ -1323,7 +1358,7 @@ declare const DataGridTypes: () => (({
|
|
|
1323
1358
|
emptyStateSubtitle: string;
|
|
1324
1359
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1325
1360
|
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1326
|
-
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files"
|
|
1361
|
+
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
1327
1362
|
rowCustomClassKey: string;
|
|
1328
1363
|
rowDataKey: string;
|
|
1329
1364
|
totalCount: number;
|
|
@@ -11,3 +11,22 @@ export declare const exampleObjectRows: {
|
|
|
11
11
|
rowData: string[];
|
|
12
12
|
customClass: string;
|
|
13
13
|
}[];
|
|
14
|
+
export declare const exampleNumbersRows: string[][];
|
|
15
|
+
export declare const exampleNumbersRowsExtra: string[][];
|
|
16
|
+
export declare const BASIC_COLUMNS: {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
isSortable: boolean;
|
|
20
|
+
}[];
|
|
21
|
+
export declare const EXTRA_COLUMNS: {
|
|
22
|
+
id: string;
|
|
23
|
+
title: string;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const columnOptions: {
|
|
26
|
+
id: string;
|
|
27
|
+
title: string;
|
|
28
|
+
options: {
|
|
29
|
+
id: string;
|
|
30
|
+
title: string;
|
|
31
|
+
}[];
|
|
32
|
+
}[];
|
|
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
tabsList: Tab[];
|
|
4
4
|
selectedTab: string | number;
|
|
5
5
|
variant?: "fill" | "fix";
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "md" | "sm" | "lg" | "xl";
|
|
7
7
|
testId?: string;
|
|
8
8
|
}>, {
|
|
9
9
|
tabsList: () => any[];
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
tabsList: Tab[];
|
|
17
17
|
selectedTab: string | number;
|
|
18
18
|
variant?: "fill" | "fix";
|
|
19
|
-
size?: "
|
|
19
|
+
size?: "md" | "sm" | "lg" | "xl";
|
|
20
20
|
testId?: string;
|
|
21
21
|
}>, {
|
|
22
22
|
tabsList: () => any[];
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
}, {
|
|
29
29
|
testId: string;
|
|
30
30
|
variant: "fill" | "fix";
|
|
31
|
-
size: "
|
|
31
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
32
32
|
tabsList: Tab[];
|
|
33
33
|
}>, {
|
|
34
34
|
default?(_: {
|
|
@@ -5,7 +5,7 @@ declare const TabsTypes: () => ({
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
testId: string;
|
|
7
7
|
variant: "fill" | "fix";
|
|
8
|
-
size: "
|
|
8
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
9
9
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
testId: {
|
|
@@ -17,7 +17,7 @@ declare const TabsTypes: () => ({
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
size: {
|
|
20
|
-
type: import("vue").PropType<"
|
|
20
|
+
type: import("vue").PropType<"md" | "sm" | "lg" | "xl">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
tabsList: {
|
|
@@ -55,7 +55,7 @@ declare const TabsTypes: () => ({
|
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
size: {
|
|
58
|
-
type: import("vue").PropType<"
|
|
58
|
+
type: import("vue").PropType<"md" | "sm" | "lg" | "xl">;
|
|
59
59
|
default: string;
|
|
60
60
|
};
|
|
61
61
|
tabsList: {
|
|
@@ -74,7 +74,7 @@ declare const TabsTypes: () => ({
|
|
|
74
74
|
}, string, {
|
|
75
75
|
testId: string;
|
|
76
76
|
variant: "fill" | "fix";
|
|
77
|
-
size: "
|
|
77
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
78
78
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
79
79
|
}, {}, string> & {
|
|
80
80
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -106,7 +106,7 @@ declare const TabsTypes: () => ({
|
|
|
106
106
|
default: string;
|
|
107
107
|
};
|
|
108
108
|
size: {
|
|
109
|
-
type: import("vue").PropType<"
|
|
109
|
+
type: import("vue").PropType<"md" | "sm" | "lg" | "xl">;
|
|
110
110
|
default: string;
|
|
111
111
|
};
|
|
112
112
|
tabsList: {
|
|
@@ -134,7 +134,7 @@ declare const TabsTypes: () => ({
|
|
|
134
134
|
default: string;
|
|
135
135
|
};
|
|
136
136
|
size: {
|
|
137
|
-
type: import("vue").PropType<"
|
|
137
|
+
type: import("vue").PropType<"md" | "sm" | "lg" | "xl">;
|
|
138
138
|
default: string;
|
|
139
139
|
};
|
|
140
140
|
tabsList: {
|
|
@@ -153,7 +153,7 @@ declare const TabsTypes: () => ({
|
|
|
153
153
|
}, string, {
|
|
154
154
|
testId: string;
|
|
155
155
|
variant: "fill" | "fix";
|
|
156
|
-
size: "
|
|
156
|
+
size: "md" | "sm" | "lg" | "xl";
|
|
157
157
|
tabsList: import("../common/Tabs.types").Tab[];
|
|
158
158
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
159
|
$slots: {
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const TOOLTIP_POSITIONS: readonly ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end"];
|
|
2
2
|
export type TooltipPositions = (typeof TOOLTIP_POSITIONS)[number];
|
|
3
|
+
export type TooltipTriggers = 'hover' | 'click' | 'focus' | 'touch';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
text?: string;
|
|
4
4
|
header?: string;
|
|
5
5
|
delay?: number;
|
|
6
|
-
triggers?:
|
|
6
|
+
triggers?: TooltipTriggers[];
|
|
7
7
|
forceShowWithTruncate?: boolean;
|
|
8
8
|
placement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
9
9
|
theme?: string;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
text?: string;
|
|
24
24
|
header?: string;
|
|
25
25
|
delay?: number;
|
|
26
|
-
triggers?:
|
|
26
|
+
triggers?: TooltipTriggers[];
|
|
27
27
|
forceShowWithTruncate?: boolean;
|
|
28
28
|
placement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
29
29
|
theme?: string;
|
|
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
45
|
theme: string;
|
|
46
46
|
testId: string;
|
|
47
47
|
delay: number;
|
|
48
|
-
triggers:
|
|
48
|
+
triggers: TooltipTriggers[];
|
|
49
49
|
forceShowWithTruncate: boolean;
|
|
50
50
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
51
51
|
disabled: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./Tooltip.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../Tooltip.
|
|
3
|
+
// import "../../../Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css"; //*');
|
|
4
4
|
// import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-20630944"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../Tooltip.
|
|
1
|
+
import "../../../Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css"; import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; import { defineComponent as y, ref as s, useSlots as g, watch as h, openBlock as r, createBlock as n, unref as a, mergeProps as w, withCtx as u, createElementVNode as m, renderSlot as p, createTextVNode as S, toDisplayString as k, nextTick as $ } from "vue";
|
|
2
2
|
import I from "./TextWithTitleContent.vue.js";
|
|
3
3
|
import "../../typography/Heading.vue.js";
|
|
4
4
|
import W from "../../typography/Text.vue.js";
|
|
@@ -8,7 +8,7 @@ declare const TooltipTypes: () => ({
|
|
|
8
8
|
theme: string;
|
|
9
9
|
testId: string;
|
|
10
10
|
delay: number;
|
|
11
|
-
triggers: ("
|
|
11
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
12
12
|
forceShowWithTruncate: boolean;
|
|
13
13
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
14
14
|
disabled: boolean;
|
|
@@ -34,7 +34,7 @@ declare const TooltipTypes: () => ({
|
|
|
34
34
|
default: number;
|
|
35
35
|
};
|
|
36
36
|
triggers: {
|
|
37
|
-
type: import("vue").PropType<("
|
|
37
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
38
38
|
default: () => string[];
|
|
39
39
|
};
|
|
40
40
|
forceShowWithTruncate: {
|
|
@@ -85,7 +85,7 @@ declare const TooltipTypes: () => ({
|
|
|
85
85
|
default: number;
|
|
86
86
|
};
|
|
87
87
|
triggers: {
|
|
88
|
-
type: import("vue").PropType<("
|
|
88
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
89
89
|
default: () => string[];
|
|
90
90
|
};
|
|
91
91
|
forceShowWithTruncate: {
|
|
@@ -106,7 +106,7 @@ declare const TooltipTypes: () => ({
|
|
|
106
106
|
theme: string;
|
|
107
107
|
testId: string;
|
|
108
108
|
delay: number;
|
|
109
|
-
triggers: ("
|
|
109
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
110
110
|
forceShowWithTruncate: boolean;
|
|
111
111
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
112
112
|
disabled: boolean;
|
|
@@ -152,7 +152,7 @@ declare const TooltipTypes: () => ({
|
|
|
152
152
|
default: number;
|
|
153
153
|
};
|
|
154
154
|
triggers: {
|
|
155
|
-
type: import("vue").PropType<("
|
|
155
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
156
156
|
default: () => string[];
|
|
157
157
|
};
|
|
158
158
|
forceShowWithTruncate: {
|
|
@@ -193,7 +193,7 @@ declare const TooltipTypes: () => ({
|
|
|
193
193
|
default: number;
|
|
194
194
|
};
|
|
195
195
|
triggers: {
|
|
196
|
-
type: import("vue").PropType<("
|
|
196
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
197
197
|
default: () => string[];
|
|
198
198
|
};
|
|
199
199
|
forceShowWithTruncate: {
|
|
@@ -214,7 +214,7 @@ declare const TooltipTypes: () => ({
|
|
|
214
214
|
theme: string;
|
|
215
215
|
testId: string;
|
|
216
216
|
delay: number;
|
|
217
|
-
triggers: ("
|
|
217
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
218
218
|
forceShowWithTruncate: boolean;
|
|
219
219
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
220
220
|
disabled: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { TooltipTriggers } from '@/components/tooltip/common/Tooltip.types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
text?: string;
|
|
4
4
|
header?: string;
|
|
5
5
|
delay?: number;
|
|
6
|
-
triggers?:
|
|
6
|
+
triggers?: TooltipTriggers[];
|
|
7
7
|
forceShowWithTruncate?: boolean;
|
|
8
8
|
placement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
9
9
|
theme?: string;
|
|
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
container?: string;
|
|
14
14
|
shown?: boolean;
|
|
15
15
|
autoHide?: boolean;
|
|
16
|
+
dontWrapDisabled?: boolean;
|
|
16
17
|
}>, {
|
|
17
18
|
text: any;
|
|
18
19
|
header: any;
|
|
@@ -27,13 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
28
|
container: string;
|
|
28
29
|
shown: any;
|
|
29
30
|
autoHide: boolean;
|
|
31
|
+
dontWrapDisabled: boolean;
|
|
30
32
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
33
|
show: () => void;
|
|
32
34
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
33
35
|
text?: string;
|
|
34
36
|
header?: string;
|
|
35
37
|
delay?: number;
|
|
36
|
-
triggers?:
|
|
38
|
+
triggers?: TooltipTriggers[];
|
|
37
39
|
forceShowWithTruncate?: boolean;
|
|
38
40
|
placement?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
39
41
|
theme?: string;
|
|
@@ -43,6 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
45
|
container?: string;
|
|
44
46
|
shown?: boolean;
|
|
45
47
|
autoHide?: boolean;
|
|
48
|
+
dontWrapDisabled?: boolean;
|
|
46
49
|
}>, {
|
|
47
50
|
text: any;
|
|
48
51
|
header: any;
|
|
@@ -57,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
60
|
container: string;
|
|
58
61
|
shown: any;
|
|
59
62
|
autoHide: boolean;
|
|
63
|
+
dontWrapDisabled: boolean;
|
|
60
64
|
}>>> & {
|
|
61
65
|
onShow?: () => any;
|
|
62
66
|
}, {
|
|
@@ -65,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
69
|
theme: string;
|
|
66
70
|
testId: string;
|
|
67
71
|
delay: number;
|
|
68
|
-
triggers:
|
|
72
|
+
triggers: TooltipTriggers[];
|
|
69
73
|
forceShowWithTruncate: boolean;
|
|
70
74
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
71
75
|
disabled: boolean;
|
|
@@ -73,6 +77,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
77
|
container: string;
|
|
74
78
|
shown: boolean;
|
|
75
79
|
autoHide: boolean;
|
|
80
|
+
dontWrapDisabled: boolean;
|
|
76
81
|
}>, {
|
|
77
82
|
default?(_: {}): any;
|
|
78
83
|
tooltip?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8a451e54"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, renderSlot as l, openBlock as d, createBlock as i, unref as t, mergeProps as m, withCtx as n, createTextVNode as y, toDisplayString as p, createElementVNode as T } from "vue";
|
|
2
2
|
import g from "./TextWithTitleContent.vue.js";
|
|
3
3
|
import { Tooltip as w } from "floating-vue";
|
|
4
|
-
import { TooltipTestIdModifiers as
|
|
5
|
-
import
|
|
4
|
+
import { TooltipTestIdModifiers as r } from "../../../testids/index.js";
|
|
5
|
+
import b from "../../typography/v4/Typography.vue.js";
|
|
6
6
|
import { tooltipCommon as v } from "../common/Tooltip.common.js";
|
|
7
|
-
import { useTestIdAttrs as
|
|
7
|
+
import { useTestIdAttrs as x } from "../../../utils/testIds.js";
|
|
8
8
|
const B = {
|
|
9
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, E = /* @__PURE__ */ c({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -23,37 +23,38 @@ const B = {
|
|
|
23
23
|
distance: { default: "10" },
|
|
24
24
|
container: { default: "body" },
|
|
25
25
|
shown: { type: Boolean, default: null },
|
|
26
|
-
autoHide: { type: Boolean, default: !0 }
|
|
26
|
+
autoHide: { type: Boolean, default: !0 },
|
|
27
|
+
dontWrapDisabled: { type: Boolean, default: !1 }
|
|
27
28
|
},
|
|
28
29
|
emits: ["show"],
|
|
29
30
|
setup(e, { emit: h }) {
|
|
30
|
-
const
|
|
31
|
-
return (
|
|
31
|
+
const s = e, { textForDisplay: a } = v(s), u = x(s.testId, r);
|
|
32
|
+
return (o, f) => (e.disabled || !e.text) && e.dontWrapDisabled ? l(o.$slots, "default", { key: 0 }, void 0, !0) : (d(), i(t(w), m({ key: 1 }, { ...o.$props, ...t(u)[t(r).TRIGGER] }, {
|
|
32
33
|
theme: e.theme,
|
|
33
34
|
"no-auto-focus": "",
|
|
34
35
|
triggers: e.triggers,
|
|
35
36
|
delay: { show: e.delay, hide: 0 },
|
|
36
37
|
placement: e.placement,
|
|
37
|
-
disabled: e.disabled || e.text && !t(
|
|
38
|
+
disabled: e.disabled || e.text && !t(a),
|
|
38
39
|
"popper-class": [e.theme, e.placement, "v4-tooltip"],
|
|
39
40
|
class: ["v4-tooltip"],
|
|
40
41
|
distance: e.distance,
|
|
41
42
|
"auto-hide": e.autoHide,
|
|
42
43
|
shown: e.shown,
|
|
43
|
-
onApplyShow:
|
|
44
|
+
onApplyShow: f[0] || (f[0] = (k) => h("show"))
|
|
44
45
|
}), {
|
|
45
46
|
popper: n(() => [
|
|
46
|
-
|
|
47
|
-
e.header ? (
|
|
47
|
+
l(o.$slots, "tooltip", { text: t(a) }, () => [
|
|
48
|
+
e.header ? (d(), i(g, {
|
|
48
49
|
key: 1,
|
|
49
50
|
text: e.text,
|
|
50
51
|
header: e.header
|
|
51
|
-
}, null, 8, ["text", "header"])) : (
|
|
52
|
+
}, null, 8, ["text", "header"])) : (d(), i(t(b), m({
|
|
52
53
|
key: 0,
|
|
53
54
|
variant: "body2"
|
|
54
|
-
}, t(
|
|
55
|
+
}, t(u)[t(r).TEXT]), {
|
|
55
56
|
default: n(() => [
|
|
56
|
-
p(
|
|
57
|
+
y(p(t(a)), 1)
|
|
57
58
|
]),
|
|
58
59
|
_: 1
|
|
59
60
|
}, 16))
|
|
@@ -61,7 +62,7 @@ const B = {
|
|
|
61
62
|
]),
|
|
62
63
|
default: n(() => [
|
|
63
64
|
T("div", B, [
|
|
64
|
-
|
|
65
|
+
l(o.$slots, "default", {}, void 0, !0)
|
|
65
66
|
], 512)
|
|
66
67
|
]),
|
|
67
68
|
_: 3
|
|
@@ -69,5 +70,5 @@ const B = {
|
|
|
69
70
|
}
|
|
70
71
|
});
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
E as default
|
|
73
74
|
};
|