yuyeon 0.3.3 → 0.3.4-beta.13
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 +3109 -3082
- 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 +8 -6
- 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 +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 +1 -2
- package/lib/components/table/YDataTableLayerRow.js.map +1 -1
- package/lib/components/table/YDataTableLayerRows.js +1 -2
- 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 +8 -6
- 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 +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/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 +6 -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 +0 -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 +3 -3
- package/types/components/date-picker/YDatePickerControl.d.ts +7 -7
- package/types/components/dialog/YDialog.d.ts +108 -6480
- 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 +87 -87
- package/types/components/field-input/YFieldInput.d.ts +20 -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 +26 -26
- 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 +55 -3240
- package/types/components/layer/scroll-strategies.d.ts +4 -4
- package/types/components/menu/YMenu.d.ts +74 -6446
- package/types/components/pagination/YPagination.d.ts +3 -3
- 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 +178 -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 +33 -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 +18 -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 +54 -99
- 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 +27 -3205
- 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 +0 -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 +58 -52
- package/types/src/abstract/items.d.ts +49 -0
- package/types/src/components/alert/YAlert.d.ts +13 -0
- package/types/src/components/alert/index.d.ts +1 -0
- package/types/src/components/app/YApp.d.ts +8 -0
- package/types/src/components/app/index.d.ts +1 -0
- package/types/src/components/badge/YBadge.d.ts +126 -0
- package/types/src/components/badge/index.d.ts +1 -0
- package/types/src/components/bench/YBench.d.ts +4 -0
- package/types/src/components/bench/index.d.ts +1 -0
- package/types/src/components/button/YButton.d.ts +189 -0
- package/types/src/components/button/index.d.ts +1 -0
- package/types/src/components/card/YCard.d.ts +9 -0
- package/types/src/components/card/YCardBody.d.ts +2 -0
- package/types/src/components/card/YCardFooter.d.ts +2 -0
- package/types/src/components/card/YCardHeader.d.ts +2 -0
- package/types/src/components/card/index.d.ts +4 -0
- package/types/src/components/checkbox/YCheckbox.d.ts +23 -0
- package/types/src/components/checkbox/YInputCheckbox.d.ts +31 -0
- package/types/src/components/checkbox/index.d.ts +4 -0
- package/types/src/components/chip/YChip.d.ts +37 -0
- package/types/src/components/chip/index.d.ts +1 -0
- package/types/src/components/date-picker/YDateCalendar.d.ts +115 -0
- package/types/src/components/date-picker/YDatePicker.d.ts +94 -0
- package/types/src/components/date-picker/YDatePickerControl.d.ts +97 -0
- package/types/src/components/date-picker/YMonthPicker.d.ts +25 -0
- package/types/src/components/date-picker/YYearPicker.d.ts +38 -0
- package/types/src/components/date-picker/index.d.ts +3 -0
- package/types/src/components/default-provider/YDefaultProvider.d.ts +0 -0
- package/types/src/components/default-provider/index.d.ts +0 -0
- package/types/src/components/dialog/YDialog.d.ts +715 -0
- package/types/src/components/dialog/index.d.ts +1 -0
- package/types/src/components/divider/YDivider.d.ts +14 -0
- package/types/src/components/divider/index.d.ts +1 -0
- package/types/src/components/draggable/YDraggable.d.ts +36 -0
- package/types/src/components/draggable/index.d.ts +1 -0
- package/types/src/components/dropdown/YDropdown.d.ts +574 -0
- package/types/src/components/dropdown/index.d.ts +1 -0
- package/types/src/components/field-input/YFieldInput.d.ts +322 -0
- package/types/src/components/field-input/index.d.ts +1 -0
- package/types/src/components/form/YForm.d.ts +20 -0
- package/types/src/components/form/index.d.ts +1 -0
- package/types/src/components/hover/YHover.d.ts +57 -0
- package/types/src/components/hover/index.d.ts +1 -0
- package/types/src/components/icon/YIcon.d.ts +67 -0
- package/types/src/components/icon/index.d.ts +1 -0
- package/types/src/components/icons/YIconCheckbox.d.ts +6 -0
- package/types/src/components/icons/YIconClear.d.ts +1 -0
- package/types/src/components/icons/YIconDropdown.d.ts +1 -0
- package/types/src/components/icons/YIconExpand.d.ts +1 -0
- package/types/src/components/icons/YIconPageControl.d.ts +14 -0
- package/types/src/components/icons/YIconSort.d.ts +10 -0
- package/types/src/components/icons/index.d.ts +51 -0
- package/types/src/components/img/YImg.d.ts +133 -0
- package/types/src/components/img/index.d.ts +0 -0
- package/types/src/components/index.d.ts +38 -0
- package/types/src/components/input/YInput.d.ts +249 -0
- package/types/src/components/input/index.d.ts +1 -0
- package/types/src/components/ip-field/YIpv4Field.d.ts +65 -0
- package/types/src/components/ip-field/index.d.ts +1 -0
- package/types/src/components/layer/YLayer.d.ts +436 -0
- package/types/src/components/layer/active-delay.d.ts +4 -0
- package/types/src/components/layer/active-stack.d.ts +16 -0
- package/types/src/components/layer/base.d.ts +28 -0
- package/types/src/components/layer/content.d.ts +21 -0
- package/types/src/components/layer/index.d.ts +1 -0
- package/types/src/components/layer/scroll-strategies.d.ts +41 -0
- package/types/src/components/list/YList.d.ts +19 -0
- package/types/src/components/list/YListItem.d.ts +42 -0
- package/types/src/components/list/index.d.ts +2 -0
- package/types/src/components/loading/YSpinnerRing.d.ts +3 -0
- package/types/src/components/loading/index.d.ts +1 -0
- package/types/src/components/menu/YMenu.d.ts +517 -0
- package/types/src/components/menu/index.d.ts +1 -0
- package/types/src/components/navigation/YNavigation.d.ts +1 -0
- package/types/src/components/navigation/index.d.ts +1 -0
- package/types/src/components/pagination/YPagination.d.ts +137 -0
- package/types/src/components/pagination/index.d.ts +1 -0
- package/types/src/components/panel/YDividePanel.d.ts +5 -0
- package/types/src/components/panel/index.d.ts +1 -0
- package/types/src/components/plate/YPlate.d.ts +9 -0
- package/types/src/components/plate/index.d.ts +1 -0
- package/types/src/components/progress-bar/YProgressBar.d.ts +38 -0
- package/types/src/components/progress-bar/index.d.ts +1 -0
- package/types/src/components/progress-ring/YProgressRing.d.ts +34 -0
- package/types/src/components/progress-ring/index.d.ts +1 -0
- package/types/src/components/radio/YRadio.d.ts +25 -0
- package/types/src/components/radio/YRadioIcon.d.ts +6 -0
- package/types/src/components/radio/index.d.ts +2 -0
- package/types/src/components/select/YSelect.d.ts +1221 -0
- package/types/src/components/select/index.d.ts +1 -0
- package/types/src/components/slider/YSlider.d.ts +16 -0
- package/types/src/components/slider/index.d.ts +1 -0
- package/types/src/components/slider/slider.d.ts +0 -0
- package/types/src/components/snackbar/YSnackbar.d.ts +452 -0
- package/types/src/components/snackbar/index.d.ts +1 -0
- package/types/src/components/switch/YSwitch.d.ts +137 -0
- package/types/src/components/switch/index.d.ts +1 -0
- package/types/src/components/tab/YTab.d.ts +218 -0
- package/types/src/components/tab/YTabs.d.ts +98 -0
- package/types/src/components/tab/index.d.ts +3 -0
- package/types/src/components/tab/shared.d.ts +4 -0
- package/types/src/components/tab/types.d.ts +5 -0
- package/types/src/components/table/YDataTable.d.ts +459 -0
- package/types/src/components/table/YDataTableBody.d.ts +99 -0
- package/types/src/components/table/YDataTableCell.d.ts +32 -0
- package/types/src/components/table/YDataTableControl.d.ts +68 -0
- package/types/src/components/table/YDataTableHead.d.ts +54 -0
- package/types/src/components/table/YDataTableLayer.d.ts +13 -0
- package/types/src/components/table/YDataTableLayerRow.d.ts +22 -0
- package/types/src/components/table/YDataTableLayerRows.d.ts +9 -0
- package/types/src/components/table/YDataTableRow.d.ts +53 -0
- package/types/src/components/table/YDataTableServer.d.ts +502 -0
- package/types/src/components/table/YTable.d.ts +65 -0
- package/types/src/components/table/composables/expand.d.ts +42 -0
- package/types/src/components/table/composables/header.d.ts +175 -0
- package/types/src/components/table/composables/items.d.ts +55 -0
- package/types/src/components/table/composables/measure.d.ts +8 -0
- package/types/src/components/table/composables/options.d.ts +11 -0
- package/types/src/components/table/composables/pagination.d.ts +81 -0
- package/types/src/components/table/composables/provides.d.ts +15 -0
- package/types/src/components/table/composables/selection.d.ts +82 -0
- package/types/src/components/table/composables/sorted-items.d.ts +7 -0
- package/types/src/components/table/composables/sorting.d.ts +56 -0
- package/types/src/components/table/index.d.ts +10 -0
- package/types/src/components/table/types/common.d.ts +2 -0
- package/types/src/components/table/types/header.d.ts +25 -0
- package/types/src/components/table/types/index.d.ts +59 -0
- package/types/src/components/table/types/item.d.ts +23 -0
- package/types/src/components/table/types/row.d.ts +4 -0
- package/types/src/components/text-ellipsis/YTextEllipsis.d.ts +11 -0
- package/types/src/components/text-ellipsis/index.d.ts +1 -0
- package/types/src/components/text-highlighter/YTextHighlighter.d.ts +26 -0
- package/types/src/components/text-highlighter/index.d.ts +1 -0
- package/types/src/components/text-interpolation/YTi.d.ts +11 -0
- package/types/src/components/text-interpolation/index.d.ts +1 -0
- package/types/src/components/textarea/YTextarea.d.ts +583 -0
- package/types/src/components/textarea/index.d.ts +1 -0
- package/types/src/components/toggle-button/YToggleButton.d.ts +4 -0
- package/types/src/components/toggle-button/index.d.ts +1 -0
- package/types/src/components/tooltip/YTooltip.d.ts +502 -0
- package/types/src/components/tooltip/index.d.ts +1 -0
- package/types/src/components/transitions/expand-transition.d.ts +20 -0
- package/types/src/components/transitions/index.d.ts +38 -0
- package/types/src/components/tree-view/YTreeView.d.ts +172 -0
- package/types/src/components/tree-view/YTreeViewNode.d.ts +176 -0
- package/types/src/components/tree-view/index.d.ts +2 -0
- package/types/src/components/tree-view/tree-view.d.ts +51 -0
- package/types/src/components/tree-view/types.d.ts +17 -0
- package/types/src/components/tree-view/util.d.ts +6 -0
- package/types/src/composables/choice-link.d.ts +3 -0
- package/types/src/composables/choice.d.ts +113 -0
- package/types/src/composables/communication.d.ts +8 -0
- package/types/src/composables/component.d.ts +3 -0
- package/types/src/composables/coordinate/arrangement.d.ts +7 -0
- package/types/src/composables/coordinate/index.d.ts +87 -0
- package/types/src/composables/coordinate/levitation.d.ts +7 -0
- package/types/src/composables/coordinate/types.d.ts +7 -0
- package/types/src/composables/coordinate/utils/point.d.ts +22 -0
- package/types/src/composables/date/factory.d.ts +3 -0
- package/types/src/composables/date/index.d.ts +12 -0
- package/types/src/composables/date/setting.d.ts +5 -0
- package/types/src/composables/date/types.d.ts +13 -0
- package/types/src/composables/defaults/index.d.ts +11 -0
- package/types/src/composables/defaults/share.d.ts +4 -0
- package/types/src/composables/defaults/types.d.ts +12 -0
- package/types/src/composables/dimension.d.ts +54 -0
- package/types/src/composables/focus.d.ts +30 -0
- package/types/src/composables/form.d.ts +132 -0
- package/types/src/composables/i18n/index.d.ts +9 -0
- package/types/src/composables/i18n/locale.d.ts +3 -0
- package/types/src/composables/i18n/rtl.d.ts +21 -0
- package/types/src/composables/i18n/share.d.ts +1 -0
- package/types/src/composables/icon.d.ts +79 -0
- package/types/src/composables/index.d.ts +10 -0
- package/types/src/composables/layer-group.d.ts +10 -0
- package/types/src/composables/layout.d.ts +10 -0
- package/types/src/composables/list-items.d.ts +113 -0
- package/types/src/composables/progress.d.ts +4 -0
- package/types/src/composables/ref.d.ts +6 -0
- package/types/src/composables/resize-observer.d.ts +24 -0
- package/types/src/composables/scope.d.ts +3 -0
- package/types/src/composables/style-color.d.ts +14 -0
- package/types/src/composables/theme/factory.d.ts +4 -0
- package/types/src/composables/theme/helper.d.ts +3 -0
- package/types/src/composables/theme/index.d.ts +57 -0
- package/types/src/composables/theme/setting.d.ts +11 -0
- package/types/src/composables/theme/types.d.ts +29 -0
- package/types/src/composables/timing.d.ts +20 -0
- package/types/src/composables/transition.d.ts +40 -0
- package/types/src/composables/validation.d.ts +82 -0
- package/types/src/composables/vue-router.d.ts +43 -0
- package/types/src/declares.d.ts +1 -0
- package/types/src/directives/complement-click/index.d.ts +26 -0
- package/types/src/directives/index.d.ts +2 -0
- package/types/src/directives/plate-wave/index.d.ts +20 -0
- package/types/src/directives/theme-class/index.d.ts +4 -0
- package/types/src/etc/index.d.ts +1 -0
- package/types/src/globals.d.ts +20 -0
- package/types/src/i18n/built-in.d.ts +3 -0
- package/types/src/i18n/config.d.ts +81 -0
- package/types/src/i18n/types.d.ts +20 -0
- package/types/src/index.d.ts +13 -0
- package/types/src/locales/en.d.ts +6 -0
- package/types/src/locales/index.d.ts +2 -0
- package/types/src/locales/ko.d.ts +6 -0
- package/types/src/mixins/di.d.ts +2 -0
- package/types/src/mixins/rebind-attrs.d.ts +5 -0
- package/types/src/shims.d.ts +64 -0
- package/types/src/types/index.d.ts +9 -0
- package/types/src/util/anchor.d.ts +23 -0
- package/types/src/util/array.d.ts +2 -0
- package/types/src/util/collection.d.ts +1 -0
- package/types/src/util/color/apca.d.ts +29 -0
- package/types/src/util/color/const.d.ts +5 -0
- package/types/src/util/color/contrast/contrast.d.ts +74 -0
- package/types/src/util/color/conversion.d.ts +131 -0
- package/types/src/util/color/hct/cam16.d.ts +116 -0
- package/types/src/util/color/hct/hct-solver.d.ts +131 -0
- package/types/src/util/color/hct/hct.d.ts +71 -0
- package/types/src/util/color/hct/viewing-conditions.d.ts +58 -0
- package/types/src/util/color/index.d.ts +5 -0
- package/types/src/util/color/palettes/core-palette.d.ts +44 -0
- package/types/src/util/color/palettes/tonal-palette.d.ts +40 -0
- package/types/src/util/color/types.d.ts +14 -0
- package/types/src/util/color/utils/math-utils.d.ts +82 -0
- package/types/src/util/common.d.ts +17 -0
- package/types/src/util/component/component.d.ts +5 -0
- package/types/src/util/component/index.d.ts +11 -0
- package/types/src/util/component/inject-self.d.ts +3 -0
- package/types/src/util/component/props.d.ts +32 -0
- package/types/src/util/component/types.d.ts +21 -0
- package/types/src/util/date/adapters/yuyeon-date-adapter.d.ts +43 -0
- package/types/src/util/date/built-in.d.ts +41 -0
- package/types/src/util/date/index.d.ts +3 -0
- package/types/src/util/date/types.d.ts +167 -0
- package/types/src/util/debounce.d.ts +11 -0
- package/types/src/util/dom.d.ts +5 -0
- package/types/src/util/environments.d.ts +6 -0
- package/types/src/util/frame-scheduler.d.ts +7 -0
- package/types/src/util/index.d.ts +16 -0
- package/types/src/util/reactivity.d.ts +7 -0
- package/types/src/util/rect.d.ts +36 -0
- package/types/src/util/scroll.d.ts +3 -0
- package/types/src/util/string.d.ts +9 -0
- package/types/src/util/ui.d.ts +4 -0
- package/types/src/util/validation.d.ts +3 -0
- 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
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { App, ComputedRef, PropType, Ref } from 'vue';
|
|
2
|
+
import { ThemeScheme } from './setting';
|
|
3
|
+
import { ThemeOptions } from './types';
|
|
4
|
+
|
|
5
|
+
export type { ThemeOptions };
|
|
6
|
+
export declare const Y_THEME_PREFIX = "y-theme";
|
|
7
|
+
export interface ThemeModuleInstance {
|
|
8
|
+
scheme: Ref<keyof typeof ThemeScheme | 'auto'>;
|
|
9
|
+
theme: Ref<[string, string?]>;
|
|
10
|
+
readonly themes: any;
|
|
11
|
+
readonly global: {
|
|
12
|
+
scheme: Ref<keyof typeof ThemeScheme | 'auto'>;
|
|
13
|
+
theme: Ref<[string, string?]>;
|
|
14
|
+
};
|
|
15
|
+
readonly currentThemeKey: Readonly<ComputedRef<string>>;
|
|
16
|
+
readonly themeClasses: Readonly<ComputedRef<string | undefined>>;
|
|
17
|
+
readonly computedThemes: Readonly<ComputedRef<any>>;
|
|
18
|
+
readonly computedPalette: Readonly<ComputedRef<any>>;
|
|
19
|
+
readonly supportedAutoMode: Readonly<Ref<boolean>>;
|
|
20
|
+
readonly preferColorScheme: Readonly<Ref<'light' | 'dark'>>;
|
|
21
|
+
}
|
|
22
|
+
export declare const YUYEON_THEME_KEY: unique symbol;
|
|
23
|
+
export declare const pressThemePropsOptions: <Defaults extends {
|
|
24
|
+
theme?: unknown;
|
|
25
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
26
|
+
theme: unknown extends Defaults["theme"] ? PropType<string> : {
|
|
27
|
+
type: PropType<unknown extends Defaults["theme"] ? string : string | Defaults["theme"]>;
|
|
28
|
+
default: unknown extends Defaults["theme"] ? string : string | Defaults["theme"];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare function isDarkMode(): boolean;
|
|
32
|
+
export declare function isSupportAutoScheme(): boolean;
|
|
33
|
+
export declare function createThemeModule(options: ThemeOptions): {
|
|
34
|
+
install: (app: App) => void;
|
|
35
|
+
init: (yuyeon: any) => void;
|
|
36
|
+
scope: import('vue').EffectScope;
|
|
37
|
+
instance: {
|
|
38
|
+
global: {
|
|
39
|
+
scheme: Ref<string, string>;
|
|
40
|
+
theme: Ref<[string, string], [string, string]>;
|
|
41
|
+
};
|
|
42
|
+
themes: Ref<any, any>;
|
|
43
|
+
scheme: Ref<string, string>;
|
|
44
|
+
theme: Ref<[string, string], [string, string]>;
|
|
45
|
+
currentThemeKey: ComputedRef<string>;
|
|
46
|
+
currentThemeColors: ComputedRef<Record<string, string>>;
|
|
47
|
+
themeClasses: ComputedRef<string>;
|
|
48
|
+
computedThemes: ComputedRef<Record<string, import('./types').ThemeDefinition>>;
|
|
49
|
+
computedPalette: ComputedRef<Record<string, string>>;
|
|
50
|
+
supportedAutoMode: Readonly<Ref<boolean, boolean>>;
|
|
51
|
+
preferColorScheme: Readonly<Ref<string, string>>;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export declare function useLocalTheme(props: {
|
|
55
|
+
theme?: string;
|
|
56
|
+
}): ThemeModuleInstance;
|
|
57
|
+
export declare function useTheme(): ThemeModuleInstance;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaletteOption, ThemeOptions } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const ThemeScheme: {
|
|
4
|
+
readonly light: "light";
|
|
5
|
+
readonly dark: "dark";
|
|
6
|
+
};
|
|
7
|
+
export declare const schemes: readonly ["light", "dark", "auto"];
|
|
8
|
+
export declare const defaultTonalLuminance: number[];
|
|
9
|
+
export declare const defaultPalette: PaletteOption;
|
|
10
|
+
export declare const defaultThemesValues: any;
|
|
11
|
+
export declare function configureOptions(options?: ThemeOptions): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ThemeOptions {
|
|
2
|
+
scheme: 'light' | 'dark' | 'auto';
|
|
3
|
+
theme: [string, string?];
|
|
4
|
+
themes: Record<string, ThemeDefinition>;
|
|
5
|
+
palette?: PaletteOption;
|
|
6
|
+
cspNonce?: string;
|
|
7
|
+
separation?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface PaletteOption {
|
|
10
|
+
scaleMethod: 'manual' | 'luma' | 'tonal';
|
|
11
|
+
colors: Record<string, string | PaletteLevelColorOption | PaletteLumaColorOption>;
|
|
12
|
+
defaultLamaScale?: {
|
|
13
|
+
darken?: 0 | 1 | 2 | 3 | 4;
|
|
14
|
+
lighten?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
type ScaleLevel = number;
|
|
18
|
+
export type PaletteLevelColorOption = Record<ScaleLevel, string>;
|
|
19
|
+
export type PaletteLumaColorOption = {
|
|
20
|
+
value: string;
|
|
21
|
+
darken?: 0 | 1 | 2 | 3 | 4;
|
|
22
|
+
lighten?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
23
|
+
};
|
|
24
|
+
export interface ThemeDefinition {
|
|
25
|
+
isDark: boolean;
|
|
26
|
+
colors: Record<string, string>;
|
|
27
|
+
variables: Record<string, string>;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MaybeRef, Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare function useLazy(eager: Ref<boolean | undefined>, updated: Ref<any>): {
|
|
4
|
+
entered: Ref<boolean, boolean>;
|
|
5
|
+
lazyValue: import('vue').ComputedRef<any>;
|
|
6
|
+
onAfterUpdate: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare function useTimer(cb: () => void, duration: MaybeRef<number>, options?: {
|
|
9
|
+
tickDuration: number;
|
|
10
|
+
}): {
|
|
11
|
+
start: () => void;
|
|
12
|
+
stop: () => void;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
drift: Ref<number, number>;
|
|
15
|
+
isWork: Ref<boolean, boolean>;
|
|
16
|
+
};
|
|
17
|
+
export declare function useDelay(props: any, callback?: (active: boolean) => void): {
|
|
18
|
+
startOpenDelay: () => Promise<boolean>;
|
|
19
|
+
startCloseDelay: () => Promise<boolean>;
|
|
20
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Component, FunctionalComponent, PropType, TransitionProps } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const pressPolyTransitionPropsOptions: <Defaults extends {
|
|
4
|
+
transition?: unknown;
|
|
5
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
6
|
+
transition: unknown extends Defaults["transition"] ? {
|
|
7
|
+
type: PropType<string | (TransitionProps & {
|
|
8
|
+
is?: Component;
|
|
9
|
+
})>;
|
|
10
|
+
default: string;
|
|
11
|
+
} : Omit<{
|
|
12
|
+
type: PropType<string | (TransitionProps & {
|
|
13
|
+
is?: Component;
|
|
14
|
+
})>;
|
|
15
|
+
default: string;
|
|
16
|
+
}, "type" | "default"> & {
|
|
17
|
+
type: PropType<unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
18
|
+
is?: Component;
|
|
19
|
+
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
20
|
+
is?: Component;
|
|
21
|
+
})>>;
|
|
22
|
+
default: unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
23
|
+
is?: Component;
|
|
24
|
+
}) : Defaults["transition"] | NonNullable<string | (TransitionProps & {
|
|
25
|
+
is?: Component;
|
|
26
|
+
})>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare function usePolyTransition(props: {
|
|
30
|
+
transition: any;
|
|
31
|
+
}): {
|
|
32
|
+
polyTransitionBindProps: import('vue').ComputedRef<{
|
|
33
|
+
is: any;
|
|
34
|
+
transitionProps: any;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
export declare const PolyTransition: FunctionalComponent<TransitionProps & {
|
|
38
|
+
is: string | Component;
|
|
39
|
+
transitionProps: TransitionProps;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface ValidationProps {
|
|
4
|
+
validateOn: 'input' | 'blur' | 'lazy' | 'submit' | string;
|
|
5
|
+
}
|
|
6
|
+
export declare const pressValidationPropsOptions: <Defaults extends {
|
|
7
|
+
readonly?: unknown;
|
|
8
|
+
disabled?: unknown;
|
|
9
|
+
status?: unknown;
|
|
10
|
+
helperText?: unknown;
|
|
11
|
+
validators?: unknown;
|
|
12
|
+
validateOn?: unknown;
|
|
13
|
+
validationValue?: unknown;
|
|
14
|
+
maxErrors?: unknown;
|
|
15
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
16
|
+
readonly: unknown extends Defaults["readonly"] ? PropType<boolean> : {
|
|
17
|
+
type: PropType<unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"]>;
|
|
18
|
+
default: unknown extends Defaults["readonly"] ? boolean : boolean | Defaults["readonly"];
|
|
19
|
+
};
|
|
20
|
+
disabled: unknown extends Defaults["disabled"] ? PropType<boolean> : {
|
|
21
|
+
type: PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
|
|
22
|
+
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
23
|
+
};
|
|
24
|
+
status: unknown extends Defaults["status"] ? {
|
|
25
|
+
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
26
|
+
validator(value: string): boolean;
|
|
27
|
+
} : Omit<{
|
|
28
|
+
type: PropType<"success" | "warning" | "error" | undefined>;
|
|
29
|
+
validator(value: string): boolean;
|
|
30
|
+
}, "type" | "default"> & {
|
|
31
|
+
type: PropType<unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>>;
|
|
32
|
+
default: unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>;
|
|
33
|
+
};
|
|
34
|
+
helperText: unknown extends Defaults["helperText"] ? StringConstructor : {
|
|
35
|
+
type: PropType<unknown extends Defaults["helperText"] ? string : string | Defaults["helperText"]>;
|
|
36
|
+
default: unknown extends Defaults["helperText"] ? string : string | Defaults["helperText"];
|
|
37
|
+
};
|
|
38
|
+
validators: unknown extends Defaults["validators"] ? PropType<string[] | ((v: any) => boolean | string)[]> : {
|
|
39
|
+
type: PropType<unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>>;
|
|
40
|
+
default: unknown extends Defaults["validators"] ? string[] | ((v: any) => boolean | string)[] : Defaults["validators"] | NonNullable<string[] | ((v: any) => boolean | string)[]>;
|
|
41
|
+
};
|
|
42
|
+
validateOn: unknown extends Defaults["validateOn"] ? {
|
|
43
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
44
|
+
} : Omit<{
|
|
45
|
+
type: PropType<ValidationProps["validateOn"]>;
|
|
46
|
+
}, "type" | "default"> & {
|
|
47
|
+
type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
|
|
48
|
+
default: unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"];
|
|
49
|
+
};
|
|
50
|
+
validationValue: unknown extends Defaults["validationValue"] ? null : {
|
|
51
|
+
type: PropType<unknown extends Defaults["validationValue"] ? any : any>;
|
|
52
|
+
default: unknown extends Defaults["validationValue"] ? any : any;
|
|
53
|
+
};
|
|
54
|
+
maxErrors: unknown extends Defaults["maxErrors"] ? {
|
|
55
|
+
type: PropType<number | string>;
|
|
56
|
+
default: number;
|
|
57
|
+
} : Omit<{
|
|
58
|
+
type: PropType<number | string>;
|
|
59
|
+
default: number;
|
|
60
|
+
}, "type" | "default"> & {
|
|
61
|
+
type: PropType<unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>>;
|
|
62
|
+
default: unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export declare function useValidation(props: any, name: string, uid?: number | undefined): {
|
|
66
|
+
invokeValidators: () => Promise<any[]>;
|
|
67
|
+
resetError: () => void;
|
|
68
|
+
validating: import('vue').Ref<boolean, boolean>;
|
|
69
|
+
validateOn: import('vue').ComputedRef<{
|
|
70
|
+
blur: boolean;
|
|
71
|
+
input: boolean;
|
|
72
|
+
lazy: boolean;
|
|
73
|
+
submit: boolean;
|
|
74
|
+
}>;
|
|
75
|
+
errorResult: import('vue').Ref<any, any>;
|
|
76
|
+
errors: import('vue').Ref<any[], any[]>;
|
|
77
|
+
isReadonly: import('vue').ComputedRef<any>;
|
|
78
|
+
isDisabled: import('vue').ComputedRef<any>;
|
|
79
|
+
isLoading: import('vue').ComputedRef<any>;
|
|
80
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
81
|
+
isSuccess: import('vue').ComputedRef<boolean>;
|
|
82
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ComputedRef, PropType, Ref, SetupContext } from 'vue';
|
|
2
|
+
import { RouteLocationRaw, useLink as _useLink } from 'vue-router';
|
|
3
|
+
import { EventProp } from '../util/component';
|
|
4
|
+
|
|
5
|
+
export interface LinkProps {
|
|
6
|
+
href: string | undefined;
|
|
7
|
+
replace: boolean | undefined;
|
|
8
|
+
to: RouteLocationRaw | undefined;
|
|
9
|
+
exact: boolean | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface LinkListeners {
|
|
12
|
+
onClick?: EventProp | undefined;
|
|
13
|
+
onClickOnce?: EventProp | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare const pressVueRouterPropsOptions: <Defaults extends {
|
|
16
|
+
href?: unknown;
|
|
17
|
+
replace?: unknown;
|
|
18
|
+
to?: unknown;
|
|
19
|
+
exact?: unknown;
|
|
20
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
21
|
+
href: unknown extends Defaults["href"] ? StringConstructor : {
|
|
22
|
+
type: PropType<unknown extends Defaults["href"] ? string : string | Defaults["href"]>;
|
|
23
|
+
default: unknown extends Defaults["href"] ? string : string | Defaults["href"];
|
|
24
|
+
};
|
|
25
|
+
replace: unknown extends Defaults["replace"] ? BooleanConstructor : {
|
|
26
|
+
type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
27
|
+
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
28
|
+
};
|
|
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
|
+
};
|
|
33
|
+
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
34
|
+
type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
35
|
+
default: unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export interface UseLink extends Omit<Partial<ReturnType<typeof _useLink>>, 'href'> {
|
|
39
|
+
isLink: ComputedRef<boolean>;
|
|
40
|
+
isClickable: ComputedRef<boolean>;
|
|
41
|
+
href: Ref<string | undefined>;
|
|
42
|
+
}
|
|
43
|
+
export declare function useLink(props: LinkProps & LinkListeners, attrs: SetupContext['attrs']): UseLink;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module '*.scss';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DirectiveBinding } from 'vue';
|
|
2
|
+
|
|
3
|
+
interface ComplementClickDirectiveElementImplanted {
|
|
4
|
+
onClick: EventListener;
|
|
5
|
+
onMousedown: EventListener;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface Element {
|
|
9
|
+
_complementClick?: Record<number, ComplementClickDirectiveElementImplanted | undefined> & {
|
|
10
|
+
lastMousedownWasOutside: boolean;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface ComplementClickBindingOptions {
|
|
15
|
+
handler: (mouseEvent: MouseEvent) => void;
|
|
16
|
+
determine?: (event: Event) => boolean;
|
|
17
|
+
include?: () => (HTMLElement | undefined)[];
|
|
18
|
+
}
|
|
19
|
+
export interface ComplementClickBinding extends DirectiveBinding {
|
|
20
|
+
value: ((mouseEvent: MouseEvent) => void) | ComplementClickBindingOptions;
|
|
21
|
+
}
|
|
22
|
+
export declare const ComplementClick: {
|
|
23
|
+
mounted(element: HTMLElement, binding: ComplementClickBinding): void;
|
|
24
|
+
unmounted(element: HTMLElement, binding: ComplementClickBinding): void;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Directive, DirectiveBinding } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface PlateWaveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
4
|
+
value?: boolean;
|
|
5
|
+
modifiers: {
|
|
6
|
+
stop?: boolean;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare const PlateWave: {
|
|
10
|
+
mounted(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
11
|
+
updated(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
12
|
+
unmount(el: HTMLElement): void;
|
|
13
|
+
};
|
|
14
|
+
export type PlateWaveDirective = Directive<HTMLElement, PlateWaveBinding>;
|
|
15
|
+
declare module 'vue' {
|
|
16
|
+
interface ComponentCustomProperties {
|
|
17
|
+
vPlateWave: PlateWaveDirective;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default PlateWave;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YUYEON_LOGO = ",--. ,--.,--.,--.,--. ,--.,---. ,---. ,--,--, \n \\ ' / | || | \\ ' /| .-. :| .-. || \\ \n \\ ' ' '' ' \\ ' \\ --.' '-' '| || | \n.-' / `----' .-' / `----' `---' `--''--' \n`---' `---' ";
|
|
@@ -0,0 +1,20 @@
|
|
|
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 'vue' {
|
|
15
|
+
export interface ComponentCustomProperties {}
|
|
16
|
+
|
|
17
|
+
export interface ComponentInternalInstance {
|
|
18
|
+
provides: Record<string, unknown>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const localeCodesMap: {
|
|
2
|
+
af: string;
|
|
3
|
+
bg: string;
|
|
4
|
+
ca: string;
|
|
5
|
+
cs: string;
|
|
6
|
+
de: string;
|
|
7
|
+
el: string;
|
|
8
|
+
en: string;
|
|
9
|
+
et: string;
|
|
10
|
+
fa: string;
|
|
11
|
+
fi: string;
|
|
12
|
+
hr: string;
|
|
13
|
+
hu: string;
|
|
14
|
+
he: string;
|
|
15
|
+
id: string;
|
|
16
|
+
it: string;
|
|
17
|
+
ja: string;
|
|
18
|
+
ko: string;
|
|
19
|
+
lv: string;
|
|
20
|
+
lt: string;
|
|
21
|
+
nl: string;
|
|
22
|
+
no: string;
|
|
23
|
+
pl: string;
|
|
24
|
+
pt: string;
|
|
25
|
+
ro: string;
|
|
26
|
+
ru: string;
|
|
27
|
+
sk: string;
|
|
28
|
+
sl: string;
|
|
29
|
+
srCyrl: string;
|
|
30
|
+
srLatn: string;
|
|
31
|
+
sv: string;
|
|
32
|
+
th: string;
|
|
33
|
+
tr: string;
|
|
34
|
+
az: string;
|
|
35
|
+
uk: string;
|
|
36
|
+
vi: string;
|
|
37
|
+
zhHans: string;
|
|
38
|
+
zhHant: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const defaultRtl: {
|
|
41
|
+
af: boolean;
|
|
42
|
+
ar: boolean;
|
|
43
|
+
bg: boolean;
|
|
44
|
+
ca: boolean;
|
|
45
|
+
cs: boolean;
|
|
46
|
+
de: boolean;
|
|
47
|
+
el: boolean;
|
|
48
|
+
en: boolean;
|
|
49
|
+
es: boolean;
|
|
50
|
+
et: boolean;
|
|
51
|
+
fa: boolean;
|
|
52
|
+
fi: boolean;
|
|
53
|
+
fr: boolean;
|
|
54
|
+
hr: boolean;
|
|
55
|
+
hu: boolean;
|
|
56
|
+
he: boolean;
|
|
57
|
+
id: boolean;
|
|
58
|
+
it: boolean;
|
|
59
|
+
ja: boolean;
|
|
60
|
+
ko: boolean;
|
|
61
|
+
lv: boolean;
|
|
62
|
+
lt: boolean;
|
|
63
|
+
nl: boolean;
|
|
64
|
+
no: boolean;
|
|
65
|
+
pl: boolean;
|
|
66
|
+
pt: boolean;
|
|
67
|
+
ro: boolean;
|
|
68
|
+
ru: boolean;
|
|
69
|
+
sk: boolean;
|
|
70
|
+
sl: boolean;
|
|
71
|
+
srCyrl: boolean;
|
|
72
|
+
srLatn: boolean;
|
|
73
|
+
sv: boolean;
|
|
74
|
+
th: boolean;
|
|
75
|
+
tr: boolean;
|
|
76
|
+
az: boolean;
|
|
77
|
+
uk: boolean;
|
|
78
|
+
vi: boolean;
|
|
79
|
+
zhHans: boolean;
|
|
80
|
+
zhHant: boolean;
|
|
81
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type LocaleMessages = {
|
|
4
|
+
[key: string]: LocaleMessages | string;
|
|
5
|
+
};
|
|
6
|
+
export interface LocaleOptions {
|
|
7
|
+
messages?: LocaleMessages;
|
|
8
|
+
locale?: string;
|
|
9
|
+
fallbackLocale?: string;
|
|
10
|
+
adapter?: LocaleModule;
|
|
11
|
+
}
|
|
12
|
+
export interface LocaleModule {
|
|
13
|
+
name: string;
|
|
14
|
+
locale: Ref<string>;
|
|
15
|
+
fallbackLocale: Ref<string>;
|
|
16
|
+
messages: Ref<LocaleMessages>;
|
|
17
|
+
t: (key: string, ...args: unknown[]) => string;
|
|
18
|
+
n: (value: number) => string;
|
|
19
|
+
getContext: (props: LocaleOptions) => LocaleModule;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { useTheme } from './composables/theme';
|
|
3
|
+
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
interface ComponentCustomProperties {
|
|
6
|
+
$yuyeon: any;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export declare function init(options?: any): {
|
|
10
|
+
install: (app: App) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function useYuyeon(): any;
|
|
13
|
+
export { useTheme };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
2
|
+
attrs_$: any;
|
|
3
|
+
listeners_$: any;
|
|
4
|
+
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableLayerRow, YDataTableLayerRows, YDataTableServer, YDateCalendar, YDatePicker, YDialog, YDividePanel, YDivider, YDropdown, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YInput, YInputCheckbox, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextarea, YTextEllipsis, YTextHighlighter, YTi, YTooltip, YTreeView, YTreeViewNode } from 'yuyeon/components';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
export interface GlobalComponents {
|
|
6
|
+
// @define-components
|
|
7
|
+
YApp: YApp;
|
|
8
|
+
YButton: YButton;
|
|
9
|
+
YChip: YChip;
|
|
10
|
+
YInput: YInput;
|
|
11
|
+
YFieldInput: YFieldInput;
|
|
12
|
+
YTextarea: YTextarea;
|
|
13
|
+
YForm: YForm;
|
|
14
|
+
YCard: YCard;
|
|
15
|
+
YCardBody: YCardBody;
|
|
16
|
+
YCardHeader: YCardHeader;
|
|
17
|
+
YCardFooter: YCardFooter;
|
|
18
|
+
YDialog: YDialog;
|
|
19
|
+
YLayer: YLayer;
|
|
20
|
+
YSnackbar: YSnackbar;
|
|
21
|
+
YProgressBar: YProgressBar;
|
|
22
|
+
YSpinnerRing: YSpinnerRing;
|
|
23
|
+
YTooltip: YTooltip;
|
|
24
|
+
YExpandVTransition: YExpandVTransition;
|
|
25
|
+
YExpandHTransition: YExpandHTransition;
|
|
26
|
+
YDividePanel: YDividePanel;
|
|
27
|
+
YList: YList;
|
|
28
|
+
YListItem: YListItem;
|
|
29
|
+
YTreeView: YTreeView;
|
|
30
|
+
YTreeViewNode: YTreeViewNode;
|
|
31
|
+
YTable: YTable;
|
|
32
|
+
YDataTable: YDataTable;
|
|
33
|
+
YDataTableLayerRows: YDataTableLayerRows;
|
|
34
|
+
YDataTableLayerRow: YDataTableLayerRow;
|
|
35
|
+
YDataTableServer: YDataTableServer;
|
|
36
|
+
YMenu: YMenu;
|
|
37
|
+
YPagination: YPagination;
|
|
38
|
+
YInputCheckbox: YInputCheckbox;
|
|
39
|
+
YCheckbox: YCheckbox;
|
|
40
|
+
YSwitch: YSwitch;
|
|
41
|
+
YDropdown: YDropdown;
|
|
42
|
+
YSelect: YSelect;
|
|
43
|
+
YAlert: YAlert;
|
|
44
|
+
YTabs: YTabs;
|
|
45
|
+
YTab: YTab;
|
|
46
|
+
YDivider: YDivider;
|
|
47
|
+
YDateCalendar: YDateCalendar;
|
|
48
|
+
YIcon: YIcon;
|
|
49
|
+
YDatePicker: YDatePicker;
|
|
50
|
+
YMonthPicker: YMonthPicker;
|
|
51
|
+
YBadge: YBadge;
|
|
52
|
+
YIpv4Field: YIpv4Field;
|
|
53
|
+
YHover: YHover;
|
|
54
|
+
YTi: YTi;
|
|
55
|
+
YTextHighlighter: YTextHighlighter;
|
|
56
|
+
YProgressRing: YProgressRing;
|
|
57
|
+
YTextEllipsis: YTextEllipsis;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface GlobalDirectives {
|
|
61
|
+
vPlateWave: typeof import('yuyeon/directives')['PlateWave'];
|
|
62
|
+
vComplementClick: typeof import('yuyeon/directives')['ComplementClick'];
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPublicInstance, FunctionalComponent } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type CandidateKey = string | number;
|
|
4
|
+
export type JSXComponent<Props = any> = FunctionalComponent<Props> | {
|
|
5
|
+
new (): ComponentPublicInstance<Props>;
|
|
6
|
+
};
|
|
7
|
+
export type CssProperties = {
|
|
8
|
+
[p: `--${string}`]: string | number | undefined;
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const block: readonly ["top", "bottom"];
|
|
2
|
+
declare const inline: readonly ["start", "end", "left", "right"];
|
|
3
|
+
type Tblock = (typeof block)[number];
|
|
4
|
+
type Tinline = (typeof inline)[number];
|
|
5
|
+
export type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
|
|
6
|
+
export type ParsedAnchor = {
|
|
7
|
+
side: 'center';
|
|
8
|
+
align: 'center';
|
|
9
|
+
} | {
|
|
10
|
+
side: Tblock;
|
|
11
|
+
align: 'left' | 'right' | 'center';
|
|
12
|
+
} | {
|
|
13
|
+
side: 'left' | 'right';
|
|
14
|
+
align: Tblock | 'center';
|
|
15
|
+
};
|
|
16
|
+
/** Parse a raw anchor string into an object */
|
|
17
|
+
export declare function parseAnchor(anchor: Anchor, isRtl: boolean): ParsedAnchor;
|
|
18
|
+
export declare function toPhysical(str: 'center' | Tblock | Tinline, isRtl: boolean): "bottom" | "left" | "right" | "top" | "center";
|
|
19
|
+
export declare function flipSide(anchor: ParsedAnchor): ParsedAnchor;
|
|
20
|
+
export declare function flipAlign(anchor: ParsedAnchor): ParsedAnchor;
|
|
21
|
+
export declare function flipCorner(anchor: ParsedAnchor): ParsedAnchor;
|
|
22
|
+
export declare function getAxis(anchor: ParsedAnchor): "y" | "x";
|
|
23
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFlatChildren(children: any[], childrenKey?: string): any[];
|