cosey 0.9.5 → 0.10.1
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/README.md +1 -1
- package/components/audio-card/audio-card.js +1 -1
- package/components/close/close.js +1 -1
- package/components/col/col.api.d.ts +1 -1
- package/components/context-menu/content.js +1 -1
- package/components/dnd-sort/dnd-sort-item.js +1 -1
- package/components/editor/button-group.d.ts +2 -0
- package/components/editor/button-group.js +20 -0
- package/components/editor/button-select.d.ts +14 -0
- package/components/editor/button-select.js +51 -0
- package/components/editor/button-split.d.ts +25 -0
- package/components/editor/button-split.js +68 -0
- package/components/editor/button.d.ts +19 -0
- package/components/editor/button.js +40 -0
- package/components/editor/contents/content-code-block.d.ts +18 -0
- package/components/editor/contents/content-code-block.js +51 -0
- package/components/editor/contents/content-formula.d.ts +12 -0
- package/components/editor/contents/content-formula.js +48 -0
- package/components/editor/contents/content-formula.style.js +14 -0
- package/components/editor/contents/content-image.d.ts +29 -0
- package/components/editor/contents/content-image.js +89 -0
- package/components/editor/{components/list/list.style.d.ts → contents/content-image.style.d.ts} +1 -1
- package/components/editor/contents/content-image.style.js +20 -0
- package/components/editor/contents/content-link.d.ts +16 -0
- package/components/editor/contents/content-link.js +74 -0
- package/components/editor/contents/content-link.stye.d.ts +4 -0
- package/components/editor/contents/content-link.stye.js +17 -0
- package/components/editor/contents/content-list-item.d.ts +21 -0
- package/components/editor/contents/content-list-item.js +41 -0
- package/components/editor/contents/content-list-item.style.d.ts +4 -0
- package/components/editor/contents/content-list-item.style.js +52 -0
- package/components/editor/contents/content-placeholder.d.ts +2 -0
- package/components/editor/contents/content-placeholder.js +24 -0
- package/components/editor/contents/content-placeholder.style.d.ts +4 -0
- package/components/editor/contents/content-placeholder.style.js +19 -0
- package/components/editor/contents/content-table.d.ts +2 -0
- package/components/editor/contents/content-table.js +133 -0
- package/components/editor/contents/content-table.style.d.ts +4 -0
- package/components/editor/contents/content-table.style.js +21 -0
- package/components/editor/contents/content-video.d.ts +26 -0
- package/components/editor/contents/content-video.js +73 -0
- package/components/editor/contents/content-video.style.d.ts +4 -0
- package/components/editor/contents/content-video.style.js +20 -0
- package/components/editor/contents/resize.d.ts +37 -0
- package/components/editor/contents/resize.js +133 -0
- package/components/editor/{components/resize → contents}/resize.style.d.ts +1 -1
- package/components/editor/{components/resize → contents}/resize.style.js +14 -34
- package/components/editor/contents/upload.d.ts +17 -0
- package/components/editor/contents/upload.js +80 -0
- package/components/editor/contents/upload.style.d.ts +4 -0
- package/components/editor/contents/upload.style.js +38 -0
- package/components/editor/contents/widget-popover.d.ts +389 -0
- package/components/editor/contents/widget-popover.js +36 -0
- package/components/editor/contents/widget-popover.style.d.ts +4 -0
- package/components/editor/contents/widget-popover.style.js +15 -0
- package/components/editor/editor.api.d.ts +14 -6
- package/components/editor/editor.api.js +10 -6
- package/components/editor/editor.d.ts +15 -8
- package/components/editor/editor.js +178 -76
- package/components/editor/editor.style.d.ts +5 -1
- package/components/editor/editor.style.js +121 -253
- package/components/editor/{components/color-picker/color-picker.js → formats/color-picker.api.js} +3 -3
- package/components/editor/formats/color-picker.d.ts +20 -0
- package/components/editor/formats/color-picker.js +154 -0
- package/components/editor/{components/color-picker → formats}/color-picker.style.d.ts +1 -1
- package/components/editor/{components/color-picker → formats}/color-picker.style.js +1 -1
- package/components/editor/formats/format-align.d.ts +22 -0
- package/components/editor/formats/format-align.js +38 -0
- package/components/editor/formats/format-background.d.ts +2 -0
- package/components/editor/formats/format-background.js +60 -0
- package/components/editor/formats/format-block-quote.d.ts +2 -0
- package/components/editor/formats/format-block-quote.js +27 -0
- package/components/editor/formats/format-clear.d.ts +2 -0
- package/components/editor/formats/format-clear.js +25 -0
- package/components/editor/formats/format-code-block.d.ts +2 -0
- package/components/editor/formats/format-code-block.js +27 -0
- package/components/editor/formats/format-color.d.ts +2 -0
- package/components/editor/formats/format-color.js +59 -0
- package/components/editor/formats/format-font.d.ts +2 -0
- package/components/editor/formats/format-font.js +46 -0
- package/components/editor/formats/format-formula.d.ts +2 -0
- package/components/editor/formats/format-formula.js +133 -0
- package/components/editor/formats/format-heading.d.ts +2 -0
- package/components/editor/formats/format-heading.js +52 -0
- package/components/editor/formats/format-image.d.ts +2 -0
- package/components/editor/formats/format-image.js +140 -0
- package/components/editor/formats/format-indent.d.ts +20 -0
- package/components/editor/formats/format-indent.js +35 -0
- package/components/editor/formats/format-link.d.ts +2 -0
- package/components/editor/formats/format-link.js +114 -0
- package/components/editor/formats/format-list.d.ts +22 -0
- package/components/editor/formats/format-list.js +39 -0
- package/components/editor/formats/format-mark.d.ts +20 -0
- package/components/editor/formats/format-mark.js +38 -0
- package/components/editor/formats/format-size-delta.d.ts +24 -0
- package/components/editor/formats/format-size-delta.js +43 -0
- package/components/editor/formats/format-size.d.ts +2 -0
- package/components/editor/formats/format-size.js +51 -0
- package/components/editor/formats/format-source.d.ts +2 -0
- package/components/editor/formats/format-source.js +69 -0
- package/components/editor/formats/format-table.d.ts +2 -0
- package/components/editor/formats/format-table.js +85 -0
- package/components/editor/formats/format-table.style.d.ts +4 -0
- package/components/editor/{components/toolbar/formats/table.style.js → formats/format-table.style.js} +2 -2
- package/components/editor/formats/format-video.d.ts +2 -0
- package/components/editor/formats/format-video.js +117 -0
- package/components/editor/formats/picker.d.ts +45 -0
- package/components/editor/formats/picker.js +91 -0
- package/components/editor/{components/picker → formats}/picker.style.d.ts +1 -1
- package/components/editor/{components/picker → formats}/picker.style.js +1 -1
- package/components/editor/formats/select-list.d.ts +28 -0
- package/components/editor/formats/select-list.js +47 -0
- package/components/editor/formats/select-list.style.d.ts +4 -0
- package/components/editor/{components/list/list.style.js → formats/select-list.style.js} +2 -2
- package/components/editor/formats/select.d.ts +32 -0
- package/components/editor/formats/select.js +61 -0
- package/components/editor/hooks/useBlockValueActive.d.ts +1 -0
- package/components/editor/hooks/useBlockValueActive.js +21 -0
- package/components/editor/hooks/useFocus.d.ts +5 -0
- package/components/editor/hooks/useFocus.js +18 -0
- package/components/editor/{components/color-picker → hooks}/useHistoryColor.js +1 -1
- package/components/editor/hooks/useMarkActive.d.ts +1 -0
- package/components/editor/hooks/useMarkActive.js +13 -0
- package/components/editor/hooks/useMarkValue.d.ts +1 -0
- package/components/editor/hooks/useMarkValue.js +21 -0
- package/components/editor/index.d.ts +25 -13
- package/components/editor/index.js +3 -21
- package/components/editor/plugins/align.d.ts +8 -0
- package/components/editor/plugins/align.js +13 -0
- package/components/editor/plugins/background.d.ts +7 -0
- package/components/editor/plugins/background.js +19 -0
- package/components/editor/plugins/block-quote.d.ts +8 -0
- package/components/editor/plugins/block-quote.js +34 -0
- package/components/editor/plugins/clear.d.ts +7 -0
- package/components/editor/plugins/clear.js +53 -0
- package/components/editor/plugins/code-block.d.ts +13 -0
- package/components/editor/plugins/code-block.js +356 -0
- package/components/editor/plugins/color.d.ts +7 -0
- package/components/editor/plugins/color.js +21 -0
- package/components/editor/plugins/font.d.ts +7 -0
- package/components/editor/plugins/font.js +17 -0
- package/components/editor/plugins/formula.d.ts +11 -0
- package/components/editor/{components/toolbar/formats → plugins}/formula.js +50 -1
- package/components/editor/plugins/heading.d.ts +9 -0
- package/components/editor/plugins/heading.js +70 -0
- package/components/editor/plugins/html.d.ts +7 -0
- package/components/editor/plugins/html.js +30 -0
- package/components/editor/plugins/image.d.ts +8 -0
- package/components/editor/plugins/image.js +63 -0
- package/components/editor/plugins/indent.d.ts +7 -0
- package/components/editor/plugins/indent.js +47 -0
- package/components/editor/plugins/index.d.ts +2 -0
- package/components/editor/plugins/index.js +50 -0
- package/components/editor/plugins/keyboard.d.ts +41 -0
- package/components/editor/plugins/keyboard.js +120 -0
- package/components/editor/plugins/link.d.ts +8 -0
- package/components/editor/plugins/link.js +56 -0
- package/components/editor/plugins/list/deserialize.d.ts +3 -0
- package/components/editor/plugins/list/deserialize.js +106 -0
- package/components/editor/plugins/list/format.d.ts +3 -0
- package/components/editor/plugins/list/format.js +155 -0
- package/components/editor/plugins/list/indent.d.ts +2 -0
- package/components/editor/plugins/list/indent.js +38 -0
- package/components/editor/plugins/list/index.d.ts +10 -0
- package/components/editor/plugins/list/index.js +61 -0
- package/components/editor/plugins/list/insert-break.d.ts +2 -0
- package/components/editor/plugins/list/insert-break.js +19 -0
- package/components/editor/plugins/list/normalize.d.ts +3 -0
- package/components/editor/plugins/list/normalize.js +168 -0
- package/components/editor/plugins/list/serialize.d.ts +3 -0
- package/components/editor/plugins/list/serialize.js +63 -0
- package/components/editor/plugins/list/utils.d.ts +6 -0
- package/components/editor/plugins/list/utils.js +24 -0
- package/components/editor/plugins/mark.d.ts +7 -0
- package/components/editor/plugins/mark.js +27 -0
- package/components/editor/plugins/render.d.ts +11 -0
- package/components/editor/plugins/render.js +54 -0
- package/components/editor/plugins/serialize.d.ts +10 -0
- package/components/editor/plugins/serialize.js +342 -0
- package/components/editor/plugins/size.d.ts +8 -0
- package/components/editor/plugins/size.js +47 -0
- package/components/editor/plugins/table.d.ts +21 -0
- package/components/editor/plugins/table.js +702 -0
- package/components/editor/plugins/video.d.ts +8 -0
- package/components/editor/plugins/video.js +40 -0
- package/components/editor/toolbar.d.ts +2 -0
- package/components/editor/toolbar.js +20 -0
- package/components/editor/types.d.ts +194 -0
- package/components/editor/types.js +55 -0
- package/components/editor/usePopoverContainer.d.ts +8 -0
- package/components/editor/usePopoverContainer.js +31 -0
- package/components/editor/utils.d.ts +77 -0
- package/components/editor/utils.js +165 -0
- package/components/field/components/checkbox-group/checkbox-group.vue.js +1 -1
- package/components/field/components/editor/editor.d.ts +16 -0
- package/components/field/components/editor/editor.vue.d.ts +4 -0
- package/components/field/components/editor/editor.vue.js +21 -0
- package/components/field/components/password/password.vue.js +1 -1
- package/components/field/components/select/select.vue.js +1 -1
- package/components/field/field.api.d.ts +3 -0
- package/components/field/field.api.js +18 -16
- package/components/file-card/file-card.js +1 -1
- package/components/form/form-item.vue.js +2 -2
- package/components/form/form.api.d.ts +3 -3
- package/components/form/form.api.js +1 -1
- package/components/form/form.d.ts +6 -6
- package/components/form/index.d.ts +17 -17
- package/components/form/useBubbleTemplate.js +1 -1
- package/components/form-dialog/form-dialog.api.js +1 -1
- package/components/form-dialog/form-dialog.d.ts +5 -5
- package/components/form-drawer/form-drawer.d.ts +5 -5
- package/components/form-drawer/index.d.ts +15 -15
- package/components/form-group/form-group.js +1 -1
- package/components/form-list/index.d.ts +5 -5
- package/components/form-query/form-query.d.ts +5 -5
- package/components/form-query/form-query.js +1 -1
- package/components/form-query/index.d.ts +15 -15
- package/components/highlight/highlight.api.d.ts +30 -12
- package/components/highlight/highlight.api.js +3 -19
- package/components/highlight/highlight.d.ts +7 -3
- package/components/highlight/highlight.js +6 -6
- package/components/highlight/highlight.style.d.ts +1 -0
- package/components/highlight/highlight.style.js +288 -54
- package/components/highlight/index.d.ts +15 -6
- package/components/highlight/index.js +1 -1
- package/components/icon/icon.api.d.ts +11 -0
- package/components/icon/icon.api.js +10 -0
- package/components/icon/icon.d.ts +16 -5
- package/components/icon/icon.js +59 -0
- package/components/icon/icon.style.d.ts +4 -0
- package/components/icon/{style/index.js → icon.style.js} +1 -1
- package/components/icon/index.d.ts +24 -7
- package/components/icon/index.js +2 -1
- package/components/iconify-icon/iconify-icon.api.d.ts +15 -0
- package/components/iconify-icon/iconify-icon.api.js +20 -0
- package/components/iconify-icon/iconify-icon.d.ts +21 -6
- package/components/iconify-icon/iconify-icon.js +22 -8
- package/components/iconify-icon/index.d.ts +37 -4
- package/components/iconify-icon/index.js +2 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +5 -4
- package/components/input-number-range/index.d.ts +39 -30
- package/components/input-number-range/input-number-range.api.d.ts +10 -10
- package/components/input-number-range/input-number-range.d.ts +23 -20
- package/components/input-number-range/input-number-range.js +1 -1
- package/components/snug-menu/snug-menu-item.vue.js +2 -2
- package/components/stack-dialog/index.d.ts +3 -3
- package/components/stack-dialog/stack-dialog.d.ts +1 -1
- package/components/svg-icon/index.d.ts +16 -4
- package/components/svg-icon/index.js +2 -1
- package/components/svg-icon/svg-icon.api.d.ts +7 -0
- package/components/svg-icon/svg-icon.api.js +7 -0
- package/components/svg-icon/svg-icon.d.ts +10 -3
- package/components/svg-icon/svg-icon.js +18 -0
- package/components/table/index.d.ts +12 -12
- package/components/table/table-column/table-column.js +1 -1
- package/components/table/table-export/table-export.d.ts +5 -5
- package/components/table/table-query/table-query.d.ts +5 -5
- package/components/table/table.d.ts +5 -5
- package/components/table/table.js +1 -1
- package/components/table/table.vue.d.ts +7 -7
- package/components/table/table.vue.js +5 -5
- package/components/table-action/item.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/upload/index.d.ts +3 -4
- package/components/upload/index.js +0 -1
- package/components/upload/upload-item.js +1 -1
- package/components/upload/upload.api.d.ts +2 -2
- package/components/upload/upload.d.ts +2 -2
- package/components/upload/upload.js +4 -4
- package/components/video-card/video-card.js +1 -1
- package/config/root-config-provider.js +2 -2
- package/{components/upload-context.d.ts → config/upload.d.ts} +2 -2
- package/{components/upload-context.js → config/upload.js} +3 -3
- package/hooks/index.d.ts +2 -0
- package/hooks/index.js +2 -0
- package/hooks/useObjectUrl.d.ts +2 -0
- package/hooks/useObjectUrl.js +27 -0
- package/hooks/useSingleUpload.d.ts +15 -0
- package/hooks/useSingleUpload.js +64 -0
- package/layout/layout-menu/style/index.js +1 -1
- package/locale/lang/ar.d.ts +2 -0
- package/locale/lang/ar.js +3 -1
- package/locale/lang/en.d.ts +2 -0
- package/locale/lang/en.js +3 -1
- package/locale/lang/zh-cn.d.ts +2 -0
- package/locale/lang/zh-cn.js +3 -1
- package/package.json +11 -7
- package/utils/array.d.ts +1 -1
- package/utils/browser.d.ts +1 -0
- package/utils/browser.js +3 -2
- package/utils/file.d.ts +5 -0
- package/utils/file.js +24 -1
- package/utils/index.js +2 -2
- package/utils/url.d.ts +4 -0
- package/utils/url.js +10 -0
- package/components/editor/components/button-group.vue.d.ts +0 -12
- package/components/editor/components/button-group.vue.js +0 -19
- package/components/editor/components/button.vue.d.ts +0 -17
- package/components/editor/components/button.vue.js +0 -35
- package/components/editor/components/color-picker/color-picker.vue.d.ts +0 -23
- package/components/editor/components/color-picker/color-picker.vue.js +0 -181
- package/components/editor/components/list/list.d.ts +0 -6
- package/components/editor/components/list/list.vue.d.ts +0 -11
- package/components/editor/components/list/list.vue.js +0 -51
- package/components/editor/components/picker/picker.vue.d.ts +0 -25
- package/components/editor/components/picker/picker.vue.js +0 -95
- package/components/editor/components/resize/resize.d.ts +0 -23
- package/components/editor/components/resize/resize.js +0 -88
- package/components/editor/components/resize/resize.vue.d.ts +0 -2
- package/components/editor/components/resize/resize.vue.js +0 -204
- package/components/editor/components/select-button.vue.d.ts +0 -15
- package/components/editor/components/select-button.vue.js +0 -46
- package/components/editor/components/select.vue.d.ts +0 -14
- package/components/editor/components/select.vue.js +0 -67
- package/components/editor/components/split-button.vue.d.ts +0 -22
- package/components/editor/components/split-button.vue.js +0 -69
- package/components/editor/components/table-toolbar/table-toolbar.style.d.ts +0 -4
- package/components/editor/components/table-toolbar/table-toolbar.style.js +0 -22
- package/components/editor/components/table-toolbar/table-toolbar.vue.d.ts +0 -2
- package/components/editor/components/table-toolbar/table-toolbar.vue.js +0 -182
- package/components/editor/components/toolbar/formats/align.vue.d.ts +0 -5
- package/components/editor/components/toolbar/formats/align.vue.js +0 -52
- package/components/editor/components/toolbar/formats/background.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/background.vue.js +0 -70
- package/components/editor/components/toolbar/formats/blockquote.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/blockquote.vue.js +0 -39
- package/components/editor/components/toolbar/formats/bold.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/bold.vue.js +0 -39
- package/components/editor/components/toolbar/formats/clean.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/clean.vue.js +0 -26
- package/components/editor/components/toolbar/formats/code-block.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/code-block.vue.js +0 -39
- package/components/editor/components/toolbar/formats/code.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/code.vue.js +0 -39
- package/components/editor/components/toolbar/formats/color.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/color.vue.js +0 -69
- package/components/editor/components/toolbar/formats/font.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/font.vue.js +0 -59
- package/components/editor/components/toolbar/formats/formula.d.ts +0 -4
- package/components/editor/components/toolbar/formats/formula.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/formula.vue.js +0 -154
- package/components/editor/components/toolbar/formats/header.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/header.vue.js +0 -68
- package/components/editor/components/toolbar/formats/image.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/image.vue.js +0 -26
- package/components/editor/components/toolbar/formats/indent.vue.d.ts +0 -5
- package/components/editor/components/toolbar/formats/indent.vue.js +0 -36
- package/components/editor/components/toolbar/formats/italic.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/italic.vue.js +0 -39
- package/components/editor/components/toolbar/formats/link.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/link.vue.js +0 -218
- package/components/editor/components/toolbar/formats/list.vue.d.ts +0 -5
- package/components/editor/components/toolbar/formats/list.vue.js +0 -50
- package/components/editor/components/toolbar/formats/script.vue.d.ts +0 -5
- package/components/editor/components/toolbar/formats/script.vue.js +0 -50
- package/components/editor/components/toolbar/formats/size-delta.vue.d.ts +0 -5
- package/components/editor/components/toolbar/formats/size-delta.vue.js +0 -79
- package/components/editor/components/toolbar/formats/size.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/size.vue.js +0 -56
- package/components/editor/components/toolbar/formats/source.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/source.vue.js +0 -78
- package/components/editor/components/toolbar/formats/strike.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/strike.vue.js +0 -39
- package/components/editor/components/toolbar/formats/strikethrough.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/strikethrough.vue.js +0 -39
- package/components/editor/components/toolbar/formats/table.style.d.ts +0 -4
- package/components/editor/components/toolbar/formats/table.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/table.vue.js +0 -100
- package/components/editor/components/toolbar/formats/underline.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/underline.vue.js +0 -39
- package/components/editor/components/toolbar/formats/video.vue.d.ts +0 -2
- package/components/editor/components/toolbar/formats/video.vue.js +0 -123
- package/components/editor/components/toolbar/toolbar.d.ts +0 -36
- package/components/editor/components/toolbar/toolbar.js +0 -137
- package/components/editor/components/toolbar/toolbar.vue.d.ts +0 -3
- package/components/editor/components/toolbar/toolbar.vue.js +0 -130
- package/components/editor/components/toolbar/toolbarContext.d.ts +0 -8
- package/components/editor/components/toolbar/toolbarContext.js +0 -3
- package/components/editor/formats/align.d.ts +0 -2
- package/components/editor/formats/align.js +0 -6
- package/components/editor/formats/font.d.ts +0 -7
- package/components/editor/formats/font.js +0 -36
- package/components/editor/formats/formula.d.ts +0 -9
- package/components/editor/formats/formula.js +0 -29
- package/components/editor/formats/image.d.ts +0 -13
- package/components/editor/formats/image.js +0 -46
- package/components/editor/formats/indent.d.ts +0 -10
- package/components/editor/formats/indent.js +0 -37
- package/components/editor/formats/kbd.d.ts +0 -7
- package/components/editor/formats/kbd.js +0 -13
- package/components/editor/formats/link.d.ts +0 -28
- package/components/editor/formats/link.js +0 -51
- package/components/editor/formats/list.d.ts +0 -13
- package/components/editor/formats/list.js +0 -57
- package/components/editor/formats/size.d.ts +0 -3
- package/components/editor/formats/size.js +0 -9
- package/components/editor/formats/video.d.ts +0 -16
- package/components/editor/formats/video.js +0 -44
- package/components/editor/modules/custom-list.d.ts +0 -5
- package/components/editor/modules/custom-list.js +0 -23
- package/components/editor/modules/image-uploader/formats/image-loading.d.ts +0 -16
- package/components/editor/modules/image-uploader/formats/image-loading.js +0 -31
- package/components/editor/modules/image-uploader/formats/image-loading.style.d.ts +0 -2
- package/components/editor/modules/image-uploader/formats/image-loading.style.js +0 -46
- package/components/editor/modules/image-uploader/image-uploader.d.ts +0 -18
- package/components/editor/modules/image-uploader/image-uploader.js +0 -134
- package/components/editor/modules/syntax/index.d.ts +0 -2
- package/components/editor/modules/syntax/index.js +0 -1
- package/components/editor/modules/syntax/syntaxOptions.d.ts +0 -8
- package/components/editor/modules/syntax/syntaxOptions.js +0 -23
- package/components/editor/quill.d.ts +0 -1
- package/components/editor/quill.js +0 -33
- package/components/editor/quillContext.d.ts +0 -6
- package/components/editor/quillContext.js +0 -3
- package/components/icon/icon.vue.d.ts +0 -13
- package/components/icon/icon.vue.js +0 -76
- package/components/iconify-icon/iconify-icon.vue.d.ts +0 -3
- package/components/iconify-icon/iconify-icon.vue.js +0 -38
- package/components/svg-icon/svg-icon.vue.d.ts +0 -3
- package/components/svg-icon/svg-icon.vue.js +0 -29
- /package/components/{icon/style/index.d.ts → editor/contents/content-formula.style.d.ts} +0 -0
- /package/components/editor/{components/color-picker/color-picker.d.ts → formats/color-picker.api.d.ts} +0 -0
- /package/components/editor/{components/picker/picker.d.ts → formats/picker.api.d.ts} +0 -0
- /package/components/editor/{components/picker/picker.js → formats/picker.api.js} +0 -0
- /package/components/editor/{components/color-picker → hooks}/useHistoryColor.d.ts +0 -0
- /package/components/{editor/components/list/list.js → field/components/editor/editor.js} +0 -0
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: import("vue").PropType<import("..").IconifyIconProps["name"] | (string & {})>;
|
|
4
|
+
};
|
|
5
|
+
size: {
|
|
6
|
+
type: import("vue").PropType<number | "sm" | "md" | "lg" | "xl" | ({} & string)>;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
name: {
|
|
10
|
+
type: import("vue").PropType<import("..").IconifyIconProps["name"] | (string & {})>;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: import("vue").PropType<number | "sm" | "md" | "lg" | "xl" | ({} & string)>;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
package/components/icon/icon.js
CHANGED
|
@@ -1 +1,60 @@
|
|
|
1
|
+
import { defineComponent, ref, watch, computed, createVNode, Fragment, mergeProps, resolveComponent } from 'vue';
|
|
2
|
+
import { SvgIcon as _SvgIcon } from '../svg-icon/index.js';
|
|
3
|
+
import { IconifyIcon as _IconifyIcon } from '../iconify-icon/index.js';
|
|
4
|
+
import { iconProps } from './icon.api.js';
|
|
5
|
+
import stdin_default$1 from './icon.style.js';
|
|
6
|
+
import { useComponentConfig } from '../config-provider/config-provider.api.js';
|
|
1
7
|
|
|
8
|
+
var stdin_default = defineComponent({
|
|
9
|
+
name: "CoIcon",
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
props: iconProps,
|
|
12
|
+
setup(props, {
|
|
13
|
+
slots,
|
|
14
|
+
attrs
|
|
15
|
+
}) {
|
|
16
|
+
const {
|
|
17
|
+
prefixCls
|
|
18
|
+
} = useComponentConfig("icon", props);
|
|
19
|
+
const {
|
|
20
|
+
hashId
|
|
21
|
+
} = stdin_default$1(prefixCls);
|
|
22
|
+
const prefix = ref();
|
|
23
|
+
const name = ref("");
|
|
24
|
+
watch(() => props.name, () => {
|
|
25
|
+
if (props.name) {
|
|
26
|
+
const result = /^(?:([^:]+):)?([^:]+)$/.exec(props.name);
|
|
27
|
+
if (result) {
|
|
28
|
+
prefix.value = result[1];
|
|
29
|
+
name.value = result[2];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
immediate: true
|
|
34
|
+
});
|
|
35
|
+
const styles = computed(() => {
|
|
36
|
+
const size = Number.isNaN(Number(props.size)) ? props.size : props.size + "px";
|
|
37
|
+
return {
|
|
38
|
+
fontSize: size
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
const sizes = ["sm", "md", "lg", "xl"];
|
|
42
|
+
const sizeClass = computed(() => {
|
|
43
|
+
return sizes.includes(props.size) ? `${prefixCls.value}-${props.size}` : "";
|
|
44
|
+
});
|
|
45
|
+
const mergedProps = computed(() => {
|
|
46
|
+
return {
|
|
47
|
+
name: name.value,
|
|
48
|
+
class: [hashId.value, prefixCls.value, sizeClass.value],
|
|
49
|
+
style: styles.value
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
return () => {
|
|
53
|
+
return createVNode(Fragment, null, [slots.default ? createVNode("span", mergeProps(attrs, mergedProps.value), [createVNode(resolveComponent("slot"), null, null)]) : prefix.value === "svg" ? createVNode(_SvgIcon, mergeProps(attrs, mergedProps.value), null) : createVNode(_IconifyIcon, mergeProps(attrs, mergedProps.value, {
|
|
54
|
+
"prefix": prefix.value
|
|
55
|
+
}), null)]);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export { stdin_default as default };
|
|
@@ -1,20 +1,37 @@
|
|
|
1
|
-
export * from './icon';
|
|
1
|
+
export * from './icon.api';
|
|
2
2
|
declare const _Icon: {
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
name: {
|
|
5
|
+
type: import("vue").PropType<import("..").IconifyIconProps["name"] | (string & {})>;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: import("vue").PropType<number | "sm" | "md" | "lg" | "xl" | ({} & string)>;
|
|
9
|
+
};
|
|
10
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
4
11
|
P: {};
|
|
5
12
|
B: {};
|
|
6
13
|
D: {};
|
|
7
14
|
C: {};
|
|
8
15
|
M: {};
|
|
9
16
|
Defaults: {};
|
|
10
|
-
}, Readonly<import("
|
|
17
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
name: {
|
|
19
|
+
type: import("vue").PropType<import("..").IconifyIconProps["name"] | (string & {})>;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: import("vue").PropType<number | "sm" | "md" | "lg" | "xl" | ({} & string)>;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {}>;
|
|
11
25
|
__isFragment?: never;
|
|
12
26
|
__isTeleport?: never;
|
|
13
27
|
__isSuspense?: never;
|
|
14
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
name: {
|
|
30
|
+
type: import("vue").PropType<import("..").IconifyIconProps["name"] | (string & {})>;
|
|
17
31
|
};
|
|
18
|
-
|
|
32
|
+
size: {
|
|
33
|
+
type: import("vue").PropType<number | "sm" | "md" | "lg" | "xl" | ({} & string)>;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
19
36
|
export { _Icon as Icon };
|
|
20
37
|
export default _Icon;
|
package/components/icon/index.js
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IconifyJSON } from '@iconify/types';
|
|
2
|
+
import { ExtractPropTypes } from 'vue';
|
|
3
|
+
export declare const iconifyIconsSets: Record<string, any>;
|
|
4
|
+
export declare const addIconifyIcon: (prefix: string, icons: IconifyJSON) => void;
|
|
5
|
+
export declare const iconifyIconProps: {
|
|
6
|
+
prefix: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
name: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type IconifyIconProps = ExtractPropTypes<typeof iconifyIconProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { icons } from '@cosey/icons';
|
|
2
|
+
|
|
3
|
+
const iconifyIconsSets = {
|
|
4
|
+
co: icons
|
|
5
|
+
};
|
|
6
|
+
const addIconifyIcon = (prefix, icons) => {
|
|
7
|
+
iconifyIconsSets[prefix] = icons;
|
|
8
|
+
};
|
|
9
|
+
const iconifyIconProps = {
|
|
10
|
+
prefix: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "co"
|
|
13
|
+
},
|
|
14
|
+
name: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: true
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { addIconifyIcon, iconifyIconProps, iconifyIconsSets };
|
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
prefix: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
name: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
prefix: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
name: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
5
20
|
prefix: string;
|
|
6
|
-
|
|
7
|
-
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, computed, createVNode } from 'vue';
|
|
2
|
+
import { iconifyIconProps, iconifyIconsSets } from './iconify-icon.api.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
4
|
+
var stdin_default = defineComponent({
|
|
5
|
+
name: "CoIconifyIcon",
|
|
6
|
+
props: iconifyIconProps,
|
|
7
|
+
setup(props) {
|
|
8
|
+
const iconSet = computed(() => iconifyIconsSets[props.prefix]);
|
|
9
|
+
const viewBox = computed(() => `0 0 ${iconSet.value?.width ?? 16} ${iconSet.value?.height ?? 16}`);
|
|
10
|
+
const path = computed(() => {
|
|
11
|
+
const icon = iconSet.value?.icons[props.name];
|
|
12
|
+
return icon?.body;
|
|
13
|
+
});
|
|
14
|
+
return () => {
|
|
15
|
+
return createVNode("svg", {
|
|
16
|
+
"viewBox": viewBox.value,
|
|
17
|
+
"aria-hidden": "true",
|
|
18
|
+
"innerHTML": path.value
|
|
19
|
+
}, null);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
9
23
|
|
|
10
|
-
export {
|
|
24
|
+
export { stdin_default as default };
|
|
@@ -1,16 +1,49 @@
|
|
|
1
|
-
export * from './iconify-icon';
|
|
1
|
+
export * from './iconify-icon.api';
|
|
2
2
|
declare const _IconifyIcon: {
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
prefix: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
name: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: boolean;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
13
|
+
prefix: string;
|
|
14
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
4
15
|
P: {};
|
|
5
16
|
B: {};
|
|
6
17
|
D: {};
|
|
7
18
|
C: {};
|
|
8
19
|
M: {};
|
|
9
20
|
Defaults: {};
|
|
10
|
-
}, Readonly<import("
|
|
21
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
prefix: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
name: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
required: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
31
|
+
prefix: string;
|
|
32
|
+
}>;
|
|
11
33
|
__isFragment?: never;
|
|
12
34
|
__isTeleport?: never;
|
|
13
35
|
__isSuspense?: never;
|
|
14
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("
|
|
36
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
prefix: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
name: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
46
|
+
prefix: string;
|
|
47
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
15
48
|
export { _IconifyIcon as IconifyIcon };
|
|
16
49
|
export default _IconifyIcon;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withInstall } from '../utils.js';
|
|
2
|
-
import stdin_default$1 from './iconify-icon.
|
|
3
|
-
export { addIconifyIcon, iconifyIconsSets } from './iconify-icon.js';
|
|
2
|
+
import stdin_default$1 from './iconify-icon.js';
|
|
3
|
+
export { addIconifyIcon, iconifyIconProps, iconifyIconsSets } from './iconify-icon.api.js';
|
|
4
4
|
|
|
5
5
|
const _IconifyIcon = withInstall(stdin_default$1);
|
|
6
6
|
var stdin_default = _IconifyIcon;
|
package/components/index.d.ts
CHANGED
package/components/index.js
CHANGED
|
@@ -66,7 +66,7 @@ export { dndSortContextSymbol, dndSortEmits, dndSortProps, dndSortSlots } from '
|
|
|
66
66
|
export { dndSortItemProps, dndSortItemSlots } from './dnd-sort/dnd-sort-item.api.js';
|
|
67
67
|
export { useDndSort } from './dnd-sort/useDndSort.js';
|
|
68
68
|
export { useDndSortItem } from './dnd-sort/useDndSortItem.js';
|
|
69
|
-
export { editorEmits, editorProps } from './editor/editor.api.js';
|
|
69
|
+
export { editorEmits, editorProps, editorSlots } from './editor/editor.api.js';
|
|
70
70
|
export { fieldComponentCommonProps } from './field/components/common.js';
|
|
71
71
|
export { fieldProps, mapFieldTypeComponent } from './field/field.api.js';
|
|
72
72
|
export { fileCardProps, fileCardSlots } from './file-card/file-card.api.js';
|
|
@@ -81,10 +81,11 @@ export { elFormDrawerExposeKeys, formDrawerEmits, formDrawerProps, formDrawerSlo
|
|
|
81
81
|
export { formGroupEmits, formGroupProps, formGroupSlots } from './form-group/form-group.api.js';
|
|
82
82
|
export { defaultFormListProps, formListEmits, formListExposeKeys, formListProps, formListSlots } from './form-list/form-list.api.js';
|
|
83
83
|
export { defaultMapSizeColNumber, formQueryContextSymbol, formQueryEmits, formQueryProps, formQuerySlots } from './form-query/form-query.api.js';
|
|
84
|
+
export { default as Prism } from 'prismjs';
|
|
84
85
|
export { highlightProps, highlightSlots } from './highlight/highlight.api.js';
|
|
85
|
-
export { default as hljs } from 'highlight.js/lib/core';
|
|
86
86
|
export { horizontalTreeEmits, horizontalTreeProps, horizontalTreeSlots } from './horizontal-tree/horizontal-tree.api.js';
|
|
87
|
-
export {
|
|
87
|
+
export { iconProps } from './icon/icon.api.js';
|
|
88
|
+
export { addIconifyIcon, iconifyIconProps, iconifyIconsSets } from './iconify-icon/iconify-icon.api.js';
|
|
88
89
|
export { imageCardEmits, imageCardProps, imageCardSlots } from './image-card/image-card.api.js';
|
|
89
90
|
export { inputNumberRangeEmits, inputNumberRangeProps } from './input-number-range/input-number-range.api.js';
|
|
90
91
|
export { longTextProps, longTextSlots } from './long-text/long-text.api.js';
|
|
@@ -101,6 +102,7 @@ export { snugMenuContextSymbol } from './snug-menu/snug-menu.js';
|
|
|
101
102
|
export { createStackDialogInfo, stackDialogEmits, stackDialogProps, stackDialogSlots, useStackDialog, useStackDialogProvide } from './stack-dialog/stack-dialog.api.js';
|
|
102
103
|
export { getFocusVisibleStyle, getLineClampStyle, getTruncateStyle } from './style/mixins.js';
|
|
103
104
|
export { contrarotation, rotation, rotation45, spinner } from './style/animation.js';
|
|
105
|
+
export { svgIconProps } from './svg-icon/svg-icon.api.js';
|
|
104
106
|
export { defaultTableConfig, elSlotsName, omittedTableProps, tableEmitEvents, tableEmitOnEvents, tableEmitOnProps, tableExposeKeys, tableProps } from './table/table.js';
|
|
105
107
|
export { tableColumnProps } from './table/table-column/table-column.api.js';
|
|
106
108
|
export { createScheme, omittedTableQueryProps, tableQueryEmits, tableQueryExposeKeys, tableQueryProps, tableQuerySlots } from './table/table-query/table-query.api.js';
|
|
@@ -124,7 +126,6 @@ export { toggleEmits, toggleProps, toggleSlots } from './toggle/toggle.api.js';
|
|
|
124
126
|
export { transitionProps, transitionSlots } from './transition/transition.api.js';
|
|
125
127
|
export { transitionGroupProps, transitionGroupSlots } from './transition-group/transition-group.api.js';
|
|
126
128
|
export { uploadEmits, uploadItemEmits, uploadItemProps, uploadProps, uploadSlots } from './upload/upload.api.js';
|
|
127
|
-
export { useUpload, useUploadProvide } from './upload-context.js';
|
|
128
129
|
export { videoCardEmits, videoCardProps } from './video-card/video-card.api.js';
|
|
129
130
|
|
|
130
131
|
const installer = {
|
|
@@ -5,34 +5,34 @@ declare const _InputNumberRange: {
|
|
|
5
5
|
type: import("vue").PropType<number[]>;
|
|
6
6
|
};
|
|
7
7
|
min: {
|
|
8
|
-
type:
|
|
8
|
+
type: NumberConstructor;
|
|
9
9
|
};
|
|
10
10
|
max: {
|
|
11
|
-
type:
|
|
11
|
+
type: NumberConstructor;
|
|
12
12
|
};
|
|
13
13
|
step: {
|
|
14
|
-
type:
|
|
14
|
+
type: NumberConstructor;
|
|
15
15
|
};
|
|
16
16
|
stepStrictly: {
|
|
17
|
-
type:
|
|
17
|
+
type: BooleanConstructor;
|
|
18
18
|
};
|
|
19
19
|
precision: {
|
|
20
|
-
type:
|
|
20
|
+
type: NumberConstructor;
|
|
21
21
|
};
|
|
22
22
|
startPlaceholder: {
|
|
23
|
-
type:
|
|
23
|
+
type: StringConstructor;
|
|
24
24
|
};
|
|
25
25
|
endPlaceholder: {
|
|
26
|
-
type:
|
|
26
|
+
type: StringConstructor;
|
|
27
27
|
};
|
|
28
28
|
readonly: {
|
|
29
|
-
type:
|
|
29
|
+
type: BooleanConstructor;
|
|
30
30
|
};
|
|
31
31
|
disabled: {
|
|
32
|
-
type:
|
|
32
|
+
type: BooleanConstructor;
|
|
33
33
|
};
|
|
34
34
|
validateEvent: {
|
|
35
|
-
type:
|
|
35
|
+
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
38
|
}>> & Readonly<{
|
|
@@ -42,7 +42,10 @@ declare const _InputNumberRange: {
|
|
|
42
42
|
'update:modelValue': (value: number[] | undefined) => boolean;
|
|
43
43
|
change: (value: number[] | undefined) => boolean;
|
|
44
44
|
}, import("vue").PublicProps, {
|
|
45
|
+
disabled: boolean;
|
|
45
46
|
validateEvent: boolean;
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
stepStrictly: boolean;
|
|
46
49
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
47
50
|
P: {};
|
|
48
51
|
B: {};
|
|
@@ -55,41 +58,44 @@ declare const _InputNumberRange: {
|
|
|
55
58
|
type: import("vue").PropType<number[]>;
|
|
56
59
|
};
|
|
57
60
|
min: {
|
|
58
|
-
type:
|
|
61
|
+
type: NumberConstructor;
|
|
59
62
|
};
|
|
60
63
|
max: {
|
|
61
|
-
type:
|
|
64
|
+
type: NumberConstructor;
|
|
62
65
|
};
|
|
63
66
|
step: {
|
|
64
|
-
type:
|
|
67
|
+
type: NumberConstructor;
|
|
65
68
|
};
|
|
66
69
|
stepStrictly: {
|
|
67
|
-
type:
|
|
70
|
+
type: BooleanConstructor;
|
|
68
71
|
};
|
|
69
72
|
precision: {
|
|
70
|
-
type:
|
|
73
|
+
type: NumberConstructor;
|
|
71
74
|
};
|
|
72
75
|
startPlaceholder: {
|
|
73
|
-
type:
|
|
76
|
+
type: StringConstructor;
|
|
74
77
|
};
|
|
75
78
|
endPlaceholder: {
|
|
76
|
-
type:
|
|
79
|
+
type: StringConstructor;
|
|
77
80
|
};
|
|
78
81
|
readonly: {
|
|
79
|
-
type:
|
|
82
|
+
type: BooleanConstructor;
|
|
80
83
|
};
|
|
81
84
|
disabled: {
|
|
82
|
-
type:
|
|
85
|
+
type: BooleanConstructor;
|
|
83
86
|
};
|
|
84
87
|
validateEvent: {
|
|
85
|
-
type:
|
|
88
|
+
type: BooleanConstructor;
|
|
86
89
|
default: boolean;
|
|
87
90
|
};
|
|
88
91
|
}>> & Readonly<{
|
|
89
92
|
onChange?: ((value: number[] | undefined) => any) | undefined;
|
|
90
93
|
"onUpdate:modelValue"?: ((value: number[] | undefined) => any) | undefined;
|
|
91
94
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
95
|
+
disabled: boolean;
|
|
92
96
|
validateEvent: boolean;
|
|
97
|
+
readonly: boolean;
|
|
98
|
+
stepStrictly: boolean;
|
|
93
99
|
}>;
|
|
94
100
|
__isFragment?: never;
|
|
95
101
|
__isTeleport?: never;
|
|
@@ -99,34 +105,34 @@ declare const _InputNumberRange: {
|
|
|
99
105
|
type: import("vue").PropType<number[]>;
|
|
100
106
|
};
|
|
101
107
|
min: {
|
|
102
|
-
type:
|
|
108
|
+
type: NumberConstructor;
|
|
103
109
|
};
|
|
104
110
|
max: {
|
|
105
|
-
type:
|
|
111
|
+
type: NumberConstructor;
|
|
106
112
|
};
|
|
107
113
|
step: {
|
|
108
|
-
type:
|
|
114
|
+
type: NumberConstructor;
|
|
109
115
|
};
|
|
110
116
|
stepStrictly: {
|
|
111
|
-
type:
|
|
117
|
+
type: BooleanConstructor;
|
|
112
118
|
};
|
|
113
119
|
precision: {
|
|
114
|
-
type:
|
|
120
|
+
type: NumberConstructor;
|
|
115
121
|
};
|
|
116
122
|
startPlaceholder: {
|
|
117
|
-
type:
|
|
123
|
+
type: StringConstructor;
|
|
118
124
|
};
|
|
119
125
|
endPlaceholder: {
|
|
120
|
-
type:
|
|
126
|
+
type: StringConstructor;
|
|
121
127
|
};
|
|
122
128
|
readonly: {
|
|
123
|
-
type:
|
|
129
|
+
type: BooleanConstructor;
|
|
124
130
|
};
|
|
125
131
|
disabled: {
|
|
126
|
-
type:
|
|
132
|
+
type: BooleanConstructor;
|
|
127
133
|
};
|
|
128
134
|
validateEvent: {
|
|
129
|
-
type:
|
|
135
|
+
type: BooleanConstructor;
|
|
130
136
|
default: boolean;
|
|
131
137
|
};
|
|
132
138
|
}>> & Readonly<{
|
|
@@ -136,7 +142,10 @@ declare const _InputNumberRange: {
|
|
|
136
142
|
'update:modelValue': (value: number[] | undefined) => boolean;
|
|
137
143
|
change: (value: number[] | undefined) => boolean;
|
|
138
144
|
}, string, {
|
|
145
|
+
disabled: boolean;
|
|
139
146
|
validateEvent: boolean;
|
|
147
|
+
readonly: boolean;
|
|
148
|
+
stepStrictly: boolean;
|
|
140
149
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
141
150
|
export { _InputNumberRange as InputNumberRange };
|
|
142
151
|
export default _InputNumberRange;
|
|
@@ -4,34 +4,34 @@ export declare const inputNumberRangeProps: {
|
|
|
4
4
|
type: PropType<number[]>;
|
|
5
5
|
};
|
|
6
6
|
min: {
|
|
7
|
-
type:
|
|
7
|
+
type: NumberConstructor;
|
|
8
8
|
};
|
|
9
9
|
max: {
|
|
10
|
-
type:
|
|
10
|
+
type: NumberConstructor;
|
|
11
11
|
};
|
|
12
12
|
step: {
|
|
13
|
-
type:
|
|
13
|
+
type: NumberConstructor;
|
|
14
14
|
};
|
|
15
15
|
stepStrictly: {
|
|
16
|
-
type:
|
|
16
|
+
type: BooleanConstructor;
|
|
17
17
|
};
|
|
18
18
|
precision: {
|
|
19
|
-
type:
|
|
19
|
+
type: NumberConstructor;
|
|
20
20
|
};
|
|
21
21
|
startPlaceholder: {
|
|
22
|
-
type:
|
|
22
|
+
type: StringConstructor;
|
|
23
23
|
};
|
|
24
24
|
endPlaceholder: {
|
|
25
|
-
type:
|
|
25
|
+
type: StringConstructor;
|
|
26
26
|
};
|
|
27
27
|
readonly: {
|
|
28
|
-
type:
|
|
28
|
+
type: BooleanConstructor;
|
|
29
29
|
};
|
|
30
30
|
disabled: {
|
|
31
|
-
type:
|
|
31
|
+
type: BooleanConstructor;
|
|
32
32
|
};
|
|
33
33
|
validateEvent: {
|
|
34
|
-
type:
|
|
34
|
+
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
37
|
};
|