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
|
@@ -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,6 @@ export declare const styleColorPropsOptions: {
|
|
|
5
5
|
background: StringConstructor;
|
|
6
6
|
backgroundOpacity: {
|
|
7
7
|
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
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, PlateWaveBinding>;
|
|
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,58 +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,
|
|
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
2
|
|
|
3
3
|
|
|
4
|
-
declare module '
|
|
4
|
+
declare module 'vue' {
|
|
5
5
|
export interface GlobalComponents {
|
|
6
6
|
// @define-components
|
|
7
|
-
YApp:
|
|
8
|
-
YButton:
|
|
9
|
-
YChip:
|
|
10
|
-
YInput:
|
|
11
|
-
YFieldInput:
|
|
12
|
-
YTextarea:
|
|
13
|
-
YForm:
|
|
14
|
-
YCard:
|
|
15
|
-
YCardBody:
|
|
16
|
-
YCardHeader:
|
|
17
|
-
YCardFooter:
|
|
18
|
-
YDialog:
|
|
19
|
-
YLayer:
|
|
20
|
-
YSnackbar:
|
|
21
|
-
YProgressBar:
|
|
22
|
-
YSpinnerRing:
|
|
23
|
-
YTooltip:
|
|
24
|
-
YExpandVTransition:
|
|
25
|
-
YExpandHTransition:
|
|
26
|
-
YDividePanel:
|
|
27
|
-
YList:
|
|
28
|
-
YListItem:
|
|
29
|
-
YTreeView:
|
|
30
|
-
YTreeViewNode:
|
|
31
|
-
YTable:
|
|
32
|
-
YDataTable:
|
|
33
|
-
YDataTableLayerRows:
|
|
34
|
-
YDataTableLayerRow:
|
|
35
|
-
YDataTableServer:
|
|
36
|
-
YMenu:
|
|
37
|
-
YPagination:
|
|
38
|
-
YInputCheckbox:
|
|
39
|
-
YCheckbox:
|
|
40
|
-
YSwitch:
|
|
41
|
-
YDropdown:
|
|
42
|
-
YSelect:
|
|
43
|
-
YAlert:
|
|
44
|
-
YTabs:
|
|
45
|
-
YTab:
|
|
46
|
-
YDivider:
|
|
47
|
-
YDateCalendar:
|
|
48
|
-
YIcon:
|
|
49
|
-
YDatePicker:
|
|
50
|
-
YMonthPicker:
|
|
51
|
-
YBadge:
|
|
52
|
-
YIpv4Field:
|
|
53
|
-
YHover:
|
|
54
|
-
YTi:
|
|
55
|
-
YTextHighlighter:
|
|
56
|
-
YProgressRing:
|
|
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'];
|
|
57
63
|
}
|
|
58
64
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const pressItemsPropsOptions: <Defaults extends {
|
|
4
|
+
items?: unknown;
|
|
5
|
+
itemKey?: unknown;
|
|
6
|
+
itemText?: unknown;
|
|
7
|
+
itemChildren?: unknown;
|
|
8
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
9
|
+
items: unknown extends Defaults["items"] ? {
|
|
10
|
+
type: PropType<any[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
} : Omit<{
|
|
13
|
+
type: PropType<any[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
}, "type" | "default"> & {
|
|
16
|
+
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
17
|
+
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
18
|
+
};
|
|
19
|
+
itemKey: unknown extends Defaults["itemKey"] ? {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
} : Omit<{
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
}, "type" | "default"> & {
|
|
26
|
+
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
27
|
+
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
28
|
+
};
|
|
29
|
+
itemText: unknown extends Defaults["itemText"] ? {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
} : Omit<{
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
}, "type" | "default"> & {
|
|
36
|
+
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
37
|
+
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
38
|
+
};
|
|
39
|
+
itemChildren: unknown extends Defaults["itemChildren"] ? {
|
|
40
|
+
type: PropType<boolean | string>;
|
|
41
|
+
default: string;
|
|
42
|
+
} : Omit<{
|
|
43
|
+
type: PropType<boolean | string>;
|
|
44
|
+
default: string;
|
|
45
|
+
}, "type" | "default"> & {
|
|
46
|
+
type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : Defaults["itemChildren"] | NonNullable<string | boolean>>;
|
|
47
|
+
default: unknown extends Defaults["itemChildren"] ? string | boolean : Defaults["itemChildren"] | NonNullable<string | boolean>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* # Component
|
|
5
|
+
*/
|
|
6
|
+
export declare const YAlert: import('vue').DefineComponent<{
|
|
7
|
+
semantic: PropType<"info" | "warning" | "success" | "error" | string>;
|
|
8
|
+
variation: PropType<"outlined" | "filled" | string>;
|
|
9
|
+
color: PropType<string>;
|
|
10
|
+
textColor: PropType<string>;
|
|
11
|
+
outlineColor: PropType<string>;
|
|
12
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
13
|
+
export type YAlert = InstanceType<typeof YAlert>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YAlert';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* # App Component
|
|
4
|
+
*/
|
|
5
|
+
export declare const YApp: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
8
|
+
export type YApp = InstanceType<typeof YApp>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YApp';
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IconValue } from '../../composables/icon';
|
|
3
|
+
|
|
4
|
+
export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
5
|
+
color?: unknown;
|
|
6
|
+
background?: unknown;
|
|
7
|
+
backgroundOpacity?: unknown;
|
|
8
|
+
tag?: unknown;
|
|
9
|
+
dot?: unknown;
|
|
10
|
+
bordered?: unknown;
|
|
11
|
+
floating?: unknown;
|
|
12
|
+
inline?: unknown;
|
|
13
|
+
icon?: unknown;
|
|
14
|
+
hide?: unknown;
|
|
15
|
+
label?: unknown;
|
|
16
|
+
content?: unknown;
|
|
17
|
+
max?: unknown;
|
|
18
|
+
transition?: unknown;
|
|
19
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
20
|
+
color: unknown extends Defaults["color"] ? StringConstructor : {
|
|
21
|
+
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
22
|
+
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
23
|
+
};
|
|
24
|
+
background: unknown extends Defaults["background"] ? StringConstructor : {
|
|
25
|
+
type: PropType<unknown extends Defaults["background"] ? string : string | Defaults["background"]>;
|
|
26
|
+
default: unknown extends Defaults["background"] ? string : string | Defaults["background"];
|
|
27
|
+
};
|
|
28
|
+
backgroundOpacity: unknown extends Defaults["backgroundOpacity"] ? {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
} : Omit<{
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
}, "type" | "default"> & {
|
|
33
|
+
type: PropType<unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"]>;
|
|
34
|
+
default: unknown extends Defaults["backgroundOpacity"] ? number : number | Defaults["backgroundOpacity"];
|
|
35
|
+
};
|
|
36
|
+
tag: unknown extends Defaults["tag"] ? {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
} : Omit<{
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: string;
|
|
42
|
+
}, "type" | "default"> & {
|
|
43
|
+
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
44
|
+
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
45
|
+
};
|
|
46
|
+
dot: unknown extends Defaults["dot"] ? BooleanConstructor : {
|
|
47
|
+
type: PropType<unknown extends Defaults["dot"] ? boolean : boolean | Defaults["dot"]>;
|
|
48
|
+
default: unknown extends Defaults["dot"] ? boolean : boolean | Defaults["dot"];
|
|
49
|
+
};
|
|
50
|
+
bordered: unknown extends Defaults["bordered"] ? BooleanConstructor : {
|
|
51
|
+
type: PropType<unknown extends Defaults["bordered"] ? boolean : boolean | Defaults["bordered"]>;
|
|
52
|
+
default: unknown extends Defaults["bordered"] ? boolean : boolean | Defaults["bordered"];
|
|
53
|
+
};
|
|
54
|
+
floating: unknown extends Defaults["floating"] ? BooleanConstructor : {
|
|
55
|
+
type: PropType<unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"]>;
|
|
56
|
+
default: unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"];
|
|
57
|
+
};
|
|
58
|
+
inline: unknown extends Defaults["inline"] ? BooleanConstructor : {
|
|
59
|
+
type: PropType<unknown extends Defaults["inline"] ? boolean : boolean | Defaults["inline"]>;
|
|
60
|
+
default: unknown extends Defaults["inline"] ? boolean : boolean | Defaults["inline"];
|
|
61
|
+
};
|
|
62
|
+
icon: unknown extends Defaults["icon"] ? PropType<IconValue> : {
|
|
63
|
+
type: PropType<unknown extends Defaults["icon"] ? IconValue : NonNullable<IconValue> | Defaults["icon"]>;
|
|
64
|
+
default: unknown extends Defaults["icon"] ? IconValue : NonNullable<IconValue> | Defaults["icon"];
|
|
65
|
+
};
|
|
66
|
+
hide: unknown extends Defaults["hide"] ? BooleanConstructor : {
|
|
67
|
+
type: PropType<unknown extends Defaults["hide"] ? boolean : boolean | Defaults["hide"]>;
|
|
68
|
+
default: unknown extends Defaults["hide"] ? boolean : boolean | Defaults["hide"];
|
|
69
|
+
};
|
|
70
|
+
label: unknown extends Defaults["label"] ? {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
} : Omit<{
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
}, "type" | "default"> & {
|
|
77
|
+
type: PropType<unknown extends Defaults["label"] ? string : string | Defaults["label"]>;
|
|
78
|
+
default: unknown extends Defaults["label"] ? string : string | Defaults["label"];
|
|
79
|
+
};
|
|
80
|
+
content: unknown extends Defaults["content"] ? (NumberConstructor | StringConstructor)[] : {
|
|
81
|
+
type: PropType<unknown extends Defaults["content"] ? string | number : NonNullable<string | number> | Defaults["content"]>;
|
|
82
|
+
default: unknown extends Defaults["content"] ? string | number : NonNullable<string | number> | Defaults["content"];
|
|
83
|
+
};
|
|
84
|
+
max: unknown extends Defaults["max"] ? NumberConstructor : {
|
|
85
|
+
type: PropType<unknown extends Defaults["max"] ? number : number | Defaults["max"]>;
|
|
86
|
+
default: unknown extends Defaults["max"] ? number : number | Defaults["max"];
|
|
87
|
+
};
|
|
88
|
+
transition: unknown extends Defaults["transition"] ? {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
} : Omit<{
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
}, "type" | "default"> & {
|
|
95
|
+
type: PropType<unknown extends Defaults["transition"] ? string : string | Defaults["transition"]>;
|
|
96
|
+
default: unknown extends Defaults["transition"] ? string : string | Defaults["transition"];
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const YBadge: import('vue').DefineComponent<{
|
|
100
|
+
color: StringConstructor;
|
|
101
|
+
background: StringConstructor;
|
|
102
|
+
backgroundOpacity: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
};
|
|
105
|
+
tag: {
|
|
106
|
+
type: PropType<string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
dot: BooleanConstructor;
|
|
110
|
+
bordered: BooleanConstructor;
|
|
111
|
+
floating: BooleanConstructor;
|
|
112
|
+
inline: BooleanConstructor;
|
|
113
|
+
icon: PropType<IconValue>;
|
|
114
|
+
hide: BooleanConstructor;
|
|
115
|
+
label: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
content: (NumberConstructor | StringConstructor)[];
|
|
120
|
+
max: NumberConstructor;
|
|
121
|
+
transition: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
126
|
+
export type YBadge = InstanceType<typeof YBadge>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YBadge';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YBench';
|