yuyeon 0.3.2-rc.9 → 0.3.4-beta.12
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 +3841 -3625
- 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 +3 -3
- 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 +55 -53
- 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 +2 -0
- package/lib/components/draggable/index.js.map +1 -0
- 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 +42 -40
- 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 +30 -31
- package/lib/components/img/YImg.js.map +1 -1
- package/lib/components/img/index.js.map +1 -1
- 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 +4 -3
- 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.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 +5 -8
- 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 +58 -0
- package/lib/components/radio/YRadio.js.map +1 -0
- package/lib/components/radio/YRadio.scss +38 -0
- package/lib/components/radio/YRadioIcon.js +33 -0
- package/lib/components/radio/YRadioIcon.js.map +1 -0
- package/lib/components/radio/YRadioIcon.scss +43 -0
- package/lib/components/radio/index.js +3 -0
- package/lib/components/radio/index.js.map +1 -0
- package/lib/components/select/YSelect.js +41 -43
- 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 +26 -14
- package/lib/components/table/YDataTable.js.map +1 -1
- package/lib/components/table/YDataTableBody.js +14 -19
- 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 +8 -6
- package/lib/components/table/YDataTableControl.js.map +1 -1
- package/lib/components/table/YDataTableControl.scss +10 -0
- 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 +86 -0
- package/lib/components/table/YDataTableLayerRow.js.map +1 -0
- package/lib/components/table/YDataTableLayerRow.vue +7 -6
- package/lib/components/table/YDataTableLayerRows.js +59 -0
- package/lib/components/table/YDataTableLayerRows.js.map +1 -0
- package/lib/components/table/YDataTableLayerRows.scss +14 -0
- package/lib/components/table/YDataTableRow.js +14 -7
- package/lib/components/table/YDataTableRow.js.map +1 -1
- package/lib/components/table/YDataTableRows.scss +14 -0
- package/lib/components/table/YDataTableServer.js +19 -8
- 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 +49 -0
- package/lib/components/table/composables/expand.js.map +1 -0
- package/lib/components/table/composables/header.js.map +1 -1
- package/lib/components/table/composables/items.js +8 -2
- 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 +2 -0
- 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 +2 -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 +1 -2
- 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 +7 -4
- 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.map +1 -1
- package/lib/composables/coordinate/levitation.js +2 -2
- 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 +1 -2
- 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.map +1 -1
- package/lib/composables/transition.js.map +1 -1
- package/lib/composables/validation.js +7 -4
- 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/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 +6 -1
- package/lib/util/string.js.map +1 -1
- package/lib/util/ui.js.map +1 -1
- package/lib/util/validation.js.map +1 -1
- package/package.json +132 -120
- package/types/abstract/items.d.ts +8 -8
- package/types/components/alert/YAlert.d.ts +2 -2
- package/types/components/badge/YBadge.d.ts +4 -7
- package/types/components/button/YButton.d.ts +11 -11
- package/types/components/checkbox/YCheckbox.d.ts +4 -4
- package/types/components/chip/YChip.d.ts +1 -4
- package/types/components/date-picker/YDateCalendar.d.ts +4 -4
- package/types/components/date-picker/YDatePicker.d.ts +1 -1
- package/types/components/date-picker/YDatePickerControl.d.ts +12 -12
- package/types/components/dialog/YDialog.d.ts +158 -6530
- package/types/components/draggable/YDraggable.d.ts +6 -6
- package/types/components/draggable/index.d.ts +1 -0
- package/types/components/dropdown/YDropdown.d.ts +139 -139
- package/types/components/field-input/YFieldInput.d.ts +33 -27
- package/types/components/form/YForm.d.ts +3 -3
- package/types/components/hover/YHover.d.ts +3 -3
- package/types/components/icon/YIcon.d.ts +6 -6
- 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 +31 -31
- package/types/components/input/YInput.d.ts +22 -22
- package/types/components/ip-field/YIpv4Field.d.ts +6 -6
- package/types/components/layer/YLayer.d.ts +81 -3266
- package/types/components/layer/content.d.ts +1 -1
- package/types/components/layer/scroll-strategies.d.ts +5 -5
- package/types/components/list/YListItem.d.ts +1 -1
- package/types/components/menu/YMenu.d.ts +83 -6455
- package/types/components/pagination/YPagination.d.ts +8 -8
- package/types/components/radio/YRadio.d.ts +25 -0
- package/types/components/radio/YRadioIcon.d.ts +6 -0
- package/types/components/radio/index.d.ts +2 -0
- package/types/components/select/YSelect.d.ts +235 -553
- package/types/components/slider/YSlider.d.ts +1 -1
- package/types/components/snackbar/YSnackbar.d.ts +88 -88
- package/types/components/switch/YSwitch.d.ts +10 -10
- package/types/components/tab/YTab.d.ts +15 -15
- package/types/components/tab/YTabs.d.ts +5 -5
- package/types/components/table/YDataTable.d.ts +70 -102
- package/types/components/table/YDataTableBody.d.ts +6 -8
- package/types/components/table/YDataTableCell.d.ts +2 -2
- package/types/components/table/YDataTableControl.d.ts +20 -8
- package/types/components/table/YDataTableHead.d.ts +2 -2
- package/types/components/table/YDataTableLayer.d.ts +2 -2
- package/types/components/table/YDataTableLayerRow.d.ts +22 -0
- package/types/components/table/YDataTableLayerRows.d.ts +9 -0
- package/types/components/table/YDataTableRow.d.ts +1 -1
- package/types/components/table/YDataTableServer.d.ts +94 -117
- package/types/components/table/YTable.d.ts +7 -7
- package/types/components/table/composables/expand.d.ts +42 -0
- package/types/components/table/composables/header.d.ts +17 -49
- package/types/components/table/composables/items.d.ts +5 -5
- package/types/components/table/composables/pagination.d.ts +12 -12
- package/types/components/table/composables/selection.d.ts +9 -9
- package/types/components/table/composables/sorting.d.ts +9 -15
- package/types/components/table/index.d.ts +2 -0
- package/types/components/table/types/item.d.ts +2 -1
- package/types/components/textarea/YTextarea.d.ts +48 -48
- package/types/components/tooltip/YTooltip.d.ts +113 -113
- package/types/components/tree-view/YTreeView.d.ts +11 -11
- package/types/components/tree-view/YTreeViewNode.d.ts +13 -13
- package/types/components/tree-view/tree-view.d.ts +2 -2
- package/types/composables/choice.d.ts +3 -3
- package/types/composables/coordinate/index.d.ts +35 -3213
- package/types/composables/dimension.d.ts +6 -6
- package/types/composables/form.d.ts +19 -29
- package/types/composables/icon.d.ts +2 -2
- package/types/composables/list-items.d.ts +13 -13
- package/types/composables/style-color.d.ts +0 -1
- package/types/composables/theme/index.d.ts +1 -0
- package/types/composables/transition.d.ts +11 -11
- package/types/composables/validation.d.ts +9 -9
- 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 +64 -56
- 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/util/string.d.ts +1 -0
- /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
|
@@ -17,7 +17,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
|
|
|
17
17
|
} : Omit<{
|
|
18
18
|
type: null;
|
|
19
19
|
default: undefined;
|
|
20
|
-
}, "
|
|
20
|
+
}, "type" | "default"> & {
|
|
21
21
|
type: PropType<unknown extends Defaults["modelValue"] ? any : any>;
|
|
22
22
|
default: unknown extends Defaults["modelValue"] ? any : any;
|
|
23
23
|
};
|
|
@@ -31,7 +31,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
|
|
|
31
31
|
} : Omit<{
|
|
32
32
|
type: PropType<NonNullable<boolean | "force">>;
|
|
33
33
|
default: NonNullable<boolean | "force">;
|
|
34
|
-
}, "
|
|
34
|
+
}, "type" | "default"> & {
|
|
35
35
|
type: PropType<unknown extends Defaults["mandatory"] ? NonNullable<boolean | "force"> : Defaults["mandatory"] | NonNullable<NonNullable<boolean | "force">>>;
|
|
36
36
|
default: unknown extends Defaults["mandatory"] ? NonNullable<boolean | "force"> : Defaults["mandatory"] | NonNullable<NonNullable<boolean | "force">>;
|
|
37
37
|
};
|
|
@@ -45,7 +45,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
|
|
|
45
45
|
} : Omit<{
|
|
46
46
|
type: PropType<string>;
|
|
47
47
|
default: string;
|
|
48
|
-
}, "
|
|
48
|
+
}, "type" | "default"> & {
|
|
49
49
|
type: PropType<unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"]>;
|
|
50
50
|
default: unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"];
|
|
51
51
|
};
|
|
@@ -61,7 +61,7 @@ export declare const pressYTabsPropOptions: <Defaults extends {
|
|
|
61
61
|
type: PropType<YTabPropItem[]>;
|
|
62
62
|
} : Omit<{
|
|
63
63
|
type: PropType<YTabPropItem[]>;
|
|
64
|
-
}, "
|
|
64
|
+
}, "type" | "default"> & {
|
|
65
65
|
type: PropType<unknown extends Defaults["items"] ? YTabPropItem[] : YTabPropItem[] | Defaults["items"]>;
|
|
66
66
|
default: unknown extends Defaults["items"] ? YTabPropItem[] : YTabPropItem[] | Defaults["items"];
|
|
67
67
|
};
|
|
@@ -93,6 +93,6 @@ export declare const YTabs: import('vue').DefineComponent<{
|
|
|
93
93
|
}, {
|
|
94
94
|
selected: import('vue').Ref<readonly number[], readonly number[]>;
|
|
95
95
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
96
|
-
'update:modelValue': (value: any) =>
|
|
96
|
+
'update:modelValue': (value: any) => true;
|
|
97
97
|
}, string>;
|
|
98
98
|
export type YTabs = InstanceType<typeof YTabs>;
|
|
@@ -11,6 +11,8 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
11
11
|
sortDescIcon?: unknown;
|
|
12
12
|
dualSortIcon?: unknown;
|
|
13
13
|
sticky?: unknown;
|
|
14
|
+
enableExpand?: unknown;
|
|
15
|
+
expanded?: unknown;
|
|
14
16
|
enableSelect?: unknown;
|
|
15
17
|
selectStrategy?: unknown;
|
|
16
18
|
modelValue?: unknown;
|
|
@@ -42,7 +44,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
42
44
|
} : Omit<{
|
|
43
45
|
type: PropType<string>;
|
|
44
46
|
default: string;
|
|
45
|
-
}, "
|
|
47
|
+
}, "type" | "default"> & {
|
|
46
48
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
47
49
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
48
50
|
};
|
|
@@ -50,15 +52,15 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
50
52
|
type: PropType<boolean>;
|
|
51
53
|
} : Omit<{
|
|
52
54
|
type: PropType<boolean>;
|
|
53
|
-
}, "
|
|
55
|
+
}, "type" | "default"> & {
|
|
54
56
|
type: PropType<unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"]>;
|
|
55
57
|
default: unknown extends Defaults["fixedHead"] ? boolean : boolean | Defaults["fixedHead"];
|
|
56
58
|
};
|
|
57
59
|
height: unknown extends Defaults["height"] ? {
|
|
58
|
-
type: PropType<
|
|
60
|
+
type: PropType<number | string>;
|
|
59
61
|
} : Omit<{
|
|
60
|
-
type: PropType<
|
|
61
|
-
}, "
|
|
62
|
+
type: PropType<number | string>;
|
|
63
|
+
}, "type" | "default"> & {
|
|
62
64
|
type: PropType<unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"]>;
|
|
63
65
|
default: unknown extends Defaults["height"] ? string | number : NonNullable<string | number> | Defaults["height"];
|
|
64
66
|
};
|
|
@@ -66,7 +68,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
66
68
|
type: PropType<boolean>;
|
|
67
69
|
} : Omit<{
|
|
68
70
|
type: PropType<boolean>;
|
|
69
|
-
}, "
|
|
71
|
+
}, "type" | "default"> & {
|
|
70
72
|
type: PropType<unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"]>;
|
|
71
73
|
default: unknown extends Defaults["flexHeight"] ? boolean : boolean | Defaults["flexHeight"];
|
|
72
74
|
};
|
|
@@ -84,7 +86,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
84
86
|
} : Omit<{
|
|
85
87
|
type: StringConstructor;
|
|
86
88
|
default: string;
|
|
87
|
-
}, "
|
|
89
|
+
}, "type" | "default"> & {
|
|
88
90
|
type: PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
|
|
89
91
|
default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
|
|
90
92
|
};
|
|
@@ -94,7 +96,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
94
96
|
} : Omit<{
|
|
95
97
|
type: StringConstructor;
|
|
96
98
|
default: string;
|
|
97
|
-
}, "
|
|
99
|
+
}, "type" | "default"> & {
|
|
98
100
|
type: PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
|
|
99
101
|
default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
|
|
100
102
|
};
|
|
@@ -106,19 +108,33 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
106
108
|
type: PropType<unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"]>;
|
|
107
109
|
default: unknown extends Defaults["sticky"] ? boolean : boolean | Defaults["sticky"];
|
|
108
110
|
};
|
|
111
|
+
enableExpand: unknown extends Defaults["enableExpand"] ? BooleanConstructor : {
|
|
112
|
+
type: PropType<unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"]>;
|
|
113
|
+
default: unknown extends Defaults["enableExpand"] ? boolean : boolean | Defaults["enableExpand"];
|
|
114
|
+
};
|
|
115
|
+
expanded: unknown extends Defaults["expanded"] ? {
|
|
116
|
+
type: PropType<readonly string[]>;
|
|
117
|
+
default: () => never[];
|
|
118
|
+
} : Omit<{
|
|
119
|
+
type: PropType<readonly string[]>;
|
|
120
|
+
default: () => never[];
|
|
121
|
+
}, "type" | "default"> & {
|
|
122
|
+
type: PropType<unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"]>;
|
|
123
|
+
default: unknown extends Defaults["expanded"] ? readonly string[] : readonly string[] | Defaults["expanded"];
|
|
124
|
+
};
|
|
109
125
|
enableSelect: unknown extends Defaults["enableSelect"] ? BooleanConstructor : {
|
|
110
126
|
type: PropType<unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"]>;
|
|
111
127
|
default: unknown extends Defaults["enableSelect"] ? boolean : boolean | Defaults["enableSelect"];
|
|
112
128
|
};
|
|
113
129
|
selectStrategy: unknown extends Defaults["selectStrategy"] ? {
|
|
114
|
-
type: PropType<"
|
|
130
|
+
type: PropType<"single" | "page" | "all">;
|
|
115
131
|
default: string;
|
|
116
132
|
} : Omit<{
|
|
117
|
-
type: PropType<"
|
|
133
|
+
type: PropType<"single" | "page" | "all">;
|
|
118
134
|
default: string;
|
|
119
|
-
}, "
|
|
120
|
-
type: PropType<unknown extends Defaults["selectStrategy"] ? "
|
|
121
|
-
default: unknown extends Defaults["selectStrategy"] ? "
|
|
135
|
+
}, "type" | "default"> & {
|
|
136
|
+
type: PropType<unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : NonNullable<"all" | "page" | "single"> | Defaults["selectStrategy"]>;
|
|
137
|
+
default: unknown extends Defaults["selectStrategy"] ? "all" | "page" | "single" : NonNullable<"all" | "page" | "single"> | Defaults["selectStrategy"];
|
|
122
138
|
};
|
|
123
139
|
modelValue: unknown extends Defaults["modelValue"] ? {
|
|
124
140
|
type: PropType<readonly any[]>;
|
|
@@ -126,55 +142,49 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
126
142
|
} : Omit<{
|
|
127
143
|
type: PropType<readonly any[]>;
|
|
128
144
|
default: () => never[];
|
|
129
|
-
}, "
|
|
145
|
+
}, "type" | "default"> & {
|
|
130
146
|
type: PropType<unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"]>;
|
|
131
147
|
default: unknown extends Defaults["modelValue"] ? readonly any[] : readonly any[] | Defaults["modelValue"];
|
|
132
148
|
};
|
|
133
149
|
itemComparator: unknown extends Defaults["itemComparator"] ? {
|
|
134
|
-
type: PropType<
|
|
150
|
+
type: PropType<typeof import('../../util').deepEqual | string>;
|
|
135
151
|
default: () => typeof import('../../util').deepEqual;
|
|
136
152
|
} : Omit<{
|
|
137
|
-
type: PropType<
|
|
153
|
+
type: PropType<typeof import('../../util').deepEqual | string>;
|
|
138
154
|
default: () => typeof import('../../util').deepEqual;
|
|
139
|
-
}, "
|
|
155
|
+
}, "type" | "default"> & {
|
|
140
156
|
type: PropType<unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"]>;
|
|
141
157
|
default: unknown extends Defaults["itemComparator"] ? string | typeof import('../../util').deepEqual : NonNullable<string | typeof import('../../util').deepEqual> | Defaults["itemComparator"];
|
|
142
158
|
};
|
|
143
159
|
sortBy: unknown extends Defaults["sortBy"] ? {
|
|
144
|
-
type: PropType<
|
|
145
|
-
readonly key: string;
|
|
146
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
147
|
-
}[]>;
|
|
160
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
148
161
|
default: () => never[];
|
|
149
162
|
} : Omit<{
|
|
150
|
-
type: PropType<
|
|
151
|
-
readonly key: string;
|
|
152
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
153
|
-
}[]>;
|
|
163
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
154
164
|
default: () => never[];
|
|
155
|
-
}, "
|
|
165
|
+
}, "type" | "default"> & {
|
|
156
166
|
type: PropType<unknown extends Defaults["sortBy"] ? readonly {
|
|
157
167
|
readonly key: string;
|
|
158
|
-
readonly order?: boolean | "
|
|
168
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
159
169
|
}[] : readonly {
|
|
160
170
|
readonly key: string;
|
|
161
|
-
readonly order?: boolean | "
|
|
171
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
162
172
|
}[] | Defaults["sortBy"]>;
|
|
163
173
|
default: unknown extends Defaults["sortBy"] ? readonly {
|
|
164
174
|
readonly key: string;
|
|
165
|
-
readonly order?: boolean | "
|
|
175
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
166
176
|
}[] : readonly {
|
|
167
177
|
readonly key: string;
|
|
168
|
-
readonly order?: boolean | "
|
|
178
|
+
readonly order?: boolean | "asc" | "desc" | undefined;
|
|
169
179
|
}[] | Defaults["sortBy"];
|
|
170
180
|
};
|
|
171
181
|
items: unknown extends Defaults["items"] ? {
|
|
172
|
-
type: PropType<
|
|
182
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
173
183
|
default: () => never[];
|
|
174
184
|
} : Omit<{
|
|
175
|
-
type: PropType<
|
|
185
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
176
186
|
default: () => never[];
|
|
177
|
-
}, "
|
|
187
|
+
}, "type" | "default"> & {
|
|
178
188
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
179
189
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
180
190
|
};
|
|
@@ -184,7 +194,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
184
194
|
} : Omit<{
|
|
185
195
|
type: PropType<any>;
|
|
186
196
|
default: string;
|
|
187
|
-
}, "
|
|
197
|
+
}, "type" | "default"> & {
|
|
188
198
|
type: PropType<unknown extends Defaults["itemKey"] ? any : any>;
|
|
189
199
|
default: unknown extends Defaults["itemKey"] ? any : any;
|
|
190
200
|
};
|
|
@@ -194,7 +204,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
194
204
|
} : Omit<{
|
|
195
205
|
type: PropType<any>;
|
|
196
206
|
default: null;
|
|
197
|
-
}, "
|
|
207
|
+
}, "type" | "default"> & {
|
|
198
208
|
type: PropType<unknown extends Defaults["itemSelectable"] ? any : any>;
|
|
199
209
|
default: unknown extends Defaults["itemSelectable"] ? any : any;
|
|
200
210
|
};
|
|
@@ -203,44 +213,12 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
203
213
|
default: unknown extends Defaults["returnItem"] ? boolean : boolean | Defaults["returnItem"];
|
|
204
214
|
};
|
|
205
215
|
headers: unknown extends Defaults["headers"] ? {
|
|
206
|
-
type: PropType<
|
|
207
|
-
readonly key: string;
|
|
208
|
-
readonly text: string;
|
|
209
|
-
readonly value?: any;
|
|
210
|
-
readonly colspan?: number | undefined;
|
|
211
|
-
readonly rowspan?: number | undefined;
|
|
212
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
213
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
214
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
215
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
216
|
-
readonly width?: string | number | undefined;
|
|
217
|
-
readonly minWidth?: string | undefined;
|
|
218
|
-
readonly maxWidth?: string | undefined;
|
|
219
|
-
readonly sortable?: boolean | undefined;
|
|
220
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
221
|
-
readonly mustSort?: boolean | undefined;
|
|
222
|
-
}[]>;
|
|
216
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
223
217
|
default: () => never[];
|
|
224
218
|
} : Omit<{
|
|
225
|
-
type: PropType<
|
|
226
|
-
readonly key: string;
|
|
227
|
-
readonly text: string;
|
|
228
|
-
readonly value?: any;
|
|
229
|
-
readonly colspan?: number | undefined;
|
|
230
|
-
readonly rowspan?: number | undefined;
|
|
231
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
232
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
233
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
234
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
235
|
-
readonly width?: string | number | undefined;
|
|
236
|
-
readonly minWidth?: string | undefined;
|
|
237
|
-
readonly maxWidth?: string | undefined;
|
|
238
|
-
readonly sortable?: boolean | undefined;
|
|
239
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
240
|
-
readonly mustSort?: boolean | undefined;
|
|
241
|
-
}[]>;
|
|
219
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
242
220
|
default: () => never[];
|
|
243
|
-
}, "
|
|
221
|
+
}, "type" | "default"> & {
|
|
244
222
|
type: PropType<unknown extends Defaults["headers"] ? readonly {
|
|
245
223
|
readonly key: string;
|
|
246
224
|
readonly text: string;
|
|
@@ -251,7 +229,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
251
229
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
252
230
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
253
231
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
254
|
-
readonly width?:
|
|
232
|
+
readonly width?: number | string | undefined;
|
|
255
233
|
readonly minWidth?: string | undefined;
|
|
256
234
|
readonly maxWidth?: string | undefined;
|
|
257
235
|
readonly sortable?: boolean | undefined;
|
|
@@ -267,7 +245,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
267
245
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
268
246
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
269
247
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
270
|
-
readonly width?:
|
|
248
|
+
readonly width?: number | string | undefined;
|
|
271
249
|
readonly minWidth?: string | undefined;
|
|
272
250
|
readonly maxWidth?: string | undefined;
|
|
273
251
|
readonly sortable?: boolean | undefined;
|
|
@@ -284,7 +262,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
284
262
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
285
263
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
286
264
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
287
|
-
readonly width?:
|
|
265
|
+
readonly width?: number | string | undefined;
|
|
288
266
|
readonly minWidth?: string | undefined;
|
|
289
267
|
readonly maxWidth?: string | undefined;
|
|
290
268
|
readonly sortable?: boolean | undefined;
|
|
@@ -300,7 +278,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
300
278
|
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
301
279
|
readonly headerClasses?: string | readonly string[] | undefined;
|
|
302
280
|
readonly align?: "start" | "end" | "center" | undefined;
|
|
303
|
-
readonly width?:
|
|
281
|
+
readonly width?: number | string | undefined;
|
|
304
282
|
readonly minWidth?: string | undefined;
|
|
305
283
|
readonly maxWidth?: string | undefined;
|
|
306
284
|
readonly sortable?: boolean | undefined;
|
|
@@ -338,7 +316,7 @@ export declare const pressDataTableProps: <Defaults extends {
|
|
|
338
316
|
} : Omit<{
|
|
339
317
|
type: StringConstructor;
|
|
340
318
|
default: string;
|
|
341
|
-
}, "
|
|
319
|
+
}, "type" | "default"> & {
|
|
342
320
|
type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
|
|
343
321
|
default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
|
|
344
322
|
};
|
|
@@ -380,7 +358,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
380
358
|
type: PropType<boolean>;
|
|
381
359
|
};
|
|
382
360
|
height: {
|
|
383
|
-
type: PropType<
|
|
361
|
+
type: PropType<number | string>;
|
|
384
362
|
};
|
|
385
363
|
flexHeight: {
|
|
386
364
|
type: PropType<boolean>;
|
|
@@ -397,9 +375,14 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
397
375
|
};
|
|
398
376
|
dualSortIcon: BooleanConstructor;
|
|
399
377
|
sticky: BooleanConstructor;
|
|
378
|
+
enableExpand: BooleanConstructor;
|
|
379
|
+
expanded: {
|
|
380
|
+
type: PropType<readonly string[]>;
|
|
381
|
+
default: () => never[];
|
|
382
|
+
};
|
|
400
383
|
enableSelect: BooleanConstructor;
|
|
401
384
|
selectStrategy: {
|
|
402
|
-
type: PropType<"
|
|
385
|
+
type: PropType<"single" | "page" | "all">;
|
|
403
386
|
default: string;
|
|
404
387
|
};
|
|
405
388
|
modelValue: {
|
|
@@ -407,18 +390,15 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
407
390
|
default: () => never[];
|
|
408
391
|
};
|
|
409
392
|
itemComparator: {
|
|
410
|
-
type: PropType<
|
|
393
|
+
type: PropType<typeof import('../../util').deepEqual | string>;
|
|
411
394
|
default: () => typeof import('../../util').deepEqual;
|
|
412
395
|
};
|
|
413
396
|
sortBy: {
|
|
414
|
-
type: PropType<
|
|
415
|
-
readonly key: string;
|
|
416
|
-
readonly order?: boolean | "desc" | "asc" | undefined;
|
|
417
|
-
}[]>;
|
|
397
|
+
type: PropType<import('vue').DeepReadonly<import('./types').SortOption[]>>;
|
|
418
398
|
default: () => never[];
|
|
419
399
|
};
|
|
420
400
|
items: {
|
|
421
|
-
type: PropType<
|
|
401
|
+
type: PropType<import('./composables/items').DataTableItemsProps["items"]>;
|
|
422
402
|
default: () => never[];
|
|
423
403
|
};
|
|
424
404
|
itemKey: {
|
|
@@ -431,23 +411,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
431
411
|
};
|
|
432
412
|
returnItem: BooleanConstructor;
|
|
433
413
|
headers: {
|
|
434
|
-
type: PropType<
|
|
435
|
-
readonly key: string;
|
|
436
|
-
readonly text: string;
|
|
437
|
-
readonly value?: any;
|
|
438
|
-
readonly colspan?: number | undefined;
|
|
439
|
-
readonly rowspan?: number | undefined;
|
|
440
|
-
readonly fixed?: boolean | "left" | "right" | undefined;
|
|
441
|
-
readonly classes?: string | readonly string[] | import('./types/common').DataTableCellClassesFn | undefined;
|
|
442
|
-
readonly headerClasses?: string | readonly string[] | undefined;
|
|
443
|
-
readonly align?: "start" | "end" | "center" | undefined;
|
|
444
|
-
readonly width?: string | number | undefined;
|
|
445
|
-
readonly minWidth?: string | undefined;
|
|
446
|
-
readonly maxWidth?: string | undefined;
|
|
447
|
-
readonly sortable?: boolean | undefined;
|
|
448
|
-
readonly sort?: import('./types').DataTableCompareFn | undefined;
|
|
449
|
-
readonly mustSort?: boolean | undefined;
|
|
450
|
-
}[]>;
|
|
414
|
+
type: PropType<import('vue').DeepReadonly<import('./types').DataTableHeader[]>>;
|
|
451
415
|
default: () => never[];
|
|
452
416
|
};
|
|
453
417
|
width: PropType<string | number>;
|
|
@@ -468,13 +432,16 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
468
432
|
'onMousedown:row': PropType<(e: Event, value: any) => void>;
|
|
469
433
|
'onKeydown:row': PropType<(e: Event, value: any) => void>;
|
|
470
434
|
page: {
|
|
471
|
-
type: PropType<
|
|
435
|
+
type: PropType<number | string>;
|
|
472
436
|
default: number;
|
|
473
437
|
};
|
|
474
438
|
pageSize: {
|
|
475
|
-
type: PropType<
|
|
439
|
+
type: PropType<number | string>;
|
|
476
440
|
default: number;
|
|
477
441
|
};
|
|
442
|
+
paginationProps: {
|
|
443
|
+
type: ObjectConstructor;
|
|
444
|
+
};
|
|
478
445
|
}, {
|
|
479
446
|
paginatedItems: import('vue').ComputedRef<readonly any[]>;
|
|
480
447
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -483,6 +450,7 @@ export declare const YDataTable: import('vue').DefineComponent<{
|
|
|
483
450
|
'update:pageSize': (pageSize: number) => true;
|
|
484
451
|
'update:sortBy': (sortBy: any) => true;
|
|
485
452
|
'update:options': (options: any) => true;
|
|
453
|
+
'update:expanded': (expanded: any[]) => true;
|
|
486
454
|
'click:row': (e: Event, value: {
|
|
487
455
|
row: any;
|
|
488
456
|
}) => true;
|
|
@@ -16,12 +16,12 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
|
|
|
16
16
|
'onKeydown:row'?: unknown;
|
|
17
17
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
18
18
|
items: unknown extends Defaults["items"] ? {
|
|
19
|
-
type: PropType<readonly DataTableItem
|
|
19
|
+
type: PropType<readonly DataTableItem[]>;
|
|
20
20
|
default: () => never[];
|
|
21
21
|
} : Omit<{
|
|
22
|
-
type: PropType<readonly DataTableItem
|
|
22
|
+
type: PropType<readonly DataTableItem[]>;
|
|
23
23
|
default: () => never[];
|
|
24
|
-
}, "
|
|
24
|
+
}, "type" | "default"> & {
|
|
25
25
|
type: PropType<unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"]>;
|
|
26
26
|
default: unknown extends Defaults["items"] ? readonly DataTableItem<any>[] : readonly DataTableItem<any>[] | Defaults["items"];
|
|
27
27
|
};
|
|
@@ -43,7 +43,7 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
|
|
|
43
43
|
} : Omit<{
|
|
44
44
|
type: StringConstructor;
|
|
45
45
|
default: string;
|
|
46
|
-
}, "
|
|
46
|
+
}, "type" | "default"> & {
|
|
47
47
|
type: PropType<unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"]>;
|
|
48
48
|
default: unknown extends Defaults["noDataText"] ? string : string | Defaults["noDataText"];
|
|
49
49
|
};
|
|
@@ -78,7 +78,7 @@ export declare const pressYDataTableBodyProps: <Defaults extends {
|
|
|
78
78
|
};
|
|
79
79
|
export declare const YDataTableBody: import('vue').DefineComponent<{
|
|
80
80
|
items: {
|
|
81
|
-
type: PropType<readonly DataTableItem
|
|
81
|
+
type: PropType<readonly DataTableItem[]>;
|
|
82
82
|
default: () => never[];
|
|
83
83
|
};
|
|
84
84
|
loading: (BooleanConstructor | StringConstructor)[];
|
|
@@ -95,7 +95,5 @@ export declare const YDataTableBody: import('vue').DefineComponent<{
|
|
|
95
95
|
'onContextmenu:row': PropType<(e: Event, value: any) => void>;
|
|
96
96
|
'onMousedown:row': PropType<(e: Event, value: any) => void>;
|
|
97
97
|
'onKeydown:row': PropType<(e: Event, value: any) => void>;
|
|
98
|
-
}, {
|
|
99
|
-
rowRefs: import('vue').Ref<any[], any[]>;
|
|
100
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row")[], "click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row">;
|
|
98
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row")[], "click:row" | "dblclick:row" | "contextmenu:row" | "mousedown:row">;
|
|
101
99
|
export type YDataTableBody = InstanceType<typeof YDataTableBody>;
|
|
@@ -3,7 +3,7 @@ import { FixedPropType } from './types';
|
|
|
3
3
|
|
|
4
4
|
export declare const YDataTableCell: import('vue').DefineComponent<{
|
|
5
5
|
type: {
|
|
6
|
-
type: PropType<"
|
|
6
|
+
type: PropType<"head" | "data">;
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
fixed: {
|
|
@@ -25,7 +25,7 @@ export declare const YDataTableCell: import('vue').DefineComponent<{
|
|
|
25
25
|
type: PropType<string | number>;
|
|
26
26
|
};
|
|
27
27
|
align: {
|
|
28
|
-
type: PropType<"start" | "
|
|
28
|
+
type: PropType<"start" | "center" | "end">;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click">;
|
|
@@ -6,24 +6,25 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
6
6
|
pageLength?: unknown;
|
|
7
7
|
setPageSize?: unknown;
|
|
8
8
|
setPage?: unknown;
|
|
9
|
+
paginationProps?: unknown;
|
|
9
10
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
10
11
|
page: unknown extends Defaults["page"] ? {
|
|
11
|
-
type: PropType<
|
|
12
|
+
type: PropType<number | string>;
|
|
12
13
|
default: number;
|
|
13
14
|
} : Omit<{
|
|
14
|
-
type: PropType<
|
|
15
|
+
type: PropType<number | string>;
|
|
15
16
|
default: number;
|
|
16
|
-
}, "
|
|
17
|
+
}, "type" | "default"> & {
|
|
17
18
|
type: PropType<unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"]>;
|
|
18
19
|
default: unknown extends Defaults["page"] ? string | number : NonNullable<string | number> | Defaults["page"];
|
|
19
20
|
};
|
|
20
21
|
pageSize: unknown extends Defaults["pageSize"] ? {
|
|
21
|
-
type: PropType<
|
|
22
|
+
type: PropType<number | string>;
|
|
22
23
|
default: number;
|
|
23
24
|
} : Omit<{
|
|
24
|
-
type: PropType<
|
|
25
|
+
type: PropType<number | string>;
|
|
25
26
|
default: number;
|
|
26
|
-
}, "
|
|
27
|
+
}, "type" | "default"> & {
|
|
27
28
|
type: PropType<unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"]>;
|
|
28
29
|
default: unknown extends Defaults["pageSize"] ? string | number : NonNullable<string | number> | Defaults["pageSize"];
|
|
29
30
|
};
|
|
@@ -39,18 +40,29 @@ export declare const pressYDataTableControlPropsOptions: <Defaults extends {
|
|
|
39
40
|
type: PropType<unknown extends Defaults["setPage"] ? (page: number) => void : ((page: number) => void) | Defaults["setPage"]>;
|
|
40
41
|
default: unknown extends Defaults["setPage"] ? (page: number) => void : ((page: number) => void) | Defaults["setPage"];
|
|
41
42
|
};
|
|
43
|
+
paginationProps: unknown extends Defaults["paginationProps"] ? {
|
|
44
|
+
type: ObjectConstructor;
|
|
45
|
+
} : Omit<{
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
}, "type" | "default"> & {
|
|
48
|
+
type: PropType<unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"]>;
|
|
49
|
+
default: unknown extends Defaults["paginationProps"] ? Record<string, any> : Record<string, any> | Defaults["paginationProps"];
|
|
50
|
+
};
|
|
42
51
|
};
|
|
43
52
|
export declare const YDataTableControl: import('vue').DefineComponent<{
|
|
44
53
|
page: {
|
|
45
|
-
type: PropType<
|
|
54
|
+
type: PropType<number | string>;
|
|
46
55
|
default: number;
|
|
47
56
|
};
|
|
48
57
|
pageSize: {
|
|
49
|
-
type: PropType<
|
|
58
|
+
type: PropType<number | string>;
|
|
50
59
|
default: number;
|
|
51
60
|
};
|
|
52
61
|
pageLength: PropType<number>;
|
|
53
62
|
setPageSize: PropType<(pageSize: number) => void>;
|
|
54
63
|
setPage: PropType<(page: number) => void>;
|
|
64
|
+
paginationProps: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
};
|
|
55
67
|
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
56
68
|
export type YDataTableControl = InstanceType<typeof YDataTableControl>;
|
|
@@ -15,7 +15,7 @@ export declare const pressYDataTableHeadProps: <Defaults extends {
|
|
|
15
15
|
} : Omit<{
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
|
-
}, "
|
|
18
|
+
}, "type" | "default"> & {
|
|
19
19
|
type: import('vue').PropType<unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"]>;
|
|
20
20
|
default: unknown extends Defaults["sortAscIcon"] ? string : string | Defaults["sortAscIcon"];
|
|
21
21
|
};
|
|
@@ -25,7 +25,7 @@ export declare const pressYDataTableHeadProps: <Defaults extends {
|
|
|
25
25
|
} : Omit<{
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: string;
|
|
28
|
-
}, "
|
|
28
|
+
}, "type" | "default"> & {
|
|
29
29
|
type: import('vue').PropType<unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"]>;
|
|
30
30
|
default: unknown extends Defaults["sortDescIcon"] ? string : string | Defaults["sortDescIcon"];
|
|
31
31
|
};
|
|
@@ -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>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type YDataTableLayerRowDefaultSlotProps = {
|
|
4
|
+
item: any;
|
|
5
|
+
width: number | undefined;
|
|
6
|
+
height: number | undefined;
|
|
7
|
+
scrollTop: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const YDataTableLayerRow: import('vue').DefineComponent<{
|
|
10
|
+
layerProps: PropType<any>;
|
|
11
|
+
item: PropType<any>;
|
|
12
|
+
width: {
|
|
13
|
+
type: PropType<number>;
|
|
14
|
+
};
|
|
15
|
+
scrollTop: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
headRect: PropType<DOMRect>;
|
|
20
|
+
classes: PropType<(item: any) => string[] | string>;
|
|
21
|
+
styles: PropType<(item: any, originStyle: any) => any>;
|
|
22
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const YDataTableLayerRows: import('vue').DefineComponent<{
|
|
4
|
+
layerProps: PropType<any>;
|
|
5
|
+
items: PropType<any[]>;
|
|
6
|
+
classes: PropType<(item: any) => string[] | string>;
|
|
7
|
+
styles: PropType<(item: any, originStyle: any) => any>;
|
|
8
|
+
single: PropType<boolean>;
|
|
9
|
+
}, void, {}, {}, {}, 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>;
|