yuyeon 0.3.4-rc.4 → 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 -3976
- 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 +9 -8
- 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.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
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { CSSProperties, Ref } from 'vue';
|
|
2
|
-
import { Rect } from '../../util/rect';
|
|
3
2
|
import { CoordinateState } from './types';
|
|
4
3
|
|
|
5
|
-
export declare function applyLevitation(props: any, state: CoordinateState,
|
|
4
|
+
export declare function applyLevitation(props: any, state: CoordinateState, coordination: Ref<any>, coordinateStyles: Ref<CSSProperties>): {
|
|
6
5
|
updateCoordinate: () => any;
|
|
6
|
+
isFlipped: Ref<boolean[], boolean[]>;
|
|
7
|
+
preferredAnchor: Ref<import('../../util/anchor').ParsedAnchor, import('../../util/anchor').ParsedAnchor>;
|
|
8
|
+
preferredOrigin: Ref<import('../../util/anchor').ParsedAnchor, import('../../util/anchor').ParsedAnchor>;
|
|
7
9
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
|
|
3
3
|
declare const dimensionPropsOptions: {
|
|
4
|
-
minWidth: PropType<
|
|
5
|
-
width: PropType<
|
|
6
|
-
maxWidth: PropType<
|
|
7
|
-
minHeight: PropType<
|
|
8
|
-
height: PropType<
|
|
9
|
-
maxHeight: PropType<
|
|
4
|
+
minWidth: PropType<number | string>;
|
|
5
|
+
width: PropType<number | string>;
|
|
6
|
+
maxWidth: PropType<number | string>;
|
|
7
|
+
minHeight: PropType<number | string>;
|
|
8
|
+
height: PropType<number | string>;
|
|
9
|
+
maxHeight: PropType<number | string>;
|
|
10
10
|
};
|
|
11
11
|
export declare const pressDimensionPropsOptions: <Defaults extends {
|
|
12
12
|
minWidth?: unknown;
|
|
@@ -36,7 +36,7 @@ export interface FormInstance {
|
|
|
36
36
|
isLoading: ComputedRef<boolean>;
|
|
37
37
|
isValidating: Ref<boolean>;
|
|
38
38
|
isValid: Ref<boolean | null>;
|
|
39
|
-
validateOn: Ref<FormProps[
|
|
39
|
+
validateOn: Ref<FormProps["validateOn"]>;
|
|
40
40
|
}
|
|
41
41
|
export declare const YUYEON_FORM_KEY: InjectionKey<FormInstance>;
|
|
42
42
|
export interface FormProps {
|
|
@@ -44,8 +44,8 @@ export interface FormProps {
|
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
loading: boolean;
|
|
46
46
|
modelValue: boolean | null;
|
|
47
|
-
|
|
48
|
-
validateOn: ValidationProps[
|
|
47
|
+
"onUpdate:modelValue": EventProp<[boolean | null]> | undefined;
|
|
48
|
+
validateOn: ValidationProps["validateOn"];
|
|
49
49
|
}
|
|
50
50
|
export declare const pressFormPropsOptions: <Defaults extends {
|
|
51
51
|
readonly?: unknown;
|
|
@@ -77,10 +77,10 @@ export declare const pressFormPropsOptions: <Defaults extends {
|
|
|
77
77
|
default: unknown extends Defaults["modelValue"] ? boolean | null : Defaults["modelValue"] | NonNullable<boolean | null>;
|
|
78
78
|
};
|
|
79
79
|
validateOn: unknown extends Defaults["validateOn"] ? {
|
|
80
|
-
type: PropType<
|
|
80
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
81
81
|
default: string;
|
|
82
82
|
} : Omit<{
|
|
83
|
-
type: PropType<
|
|
83
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
84
84
|
default: string;
|
|
85
85
|
}, "type" | "default"> & {
|
|
86
86
|
type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
|
|
@@ -89,34 +89,26 @@ export declare const pressFormPropsOptions: <Defaults extends {
|
|
|
89
89
|
};
|
|
90
90
|
export declare function createForm(props: FormProps): {
|
|
91
91
|
inputs: Ref<{
|
|
92
|
-
id:
|
|
93
|
-
vnode: VNode
|
|
94
|
-
[key: string]: any;
|
|
95
|
-
}>;
|
|
92
|
+
id: number | string;
|
|
93
|
+
vnode: VNode;
|
|
96
94
|
validate: () => Promise<any[]>;
|
|
97
|
-
isError: boolean |
|
|
95
|
+
isError: boolean | undefined | null;
|
|
98
96
|
errors: any[];
|
|
99
97
|
}[], FormInput[] | {
|
|
100
|
-
id:
|
|
101
|
-
vnode: VNode
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
}>;
|
|
98
|
+
id: number | string;
|
|
99
|
+
vnode: VNode;
|
|
104
100
|
validate: () => Promise<any[]>;
|
|
105
|
-
isError: boolean |
|
|
101
|
+
isError: boolean | undefined | null;
|
|
106
102
|
errors: any[];
|
|
107
103
|
}[]>;
|
|
108
104
|
errors: Ref<{
|
|
109
|
-
id:
|
|
110
|
-
vnode: VNode
|
|
111
|
-
[key: string]: any;
|
|
112
|
-
}>;
|
|
105
|
+
id: number | string;
|
|
106
|
+
vnode: VNode;
|
|
113
107
|
exposed: any;
|
|
114
108
|
errors: any[];
|
|
115
109
|
}[], InputValidationResult[] | {
|
|
116
|
-
id:
|
|
117
|
-
vnode: VNode
|
|
118
|
-
[key: string]: any;
|
|
119
|
-
}>;
|
|
110
|
+
id: number | string;
|
|
111
|
+
vnode: VNode;
|
|
120
112
|
exposed: any;
|
|
121
113
|
errors: any[];
|
|
122
114
|
}[]>;
|
|
@@ -130,10 +122,8 @@ export declare function createForm(props: FormProps): {
|
|
|
130
122
|
validate: () => Promise<{
|
|
131
123
|
valid: boolean;
|
|
132
124
|
errors: {
|
|
133
|
-
id:
|
|
134
|
-
vnode: VNode
|
|
135
|
-
[key: string]: any;
|
|
136
|
-
}>;
|
|
125
|
+
id: number | string;
|
|
126
|
+
vnode: VNode;
|
|
137
127
|
exposed: any;
|
|
138
128
|
errors: any[];
|
|
139
129
|
}[];
|
|
@@ -31,7 +31,7 @@ declare const listItemsPropsOptions: {
|
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
itemChildren: Omit<{
|
|
34
|
-
type: import('vue').PropType<
|
|
34
|
+
type: import('vue').PropType<boolean | string>;
|
|
35
35
|
default: string;
|
|
36
36
|
}, "type" | "default"> & {
|
|
37
37
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
@@ -87,13 +87,13 @@ export declare const pressListItemsPropsOptions: <Defaults extends {
|
|
|
87
87
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
88
88
|
};
|
|
89
89
|
itemChildren: unknown extends Defaults["itemChildren"] ? Omit<{
|
|
90
|
-
type: import('vue').PropType<
|
|
90
|
+
type: import('vue').PropType<boolean | string>;
|
|
91
91
|
default: string;
|
|
92
92
|
}, "type" | "default"> & {
|
|
93
93
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
94
94
|
default: NonNullable<string | boolean>;
|
|
95
95
|
} : Omit<Omit<{
|
|
96
|
-
type: import('vue').PropType<
|
|
96
|
+
type: import('vue').PropType<boolean | string>;
|
|
97
97
|
default: string;
|
|
98
98
|
}, "type" | "default"> & {
|
|
99
99
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
@@ -5,7 +5,28 @@ export declare const styleColorPropsOptions: {
|
|
|
5
5
|
background: StringConstructor;
|
|
6
6
|
backgroundOpacity: {
|
|
7
7
|
type: NumberConstructor;
|
|
8
|
-
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const pressColorPropsOptions: <Defaults extends {
|
|
11
|
+
color?: unknown;
|
|
12
|
+
background?: unknown;
|
|
13
|
+
backgroundOpacity?: unknown;
|
|
14
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
15
|
+
color: unknown extends Defaults["color"] ? StringConstructor : {
|
|
16
|
+
type: import('vue').PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
17
|
+
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
18
|
+
};
|
|
19
|
+
background: unknown extends Defaults["background"] ? StringConstructor : {
|
|
20
|
+
type: import('vue').PropType<unknown extends Defaults["background"] ? string : string | Defaults["background"]>;
|
|
21
|
+
default: unknown extends Defaults["background"] ? string : string | Defaults["background"];
|
|
22
|
+
};
|
|
23
|
+
backgroundOpacity: unknown extends Defaults["backgroundOpacity"] ? {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
} : Omit<{
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
}, "type" | "default"> & {
|
|
28
|
+
type: import('vue').PropType<unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"]>;
|
|
29
|
+
default: unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"];
|
|
9
30
|
};
|
|
10
31
|
};
|
|
11
32
|
export declare function useStyleColor(props: ExtractPropTypes<typeof styleColorPropsOptions>, name: string): {
|
|
@@ -43,6 +43,7 @@ export declare function createThemeModule(options: ThemeOptions): {
|
|
|
43
43
|
scheme: Ref<string, string>;
|
|
44
44
|
theme: Ref<[string, string], [string, string]>;
|
|
45
45
|
currentThemeKey: ComputedRef<string>;
|
|
46
|
+
currentThemeColors: ComputedRef<Record<string, string>>;
|
|
46
47
|
themeClasses: ComputedRef<string>;
|
|
47
48
|
computedThemes: ComputedRef<Record<string, import('./types').ThemeDefinition>>;
|
|
48
49
|
computedPalette: ComputedRef<Record<string, string>>;
|
|
@@ -5,25 +5,25 @@ export declare const pressPolyTransitionPropsOptions: <Defaults extends {
|
|
|
5
5
|
} = {}>(defaults?: Defaults | undefined) => {
|
|
6
6
|
transition: unknown extends Defaults["transition"] ? {
|
|
7
7
|
type: PropType<string | (TransitionProps & {
|
|
8
|
-
is?: Component
|
|
8
|
+
is?: Component;
|
|
9
9
|
})>;
|
|
10
10
|
default: string;
|
|
11
11
|
} : Omit<{
|
|
12
12
|
type: PropType<string | (TransitionProps & {
|
|
13
|
-
is?: Component
|
|
13
|
+
is?: Component;
|
|
14
14
|
})>;
|
|
15
15
|
default: string;
|
|
16
16
|
}, "type" | "default"> & {
|
|
17
17
|
type: PropType<unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
18
|
-
is?: Component
|
|
19
|
-
}) : NonNullable<string | (TransitionProps & {
|
|
20
|
-
is?: Component
|
|
21
|
-
})
|
|
18
|
+
is?: Component;
|
|
19
|
+
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
20
|
+
is?: Component;
|
|
21
|
+
})>>;
|
|
22
22
|
default: unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
23
|
-
is?: Component
|
|
24
|
-
}) : NonNullable<string | (TransitionProps & {
|
|
25
|
-
is?: Component
|
|
26
|
-
})
|
|
23
|
+
is?: Component;
|
|
24
|
+
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
25
|
+
is?: Component;
|
|
26
|
+
})>;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare function usePolyTransition(props: {
|
|
@@ -22,10 +22,10 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
22
22
|
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
23
23
|
};
|
|
24
24
|
status: unknown extends Defaults["status"] ? {
|
|
25
|
-
type: PropType<"
|
|
25
|
+
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
26
26
|
validator(value: string): boolean;
|
|
27
27
|
} : Omit<{
|
|
28
|
-
type: PropType<"
|
|
28
|
+
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
29
29
|
validator(value: string): boolean;
|
|
30
30
|
}, "type" | "default"> & {
|
|
31
31
|
type: PropType<unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>>;
|
|
@@ -40,9 +40,9 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
40
40
|
default: unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>;
|
|
41
41
|
};
|
|
42
42
|
validateOn: unknown extends Defaults["validateOn"] ? {
|
|
43
|
-
type: PropType<
|
|
43
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
44
44
|
} : Omit<{
|
|
45
|
-
type: PropType<
|
|
45
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
46
46
|
}, "type" | "default"> & {
|
|
47
47
|
type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
|
|
48
48
|
default: unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"];
|
|
@@ -52,10 +52,10 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
52
52
|
default: unknown extends Defaults["validationValue"] ? any : any;
|
|
53
53
|
};
|
|
54
54
|
maxErrors: unknown extends Defaults["maxErrors"] ? {
|
|
55
|
-
type: PropType<
|
|
55
|
+
type: PropType<number | string>;
|
|
56
56
|
default: number;
|
|
57
57
|
} : Omit<{
|
|
58
|
-
type: PropType<
|
|
58
|
+
type: PropType<number | string>;
|
|
59
59
|
default: number;
|
|
60
60
|
}, "type" | "default"> & {
|
|
61
61
|
type: PropType<unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>>;
|
|
@@ -26,9 +26,9 @@ export declare const pressVueRouterPropsOptions: <Defaults extends {
|
|
|
26
26
|
type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
27
27
|
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
28
28
|
};
|
|
29
|
-
to: unknown extends Defaults["to"] ? PropType<
|
|
30
|
-
type: PropType<unknown extends Defaults["to"] ?
|
|
31
|
-
default: unknown extends Defaults["to"] ?
|
|
29
|
+
to: unknown extends Defaults["to"] ? PropType<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric> : {
|
|
30
|
+
type: PropType<unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>>;
|
|
31
|
+
default: unknown extends Defaults["to"] ? string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric : Defaults["to"] | NonNullable<string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric>;
|
|
32
32
|
};
|
|
33
33
|
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
34
34
|
type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module '*.scss';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DirectiveBinding } from 'vue';
|
|
1
|
+
import { Directive, DirectiveBinding } from 'vue';
|
|
2
2
|
|
|
3
3
|
export interface PlateWaveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
4
4
|
value?: boolean;
|
|
@@ -11,4 +11,10 @@ export declare const PlateWave: {
|
|
|
11
11
|
updated(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
12
12
|
unmount(el: HTMLElement): void;
|
|
13
13
|
};
|
|
14
|
+
export type PlateWaveDirective = Directive<HTMLElement, boolean>;
|
|
15
|
+
declare module 'vue' {
|
|
16
|
+
interface ComponentCustomProperties {
|
|
17
|
+
vPlateWave: PlateWaveDirective;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
14
20
|
export default PlateWave;
|
package/types/globals.d.ts
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare global {
|
|
5
|
-
namespace JSX {
|
|
6
|
-
interface Element extends VNode {}
|
|
7
|
-
|
|
8
|
-
interface IntrinsicAttributes {
|
|
9
|
-
[name: string]: any
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
declare module '
|
|
15
|
-
export interface ComponentCustomProperties {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
namespace JSX {
|
|
6
|
+
interface Element extends VNode {}
|
|
7
|
+
|
|
8
|
+
interface IntrinsicAttributes {
|
|
9
|
+
[name: string]: any;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module 'vue' {
|
|
15
|
+
export interface ComponentCustomProperties {}
|
|
16
|
+
|
|
17
|
+
export interface ComponentInternalInstance {
|
|
18
|
+
provides: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/types/shims.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable,
|
|
1
|
+
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableServer, YDateCalendar, YDatePicker, YDividePanel, YDivider, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YImg, YInput, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextarea, YTextEllipsis, YTextHighlighter, YTi, YTooltip, YTreeView } from 'yuyeon/components';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
declare module
|
|
4
|
+
declare module "vue" {
|
|
5
5
|
export interface GlobalComponents {
|
|
6
6
|
// @define-components
|
|
7
7
|
YApp: typeof YApp;
|
|
@@ -54,6 +54,12 @@ declare module '@vue/runtime-core' {
|
|
|
54
54
|
YTi: typeof YTi;
|
|
55
55
|
YTextHighlighter: typeof YTextHighlighter;
|
|
56
56
|
YProgressRing: typeof YProgressRing;
|
|
57
|
-
YTextEllipsis: typeof YTextEllipsis
|
|
57
|
+
YTextEllipsis: typeof YTextEllipsis;
|
|
58
|
+
YImg: typeof YImg;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface GlobalDirectives {
|
|
62
|
+
vPlateWave: (import("yuyeon/directives"))["PlateWave"];
|
|
63
|
+
vComplementClick: (import("yuyeon/directives"))["ComplementClick"];
|
|
58
64
|
}
|
|
59
65
|
}
|
package/types/types/index.d.ts
CHANGED
package/types/util/anchor.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type ParsedAnchor = {
|
|
|
15
15
|
};
|
|
16
16
|
/** Parse a raw anchor string into an object */
|
|
17
17
|
export declare function parseAnchor(anchor: Anchor, isRtl: boolean): ParsedAnchor;
|
|
18
|
-
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "
|
|
18
|
+
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "bottom" | "left" | "right" | "top" | "center";
|
|
19
19
|
export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
|
|
20
20
|
export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
|
|
21
21
|
export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
|
package/types/util/common.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** biome-ignore-all lint/suspicious/useIterableCallbackReturn: <explanation> */
|
|
1
2
|
export declare function hasOwnProperty(object: any, property: string): boolean;
|
|
2
3
|
export declare function getNestedValue(obj: any, path: (string | number)[], fallback?: any): any;
|
|
3
4
|
export declare function mergeDeep(source?: Record<string, any>, overwrite?: Record<string, any>, arrayFn?: (source: unknown[], overwrite: unknown[]) => unknown[]): {
|
|
@@ -12,3 +13,5 @@ export declare function deepEqual(a: any, b: any): boolean;
|
|
|
12
13
|
export declare function isObject(obj: unknown): boolean;
|
|
13
14
|
export declare function isEmpty(target: any): boolean;
|
|
14
15
|
export declare function omit<T extends object, U extends Extract<keyof T, string>>(obj: T, excludes: U[]): Omit<T, U>;
|
|
16
|
+
export declare const noop: () => undefined;
|
|
17
|
+
export declare function makeEventPromiseLike<T extends Event, P = any>(event: T, promise: Promise<P>): T & Promise<P>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentOptionsWithObjectProps } from '@vue/runtime-core';
|
|
1
|
+
import { Component, ComponentInjectOptions, ComponentOptionsMixin, ComponentProvideOptions, ComputedOptions, DefineComponent, Directive, EmitsOptions, MethodOptions, SlotsType, ComponentObjectPropsOptions, ComponentOptionsWithObjectProps, ComponentOptionsWithoutProps, ExtractDefaultPropTypes } from 'vue';
|
|
3
2
|
|
|
4
3
|
declare function redefineComponent<PropsOptions = {}, RawBindings = {}, E extends EmitsOptions = {}, EE extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, InjectOptions extends ComponentInjectOptions = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions>(options: ComponentOptionsWithoutProps<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE, InjectOptions, InjectKeys, Slots>): DefineComponent<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE>;
|
|
5
4
|
declare function redefineComponent<PropsOptions = ComponentObjectPropsOptions, RawBindings = {}, E extends EmitsOptions = {}, EE extends string = string, Data = {}, SetupBindings = {}, Computed extends ComputedOptions = {}, Methods extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, Defaults = ExtractDefaultPropTypes<PropsOptions>, InjectOptions extends {} = {}, InjectKeys extends string = string, Slots extends SlotsType = {}, LocalComponents extends Record<string, Component> = {}, Directives extends Record<string, Directive> = {}, Exposed extends string = string, Provide extends ComponentProvideOptions = ComponentProvideOptions>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE, InjectOptions, InjectKeys, Slots>): DefineComponent<PropsOptions, RawBindings, Data, Computed, Methods, Mixin, Extends, E, EE>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IfAny } from '@vue/shared';
|
|
2
1
|
import { ComponentObjectPropsOptions, ExtractPropTypes, Prop, PropType, VNode } from 'vue';
|
|
2
|
+
import { IfAny } from '@vue/shared';
|
|
3
3
|
|
|
4
4
|
export declare function propsFactory<PropsOptions extends ComponentObjectPropsOptions>(props: PropsOptions, source: string): <Defaults extends PartialKeys<PropsOptions> = {}>(defaults?: Defaults) => OverwrittenPropOptions<PropsOptions, Defaults>;
|
|
5
5
|
export declare function chooseProps<PropsOptions extends ComponentObjectPropsOptions>(props: any, target: PropsOptions): ExtractPropTypes<PropsOptions>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmitsOptions, ObjectEmitsOptions, PropType } from 'vue';
|
|
2
2
|
|
|
3
3
|
export type EventProp<T extends any[] = any[], F = (...args: T) => any> = F | F[];
|
|
4
|
-
export declare const EventPropOption: <T extends any[] = any[]>() => PropType<EventProp<T
|
|
4
|
+
export declare const EventPropOption: <T extends any[] = any[]>() => PropType<EventProp<T>>;
|
|
5
5
|
export type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any[]>;
|
|
6
6
|
export type EmitsToProps<T extends EmitsOptions | ComponentTypeEmits> = T extends string[] ? {
|
|
7
7
|
[K in `on${Capitalize<T[number]>}`]?: (...args: any[]) => any;
|
package/types/util/dom.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export declare function documentRoot(domNode: Node): null | HTMLDocument | ShadowRoot;
|
|
2
2
|
export declare function hasElementMouseEvent(mouseEvent: Event, element: HTMLElement, include?: HTMLElement[]): boolean;
|
|
3
3
|
export declare function isOverflow(el: HTMLElement): boolean;
|
|
4
|
+
export declare const focusableSelectors = "input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
|
|
5
|
+
export declare function getNextTabElement(currentElement: Element): undefined | Element;
|
package/types/util/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './collection';
|
|
1
|
+
export * from './anchor';
|
|
3
2
|
export * from './array';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
3
|
+
export * from './collection';
|
|
4
|
+
export * from './color';
|
|
5
|
+
export * from './common';
|
|
6
|
+
export * from './component';
|
|
7
|
+
export * from './date';
|
|
6
8
|
export * from './debounce';
|
|
7
9
|
export * from './dom';
|
|
8
|
-
export * from './ui';
|
|
9
|
-
export * from './rect';
|
|
10
|
-
export * from './anchor';
|
|
11
|
-
export * from './scroll';
|
|
12
10
|
export * from './frame-scheduler';
|
|
13
|
-
export * from './component';
|
|
14
11
|
export * from './reactivity';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
12
|
+
export * from './rect';
|
|
13
|
+
export * from './scroll';
|
|
14
|
+
export * from './string';
|
|
15
|
+
export * from './ui';
|
|
16
|
+
export * from './validation';
|