yuyeon 0.3.4-rc.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/yuyeon.js +4170 -3976
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/abstract/items.js.map +1 -1
- package/lib/components/alert/YAlert.js +3 -4
- package/lib/components/alert/YAlert.js.map +1 -1
- package/lib/components/alert/index.js.map +1 -1
- package/lib/components/app/YApp.js +2 -2
- package/lib/components/app/YApp.js.map +1 -1
- package/lib/components/app/index.js.map +1 -1
- package/lib/components/badge/YBadge.js +7 -5
- package/lib/components/badge/YBadge.js.map +1 -1
- package/lib/components/badge/YBadge.scss +3 -2
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/bench/YBench.js +3 -4
- package/lib/components/bench/YBench.js.map +1 -1
- package/lib/components/bench/index.js.map +1 -1
- package/lib/components/button/YButton.js +1 -2
- package/lib/components/button/YButton.js.map +1 -1
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/card/YCard.js.map +1 -1
- package/lib/components/card/YCard.scss +2 -2
- package/lib/components/card/YCardBody.js.map +1 -1
- package/lib/components/card/YCardFooter.js.map +1 -1
- package/lib/components/card/YCardHeader.js.map +1 -1
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/YCheckbox.js +1 -2
- package/lib/components/checkbox/YCheckbox.js.map +1 -1
- package/lib/components/checkbox/YInputCheckbox.js +1 -2
- package/lib/components/checkbox/YInputCheckbox.js.map +1 -1
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/chip/YChip.js +1 -2
- package/lib/components/chip/YChip.js.map +1 -1
- package/lib/components/chip/index.js.map +1 -1
- package/lib/components/date-picker/YDateCalendar.js +59 -54
- package/lib/components/date-picker/YDateCalendar.js.map +1 -1
- package/lib/components/date-picker/YDatePicker.js +24 -25
- package/lib/components/date-picker/YDatePicker.js.map +1 -1
- package/lib/components/date-picker/YDatePickerControl.js +19 -20
- package/lib/components/date-picker/YDatePickerControl.js.map +1 -1
- package/lib/components/date-picker/YMonthPicker.js +10 -11
- package/lib/components/date-picker/YMonthPicker.js.map +1 -1
- package/lib/components/date-picker/YYearPicker.js +11 -13
- package/lib/components/date-picker/YYearPicker.js.map +1 -1
- package/lib/components/date-picker/index.js.map +1 -1
- package/lib/components/default-provider/YDefaultProvider.js.map +1 -1
- package/lib/components/default-provider/index.js.map +1 -1
- package/lib/components/dialog/YDialog.js +32 -32
- package/lib/components/dialog/YDialog.js.map +1 -1
- package/lib/components/dialog/index.js.map +1 -1
- package/lib/components/divider/YDivider.js +5 -5
- package/lib/components/divider/YDivider.js.map +1 -1
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/draggable/YDraggable.js +10 -11
- package/lib/components/draggable/YDraggable.js.map +1 -1
- package/lib/components/draggable/index.js.map +1 -1
- package/lib/components/dropdown/YDropdown.js +16 -17
- package/lib/components/dropdown/YDropdown.js.map +1 -1
- package/lib/components/dropdown/index.js.map +1 -1
- package/lib/components/field-input/YFieldInput.js +39 -39
- package/lib/components/field-input/YFieldInput.js.map +1 -1
- package/lib/components/field-input/index.js.map +1 -1
- package/lib/components/form/YForm.js +12 -14
- package/lib/components/form/YForm.js.map +1 -1
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/hover/YHover.js +9 -8
- package/lib/components/hover/YHover.js.map +1 -1
- package/lib/components/hover/index.js.map +1 -1
- package/lib/components/icon/YIcon.js +2 -4
- package/lib/components/icon/YIcon.js.map +1 -1
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/icons/YIconCheckbox.js +7 -6
- package/lib/components/icons/YIconCheckbox.js.map +1 -1
- package/lib/components/icons/YIconClear.js +2 -1
- package/lib/components/icons/YIconClear.js.map +1 -1
- package/lib/components/icons/YIconDropdown.js +2 -1
- package/lib/components/icons/YIconDropdown.js.map +1 -1
- package/lib/components/icons/YIconExpand.js +1 -0
- package/lib/components/icons/YIconExpand.js.map +1 -1
- package/lib/components/icons/YIconPageControl.js +7 -6
- package/lib/components/icons/YIconPageControl.js.map +1 -1
- package/lib/components/icons/YIconSort.js +6 -5
- package/lib/components/icons/YIconSort.js.map +1 -1
- package/lib/components/icons/YIconSort.scss +2 -0
- package/lib/components/icons/index.js.map +1 -1
- package/lib/components/img/YImg.js +42 -37
- package/lib/components/img/YImg.js.map +1 -1
- package/lib/components/img/index.js +1 -1
- package/lib/components/img/index.js.map +1 -1
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/YInput.js +1 -2
- package/lib/components/input/YInput.js.map +1 -1
- package/lib/components/input/YInput.scss +9 -8
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/ip-field/YIpv4Field.js +1 -2
- package/lib/components/ip-field/YIpv4Field.js.map +1 -1
- package/lib/components/ip-field/index.js.map +1 -1
- package/lib/components/layer/YLayer.js +38 -25
- package/lib/components/layer/YLayer.js.map +1 -1
- package/lib/components/layer/active-delay.js.map +1 -1
- package/lib/components/layer/active-stack.js.map +1 -1
- package/lib/components/layer/base.js +11 -1
- package/lib/components/layer/base.js.map +1 -1
- package/lib/components/layer/content.js.map +1 -1
- package/lib/components/layer/index.js.map +1 -1
- package/lib/components/layer/scroll-strategies.js.map +1 -1
- package/lib/components/list/YList.js +1 -2
- package/lib/components/list/YList.js.map +1 -1
- package/lib/components/list/YListItem.js +1 -2
- package/lib/components/list/YListItem.js.map +1 -1
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/loading/YSpinnerRing.js.map +1 -1
- package/lib/components/loading/index.js.map +1 -1
- package/lib/components/menu/YMenu.js +24 -27
- package/lib/components/menu/YMenu.js.map +1 -1
- package/lib/components/menu/YMenu.scss +3 -4
- package/lib/components/menu/index.js.map +1 -1
- package/lib/components/navigation/YNavigation.js +1 -2
- package/lib/components/navigation/YNavigation.js.map +1 -1
- package/lib/components/navigation/index.js.map +1 -1
- package/lib/components/pagination/YPagination.js +1 -2
- package/lib/components/pagination/YPagination.js.map +1 -1
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/panel/YDividePanel.js +1 -2
- package/lib/components/panel/YDividePanel.js.map +1 -1
- package/lib/components/panel/YDividePanel.scss +1 -0
- package/lib/components/panel/index.js.map +1 -1
- package/lib/components/plate/YPlate.js +3 -4
- package/lib/components/plate/YPlate.js.map +1 -1
- package/lib/components/plate/index.js.map +1 -1
- package/lib/components/progress-bar/YProgressBar.js +1 -2
- package/lib/components/progress-bar/YProgressBar.js.map +1 -1
- package/lib/components/progress-bar/index.js.map +1 -1
- package/lib/components/progress-ring/YProgressRing.js +3 -4
- package/lib/components/progress-ring/YProgressRing.js.map +1 -1
- package/lib/components/progress-ring/index.js.map +1 -1
- package/lib/components/radio/YRadio.js +1 -1
- package/lib/components/radio/YRadio.js.map +1 -1
- package/lib/components/radio/YRadioIcon.js.map +1 -1
- package/lib/components/radio/YRadioIcon.scss +2 -3
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/select/YSelect.js +41 -42
- package/lib/components/select/YSelect.js.map +1 -1
- package/lib/components/select/index.js.map +1 -1
- package/lib/components/slider/YSlider.js.map +1 -1
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/slider/slider.js.map +1 -1
- package/lib/components/snackbar/YSnackbar.js +6 -6
- package/lib/components/snackbar/YSnackbar.js.map +1 -1
- package/lib/components/snackbar/index.js.map +1 -1
- package/lib/components/switch/YSwitch.js +1 -2
- package/lib/components/switch/YSwitch.js.map +1 -1
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/tab/YTab.js +2 -3
- package/lib/components/tab/YTab.js.map +1 -1
- package/lib/components/tab/YTab.scss +1 -1
- package/lib/components/tab/YTabs.js +1 -2
- package/lib/components/tab/YTabs.js.map +1 -1
- package/lib/components/tab/index.js.map +1 -1
- package/lib/components/tab/shared.js.map +1 -1
- package/lib/components/tab/types.js.map +1 -1
- package/lib/components/table/YDataTable.js +1 -2
- package/lib/components/table/YDataTable.js.map +1 -1
- package/lib/components/table/YDataTableBody.js +2 -3
- package/lib/components/table/YDataTableBody.js.map +1 -1
- package/lib/components/table/YDataTableCell.js +1 -2
- package/lib/components/table/YDataTableCell.js.map +1 -1
- package/lib/components/table/YDataTableControl.js +1 -1
- package/lib/components/table/YDataTableControl.js.map +1 -1
- package/lib/components/table/YDataTableHead.js +1 -1
- package/lib/components/table/YDataTableHead.js.map +1 -1
- package/lib/components/table/YDataTableLayer.js +1 -2
- package/lib/components/table/YDataTableLayer.js.map +1 -1
- package/lib/components/table/YDataTableLayerRow.js +1 -2
- package/lib/components/table/YDataTableLayerRow.js.map +1 -1
- package/lib/components/table/YDataTableLayerRows.js +3 -4
- package/lib/components/table/YDataTableLayerRows.js.map +1 -1
- package/lib/components/table/YDataTableRow.js +1 -2
- package/lib/components/table/YDataTableRow.js.map +1 -1
- package/lib/components/table/YDataTableServer.js +1 -2
- package/lib/components/table/YDataTableServer.js.map +1 -1
- package/lib/components/table/YTable.js +1 -2
- package/lib/components/table/YTable.js.map +1 -1
- package/lib/components/table/composables/expand.js.map +1 -1
- package/lib/components/table/composables/header.js.map +1 -1
- package/lib/components/table/composables/items.js.map +1 -1
- package/lib/components/table/composables/measure.js +1 -1
- package/lib/components/table/composables/measure.js.map +1 -1
- package/lib/components/table/composables/options.js.map +1 -1
- package/lib/components/table/composables/pagination.js.map +1 -1
- package/lib/components/table/composables/provides.js.map +1 -1
- package/lib/components/table/composables/selection.js.map +1 -1
- package/lib/components/table/composables/sorted-items.js.map +1 -1
- package/lib/components/table/composables/sorting.js.map +1 -1
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/types/common.js.map +1 -1
- package/lib/components/table/types/header.js.map +1 -1
- package/lib/components/table/types/index.js.map +1 -1
- package/lib/components/table/types/item.js.map +1 -1
- package/lib/components/table/types/row.js.map +1 -1
- package/lib/components/text-ellipsis/YTextEllipsis.js +1 -2
- package/lib/components/text-ellipsis/YTextEllipsis.js.map +1 -1
- package/lib/components/text-ellipsis/index.js.map +1 -1
- package/lib/components/text-highlighter/YTextHighlighter.js.map +1 -1
- package/lib/components/text-highlighter/index.js.map +1 -1
- package/lib/components/text-interpolation/YTi.js +2 -2
- package/lib/components/text-interpolation/YTi.js.map +1 -1
- package/lib/components/text-interpolation/index.js.map +1 -1
- package/lib/components/textarea/YTextarea.js +1 -2
- package/lib/components/textarea/YTextarea.js.map +1 -1
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/toggle-button/YToggleButton.js.map +1 -1
- package/lib/components/toggle-button/index.js.map +1 -1
- package/lib/components/tooltip/YTooltip.js +18 -19
- package/lib/components/tooltip/YTooltip.js.map +1 -1
- package/lib/components/tooltip/index.js.map +1 -1
- package/lib/components/transitions/expand-transition.js.map +1 -1
- package/lib/components/transitions/index.js.map +1 -1
- package/lib/components/tree-view/YTreeView.js +1 -2
- package/lib/components/tree-view/YTreeView.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js +1 -2
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/lib/components/tree-view/index.js.map +1 -1
- package/lib/components/tree-view/tree-view.js.map +1 -1
- package/lib/components/tree-view/types.js.map +1 -1
- package/lib/components/tree-view/util.js.map +1 -1
- package/lib/composables/choice-link.js.map +1 -1
- package/lib/composables/choice.js.map +1 -1
- package/lib/composables/communication.js.map +1 -1
- package/lib/composables/component.js.map +1 -1
- package/lib/composables/coordinate/arrangement.js.map +1 -1
- package/lib/composables/coordinate/index.js +23 -13
- package/lib/composables/coordinate/index.js.map +1 -1
- package/lib/composables/coordinate/levitation.js +81 -52
- package/lib/composables/coordinate/levitation.js.map +1 -1
- package/lib/composables/coordinate/types.js.map +1 -1
- package/lib/composables/coordinate/utils/point.js.map +1 -1
- package/lib/composables/date/factory.js.map +1 -1
- package/lib/composables/date/index.js.map +1 -1
- package/lib/composables/date/setting.js.map +1 -1
- package/lib/composables/date/types.js.map +1 -1
- package/lib/composables/defaults/index.js.map +1 -1
- package/lib/composables/defaults/share.js.map +1 -1
- package/lib/composables/defaults/types.js.map +1 -1
- package/lib/composables/dimension.js.map +1 -1
- package/lib/composables/focus.js.map +1 -1
- package/lib/composables/form.js +5 -5
- package/lib/composables/form.js.map +1 -1
- package/lib/composables/i18n/index.js.map +1 -1
- package/lib/composables/i18n/locale.js.map +1 -1
- package/lib/composables/i18n/rtl.js.map +1 -1
- package/lib/composables/i18n/share.js.map +1 -1
- package/lib/composables/icon.js +1 -2
- package/lib/composables/icon.js.map +1 -1
- package/lib/composables/index.js.map +1 -1
- package/lib/composables/layer-group.js.map +1 -1
- package/lib/composables/layout.js.map +1 -1
- package/lib/composables/list-items.js.map +1 -1
- package/lib/composables/progress.js.map +1 -1
- package/lib/composables/ref.js.map +1 -1
- package/lib/composables/resize-observer.js.map +1 -1
- package/lib/composables/scope.js.map +1 -1
- package/lib/composables/style-color.js +6 -5
- package/lib/composables/style-color.js.map +1 -1
- package/lib/composables/theme/factory.js.map +1 -1
- package/lib/composables/theme/helper.js.map +1 -1
- package/lib/composables/theme/index.js +8 -1
- package/lib/composables/theme/index.js.map +1 -1
- package/lib/composables/theme/setting.js.map +1 -1
- package/lib/composables/theme/types.js.map +1 -1
- package/lib/composables/timing.js +13 -5
- package/lib/composables/timing.js.map +1 -1
- package/lib/composables/transition.js.map +1 -1
- package/lib/composables/validation.js.map +1 -1
- package/lib/composables/vue-router.js.map +1 -1
- package/lib/directives/complement-click/index.js.map +1 -1
- package/lib/directives/index.js +3 -0
- package/lib/directives/index.js.map +1 -0
- package/lib/directives/plate-wave/index.js +2 -2
- package/lib/directives/plate-wave/index.js.map +1 -1
- package/lib/directives/plate-wave/plate-wave.scss +17 -6
- package/lib/directives/theme-class/index.js +24 -0
- package/lib/directives/theme-class/index.js.map +1 -0
- package/lib/etc/index.js.map +1 -1
- package/lib/i18n/built-in.js.map +1 -1
- package/lib/i18n/config.js.map +1 -1
- package/lib/i18n/types.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/locales/en.js.map +1 -1
- package/lib/locales/index.js.map +1 -1
- package/lib/locales/ko.js.map +1 -1
- package/lib/mixins/di.js.map +1 -1
- package/lib/mixins/rebind-attrs.js +0 -2
- package/lib/mixins/rebind-attrs.js.map +1 -1
- package/lib/styles/_elevation.scss +0 -1
- package/lib/styles/base.scss +3 -1
- package/lib/styles/settings/_elevation.scss +12 -12
- package/lib/styles/settings/_provided.scss +23 -23
- package/lib/styles/theme/dark.scss +3 -3
- package/lib/styles/theme/index.scss +0 -1
- package/lib/styles/theme/light.scss +3 -3
- package/lib/styles/util/_mixin.scss +16 -16
- package/lib/types/index.js.map +1 -1
- package/lib/util/anchor.js.map +1 -1
- package/lib/util/array.js.map +1 -1
- package/lib/util/collection.js.map +1 -1
- package/lib/util/color/apca.js +1 -0
- package/lib/util/color/apca.js.map +1 -1
- package/lib/util/color/const.js.map +1 -1
- package/lib/util/color/contrast/contrast.js.map +1 -1
- package/lib/util/color/conversion.js.map +1 -1
- package/lib/util/color/hct/cam16.js.map +1 -1
- package/lib/util/color/hct/hct-solver.js +6 -6
- package/lib/util/color/hct/hct-solver.js.map +1 -1
- package/lib/util/color/hct/hct.js.map +1 -1
- package/lib/util/color/hct/viewing-conditions.js +6 -4
- package/lib/util/color/hct/viewing-conditions.js.map +1 -1
- package/lib/util/color/index.js +13 -13
- package/lib/util/color/index.js.map +1 -1
- package/lib/util/color/palettes/core-palette.js.map +1 -1
- package/lib/util/color/palettes/tonal-palette.js +3 -3
- package/lib/util/color/palettes/tonal-palette.js.map +1 -1
- package/lib/util/color/types.js.map +1 -1
- package/lib/util/color/utils/math-utils.js +62 -62
- package/lib/util/color/utils/math-utils.js.map +1 -1
- package/lib/util/common.js +28 -13
- package/lib/util/common.js.map +1 -1
- package/lib/util/component/component.js.map +1 -1
- package/lib/util/component/index.js.map +1 -1
- package/lib/util/component/inject-self.js.map +1 -1
- package/lib/util/component/props.js.map +1 -1
- package/lib/util/component/types.js.map +1 -1
- package/lib/util/date/adapters/yuyeon-date-adapter.js +3 -3
- package/lib/util/date/adapters/yuyeon-date-adapter.js.map +1 -1
- package/lib/util/date/built-in.js +2 -0
- package/lib/util/date/built-in.js.map +1 -1
- package/lib/util/date/index.js +1 -1
- package/lib/util/date/index.js.map +1 -1
- package/lib/util/date/types.js.map +1 -1
- package/lib/util/debounce.js +1 -1
- package/lib/util/debounce.js.map +1 -1
- package/lib/util/dom.js +10 -1
- package/lib/util/dom.js.map +1 -1
- package/lib/util/environments.js.map +1 -1
- package/lib/util/frame-scheduler.js +3 -3
- package/lib/util/frame-scheduler.js.map +1 -1
- package/lib/util/index.js +11 -11
- package/lib/util/index.js.map +1 -1
- package/lib/util/reactivity.js +3 -3
- package/lib/util/reactivity.js.map +1 -1
- package/lib/util/rect.js.map +1 -1
- package/lib/util/scroll.js.map +1 -1
- package/lib/util/string.js +3 -1
- package/lib/util/string.js.map +1 -1
- package/lib/util/ui.js +8 -7
- package/lib/util/ui.js.map +1 -1
- package/lib/util/validation.js.map +1 -1
- package/package.json +132 -123
- package/types/abstract/items.d.ts +4 -4
- package/types/components/alert/YAlert.d.ts +2 -2
- package/types/components/badge/YBadge.d.ts +9 -3
- package/types/components/button/YButton.d.ts +3 -3
- package/types/components/checkbox/YCheckbox.d.ts +4 -4
- package/types/components/chip/YChip.d.ts +0 -3
- package/types/components/date-picker/YDateCalendar.d.ts +4 -3
- package/types/components/date-picker/YDatePickerControl.d.ts +7 -7
- package/types/components/dialog/YDialog.d.ts +116 -6484
- package/types/components/draggable/YDraggable.d.ts +6 -6
- package/types/components/dropdown/YDropdown.d.ts +87 -87
- package/types/components/field-input/YFieldInput.d.ts +14 -14
- package/types/components/form/YForm.d.ts +3 -3
- package/types/components/icon/YIcon.d.ts +4 -4
- package/types/components/icons/YIconPageControl.d.ts +1 -1
- package/types/components/icons/YIconSort.d.ts +1 -1
- package/types/components/icons/index.d.ts +4 -4
- package/types/components/img/YImg.d.ts +30 -27
- package/types/components/img/index.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +13 -13
- package/types/components/ip-field/YIpv4Field.d.ts +5 -5
- package/types/components/layer/YLayer.d.ts +59 -3242
- package/types/components/layer/base.d.ts +4 -0
- package/types/components/layer/scroll-strategies.d.ts +4 -4
- package/types/components/menu/YMenu.d.ts +83 -6451
- package/types/components/pagination/YPagination.d.ts +3 -3
- package/types/components/select/YSelect.d.ts +172 -496
- package/types/components/slider/YSlider.d.ts +1 -1
- package/types/components/snackbar/YSnackbar.d.ts +55 -55
- package/types/components/tab/YTab.d.ts +3 -3
- package/types/components/tab/YTabs.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +30 -87
- package/types/components/table/YDataTableBody.d.ts +3 -3
- package/types/components/table/YDataTableCell.d.ts +2 -2
- package/types/components/table/YDataTableControl.d.ts +6 -6
- package/types/components/table/YDataTableLayer.d.ts +2 -2
- package/types/components/table/YDataTableRow.d.ts +1 -1
- package/types/components/table/YDataTableServer.d.ts +37 -94
- package/types/components/table/YTable.d.ts +3 -3
- package/types/components/table/composables/expand.d.ts +4 -4
- package/types/components/table/composables/header.d.ts +16 -48
- package/types/components/table/composables/items.d.ts +2 -2
- package/types/components/table/composables/pagination.d.ts +10 -10
- package/types/components/table/composables/selection.d.ts +6 -6
- package/types/components/table/composables/sorting.d.ts +8 -14
- package/types/components/table/types/item.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +30 -30
- package/types/components/tooltip/YTooltip.d.ts +67 -67
- package/types/components/tree-view/YTreeView.d.ts +7 -7
- package/types/components/tree-view/YTreeViewNode.d.ts +5 -5
- package/types/components/tree-view/tree-view.d.ts +2 -2
- package/types/composables/choice.d.ts +2 -2
- package/types/composables/coordinate/index.d.ts +28 -3207
- package/types/composables/coordinate/levitation.d.ts +4 -2
- package/types/composables/coordinate/types.d.ts +1 -0
- package/types/composables/dimension.d.ts +6 -6
- package/types/composables/form.d.ts +17 -27
- package/types/composables/list-items.d.ts +3 -3
- package/types/composables/style-color.d.ts +22 -1
- package/types/composables/theme/index.d.ts +1 -0
- package/types/composables/transition.d.ts +10 -10
- package/types/composables/validation.d.ts +6 -6
- package/types/composables/vue-router.d.ts +3 -3
- package/types/declares.d.ts +1 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/plate-wave/index.d.ts +7 -1
- package/types/globals.d.ts +19 -20
- package/types/shims.d.ts +9 -3
- package/types/types/index.d.ts +3 -0
- package/types/util/anchor.d.ts +1 -1
- package/types/util/common.d.ts +3 -0
- package/types/util/component/component.d.ts +1 -2
- package/types/util/component/props.d.ts +1 -1
- package/types/util/component/types.d.ts +1 -1
- package/types/util/date/index.d.ts +1 -1
- package/types/util/dom.d.ts +2 -0
- package/types/util/index.d.ts +11 -11
- package/types/components/table/composibles/header.d.ts +0 -207
- package/types/components/table/composibles/items.d.ts +0 -55
- package/types/components/table/composibles/measure.d.ts +0 -8
- package/types/components/table/composibles/options.d.ts +0 -11
- package/types/components/table/composibles/pagination.d.ts +0 -81
- package/types/components/table/composibles/selection.d.ts +0 -82
- package/types/components/table/composibles/sorted-items.d.ts +0 -7
- package/types/components/table/composibles/sorting.d.ts +0 -62
- /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from "vue";
|
|
2
|
-
import { ref, withKeys } from 'vue';
|
|
1
|
+
import { ref, withKeys, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { useRender } from "../../composables/component.js";
|
|
4
3
|
import { createForm, pressFormPropsOptions } from "../../composables/form.js";
|
|
4
|
+
import { makeEventPromiseLike } from "../../util/common.js";
|
|
5
5
|
import { defineComponent } from "../../util/component/index.js";
|
|
6
|
-
const NAME =
|
|
6
|
+
const NAME = "y-form";
|
|
7
7
|
export const YForm = defineComponent({
|
|
8
|
-
name:
|
|
8
|
+
name: "YForm",
|
|
9
9
|
props: {
|
|
10
10
|
...pressFormPropsOptions()
|
|
11
11
|
},
|
|
12
12
|
emits: {
|
|
13
|
-
|
|
13
|
+
"update:modelValue": val => true,
|
|
14
14
|
submit: e => true,
|
|
15
|
-
|
|
15
|
+
"keydown.enter": e => true
|
|
16
16
|
},
|
|
17
17
|
setup(props, _ref) {
|
|
18
18
|
let {
|
|
@@ -23,14 +23,12 @@ export const YForm = defineComponent({
|
|
|
23
23
|
const form = createForm(props);
|
|
24
24
|
const form$ = ref();
|
|
25
25
|
// TODO: naming formData from form composition
|
|
26
|
-
const formData = ref();
|
|
26
|
+
// const formData = ref();
|
|
27
|
+
|
|
27
28
|
function onSubmit(_e) {
|
|
28
|
-
const e = _e;
|
|
29
29
|
const validation = form.validate();
|
|
30
|
-
e
|
|
31
|
-
e
|
|
32
|
-
e.finally = validation.finally.bind(validation);
|
|
33
|
-
emit('submit', e);
|
|
30
|
+
const e = makeEventPromiseLike(_e, validation);
|
|
31
|
+
emit("submit", e);
|
|
34
32
|
if (!e.defaultPrevented) {
|
|
35
33
|
validation.then(_ref2 => {
|
|
36
34
|
let {
|
|
@@ -46,7 +44,7 @@ export const YForm = defineComponent({
|
|
|
46
44
|
function onKeydown(e) {
|
|
47
45
|
e.preventDefault();
|
|
48
46
|
e.stopImmediatePropagation();
|
|
49
|
-
emit(
|
|
47
|
+
emit("keydown.enter", e);
|
|
50
48
|
}
|
|
51
49
|
expose({
|
|
52
50
|
...form
|
|
@@ -57,7 +55,7 @@ export const YForm = defineComponent({
|
|
|
57
55
|
"class": [NAME],
|
|
58
56
|
"novalidate": true,
|
|
59
57
|
"onSubmit": onSubmit,
|
|
60
|
-
"onKeydown": withKeys(onKeydown, [
|
|
58
|
+
"onKeydown": withKeys(onKeydown, ["enter"])
|
|
61
59
|
}, [slots.default?.()]);
|
|
62
60
|
});
|
|
63
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YForm.js","names":["ref","withKeys","useRender","createForm","pressFormPropsOptions","defineComponent","NAME","YForm","name","props","emits","val","submit","e","setup","_ref","emit","slots","expose","form","form$","
|
|
1
|
+
{"version":3,"file":"YForm.js","names":["ref","withKeys","createVNode","_createVNode","useRender","createForm","pressFormPropsOptions","makeEventPromiseLike","defineComponent","NAME","YForm","name","props","emits","val","submit","e","setup","_ref","emit","slots","expose","form","form$","onSubmit","_e","validation","validate","defaultPrevented","then","_ref2","valid","value","preventDefault","onKeydown","stopImmediatePropagation","default"],"sources":["../../../src/components/form/YForm.tsx"],"sourcesContent":["import { ref, withKeys } from \"vue\";\n\nimport { useRender } from \"@/composables/component\";\nimport {\n\tcreateForm,\n\ttype FormValidationResult,\n\tpressFormPropsOptions,\n\ttype SubmitEventPromise,\n} from \"@/composables/form\";\nimport { makeEventPromiseLike } from \"@/util/common\";\nimport { defineComponent } from \"@/util/component\";\n\nconst NAME = \"y-form\";\n\nexport const YForm = defineComponent({\n\tname: \"YForm\",\n\tprops: {\n\t\t...pressFormPropsOptions(),\n\t},\n\temits: {\n\t\t\"update:modelValue\": (val: boolean | null) => true,\n\t\tsubmit: (e: SubmitEventPromise) => true,\n\t\t\"keydown.enter\": (e: Event) => true,\n\t},\n\tsetup(props, { emit, slots, expose }) {\n\t\tconst form = createForm(props);\n\t\tconst form$ = ref<HTMLFormElement>();\n\t\t// TODO: naming formData from form composition\n\t\t// const formData = ref();\n\n\t\tfunction onSubmit(_e: Event) {\n\t\t\tconst validation = form.validate();\n\t\t\tconst e: SubmitEventPromise = makeEventPromiseLike<\n\t\t\t\tSubmitEvent,\n\t\t\t\tFormValidationResult\n\t\t\t>(_e as SubmitEvent, validation);\n\n\t\t\temit(\"submit\", e);\n\n\t\t\tif (!e.defaultPrevented) {\n\t\t\t\tvalidation.then(({ valid }) => {\n\t\t\t\t\tif (valid) {\n\t\t\t\t\t\tform$.value?.submit();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\te.preventDefault();\n\t\t}\n\n\t\tfunction onKeydown(e: Event) {\n\t\t\te.preventDefault();\n\t\t\te.stopImmediatePropagation();\n\t\t\temit(\"keydown.enter\", e);\n\t\t}\n\n\t\texpose({\n\t\t\t...form,\n\t\t});\n\n\t\tuseRender(() => {\n\t\t\treturn (\n\t\t\t\t<form\n\t\t\t\t\tref={form$}\n\t\t\t\t\tclass={[NAME]}\n\t\t\t\t\tnovalidate\n\t\t\t\t\tonSubmit={onSubmit}\n\t\t\t\t\tonKeydown={withKeys(onKeydown, [\"enter\"])}\n\t\t\t\t>\n\t\t\t\t\t{slots.default?.()}\n\t\t\t\t</form>\n\t\t\t);\n\t\t});\n\t},\n});\n\nexport type YForm = InstanceType<typeof YForm>;\n"],"mappings":"AAAA,SAASA,GAAG,EAAEC,QAAQ,EAAAC,WAAA,IAAAC,YAAA,QAAQ,KAAK;AAAC,SAE3BC,SAAS;AAAA,SAEjBC,UAAU,EAEVC,qBAAqB;AAAA,SAGbC,oBAAoB;AAAA,SACpBC,eAAe;AAExB,MAAMC,IAAI,GAAG,QAAQ;AAErB,OAAO,MAAMC,KAAK,GAAGF,eAAe,CAAC;EACpCG,IAAI,EAAE,OAAO;EACbC,KAAK,EAAE;IACN,GAAGN,qBAAqB,CAAC;EAC1B,CAAC;EACDO,KAAK,EAAE;IACN,mBAAmB,EAAGC,GAAmB,IAAK,IAAI;IAClDC,MAAM,EAAGC,CAAqB,IAAK,IAAI;IACvC,eAAe,EAAGA,CAAQ,IAAK;EAChC,CAAC;EACDC,KAAKA,CAACL,KAAK,EAAAM,IAAA,EAA2B;IAAA,IAAzB;MAAEC,IAAI;MAAEC,KAAK;MAAEC;IAAO,CAAC,GAAAH,IAAA;IACnC,MAAMI,IAAI,GAAGjB,UAAU,CAACO,KAAK,CAAC;IAC9B,MAAMW,KAAK,GAAGvB,GAAG,CAAkB,CAAC;IACpC;IACA;;IAEA,SAASwB,QAAQA,CAACC,EAAS,EAAE;MAC5B,MAAMC,UAAU,GAAGJ,IAAI,CAACK,QAAQ,CAAC,CAAC;MAClC,MAAMX,CAAqB,GAAGT,oBAAoB,CAGhDkB,EAAE,EAAiBC,UAAU,CAAC;MAEhCP,IAAI,CAAC,QAAQ,EAAEH,CAAC,CAAC;MAEjB,IAAI,CAACA,CAAC,CAACY,gBAAgB,EAAE;QACxBF,UAAU,CAACG,IAAI,CAACC,KAAA,IAAe;UAAA,IAAd;YAAEC;UAAM,CAAC,GAAAD,KAAA;UACzB,IAAIC,KAAK,EAAE;YACVR,KAAK,CAACS,KAAK,EAAEjB,MAAM,CAAC,CAAC;UACtB;QACD,CAAC,CAAC;MACH;MACAC,CAAC,CAACiB,cAAc,CAAC,CAAC;IACnB;IAEA,SAASC,SAASA,CAAClB,CAAQ,EAAE;MAC5BA,CAAC,CAACiB,cAAc,CAAC,CAAC;MAClBjB,CAAC,CAACmB,wBAAwB,CAAC,CAAC;MAC5BhB,IAAI,CAAC,eAAe,EAAEH,CAAC,CAAC;IACzB;IAEAK,MAAM,CAAC;MACN,GAAGC;IACJ,CAAC,CAAC;IAEFlB,SAAS,CAAC,MAAM;MACf,OAAAD,YAAA;QAAA,OAEOoB,KAAK;QAAA,SACH,CAACd,IAAI,CAAC;QAAA;QAAA,YAEHe,QAAQ;QAAA,aACPvB,QAAQ,CAACiC,SAAS,EAAE,CAAC,OAAO,CAAC;MAAC,IAExCd,KAAK,CAACgB,OAAO,GAAG,CAAC;IAGrB,CAAC,CAAC;EACH;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/form/index.ts"],"sourcesContent":["export * from './YForm';\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/form/index.ts"],"sourcesContent":["export * from './YForm';\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ref, watch } from 'vue';
|
|
1
|
+
import { ref, watch, Fragment as _Fragment, createVNode as _createVNode } from "vue";
|
|
3
2
|
import { useModelDuplex } from "../../composables/communication.js";
|
|
4
3
|
import { useRender } from "../../composables/component.js";
|
|
5
4
|
import { useDelay } from "../../composables/timing.js";
|
|
@@ -18,26 +17,28 @@ export const pressYHoverPropsOptions = propsFactory({
|
|
|
18
17
|
type: Number,
|
|
19
18
|
default: 100
|
|
20
19
|
}
|
|
21
|
-
},
|
|
20
|
+
}, "YHover");
|
|
22
21
|
export const YHover = defineComponent({
|
|
23
|
-
name:
|
|
22
|
+
name: "YHover",
|
|
24
23
|
props: pressYHoverPropsOptions(),
|
|
25
|
-
emits: [
|
|
24
|
+
emits: ["update:modelValue", "hover"],
|
|
26
25
|
setup(props, _ref) {
|
|
27
26
|
let {
|
|
28
27
|
slots,
|
|
29
28
|
emit
|
|
30
29
|
} = _ref;
|
|
31
|
-
const isHovering = useModelDuplex(props,
|
|
30
|
+
const isHovering = useModelDuplex(props, "modelValue");
|
|
32
31
|
const {
|
|
33
32
|
startOpenDelay,
|
|
34
33
|
startCloseDelay
|
|
35
34
|
} = useDelay(props, value => {
|
|
36
|
-
!props.disabled
|
|
35
|
+
if (!props.disabled) {
|
|
36
|
+
isHovering.value = value;
|
|
37
|
+
}
|
|
37
38
|
});
|
|
38
39
|
const defaultSlot = ref();
|
|
39
40
|
watch(isHovering, neo => {
|
|
40
|
-
emit(
|
|
41
|
+
emit("hover", neo, defaultSlot);
|
|
41
42
|
});
|
|
42
43
|
useRender(() => {
|
|
43
44
|
defaultSlot.value = slots.default?.({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YHover.js","names":["ref","watch","useModelDuplex","useRender","useDelay","defineComponent","propsFactory","pressYHoverPropsOptions","disabled","Boolean","modelValue","type","default","undefined","openDelay","Number","closeDelay","YHover","name","props","emits","setup","_ref","slots","emit","isHovering","startOpenDelay","startCloseDelay","value","defaultSlot","neo","onMouseenter","onMouseleave"
|
|
1
|
+
{"version":3,"file":"YHover.js","names":["ref","watch","Fragment","_Fragment","createVNode","_createVNode","useModelDuplex","useRender","useDelay","defineComponent","propsFactory","pressYHoverPropsOptions","disabled","Boolean","modelValue","type","default","undefined","openDelay","Number","closeDelay","YHover","name","props","emits","setup","_ref","slots","emit","isHovering","startOpenDelay","startCloseDelay","value","defaultSlot","neo","onMouseenter","onMouseleave"],"sources":["../../../src/components/hover/YHover.tsx"],"sourcesContent":["import { ref, watch } from \"vue\";\n\nimport { useModelDuplex } from \"@/composables/communication\";\nimport { useRender } from \"@/composables/component\";\nimport { useDelay } from \"@/composables/timing\";\nimport { defineComponent, propsFactory } from \"@/util/component\";\n\nexport const pressYHoverPropsOptions = propsFactory(\n\t{\n\t\tdisabled: Boolean,\n\t\tmodelValue: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: undefined,\n\t\t},\n\t\topenDelay: {\n\t\t\ttype: Number,\n\t\t\tdefault: 100,\n\t\t},\n\t\tcloseDelay: {\n\t\t\ttype: Number,\n\t\t\tdefault: 100,\n\t\t},\n\t},\n\t\"YHover\",\n);\n\nexport const YHover = defineComponent({\n\tname: \"YHover\",\n\tprops: pressYHoverPropsOptions(),\n\temits: [\"update:modelValue\", \"hover\"],\n\tsetup(props, { slots, emit }) {\n\t\tconst isHovering = useModelDuplex(props, \"modelValue\");\n\t\tconst { startOpenDelay, startCloseDelay } = useDelay(\n\t\t\tprops,\n\t\t\t(value: any) => {\n\t\t\t\tif (!props.disabled) {\n\t\t\t\t\tisHovering.value = value;\n\t\t\t\t}\n\t\t\t},\n\t\t);\n\n\t\tconst defaultSlot = ref<any>();\n\n\t\twatch(isHovering, (neo) => {\n\t\t\temit(\"hover\", neo, defaultSlot);\n\t\t});\n\n\t\tuseRender(() => {\n\t\t\tdefaultSlot.value = slots.default?.({\n\t\t\t\tisHovering: isHovering.value,\n\t\t\t\tprops: {\n\t\t\t\t\tonMouseenter: () => startOpenDelay(),\n\t\t\t\t\tonMouseleave: () => startCloseDelay(),\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn <>{defaultSlot.value}</>;\n\t\t});\n\t},\n});\n\nexport type YHover = InstanceType<typeof YHover>;\n"],"mappings":"AAAA,SAASA,GAAG,EAAEC,KAAK,EAAAC,QAAA,IAAAC,SAAA,EAAAC,WAAA,IAAAC,YAAA,QAAQ,KAAK;AAAC,SAExBC,cAAc;AAAA,SACdC,SAAS;AAAA,SACTC,QAAQ;AAAA,SACRC,eAAe,EAAEC,YAAY;AAEtC,OAAO,MAAMC,uBAAuB,GAAGD,YAAY,CAClD;EACCE,QAAQ,EAAEC,OAAO;EACjBC,UAAU,EAAE;IACXC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAEC;EACV,CAAC;EACDC,SAAS,EAAE;IACVH,IAAI,EAAEI,MAAM;IACZH,OAAO,EAAE;EACV,CAAC;EACDI,UAAU,EAAE;IACXL,IAAI,EAAEI,MAAM;IACZH,OAAO,EAAE;EACV;AACD,CAAC,EACD,QACD,CAAC;AAED,OAAO,MAAMK,MAAM,GAAGZ,eAAe,CAAC;EACrCa,IAAI,EAAE,QAAQ;EACdC,KAAK,EAAEZ,uBAAuB,CAAC,CAAC;EAChCa,KAAK,EAAE,CAAC,mBAAmB,EAAE,OAAO,CAAC;EACrCC,KAAKA,CAACF,KAAK,EAAAG,IAAA,EAAmB;IAAA,IAAjB;MAAEC,KAAK;MAAEC;IAAK,CAAC,GAAAF,IAAA;IAC3B,MAAMG,UAAU,GAAGvB,cAAc,CAACiB,KAAK,EAAE,YAAY,CAAC;IACtD,MAAM;MAAEO,cAAc;MAAEC;IAAgB,CAAC,GAAGvB,QAAQ,CACnDe,KAAK,EACJS,KAAU,IAAK;MACf,IAAI,CAACT,KAAK,CAACX,QAAQ,EAAE;QACpBiB,UAAU,CAACG,KAAK,GAAGA,KAAK;MACzB;IACD,CACD,CAAC;IAED,MAAMC,WAAW,GAAGjC,GAAG,CAAM,CAAC;IAE9BC,KAAK,CAAC4B,UAAU,EAAGK,GAAG,IAAK;MAC1BN,IAAI,CAAC,OAAO,EAAEM,GAAG,EAAED,WAAW,CAAC;IAChC,CAAC,CAAC;IAEF1B,SAAS,CAAC,MAAM;MACf0B,WAAW,CAACD,KAAK,GAAGL,KAAK,CAACX,OAAO,GAAG;QACnCa,UAAU,EAAEA,UAAU,CAACG,KAAK;QAC5BT,KAAK,EAAE;UACNY,YAAY,EAAEA,CAAA,KAAML,cAAc,CAAC,CAAC;UACpCM,YAAY,EAAEA,CAAA,KAAML,eAAe,CAAC;QACrC;MACD,CAAC,CAAC;MACF,OAAA1B,YAAA,CAAAF,SAAA,SAAU8B,WAAW,CAACD,KAAK;IAC5B,CAAC,CAAC;EACH;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/hover/index.ts"],"sourcesContent":["export * from './YHover';\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/hover/index.ts"],"sourcesContent":["export * from './YHover';\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { createVNode as _createVNode } from
|
|
2
|
-
import { computed, ref } from 'vue';
|
|
1
|
+
import { computed, ref, createVNode as _createVNode } from 'vue';
|
|
3
2
|
import { useRender } from "../../composables/component.js";
|
|
4
3
|
import { IconValue, useIcon } from "../../composables/icon.js";
|
|
5
4
|
import { pressThemePropsOptions, useLocalTheme } from "../../composables/theme/index.js";
|
|
6
|
-
import { defineComponent } from "../../util/component/index.js";
|
|
7
|
-
import { propsFactory } from "../../util/component/index.js";
|
|
5
|
+
import { defineComponent, propsFactory } from "../../util/component/index.js";
|
|
8
6
|
import { toStyleSizeValue } from "../../util/ui.js";
|
|
9
7
|
import "./YIcon.scss";
|
|
10
8
|
export const pressYIconPropsOptions = propsFactory({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIcon.js","names":["computed","ref","useRender","IconValue","useIcon","pressThemePropsOptions","useLocalTheme","defineComponent","propsFactory","toStyleSizeValue","pressYIconPropsOptions","color","String","gap","icon","tag","type","default","size","Number","class","Array","YIcon","name","props","setup","_ref","attrs","slots","iconCode","themeClasses","iconData","value","defaultSlot","filter","node","Text","children","
|
|
1
|
+
{"version":3,"file":"YIcon.js","names":["computed","ref","createVNode","_createVNode","useRender","IconValue","useIcon","pressThemePropsOptions","useLocalTheme","defineComponent","propsFactory","toStyleSizeValue","pressYIconPropsOptions","color","String","gap","icon","tag","type","default","size","Number","class","Array","YIcon","name","props","setup","_ref","attrs","slots","iconCode","themeClasses","iconData","value","defaultSlot","filter","node","Text","children","component","onClick","fontSize","width","height","undefined"],"sources":["../../../src/components/icon/YIcon.tsx"],"sourcesContent":["import { computed, type PropType, ref } from 'vue';\n\nimport { useRender } from '@/composables/component';\nimport { IconValue, useIcon } from '@/composables/icon';\nimport { pressThemePropsOptions, useLocalTheme } from '@/composables/theme';\nimport { defineComponent, propsFactory } from '@/util/component';\nimport { toStyleSizeValue } from '@/util/ui';\n\nimport './YIcon.scss';\n\nexport const pressYIconPropsOptions = propsFactory(\n {\n color: String,\n gap: String,\n icon: IconValue,\n tag: {\n type: String,\n default: 'i',\n },\n size: {\n type: [String, Number],\n },\n class: [String, Array] as PropType<string | string[] | Record<string, any>[]>,\n ...pressThemePropsOptions(),\n },\n 'YIcon',\n);\n\nexport const YIcon = defineComponent({\n name: 'YIcon',\n props: pressYIconPropsOptions(),\n setup(props, { attrs, slots }) {\n const iconCode = ref<string>();\n\n const { themeClasses } = useLocalTheme(props);\n const { iconData } = useIcon(computed(() => iconCode.value || props.icon));\n\n useRender(() => {\n const defaultSlot = slots.default?.();\n if (defaultSlot) {\n iconCode.value = defaultSlot.filter(\n (node) =>\n node.type === Text &&\n node.children &&\n typeof node.children === 'string',\n )[0]?.children as string;\n }\n\n return (\n <iconData.value.component\n tag={props.tag}\n icon={iconData.value.icon}\n class={[\n 'y-icon',\n 'notranslate',\n themeClasses.value,\n {\n 'y-icon--clickable': !!attrs.onClick,\n },\n props.class,\n ]}\n style={{\n fontSize: toStyleSizeValue(props.size),\n width: toStyleSizeValue(props.size),\n height: toStyleSizeValue(props.size),\n }}\n role={attrs.onClick ? 'button' : undefined}\n aria-hidden={!attrs.onClick}\n >\n {defaultSlot}\n </iconData.value.component>\n );\n });\n },\n});\n\nexport type YIconIconProp = IconValue & Omit<PropType<YIcon['$props']>, 'icon'>;\n\nexport type YIcon = InstanceType<typeof YIcon>;\n"],"mappings":"AAAA,SAASA,QAAQ,EAAiBC,GAAG,EAAAC,WAAA,IAAAC,YAAA,QAAQ,KAAK;AAAC,SAE1CC,SAAS;AAAA,SACTC,SAAS,EAAEC,OAAO;AAAA,SAClBC,sBAAsB,EAAEC,aAAa;AAAA,SACrCC,eAAe,EAAEC,YAAY;AAAA,SAC7BC,gBAAgB;AAEzB;AAEA,OAAO,MAAMC,sBAAsB,GAAGF,YAAY,CAChD;EACEG,KAAK,EAAEC,MAAM;EACbC,GAAG,EAAED,MAAM;EACXE,IAAI,EAAEX,SAAS;EACfY,GAAG,EAAE;IACHC,IAAI,EAAEJ,MAAM;IACZK,OAAO,EAAE;EACX,CAAC;EACDC,IAAI,EAAE;IACJF,IAAI,EAAE,CAACJ,MAAM,EAAEO,MAAM;EACvB,CAAC;EACDC,KAAK,EAAE,CAACR,MAAM,EAAES,KAAK,CAAwD;EAC7E,GAAGhB,sBAAsB,CAAC;AAC5B,CAAC,EACD,OACF,CAAC;AAED,OAAO,MAAMiB,KAAK,GAAGf,eAAe,CAAC;EACnCgB,IAAI,EAAE,OAAO;EACbC,KAAK,EAAEd,sBAAsB,CAAC,CAAC;EAC/Be,KAAKA,CAACD,KAAK,EAAAE,IAAA,EAAoB;IAAA,IAAlB;MAAEC,KAAK;MAAEC;IAAM,CAAC,GAAAF,IAAA;IAC3B,MAAMG,QAAQ,GAAG9B,GAAG,CAAS,CAAC;IAE9B,MAAM;MAAE+B;IAAa,CAAC,GAAGxB,aAAa,CAACkB,KAAK,CAAC;IAC7C,MAAM;MAAEO;IAAS,CAAC,GAAG3B,OAAO,CAACN,QAAQ,CAAC,MAAM+B,QAAQ,CAACG,KAAK,IAAIR,KAAK,CAACV,IAAI,CAAC,CAAC;IAE1EZ,SAAS,CAAC,MAAM;MACd,MAAM+B,WAAW,GAAGL,KAAK,CAACX,OAAO,GAAG,CAAC;MACrC,IAAIgB,WAAW,EAAE;QACfJ,QAAQ,CAACG,KAAK,GAAGC,WAAW,CAACC,MAAM,CAChCC,IAAI,IACHA,IAAI,CAACnB,IAAI,KAAKoB,IAAI,IAClBD,IAAI,CAACE,QAAQ,IACb,OAAOF,IAAI,CAACE,QAAQ,KAAK,QAC7B,CAAC,CAAC,CAAC,CAAC,EAAEA,QAAkB;MAC1B;MAEA,OAAApC,YAAA,CAAA8B,QAAA,CAAAC,KAAA,CAAAM,SAAA;QAAA,OAESd,KAAK,CAACT,GAAG;QAAA,QACRgB,QAAQ,CAACC,KAAK,CAAClB,IAAI;QAAA,SAClB,CACL,QAAQ,EACR,aAAa,EACbgB,YAAY,CAACE,KAAK,EAClB;UACE,mBAAmB,EAAE,CAAC,CAACL,KAAK,CAACY;QAC/B,CAAC,EACDf,KAAK,CAACJ,KAAK,CACZ;QAAA,SACM;UACLoB,QAAQ,EAAE/B,gBAAgB,CAACe,KAAK,CAACN,IAAI,CAAC;UACtCuB,KAAK,EAAEhC,gBAAgB,CAACe,KAAK,CAACN,IAAI,CAAC;UACnCwB,MAAM,EAAEjC,gBAAgB,CAACe,KAAK,CAACN,IAAI;QACrC,CAAC;QAAA,QACKS,KAAK,CAACY,OAAO,GAAG,QAAQ,GAAGI,SAAS;QAAA,eAC7B,CAAChB,KAAK,CAACY;MAAO;QAAAtB,OAAA,EAAAA,CAAA,MAE1BgB,WAAW;MAAA;IAGlB,CAAC,CAAC;EACJ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/icon/index.ts"],"sourcesContent":["export * from './YIcon';\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/icon/index.ts"],"sourcesContent":["export * from './YIcon';\n"],"mappings":"","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@ import { createVNode as _createVNode } from "vue";
|
|
|
2
2
|
import { defineComponent } from "../../util/component/index.js";
|
|
3
3
|
import "./YIconCheckbox.scss";
|
|
4
4
|
export const YIconCheckbox = defineComponent({
|
|
5
|
-
name:
|
|
5
|
+
name: "YIconCheckbox",
|
|
6
6
|
props: {
|
|
7
7
|
checked: Boolean,
|
|
8
8
|
indeterminate: Boolean,
|
|
@@ -10,10 +10,11 @@ export const YIconCheckbox = defineComponent({
|
|
|
10
10
|
},
|
|
11
11
|
render() {
|
|
12
12
|
return _createVNode("svg", {
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
"role": "presentation",
|
|
14
|
+
"class": ["y-icon-checkbox", {
|
|
15
|
+
"y-icon-checkbox--checked": this.checked,
|
|
16
|
+
"y-icon-checkbox--indeterminate": this.indeterminate,
|
|
17
|
+
"y-icon-checkbox--disabled": this.disabled
|
|
17
18
|
}],
|
|
18
19
|
"xmlns": "http://www.w3.org/2000/svg",
|
|
19
20
|
"width": "24",
|
|
@@ -25,7 +26,7 @@ export const YIconCheckbox = defineComponent({
|
|
|
25
26
|
}, null), _createVNode("path", {
|
|
26
27
|
"class": "y-icon-checkbox__checkmark-path",
|
|
27
28
|
"fill": "none",
|
|
28
|
-
"d": this.indeterminate ?
|
|
29
|
+
"d": this.indeterminate ? "M5.73,11.91 11.1,11.91 17.79,11.91" : "M5.73,11.91 11.1,16.28 17.79,7.59"
|
|
29
30
|
}, null)]);
|
|
30
31
|
}
|
|
31
32
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconCheckbox.js","names":["defineComponent","YIconCheckbox","name","props","checked","Boolean","indeterminate","disabled","render","_createVNode"],"sources":["../../../src/components/icons/YIconCheckbox.tsx"],"sourcesContent":["import { defineComponent } from
|
|
1
|
+
{"version":3,"file":"YIconCheckbox.js","names":["defineComponent","YIconCheckbox","name","props","checked","Boolean","indeterminate","disabled","render","_createVNode"],"sources":["../../../src/components/icons/YIconCheckbox.tsx"],"sourcesContent":["import { defineComponent } from \"@/util/component\";\n\nimport \"./YIconCheckbox.scss\";\n\nexport const YIconCheckbox = defineComponent({\n\tname: \"YIconCheckbox\",\n\tprops: {\n\t\tchecked: Boolean,\n\t\tindeterminate: Boolean,\n\t\tdisabled: Boolean,\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<svg\n role=\"presentation\"\n\t\t\t\tclass={[\n\t\t\t\t\t\"y-icon-checkbox\",\n\t\t\t\t\t{\n\t\t\t\t\t\t\"y-icon-checkbox--checked\": this.checked,\n\t\t\t\t\t\t\"y-icon-checkbox--indeterminate\": this.indeterminate,\n\t\t\t\t\t\t\"y-icon-checkbox--disabled\": this.disabled,\n\t\t\t\t\t},\n\t\t\t\t]}\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"24\"\n\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\tclass=\"y-icon-checkbox__border-path\"\n\t\t\t\t\td=\"M 15.525 21.825 H 8.325 C 4.851 21.825 2.025 18.999 2.025 15.525 V 8.325 C 2.025 4.851 4.851 2.025 8.325 2.025 H 15.525 C 18.999 2.025 21.825 4.851 21.825 8.325 V 15.525 C 21.825 18.999 18.999 21.825 15.525 21.825 Z\"\n\t\t\t\t/>\n\t\t\t\t<path\n\t\t\t\t\tclass=\"y-icon-checkbox__checkmark-path\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\td={\n\t\t\t\t\t\tthis.indeterminate\n\t\t\t\t\t\t\t? \"M5.73,11.91 11.1,11.91 17.79,11.91\"\n\t\t\t\t\t\t\t: \"M5.73,11.91 11.1,16.28 17.79,7.59\"\n\t\t\t\t\t}\n\t\t\t\t></path>\n\t\t\t</svg>\n\t\t);\n\t},\n});\n"],"mappings":";SAASA,eAAe;AAExB;AAEA,OAAO,MAAMC,aAAa,GAAGD,eAAe,CAAC;EAC5CE,IAAI,EAAE,eAAe;EACrBC,KAAK,EAAE;IACNC,OAAO,EAAEC,OAAO;IAChBC,aAAa,EAAED,OAAO;IACtBE,QAAQ,EAAEF;EACX,CAAC;EACDG,MAAMA,CAAA,EAAG;IACR,OAAAC,YAAA;MAAA;MAAA,SAGS,CACN,iBAAiB,EACjB;QACC,0BAA0B,EAAE,IAAI,CAACL,OAAO;QACxC,gCAAgC,EAAE,IAAI,CAACE,aAAa;QACpD,2BAA2B,EAAE,IAAI,CAACC;MACnC,CAAC,CACD;MAAA;MAAA;MAAA;MAAA;IAAA,IAAAE,YAAA;MAAA;MAAA;IAAA,UAAAA,YAAA;MAAA;MAAA;MAAA,KAcC,IAAI,CAACH,aAAa,GACf,oCAAoC,GACpC;IAAmC;EAK3C;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
|
2
2
|
import { defineComponent } from "../../util/component/index.js";
|
|
3
3
|
export const YIconClear = defineComponent({
|
|
4
|
-
name:
|
|
4
|
+
name: "YIconClear",
|
|
5
5
|
setup() {
|
|
6
6
|
return () => _createVNode("svg", {
|
|
7
|
+
"role": "presentation",
|
|
7
8
|
"viewBox": "0 0 16 16",
|
|
8
9
|
"xmlns": "http://www.w3.org/2000/svg"
|
|
9
10
|
}, [_createVNode("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconClear.js","names":["defineComponent","YIconClear","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconClear.tsx"],"sourcesContent":["import { defineComponent } from
|
|
1
|
+
{"version":3,"file":"YIconClear.js","names":["defineComponent","YIconClear","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconClear.tsx"],"sourcesContent":["import { defineComponent } from \"@/util/component\";\n\nexport const YIconClear = defineComponent({\n\tname: \"YIconClear\",\n\tsetup() {\n\t\treturn () => (\n\t\t\t<svg\n\t\t\t\trole=\"presentation\"\n\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"m8 1.5c-3.5839 0-6.5 2.9161-6.5 6.5 0 3.5839 2.9161 6.5 6.5 6.5 3.5839 0 6.5-2.9161 6.5-6.5 0-3.5839-2.9161-6.5-6.5-6.5zm-2 4a.5.5 0 01.35352.14648l1.6465 1.6465 1.6465-1.6465a.5.5 0 01.35352-.14648.5.5 0 01.35352.14648.5.5 0 010 .70703l-1.6465 1.6465 1.6465 1.6465a.5.5 0 010 .70703.5.5 0 01-.70703 0l-1.6465-1.6465-1.6465 1.6465a.5.5 0 01-.70703 0 .5.5 0 010-.70703l1.6465-1.6465-1.6465-1.6465a.5.5 0 010-.70703.5.5 0 01.35352-.14648z\"\n\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\tstroke-miterlimit=\"10\"\n\t\t\t\t/>\n\t\t\t</svg>\n\t\t);\n\t},\n});\n"],"mappings":";SAASA,eAAe;AAExB,OAAO,MAAMC,UAAU,GAAGD,eAAe,CAAC;EACzCE,IAAI,EAAE,YAAY;EAClBC,KAAKA,CAAA,EAAG;IACP,OAAO,MAAAC,YAAA;MAAA;MAAA;MAAA;IAAA,IAAAA,YAAA;MAAA;MAAA;MAAA;IAAA,UAYN;EACF;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
|
2
2
|
import { defineComponent } from "../../util/component/index.js";
|
|
3
3
|
export const YIconDropdown = defineComponent({
|
|
4
|
-
name:
|
|
4
|
+
name: "YIconDropdown",
|
|
5
5
|
setup() {
|
|
6
6
|
return () => _createVNode("svg", {
|
|
7
|
+
"role": "presentation",
|
|
7
8
|
"version": "1.1",
|
|
8
9
|
"viewBox": "0 0 24 24",
|
|
9
10
|
"xmlns": "http://www.w3.org/2000/svg"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconDropdown.js","names":["defineComponent","YIconDropdown","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconDropdown.tsx"],"sourcesContent":["import { defineComponent } from
|
|
1
|
+
{"version":3,"file":"YIconDropdown.js","names":["defineComponent","YIconDropdown","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconDropdown.tsx"],"sourcesContent":["import { defineComponent } from \"@/util/component\";\n\nexport const YIconDropdown = defineComponent({\n\tname: \"YIconDropdown\",\n\tsetup() {\n\t\treturn () => (\n\t\t\t<svg\n\t\t\t\trole=\"presentation\"\n\t\t\t\tversion=\"1.1\"\n\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path d=\"M7,10L12,15L17,10H7Z\" fill=\"currentColor\" />\n\t\t\t</svg>\n\t\t);\n\t},\n});\n"],"mappings":";SAASA,eAAe;AAExB,OAAO,MAAMC,aAAa,GAAGD,eAAe,CAAC;EAC5CE,IAAI,EAAE,eAAe;EACrBC,KAAKA,CAAA,EAAG;IACP,OAAO,MAAAC,YAAA;MAAA;MAAA;MAAA;MAAA;IAAA,IAAAA,YAAA;MAAA;MAAA;IAAA,UASN;EACF;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconExpand.js","names":["defineComponent","YIconExpand","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconExpand.tsx"],"sourcesContent":["import { defineComponent } from '@/util/component';\
|
|
1
|
+
{"version":3,"file":"YIconExpand.js","names":["defineComponent","YIconExpand","name","setup","_createVNode"],"sources":["../../../src/components/icons/YIconExpand.tsx"],"sourcesContent":["import { defineComponent } from '@/util/component';\n\nexport const YIconExpand = defineComponent({\n name: 'YIconExpand',\n setup() {\n return () => (\n <svg role=\"presentation\" version=\"1.1\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"m9.6086 5.7953 13.557 10.269-13.557 10.141\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n stroke-width=\"4.1024\"\n />\n </svg>\n );\n },\n});\n"],"mappings":";SAASA,eAAe;AAExB,OAAO,MAAMC,WAAW,GAAGD,eAAe,CAAC;EACzCE,IAAI,EAAE,aAAa;EACnBC,KAAKA,CAAA,EAAG;IACN,OAAO,MAAAC,YAAA;MAAA;MAAA;MAAA;MAAA;IAAA,IAAAA,YAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA,UAWN;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { createVNode as _createVNode } from "vue";
|
|
2
2
|
import { defineComponent } from "../../util/component/index.js";
|
|
3
3
|
export const PageControlPaths = {
|
|
4
|
-
next:
|
|
5
|
-
prev:
|
|
6
|
-
last:
|
|
7
|
-
first:
|
|
4
|
+
next: "m12.18 23.585 7.6399-7.5489-7.4693-7.622",
|
|
5
|
+
prev: "m19.82 23.585-7.6399-7.5489 7.4693-7.622",
|
|
6
|
+
last: "m10.488 23.812 7.4981-7.7457-7.3307-7.8207m0 0zm10.856-0.075007v15.659",
|
|
7
|
+
first: "m21.512 23.812-7.4981-7.7457 7.3307-7.8207m0 0zm-10.856-0.075007v15.659"
|
|
8
8
|
};
|
|
9
9
|
export const YIconPageControl = defineComponent({
|
|
10
|
-
name:
|
|
10
|
+
name: "YIconPageControl",
|
|
11
11
|
props: {
|
|
12
12
|
type: {
|
|
13
13
|
type: String,
|
|
14
|
-
default:
|
|
14
|
+
default: "next"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
render() {
|
|
18
18
|
return _createVNode("svg", {
|
|
19
|
+
"role": "presentation",
|
|
19
20
|
"version": "1.1",
|
|
20
21
|
"viewBox": "0 0 32 32",
|
|
21
22
|
"xmlns": "http://www.w3.org/2000/svg"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconPageControl.js","names":["defineComponent","PageControlPaths","next","prev","last","first","YIconPageControl","name","props","type","String","default","render","_createVNode","$props"],"sources":["../../../src/components/icons/YIconPageControl.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"YIconPageControl.js","names":["defineComponent","PageControlPaths","next","prev","last","first","YIconPageControl","name","props","type","String","default","render","_createVNode","$props"],"sources":["../../../src/components/icons/YIconPageControl.tsx"],"sourcesContent":["import type { PropType } from \"vue\";\n\nimport { defineComponent } from \"@/util/component\";\n\nexport const PageControlPaths = {\n\tnext: \"m12.18 23.585 7.6399-7.5489-7.4693-7.622\",\n\tprev: \"m19.82 23.585-7.6399-7.5489 7.4693-7.622\",\n\tlast: \"m10.488 23.812 7.4981-7.7457-7.3307-7.8207m0 0zm10.856-0.075007v15.659\",\n\tfirst:\n\t\t\"m21.512 23.812-7.4981-7.7457 7.3307-7.8207m0 0zm-10.856-0.075007v15.659\",\n};\n\nexport const YIconPageControl = defineComponent({\n\tname: \"YIconPageControl\",\n\tprops: {\n\t\ttype: {\n\t\t\ttype: String as PropType<\"next\" | \"prev\" | \"first\" | \"last\">,\n\t\t\tdefault: \"next\",\n\t\t},\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<svg\n\t\t\t\trole=\"presentation\"\n\t\t\t\tversion=\"1.1\"\n\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td={\n\t\t\t\t\t\tthis.$props.type in PageControlPaths\n\t\t\t\t\t\t\t? PageControlPaths[this.$props.type]\n\t\t\t\t\t\t\t: PageControlPaths.next\n\t\t\t\t\t}\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tstroke-width=\"3\"\n\t\t\t\t/>\n\t\t\t</svg>\n\t\t);\n\t},\n});\n"],"mappings":";SAESA,eAAe;AAExB,OAAO,MAAMC,gBAAgB,GAAG;EAC/BC,IAAI,EAAE,0CAA0C;EAChDC,IAAI,EAAE,0CAA0C;EAChDC,IAAI,EAAE,wEAAwE;EAC9EC,KAAK,EACJ;AACF,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAGN,eAAe,CAAC;EAC/CO,IAAI,EAAE,kBAAkB;EACxBC,KAAK,EAAE;IACNC,IAAI,EAAE;MACLA,IAAI,EAAEC,MAAsD;MAC5DC,OAAO,EAAE;IACV;EACD,CAAC;EACDC,MAAMA,CAAA,EAAG;IACR,OAAAC,YAAA;MAAA;MAAA;MAAA;MAAA;IAAA,IAAAA,YAAA;MAAA,KASI,IAAI,CAACC,MAAM,CAACL,IAAI,IAAIR,gBAAgB,GACjCA,gBAAgB,CAAC,IAAI,CAACa,MAAM,CAACL,IAAI,CAAC,GAClCR,gBAAgB,CAACC,IAAI;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA;EAU7B;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@ import { createVNode as _createVNode } from "vue";
|
|
|
2
2
|
import { defineComponent } from "../../util/component/index.js";
|
|
3
3
|
import "./YIconSort.scss";
|
|
4
4
|
export const YIconSort = defineComponent({
|
|
5
|
-
name:
|
|
5
|
+
name: "YIconSort",
|
|
6
6
|
props: {
|
|
7
7
|
direction: {
|
|
8
8
|
type: String
|
|
@@ -13,15 +13,16 @@ export const YIconSort = defineComponent({
|
|
|
13
13
|
},
|
|
14
14
|
render() {
|
|
15
15
|
return _createVNode("svg", {
|
|
16
|
+
"role": "presentation",
|
|
16
17
|
"version": "1.1",
|
|
17
18
|
"width": "16",
|
|
18
19
|
"height": "16",
|
|
19
20
|
"viewBox": "0 0 32 32",
|
|
20
21
|
"xmlns": "http://www.w3.org/2000/svg",
|
|
21
|
-
"class": [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
"class": ["y-icon-sort", {
|
|
23
|
+
"y-icon-sort--disabled": this.disabled,
|
|
24
|
+
"y-icon-sort--asc": this.direction === "asc",
|
|
25
|
+
"y-icon-sort--desc": this.direction === "desc"
|
|
25
26
|
}]
|
|
26
27
|
}, [_createVNode("path", {
|
|
27
28
|
"d": "m8.4146 12.52 7.5489-7.6399 7.622 7.4693",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YIconSort.js","names":["defineComponent","YIconSort","name","props","direction","type","String","disabled","Boolean","render","_createVNode"],"sources":["../../../src/components/icons/YIconSort.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"YIconSort.js","names":["defineComponent","YIconSort","name","props","direction","type","String","disabled","Boolean","render","_createVNode"],"sources":["../../../src/components/icons/YIconSort.tsx"],"sourcesContent":["import type { PropType } from \"vue\";\n\nimport { defineComponent } from \"@/util/component\";\n\nimport \"./YIconSort.scss\";\n\nexport const YIconSort = defineComponent({\n\tname: \"YIconSort\",\n\tprops: {\n\t\tdirection: {\n\t\t\ttype: String as PropType<\"asc\" | \"desc\">,\n\t\t},\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t},\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<svg\n\t\t\t\trole=\"presentation\"\n\t\t\t\tversion=\"1.1\"\n\t\t\t\twidth=\"16\"\n\t\t\t\theight=\"16\"\n\t\t\t\tviewBox=\"0 0 32 32\"\n\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\tclass={[\n\t\t\t\t\t\"y-icon-sort\",\n\t\t\t\t\t{\n\t\t\t\t\t\t\"y-icon-sort--disabled\": this.disabled,\n\t\t\t\t\t\t\"y-icon-sort--asc\": this.direction === \"asc\",\n\t\t\t\t\t\t\"y-icon-sort--desc\": this.direction === \"desc\",\n\t\t\t\t\t},\n\t\t\t\t]}\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"m8.4146 12.52 7.5489-7.6399 7.622 7.4693\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tstroke-width=\"3\"\n\t\t\t\t\tclass=\"y-icon-sort__asc\"\n\t\t\t\t/>\n\t\t\t\t<path\n\t\t\t\t\td=\"m8.4146 19.48 7.5489 7.6399 7.622-7.4693\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tstroke-width=\"3\"\n\t\t\t\t\tclass=\"y-icon-sort__desc\"\n\t\t\t\t/>\n\t\t\t</svg>\n\t\t);\n\t},\n});\n"],"mappings":";SAESA,eAAe;AAExB;AAEA,OAAO,MAAMC,SAAS,GAAGD,eAAe,CAAC;EACxCE,IAAI,EAAE,WAAW;EACjBC,KAAK,EAAE;IACNC,SAAS,EAAE;MACVC,IAAI,EAAEC;IACP,CAAC;IACDC,QAAQ,EAAE;MACTF,IAAI,EAAEG;IACP;EACD,CAAC;EACDC,MAAMA,CAAA,EAAG;IACR,OAAAC,YAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA,SAQS,CACN,aAAa,EACb;QACC,uBAAuB,EAAE,IAAI,CAACH,QAAQ;QACtC,kBAAkB,EAAE,IAAI,CAACH,SAAS,KAAK,KAAK;QAC5C,mBAAmB,EAAE,IAAI,CAACA,SAAS,KAAK;MACzC,CAAC;IACD,IAAAM,YAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA,UAAAA,YAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;MAAA;IAAA;EAsBJ;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["YIconCheckbox","YIconClear","YIconDropdown","YIconExpand","YIconPageControl","YIconSort","builtSet","expand","dropdown","clear","checkbox","pageControl","next","component","props","type","prev","sort"],"sources":["../../../src/components/icons/index.ts"],"sourcesContent":["import { YIconCheckbox } from './YIconCheckbox';\
|
|
1
|
+
{"version":3,"file":"index.js","names":["YIconCheckbox","YIconClear","YIconDropdown","YIconExpand","YIconPageControl","YIconSort","builtSet","expand","dropdown","clear","checkbox","pageControl","next","component","props","type","prev","sort"],"sources":["../../../src/components/icons/index.ts"],"sourcesContent":["import { YIconCheckbox } from './YIconCheckbox';\nimport { YIconClear } from './YIconClear';\nimport { YIconDropdown } from './YIconDropdown';\nimport { YIconExpand } from './YIconExpand';\nimport { YIconPageControl } from './YIconPageControl';\nimport { YIconSort } from './YIconSort';\n\nexport * from './YIconExpand';\nexport * from './YIconClear';\nexport * from './YIconCheckbox';\nexport * from './YIconPageControl';\nexport * from './YIconSort';\n\nexport const builtSet = {\n expand: YIconExpand,\n dropdown: YIconDropdown,\n clear: YIconClear,\n checkbox: YIconCheckbox,\n pageControl: YIconPageControl,\n next: {\n component: YIconPageControl,\n props: {\n type: 'next',\n },\n },\n prev: {\n component: YIconPageControl,\n props: {\n type: 'prev',\n },\n },\n sort: YIconSort,\n};\n"],"mappings":"SAASA,aAAa;AAAA,SACbC,UAAU;AAAA,SACVC,aAAa;AAAA,SACbC,WAAW;AAAA,SACXC,gBAAgB;AAAA,SAChBC,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAQlB,OAAO,MAAMC,QAAQ,GAAG;EACtBC,MAAM,EAAEJ,WAAW;EACnBK,QAAQ,EAAEN,aAAa;EACvBO,KAAK,EAAER,UAAU;EACjBS,QAAQ,EAAEV,aAAa;EACvBW,WAAW,EAAEP,gBAAgB;EAC7BQ,IAAI,EAAE;IACJC,SAAS,EAAET,gBAAgB;IAC3BU,KAAK,EAAE;MACLC,IAAI,EAAE;IACR;EACF,CAAC;EACDC,IAAI,EAAE;IACJH,SAAS,EAAET,gBAAgB;IAC3BU,KAAK,EAAE;MACLC,IAAI,EAAE;IACR;EACF,CAAC;EACDE,IAAI,EAAEZ;AACR,CAAC","ignoreList":[]}
|