cosey 0.5.0 → 0.5.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/components/audio-card/audio-card.api.d.ts +44 -0
- package/components/audio-card/audio-card.api.js +13 -0
- package/components/audio-card/audio-card.d.ts +78 -14
- package/components/audio-card/audio-card.js +55 -7
- package/components/{stack-dialog/style/index.d.ts → audio-card/audio-card.style.d.ts} +1 -1
- package/components/audio-card/{style/index.js → audio-card.style.js} +3 -6
- package/components/audio-card/index.d.ts +120 -21
- package/components/audio-card/index.js +2 -2
- package/components/audio-viewer/audio-viewer.api.d.ts +28 -0
- package/components/audio-viewer/audio-viewer.api.js +11 -0
- package/components/audio-viewer/audio-viewer.d.ts +43 -11
- package/components/audio-viewer/audio-viewer.js +88 -5
- package/components/{transition/style/index.d.ts → audio-viewer/audio-viewer.style.d.ts} +1 -1
- package/components/audio-viewer/{style/index.js → audio-viewer.style.js} +2 -5
- package/components/audio-viewer/index.d.ts +67 -12
- package/components/audio-viewer/index.js +1 -2
- package/components/card/card.api.d.ts +11 -0
- package/components/card/card.api.js +7 -0
- package/components/card/card.d.ts +6 -11
- package/components/card/card.js +27 -0
- package/components/card/card.style.d.ts +4 -0
- package/components/card/{style/index.js → card.style.js} +2 -2
- package/components/card/index.d.ts +14 -22
- package/components/card/index.js +2 -1
- package/components/close/close.api.d.ts +3 -0
- package/components/close/close.api.js +5 -0
- package/components/close/close.d.ts +6 -2
- package/components/close/close.js +26 -0
- package/components/close/close.style.d.ts +4 -0
- package/components/close/{style/index.js → close.style.js} +2 -5
- package/components/close/index.d.ts +14 -4
- package/components/close/index.js +2 -1
- package/components/col/col.api.d.ts +54 -0
- package/components/col/col.api.js +45 -0
- package/components/col/col.d.ts +87 -28
- package/components/col/col.js +74 -9
- package/components/col/col.style.d.ts +8 -0
- package/components/col/{style/index.js → col.style.js} +3 -6
- package/components/col/index.d.ts +132 -11
- package/components/col/index.js +2 -2
- package/components/config-provider/config-provider.api.d.ts +32 -0
- package/components/config-provider/config-provider.api.js +43 -0
- package/components/config-provider/config-provider.d.ts +28 -23
- package/components/config-provider/config-provider.js +55 -27
- package/components/config-provider/index.d.ts +42 -7
- package/components/config-provider/index.js +2 -2
- package/components/container/container.api.d.ts +14 -0
- package/components/container/container.api.js +9 -0
- package/components/container/container.d.ts +12 -10
- package/components/container/container.js +33 -2
- package/components/container/container.style.d.ts +4 -0
- package/components/container/container.style.js +12 -0
- package/components/container/index.d.ts +22 -6
- package/components/container/index.js +2 -2
- package/components/context-menu/content.api.d.ts +22 -0
- package/components/context-menu/content.api.js +22 -0
- package/components/context-menu/content.d.ts +55 -8
- package/components/context-menu/content.js +44 -0
- package/components/context-menu/context-menu-item.api.d.ts +25 -0
- package/components/context-menu/context-menu-item.api.js +21 -0
- package/components/context-menu/context-menu-item.d.ts +37 -15
- package/components/context-menu/context-menu-item.js +66 -0
- package/components/context-menu/context-menu.api.d.ts +35 -0
- package/components/context-menu/context-menu.api.js +14 -0
- package/components/context-menu/context-menu.d.ts +20 -30
- package/components/context-menu/context-menu.js +152 -2
- package/components/context-menu/context-menu.style.d.ts +8 -0
- package/components/context-menu/{style/index.js → context-menu.style.js} +3 -6
- package/components/context-menu/context-sub-menu.api.d.ts +20 -0
- package/components/context-menu/context-sub-menu.api.js +17 -0
- package/components/context-menu/context-sub-menu.d.ts +31 -13
- package/components/context-menu/context-sub-menu.js +199 -0
- package/components/context-menu/divider.d.ts +2 -0
- package/components/context-menu/divider.js +17 -0
- package/components/context-menu/index.d.ts +145 -43
- package/components/context-menu/index.js +6 -4
- package/components/context-menu/useItemProvide.js +1 -1
- package/components/copy/copy.api.d.ts +14 -0
- package/components/copy/copy.api.js +11 -0
- package/components/copy/copy.d.ts +16 -11
- package/components/copy/copy.js +42 -0
- package/components/copy/copy.style.d.ts +4 -0
- package/components/copy/{style/index.js → copy.style.js} +2 -5
- package/components/copy/index.d.ts +25 -6
- package/components/copy/index.js +2 -1
- package/components/dnd-sort/dnd-sort-item.api.d.ts +13 -0
- package/components/dnd-sort/dnd-sort-item.api.js +9 -0
- package/components/dnd-sort/dnd-sort-item.d.ts +12 -7
- package/components/dnd-sort/dnd-sort-item.js +48 -0
- package/components/dnd-sort/dnd-sort.api.d.ts +33 -0
- package/components/dnd-sort/dnd-sort.api.js +17 -0
- package/components/dnd-sort/dnd-sort.d.ts +26 -25
- package/components/dnd-sort/dnd-sort.js +30 -2
- package/components/dnd-sort/dnd-sort.style.d.ts +4 -0
- package/components/dnd-sort/{style/index.js → dnd-sort.style.js} +2 -5
- package/components/dnd-sort/index.d.ts +69 -19
- package/components/dnd-sort/index.js +4 -3
- package/components/dnd-sort/useDndSort.js +1 -1
- package/components/dnd-sort/useDndSortItem.js +1 -1
- package/components/editor/components/button-group.vue.js +1 -1
- package/components/editor/components/button.vue.js +1 -1
- package/components/editor/components/color-picker/color-picker.style.js +1 -1
- package/components/editor/components/color-picker/color-picker.vue.js +1 -1
- package/components/editor/components/list/list.style.js +1 -1
- package/components/editor/components/list/list.vue.js +1 -1
- package/components/editor/components/picker/picker.style.js +1 -1
- package/components/editor/components/picker/picker.vue.js +1 -1
- package/components/editor/components/resize/resize.style.js +1 -1
- package/components/editor/components/resize/resize.vue.js +1 -1
- package/components/editor/components/select-button.vue.js +1 -1
- package/components/editor/components/select.vue.d.ts +2 -2
- package/components/editor/components/split-button.vue.js +1 -1
- package/components/editor/components/table-toolbar/table-toolbar.style.js +1 -1
- package/components/editor/components/table-toolbar/table-toolbar.vue.js +1 -1
- package/components/editor/components/toolbar/formats/background.vue.js +1 -1
- package/components/editor/components/toolbar/formats/color.vue.js +1 -1
- package/components/editor/components/toolbar/formats/table.style.js +1 -1
- package/components/editor/components/toolbar/formats/table.vue.js +1 -1
- package/components/editor/components/toolbar/toolbar.vue.js +1 -1
- package/components/editor/editor.api.d.ts +29 -0
- package/components/editor/editor.api.js +29 -0
- package/components/editor/editor.d.ts +50 -15
- package/components/editor/editor.js +109 -4
- package/components/editor/editor.style.d.ts +5 -0
- package/components/editor/{style/index.js → editor.style.js} +89 -5
- package/components/editor/index.d.ts +78 -15
- package/components/editor/index.js +3 -3
- package/components/field/components/cascader/cascader.vue.js +1 -1
- package/components/field/components/checkbox/checkbox.vue.js +1 -1
- package/components/field/components/checkbox-group/checkbox-group.vue.js +1 -1
- package/components/field/components/checkbox-group/panel.vue.js +1 -1
- package/components/field/components/color/color.vue.js +1 -1
- package/components/field/components/common.d.ts +7 -3
- package/components/field/components/common.js +6 -0
- package/components/field/components/date/date.vue.js +1 -1
- package/components/field/components/date-range/date-range.vue.js +1 -1
- package/components/field/components/date-time/date-time.vue.js +1 -1
- package/components/field/components/date-time-range/date-time-range.vue.js +1 -1
- package/components/field/components/dates/dates.vue.js +1 -1
- package/components/field/components/input/input.vue.js +1 -1
- package/components/field/components/input-tag/input-tag.vue.js +1 -1
- package/components/field/components/mention/mention.vue.js +1 -1
- package/components/field/components/month/month.vue.js +1 -1
- package/components/field/components/month-range/month-range.vue.js +1 -1
- package/components/field/components/months/months.vue.js +1 -1
- package/components/field/components/number/number.vue.js +1 -1
- package/components/field/components/number-range/number-range.vue.js +1 -1
- package/components/field/components/password/password.vue.js +1 -1
- package/components/field/components/radio-group/radio-group.vue.js +1 -1
- package/components/field/components/rate/rate.vue.js +1 -1
- package/components/field/components/remote-select/remote-select.api.d.ts +35 -0
- package/components/field/components/remote-select/remote-select.api.js +19 -0
- package/components/field/components/remote-select/remote-select.d.ts +57 -15
- package/components/field/components/remote-select/remote-select.js +34 -0
- package/components/field/components/segmented/segmented.vue.js +1 -1
- package/components/field/components/select/select.vue.js +1 -1
- package/components/field/components/select-v2/select-v2.vue.js +1 -1
- package/components/field/components/slider/slider.vue.js +1 -1
- package/components/field/components/switch/switch.vue.js +1 -1
- package/components/field/components/textarea/textarea.vue.js +1 -1
- package/components/field/components/time/time.vue.js +1 -1
- package/components/field/components/time-range/time-range.vue.js +1 -1
- package/components/field/components/time-select/time-select.vue.js +1 -1
- package/components/field/components/transfer/transfer.vue.js +1 -1
- package/components/field/components/tree-select/tree-select.vue.js +1 -1
- package/components/field/components/upload/upload.vue.js +1 -1
- package/components/field/components/week/week.vue.js +1 -1
- package/components/field/components/year/year.vue.js +1 -1
- package/components/field/components/year-range/year-range.vue.js +1 -1
- package/components/field/components/years/years.vue.js +1 -1
- package/components/field/field.api.d.ts +204 -0
- package/components/field/field.api.js +101 -0
- package/components/field/field.d.ts +14 -130
- package/components/field/field.js +24 -82
- package/components/field/index.d.ts +14 -20
- package/components/field/index.js +2 -2
- package/components/file-card/file-card.api.d.ts +27 -0
- package/components/file-card/file-card.api.js +8 -0
- package/components/file-card/file-card.d.ts +44 -9
- package/components/file-card/file-card.js +29 -5
- package/components/file-card/file-card.style.d.ts +4 -0
- package/components/file-card/{style/index.js → file-card.style.js} +3 -6
- package/components/file-card/index.d.ts +69 -11
- package/components/file-card/index.js +2 -2
- package/components/form/{form-item.d.ts → form-item.api.d.ts} +67 -43
- package/components/form/{form-item.js → form-item.api.js} +34 -10
- package/components/form/form-item.vue.d.ts +1 -1
- package/components/form/form-item.vue.js +42 -42
- package/components/form/form.api.d.ts +173 -0
- package/components/form/form.api.js +66 -0
- package/components/form/form.d.ts +161 -67
- package/components/form/form.js +90 -59
- package/components/form/form.style.d.ts +4 -0
- package/components/form/{style/index.js → form.style.js} +2 -2
- package/components/form/index.d.ts +21 -50
- package/components/form/index.js +3 -3
- package/components/form/useBubbleTemplate.js +2 -2
- package/components/form/useFormItemWidth.d.ts +2 -2
- package/components/form/useFormItemWidth.js +1 -1
- package/components/form/useFormTemplate.d.ts +1 -1
- package/components/form/useFormTemplate.js +1 -1
- package/components/form-dialog/form-dialog.vue.js +1 -1
- package/components/form-drawer/form-drawer.vue.d.ts +5 -5
- package/components/form-drawer/form-drawer.vue.js +1 -1
- package/components/form-drawer/index.d.ts +14 -14
- package/components/form-group/form-group.vue.js +2 -2
- package/components/form-group/style/index.js +1 -1
- package/components/form-list/form-list.api.d.ts +181 -0
- package/components/form-list/form-list.api.js +35 -0
- package/components/form-list/form-list.style.d.ts +4 -0
- package/components/form-list/{style/index.js → form-list.style.js} +2 -5
- package/components/form-list/form-list.vue.d.ts +4 -4
- package/components/form-list/form-list.vue.js +21 -117
- package/components/form-list/index.d.ts +15 -15
- package/components/form-list/index.js +1 -1
- package/components/form-query/form-query.api.d.ts +162 -0
- package/components/form-query/form-query.api.js +38 -0
- package/components/form-query/form-query.d.ts +195 -41
- package/components/form-query/form-query.js +137 -29
- package/components/form-query/form-query.style.d.ts +4 -0
- package/components/form-query/{style/index.js → form-query.style.js} +2 -5
- package/components/form-query/index.d.ts +52 -45
- package/components/form-query/index.js +2 -2
- package/components/highlight/highlight.vue.js +4 -4
- package/components/highlight/style/index.d.ts +0 -5
- package/components/highlight/style/index.js +2 -5
- package/components/horizontal-tree/horizontal-tree.vue.js +2 -2
- package/components/horizontal-tree/style/index.js +1 -1
- package/components/icon/icon.vue.js +2 -2
- package/components/icon/style/index.d.ts +0 -5
- package/components/icon/style/index.js +2 -5
- package/components/iconify-icon/iconify-icon.vue.js +1 -1
- package/components/image-card/image-card.d.ts +7 -7
- package/components/image-card/image-card.js +1 -1
- package/components/image-card/image-card.style.d.ts +4 -0
- package/components/image-card/image-card.style.js +13 -0
- package/components/image-card/image-card.vue.d.ts +16 -16
- package/components/image-card/image-card.vue.js +3 -3
- package/components/image-card/index.d.ts +29 -29
- package/components/index.js +29 -21
- package/components/input-number-range/index.d.ts +5 -5
- package/components/input-number-range/input-number-range.vue.d.ts +2 -2
- package/components/input-number-range/input-number-range.vue.js +2 -2
- package/components/input-number-range/style/index.js +2 -2
- package/components/long-text/long-text.vue.js +2 -2
- package/components/long-text/style/index.d.ts +0 -5
- package/components/long-text/style/index.js +2 -5
- package/components/mask/index.d.ts +14 -4
- package/components/mask/index.js +2 -1
- package/components/mask/mask.api.d.ts +3 -0
- package/components/mask/mask.api.js +5 -0
- package/components/mask/mask.d.ts +6 -2
- package/components/mask/mask.js +23 -0
- package/components/mask/mask.style.d.ts +4 -0
- package/components/mask/{style/index.js → mask.style.js} +2 -5
- package/components/media-card/index.d.ts +70 -12
- package/components/media-card/index.js +2 -2
- package/components/media-card/media-card.api.d.ts +52 -0
- package/components/media-card/media-card.api.js +27 -0
- package/components/media-card/media-card.d.ts +29 -26
- package/components/media-card/media-card.js +56 -24
- package/components/media-card/{style/index.d.ts → media-card.style.d.ts} +3 -3
- package/components/media-card/{style/index.js → media-card.style.js} +1 -1
- package/components/media-card-group/media-card-group.d.ts +1 -1
- package/components/media-card-group/media-card-group.vue.js +7 -6
- package/components/media-card-group/style/index.js +1 -1
- package/components/media-viewer/index.d.ts +74 -13
- package/components/media-viewer/index.js +2 -2
- package/components/media-viewer/media-viewer.api.d.ts +50 -0
- package/components/media-viewer/media-viewer.api.js +27 -0
- package/components/media-viewer/media-viewer.d.ts +45 -22
- package/components/media-viewer/media-viewer.js +13 -7
- package/components/number-format/index.d.ts +3 -3
- package/components/number-format/number-format.vue.d.ts +1 -1
- package/components/number-format/number-format.vue.js +1 -1
- package/components/only-child/index.js +1 -1
- package/components/only-child/{only-child.vue.d.ts → only-child.d.ts} +1 -1
- package/components/only-child/{only-child.vue.js → only-child.js} +1 -2
- package/components/optional-wrapper/index.d.ts +61 -9
- package/components/optional-wrapper/index.js +1 -1
- package/components/optional-wrapper/optional-wrapper.api.d.ts +17 -0
- package/components/optional-wrapper/optional-wrapper.api.js +14 -0
- package/components/optional-wrapper/optional-wrapper.d.ts +28 -8
- package/components/optional-wrapper/optional-wrapper.js +28 -0
- package/components/panel/panel.vue.js +2 -2
- package/components/panel/style/index.d.ts +0 -5
- package/components/panel/style/index.js +2 -5
- package/components/remote-select/index.d.ts +75 -51
- package/components/remote-select/index.js +2 -2
- package/components/remote-select/remote-select.api.d.ts +273 -0
- package/components/remote-select/remote-select.api.js +37 -0
- package/components/remote-select/remote-select.d.ts +337 -63
- package/components/remote-select/remote-select.js +187 -34
- package/components/remote-select/remote-select.style.d.ts +4 -0
- package/components/remote-select/{style/index.js → remote-select.style.js} +2 -2
- package/components/row/row.vue.js +2 -2
- package/components/row/style/index.d.ts +0 -5
- package/components/row/style/index.js +2 -5
- package/components/scroll-view/scroll-view.vue.js +2 -2
- package/components/scroll-view/style/index.d.ts +0 -5
- package/components/scroll-view/style/index.js +2 -5
- package/components/snug-menu/index.d.ts +5 -5
- package/components/snug-menu/snug-menu-item.vue.js +2 -2
- package/components/snug-menu/snug-menu.vue.d.ts +2 -2
- package/components/snug-menu/snug-menu.vue.js +2 -2
- package/components/snug-menu/style/index.d.ts +0 -5
- package/components/snug-menu/style/index.js +2 -5
- package/components/stack-dialog/stack-dialog.style.d.ts +4 -0
- package/components/stack-dialog/{style/index.js → stack-dialog.style.js} +2 -2
- package/components/stack-dialog/stack-dialog.vue.js +3 -3
- package/components/svg-icon/svg-icon.vue.js +1 -1
- package/components/table/index.d.ts +32 -32
- package/components/table/table-column/{style/index.js → table-column.style.js} +2 -5
- package/components/table/table-column/table-column.vue.d.ts +7 -7
- package/components/table/table-column/table-column.vue.js +2 -2
- package/components/table/table-column-editor/item.vue.js +1 -1
- package/components/table/table-column-editor/list.vue.js +1 -1
- package/components/table/table-column-editor/{style/index.js → table-column-editor.style.js} +3 -6
- package/components/table/table-column-editor/table-column-editor.vue.js +3 -3
- package/components/table/table-export/item.vue.js +1 -1
- package/components/table/table-export/list.vue.js +1 -1
- package/components/table/table-export/style/index.d.ts +0 -5
- package/components/table/table-export/style/index.js +2 -5
- package/components/table/table-export/table-export.vue.d.ts +5 -5
- package/components/table/table-export/table-export.vue.js +2 -2
- package/components/table/table-query/table-query.d.ts +2 -2
- package/components/table/table-query/table-query.js +2 -2
- package/components/table/table-query/table-query.vue.d.ts +20 -8
- package/components/table/table-query/table-query.vue.js +1 -2
- package/components/table/table-stats/table-stats.style.js +1 -1
- package/components/table/table-stats/table-stats.vue.js +1 -1
- package/components/table/table.d.ts +7 -7
- package/components/table/table.style.d.ts +0 -6
- package/components/table/table.style.js +3 -10
- package/components/table/table.vue.d.ts +17 -17
- package/components/table/table.vue.js +2 -2
- package/components/table-action/index.d.ts +23 -572
- package/components/table-action/index.js +2 -2
- package/components/table-action/item.api.d.ts +98 -0
- package/components/table-action/item.api.js +35 -0
- package/components/table-action/item.d.ts +126 -16
- package/components/table-action/item.js +88 -32
- package/components/table-action/table-action.api.d.ts +9 -0
- package/components/table-action/table-action.api.js +8 -0
- package/components/table-action/table-action.d.ts +15 -7
- package/components/table-action/table-action.js +36 -4
- package/components/table-action/table-action.style.d.ts +4 -0
- package/components/table-action/{style/index.js → table-action.style.js} +2 -5
- package/components/theme/getGlobalStyleHook.js +1 -1
- package/components/theme/getOverrideStyleHook.js +1 -1
- package/components/theme/getSimpleStyleHook.js +1 -1
- package/components/theme/getStyleHook.js +1 -1
- package/components/theme/interface/components.d.ts +1 -60
- package/components/theme/util/useToken.js +1 -1
- package/components/toggle/index.d.ts +29 -13
- package/components/toggle/index.js +2 -1
- package/components/toggle/toggle.api.d.ts +15 -0
- package/components/toggle/toggle.api.js +13 -0
- package/components/toggle/toggle.d.ts +16 -9
- package/components/toggle/toggle.js +43 -0
- package/components/transition/index.d.ts +165 -11
- package/components/transition/index.js +2 -1
- package/components/transition/transition.api.d.ts +58 -0
- package/components/transition/transition.api.js +52 -0
- package/components/transition/transition.d.ts +108 -7
- package/components/transition/transition.js +38 -0
- package/components/transition/transition.style.d.ts +4 -0
- package/components/transition/{style/index.js → transition.style.js} +2 -2
- package/components/transition-group/index.d.ts +189 -11
- package/components/transition-group/index.js +2 -1
- package/components/transition-group/transition-group.api.d.ts +65 -0
- package/components/transition-group/transition-group.api.js +19 -0
- package/components/transition-group/transition-group.d.ts +123 -7
- package/components/transition-group/transition-group.js +50 -0
- package/components/transition-group/transition-group.style.d.ts +4 -0
- package/components/transition-group/{style/index.js → transition-group.style.js} +2 -5
- package/components/upload/index.d.ts +165 -20
- package/components/upload/index.js +2 -2
- package/components/upload/upload-item.d.ts +37 -0
- package/components/upload/upload-item.js +110 -0
- package/components/upload/upload.api.d.ts +93 -0
- package/components/upload/upload.api.js +71 -0
- package/components/upload/upload.d.ts +106 -53
- package/components/upload/upload.js +211 -7
- package/components/upload/upload.style.d.ts +4 -0
- package/components/upload/{style/index.js → upload.style.js} +3 -6
- package/components/utils.js +1 -1
- package/components/video-card/index.d.ts +120 -21
- package/components/video-card/index.js +2 -2
- package/components/video-card/video-card.api.d.ts +44 -0
- package/components/video-card/video-card.api.js +13 -0
- package/components/video-card/video-card.d.ts +78 -14
- package/components/video-card/video-card.js +58 -7
- package/components/video-card/video-card.style.d.ts +4 -0
- package/components/video-card/{style/index.js → video-card.style.js} +3 -6
- package/components/video-viewer/index.d.ts +67 -12
- package/components/video-viewer/index.js +1 -2
- package/components/video-viewer/video-viewer.api.d.ts +28 -0
- package/components/video-viewer/video-viewer.api.js +11 -0
- package/components/video-viewer/video-viewer.d.ts +43 -11
- package/components/video-viewer/video-viewer.js +89 -5
- package/components/video-viewer/video-viewer.style.d.ts +4 -0
- package/components/video-viewer/{style/index.js → video-viewer.style.js} +2 -5
- package/config/root-config-provider.api.d.ts +20 -0
- package/config/root-config-provider.api.js +21 -0
- package/config/root-config-provider.d.ts +30 -7
- package/config/root-config-provider.js +56 -14
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/layout/layout-aside/layout-aside.vue.js +2 -2
- package/layout/layout-aside/style/index.js +1 -1
- package/layout/layout-auth/layout-auth.vue.js +2 -2
- package/layout/layout-auth/style/index.js +1 -1
- package/layout/layout-base/layout-base.vue.js +2 -2
- package/layout/layout-base/style/index.js +1 -1
- package/layout/layout-brand/layout-brand.vue.js +2 -2
- package/layout/layout-brand/style/index.js +1 -1
- package/layout/layout-breadcrumb/layout-breadcrumb.vue.js +1 -1
- package/layout/layout-change-password/layout-change-password.vue.js +1 -1
- package/layout/layout-change-password/style/index.js +1 -1
- package/layout/layout-color-scheme/layout-color-scheme.vue.js +2 -2
- package/layout/layout-color-scheme/style/index.js +1 -1
- package/layout/layout-content/layout-content.vue.js +2 -2
- package/layout/layout-content/style/index.js +1 -1
- package/layout/layout-empty/layout-empty.vue.js +1 -1
- package/layout/layout-exception/layout-exception.vue.js +2 -2
- package/layout/layout-exception/style/index.js +1 -1
- package/layout/layout-forbidden/layout-forbidden.vue.js +1 -1
- package/layout/layout-header/layout-header.vue.js +2 -2
- package/layout/layout-header/style/index.js +1 -1
- package/layout/layout-iframe/item.vue.js +2 -2
- package/layout/layout-iframe/layout-iframe.vue.js +1 -1
- package/layout/layout-iframe/style/index.js +1 -1
- package/layout/layout-internal-server-error/layout-internal-server-error.vue.js +1 -1
- package/layout/layout-login/layout-login.vue.js +1 -1
- package/layout/layout-login/style/index.js +1 -1
- package/layout/layout-main/layout-main.vue.js +2 -2
- package/layout/layout-main/style/index.js +1 -1
- package/layout/layout-mask/layout-mask.vue.js +2 -2
- package/layout/layout-mask/style/index.js +1 -1
- package/layout/layout-menu/layout-menu.vue.js +2 -2
- package/layout/layout-menu/style/index.js +1 -1
- package/layout/layout-not-found/layout-not-found.vue.js +1 -1
- package/layout/layout-search/layout-search.vue.js +4 -4
- package/layout/layout-search/style/index.js +1 -1
- package/layout/layout-sidebar/layout-sidebar.vue.js +2 -2
- package/layout/layout-sidebar/style/index.js +1 -1
- package/layout/layout-snug-aside/layout-snug-aside.vue.js +2 -2
- package/layout/layout-snug-aside/style/index.js +1 -1
- package/layout/layout-snug-menu/layout-snug-menu.vue.js +1 -1
- package/layout/layout-switch-effect/layout-switch-effect.vue.js +2 -2
- package/layout/layout-switch-effect/style/index.js +1 -1
- package/layout/layout-tabbar/layout-tabbar.vue.js +2 -2
- package/layout/layout-tabbar/reload.vue.js +2 -2
- package/layout/layout-tabbar/style/index.js +1 -1
- package/layout/layout-toggle/layout-toggle.vue.js +1 -1
- package/layout/layout-top-snug-menu/layout-top-snug-menu.vue.js +1 -1
- package/layout/layout-topbar/layout-topbar.vue.js +2 -2
- package/layout/layout-topbar/style/index.js +1 -1
- package/layout/layout-user-menu/layout-user-menu.vue.js +2 -2
- package/layout/layout-user-menu/style/index.js +1 -1
- package/package.json +3 -3
- package/utils/index.js +1 -1
- package/utils/vue.d.ts +8 -0
- package/utils/vue.js +9 -1
- package/components/audio-card/audio-card.vue.d.ts +0 -14
- package/components/audio-card/audio-card.vue.js +0 -106
- package/components/audio-card/style/index.d.ts +0 -9
- package/components/audio-viewer/audio-viewer.vue.d.ts +0 -16
- package/components/audio-viewer/audio-viewer.vue.js +0 -124
- package/components/audio-viewer/style/index.d.ts +0 -9
- package/components/card/card.vue.d.ts +0 -16
- package/components/card/card.vue.js +0 -31
- package/components/close/close.vue.d.ts +0 -3
- package/components/close/close.vue.js +0 -30
- package/components/close/style/index.d.ts +0 -9
- package/components/col/col.vue.d.ts +0 -16
- package/components/col/col.vue.js +0 -126
- package/components/col/style/index.d.ts +0 -12
- package/components/config-provider/config-provider.vue.d.ts +0 -13
- package/components/config-provider/config-provider.vue.js +0 -77
- package/components/container/container.vue.d.ts +0 -10
- package/components/container/container.vue.js +0 -41
- package/components/container/style/index.d.ts +0 -9
- package/components/container/style/index.js +0 -15
- package/components/context-menu/content.vue.d.ts +0 -3
- package/components/context-menu/content.vue.js +0 -69
- package/components/context-menu/context-menu-item.vue.d.ts +0 -14
- package/components/context-menu/context-menu-item.vue.js +0 -97
- package/components/context-menu/context-menu.vue.d.ts +0 -21
- package/components/context-menu/context-menu.vue.js +0 -165
- package/components/context-menu/context-sub-menu.vue.d.ts +0 -10
- package/components/context-menu/context-sub-menu.vue.js +0 -225
- package/components/context-menu/divider.vue.d.ts +0 -2
- package/components/context-menu/divider.vue.js +0 -19
- package/components/context-menu/style/index.d.ts +0 -11
- package/components/copy/copy.vue.d.ts +0 -10
- package/components/copy/copy.vue.js +0 -60
- package/components/copy/style/index.d.ts +0 -9
- package/components/dnd-sort/dnd-sort-item.vue.d.ts +0 -10
- package/components/dnd-sort/dnd-sort-item.vue.js +0 -61
- package/components/dnd-sort/dnd-sort.vue.d.ts +0 -14
- package/components/dnd-sort/dnd-sort.vue.js +0 -47
- package/components/dnd-sort/style/index.d.ts +0 -9
- package/components/editor/editor.vue.d.ts +0 -11
- package/components/editor/editor.vue.js +0 -144
- package/components/editor/style/button.d.ts +0 -4
- package/components/editor/style/button.js +0 -68
- package/components/editor/style/hljs.d.ts +0 -2
- package/components/editor/style/hljs.js +0 -8
- package/components/editor/style/index.d.ts +0 -11
- package/components/editor/style/toolbar.d.ts +0 -4
- package/components/editor/style/toolbar.js +0 -18
- package/components/field/components/remote-select/remote-select.vue.d.ts +0 -3
- package/components/field/components/remote-select/remote-select.vue.js +0 -32
- package/components/field/field.vue.d.ts +0 -14
- package/components/field/field.vue.js +0 -56
- package/components/file-card/file-card.vue.d.ts +0 -12
- package/components/file-card/file-card.vue.js +0 -61
- package/components/file-card/style/index.d.ts +0 -9
- package/components/form/form.vue.d.ts +0 -281
- package/components/form/form.vue.js +0 -104
- package/components/form/style/index.d.ts +0 -10
- package/components/form-list/form-list.d.ts +0 -55
- package/components/form-list/form-list.js +0 -10
- package/components/form-list/style/index.d.ts +0 -9
- package/components/form-query/form-query.vue.d.ts +0 -318
- package/components/form-query/form-query.vue.js +0 -155
- package/components/form-query/style/index.d.ts +0 -9
- package/components/image-card/style/index.d.ts +0 -9
- package/components/image-card/style/index.js +0 -16
- package/components/mask/mask.vue.d.ts +0 -3
- package/components/mask/mask.vue.js +0 -26
- package/components/mask/style/index.d.ts +0 -9
- package/components/media-card/media-card.vue.d.ts +0 -12
- package/components/media-card/media-card.vue.js +0 -89
- package/components/media-viewer/media-viewer.vue.d.ts +0 -14
- package/components/media-viewer/media-viewer.vue.js +0 -38
- package/components/optional-wrapper/optional-wrapper.vue.d.ts +0 -12
- package/components/optional-wrapper/optional-wrapper.vue.js +0 -27
- package/components/remote-select/remote-select.vue.d.ts +0 -530
- package/components/remote-select/remote-select.vue.js +0 -187
- package/components/table/table-column/style/index.d.ts +0 -9
- package/components/table/table-column-editor/style/index.d.ts +0 -9
- package/components/table-action/item.vue.d.ts +0 -208
- package/components/table-action/item.vue.js +0 -116
- package/components/table-action/style/index.d.ts +0 -9
- package/components/table-action/table-action.vue.d.ts +0 -193
- package/components/table-action/table-action.vue.js +0 -52
- package/components/toggle/toggle.vue.d.ts +0 -14
- package/components/toggle/toggle.vue.js +0 -55
- package/components/transition/transition.vue.d.ts +0 -13
- package/components/transition/transition.vue.js +0 -159
- package/components/transition-group/style/index.d.ts +0 -9
- package/components/transition-group/transition-group.vue.d.ts +0 -13
- package/components/transition-group/transition-group.vue.js +0 -179
- package/components/upload/style/index.d.ts +0 -9
- package/components/upload/upload-item.vue.d.ts +0 -11
- package/components/upload/upload-item.vue.js +0 -147
- package/components/upload/upload.vue.d.ts +0 -23
- package/components/upload/upload.vue.js +0 -275
- package/components/video-card/style/index.d.ts +0 -9
- package/components/video-card/video-card.vue.d.ts +0 -14
- package/components/video-card/video-card.vue.js +0 -111
- package/components/video-viewer/style/index.d.ts +0 -9
- package/components/video-viewer/video-viewer.vue.d.ts +0 -16
- package/components/video-viewer/video-viewer.vue.js +0 -125
- package/config/root-config-provider.vue.d.ts +0 -15
- package/config/root-config-provider.vue.js +0 -85
- /package/components/{remote-select/style/index.d.ts → table/table-column/table-column.style.d.ts} +0 -0
- /package/components/{card/style/index.d.ts → table/table-column-editor/table-column-editor.style.d.ts} +0 -0
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { TableActionProps } from './table-action';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<TableActionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableActionProps> & Readonly<{}>, {
|
|
3
|
-
actions: Partial<import("vue").ExtractPropTypes<{
|
|
4
|
-
link: {
|
|
5
|
-
type: import("vue").PropType<boolean>;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
type: {
|
|
9
|
-
type: import("vue").PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
label: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
popconfirm: {
|
|
16
|
-
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<typeof import("element-plus").popconfirmProps>> & {
|
|
17
|
-
confirm?: (event: MouseEvent) => any;
|
|
18
|
-
cancel?: (event: MouseEvent) => void;
|
|
19
|
-
}>;
|
|
20
|
-
};
|
|
21
|
-
onClick: {
|
|
22
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
23
|
-
};
|
|
24
|
-
hidden: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
visible: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
icon: {
|
|
33
|
-
type: StringConstructor;
|
|
34
|
-
};
|
|
35
|
-
size: {
|
|
36
|
-
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
37
|
-
readonly required: false;
|
|
38
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
|
-
__epPropKey: true;
|
|
40
|
-
};
|
|
41
|
-
disabled: BooleanConstructor;
|
|
42
|
-
nativeType: {
|
|
43
|
-
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
44
|
-
readonly required: false;
|
|
45
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
-
__epPropKey: true;
|
|
47
|
-
} & {
|
|
48
|
-
readonly default: "button";
|
|
49
|
-
};
|
|
50
|
-
loading: BooleanConstructor;
|
|
51
|
-
loadingIcon: {
|
|
52
|
-
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
} & {
|
|
57
|
-
readonly default: () => any;
|
|
58
|
-
};
|
|
59
|
-
plain: {
|
|
60
|
-
readonly type: import("vue").PropType<boolean>;
|
|
61
|
-
readonly required: false;
|
|
62
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
|
-
__epPropKey: true;
|
|
64
|
-
} & {
|
|
65
|
-
readonly default: undefined;
|
|
66
|
-
};
|
|
67
|
-
text: BooleanConstructor;
|
|
68
|
-
bg: BooleanConstructor;
|
|
69
|
-
autofocus: BooleanConstructor;
|
|
70
|
-
round: {
|
|
71
|
-
readonly type: import("vue").PropType<boolean>;
|
|
72
|
-
readonly required: false;
|
|
73
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
|
-
__epPropKey: true;
|
|
75
|
-
} & {
|
|
76
|
-
readonly default: undefined;
|
|
77
|
-
};
|
|
78
|
-
circle: BooleanConstructor;
|
|
79
|
-
color: StringConstructor;
|
|
80
|
-
dark: BooleanConstructor;
|
|
81
|
-
autoInsertSpace: {
|
|
82
|
-
readonly type: import("vue").PropType<boolean>;
|
|
83
|
-
readonly required: false;
|
|
84
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
-
__epPropKey: true;
|
|
86
|
-
} & {
|
|
87
|
-
readonly default: undefined;
|
|
88
|
-
};
|
|
89
|
-
tag: {
|
|
90
|
-
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
91
|
-
readonly required: false;
|
|
92
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
-
__epPropKey: true;
|
|
94
|
-
} & {
|
|
95
|
-
readonly default: "button";
|
|
96
|
-
};
|
|
97
|
-
}>>[] | Partial<import("vue").ExtractPropTypes<{
|
|
98
|
-
link: {
|
|
99
|
-
type: import("vue").PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
|
-
type: {
|
|
103
|
-
type: import("vue").PropType<"primary" | "success" | "warning" | "danger" | "info" | "text">;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
|
-
label: {
|
|
107
|
-
type: StringConstructor;
|
|
108
|
-
};
|
|
109
|
-
popconfirm: {
|
|
110
|
-
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<typeof import("element-plus").popconfirmProps>> & {
|
|
111
|
-
confirm?: (event: MouseEvent) => any;
|
|
112
|
-
cancel?: (event: MouseEvent) => void;
|
|
113
|
-
}>;
|
|
114
|
-
};
|
|
115
|
-
onClick: {
|
|
116
|
-
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
117
|
-
};
|
|
118
|
-
hidden: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
|
-
visible: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
default: boolean;
|
|
125
|
-
};
|
|
126
|
-
icon: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
};
|
|
129
|
-
size: {
|
|
130
|
-
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
131
|
-
readonly required: false;
|
|
132
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
-
__epPropKey: true;
|
|
134
|
-
};
|
|
135
|
-
disabled: BooleanConstructor;
|
|
136
|
-
nativeType: {
|
|
137
|
-
readonly type: import("vue").PropType<"button" | "reset" | "submit">;
|
|
138
|
-
readonly required: false;
|
|
139
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
-
__epPropKey: true;
|
|
141
|
-
} & {
|
|
142
|
-
readonly default: "button";
|
|
143
|
-
};
|
|
144
|
-
loading: BooleanConstructor;
|
|
145
|
-
loadingIcon: {
|
|
146
|
-
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
147
|
-
readonly required: false;
|
|
148
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
|
-
__epPropKey: true;
|
|
150
|
-
} & {
|
|
151
|
-
readonly default: () => any;
|
|
152
|
-
};
|
|
153
|
-
plain: {
|
|
154
|
-
readonly type: import("vue").PropType<boolean>;
|
|
155
|
-
readonly required: false;
|
|
156
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
157
|
-
__epPropKey: true;
|
|
158
|
-
} & {
|
|
159
|
-
readonly default: undefined;
|
|
160
|
-
};
|
|
161
|
-
text: BooleanConstructor;
|
|
162
|
-
bg: BooleanConstructor;
|
|
163
|
-
autofocus: BooleanConstructor;
|
|
164
|
-
round: {
|
|
165
|
-
readonly type: import("vue").PropType<boolean>;
|
|
166
|
-
readonly required: false;
|
|
167
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
-
__epPropKey: true;
|
|
169
|
-
} & {
|
|
170
|
-
readonly default: undefined;
|
|
171
|
-
};
|
|
172
|
-
circle: BooleanConstructor;
|
|
173
|
-
color: StringConstructor;
|
|
174
|
-
dark: BooleanConstructor;
|
|
175
|
-
autoInsertSpace: {
|
|
176
|
-
readonly type: import("vue").PropType<boolean>;
|
|
177
|
-
readonly required: false;
|
|
178
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
-
__epPropKey: true;
|
|
180
|
-
} & {
|
|
181
|
-
readonly default: undefined;
|
|
182
|
-
};
|
|
183
|
-
tag: {
|
|
184
|
-
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
185
|
-
readonly required: false;
|
|
186
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
187
|
-
__epPropKey: true;
|
|
188
|
-
} & {
|
|
189
|
-
readonly default: "button";
|
|
190
|
-
};
|
|
191
|
-
}>>[][];
|
|
192
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
193
|
-
export default _default;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeDefaults, computed, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createBlock, mergeProps } from 'vue';
|
|
2
|
-
import { defaultTableActionProps } from './table-action.js';
|
|
3
|
-
import stdin_default$2 from './item.vue.js';
|
|
4
|
-
import stdin_default$1 from './style/index.js';
|
|
5
|
-
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
6
|
-
|
|
7
|
-
var stdin_default = /* @__PURE__ */defineComponent({
|
|
8
|
-
...{
|
|
9
|
-
name: "TableAction"
|
|
10
|
-
},
|
|
11
|
-
__name: "table-action",
|
|
12
|
-
props: /* @__PURE__ */mergeDefaults({
|
|
13
|
-
actions: {
|
|
14
|
-
type: Array,
|
|
15
|
-
required: false
|
|
16
|
-
}
|
|
17
|
-
}, defaultTableActionProps),
|
|
18
|
-
setup(__props) {
|
|
19
|
-
const props = __props;
|
|
20
|
-
const dyadicActions = computed(() => {
|
|
21
|
-
return Array.isArray(props.actions[0]) ? props.actions : [props.actions];
|
|
22
|
-
});
|
|
23
|
-
const {
|
|
24
|
-
prefixCls
|
|
25
|
-
} = useComponentConfig("table-action", props);
|
|
26
|
-
const {
|
|
27
|
-
hashId
|
|
28
|
-
} = stdin_default$1(prefixCls);
|
|
29
|
-
return (_ctx, _cache) => {
|
|
30
|
-
return openBlock(), createElementBlock("div", {
|
|
31
|
-
class: normalizeClass([unref(hashId), unref(prefixCls)])
|
|
32
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(dyadicActions.value, (actions, rowIndex) => {
|
|
33
|
-
return openBlock(), createElementBlock("div", {
|
|
34
|
-
key: rowIndex,
|
|
35
|
-
class: normalizeClass(`${unref(prefixCls)}-row`)
|
|
36
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(actions, (action, actionIndex) => {
|
|
37
|
-
return openBlock(), createBlock(stdin_default$2, mergeProps({
|
|
38
|
-
key: actionIndex,
|
|
39
|
-
ref_for: true
|
|
40
|
-
}, action), null, 16
|
|
41
|
-
/* FULL_PROPS */);
|
|
42
|
-
}), 128
|
|
43
|
-
/* KEYED_FRAGMENT */))], 2
|
|
44
|
-
/* CLASS */);
|
|
45
|
-
}), 128
|
|
46
|
-
/* KEYED_FRAGMENT */))], 2
|
|
47
|
-
/* CLASS */);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { stdin_default as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type ToggleProps, type ToggleSlots } from './toggle';
|
|
2
|
-
type __VLS_Slots = ToggleSlots;
|
|
3
|
-
declare const __VLS_component: import("vue").DefineComponent<ToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
-
"update:modelValue": (value: boolean) => any;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<ToggleProps> & Readonly<{
|
|
6
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
-
new (): {
|
|
12
|
-
$slots: S;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, computed, createBlock, openBlock, unref, withCtx, createTextVNode, createVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { ElButton } from 'element-plus';
|
|
3
|
-
import stdin_default$1 from '../icon/icon.vue.js';
|
|
4
|
-
import { useLocale } from '../../hooks/useLocale.js';
|
|
5
|
-
|
|
6
|
-
var stdin_default = /* @__PURE__ */defineComponent({
|
|
7
|
-
...{
|
|
8
|
-
name: "Toggle"
|
|
9
|
-
},
|
|
10
|
-
__name: "toggle",
|
|
11
|
-
props: {
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
required: false
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:modelValue"],
|
|
18
|
-
setup(__props, {
|
|
19
|
-
emit: __emit
|
|
20
|
-
}) {
|
|
21
|
-
const props = __props;
|
|
22
|
-
const emit = __emit;
|
|
23
|
-
const {
|
|
24
|
-
t
|
|
25
|
-
} = useLocale();
|
|
26
|
-
const innerValue = ref(props.modelValue);
|
|
27
|
-
watch(() => props.modelValue, () => {
|
|
28
|
-
innerValue.value = props.modelValue;
|
|
29
|
-
});
|
|
30
|
-
const text = computed(() => {
|
|
31
|
-
return innerValue.value ? t("co.toggle.unfold") : t("co.toggle.fold");
|
|
32
|
-
});
|
|
33
|
-
const handleClick = () => {
|
|
34
|
-
innerValue.value = !innerValue.value;
|
|
35
|
-
emit("update:modelValue", innerValue.value);
|
|
36
|
-
};
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
return openBlock(), createBlock(unref(ElButton), {
|
|
39
|
-
type: "primary",
|
|
40
|
-
link: "",
|
|
41
|
-
onClick: handleClick
|
|
42
|
-
}, {
|
|
43
|
-
default: withCtx(() => [createTextVNode(toDisplayString(text.value) + " ", 1
|
|
44
|
-
/* TEXT */), createVNode(stdin_default$1, {
|
|
45
|
-
name: innerValue.value ? "co:chevron-down" : "co:chevron-up",
|
|
46
|
-
size: "xl"
|
|
47
|
-
}, null, 8, ["name"])]),
|
|
48
|
-
_: 1
|
|
49
|
-
/* STABLE */
|
|
50
|
-
});
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
export { stdin_default as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type TransitionProps, type TransitionSlots } from './transition';
|
|
2
|
-
type __VLS_Slots = TransitionSlots;
|
|
3
|
-
declare const __VLS_component: import("vue").DefineComponent<TransitionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TransitionProps> & Readonly<{}>, {
|
|
4
|
-
name: "fade";
|
|
5
|
-
css: boolean;
|
|
6
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, openBlock, Transition, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import stdin_default$1 from './style/index.js';
|
|
3
|
-
import { reactiveOmit } from '@vueuse/core';
|
|
4
|
-
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
5
|
-
|
|
6
|
-
var stdin_default = /* @__PURE__ */defineComponent({
|
|
7
|
-
...{
|
|
8
|
-
name: "Transition"
|
|
9
|
-
},
|
|
10
|
-
__name: "transition",
|
|
11
|
-
props: {
|
|
12
|
-
name: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: false,
|
|
15
|
-
default: "fade"
|
|
16
|
-
},
|
|
17
|
-
type: {
|
|
18
|
-
type: null,
|
|
19
|
-
required: false
|
|
20
|
-
},
|
|
21
|
-
css: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
required: false,
|
|
24
|
-
default: true
|
|
25
|
-
},
|
|
26
|
-
duration: {
|
|
27
|
-
type: [Number, Object],
|
|
28
|
-
required: false
|
|
29
|
-
},
|
|
30
|
-
enterFromClass: {
|
|
31
|
-
type: String,
|
|
32
|
-
required: false
|
|
33
|
-
},
|
|
34
|
-
enterActiveClass: {
|
|
35
|
-
type: String,
|
|
36
|
-
required: false
|
|
37
|
-
},
|
|
38
|
-
enterToClass: {
|
|
39
|
-
type: String,
|
|
40
|
-
required: false
|
|
41
|
-
},
|
|
42
|
-
appearFromClass: {
|
|
43
|
-
type: String,
|
|
44
|
-
required: false
|
|
45
|
-
},
|
|
46
|
-
appearActiveClass: {
|
|
47
|
-
type: String,
|
|
48
|
-
required: false
|
|
49
|
-
},
|
|
50
|
-
appearToClass: {
|
|
51
|
-
type: String,
|
|
52
|
-
required: false
|
|
53
|
-
},
|
|
54
|
-
leaveFromClass: {
|
|
55
|
-
type: String,
|
|
56
|
-
required: false
|
|
57
|
-
},
|
|
58
|
-
leaveActiveClass: {
|
|
59
|
-
type: String,
|
|
60
|
-
required: false
|
|
61
|
-
},
|
|
62
|
-
leaveToClass: {
|
|
63
|
-
type: String,
|
|
64
|
-
required: false
|
|
65
|
-
},
|
|
66
|
-
mode: {
|
|
67
|
-
type: String,
|
|
68
|
-
required: false
|
|
69
|
-
},
|
|
70
|
-
appear: {
|
|
71
|
-
type: Boolean,
|
|
72
|
-
required: false
|
|
73
|
-
},
|
|
74
|
-
persisted: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
required: false
|
|
77
|
-
},
|
|
78
|
-
onBeforeEnter: {
|
|
79
|
-
type: null,
|
|
80
|
-
required: false
|
|
81
|
-
},
|
|
82
|
-
onEnter: {
|
|
83
|
-
type: null,
|
|
84
|
-
required: false
|
|
85
|
-
},
|
|
86
|
-
onAfterEnter: {
|
|
87
|
-
type: null,
|
|
88
|
-
required: false
|
|
89
|
-
},
|
|
90
|
-
onEnterCancelled: {
|
|
91
|
-
type: null,
|
|
92
|
-
required: false
|
|
93
|
-
},
|
|
94
|
-
onBeforeLeave: {
|
|
95
|
-
type: null,
|
|
96
|
-
required: false
|
|
97
|
-
},
|
|
98
|
-
onLeave: {
|
|
99
|
-
type: null,
|
|
100
|
-
required: false
|
|
101
|
-
},
|
|
102
|
-
onAfterLeave: {
|
|
103
|
-
type: null,
|
|
104
|
-
required: false
|
|
105
|
-
},
|
|
106
|
-
onLeaveCancelled: {
|
|
107
|
-
type: null,
|
|
108
|
-
required: false
|
|
109
|
-
},
|
|
110
|
-
onBeforeAppear: {
|
|
111
|
-
type: null,
|
|
112
|
-
required: false
|
|
113
|
-
},
|
|
114
|
-
onAppear: {
|
|
115
|
-
type: null,
|
|
116
|
-
required: false
|
|
117
|
-
},
|
|
118
|
-
onAfterAppear: {
|
|
119
|
-
type: null,
|
|
120
|
-
required: false
|
|
121
|
-
},
|
|
122
|
-
onAppearCancelled: {
|
|
123
|
-
type: null,
|
|
124
|
-
required: false
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
setup(__props) {
|
|
128
|
-
const props = __props;
|
|
129
|
-
const {
|
|
130
|
-
prefixCls
|
|
131
|
-
} = useComponentConfig("transition");
|
|
132
|
-
const {
|
|
133
|
-
hashId
|
|
134
|
-
} = stdin_default$1(prefixCls);
|
|
135
|
-
const vueTransProps = reactiveOmit(props, "name");
|
|
136
|
-
const mergedProps = computed(() => {
|
|
137
|
-
const transitionName = `${hashId.value} ${prefixCls.value}-${props.name}`;
|
|
138
|
-
return {
|
|
139
|
-
...vueTransProps,
|
|
140
|
-
enterFromClass: `${transitionName}-enter-from`,
|
|
141
|
-
enterActiveClass: `${transitionName}-enter-active`,
|
|
142
|
-
enterToClass: `${transitionName}-enter-to`,
|
|
143
|
-
leaveFromClass: `${transitionName}-leave-from`,
|
|
144
|
-
leaveActiveClass: `${transitionName}-leave-active`,
|
|
145
|
-
leaveToClass: `${transitionName}-leave-to`
|
|
146
|
-
};
|
|
147
|
-
});
|
|
148
|
-
return (_ctx, _cache) => {
|
|
149
|
-
return openBlock(), createBlock(Transition, normalizeProps(guardReactiveProps(mergedProps.value)), {
|
|
150
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
151
|
-
_: 3
|
|
152
|
-
/* FORWARDED */
|
|
153
|
-
}, 16
|
|
154
|
-
/* FULL_PROPS */);
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
export { stdin_default as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type FullToken } from '../../theme';
|
|
2
|
-
export interface ComponentToken {
|
|
3
|
-
}
|
|
4
|
-
export interface TransitionGroupToken extends FullToken<'TransitionGroup'> {
|
|
5
|
-
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
|
-
hashId: import("vue").Ref<string, string>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type TransitionGroupProps, type TransitionGroupSlots } from './transition-group';
|
|
2
|
-
type __VLS_Slots = TransitionGroupSlots;
|
|
3
|
-
declare const __VLS_component: import("vue").DefineComponent<TransitionGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TransitionGroupProps> & Readonly<{}>, {
|
|
4
|
-
css: boolean;
|
|
5
|
-
effect: "slide" | "flip" | "fade" | (string & {});
|
|
6
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, openBlock, TransitionGroup, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
-
import { reactiveOmit } from '@vueuse/core';
|
|
3
|
-
import stdin_default$1 from './style/index.js';
|
|
4
|
-
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
5
|
-
|
|
6
|
-
var stdin_default = /* @__PURE__ */defineComponent({
|
|
7
|
-
...{
|
|
8
|
-
name: "TransitionGroup",
|
|
9
|
-
inheritAttrs: false
|
|
10
|
-
},
|
|
11
|
-
__name: "transition-group",
|
|
12
|
-
props: {
|
|
13
|
-
effect: {
|
|
14
|
-
type: [String, Object],
|
|
15
|
-
required: false,
|
|
16
|
-
default: "fade"
|
|
17
|
-
},
|
|
18
|
-
name: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: false
|
|
21
|
-
},
|
|
22
|
-
type: {
|
|
23
|
-
type: null,
|
|
24
|
-
required: false
|
|
25
|
-
},
|
|
26
|
-
css: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
required: false,
|
|
29
|
-
default: true
|
|
30
|
-
},
|
|
31
|
-
duration: {
|
|
32
|
-
type: [Number, Object],
|
|
33
|
-
required: false
|
|
34
|
-
},
|
|
35
|
-
enterFromClass: {
|
|
36
|
-
type: String,
|
|
37
|
-
required: false
|
|
38
|
-
},
|
|
39
|
-
enterActiveClass: {
|
|
40
|
-
type: String,
|
|
41
|
-
required: false
|
|
42
|
-
},
|
|
43
|
-
enterToClass: {
|
|
44
|
-
type: String,
|
|
45
|
-
required: false
|
|
46
|
-
},
|
|
47
|
-
appearFromClass: {
|
|
48
|
-
type: String,
|
|
49
|
-
required: false
|
|
50
|
-
},
|
|
51
|
-
appearActiveClass: {
|
|
52
|
-
type: String,
|
|
53
|
-
required: false
|
|
54
|
-
},
|
|
55
|
-
appearToClass: {
|
|
56
|
-
type: String,
|
|
57
|
-
required: false
|
|
58
|
-
},
|
|
59
|
-
leaveFromClass: {
|
|
60
|
-
type: String,
|
|
61
|
-
required: false
|
|
62
|
-
},
|
|
63
|
-
leaveActiveClass: {
|
|
64
|
-
type: String,
|
|
65
|
-
required: false
|
|
66
|
-
},
|
|
67
|
-
leaveToClass: {
|
|
68
|
-
type: String,
|
|
69
|
-
required: false
|
|
70
|
-
},
|
|
71
|
-
appear: {
|
|
72
|
-
type: Boolean,
|
|
73
|
-
required: false
|
|
74
|
-
},
|
|
75
|
-
persisted: {
|
|
76
|
-
type: Boolean,
|
|
77
|
-
required: false
|
|
78
|
-
},
|
|
79
|
-
onBeforeEnter: {
|
|
80
|
-
type: null,
|
|
81
|
-
required: false
|
|
82
|
-
},
|
|
83
|
-
onEnter: {
|
|
84
|
-
type: null,
|
|
85
|
-
required: false
|
|
86
|
-
},
|
|
87
|
-
onAfterEnter: {
|
|
88
|
-
type: null,
|
|
89
|
-
required: false
|
|
90
|
-
},
|
|
91
|
-
onEnterCancelled: {
|
|
92
|
-
type: null,
|
|
93
|
-
required: false
|
|
94
|
-
},
|
|
95
|
-
onBeforeLeave: {
|
|
96
|
-
type: null,
|
|
97
|
-
required: false
|
|
98
|
-
},
|
|
99
|
-
onLeave: {
|
|
100
|
-
type: null,
|
|
101
|
-
required: false
|
|
102
|
-
},
|
|
103
|
-
onAfterLeave: {
|
|
104
|
-
type: null,
|
|
105
|
-
required: false
|
|
106
|
-
},
|
|
107
|
-
onLeaveCancelled: {
|
|
108
|
-
type: null,
|
|
109
|
-
required: false
|
|
110
|
-
},
|
|
111
|
-
onBeforeAppear: {
|
|
112
|
-
type: null,
|
|
113
|
-
required: false
|
|
114
|
-
},
|
|
115
|
-
onAppear: {
|
|
116
|
-
type: null,
|
|
117
|
-
required: false
|
|
118
|
-
},
|
|
119
|
-
onAfterAppear: {
|
|
120
|
-
type: null,
|
|
121
|
-
required: false
|
|
122
|
-
},
|
|
123
|
-
onAppearCancelled: {
|
|
124
|
-
type: null,
|
|
125
|
-
required: false
|
|
126
|
-
},
|
|
127
|
-
tag: {
|
|
128
|
-
type: String,
|
|
129
|
-
required: false
|
|
130
|
-
},
|
|
131
|
-
moveClass: {
|
|
132
|
-
type: String,
|
|
133
|
-
required: false
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
setup(__props) {
|
|
137
|
-
const props = __props;
|
|
138
|
-
const vueTransGroupProps = reactiveOmit(props, "effect");
|
|
139
|
-
const {
|
|
140
|
-
prefixCls
|
|
141
|
-
} = useComponentConfig("transition-group");
|
|
142
|
-
const {
|
|
143
|
-
hashId
|
|
144
|
-
} = stdin_default$1(prefixCls);
|
|
145
|
-
const mergedProps = computed(() => {
|
|
146
|
-
const transitionName = `${hashId.value} ${prefixCls.value}-${props.effect}`;
|
|
147
|
-
return {
|
|
148
|
-
...vueTransGroupProps,
|
|
149
|
-
moveClass: `${transitionName}-move`,
|
|
150
|
-
enterFromClass: `${transitionName}-enter-from`,
|
|
151
|
-
enterActiveClass: `${transitionName}-enter-active`,
|
|
152
|
-
enterToClass: `${transitionName}-enter-to`,
|
|
153
|
-
leaveFromClass: `${transitionName}-leave-from`,
|
|
154
|
-
leaveActiveClass: `${transitionName}-leave-active`,
|
|
155
|
-
leaveToClass: `${transitionName}-leave-to`
|
|
156
|
-
};
|
|
157
|
-
});
|
|
158
|
-
const onBeforeLeave = el => {
|
|
159
|
-
const node = el;
|
|
160
|
-
const rect = node.getBoundingClientRect();
|
|
161
|
-
node.style.setProperty("position", "fixed");
|
|
162
|
-
node.style.setProperty("top", rect.top + "px");
|
|
163
|
-
node.style.setProperty("left", rect.left + "px");
|
|
164
|
-
node.style.setProperty("opacity", "0");
|
|
165
|
-
};
|
|
166
|
-
return (_ctx, _cache) => {
|
|
167
|
-
return openBlock(), createBlock(TransitionGroup, mergeProps(mergedProps.value, {
|
|
168
|
-
onBeforeLeave
|
|
169
|
-
}), {
|
|
170
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
171
|
-
_: 3
|
|
172
|
-
/* FORWARDED */
|
|
173
|
-
}, 16
|
|
174
|
-
/* FULL_PROPS */);
|
|
175
|
-
};
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
export { stdin_default as default };
|