yuyeon 0.2.1-rc.1 → 0.2.1-rc.2
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 +5789 -7457
- package/dist/yuyeon.umd.cjs +4 -26
- package/lib/components/alert/YAlert.mjs +2 -2
- package/lib/components/alert/YAlert.mjs.map +1 -1
- package/lib/components/alert/YAlert.scss +75 -76
- package/lib/components/alert/index.mjs.map +1 -1
- package/lib/components/app/YApp.mjs +3 -2
- package/lib/components/app/YApp.mjs.map +1 -1
- package/lib/components/app/YApp.scss +14 -14
- package/lib/components/app/index.mjs.map +1 -1
- package/lib/components/badge/YBadge.mjs +2 -2
- package/lib/components/badge/YBadge.mjs.map +1 -1
- package/lib/components/badge/YBadge.scss +76 -76
- package/lib/components/badge/index.mjs.map +1 -1
- package/lib/components/bench/YBench.mjs +2 -3
- package/lib/components/bench/YBench.mjs.map +1 -1
- package/lib/components/bench/index.mjs.map +1 -1
- package/lib/components/button/YButton.mjs +4 -4
- package/lib/components/button/YButton.mjs.map +1 -1
- package/lib/components/button/YButton.scss +128 -129
- package/lib/components/button/index.mjs.map +1 -1
- package/lib/components/card/YCard.mjs +3 -2
- package/lib/components/card/YCard.mjs.map +1 -1
- package/lib/components/card/YCard.scss +45 -43
- package/lib/components/card/YCardBody.mjs +2 -1
- package/lib/components/card/YCardBody.mjs.map +1 -1
- package/lib/components/card/YCardFooter.mjs +2 -1
- package/lib/components/card/YCardFooter.mjs.map +1 -1
- package/lib/components/card/YCardHeader.mjs +2 -1
- package/lib/components/card/YCardHeader.mjs.map +1 -1
- package/lib/components/checkbox/YCheckbox.mjs +2 -2
- package/lib/components/checkbox/YCheckbox.mjs.map +1 -1
- package/lib/components/checkbox/YCheckbox.scss +48 -48
- package/lib/components/checkbox/YInputCheckbox.mjs +2 -1
- package/lib/components/checkbox/YInputCheckbox.mjs.map +1 -1
- package/lib/components/checkbox/YInputCheckbox.scss +84 -86
- package/lib/components/checkbox/index.mjs +1 -1
- package/lib/components/checkbox/index.mjs.map +1 -1
- package/lib/components/chip/YChip.mjs +2 -2
- package/lib/components/chip/YChip.mjs.map +1 -1
- package/lib/components/date-picker/YDateCalendar.mjs +3 -3
- package/lib/components/date-picker/YDateCalendar.mjs.map +1 -1
- package/lib/components/date-picker/YDateCalendar.scss +84 -82
- package/lib/components/date-picker/YDatePicker.mjs +2 -2
- package/lib/components/date-picker/YDatePicker.mjs.map +1 -1
- package/lib/components/date-picker/YDatePicker.scss +3 -3
- package/lib/components/date-picker/YDatePickerControl.mjs +2 -2
- package/lib/components/date-picker/YDatePickerControl.mjs.map +1 -1
- package/lib/components/date-picker/YDatePickerControl.scss +35 -35
- package/lib/components/date-picker/YMonthPicker.mjs +3 -3
- package/lib/components/date-picker/YMonthPicker.mjs.map +1 -1
- package/lib/components/date-picker/YMonthPicker.scss +25 -25
- package/lib/components/date-picker/YYearPicker.mjs +3 -2
- package/lib/components/date-picker/YYearPicker.mjs.map +1 -1
- package/lib/components/date-picker/YYearPicker.scss +23 -23
- package/lib/components/date-picker/index.mjs.map +1 -1
- package/lib/components/dialog/YDialog.mjs +3 -3
- package/lib/components/dialog/YDialog.mjs.map +1 -1
- package/lib/components/dialog/YDialog.scss +50 -50
- package/lib/components/dialog/index.mjs.map +1 -1
- package/lib/components/divider/YDivider.mjs +1 -2
- package/lib/components/divider/YDivider.mjs.map +1 -1
- package/lib/components/divider/YDivider.scss +2 -3
- package/lib/components/divider/index.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.mjs +2 -2
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.scss +27 -28
- package/lib/components/dropdown/index.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.mjs +2 -2
- package/lib/components/field-input/YFieldInput.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.scss +66 -66
- package/lib/components/field-input/index.mjs.map +1 -1
- package/lib/components/form/YForm.mjs +3 -2
- package/lib/components/form/YForm.mjs.map +1 -1
- package/lib/components/hover/YHover.mjs +2 -2
- package/lib/components/hover/YHover.mjs.map +1 -1
- package/lib/components/hover/index.mjs.map +1 -1
- package/lib/components/icon/YIcon.mjs +3 -2
- package/lib/components/icon/YIcon.mjs.map +1 -1
- package/lib/components/icon/YIcon.scss +18 -18
- package/lib/components/icon/index.mjs.map +1 -1
- package/lib/components/icons/YIconCheckbox.mjs +1 -1
- package/lib/components/icons/YIconCheckbox.mjs.map +1 -1
- package/lib/components/icons/YIconCheckbox.scss +60 -60
- package/lib/components/icons/YIconClear.mjs +1 -1
- package/lib/components/icons/YIconClear.mjs.map +1 -1
- package/lib/components/icons/YIconDropdown.mjs +1 -1
- package/lib/components/icons/YIconDropdown.mjs.map +1 -1
- package/lib/components/icons/YIconExpand.mjs +1 -1
- package/lib/components/icons/YIconExpand.mjs.map +1 -1
- package/lib/components/icons/YIconPageControl.mjs +1 -1
- package/lib/components/icons/YIconPageControl.mjs.map +1 -1
- package/lib/components/icons/YIconSort.mjs +1 -1
- package/lib/components/icons/YIconSort.mjs.map +1 -1
- package/lib/components/icons/YIconSort.scss +24 -23
- package/lib/components/icons/index.mjs +1 -1
- package/lib/components/icons/index.mjs.map +1 -1
- package/lib/components/img/YImg.mjs +6 -7
- package/lib/components/img/YImg.mjs.map +1 -1
- package/lib/components/input/YInput.mjs +3 -4
- package/lib/components/input/YInput.mjs.map +1 -1
- package/lib/components/input/YInput.scss +258 -254
- package/lib/components/input/index.mjs.map +1 -1
- package/lib/components/ip-field/YIpField.scss +74 -74
- package/lib/components/ip-field/YIpv4Field.mjs +2 -2
- package/lib/components/ip-field/YIpv4Field.mjs.map +1 -1
- package/lib/components/ip-field/index.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +2 -2
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/YLayer.scss +38 -38
- package/lib/components/layer/active-delay.mjs.map +1 -1
- package/lib/components/layer/active-stack.mjs.map +1 -1
- package/lib/components/layer/base.mjs.map +1 -1
- package/lib/components/layer/content.mjs.map +1 -1
- package/lib/components/layer/scroll-strategies.mjs +1 -1
- package/lib/components/layer/scroll-strategies.mjs.map +1 -1
- package/lib/components/list/YList.mjs +2 -2
- package/lib/components/list/YList.mjs.map +1 -1
- package/lib/components/list/YList.scss +3 -3
- package/lib/components/list/YListItem.mjs +2 -2
- package/lib/components/list/YListItem.mjs.map +1 -1
- package/lib/components/list/YListItem.scss +62 -62
- package/lib/components/list/index.mjs.map +1 -1
- package/lib/components/loading/YSpinnerRing.mjs +1 -1
- package/lib/components/loading/YSpinnerRing.mjs.map +1 -1
- package/lib/components/menu/YMenu.mjs +5 -4
- package/lib/components/menu/YMenu.mjs.map +1 -1
- package/lib/components/menu/YMenu.scss +25 -22
- package/lib/components/menu/index.mjs.map +1 -1
- package/lib/components/navigation/YNavigation.mjs +2 -1
- package/lib/components/navigation/YNavigation.mjs.map +1 -1
- package/lib/components/pagination/YPagination.mjs +2 -2
- package/lib/components/pagination/YPagination.mjs.map +1 -1
- package/lib/components/pagination/YPagination.scss +52 -51
- package/lib/components/pagination/index.mjs.map +1 -1
- package/lib/components/panel/YDividePanel.mjs.map +1 -1
- package/lib/components/panel/YDividePanel.scss +43 -43
- package/lib/components/panel/index.mjs.map +1 -1
- package/lib/components/plate/YPlate.mjs +2 -1
- package/lib/components/plate/YPlate.mjs.map +1 -1
- package/lib/components/plate/YPlate.scss +9 -9
- package/lib/components/progress-bar/YProgressBar.mjs +2 -2
- package/lib/components/progress-bar/YProgressBar.mjs.map +1 -1
- package/lib/components/progress-bar/YProgressBar.scss +6 -4
- package/lib/components/select/YSelect.mjs +3 -5
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/select/YSelect.scss +43 -43
- package/lib/components/select/index.mjs.map +1 -1
- package/lib/components/snackbar/YSnackbar.mjs +8 -9
- package/lib/components/snackbar/YSnackbar.mjs.map +1 -1
- package/lib/components/snackbar/YSnackbar.scss +38 -38
- package/lib/components/switch/YSwitch.mjs +2 -1
- package/lib/components/switch/YSwitch.mjs.map +1 -1
- package/lib/components/switch/YSwitch.scss +204 -198
- package/lib/components/tab/YTab.mjs +2 -3
- package/lib/components/tab/YTab.mjs.map +1 -1
- package/lib/components/tab/YTab.scss +6 -3
- package/lib/components/tab/YTabs.mjs +2 -2
- package/lib/components/tab/YTabs.mjs.map +1 -1
- package/lib/components/tab/YTabs.scss +8 -10
- package/lib/components/tab/index.mjs.map +1 -1
- package/lib/components/tab/types.mjs.map +1 -1
- package/lib/components/table/YDataTable.mjs +5 -5
- package/lib/components/table/YDataTable.mjs.map +1 -1
- package/lib/components/table/YDataTableBody.mjs +2 -2
- package/lib/components/table/YDataTableBody.mjs.map +1 -1
- package/lib/components/table/YDataTableCell.mjs +2 -1
- package/lib/components/table/YDataTableCell.mjs.map +1 -1
- package/lib/components/table/YDataTableControl.mjs +1 -1
- package/lib/components/table/YDataTableControl.mjs.map +1 -1
- package/lib/components/table/YDataTableControl.scss +7 -7
- package/lib/components/table/YDataTableHead.mjs +2 -3
- package/lib/components/table/YDataTableHead.mjs.map +1 -1
- package/lib/components/table/YDataTableLayer.mjs +2 -1
- package/lib/components/table/YDataTableLayer.mjs.map +1 -1
- package/lib/components/table/YDataTableRow.mjs +2 -1
- package/lib/components/table/YDataTableRow.mjs.map +1 -1
- package/lib/components/table/YDataTableServer.mjs +3 -4
- package/lib/components/table/YDataTableServer.mjs.map +1 -1
- package/lib/components/table/YTable.mjs +2 -2
- package/lib/components/table/YTable.mjs.map +1 -1
- package/lib/components/table/YTable.scss +157 -152
- package/lib/components/table/composibles/header.mjs.map +1 -1
- package/lib/components/table/composibles/items.mjs.map +1 -1
- package/lib/components/table/composibles/options.mjs.map +1 -1
- package/lib/components/table/composibles/pagination.mjs.map +1 -1
- package/lib/components/table/composibles/selection.mjs +1 -1
- package/lib/components/table/composibles/selection.mjs.map +1 -1
- package/lib/components/table/composibles/sorted-items.mjs +1 -1
- package/lib/components/table/composibles/sorted-items.mjs.map +1 -1
- package/lib/components/table/composibles/sorting.mjs +1 -2
- package/lib/components/table/composibles/sorting.mjs.map +1 -1
- package/lib/components/table/index.mjs.map +1 -1
- package/lib/components/table/types/common.mjs.map +1 -1
- package/lib/components/table/types/header.mjs.map +1 -1
- package/lib/components/table/types/index.mjs.map +1 -1
- package/lib/components/table/types/row.mjs.map +1 -1
- package/lib/components/text-ellipsis/YTextEllipsis.mjs +4 -2
- package/lib/components/text-ellipsis/YTextEllipsis.mjs.map +1 -1
- package/lib/components/text-ellipsis/YTextEllipsis.scss +43 -43
- package/lib/components/text-ellipsis/index.mjs.map +1 -1
- package/lib/components/text-highlighter/YTextHighlighter.mjs +2 -1
- package/lib/components/text-highlighter/YTextHighlighter.mjs.map +1 -1
- package/lib/components/text-interpolation/YTi.mjs +2 -1
- package/lib/components/text-interpolation/YTi.mjs.map +1 -1
- package/lib/components/text-interpolation/index.mjs.map +1 -1
- package/lib/components/textarea/YTextarea.mjs +2 -2
- package/lib/components/textarea/YTextarea.mjs.map +1 -1
- package/lib/components/textarea/YTextarea.scss +25 -25
- package/lib/components/textarea/index.mjs.map +1 -1
- package/lib/components/toggle-button/YToggleButton.mjs.map +1 -1
- package/lib/components/toggle-button/index.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.mjs +3 -3
- package/lib/components/tooltip/YTooltip.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.scss +19 -19
- package/lib/components/tooltip/index.mjs.map +1 -1
- package/lib/components/transitions/expand-transition.mjs.map +1 -1
- package/lib/components/tree-view/YTreeView.mjs +1 -1
- package/lib/components/tree-view/YTreeView.mjs.map +1 -1
- package/lib/components/tree-view/YTreeView.scss +81 -79
- package/lib/components/tree-view/YTreeViewNode.mjs +2 -1
- package/lib/components/tree-view/YTreeViewNode.mjs.map +1 -1
- package/lib/components/tree-view/index.mjs.map +1 -1
- package/lib/components/tree-view/types.mjs.map +1 -1
- package/lib/components/tree-view/util.mjs.map +1 -1
- package/lib/composables/choice.mjs.map +1 -1
- package/lib/composables/communication.mjs.map +1 -1
- package/lib/composables/component.mjs.map +1 -1
- package/lib/composables/coordinate/arrangement.mjs.map +1 -1
- package/lib/composables/coordinate/levitation.mjs.map +1 -1
- package/lib/composables/coordinate/utils/point.mjs.map +1 -1
- package/lib/composables/date/factory.mjs.map +1 -1
- package/lib/composables/date/index.mjs +1 -1
- package/lib/composables/date/index.mjs.map +1 -1
- package/lib/composables/date/setting.mjs.map +1 -1
- package/lib/composables/date/types.mjs.map +1 -1
- package/lib/composables/defaults/index.mjs +3 -3
- package/lib/composables/defaults/index.mjs.map +1 -1
- package/lib/composables/defaults/types.mjs.map +1 -1
- package/lib/composables/dimension.mjs +1 -1
- package/lib/composables/dimension.mjs.map +1 -1
- package/lib/composables/focus.mjs +1 -1
- package/lib/composables/focus.mjs.map +1 -1
- package/lib/composables/form.mjs.map +1 -1
- package/lib/composables/i18n/index.mjs.map +1 -1
- package/lib/composables/icon.mjs +5 -4
- package/lib/composables/icon.mjs.map +1 -1
- package/lib/composables/layer-group.mjs +1 -1
- package/lib/composables/layer-group.mjs.map +1 -1
- package/lib/composables/layout.mjs +1 -1
- package/lib/composables/layout.mjs.map +1 -1
- package/lib/composables/list-items.mjs.map +1 -1
- package/lib/composables/ref.mjs +1 -1
- package/lib/composables/ref.mjs.map +1 -1
- package/lib/composables/resize-observer.mjs +1 -3
- package/lib/composables/resize-observer.mjs.map +1 -1
- package/lib/composables/scope.mjs +1 -2
- package/lib/composables/scope.mjs.map +1 -1
- package/lib/composables/theme/factory.mjs.map +1 -1
- package/lib/composables/theme/index.mjs +1 -1
- package/lib/composables/theme/index.mjs.map +1 -1
- package/lib/composables/theme/setting.mjs.map +1 -1
- package/lib/composables/theme/types.mjs.map +1 -1
- package/lib/composables/timing.mjs +1 -1
- package/lib/composables/timing.mjs.map +1 -1
- package/lib/composables/transition.mjs +1 -1
- package/lib/composables/transition.mjs.map +1 -1
- package/lib/composables/validation.mjs +1 -1
- package/lib/composables/validation.mjs.map +1 -1
- package/lib/composables/vue-router.mjs +1 -1
- package/lib/composables/vue-router.mjs.map +1 -1
- package/lib/index.mjs +3 -3
- package/lib/index.mjs.map +1 -1
- package/lib/util/anchor.mjs.map +1 -1
- package/lib/util/array.mjs.map +1 -1
- package/lib/util/component/component.mjs +2 -1
- package/lib/util/component/component.mjs.map +1 -1
- package/lib/util/component/index.mjs +2 -1
- package/lib/util/component/index.mjs.map +1 -1
- package/lib/util/component/inject-self.mjs.map +1 -1
- package/lib/util/component/props.mjs +1 -1
- package/lib/util/component/props.mjs.map +1 -1
- package/lib/util/date/index.mjs.map +1 -1
- package/lib/util/dom.mjs.map +1 -1
- package/lib/util/reactivity.mjs +3 -3
- package/lib/util/reactivity.mjs.map +1 -1
- package/lib/util/rect.mjs.map +1 -1
- package/lib/util/ui.mjs.map +1 -1
- package/lib/util/validation.mjs.map +1 -1
- package/package.json +1 -1
- package/types/abstract/items.d.ts +4 -4
- package/types/components/app/YApp.d.ts +1 -1
- package/types/components/badge/YBadge.d.ts +5 -39
- package/types/components/bench/YBench.d.ts +1 -1
- package/types/components/button/YButton.d.ts +10 -69
- package/types/components/card/YCard.d.ts +1 -6
- package/types/components/card/YCardBody.d.ts +1 -1
- package/types/components/card/YCardFooter.d.ts +1 -1
- package/types/components/card/YCardHeader.d.ts +1 -1
- package/types/components/checkbox/YCheckbox.d.ts +1 -26
- package/types/components/checkbox/YInputCheckbox.d.ts +2 -26
- package/types/components/checkbox/index.d.ts +1 -0
- package/types/components/chip/YChip.d.ts +2 -13
- package/types/components/date-picker/YDateCalendar.d.ts +3 -31
- package/types/components/date-picker/YDatePicker.d.ts +13 -42
- package/types/components/date-picker/YDatePickerControl.d.ts +12 -44
- package/types/components/date-picker/YMonthPicker.d.ts +1 -5
- package/types/components/date-picker/YYearPicker.d.ts +1 -7
- package/types/components/dialog/YDialog.d.ts +134 -377
- package/types/components/divider/YDivider.d.ts +1 -3
- package/types/components/dropdown/YDropdown.d.ts +104 -277
- package/types/components/field-input/YFieldInput.d.ts +14 -120
- package/types/components/form/YForm.d.ts +2 -24
- package/types/components/hover/YHover.d.ts +4 -26
- package/types/components/icon/YIcon.d.ts +3 -18
- package/types/components/icons/YIconCheckbox.d.ts +1 -9
- package/types/components/icons/YIconClear.d.ts +1 -1
- package/types/components/icons/YIconDropdown.d.ts +1 -1
- package/types/components/icons/YIconExpand.d.ts +1 -1
- package/types/components/icons/YIconPageControl.d.ts +1 -8
- package/types/components/icons/YIconSort.d.ts +1 -10
- package/types/components/icons/index.d.ts +8 -46
- package/types/components/img/YImg.d.ts +7 -47
- package/types/components/input/YInput.d.ts +11 -99
- package/types/components/ip-field/YIpv4Field.d.ts +2 -70
- package/types/components/layer/YLayer.d.ts +45 -162
- package/types/components/layer/content.d.ts +1 -1
- package/types/components/layer/scroll-strategies.d.ts +1 -1
- package/types/components/list/YList.d.ts +1 -6
- package/types/components/list/YListItem.d.ts +3 -21
- package/types/components/loading/YSpinnerRing.d.ts +1 -1
- package/types/components/menu/YMenu.d.ts +23 -288
- package/types/components/navigation/YNavigation.d.ts +1 -1
- package/types/components/pagination/YPagination.d.ts +12 -52
- package/types/components/plate/YPlate.d.ts +1 -3
- package/types/components/progress-bar/YProgressBar.d.ts +1 -36
- package/types/components/select/YSelect.d.ts +468 -1092
- package/types/components/snackbar/YSnackbar.d.ts +51 -196
- package/types/components/switch/YSwitch.d.ts +1 -43
- package/types/components/tab/YTab.d.ts +14 -80
- package/types/components/tab/YTabs.d.ts +6 -39
- package/types/components/table/YDataTable.d.ts +24 -173
- package/types/components/table/YDataTableBody.d.ts +3 -26
- package/types/components/table/YDataTableCell.d.ts +2 -31
- package/types/components/table/YDataTableControl.d.ts +3 -18
- package/types/components/table/YDataTableHead.d.ts +3 -21
- package/types/components/table/YDataTableLayer.d.ts +1 -3
- package/types/components/table/YDataTableRow.d.ts +1 -9
- package/types/components/table/YDataTableServer.d.ts +27 -179
- package/types/components/table/YTable.d.ts +5 -24
- package/types/components/table/composibles/header.d.ts +9 -9
- package/types/components/table/composibles/items.d.ts +3 -3
- package/types/components/table/composibles/pagination.d.ts +3 -3
- package/types/components/table/composibles/selection.d.ts +4 -4
- package/types/components/table/composibles/sorting.d.ts +1 -1
- package/types/components/table/types/index.d.ts +1 -1
- package/types/components/text-ellipsis/YTextEllipsis.d.ts +1 -8
- package/types/components/text-highlighter/YTextHighlighter.d.ts +2 -17
- package/types/components/text-interpolation/YTi.d.ts +1 -10
- package/types/components/textarea/YTextarea.d.ts +15 -111
- package/types/components/tooltip/YTooltip.d.ts +41 -275
- package/types/components/tree-view/YTreeView.d.ts +2 -2
- package/types/components/tree-view/YTreeViewNode.d.ts +10 -67
- package/types/composables/choice.d.ts +1 -1
- package/types/composables/coordinate/index.d.ts +14 -14
- package/types/composables/coordinate/utils/point.d.ts +1 -1
- package/types/composables/form.d.ts +2 -2
- package/types/composables/icon.d.ts +5 -22
- package/types/composables/layer-group.d.ts +1 -1
- package/types/composables/list-items.d.ts +10 -10
- package/types/composables/timing.d.ts +1 -1
- package/types/composables/transition.d.ts +1 -1
- package/types/composables/validation.d.ts +3 -3
- package/types/composables/vue-router.d.ts +1 -1
- package/types/util/Rect.d.ts +1 -1
- package/types/util/anchor.d.ts +1 -1
- package/types/util/component/component.d.ts +2 -1
- package/types/util/component/index.d.ts +4 -4
- package/types/util/component/inject-self.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inject-self.mjs","names":["getCurrentInstance","injectSelf","key","vm","arguments","length","undefined","provides"],"sources":["../../../src/util/component/inject-self.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"inject-self.mjs","names":["getCurrentInstance","injectSelf","key","vm","arguments","length","undefined","provides"],"sources":["../../../src/util/component/inject-self.ts"],"sourcesContent":["import {\n type ComponentInternalInstance,\n type InjectionKey,\n getCurrentInstance,\n} from 'vue';\n\nexport function injectSelf<T>(\n key: InjectionKey<T> | string,\n vm?: ComponentInternalInstance,\n): T | undefined;\nexport function injectSelf(\n key: InjectionKey<any> | string,\n vm = getCurrentInstance(),\n) {\n const provides = vm?.provides;\n\n if (provides && (key as string | symbol) in provides) {\n return provides[key as string];\n }\n\n return undefined;\n}\n"],"mappings":"AAAA,SAGEA,kBAAkB,QACb,KAAK;AAMZ,OAAO,SAASC,UAAUA,CACxBC,GAA+B,EAE/B;EAAA,IADAC,EAAE,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGJ,kBAAkB,CAAC,CAAC;EAEzB,MAAMO,QAAQ,GAAGJ,EAAE,EAAEI,QAAQ;EAE7B,IAAIA,QAAQ,IAAKL,GAAG,IAAwBK,QAAQ,EAAE;IACpD,OAAOA,QAAQ,CAACL,GAAG,CAAW;EAChC;EAEA,OAAOI,SAAS;AAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.mjs","names":["capitalize","toKebabCase","propsFactory","props","source","defaults","Object","keys","reduce","options","prop","option","isObjectOption","Array","isArray","objectOption","type","default","chooseProps","target","acc","hasEventProp","onType","propIsDefined","vnode"],"sources":["../../../src/util/component/props.ts"],"sourcesContent":["import { capitalize } from '
|
|
1
|
+
{"version":3,"file":"props.mjs","names":["capitalize","toKebabCase","propsFactory","props","source","defaults","Object","keys","reduce","options","prop","option","isObjectOption","Array","isArray","objectOption","type","default","chooseProps","target","acc","hasEventProp","onType","propIsDefined","vnode"],"sources":["../../../src/util/component/props.ts"],"sourcesContent":["import { capitalize } from 'vue';\nimport type { IfAny } from '@vue/shared';\nimport type {\n ComponentObjectPropsOptions,\n ExtractPropTypes,\n Prop,\n PropType,\n VNode,\n} from 'vue';\n\nimport { toKebabCase } from '../string';\n\nexport function propsFactory<PropsOptions extends ComponentObjectPropsOptions>(\n props: PropsOptions,\n source: string,\n) {\n return <Defaults extends PartialKeys<PropsOptions> = {}>(\n defaults?: Defaults,\n ): OverwrittenPropOptions<PropsOptions, Defaults> => {\n return Object.keys(props).reduce<any>((options, prop) => {\n const option = props[prop];\n const isObjectOption =\n typeof option === 'object' && option != null && !Array.isArray(option);\n const objectOption = isObjectOption ? option : { type: option };\n if (defaults && prop in defaults) {\n options[prop] = {\n ...objectOption,\n default: defaults[prop],\n };\n } else {\n options[prop] = objectOption;\n }\n\n if (source && !options[prop].source) {\n options[prop].source = source;\n }\n return options;\n }, {} as PropsOptions);\n };\n}\n\nexport function chooseProps<PropsOptions extends ComponentObjectPropsOptions>(\n props: any,\n target: PropsOptions,\n): ExtractPropTypes<PropsOptions> {\n return Object.keys(target).reduce((acc, prop) => {\n if (props && prop in props) {\n acc[prop as keyof ExtractPropTypes<PropsOptions>] = props[prop];\n }\n return acc;\n }, {} as ExtractPropTypes<PropsOptions>);\n}\n\nexport function hasEventProp(props: Record<string, any>, type: string) {\n const onType = `on${capitalize(type)}`;\n return !!(\n props[onType] ||\n props[`${onType}Once`] ||\n props[`${onType}Capture`] ||\n props[`${onType}OnceCapture`] ||\n props[`${onType}CaptureOnce`]\n );\n}\n\nexport function propIsDefined(vnode: VNode, prop: string) {\n return (\n typeof vnode.props?.[prop] !== 'undefined' ||\n typeof vnode.props?.[toKebabCase(prop)] !== 'undefined'\n );\n}\n\ntype OverwrittenPropOptions<\n T extends ComponentObjectPropsOptions,\n D extends PartialKeys<T>,\n> = {\n [P in keyof T]-?: unknown extends D[P]\n ? T[P]\n : T[P] extends Record<string, unknown>\n ? Omit<T[P], 'type' | 'default'> & {\n type: PropType<MergeDefault<T[P], D[P]>>;\n default: MergeDefault<T[P], D[P]>;\n }\n : {\n type: PropType<MergeDefault<T[P], D[P]>>;\n default: MergeDefault<T[P], D[P]>;\n };\n};\n\ntype MergeDefault<T, D> = unknown extends D\n ? InferPropType<T>\n : NonNullable<InferPropType<T>> | D;\n\ntype FollowPropType<T, P, D> = [T] extends [PropType<unknown>]\n ? T\n : PropType<MergeDefault<P, D>>;\n\ntype PartialKeys<T> = { [P in keyof T]?: unknown };\n\ntype InferPropType<T> = [T] extends [null]\n ? any // null & true would fail to infer\n : [T] extends [{ type: null | true }]\n ? // As TS issue https://github.com/Microsoft/TypeScript/issues/14829\n // somehow `ObjectConstructor` when inferred from { (): T } becomes `any`\n // `BooleanConstructor` when inferred from PropConstructor(with PropMethod) becomes `Boolean`\n any\n : [T] extends [ObjectConstructor | { type: ObjectConstructor }]\n ? Record<string, any>\n : [T] extends [BooleanConstructor | { type: BooleanConstructor }]\n ? boolean\n : [T] extends [DateConstructor | { type: DateConstructor }]\n ? Date\n : [T] extends [(infer U)[] | { type: (infer U)[] }]\n ? U extends DateConstructor\n ? Date | InferPropType<U>\n : InferPropType<U>\n : [T] extends [Prop<infer V, infer D>]\n ? unknown extends V\n ? IfAny<V, V, D>\n : V\n : T;\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,KAAK;AAAC,SAUxBC,WAAW;AAEpB,OAAO,SAASC,YAAYA,CAC1BC,KAAmB,EACnBC,MAAc,EACd;EACA,OACEC,QAAmB,IACgC;IACnD,OAAOC,MAAM,CAACC,IAAI,CAACJ,KAAK,CAAC,CAACK,MAAM,CAAM,CAACC,OAAO,EAAEC,IAAI,KAAK;MACvD,MAAMC,MAAM,GAAGR,KAAK,CAACO,IAAI,CAAC;MAC1B,MAAME,cAAc,GAClB,OAAOD,MAAM,KAAK,QAAQ,IAAIA,MAAM,IAAI,IAAI,IAAI,CAACE,KAAK,CAACC,OAAO,CAACH,MAAM,CAAC;MACxE,MAAMI,YAAY,GAAGH,cAAc,GAAGD,MAAM,GAAG;QAAEK,IAAI,EAAEL;MAAO,CAAC;MAC/D,IAAIN,QAAQ,IAAIK,IAAI,IAAIL,QAAQ,EAAE;QAChCI,OAAO,CAACC,IAAI,CAAC,GAAG;UACd,GAAGK,YAAY;UACfE,OAAO,EAAEZ,QAAQ,CAACK,IAAI;QACxB,CAAC;MACH,CAAC,MAAM;QACLD,OAAO,CAACC,IAAI,CAAC,GAAGK,YAAY;MAC9B;MAEA,IAAIX,MAAM,IAAI,CAACK,OAAO,CAACC,IAAI,CAAC,CAACN,MAAM,EAAE;QACnCK,OAAO,CAACC,IAAI,CAAC,CAACN,MAAM,GAAGA,MAAM;MAC/B;MACA,OAAOK,OAAO;IAChB,CAAC,EAAE,CAAC,CAAiB,CAAC;EACxB,CAAC;AACH;AAEA,OAAO,SAASS,WAAWA,CACzBf,KAAU,EACVgB,MAAoB,EACY;EAChC,OAAOb,MAAM,CAACC,IAAI,CAACY,MAAM,CAAC,CAACX,MAAM,CAAC,CAACY,GAAG,EAAEV,IAAI,KAAK;IAC/C,IAAIP,KAAK,IAAIO,IAAI,IAAIP,KAAK,EAAE;MAC1BiB,GAAG,CAACV,IAAI,CAAyC,GAAGP,KAAK,CAACO,IAAI,CAAC;IACjE;IACA,OAAOU,GAAG;EACZ,CAAC,EAAE,CAAC,CAAmC,CAAC;AAC1C;AAEA,OAAO,SAASC,YAAYA,CAAClB,KAA0B,EAAEa,IAAY,EAAE;EACrE,MAAMM,MAAM,GAAI,KAAItB,UAAU,CAACgB,IAAI,CAAE,EAAC;EACtC,OAAO,CAAC,EACNb,KAAK,CAACmB,MAAM,CAAC,IACbnB,KAAK,CAAE,GAAEmB,MAAO,MAAK,CAAC,IACtBnB,KAAK,CAAE,GAAEmB,MAAO,SAAQ,CAAC,IACzBnB,KAAK,CAAE,GAAEmB,MAAO,aAAY,CAAC,IAC7BnB,KAAK,CAAE,GAAEmB,MAAO,aAAY,CAAC,CAC9B;AACH;AAEA,OAAO,SAASC,aAAaA,CAACC,KAAY,EAAEd,IAAY,EAAE;EACxD,OACE,OAAOc,KAAK,CAACrB,KAAK,GAAGO,IAAI,CAAC,KAAK,WAAW,IAC1C,OAAOc,KAAK,CAACrB,KAAK,GAAGF,WAAW,CAACS,IAAI,CAAC,CAAC,KAAK,WAAW;AAE3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["YuyeonDateAdapter","createDateAdapter"],"sources":["../../../src/util/date/index.ts"],"sourcesContent":["export * from './built-in';\
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["YuyeonDateAdapter","createDateAdapter"],"sources":["../../../src/util/date/index.ts"],"sourcesContent":["export * from './built-in';\nexport { YuyeonDateAdapter } from './adapters/yuyeon-date-adapter';\n\nexport function createDateAdapter() {}\n"],"mappings":";SACSA,iBAAiB;AAE1B,OAAO,SAASC,iBAAiBA,CAAA,EAAG,CAAC"}
|
package/lib/util/dom.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.mjs","names":["documentRoot","domNode","root","getRootNode","document","composed","hasElementMouseEvent","mouseEvent","element","include","ShadowRoot","host","target","elements","push","some","el","contains","isOverflow","offsetWidth","scrollWidth"],"sources":["../../src/util/dom.ts"],"sourcesContent":["export function documentRoot(domNode: Node): null | HTMLDocument | ShadowRoot {\
|
|
1
|
+
{"version":3,"file":"dom.mjs","names":["documentRoot","domNode","root","getRootNode","document","composed","hasElementMouseEvent","mouseEvent","element","include","ShadowRoot","host","target","elements","push","some","el","contains","isOverflow","offsetWidth","scrollWidth"],"sources":["../../src/util/dom.ts"],"sourcesContent":["export function documentRoot(domNode: Node): null | HTMLDocument | ShadowRoot {\n const root = domNode.getRootNode();\n if (root !== document && root.getRootNode({ composed: true }) !== document)\n return null;\n return root as HTMLDocument | ShadowRoot;\n}\n\nexport function hasElementMouseEvent(\n mouseEvent: Event,\n element: HTMLElement,\n include?: HTMLElement[],\n): boolean {\n if (!mouseEvent) {\n return false;\n }\n const root = documentRoot(element);\n if (\n typeof ShadowRoot !== 'undefined' &&\n root instanceof ShadowRoot &&\n root.host === mouseEvent.target\n ) {\n return false;\n }\n const elements = include ?? [];\n elements.push(element);\n return !elements.some((el) => el?.contains(mouseEvent.target as Node));\n}\n\nexport function isOverflow(el: HTMLElement) {\n return el.offsetWidth < el.scrollWidth;\n}\n"],"mappings":"AAAA,OAAO,SAASA,YAAYA,CAACC,OAAa,EAAoC;EAC5E,MAAMC,IAAI,GAAGD,OAAO,CAACE,WAAW,CAAC,CAAC;EAClC,IAAID,IAAI,KAAKE,QAAQ,IAAIF,IAAI,CAACC,WAAW,CAAC;IAAEE,QAAQ,EAAE;EAAK,CAAC,CAAC,KAAKD,QAAQ,EACxE,OAAO,IAAI;EACb,OAAOF,IAAI;AACb;AAEA,OAAO,SAASI,oBAAoBA,CAClCC,UAAiB,EACjBC,OAAoB,EACpBC,OAAuB,EACd;EACT,IAAI,CAACF,UAAU,EAAE;IACf,OAAO,KAAK;EACd;EACA,MAAML,IAAI,GAAGF,YAAY,CAACQ,OAAO,CAAC;EAClC,IACE,OAAOE,UAAU,KAAK,WAAW,IACjCR,IAAI,YAAYQ,UAAU,IAC1BR,IAAI,CAACS,IAAI,KAAKJ,UAAU,CAACK,MAAM,EAC/B;IACA,OAAO,KAAK;EACd;EACA,MAAMC,QAAQ,GAAGJ,OAAO,IAAI,EAAE;EAC9BI,QAAQ,CAACC,IAAI,CAACN,OAAO,CAAC;EACtB,OAAO,CAACK,QAAQ,CAACE,IAAI,CAAEC,EAAE,IAAKA,EAAE,EAAEC,QAAQ,CAACV,UAAU,CAACK,MAAc,CAAC,CAAC;AACxE;AAEA,OAAO,SAASM,UAAUA,CAACF,EAAe,EAAE;EAC1C,OAAOA,EAAE,CAACG,WAAW,GAAGH,EAAE,CAACI,WAAW;AACxC"}
|
package/lib/util/reactivity.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivity.mjs","names":["computed","reactive","toRefs","watchEffect","$computed","getter","refs","base","key","value","flush"],"sources":["../../src/util/reactivity.ts"],"sourcesContent":["import type
|
|
1
|
+
{"version":3,"file":"reactivity.mjs","names":["computed","reactive","toRefs","watchEffect","$computed","getter","refs","base","key","value","flush"],"sources":["../../src/util/reactivity.ts"],"sourcesContent":["import {\n type ComputedGetter,\n computed,\n reactive,\n toRefs,\n watchEffect,\n} from 'vue';\n\n/**\n * For Destructuring assignment\n * @param getter\n */\nexport function $computed<T extends object>(getter: ComputedGetter<T>) {\n const refs = reactive({}) as T;\n const base = computed(getter);\n watchEffect(\n () => {\n for (const key in base.value) {\n refs[key] = base.value[key];\n }\n },\n { flush: 'sync' },\n );\n return toRefs(refs);\n}\n"],"mappings":"AAAA,SAEEA,QAAQ,EACRC,QAAQ,EACRC,MAAM,EACNC,WAAW,QACN,KAAK;;AAEZ;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAAmBC,MAAyB,EAAE;EACrE,MAAMC,IAAI,GAAGL,QAAQ,CAAC,CAAC,CAAC,CAAM;EAC9B,MAAMM,IAAI,GAAGP,QAAQ,CAACK,MAAM,CAAC;EAC7BF,WAAW,CACT,MAAM;IACJ,KAAK,MAAMK,GAAG,IAAID,IAAI,CAACE,KAAK,EAAE;MAC5BH,IAAI,CAACE,GAAG,CAAC,GAAGD,IAAI,CAACE,KAAK,CAACD,GAAG,CAAC;IAC7B;EACF,CAAC,EACD;IAAEE,KAAK,EAAE;EAAO,CAClB,CAAC;EACD,OAAOR,MAAM,CAACI,IAAI,CAAC;AACrB"}
|
package/lib/util/rect.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rect.mjs","names":["MutableRect","constructor","_ref","x","y","width","height","top","bottom","left","right","getOverflow","a","b","before","Math","max","after"],"sources":["../../src/util/rect.ts"],"sourcesContent":["export interface Rect {\
|
|
1
|
+
{"version":3,"file":"rect.mjs","names":["MutableRect","constructor","_ref","x","y","width","height","top","bottom","left","right","getOverflow","a","b","before","Math","max","after"],"sources":["../../src/util/rect.ts"],"sourcesContent":["export interface Rect {\n x: number;\n y: number;\n width: number;\n height: number;\n\n get top(): number;\n get bottom(): number;\n get left(): number;\n get right(): number;\n}\n\nexport class MutableRect implements Rect {\n public x: number;\n\n public y: number;\n\n public width: number;\n\n public height: number;\n\n constructor({\n x,\n y,\n width,\n height,\n }: {\n x: number;\n y: number;\n width: number;\n height: number;\n }) {\n this.x = x ?? 0;\n this.y = y ?? 0;\n this.width = width ?? 0;\n this.height = height ?? 0;\n }\n\n public get top(): number {\n return this.y;\n }\n\n public get bottom(): number {\n return this.y + this.height;\n }\n\n public get left(): number {\n return this.x;\n }\n\n public get right(): number {\n return this.x + this.width;\n }\n}\n\nexport function getOverflow(a: MutableRect, b: MutableRect) {\n return {\n x: {\n before: Math.max(0, b.left - a.left),\n after: Math.max(0, a.right - b.right),\n },\n y: {\n before: Math.max(0, b.top - a.top),\n after: Math.max(0, a.bottom - b.bottom),\n },\n };\n}\n"],"mappings":"AAYA,OAAO,MAAMA,WAAW,CAAiB;EASvCC,WAAWA,CAAAC,IAAA,EAUR;IAAA,IAVS;MACVC,CAAC;MACDC,CAAC;MACDC,KAAK;MACLC;IAMF,CAAC,GAAAJ,IAAA;IACC,IAAI,CAACC,CAAC,GAAGA,CAAC,IAAI,CAAC;IACf,IAAI,CAACC,CAAC,GAAGA,CAAC,IAAI,CAAC;IACf,IAAI,CAACC,KAAK,GAAGA,KAAK,IAAI,CAAC;IACvB,IAAI,CAACC,MAAM,GAAGA,MAAM,IAAI,CAAC;EAC3B;EAEA,IAAWC,GAAGA,CAAA,EAAW;IACvB,OAAO,IAAI,CAACH,CAAC;EACf;EAEA,IAAWI,MAAMA,CAAA,EAAW;IAC1B,OAAO,IAAI,CAACJ,CAAC,GAAG,IAAI,CAACE,MAAM;EAC7B;EAEA,IAAWG,IAAIA,CAAA,EAAW;IACxB,OAAO,IAAI,CAACN,CAAC;EACf;EAEA,IAAWO,KAAKA,CAAA,EAAW;IACzB,OAAO,IAAI,CAACP,CAAC,GAAG,IAAI,CAACE,KAAK;EAC5B;AACF;AAEA,OAAO,SAASM,WAAWA,CAACC,CAAc,EAAEC,CAAc,EAAE;EAC1D,OAAO;IACLV,CAAC,EAAE;MACDW,MAAM,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEH,CAAC,CAACJ,IAAI,GAAGG,CAAC,CAACH,IAAI,CAAC;MACpCQ,KAAK,EAAEF,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEJ,CAAC,CAACF,KAAK,GAAGG,CAAC,CAACH,KAAK;IACtC,CAAC;IACDN,CAAC,EAAE;MACDU,MAAM,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEH,CAAC,CAACN,GAAG,GAAGK,CAAC,CAACL,GAAG,CAAC;MAClCU,KAAK,EAAEF,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEJ,CAAC,CAACJ,MAAM,GAAGK,CAAC,CAACL,MAAM;IACxC;EACF,CAAC;AACH"}
|
package/lib/util/ui.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.mjs","names":["getBoundingPureRect","el","rect","getBoundingClientRect","style","getComputedStyle","tx","transform","sx","sy","dx","dy","startsWith","ta","slice","split","to","transformOrigin","x","parseFloat","y","indexOf","w","width","offsetWidth","h","height","offsetHeight","top","right","bottom","left","pixelRound","val","Math","round","devicePixelRatio","pixelCeil","ceil","toStyleSizeValue","size","unit","arguments","length","undefined","value","Number","isNaN","isFinite"],"sources":["../../src/util/ui.ts"],"sourcesContent":["export function getBoundingPureRect(el: HTMLElement) {\
|
|
1
|
+
{"version":3,"file":"ui.mjs","names":["getBoundingPureRect","el","rect","getBoundingClientRect","style","getComputedStyle","tx","transform","sx","sy","dx","dy","startsWith","ta","slice","split","to","transformOrigin","x","parseFloat","y","indexOf","w","width","offsetWidth","h","height","offsetHeight","top","right","bottom","left","pixelRound","val","Math","round","devicePixelRatio","pixelCeil","ceil","toStyleSizeValue","size","unit","arguments","length","undefined","value","Number","isNaN","isFinite"],"sources":["../../src/util/ui.ts"],"sourcesContent":["export function getBoundingPureRect(el: HTMLElement) {\n const rect = el.getBoundingClientRect();\n const style = getComputedStyle(el);\n const tx = style.transform;\n\n if (tx) {\n let sx, sy, dx, dy;\n if (tx.startsWith('matrix3d(')) {\n const ta = tx.slice(9, -1).split(/, /);\n sx = +ta[0];\n sy = +ta[5];\n dx = +ta[12];\n dy = +ta[13];\n } else if (tx.startsWith('matrix(')) {\n const ta = tx.slice(7, -1).split(/, /);\n sx = +ta[0];\n sy = +ta[3];\n dx = +ta[4];\n dy = +ta[5];\n } else {\n return rect;\n }\n\n const to = style.transformOrigin;\n const x = rect.x - dx - (1 - sx) * parseFloat(to);\n const y =\n rect.y - dy - (1 - sy) * parseFloat(to.slice(to.indexOf(' ') + 1));\n const w = sx ? rect.width / sx : el.offsetWidth;\n const h = sy ? rect.height / sy : el.offsetHeight;\n return {\n x: x,\n y: y,\n width: w,\n height: h,\n top: y,\n right: x + w,\n bottom: y + h,\n left: x,\n } as DOMRect;\n } else {\n return rect;\n }\n}\n\nexport function pixelRound (val: number) {\n return Math.round(val * devicePixelRatio) / devicePixelRatio\n}\n\nexport function pixelCeil (val: number) {\n return Math.ceil(val * devicePixelRatio) / devicePixelRatio\n}\n\nexport function toStyleSizeValue(\n size: number | string | null | undefined,\n unit = 'px',\n): string | undefined {\n if (size == null || size === '') {\n return undefined;\n }\n let value = Number(size);\n if (typeof(size) === 'string' && isNaN(value)) {\n return size;\n } else if (!isFinite(value)) {\n return undefined;\n }\n\n return `${value}${unit}`;\n}\n"],"mappings":"AAAA,OAAO,SAASA,mBAAmBA,CAACC,EAAe,EAAE;EACnD,MAAMC,IAAI,GAAGD,EAAE,CAACE,qBAAqB,CAAC,CAAC;EACvC,MAAMC,KAAK,GAAGC,gBAAgB,CAACJ,EAAE,CAAC;EAClC,MAAMK,EAAE,GAAGF,KAAK,CAACG,SAAS;EAE1B,IAAID,EAAE,EAAE;IACN,IAAIE,EAAE,EAAEC,EAAE,EAAEC,EAAE,EAAEC,EAAE;IAClB,IAAIL,EAAE,CAACM,UAAU,CAAC,WAAW,CAAC,EAAE;MAC9B,MAAMC,EAAE,GAAGP,EAAE,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,IAAI,CAAC;MACtCP,EAAE,GAAG,CAACK,EAAE,CAAC,CAAC,CAAC;MACXJ,EAAE,GAAG,CAACI,EAAE,CAAC,CAAC,CAAC;MACXH,EAAE,GAAG,CAACG,EAAE,CAAC,EAAE,CAAC;MACZF,EAAE,GAAG,CAACE,EAAE,CAAC,EAAE,CAAC;IACd,CAAC,MAAM,IAAIP,EAAE,CAACM,UAAU,CAAC,SAAS,CAAC,EAAE;MACnC,MAAMC,EAAE,GAAGP,EAAE,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,IAAI,CAAC;MACtCP,EAAE,GAAG,CAACK,EAAE,CAAC,CAAC,CAAC;MACXJ,EAAE,GAAG,CAACI,EAAE,CAAC,CAAC,CAAC;MACXH,EAAE,GAAG,CAACG,EAAE,CAAC,CAAC,CAAC;MACXF,EAAE,GAAG,CAACE,EAAE,CAAC,CAAC,CAAC;IACb,CAAC,MAAM;MACL,OAAOX,IAAI;IACb;IAEA,MAAMc,EAAE,GAAGZ,KAAK,CAACa,eAAe;IAChC,MAAMC,CAAC,GAAGhB,IAAI,CAACgB,CAAC,GAAGR,EAAE,GAAG,CAAC,CAAC,GAAGF,EAAE,IAAIW,UAAU,CAACH,EAAE,CAAC;IACjD,MAAMI,CAAC,GACLlB,IAAI,CAACkB,CAAC,GAAGT,EAAE,GAAG,CAAC,CAAC,GAAGF,EAAE,IAAIU,UAAU,CAACH,EAAE,CAACF,KAAK,CAACE,EAAE,CAACK,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IACpE,MAAMC,CAAC,GAAGd,EAAE,GAAGN,IAAI,CAACqB,KAAK,GAAGf,EAAE,GAAGP,EAAE,CAACuB,WAAW;IAC/C,MAAMC,CAAC,GAAGhB,EAAE,GAAGP,IAAI,CAACwB,MAAM,GAAGjB,EAAE,GAAGR,EAAE,CAAC0B,YAAY;IACjD,OAAO;MACLT,CAAC,EAAEA,CAAC;MACJE,CAAC,EAAEA,CAAC;MACJG,KAAK,EAAED,CAAC;MACRI,MAAM,EAAED,CAAC;MACTG,GAAG,EAAER,CAAC;MACNS,KAAK,EAAEX,CAAC,GAAGI,CAAC;MACZQ,MAAM,EAAEV,CAAC,GAAGK,CAAC;MACbM,IAAI,EAAEb;IACR,CAAC;EACH,CAAC,MAAM;IACL,OAAOhB,IAAI;EACb;AACF;AAEA,OAAO,SAAS8B,UAAUA,CAAEC,GAAW,EAAE;EACvC,OAAOC,IAAI,CAACC,KAAK,CAACF,GAAG,GAAGG,gBAAgB,CAAC,GAAGA,gBAAgB;AAC9D;AAEA,OAAO,SAASC,SAASA,CAAEJ,GAAW,EAAE;EACtC,OAAOC,IAAI,CAACI,IAAI,CAACL,GAAG,GAAGG,gBAAgB,CAAC,GAAGA,gBAAgB;AAC7D;AAEA,OAAO,SAASG,gBAAgBA,CAC9BC,IAAwC,EAEpB;EAAA,IADpBC,IAAI,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,IAAI;EAEX,IAAIF,IAAI,IAAI,IAAI,IAAIA,IAAI,KAAK,EAAE,EAAE;IAC/B,OAAOI,SAAS;EAClB;EACA,IAAIC,KAAK,GAAGC,MAAM,CAACN,IAAI,CAAC;EACxB,IAAI,OAAOA,IAAK,KAAK,QAAQ,IAAIO,KAAK,CAACF,KAAK,CAAC,EAAE;IAC7C,OAAOL,IAAI;EACb,CAAC,MAAM,IAAI,CAACQ,QAAQ,CAACH,KAAK,CAAC,EAAE;IAC3B,OAAOD,SAAS;EAClB;EAEA,OAAQ,GAAEC,KAAM,GAAEJ,IAAK,EAAC;AAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.mjs","names":["REQUIRE_RULE","value"],"sources":["../../src/util/validation.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"validation.mjs","names":["REQUIRE_RULE","value"],"sources":["../../src/util/validation.ts"],"sourcesContent":["export function REQUIRE_RULE(value: any): boolean {\n return !!value;\n}\n\nexport default {};\n"],"mappings":"AAAA,OAAO,SAASA,YAAYA,CAACC,KAAU,EAAW;EAChD,OAAO,CAAC,CAACA,KAAK;AAChB;AAEA,eAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
12
12
|
} : Omit<{
|
|
13
13
|
type: PropType<any[]>;
|
|
14
14
|
default: () => never[];
|
|
15
|
-
}, "
|
|
15
|
+
}, "type" | "default"> & {
|
|
16
16
|
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
17
17
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
18
18
|
};
|
|
@@ -22,7 +22,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
22
22
|
} : Omit<{
|
|
23
23
|
type: PropType<string>;
|
|
24
24
|
default: string;
|
|
25
|
-
}, "
|
|
25
|
+
}, "type" | "default"> & {
|
|
26
26
|
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
27
27
|
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
28
28
|
};
|
|
@@ -32,7 +32,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
32
32
|
} : Omit<{
|
|
33
33
|
type: PropType<string>;
|
|
34
34
|
default: string;
|
|
35
|
-
}, "
|
|
35
|
+
}, "type" | "default"> & {
|
|
36
36
|
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
37
37
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
38
38
|
};
|
|
@@ -42,7 +42,7 @@ export declare const pressItemsPropsOptions: <Defaults extends {
|
|
|
42
42
|
} : Omit<{
|
|
43
43
|
type: PropType<string | boolean>;
|
|
44
44
|
default: string;
|
|
45
|
-
}, "
|
|
45
|
+
}, "type" | "default"> & {
|
|
46
46
|
type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"]>;
|
|
47
47
|
default: unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"];
|
|
48
48
|
};
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const YApp: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
6
|
[key: string]: any;
|
|
7
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
7
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
8
8
|
export type YApp = InstanceType<typeof YApp>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
2
|
import { IconValue } from '../../composables/icon';
|
|
3
3
|
|
|
4
4
|
export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
@@ -21,7 +21,7 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
21
21
|
} : Omit<{
|
|
22
22
|
type: PropType<string>;
|
|
23
23
|
default: string;
|
|
24
|
-
}, "
|
|
24
|
+
}, "type" | "default"> & {
|
|
25
25
|
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
26
26
|
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
27
27
|
};
|
|
@@ -59,7 +59,7 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
59
59
|
} : Omit<{
|
|
60
60
|
type: StringConstructor;
|
|
61
61
|
default: string;
|
|
62
|
-
}, "
|
|
62
|
+
}, "type" | "default"> & {
|
|
63
63
|
type: PropType<unknown extends Defaults["label"] ? string : string | Defaults["label"]>;
|
|
64
64
|
default: unknown extends Defaults["label"] ? string : string | Defaults["label"];
|
|
65
65
|
};
|
|
@@ -77,7 +77,7 @@ export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
|
77
77
|
} : Omit<{
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: string;
|
|
80
|
-
}, "
|
|
80
|
+
}, "type" | "default"> & {
|
|
81
81
|
type: PropType<unknown extends Defaults["transition"] ? string : string | Defaults["transition"]>;
|
|
82
82
|
default: unknown extends Defaults["transition"] ? string : string | Defaults["transition"];
|
|
83
83
|
};
|
|
@@ -104,39 +104,5 @@ export declare const YBadge: import('vue').DefineComponent<{
|
|
|
104
104
|
type: StringConstructor;
|
|
105
105
|
default: string;
|
|
106
106
|
};
|
|
107
|
-
}, void,
|
|
108
|
-
tag: {
|
|
109
|
-
type: PropType<string>;
|
|
110
|
-
default: string;
|
|
111
|
-
};
|
|
112
|
-
dot: BooleanConstructor;
|
|
113
|
-
bordered: BooleanConstructor;
|
|
114
|
-
floating: BooleanConstructor;
|
|
115
|
-
inline: BooleanConstructor;
|
|
116
|
-
icon: PropType<IconValue>;
|
|
117
|
-
color: StringConstructor;
|
|
118
|
-
hide: BooleanConstructor;
|
|
119
|
-
label: {
|
|
120
|
-
type: StringConstructor;
|
|
121
|
-
default: string;
|
|
122
|
-
};
|
|
123
|
-
content: (NumberConstructor | StringConstructor)[];
|
|
124
|
-
max: NumberConstructor;
|
|
125
|
-
transition: {
|
|
126
|
-
type: StringConstructor;
|
|
127
|
-
default: string;
|
|
128
|
-
};
|
|
129
|
-
}>>, {
|
|
130
|
-
label: string;
|
|
131
|
-
floating: boolean;
|
|
132
|
-
transition: string;
|
|
133
|
-
inline: boolean;
|
|
134
|
-
hide: boolean;
|
|
135
|
-
dot: boolean;
|
|
136
|
-
tag: string;
|
|
137
|
-
bordered: boolean;
|
|
138
|
-
}, SlotsType<{
|
|
139
|
-
default: any;
|
|
140
|
-
badge: any;
|
|
141
|
-
}>>;
|
|
107
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
142
108
|
export type YBadge = InstanceType<typeof YBadge>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* # Base Component
|
|
3
3
|
*/
|
|
4
|
-
export declare const YBench: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
4
|
+
export declare const YBench: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
@@ -58,7 +58,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
58
58
|
} : Omit<{
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: undefined;
|
|
61
|
-
}, "
|
|
61
|
+
}, "type" | "default"> & {
|
|
62
62
|
type: PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
|
|
63
63
|
default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
|
|
64
64
|
};
|
|
@@ -68,7 +68,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
68
68
|
} : Omit<{
|
|
69
69
|
type: null;
|
|
70
70
|
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
71
|
-
}, "
|
|
71
|
+
}, "type" | "default"> & {
|
|
72
72
|
type: PropType<unknown extends Defaults["injectSymbol"] ? any : any>;
|
|
73
73
|
default: unknown extends Defaults["injectSymbol"] ? any : any;
|
|
74
74
|
};
|
|
@@ -76,7 +76,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
76
76
|
type: PropType<string>;
|
|
77
77
|
} : Omit<{
|
|
78
78
|
type: PropType<string>;
|
|
79
|
-
}, "
|
|
79
|
+
}, "type" | "default"> & {
|
|
80
80
|
type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
|
|
81
81
|
default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
|
|
82
82
|
};
|
|
@@ -94,7 +94,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
94
94
|
} : Omit<{
|
|
95
95
|
type: BooleanConstructor;
|
|
96
96
|
default: boolean;
|
|
97
|
-
}, "
|
|
97
|
+
}, "type" | "default"> & {
|
|
98
98
|
type: PropType<unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"]>;
|
|
99
99
|
default: unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"];
|
|
100
100
|
};
|
|
@@ -104,7 +104,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
104
104
|
} : Omit<{
|
|
105
105
|
type: BooleanConstructor;
|
|
106
106
|
default: boolean;
|
|
107
|
-
}, "
|
|
107
|
+
}, "type" | "default"> & {
|
|
108
108
|
type: PropType<unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"]>;
|
|
109
109
|
default: unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"];
|
|
110
110
|
};
|
|
@@ -114,7 +114,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
114
114
|
} : Omit<{
|
|
115
115
|
type: BooleanConstructor;
|
|
116
116
|
default: boolean;
|
|
117
|
-
}, "
|
|
117
|
+
}, "type" | "default"> & {
|
|
118
118
|
type: PropType<unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"]>;
|
|
119
119
|
default: unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"];
|
|
120
120
|
};
|
|
@@ -122,7 +122,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
122
122
|
type: StringConstructor;
|
|
123
123
|
} : Omit<{
|
|
124
124
|
type: StringConstructor;
|
|
125
|
-
}, "
|
|
125
|
+
}, "type" | "default"> & {
|
|
126
126
|
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
127
127
|
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
128
128
|
};
|
|
@@ -132,7 +132,7 @@ export declare const pressYButtonProps: <Defaults extends {
|
|
|
132
132
|
} : Omit<{
|
|
133
133
|
type: BooleanConstructor;
|
|
134
134
|
default: boolean;
|
|
135
|
-
}, "
|
|
135
|
+
}, "type" | "default"> & {
|
|
136
136
|
type: PropType<unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"]>;
|
|
137
137
|
default: unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"];
|
|
138
138
|
};
|
|
@@ -180,69 +180,10 @@ export declare const YButton: import('vue').DefineComponent<{
|
|
|
180
180
|
};
|
|
181
181
|
}, {
|
|
182
182
|
link: import('../../composables/vue-router').UseLink;
|
|
183
|
-
},
|
|
183
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
184
184
|
click: (event: MouseEvent) => true;
|
|
185
185
|
'choice:selected': (choice: {
|
|
186
186
|
value: boolean;
|
|
187
187
|
}) => true;
|
|
188
|
-
}, string
|
|
189
|
-
value: null;
|
|
190
|
-
disabled: BooleanConstructor;
|
|
191
|
-
selectedClass: StringConstructor;
|
|
192
|
-
href: StringConstructor;
|
|
193
|
-
replace: BooleanConstructor;
|
|
194
|
-
to: PropType<import('vue-router').RouteLocationRaw>;
|
|
195
|
-
exact: BooleanConstructor;
|
|
196
|
-
loading: BooleanConstructor;
|
|
197
|
-
active: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: undefined;
|
|
200
|
-
};
|
|
201
|
-
injectSymbol: {
|
|
202
|
-
type: null;
|
|
203
|
-
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
204
|
-
};
|
|
205
|
-
variation: {
|
|
206
|
-
type: PropType<string>;
|
|
207
|
-
};
|
|
208
|
-
small: BooleanConstructor;
|
|
209
|
-
icon: BooleanConstructor;
|
|
210
|
-
outlined: {
|
|
211
|
-
type: BooleanConstructor;
|
|
212
|
-
default: boolean;
|
|
213
|
-
};
|
|
214
|
-
rounded: {
|
|
215
|
-
type: BooleanConstructor;
|
|
216
|
-
default: boolean;
|
|
217
|
-
};
|
|
218
|
-
filled: {
|
|
219
|
-
type: BooleanConstructor;
|
|
220
|
-
default: boolean;
|
|
221
|
-
};
|
|
222
|
-
color: {
|
|
223
|
-
type: StringConstructor;
|
|
224
|
-
};
|
|
225
|
-
noWave: {
|
|
226
|
-
type: BooleanConstructor;
|
|
227
|
-
default: boolean;
|
|
228
|
-
};
|
|
229
|
-
}>> & {
|
|
230
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
231
|
-
"onChoice:selected"?: ((choice: {
|
|
232
|
-
value: boolean;
|
|
233
|
-
}) => any) | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
small: boolean;
|
|
236
|
-
replace: boolean;
|
|
237
|
-
disabled: boolean;
|
|
238
|
-
exact: boolean;
|
|
239
|
-
loading: boolean;
|
|
240
|
-
active: boolean;
|
|
241
|
-
injectSymbol: any;
|
|
242
|
-
icon: boolean;
|
|
243
|
-
outlined: boolean;
|
|
244
|
-
rounded: boolean;
|
|
245
|
-
filled: boolean;
|
|
246
|
-
noWave: boolean;
|
|
247
|
-
}, {}>;
|
|
188
|
+
}, string>;
|
|
248
189
|
export type YButton = InstanceType<typeof YButton>;
|
|
@@ -5,10 +5,5 @@ export declare const YCard: import('vue').DefineComponent<{
|
|
|
5
5
|
outline: {
|
|
6
6
|
type: PropType<boolean>;
|
|
7
7
|
};
|
|
8
|
-
}, void,
|
|
9
|
-
theme: PropType<string>;
|
|
10
|
-
outline: {
|
|
11
|
-
type: PropType<boolean>;
|
|
12
|
-
};
|
|
13
|
-
}>>, {}, {}>;
|
|
8
|
+
}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
14
9
|
export type YCard = InstanceType<typeof YCard>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardBody: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
1
|
+
export declare const YCardBody: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
2
2
|
export type YCardBody = InstanceType<typeof YCardBody>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardFooter: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
1
|
+
export declare const YCardFooter: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
2
2
|
export type YCardFooter = InstanceType<typeof YCardFooter>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const YCardHeader: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
1
|
+
export declare const YCardHeader: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
2
2
|
export type YCardHeader = InstanceType<typeof YCardHeader>;
|
|
@@ -19,30 +19,5 @@ export declare const YCheckbox: import('vue').DefineComponent<{
|
|
|
19
19
|
readonly: PropType<boolean>;
|
|
20
20
|
}, {
|
|
21
21
|
checked: import('vue').Ref<boolean>;
|
|
22
|
-
},
|
|
23
|
-
modelValue: PropType<boolean | any[]>;
|
|
24
|
-
value: PropType<any>;
|
|
25
|
-
label: PropType<string>;
|
|
26
|
-
reverse: PropType<boolean>;
|
|
27
|
-
icon: {
|
|
28
|
-
type: PropType<string | {
|
|
29
|
-
checked?: string | undefined;
|
|
30
|
-
unchecked?: string | undefined;
|
|
31
|
-
}>;
|
|
32
|
-
};
|
|
33
|
-
color: {
|
|
34
|
-
type: PropType<string>;
|
|
35
|
-
default: () => string;
|
|
36
|
-
};
|
|
37
|
-
disabled: PropType<boolean>;
|
|
38
|
-
readonly: PropType<boolean>;
|
|
39
|
-
}>> & {
|
|
40
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
color: string;
|
|
47
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "update:modelValue")[], "blur" | "change" | "click" | "focus" | "update:modelValue">;
|
|
48
23
|
export type YCheckbox = InstanceType<typeof YCheckbox>;
|
|
@@ -22,34 +22,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
checked: BooleanConstructor;
|
|
23
23
|
indeterminate: BooleanConstructor;
|
|
24
24
|
disabled: BooleanConstructor;
|
|
25
|
-
}, unknown,
|
|
26
|
-
checked: BooleanConstructor;
|
|
27
|
-
indeterminate: BooleanConstructor;
|
|
28
|
-
disabled: BooleanConstructor;
|
|
29
|
-
}>>, {
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
indeterminate: boolean;
|
|
32
|
-
checked: boolean;
|
|
33
|
-
}, {}> | null;
|
|
25
|
+
}, unknown, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string> | null;
|
|
34
26
|
}, {
|
|
35
27
|
onFocus(e: FocusEvent): void;
|
|
36
28
|
onBlur(e: FocusEvent): void;
|
|
37
29
|
onClick(event: MouseEvent): void;
|
|
38
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "focus")[], "blur" | "click" | "focus"
|
|
39
|
-
id: PropType<string>;
|
|
40
|
-
value: PropType<boolean>;
|
|
41
|
-
icon: PropType<string>;
|
|
42
|
-
color: {
|
|
43
|
-
type: PropType<string>;
|
|
44
|
-
default: () => string;
|
|
45
|
-
};
|
|
46
|
-
disabled: PropType<boolean>;
|
|
47
|
-
readonly: PropType<boolean>;
|
|
48
|
-
}>> & {
|
|
49
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
color: string;
|
|
54
|
-
}, {}>;
|
|
30
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "focus")[], "blur" | "click" | "focus">;
|
|
55
31
|
export default _default;
|
|
@@ -7,7 +7,7 @@ export declare const YChip: import('vue').DefineComponent<{
|
|
|
7
7
|
type: NumberConstructor;
|
|
8
8
|
default: number;
|
|
9
9
|
};
|
|
10
|
-
}, unknown,
|
|
10
|
+
}, unknown, {}, {
|
|
11
11
|
clickable(): boolean;
|
|
12
12
|
classes(): {
|
|
13
13
|
'y-chip': boolean;
|
|
@@ -21,16 +21,5 @@ export declare const YChip: import('vue').DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
23
|
colorRgb(color: string): string;
|
|
24
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string
|
|
25
|
-
color: StringConstructor;
|
|
26
|
-
background: StringConstructor;
|
|
27
|
-
small: BooleanConstructor;
|
|
28
|
-
bgOpacity: {
|
|
29
|
-
type: NumberConstructor;
|
|
30
|
-
default: number;
|
|
31
|
-
};
|
|
32
|
-
}>>, {
|
|
33
|
-
small: boolean;
|
|
34
|
-
bgOpacity: number;
|
|
35
|
-
}, {}>;
|
|
24
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
36
25
|
export type YChip = InstanceType<typeof YChip>;
|
|
@@ -65,7 +65,7 @@ export declare const pressYDateCalendarPropsOptions: <Defaults extends {
|
|
|
65
65
|
} : Omit<{
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: boolean;
|
|
68
|
-
}, "
|
|
68
|
+
}, "type" | "default"> & {
|
|
69
69
|
type: PropType<unknown extends Defaults["showAdjacentMonthDates"] ? boolean : boolean | Defaults["showAdjacentMonthDates"]>;
|
|
70
70
|
default: unknown extends Defaults["showAdjacentMonthDates"] ? boolean : boolean | Defaults["showAdjacentMonthDates"];
|
|
71
71
|
};
|
|
@@ -107,37 +107,9 @@ export declare const YDateCalendar: import('vue').DefineComponent<{
|
|
|
107
107
|
model: import('vue').Ref<any> & {
|
|
108
108
|
readonly rxValue: any;
|
|
109
109
|
};
|
|
110
|
-
},
|
|
110
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
111
|
'update:modelValue': (date: any) => boolean;
|
|
112
112
|
'update:year': (date: any) => boolean;
|
|
113
113
|
'update:month': (date: any) => boolean;
|
|
114
|
-
}, string
|
|
115
|
-
year: (NumberConstructor | StringConstructor)[];
|
|
116
|
-
month: (NumberConstructor | StringConstructor)[];
|
|
117
|
-
modelValue: PropType<unknown[]>;
|
|
118
|
-
multiple: BooleanConstructor;
|
|
119
|
-
range: BooleanConstructor;
|
|
120
|
-
allowedDates: (ArrayConstructor | FunctionConstructor)[];
|
|
121
|
-
max: PropType<unknown>;
|
|
122
|
-
min: PropType<unknown>;
|
|
123
|
-
disabled: BooleanConstructor;
|
|
124
|
-
color: StringConstructor;
|
|
125
|
-
hideWeekdays: BooleanConstructor;
|
|
126
|
-
showAdjacentMonthDates: {
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
130
|
-
hideHeader: BooleanConstructor;
|
|
131
|
-
}>> & {
|
|
132
|
-
"onUpdate:modelValue"?: ((date: any) => any) | undefined;
|
|
133
|
-
"onUpdate:year"?: ((date: any) => any) | undefined;
|
|
134
|
-
"onUpdate:month"?: ((date: any) => any) | undefined;
|
|
135
|
-
}, {
|
|
136
|
-
disabled: boolean;
|
|
137
|
-
multiple: boolean;
|
|
138
|
-
range: boolean;
|
|
139
|
-
hideWeekdays: boolean;
|
|
140
|
-
showAdjacentMonthDates: boolean;
|
|
141
|
-
hideHeader: boolean;
|
|
142
|
-
}, {}>;
|
|
114
|
+
}, string>;
|
|
143
115
|
export type YDateCalendar = InstanceType<typeof YDateCalendar>;
|