@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,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
|
};
|
|
@@ -9,7 +9,7 @@ declare const TooltipTypes: () => ({
|
|
|
9
9
|
theme: string;
|
|
10
10
|
testId: string;
|
|
11
11
|
delay: number;
|
|
12
|
-
triggers: ("
|
|
12
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
13
13
|
forceShowWithTruncate: boolean;
|
|
14
14
|
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";
|
|
15
15
|
disabled: boolean;
|
|
@@ -17,6 +17,7 @@ declare const TooltipTypes: () => ({
|
|
|
17
17
|
container: string;
|
|
18
18
|
shown: boolean;
|
|
19
19
|
autoHide: boolean;
|
|
20
|
+
dontWrapDisabled: boolean;
|
|
20
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
21
22
|
header: {
|
|
22
23
|
type: import("vue").PropType<string>;
|
|
@@ -39,7 +40,7 @@ declare const TooltipTypes: () => ({
|
|
|
39
40
|
default: number;
|
|
40
41
|
};
|
|
41
42
|
triggers: {
|
|
42
|
-
type: import("vue").PropType<("
|
|
43
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
43
44
|
default: () => string[];
|
|
44
45
|
};
|
|
45
46
|
forceShowWithTruncate: {
|
|
@@ -70,9 +71,13 @@ declare const TooltipTypes: () => ({
|
|
|
70
71
|
type: import("vue").PropType<boolean>;
|
|
71
72
|
default: boolean;
|
|
72
73
|
};
|
|
74
|
+
dontWrapDisabled: {
|
|
75
|
+
type: import("vue").PropType<boolean>;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
73
78
|
}>> & {
|
|
74
79
|
onShow?: () => any;
|
|
75
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide">;
|
|
80
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "text" | "theme" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled" | "distance" | "container" | "shown" | "autoHide" | "dontWrapDisabled">;
|
|
76
81
|
$attrs: {
|
|
77
82
|
[x: string]: unknown;
|
|
78
83
|
};
|
|
@@ -108,7 +113,7 @@ declare const TooltipTypes: () => ({
|
|
|
108
113
|
default: number;
|
|
109
114
|
};
|
|
110
115
|
triggers: {
|
|
111
|
-
type: import("vue").PropType<("
|
|
116
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
112
117
|
default: () => string[];
|
|
113
118
|
};
|
|
114
119
|
forceShowWithTruncate: {
|
|
@@ -139,6 +144,10 @@ declare const TooltipTypes: () => ({
|
|
|
139
144
|
type: import("vue").PropType<boolean>;
|
|
140
145
|
default: boolean;
|
|
141
146
|
};
|
|
147
|
+
dontWrapDisabled: {
|
|
148
|
+
type: import("vue").PropType<boolean>;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
142
151
|
}>> & {
|
|
143
152
|
onShow?: () => any;
|
|
144
153
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -149,7 +158,7 @@ declare const TooltipTypes: () => ({
|
|
|
149
158
|
theme: string;
|
|
150
159
|
testId: string;
|
|
151
160
|
delay: number;
|
|
152
|
-
triggers: ("
|
|
161
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
153
162
|
forceShowWithTruncate: boolean;
|
|
154
163
|
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";
|
|
155
164
|
disabled: boolean;
|
|
@@ -157,6 +166,7 @@ declare const TooltipTypes: () => ({
|
|
|
157
166
|
container: string;
|
|
158
167
|
shown: boolean;
|
|
159
168
|
autoHide: boolean;
|
|
169
|
+
dontWrapDisabled: boolean;
|
|
160
170
|
}, {}, string> & {
|
|
161
171
|
beforeCreate?: (() => void) | (() => void)[];
|
|
162
172
|
created?: (() => void) | (() => void)[];
|
|
@@ -199,7 +209,7 @@ declare const TooltipTypes: () => ({
|
|
|
199
209
|
default: number;
|
|
200
210
|
};
|
|
201
211
|
triggers: {
|
|
202
|
-
type: import("vue").PropType<("
|
|
212
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
203
213
|
default: () => string[];
|
|
204
214
|
};
|
|
205
215
|
forceShowWithTruncate: {
|
|
@@ -230,6 +240,10 @@ declare const TooltipTypes: () => ({
|
|
|
230
240
|
type: import("vue").PropType<boolean>;
|
|
231
241
|
default: boolean;
|
|
232
242
|
};
|
|
243
|
+
dontWrapDisabled: {
|
|
244
|
+
type: import("vue").PropType<boolean>;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
233
247
|
}>> & {
|
|
234
248
|
onShow?: () => any;
|
|
235
249
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -258,7 +272,7 @@ declare const TooltipTypes: () => ({
|
|
|
258
272
|
default: number;
|
|
259
273
|
};
|
|
260
274
|
triggers: {
|
|
261
|
-
type: import("vue").PropType<("
|
|
275
|
+
type: import("vue").PropType<import("../common/Tooltip.types").TooltipTriggers[]>;
|
|
262
276
|
default: () => string[];
|
|
263
277
|
};
|
|
264
278
|
forceShowWithTruncate: {
|
|
@@ -289,6 +303,10 @@ declare const TooltipTypes: () => ({
|
|
|
289
303
|
type: import("vue").PropType<boolean>;
|
|
290
304
|
default: boolean;
|
|
291
305
|
};
|
|
306
|
+
dontWrapDisabled: {
|
|
307
|
+
type: import("vue").PropType<boolean>;
|
|
308
|
+
default: boolean;
|
|
309
|
+
};
|
|
292
310
|
}>> & {
|
|
293
311
|
onShow?: () => any;
|
|
294
312
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -299,7 +317,7 @@ declare const TooltipTypes: () => ({
|
|
|
299
317
|
theme: string;
|
|
300
318
|
testId: string;
|
|
301
319
|
delay: number;
|
|
302
|
-
triggers: ("
|
|
320
|
+
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
303
321
|
forceShowWithTruncate: boolean;
|
|
304
322
|
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";
|
|
305
323
|
disabled: boolean;
|
|
@@ -307,6 +325,7 @@ declare const TooltipTypes: () => ({
|
|
|
307
325
|
container: string;
|
|
308
326
|
shown: boolean;
|
|
309
327
|
autoHide: boolean;
|
|
328
|
+
dontWrapDisabled: boolean;
|
|
310
329
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
311
330
|
$slots: {
|
|
312
331
|
default?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
isTruncated?: boolean;
|
|
3
3
|
strong?: boolean;
|
|
4
|
-
size?: "caption" | "
|
|
4
|
+
size?: "caption" | "md" | "sm" | "xs" | "lg";
|
|
5
5
|
testId?: string;
|
|
6
6
|
}>, {
|
|
7
7
|
size: string;
|
|
@@ -9,14 +9,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
isTruncated?: boolean;
|
|
11
11
|
strong?: boolean;
|
|
12
|
-
size?: "caption" | "
|
|
12
|
+
size?: "caption" | "md" | "sm" | "xs" | "lg";
|
|
13
13
|
testId?: string;
|
|
14
14
|
}>, {
|
|
15
15
|
size: string;
|
|
16
16
|
testId: string;
|
|
17
17
|
}>>>, {
|
|
18
18
|
testId: string;
|
|
19
|
-
size: "caption" | "
|
|
19
|
+
size: "caption" | "md" | "sm" | "xs" | "lg";
|
|
20
20
|
}>, {
|
|
21
21
|
default?(_: {}): any;
|
|
22
22
|
}>;
|
|
@@ -107,7 +107,7 @@ declare const TypographyTypes: () => (({
|
|
|
107
107
|
$data: {};
|
|
108
108
|
$props: Partial<{
|
|
109
109
|
testId: string;
|
|
110
|
-
size: "caption" | "
|
|
110
|
+
size: "caption" | "md" | "sm" | "xs" | "lg";
|
|
111
111
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
112
112
|
strong: {
|
|
113
113
|
type: import("vue").PropType<boolean>;
|
|
@@ -120,7 +120,7 @@ declare const TypographyTypes: () => (({
|
|
|
120
120
|
type: import("vue").PropType<boolean>;
|
|
121
121
|
};
|
|
122
122
|
size: {
|
|
123
|
-
type: import("vue").PropType<"caption" | "
|
|
123
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "xs" | "lg">;
|
|
124
124
|
default: string;
|
|
125
125
|
};
|
|
126
126
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "size">;
|
|
@@ -149,12 +149,12 @@ declare const TypographyTypes: () => (({
|
|
|
149
149
|
type: import("vue").PropType<boolean>;
|
|
150
150
|
};
|
|
151
151
|
size: {
|
|
152
|
-
type: import("vue").PropType<"caption" | "
|
|
152
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "xs" | "lg">;
|
|
153
153
|
default: string;
|
|
154
154
|
};
|
|
155
155
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
156
156
|
testId: string;
|
|
157
|
-
size: "caption" | "
|
|
157
|
+
size: "caption" | "md" | "sm" | "xs" | "lg";
|
|
158
158
|
}, {}, string> & {
|
|
159
159
|
beforeCreate?: (() => void) | (() => void)[];
|
|
160
160
|
created?: (() => void) | (() => void)[];
|
|
@@ -187,7 +187,7 @@ declare const TypographyTypes: () => (({
|
|
|
187
187
|
type: import("vue").PropType<boolean>;
|
|
188
188
|
};
|
|
189
189
|
size: {
|
|
190
|
-
type: import("vue").PropType<"caption" | "
|
|
190
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "xs" | "lg">;
|
|
191
191
|
default: string;
|
|
192
192
|
};
|
|
193
193
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -206,12 +206,12 @@ declare const TypographyTypes: () => (({
|
|
|
206
206
|
type: import("vue").PropType<boolean>;
|
|
207
207
|
};
|
|
208
208
|
size: {
|
|
209
|
-
type: import("vue").PropType<"caption" | "
|
|
209
|
+
type: import("vue").PropType<"caption" | "md" | "sm" | "xs" | "lg">;
|
|
210
210
|
default: string;
|
|
211
211
|
};
|
|
212
212
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
213
213
|
testId: string;
|
|
214
|
-
size: "caption" | "
|
|
214
|
+
size: "caption" | "md" | "sm" | "xs" | "lg";
|
|
215
215
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
216
216
|
$slots: {
|
|
217
217
|
default?(_: {}): any;
|
|
@@ -14,6 +14,7 @@ export type UseFormValidationReponseType<T> = {
|
|
|
14
14
|
validationErrors: ValidationErrorsType<T>;
|
|
15
15
|
isValid: Ref<boolean>;
|
|
16
16
|
validate: (isReactive?: boolean) => void;
|
|
17
|
+
stopValidating: () => void;
|
|
17
18
|
};
|
|
18
19
|
export declare const scrollToElementByClass: (elementClass: string, index?: number) => void;
|
|
19
20
|
export declare const scrollToFirstInvalidElement: <T>(validationErrors: Partial<Record<keyof T, string>>) => void;
|
|
@@ -1,50 +1,55 @@
|
|
|
1
1
|
import * as m from "yup";
|
|
2
|
-
import { ref as
|
|
3
|
-
const
|
|
2
|
+
import { ref as u, reactive as v, watch as E } from "vue";
|
|
3
|
+
const h = (e, t = 0) => {
|
|
4
4
|
try {
|
|
5
|
-
window.document.getElementsByClassName(e)[
|
|
5
|
+
window.document.getElementsByClassName(e)[t].scrollIntoView({ behavior: "smooth" });
|
|
6
6
|
} catch {
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
},
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
const
|
|
9
|
+
}, p = (e) => {
|
|
10
|
+
const t = Object.keys(e)?.[0];
|
|
11
|
+
t && h(`form-field-${t}`);
|
|
12
|
+
}, y = (e, t) => {
|
|
13
|
+
const s = m.object().shape(e);
|
|
14
14
|
try {
|
|
15
|
-
return
|
|
15
|
+
return s.validateSync(t.value, { abortEarly: !1 }), { isValid: !0, errors: {} };
|
|
16
16
|
} catch (i) {
|
|
17
|
-
return { isValid: !1, errors: i.inner.reduce((
|
|
17
|
+
return { isValid: !1, errors: i.inner.reduce((a, l) => (a[l.path] = l.message, a), {}) };
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, V = ({
|
|
20
20
|
formState: e,
|
|
21
|
-
formValidationSchema:
|
|
21
|
+
formValidationSchema: t
|
|
22
22
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
const { isValid:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}), Object.entries(
|
|
28
|
-
|
|
29
|
-
}), !
|
|
23
|
+
const s = u(!1), i = u(!0), r = v({}), a = (c) => {
|
|
24
|
+
const { isValid: n, errors: d } = y(t, e);
|
|
25
|
+
s.value = !0, i.value = n, Object.keys(r).forEach((o) => {
|
|
26
|
+
o && !d[o] && delete r[o];
|
|
27
|
+
}), Object.entries(d).forEach(([o, f]) => {
|
|
28
|
+
r[o] = f;
|
|
29
|
+
}), !n && !c && p(r);
|
|
30
|
+
}, l = (c = !1) => {
|
|
31
|
+
s.value = !1, c && Object.keys(r).forEach((n) => {
|
|
32
|
+
delete r[n];
|
|
33
|
+
});
|
|
30
34
|
};
|
|
31
|
-
return
|
|
35
|
+
return E(
|
|
32
36
|
e,
|
|
33
37
|
() => {
|
|
34
|
-
|
|
38
|
+
s.value && a(!0);
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
deep: !0
|
|
38
42
|
}
|
|
39
43
|
), {
|
|
40
|
-
validationErrors:
|
|
44
|
+
validationErrors: r,
|
|
41
45
|
isValid: i,
|
|
42
|
-
validate:
|
|
46
|
+
validate: a,
|
|
47
|
+
stopValidating: l
|
|
43
48
|
};
|
|
44
49
|
};
|
|
45
50
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
h as scrollToElementByClass,
|
|
52
|
+
p as scrollToFirstInvalidElement,
|
|
53
|
+
V as useFormValidation,
|
|
54
|
+
y as yupValidation
|
|
50
55
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ELLIPSIS = "...";
|
package/consts/common.js
ADDED
package/consts/regex.d.ts
CHANGED
package/consts/regex.js
CHANGED