yuyeon 0.3.4-rc.3 → 0.3.5
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/dist/style.css +1 -1
- package/dist/yuyeon.js +4170 -3973
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/abstract/items.js.map +1 -1
- package/lib/components/alert/YAlert.js +3 -4
- package/lib/components/alert/YAlert.js.map +1 -1
- package/lib/components/alert/index.js.map +1 -1
- package/lib/components/app/YApp.js +2 -2
- package/lib/components/app/YApp.js.map +1 -1
- package/lib/components/app/index.js.map +1 -1
- package/lib/components/badge/YBadge.js +7 -5
- package/lib/components/badge/YBadge.js.map +1 -1
- package/lib/components/badge/YBadge.scss +3 -2
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/bench/YBench.js +3 -4
- package/lib/components/bench/YBench.js.map +1 -1
- package/lib/components/bench/index.js.map +1 -1
- package/lib/components/button/YButton.js +1 -2
- package/lib/components/button/YButton.js.map +1 -1
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/card/YCard.js.map +1 -1
- package/lib/components/card/YCard.scss +2 -2
- package/lib/components/card/YCardBody.js.map +1 -1
- package/lib/components/card/YCardFooter.js.map +1 -1
- package/lib/components/card/YCardHeader.js.map +1 -1
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/YCheckbox.js +1 -2
- package/lib/components/checkbox/YCheckbox.js.map +1 -1
- package/lib/components/checkbox/YInputCheckbox.js +1 -2
- package/lib/components/checkbox/YInputCheckbox.js.map +1 -1
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/chip/YChip.js +1 -2
- package/lib/components/chip/YChip.js.map +1 -1
- package/lib/components/chip/index.js.map +1 -1
- package/lib/components/date-picker/YDateCalendar.js +59 -54
- package/lib/components/date-picker/YDateCalendar.js.map +1 -1
- package/lib/components/date-picker/YDatePicker.js +24 -25
- package/lib/components/date-picker/YDatePicker.js.map +1 -1
- package/lib/components/date-picker/YDatePickerControl.js +19 -20
- package/lib/components/date-picker/YDatePickerControl.js.map +1 -1
- package/lib/components/date-picker/YMonthPicker.js +10 -11
- package/lib/components/date-picker/YMonthPicker.js.map +1 -1
- package/lib/components/date-picker/YYearPicker.js +11 -13
- package/lib/components/date-picker/YYearPicker.js.map +1 -1
- package/lib/components/date-picker/index.js.map +1 -1
- package/lib/components/default-provider/YDefaultProvider.js.map +1 -1
- package/lib/components/default-provider/index.js.map +1 -1
- package/lib/components/dialog/YDialog.js +32 -32
- package/lib/components/dialog/YDialog.js.map +1 -1
- package/lib/components/dialog/index.js.map +1 -1
- package/lib/components/divider/YDivider.js +5 -5
- package/lib/components/divider/YDivider.js.map +1 -1
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/draggable/YDraggable.js +10 -11
- package/lib/components/draggable/YDraggable.js.map +1 -1
- package/lib/components/draggable/index.js.map +1 -1
- package/lib/components/dropdown/YDropdown.js +16 -17
- package/lib/components/dropdown/YDropdown.js.map +1 -1
- package/lib/components/dropdown/index.js.map +1 -1
- package/lib/components/field-input/YFieldInput.js +39 -39
- package/lib/components/field-input/YFieldInput.js.map +1 -1
- package/lib/components/field-input/index.js.map +1 -1
- package/lib/components/form/YForm.js +12 -14
- package/lib/components/form/YForm.js.map +1 -1
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/hover/YHover.js +9 -8
- package/lib/components/hover/YHover.js.map +1 -1
- package/lib/components/hover/index.js.map +1 -1
- package/lib/components/icon/YIcon.js +2 -4
- package/lib/components/icon/YIcon.js.map +1 -1
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/icons/YIconCheckbox.js +7 -6
- package/lib/components/icons/YIconCheckbox.js.map +1 -1
- package/lib/components/icons/YIconClear.js +2 -1
- package/lib/components/icons/YIconClear.js.map +1 -1
- package/lib/components/icons/YIconDropdown.js +2 -1
- package/lib/components/icons/YIconDropdown.js.map +1 -1
- package/lib/components/icons/YIconExpand.js +1 -0
- package/lib/components/icons/YIconExpand.js.map +1 -1
- package/lib/components/icons/YIconPageControl.js +7 -6
- package/lib/components/icons/YIconPageControl.js.map +1 -1
- package/lib/components/icons/YIconSort.js +6 -5
- package/lib/components/icons/YIconSort.js.map +1 -1
- package/lib/components/icons/YIconSort.scss +2 -0
- package/lib/components/icons/index.js.map +1 -1
- package/lib/components/img/YImg.js +42 -37
- package/lib/components/img/YImg.js.map +1 -1
- package/lib/components/img/index.js +1 -1
- package/lib/components/img/index.js.map +1 -1
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/YInput.js +1 -2
- package/lib/components/input/YInput.js.map +1 -1
- package/lib/components/input/YInput.scss +10 -9
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/ip-field/YIpv4Field.js +1 -2
- package/lib/components/ip-field/YIpv4Field.js.map +1 -1
- package/lib/components/ip-field/index.js.map +1 -1
- package/lib/components/layer/YLayer.js +38 -25
- package/lib/components/layer/YLayer.js.map +1 -1
- package/lib/components/layer/active-delay.js.map +1 -1
- package/lib/components/layer/active-stack.js.map +1 -1
- package/lib/components/layer/base.js +11 -1
- package/lib/components/layer/base.js.map +1 -1
- package/lib/components/layer/content.js.map +1 -1
- package/lib/components/layer/index.js.map +1 -1
- package/lib/components/layer/scroll-strategies.js.map +1 -1
- package/lib/components/list/YList.js +1 -2
- package/lib/components/list/YList.js.map +1 -1
- package/lib/components/list/YListItem.js +1 -2
- package/lib/components/list/YListItem.js.map +1 -1
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/loading/YSpinnerRing.js.map +1 -1
- package/lib/components/loading/index.js.map +1 -1
- package/lib/components/menu/YMenu.js +24 -27
- package/lib/components/menu/YMenu.js.map +1 -1
- package/lib/components/menu/YMenu.scss +3 -4
- package/lib/components/menu/index.js.map +1 -1
- package/lib/components/navigation/YNavigation.js +1 -2
- package/lib/components/navigation/YNavigation.js.map +1 -1
- package/lib/components/navigation/index.js.map +1 -1
- package/lib/components/pagination/YPagination.js +1 -2
- package/lib/components/pagination/YPagination.js.map +1 -1
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/panel/YDividePanel.js +1 -2
- package/lib/components/panel/YDividePanel.js.map +1 -1
- package/lib/components/panel/YDividePanel.scss +1 -0
- package/lib/components/panel/index.js.map +1 -1
- package/lib/components/plate/YPlate.js +3 -4
- package/lib/components/plate/YPlate.js.map +1 -1
- package/lib/components/plate/index.js.map +1 -1
- package/lib/components/progress-bar/YProgressBar.js +1 -2
- package/lib/components/progress-bar/YProgressBar.js.map +1 -1
- package/lib/components/progress-bar/index.js.map +1 -1
- package/lib/components/progress-ring/YProgressRing.js +3 -4
- package/lib/components/progress-ring/YProgressRing.js.map +1 -1
- package/lib/components/progress-ring/index.js.map +1 -1
- package/lib/components/radio/YRadio.js +1 -1
- package/lib/components/radio/YRadio.js.map +1 -1
- package/lib/components/radio/YRadioIcon.js.map +1 -1
- package/lib/components/radio/YRadioIcon.scss +2 -3
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/select/YSelect.js +41 -42
- package/lib/components/select/YSelect.js.map +1 -1
- package/lib/components/select/index.js.map +1 -1
- package/lib/components/slider/YSlider.js.map +1 -1
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/slider/slider.js.map +1 -1
- package/lib/components/snackbar/YSnackbar.js +6 -6
- package/lib/components/snackbar/YSnackbar.js.map +1 -1
- package/lib/components/snackbar/index.js.map +1 -1
- package/lib/components/switch/YSwitch.js +1 -2
- package/lib/components/switch/YSwitch.js.map +1 -1
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/tab/YTab.js +2 -3
- package/lib/components/tab/YTab.js.map +1 -1
- package/lib/components/tab/YTab.scss +1 -1
- package/lib/components/tab/YTabs.js +1 -2
- package/lib/components/tab/YTabs.js.map +1 -1
- package/lib/components/tab/index.js.map +1 -1
- package/lib/components/tab/shared.js.map +1 -1
- package/lib/components/tab/types.js.map +1 -1
- package/lib/components/table/YDataTable.js +1 -2
- package/lib/components/table/YDataTable.js.map +1 -1
- package/lib/components/table/YDataTableBody.js +2 -3
- package/lib/components/table/YDataTableBody.js.map +1 -1
- package/lib/components/table/YDataTableCell.js +1 -2
- package/lib/components/table/YDataTableCell.js.map +1 -1
- package/lib/components/table/YDataTableControl.js +1 -1
- package/lib/components/table/YDataTableControl.js.map +1 -1
- package/lib/components/table/YDataTableHead.js +1 -1
- package/lib/components/table/YDataTableHead.js.map +1 -1
- package/lib/components/table/YDataTableLayer.js +1 -2
- package/lib/components/table/YDataTableLayer.js.map +1 -1
- package/lib/components/table/YDataTableLayerRow.js +1 -2
- package/lib/components/table/YDataTableLayerRow.js.map +1 -1
- package/lib/components/table/YDataTableLayerRows.js +3 -4
- package/lib/components/table/YDataTableLayerRows.js.map +1 -1
- package/lib/components/table/YDataTableRow.js +1 -2
- package/lib/components/table/YDataTableRow.js.map +1 -1
- package/lib/components/table/YDataTableServer.js +1 -2
- package/lib/components/table/YDataTableServer.js.map +1 -1
- package/lib/components/table/YTable.js +1 -2
- package/lib/components/table/YTable.js.map +1 -1
- package/lib/components/table/composables/expand.js.map +1 -1
- package/lib/components/table/composables/header.js.map +1 -1
- package/lib/components/table/composables/items.js.map +1 -1
- package/lib/components/table/composables/measure.js +1 -1
- package/lib/components/table/composables/measure.js.map +1 -1
- package/lib/components/table/composables/options.js.map +1 -1
- package/lib/components/table/composables/pagination.js.map +1 -1
- package/lib/components/table/composables/provides.js.map +1 -1
- package/lib/components/table/composables/selection.js.map +1 -1
- package/lib/components/table/composables/sorted-items.js.map +1 -1
- package/lib/components/table/composables/sorting.js.map +1 -1
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/types/common.js.map +1 -1
- package/lib/components/table/types/header.js.map +1 -1
- package/lib/components/table/types/index.js.map +1 -1
- package/lib/components/table/types/item.js.map +1 -1
- package/lib/components/table/types/row.js.map +1 -1
- package/lib/components/text-ellipsis/YTextEllipsis.js +1 -2
- package/lib/components/text-ellipsis/YTextEllipsis.js.map +1 -1
- package/lib/components/text-ellipsis/index.js.map +1 -1
- package/lib/components/text-highlighter/YTextHighlighter.js.map +1 -1
- package/lib/components/text-highlighter/index.js.map +1 -1
- package/lib/components/text-interpolation/YTi.js +2 -2
- package/lib/components/text-interpolation/YTi.js.map +1 -1
- package/lib/components/text-interpolation/index.js.map +1 -1
- package/lib/components/textarea/YTextarea.js +1 -2
- package/lib/components/textarea/YTextarea.js.map +1 -1
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/toggle-button/YToggleButton.js.map +1 -1
- package/lib/components/toggle-button/index.js.map +1 -1
- package/lib/components/tooltip/YTooltip.js +18 -19
- package/lib/components/tooltip/YTooltip.js.map +1 -1
- package/lib/components/tooltip/index.js.map +1 -1
- package/lib/components/transitions/expand-transition.js.map +1 -1
- package/lib/components/transitions/index.js.map +1 -1
- package/lib/components/tree-view/YTreeView.js +1 -2
- package/lib/components/tree-view/YTreeView.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js +1 -2
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/lib/components/tree-view/index.js.map +1 -1
- package/lib/components/tree-view/tree-view.js.map +1 -1
- package/lib/components/tree-view/types.js.map +1 -1
- package/lib/components/tree-view/util.js.map +1 -1
- package/lib/composables/choice-link.js.map +1 -1
- package/lib/composables/choice.js.map +1 -1
- package/lib/composables/communication.js.map +1 -1
- package/lib/composables/component.js.map +1 -1
- package/lib/composables/coordinate/arrangement.js.map +1 -1
- package/lib/composables/coordinate/index.js +23 -13
- package/lib/composables/coordinate/index.js.map +1 -1
- package/lib/composables/coordinate/levitation.js +81 -52
- package/lib/composables/coordinate/levitation.js.map +1 -1
- package/lib/composables/coordinate/types.js.map +1 -1
- package/lib/composables/coordinate/utils/point.js.map +1 -1
- package/lib/composables/date/factory.js.map +1 -1
- package/lib/composables/date/index.js.map +1 -1
- package/lib/composables/date/setting.js.map +1 -1
- package/lib/composables/date/types.js.map +1 -1
- package/lib/composables/defaults/index.js.map +1 -1
- package/lib/composables/defaults/share.js.map +1 -1
- package/lib/composables/defaults/types.js.map +1 -1
- package/lib/composables/dimension.js.map +1 -1
- package/lib/composables/focus.js.map +1 -1
- package/lib/composables/form.js +5 -5
- package/lib/composables/form.js.map +1 -1
- package/lib/composables/i18n/index.js.map +1 -1
- package/lib/composables/i18n/locale.js.map +1 -1
- package/lib/composables/i18n/rtl.js.map +1 -1
- package/lib/composables/i18n/share.js.map +1 -1
- package/lib/composables/icon.js +1 -2
- package/lib/composables/icon.js.map +1 -1
- package/lib/composables/index.js.map +1 -1
- package/lib/composables/layer-group.js.map +1 -1
- package/lib/composables/layout.js.map +1 -1
- package/lib/composables/list-items.js.map +1 -1
- package/lib/composables/progress.js.map +1 -1
- package/lib/composables/ref.js.map +1 -1
- package/lib/composables/resize-observer.js.map +1 -1
- package/lib/composables/scope.js.map +1 -1
- package/lib/composables/style-color.js +6 -5
- package/lib/composables/style-color.js.map +1 -1
- package/lib/composables/theme/factory.js.map +1 -1
- package/lib/composables/theme/helper.js.map +1 -1
- package/lib/composables/theme/index.js +8 -1
- package/lib/composables/theme/index.js.map +1 -1
- package/lib/composables/theme/setting.js.map +1 -1
- package/lib/composables/theme/types.js.map +1 -1
- package/lib/composables/timing.js +13 -5
- package/lib/composables/timing.js.map +1 -1
- package/lib/composables/transition.js.map +1 -1
- package/lib/composables/validation.js +4 -1
- package/lib/composables/validation.js.map +1 -1
- package/lib/composables/vue-router.js.map +1 -1
- package/lib/directives/complement-click/index.js.map +1 -1
- package/lib/directives/index.js +3 -0
- package/lib/directives/index.js.map +1 -0
- package/lib/directives/plate-wave/index.js +2 -2
- package/lib/directives/plate-wave/index.js.map +1 -1
- package/lib/directives/plate-wave/plate-wave.scss +17 -6
- package/lib/directives/theme-class/index.js +24 -0
- package/lib/directives/theme-class/index.js.map +1 -0
- package/lib/etc/index.js.map +1 -1
- package/lib/i18n/built-in.js.map +1 -1
- package/lib/i18n/config.js.map +1 -1
- package/lib/i18n/types.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/locales/en.js.map +1 -1
- package/lib/locales/index.js.map +1 -1
- package/lib/locales/ko.js.map +1 -1
- package/lib/mixins/di.js.map +1 -1
- package/lib/mixins/rebind-attrs.js +0 -2
- package/lib/mixins/rebind-attrs.js.map +1 -1
- package/lib/styles/_elevation.scss +0 -1
- package/lib/styles/base.scss +3 -1
- package/lib/styles/settings/_elevation.scss +12 -12
- package/lib/styles/settings/_provided.scss +23 -23
- package/lib/styles/theme/dark.scss +3 -3
- package/lib/styles/theme/index.scss +0 -1
- package/lib/styles/theme/light.scss +3 -3
- package/lib/styles/util/_mixin.scss +16 -16
- package/lib/types/index.js.map +1 -1
- package/lib/util/anchor.js.map +1 -1
- package/lib/util/array.js.map +1 -1
- package/lib/util/collection.js.map +1 -1
- package/lib/util/color/apca.js +1 -0
- package/lib/util/color/apca.js.map +1 -1
- package/lib/util/color/const.js.map +1 -1
- package/lib/util/color/contrast/contrast.js.map +1 -1
- package/lib/util/color/conversion.js.map +1 -1
- package/lib/util/color/hct/cam16.js.map +1 -1
- package/lib/util/color/hct/hct-solver.js +6 -6
- package/lib/util/color/hct/hct-solver.js.map +1 -1
- package/lib/util/color/hct/hct.js.map +1 -1
- package/lib/util/color/hct/viewing-conditions.js +6 -4
- package/lib/util/color/hct/viewing-conditions.js.map +1 -1
- package/lib/util/color/index.js +13 -13
- package/lib/util/color/index.js.map +1 -1
- package/lib/util/color/palettes/core-palette.js.map +1 -1
- package/lib/util/color/palettes/tonal-palette.js +3 -3
- package/lib/util/color/palettes/tonal-palette.js.map +1 -1
- package/lib/util/color/types.js.map +1 -1
- package/lib/util/color/utils/math-utils.js +62 -62
- package/lib/util/color/utils/math-utils.js.map +1 -1
- package/lib/util/common.js +28 -13
- package/lib/util/common.js.map +1 -1
- package/lib/util/component/component.js.map +1 -1
- package/lib/util/component/index.js.map +1 -1
- package/lib/util/component/inject-self.js.map +1 -1
- package/lib/util/component/props.js.map +1 -1
- package/lib/util/component/types.js.map +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.js +3 -3
- package/lib/util/date/adapters/yuyeon-date-adapter.js.map +1 -1
- package/lib/util/date/built-in.js +2 -0
- package/lib/util/date/built-in.js.map +1 -1
- package/lib/util/date/index.js +1 -1
- package/lib/util/date/index.js.map +1 -1
- package/lib/util/date/types.js.map +1 -1
- package/lib/util/debounce.js +1 -1
- package/lib/util/debounce.js.map +1 -1
- package/lib/util/dom.js +10 -1
- package/lib/util/dom.js.map +1 -1
- package/lib/util/environments.js.map +1 -1
- package/lib/util/frame-scheduler.js +3 -3
- package/lib/util/frame-scheduler.js.map +1 -1
- package/lib/util/index.js +11 -11
- package/lib/util/index.js.map +1 -1
- package/lib/util/reactivity.js +3 -3
- package/lib/util/reactivity.js.map +1 -1
- package/lib/util/rect.js.map +1 -1
- package/lib/util/scroll.js.map +1 -1
- package/lib/util/string.js +3 -1
- package/lib/util/string.js.map +1 -1
- package/lib/util/ui.js +8 -7
- package/lib/util/ui.js.map +1 -1
- package/lib/util/validation.js.map +1 -1
- package/package.json +132 -123
- package/types/abstract/items.d.ts +4 -4
- package/types/components/alert/YAlert.d.ts +2 -2
- package/types/components/badge/YBadge.d.ts +9 -3
- package/types/components/button/YButton.d.ts +3 -3
- package/types/components/checkbox/YCheckbox.d.ts +4 -4
- package/types/components/chip/YChip.d.ts +0 -3
- package/types/components/date-picker/YDateCalendar.d.ts +4 -3
- package/types/components/date-picker/YDatePickerControl.d.ts +7 -7
- package/types/components/dialog/YDialog.d.ts +116 -6484
- package/types/components/draggable/YDraggable.d.ts +6 -6
- package/types/components/dropdown/YDropdown.d.ts +87 -87
- package/types/components/field-input/YFieldInput.d.ts +14 -14
- package/types/components/form/YForm.d.ts +3 -3
- package/types/components/icon/YIcon.d.ts +4 -4
- package/types/components/icons/YIconPageControl.d.ts +1 -1
- package/types/components/icons/YIconSort.d.ts +1 -1
- package/types/components/icons/index.d.ts +4 -4
- package/types/components/img/YImg.d.ts +30 -27
- package/types/components/img/index.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +13 -13
- package/types/components/ip-field/YIpv4Field.d.ts +5 -5
- package/types/components/layer/YLayer.d.ts +59 -3242
- package/types/components/layer/base.d.ts +4 -0
- package/types/components/layer/scroll-strategies.d.ts +4 -4
- package/types/components/menu/YMenu.d.ts +83 -6451
- package/types/components/pagination/YPagination.d.ts +3 -3
- package/types/components/select/YSelect.d.ts +172 -496
- package/types/components/slider/YSlider.d.ts +1 -1
- package/types/components/snackbar/YSnackbar.d.ts +55 -55
- package/types/components/tab/YTab.d.ts +3 -3
- package/types/components/tab/YTabs.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +30 -87
- package/types/components/table/YDataTableBody.d.ts +3 -3
- package/types/components/table/YDataTableCell.d.ts +2 -2
- package/types/components/table/YDataTableControl.d.ts +6 -6
- package/types/components/table/YDataTableLayer.d.ts +2 -2
- package/types/components/table/YDataTableRow.d.ts +1 -1
- package/types/components/table/YDataTableServer.d.ts +37 -94
- package/types/components/table/YTable.d.ts +3 -3
- package/types/components/table/composables/expand.d.ts +4 -4
- package/types/components/table/composables/header.d.ts +16 -48
- package/types/components/table/composables/items.d.ts +2 -2
- package/types/components/table/composables/pagination.d.ts +10 -10
- package/types/components/table/composables/selection.d.ts +6 -6
- package/types/components/table/composables/sorting.d.ts +8 -14
- package/types/components/table/types/item.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +30 -30
- package/types/components/tooltip/YTooltip.d.ts +67 -67
- package/types/components/tree-view/YTreeView.d.ts +7 -7
- package/types/components/tree-view/YTreeViewNode.d.ts +5 -5
- package/types/components/tree-view/tree-view.d.ts +2 -2
- package/types/composables/choice.d.ts +2 -2
- package/types/composables/coordinate/index.d.ts +28 -3207
- package/types/composables/coordinate/levitation.d.ts +4 -2
- package/types/composables/coordinate/types.d.ts +1 -0
- package/types/composables/dimension.d.ts +6 -6
- package/types/composables/form.d.ts +17 -27
- package/types/composables/list-items.d.ts +3 -3
- package/types/composables/style-color.d.ts +22 -1
- package/types/composables/theme/index.d.ts +1 -0
- package/types/composables/transition.d.ts +10 -10
- package/types/composables/validation.d.ts +6 -6
- package/types/composables/vue-router.d.ts +3 -3
- package/types/declares.d.ts +1 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/plate-wave/index.d.ts +7 -1
- package/types/globals.d.ts +19 -20
- package/types/shims.d.ts +9 -3
- package/types/types/index.d.ts +3 -0
- package/types/util/anchor.d.ts +1 -1
- package/types/util/common.d.ts +3 -0
- package/types/util/component/component.d.ts +1 -2
- package/types/util/component/props.d.ts +1 -1
- package/types/util/component/types.d.ts +1 -1
- package/types/util/date/index.d.ts +1 -1
- package/types/util/dom.d.ts +2 -0
- package/types/util/index.d.ts +11 -11
- package/types/components/table/composibles/header.d.ts +0 -207
- package/types/components/table/composibles/items.d.ts +0 -55
- package/types/components/table/composibles/measure.d.ts +0 -8
- package/types/components/table/composibles/options.d.ts +0 -11
- package/types/components/table/composibles/pagination.d.ts +0 -81
- package/types/components/table/composibles/selection.d.ts +0 -82
- package/types/components/table/composibles/sorted-items.d.ts +0 -7
- package/types/components/table/composibles/sorting.d.ts +0 -62
- /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
|
@@ -9,20 +9,20 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
9
9
|
paginationProps?: unknown;
|
|
10
10
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
11
11
|
page: unknown extends Defaults["page"] ? {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<number | string>;
|
|
13
13
|
default: number;
|
|
14
14
|
} : Omit<{
|
|
15
|
-
type: PropType<
|
|
15
|
+
type: PropType<number | string>;
|
|
16
16
|
default: number;
|
|
17
17
|
}, "type" | "default"> & {
|
|
18
18
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
19
19
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
20
20
|
};
|
|
21
21
|
pageSize: unknown extends Defaults["pageSize"] ? {
|
|
22
|
-
type: PropType<
|
|
22
|
+
type: PropType<number | string>;
|
|
23
23
|
default: number;
|
|
24
24
|
} : Omit<{
|
|
25
|
-
type: PropType<
|
|
25
|
+
type: PropType<number | string>;
|
|
26
26
|
default: number;
|
|
27
27
|
}, "type" | "default"> & {
|
|
28
28
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
@@ -51,11 +51,11 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
51
51
|
};
|
|
52
52
|
export declare const YDataTableControl: import('vue').DefineComponent<{
|
|
53
53
|
page: {
|
|
54
|
-
type: PropType<
|
|
54
|
+
type: PropType<number | string>;
|
|
55
55
|
default: number;
|
|
56
56
|
};
|
|
57
57
|
pageSize: {
|
|
58
|
-
type: PropType<
|
|
58
|
+
type: PropType<number | string>;
|
|
59
59
|
default: number;
|
|
60
60
|
};
|
|
61
61
|
pageLength: PropType<number>;
|
|
@@ -4,9 +4,9 @@ export declare const YDataTableLayer: import('vue').DefineComponent<{
|
|
|
4
4
|
slotProps: PropType<any>;
|
|
5
5
|
}, {
|
|
6
6
|
YTableWire: {
|
|
7
|
-
tableRef: Ref<HTMLTableElement | undefined
|
|
7
|
+
tableRef: Ref<HTMLTableElement | undefined>;
|
|
8
8
|
containerRect: import('vue').ShallowRef<DOMRectReadOnly | undefined>;
|
|
9
|
-
wrapperRef: Ref<HTMLElement | undefined
|
|
9
|
+
wrapperRef: Ref<HTMLElement | undefined>;
|
|
10
10
|
wrapperRect: import('vue').ShallowRef<DOMRectReadOnly | undefined>;
|
|
11
11
|
} | undefined;
|
|
12
12
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -47,7 +47,7 @@ export declare const YDataTableRow: import('vue').DefineComponent<{
|
|
|
47
47
|
onDblclick: PropType<(...args: any[]) => void>;
|
|
48
48
|
onContextmenu: PropType<(...args: any[]) => void>;
|
|
49
49
|
onKeydown: PropType<(...args: any[]) => void>;
|
|
50
|
-
item: PropType<DataTableItem
|
|
50
|
+
item: PropType<DataTableItem>;
|
|
51
51
|
cellProps: PropType<CellProps>;
|
|
52
52
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "contextmenu" | "dblclick" | "mousedown" | "hover")[], "click" | "contextmenu" | "dblclick" | "mousedown" | "hover">;
|
|
53
53
|
export type YDataTableRow = InstanceType<typeof YDataTableRow>;
|
|
@@ -61,9 +61,9 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
61
61
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
62
62
|
};
|
|
63
63
|
height: unknown extends Defaults["height"] ? {
|
|
64
|
-
type: PropType<
|
|
64
|
+
type: PropType<number | string>;
|
|
65
65
|
} : Omit<{
|
|
66
|
-
type: PropType<
|
|
66
|
+
type: PropType<number | string>;
|
|
67
67
|
}, "type" | "default"> & {
|
|
68
68
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
69
69
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
@@ -131,14 +131,14 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
131
131
|
default: unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"];
|
|
132
132
|
};
|
|
133
133
|
selectStrategy: unknown extends Defaults["selectStrategy"] ? {
|
|
134
|
-
type: PropType<"
|
|
134
|
+
type: PropType<"single" | "page" | "all">;
|
|
135
135
|
default: string;
|
|
136
136
|
} : Omit<{
|
|
137
|
-
type: PropType<"
|
|
137
|
+
type: PropType<"single" | "page" | "all">;
|
|
138
138
|
default: string;
|
|
139
139
|
}, "type" | "default"> & {
|
|
140
|
-
type: PropType<unknown extends Defaults["selectStrategy"] ? "
|
|
141
|
-
default: unknown extends Defaults["selectStrategy"] ? "
|
|
140
|
+
type: PropType<unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : NonNullable<"all" | "page" | "single"> | Defaults["selectStrategy"]>;
|
|
141
|
+
default: unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : NonNullable<"all" | "page" | "single"> | Defaults["selectStrategy"];
|
|
142
142
|
};
|
|
143
143
|
modelValue: unknown extends Defaults["modelValue"] ? {
|
|
144
144
|
type: PropType<readonly any[]>;
|
|
@@ -151,48 +151,42 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
151
151
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
152
152
|
};
|
|
153
153
|
itemComparator: unknown extends Defaults["itemComparator"] ? {
|
|
154
|
-
type: PropType<
|
|
154
|
+
type: PropType<typeof import('../../util/common').deepEqual | string>;
|
|
155
155
|
default: () => typeof import('../../util/common').deepEqual;
|
|
156
156
|
} : Omit<{
|
|
157
|
-
type: PropType<
|
|
157
|
+
type: PropType<typeof import('../../util/common').deepEqual | string>;
|
|
158
158
|
default: () => typeof import('../../util/common').deepEqual;
|
|
159
159
|
}, "type" | "default"> & {
|
|
160
160
|
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util/common').deepEqual : NonNullable<string | typeof import('../../util/common').deepEqual> | Defaults["itemComparator"]>;
|
|
161
161
|
default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util/common').deepEqual : NonNullable<string | typeof import('../../util/common').deepEqual> | Defaults["itemComparator"];
|
|
162
162
|
};
|
|
163
163
|
sortBy: unknown extends Defaults["sortBy"] ? {
|
|
164
|
-
type: PropType<
|
|
165
|
-
readonly key: string;
|
|
166
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
167
|
-
}[]>;
|
|
164
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
168
165
|
default: () => never[];
|
|
169
166
|
} : Omit<{
|
|
170
|
-
type: PropType<
|
|
171
|
-
readonly key: string;
|
|
172
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
173
|
-
}[]>;
|
|
167
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
174
168
|
default: () => never[];
|
|
175
169
|
}, "type" | "default"> & {
|
|
176
170
|
type: PropType<unknown extends Defaults["sortBy"] ? readonly {
|
|
177
171
|
readonly key: string;
|
|
178
|
-
readonly order?: boolean | "
|
|
172
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
179
173
|
}[] : readonly {
|
|
180
174
|
readonly key: string;
|
|
181
|
-
readonly order?: boolean | "
|
|
175
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
182
176
|
}[] | Defaults["sortBy"]>;
|
|
183
177
|
default: unknown extends Defaults["sortBy"] ? readonly {
|
|
184
178
|
readonly key: string;
|
|
185
|
-
readonly order?: boolean | "
|
|
179
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
186
180
|
}[] : readonly {
|
|
187
181
|
readonly key: string;
|
|
188
|
-
readonly order?: boolean | "
|
|
182
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
189
183
|
}[] | Defaults["sortBy"];
|
|
190
184
|
};
|
|
191
185
|
items: unknown extends Defaults["items"] ? {
|
|
192
|
-
type: PropType<
|
|
186
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
193
187
|
default: () => never[];
|
|
194
188
|
} : Omit<{
|
|
195
|
-
type: PropType<
|
|
189
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
196
190
|
default: () => never[];
|
|
197
191
|
}, "type" | "default"> & {
|
|
198
192
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
@@ -223,42 +217,10 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
223
217
|
default: unknown extends Defaults["returnItem"] ? boolean : boolean | Defaults["returnItem"];
|
|
224
218
|
};
|
|
225
219
|
headers: unknown extends Defaults["headers"] ? {
|
|
226
|
-
type: PropType<
|
|
227
|
-
readonly key: string;
|
|
228
|
-
readonly text: string;
|
|
229
|
-
readonly value?: any;
|
|
230
|
-
readonly colspan?: number | undefined;
|
|
231
|
-
readonly rowspan?: number | undefined;
|
|
232
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
233
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
234
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
235
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
236
|
-
readonly width?: string | number | undefined;
|
|
237
|
-
readonly minWidth?: string | undefined;
|
|
238
|
-
readonly maxWidth?: string | undefined;
|
|
239
|
-
readonly sortable?: boolean | undefined;
|
|
240
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
241
|
-
readonly mustSort?: boolean | undefined;
|
|
242
|
-
}[]>;
|
|
220
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
243
221
|
default: () => never[];
|
|
244
222
|
} : Omit<{
|
|
245
|
-
type: PropType<
|
|
246
|
-
readonly key: string;
|
|
247
|
-
readonly text: string;
|
|
248
|
-
readonly value?: any;
|
|
249
|
-
readonly colspan?: number | undefined;
|
|
250
|
-
readonly rowspan?: number | undefined;
|
|
251
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
252
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
253
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
254
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
255
|
-
readonly width?: string | number | undefined;
|
|
256
|
-
readonly minWidth?: string | undefined;
|
|
257
|
-
readonly maxWidth?: string | undefined;
|
|
258
|
-
readonly sortable?: boolean | undefined;
|
|
259
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
260
|
-
readonly mustSort?: boolean | undefined;
|
|
261
|
-
}[]>;
|
|
223
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
262
224
|
default: () => never[];
|
|
263
225
|
}, "type" | "default"> & {
|
|
264
226
|
type: PropType<unknown extends Defaults["headers"] ? readonly {
|
|
@@ -271,7 +233,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
271
233
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
272
234
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
273
235
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
274
|
-
readonly width?:
|
|
236
|
+
readonly width?: number | string | undefined;
|
|
275
237
|
readonly minWidth?: string | undefined;
|
|
276
238
|
readonly maxWidth?: string | undefined;
|
|
277
239
|
readonly sortable?: boolean | undefined;
|
|
@@ -287,7 +249,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
287
249
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
288
250
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
289
251
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
290
|
-
readonly width?:
|
|
252
|
+
readonly width?: number | string | undefined;
|
|
291
253
|
readonly minWidth?: string | undefined;
|
|
292
254
|
readonly maxWidth?: string | undefined;
|
|
293
255
|
readonly sortable?: boolean | undefined;
|
|
@@ -304,7 +266,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
304
266
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
305
267
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
306
268
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
307
|
-
readonly width?:
|
|
269
|
+
readonly width?: number | string | undefined;
|
|
308
270
|
readonly minWidth?: string | undefined;
|
|
309
271
|
readonly maxWidth?: string | undefined;
|
|
310
272
|
readonly sortable?: boolean | undefined;
|
|
@@ -320,7 +282,7 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
320
282
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
321
283
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
322
284
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
323
|
-
readonly width?:
|
|
285
|
+
readonly width?: number | string | undefined;
|
|
324
286
|
readonly minWidth?: string | undefined;
|
|
325
287
|
readonly maxWidth?: string | undefined;
|
|
326
288
|
readonly sortable?: boolean | undefined;
|
|
@@ -391,20 +353,20 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
391
353
|
default: unknown extends Defaults["onKeydown:row"] ? (e: Event, value: any) => void : ((e: Event, value: any) => void) | Defaults["onKeydown:row"];
|
|
392
354
|
};
|
|
393
355
|
page: unknown extends Defaults["page"] ? {
|
|
394
|
-
type: PropType<
|
|
356
|
+
type: PropType<number | string>;
|
|
395
357
|
default: number;
|
|
396
358
|
} : Omit<{
|
|
397
|
-
type: PropType<
|
|
359
|
+
type: PropType<number | string>;
|
|
398
360
|
default: number;
|
|
399
361
|
}, "type" | "default"> & {
|
|
400
362
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
401
363
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
402
364
|
};
|
|
403
365
|
pageSize: unknown extends Defaults["pageSize"] ? {
|
|
404
|
-
type: PropType<
|
|
366
|
+
type: PropType<number | string>;
|
|
405
367
|
default: number;
|
|
406
368
|
} : Omit<{
|
|
407
|
-
type: PropType<
|
|
369
|
+
type: PropType<number | string>;
|
|
408
370
|
default: number;
|
|
409
371
|
}, "type" | "default"> & {
|
|
410
372
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
@@ -419,10 +381,10 @@ export declare const pressDataTableServerProps: <Defaults extends {
|
|
|
419
381
|
default: unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"];
|
|
420
382
|
};
|
|
421
383
|
total: unknown extends Defaults["total"] ? {
|
|
422
|
-
type: PropType<
|
|
384
|
+
type: PropType<number | string>;
|
|
423
385
|
required: true;
|
|
424
386
|
} : Omit<{
|
|
425
|
-
type: PropType<
|
|
387
|
+
type: PropType<number | string>;
|
|
426
388
|
required: true;
|
|
427
389
|
}, "type" | "default"> & {
|
|
428
390
|
type: PropType<unknown extends Defaults["total"] ? string | number : NonNullable<string | number> | Defaults["total"]>;
|
|
@@ -438,7 +400,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
438
400
|
type: PropType<boolean>;
|
|
439
401
|
};
|
|
440
402
|
height: {
|
|
441
|
-
type: PropType<
|
|
403
|
+
type: PropType<number | string>;
|
|
442
404
|
};
|
|
443
405
|
flexHeight: {
|
|
444
406
|
type: PropType<boolean>;
|
|
@@ -462,7 +424,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
462
424
|
};
|
|
463
425
|
enableSelect: BooleanConstructor;
|
|
464
426
|
selectStrategy: {
|
|
465
|
-
type: PropType<"
|
|
427
|
+
type: PropType<"single" | "page" | "all">;
|
|
466
428
|
default: string;
|
|
467
429
|
};
|
|
468
430
|
modelValue: {
|
|
@@ -470,18 +432,15 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
470
432
|
default: () => never[];
|
|
471
433
|
};
|
|
472
434
|
itemComparator: {
|
|
473
|
-
type: PropType<
|
|
435
|
+
type: PropType<typeof import('../../util/common').deepEqual | string>;
|
|
474
436
|
default: () => typeof import('../../util/common').deepEqual;
|
|
475
437
|
};
|
|
476
438
|
sortBy: {
|
|
477
|
-
type: PropType<
|
|
478
|
-
readonly key: string;
|
|
479
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
480
|
-
}[]>;
|
|
439
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
481
440
|
default: () => never[];
|
|
482
441
|
};
|
|
483
442
|
items: {
|
|
484
|
-
type: PropType<
|
|
443
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
485
444
|
default: () => never[];
|
|
486
445
|
};
|
|
487
446
|
itemKey: {
|
|
@@ -494,23 +453,7 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
494
453
|
};
|
|
495
454
|
returnItem: BooleanConstructor;
|
|
496
455
|
headers: {
|
|
497
|
-
type: PropType<
|
|
498
|
-
readonly key: string;
|
|
499
|
-
readonly text: string;
|
|
500
|
-
readonly value?: any;
|
|
501
|
-
readonly colspan?: number | undefined;
|
|
502
|
-
readonly rowspan?: number | undefined;
|
|
503
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
504
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
505
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
506
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
507
|
-
readonly width?: string | number | undefined;
|
|
508
|
-
readonly minWidth?: string | undefined;
|
|
509
|
-
readonly maxWidth?: string | undefined;
|
|
510
|
-
readonly sortable?: boolean | undefined;
|
|
511
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
512
|
-
readonly mustSort?: boolean | undefined;
|
|
513
|
-
}[]>;
|
|
456
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
514
457
|
default: () => never[];
|
|
515
458
|
};
|
|
516
459
|
width: PropType<string | number>;
|
|
@@ -531,18 +474,18 @@ export declare const YDataTableServer: import('vue').DefineComponent<{
|
|
|
531
474
|
'onMousedown:row': PropType<(e: Event, value: any) => void>;
|
|
532
475
|
'onKeydown:row': PropType<(e: Event, value: any) => void>;
|
|
533
476
|
page: {
|
|
534
|
-
type: PropType<
|
|
477
|
+
type: PropType<number | string>;
|
|
535
478
|
default: number;
|
|
536
479
|
};
|
|
537
480
|
pageSize: {
|
|
538
|
-
type: PropType<
|
|
481
|
+
type: PropType<number | string>;
|
|
539
482
|
default: number;
|
|
540
483
|
};
|
|
541
484
|
paginationProps: {
|
|
542
485
|
type: ObjectConstructor;
|
|
543
486
|
};
|
|
544
487
|
total: {
|
|
545
|
-
type: PropType<
|
|
488
|
+
type: PropType<number | string>;
|
|
546
489
|
required: true;
|
|
547
490
|
};
|
|
548
491
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -26,9 +26,9 @@ export declare const pressYTableProps: <Defaults extends {
|
|
|
26
26
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
27
27
|
};
|
|
28
28
|
height: unknown extends Defaults["height"] ? {
|
|
29
|
-
type: PropType<
|
|
29
|
+
type: PropType<number | string>;
|
|
30
30
|
} : Omit<{
|
|
31
|
-
type: PropType<
|
|
31
|
+
type: PropType<number | string>;
|
|
32
32
|
}, "type" | "default"> & {
|
|
33
33
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
34
34
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
@@ -55,7 +55,7 @@ export declare const YTable: import('vue').DefineComponent<{
|
|
|
55
55
|
type: PropType<boolean>;
|
|
56
56
|
};
|
|
57
57
|
height: {
|
|
58
|
-
type: PropType<
|
|
58
|
+
type: PropType<number | string>;
|
|
59
59
|
};
|
|
60
60
|
flexHeight: {
|
|
61
61
|
type: PropType<boolean>;
|
|
@@ -34,9 +34,9 @@ export declare function provideExpand(props: DataTableExpandProps): {
|
|
|
34
34
|
toggleExpand: (item: DataTableItem) => void;
|
|
35
35
|
};
|
|
36
36
|
export declare function useExpand(): {
|
|
37
|
-
expands: Ref<Set<string
|
|
38
|
-
isExpanded: (item: DataTableItem
|
|
39
|
-
expand: (item: DataTableItem
|
|
40
|
-
toggleExpand: (item: DataTableItem
|
|
37
|
+
expands: Ref<Set<string>>;
|
|
38
|
+
isExpanded: (item: DataTableItem) => boolean;
|
|
39
|
+
expand: (item: DataTableItem, value: boolean) => void;
|
|
40
|
+
toggleExpand: (item: DataTableItem) => void;
|
|
41
41
|
};
|
|
42
42
|
export {};
|
|
@@ -5,42 +5,10 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
5
5
|
headers?: unknown;
|
|
6
6
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
7
7
|
headers: unknown extends Defaults["headers"] ? {
|
|
8
|
-
type: PropType<
|
|
9
|
-
readonly key: string;
|
|
10
|
-
readonly text: string;
|
|
11
|
-
readonly value?: any;
|
|
12
|
-
readonly colspan?: number | undefined;
|
|
13
|
-
readonly rowspan?: number | undefined;
|
|
14
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
15
|
-
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
16
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
17
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
18
|
-
readonly width?: string | number | undefined;
|
|
19
|
-
readonly minWidth?: string | undefined;
|
|
20
|
-
readonly maxWidth?: string | undefined;
|
|
21
|
-
readonly sortable?: boolean | undefined;
|
|
22
|
-
readonly sort?: import('../types').DataTableCompareFn | undefined;
|
|
23
|
-
readonly mustSort?: boolean | undefined;
|
|
24
|
-
}[]>;
|
|
8
|
+
type: PropType<DeepReadonly<DataTableHeader[]>>;
|
|
25
9
|
default: () => never[];
|
|
26
10
|
} : Omit<{
|
|
27
|
-
type: PropType<
|
|
28
|
-
readonly key: string;
|
|
29
|
-
readonly text: string;
|
|
30
|
-
readonly value?: any;
|
|
31
|
-
readonly colspan?: number | undefined;
|
|
32
|
-
readonly rowspan?: number | undefined;
|
|
33
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
34
|
-
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
35
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
36
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
37
|
-
readonly width?: string | number | undefined;
|
|
38
|
-
readonly minWidth?: string | undefined;
|
|
39
|
-
readonly maxWidth?: string | undefined;
|
|
40
|
-
readonly sortable?: boolean | undefined;
|
|
41
|
-
readonly sort?: import('../types').DataTableCompareFn | undefined;
|
|
42
|
-
readonly mustSort?: boolean | undefined;
|
|
43
|
-
}[]>;
|
|
11
|
+
type: PropType<DeepReadonly<DataTableHeader[]>>;
|
|
44
12
|
default: () => never[];
|
|
45
13
|
}, "type" | "default"> & {
|
|
46
14
|
type: PropType<unknown extends Defaults["headers"] ? readonly {
|
|
@@ -53,7 +21,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
53
21
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
54
22
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
55
23
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
56
|
-
readonly width?:
|
|
24
|
+
readonly width?: number | string | undefined;
|
|
57
25
|
readonly minWidth?: string | undefined;
|
|
58
26
|
readonly maxWidth?: string | undefined;
|
|
59
27
|
readonly sortable?: boolean | undefined;
|
|
@@ -69,7 +37,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
69
37
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
70
38
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
71
39
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
72
|
-
readonly width?:
|
|
40
|
+
readonly width?: number | string | undefined;
|
|
73
41
|
readonly minWidth?: string | undefined;
|
|
74
42
|
readonly maxWidth?: string | undefined;
|
|
75
43
|
readonly sortable?: boolean | undefined;
|
|
@@ -86,7 +54,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
86
54
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
87
55
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
88
56
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
89
|
-
readonly width?:
|
|
57
|
+
readonly width?: number | string | undefined;
|
|
90
58
|
readonly minWidth?: string | undefined;
|
|
91
59
|
readonly maxWidth?: string | undefined;
|
|
92
60
|
readonly sortable?: boolean | undefined;
|
|
@@ -102,7 +70,7 @@ export declare const pressDataTableHeader: <Defaults extends {
|
|
|
102
70
|
readonly classes?: string | readonly string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
103
71
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
104
72
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
105
|
-
readonly width?:
|
|
73
|
+
readonly width?: number | string | undefined;
|
|
106
74
|
readonly minWidth?: string | undefined;
|
|
107
75
|
readonly maxWidth?: string | undefined;
|
|
108
76
|
readonly sortable?: boolean | undefined;
|
|
@@ -128,10 +96,10 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
128
96
|
colspan?: number | undefined;
|
|
129
97
|
rowspan?: number | undefined;
|
|
130
98
|
fixed?: boolean | "left" | "right" | undefined;
|
|
131
|
-
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
99
|
+
classes?: (string | string[] | import('../types/common').DataTableCellClassesFn) | undefined;
|
|
132
100
|
headerClasses?: string | string[] | undefined;
|
|
133
101
|
align?: "start" | "end" | "center" | undefined;
|
|
134
|
-
width?:
|
|
102
|
+
width?: number | string | undefined;
|
|
135
103
|
minWidth?: string | undefined;
|
|
136
104
|
maxWidth?: string | undefined;
|
|
137
105
|
sortable: boolean;
|
|
@@ -147,10 +115,10 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
147
115
|
colspan?: number | undefined;
|
|
148
116
|
rowspan?: number | undefined;
|
|
149
117
|
fixed?: boolean | "left" | "right" | undefined;
|
|
150
|
-
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
118
|
+
classes?: (string | string[] | import('../types/common').DataTableCellClassesFn) | undefined;
|
|
151
119
|
headerClasses?: string | string[] | undefined;
|
|
152
120
|
align?: "start" | "end" | "center" | undefined;
|
|
153
|
-
width?:
|
|
121
|
+
width?: number | string | undefined;
|
|
154
122
|
minWidth?: string | undefined;
|
|
155
123
|
maxWidth?: string | undefined;
|
|
156
124
|
sortable: boolean;
|
|
@@ -167,10 +135,10 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
167
135
|
colspan?: number | undefined;
|
|
168
136
|
rowspan?: number | undefined;
|
|
169
137
|
fixed?: boolean | "left" | "right" | undefined;
|
|
170
|
-
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
138
|
+
classes?: (string | string[] | import('../types/common').DataTableCellClassesFn) | undefined;
|
|
171
139
|
headerClasses?: string | string[] | undefined;
|
|
172
140
|
align?: "start" | "end" | "center" | undefined;
|
|
173
|
-
width?:
|
|
141
|
+
width?: number | string | undefined;
|
|
174
142
|
minWidth?: string | undefined;
|
|
175
143
|
maxWidth?: string | undefined;
|
|
176
144
|
sortable: boolean;
|
|
@@ -186,10 +154,10 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
186
154
|
colspan?: number | undefined;
|
|
187
155
|
rowspan?: number | undefined;
|
|
188
156
|
fixed?: boolean | "left" | "right" | undefined;
|
|
189
|
-
classes?: string | string[] | import('../types/common').DataTableCellClassesFn | undefined;
|
|
157
|
+
classes?: (string | string[] | import('../types/common').DataTableCellClassesFn) | undefined;
|
|
190
158
|
headerClasses?: string | string[] | undefined;
|
|
191
159
|
align?: "start" | "end" | "center" | undefined;
|
|
192
|
-
width?:
|
|
160
|
+
width?: number | string | undefined;
|
|
193
161
|
minWidth?: string | undefined;
|
|
194
162
|
maxWidth?: string | undefined;
|
|
195
163
|
sortable: boolean;
|
|
@@ -201,7 +169,7 @@ export declare function createHeader(props: HeaderProps, options?: {
|
|
|
201
169
|
}[]>;
|
|
202
170
|
};
|
|
203
171
|
export declare function useHeader(): {
|
|
204
|
-
headers: Ref<InternalDataTableHeader[][]
|
|
205
|
-
columns: Ref<InternalDataTableHeader[]
|
|
172
|
+
headers: Ref<InternalDataTableHeader[][]>;
|
|
173
|
+
columns: Ref<InternalDataTableHeader[]>;
|
|
206
174
|
};
|
|
207
175
|
export {};
|
|
@@ -14,10 +14,10 @@ export declare const pressDataTableItemsProps: <Defaults extends {
|
|
|
14
14
|
returnItem?: unknown;
|
|
15
15
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
16
16
|
items: unknown extends Defaults["items"] ? {
|
|
17
|
-
type: PropType<
|
|
17
|
+
type: PropType<DataTableItemsProps["items"]>;
|
|
18
18
|
default: () => never[];
|
|
19
19
|
} : Omit<{
|
|
20
|
-
type: PropType<
|
|
20
|
+
type: PropType<DataTableItemsProps["items"]>;
|
|
21
21
|
default: () => never[];
|
|
22
22
|
}, "type" | "default"> & {
|
|
23
23
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
@@ -18,20 +18,20 @@ export declare const pressDataTablePaginationProps: <Defaults extends {
|
|
|
18
18
|
pageSize?: unknown;
|
|
19
19
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
20
20
|
page: unknown extends Defaults["page"] ? {
|
|
21
|
-
type: PropType<
|
|
21
|
+
type: PropType<number | string>;
|
|
22
22
|
default: number;
|
|
23
23
|
} : Omit<{
|
|
24
|
-
type: PropType<
|
|
24
|
+
type: PropType<number | string>;
|
|
25
25
|
default: number;
|
|
26
26
|
}, "type" | "default"> & {
|
|
27
27
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
28
28
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
29
29
|
};
|
|
30
30
|
pageSize: unknown extends Defaults["pageSize"] ? {
|
|
31
|
-
type: PropType<
|
|
31
|
+
type: PropType<number | string>;
|
|
32
32
|
default: number;
|
|
33
33
|
} : Omit<{
|
|
34
|
-
type: PropType<
|
|
34
|
+
type: PropType<number | string>;
|
|
35
35
|
default: number;
|
|
36
36
|
}, "type" | "default"> & {
|
|
37
37
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
@@ -59,12 +59,12 @@ export declare function providePagination(options: {
|
|
|
59
59
|
total: Ref<number>;
|
|
60
60
|
}): DataTableProvidePaginationData;
|
|
61
61
|
export declare function usePagination(): {
|
|
62
|
-
page: Ref<number
|
|
63
|
-
pageSize: Ref<number
|
|
64
|
-
startIndex: Ref<number
|
|
65
|
-
endIndex: Ref<number
|
|
66
|
-
pageLength: Ref<number
|
|
67
|
-
total: Ref<number
|
|
62
|
+
page: Ref<number>;
|
|
63
|
+
pageSize: Ref<number>;
|
|
64
|
+
startIndex: Ref<number>;
|
|
65
|
+
endIndex: Ref<number>;
|
|
66
|
+
pageLength: Ref<number>;
|
|
67
|
+
total: Ref<number>;
|
|
68
68
|
prevPage: () => void;
|
|
69
69
|
nextPage: () => void;
|
|
70
70
|
setPage: (page: number) => void;
|
|
@@ -37,14 +37,14 @@ export declare const pressDataTableSelectionProps: <Defaults extends {
|
|
|
37
37
|
default: unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"];
|
|
38
38
|
};
|
|
39
39
|
selectStrategy: unknown extends Defaults["selectStrategy"] ? {
|
|
40
|
-
type: PropType<"
|
|
40
|
+
type: PropType<"single" | "page" | "all">;
|
|
41
41
|
default: string;
|
|
42
42
|
} : Omit<{
|
|
43
|
-
type: PropType<"
|
|
43
|
+
type: PropType<"single" | "page" | "all">;
|
|
44
44
|
default: string;
|
|
45
45
|
}, "type" | "default"> & {
|
|
46
|
-
type: PropType<unknown extends Defaults["selectStrategy"] ? "
|
|
47
|
-
default: unknown extends Defaults["selectStrategy"] ? "
|
|
46
|
+
type: PropType<unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : Defaults["selectStrategy"] | NonNullable<"all" | "page" | "single">>;
|
|
47
|
+
default: unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : Defaults["selectStrategy"] | NonNullable<"all" | "page" | "single">;
|
|
48
48
|
};
|
|
49
49
|
modelValue: unknown extends Defaults["modelValue"] ? {
|
|
50
50
|
type: PropType<readonly any[]>;
|
|
@@ -57,10 +57,10 @@ export declare const pressDataTableSelectionProps: <Defaults extends {
|
|
|
57
57
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
58
58
|
};
|
|
59
59
|
itemComparator: unknown extends Defaults["itemComparator"] ? {
|
|
60
|
-
type: PropType<
|
|
60
|
+
type: PropType<typeof deepEqual | string>;
|
|
61
61
|
default: () => typeof deepEqual;
|
|
62
62
|
} : Omit<{
|
|
63
|
-
type: PropType<
|
|
63
|
+
type: PropType<typeof deepEqual | string>;
|
|
64
64
|
default: () => typeof deepEqual;
|
|
65
65
|
}, "type" | "default"> & {
|
|
66
66
|
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof deepEqual : Defaults["itemComparator"] | NonNullable<string | typeof deepEqual>>;
|