vue-devui 1.6.3 → 1.6.4-markdown.0
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/auto-complete/index.es.js +5 -2
- package/auto-complete/index.umd.js +1 -1
- package/button/index.es.js +1 -2
- package/button/index.umd.js +1 -1
- package/carousel/index.es.js +36 -213
- package/carousel/index.umd.js +1 -1
- package/carousel/style.css +1 -1
- package/category-search/index.es.js +12333 -0
- package/category-search/index.umd.js +66 -0
- package/category-search/package.json +8 -0
- package/category-search/style.css +1 -0
- package/collapse/index.es.js +15 -18
- package/collapse/index.umd.js +5 -5
- package/data-grid/index.es.js +11546 -0
- package/data-grid/index.umd.js +45 -0
- package/data-grid/package.json +8 -0
- package/data-grid/style.css +1 -0
- package/date-picker-pro/index.es.js +25 -6
- package/date-picker-pro/index.umd.js +12 -12
- package/date-picker-pro/style.css +1 -1
- package/dragdrop-new/index.es.js +5174 -0
- package/dragdrop-new/index.umd.js +24 -0
- package/dragdrop-new/package.json +8 -0
- package/editable-select/index.es.js +11 -2
- package/editable-select/index.umd.js +12 -12
- package/editor-md/index.es.js +27 -9
- package/editor-md/index.umd.js +19 -19
- package/global.d.ts +10 -0
- package/icon/index.es.js +1 -2
- package/icon/index.umd.js +1 -1
- package/input/index.es.js +25 -6
- package/input/index.umd.js +11 -11
- package/input/style.css +1 -1
- package/mention/index.es.js +1 -2
- package/mention/index.umd.js +1 -1
- package/message/index.es.js +1 -2
- package/message/index.umd.js +1 -1
- package/modal/index.es.js +27 -4
- package/modal/index.umd.js +7 -1
- package/modal/style.css +1 -1
- package/notification/index.es.js +1 -2
- package/notification/index.umd.js +2 -2
- package/nuxt/components/CategorySearch.js +3 -0
- package/nuxt/components/DataGrid.js +3 -0
- package/nuxt/components/DataGridInjectionKey.js +3 -0
- package/nuxt/components/DescendantChildren.js +2 -0
- package/nuxt/components/DescendantRegisterService.js +2 -0
- package/nuxt/components/DescendantRoot.js +2 -0
- package/nuxt/components/DragDropService.js +2 -0
- package/nuxt/components/DragDropSyncBox.js +2 -0
- package/nuxt/components/DragDropSyncService.js +2 -0
- package/nuxt/components/DragPreviewCloneDomRefComponent.js +2 -0
- package/nuxt/components/DragPreviewComponent.js +2 -0
- package/nuxt/components/DragPreviewTemplate.js +2 -0
- package/nuxt/components/DragSync.js +2 -0
- package/nuxt/components/DragSyncDescendantRegisterService.js +2 -0
- package/nuxt/components/Draggable.js +2 -0
- package/nuxt/components/DropEvent.js +2 -0
- package/nuxt/components/DropScrollEnhanceTimingFunctionGroup.js +2 -0
- package/nuxt/components/DropScrollEnhanced.js +2 -0
- package/nuxt/components/DropScrollEnhancedSide.js +2 -0
- package/nuxt/components/DropScrollOrientation.js +2 -0
- package/nuxt/components/DropSortSync.js +2 -0
- package/nuxt/components/DropSortSyncDescendantRegisterService.js +2 -0
- package/nuxt/components/Droppable.js +2 -0
- package/nuxt/components/Sortable.js +2 -0
- package/nuxt/components/categorySearchDropdownProps.js +3 -0
- package/nuxt/components/categorySearchInjectionKey.js +3 -0
- package/nuxt/components/categorySearchProps.js +3 -0
- package/nuxt/components/categorySearchTagProps.js +3 -0
- package/nuxt/components/dataGridProps.js +3 -0
- package/nuxt/components/extendIconProps.js +3 -0
- package/nuxt/components/gridBodyProps.js +3 -0
- package/nuxt/components/gridHeadProps.js +3 -0
- package/nuxt/components/gridTdProps.js +3 -0
- package/nuxt/components/gridThFilterProps.js +3 -0
- package/nuxt/components/gridThProps.js +3 -0
- package/nuxt/components/typeMenuProps.js +3 -0
- package/nuxt/components/useDragDropService.js +2 -0
- package/package.json +4 -2
- package/pagination/index.es.js +68 -247
- package/pagination/index.umd.js +20 -25
- package/pagination/style.css +1 -1
- package/result/index.es.js +1 -2
- package/result/index.umd.js +1 -1
- package/search/index.es.js +52 -27
- package/search/index.umd.js +19 -15
- package/search/style.css +1 -1
- package/select/index.es.js +58 -51
- package/select/index.umd.js +17 -22
- package/select/style.css +1 -1
- package/splitter/index.es.js +4 -0
- package/splitter/index.umd.js +7 -7
- package/steps/index.es.js +1 -2
- package/steps/index.umd.js +1 -1
- package/style.css +2 -2
- package/table/index.es.js +5 -2
- package/table/index.umd.js +2 -2
- package/time-picker/index.es.js +25 -6
- package/time-picker/index.umd.js +16 -16
- package/time-picker/style.css +1 -1
- package/time-select/index.es.js +58 -51
- package/time-select/index.umd.js +17 -22
- package/time-select/style.css +1 -1
- package/timeline/index.es.js +1 -2
- package/timeline/index.umd.js +1 -1
- package/tree/index.es.js +4 -0
- package/tree/index.umd.js +1 -1
- package/types/accordion/src/accordion-item-hreflink.d.ts +2 -2
- package/types/accordion/src/accordion-item-routerlink.d.ts +2 -2
- package/types/accordion/src/accordion-item.d.ts +2 -2
- package/types/accordion/src/accordion-list.d.ts +2 -2
- package/types/accordion/src/accordion-menu.d.ts +2 -2
- package/types/accordion/src/accordion.d.ts +2 -2
- package/types/action-timeline/src/action-timeline.d.ts +1 -53
- package/types/alert/src/alert.d.ts +1 -1
- package/types/anchor/src/anchor.d.ts +2 -2
- package/types/auto-complete/src/auto-complete.d.ts +1 -247
- package/types/auto-complete/src/components/dropdown.d.ts +1 -1
- package/types/avatar/src/avatar.d.ts +1 -1
- package/types/avatar/src/components/avatar-body-icon.d.ts +2 -2
- package/types/avatar/src/components/avatar-nobody-icon.d.ts +2 -2
- package/types/back-top/src/back-top.d.ts +2 -2
- package/types/badge/src/badge.d.ts +2 -2
- package/types/breadcrumb/src/breadcrumb-item.d.ts +2 -2
- package/types/breadcrumb/src/breadcrumb.d.ts +2 -2
- package/types/button/src/button-group.d.ts +2 -2
- package/types/button/src/button.d.ts +1 -1
- package/types/card/src/card.d.ts +2 -2
- package/types/carousel/src/carousel.d.ts +1 -1
- package/types/carousel/src/components/carousel-icons.d.ts +2 -0
- package/types/carousel/src/item.d.ts +1 -1
- package/types/cascader/components/cascader-list/index.d.ts +2 -2
- package/types/cascader/src/cascader.d.ts +1 -1
- package/types/category-search/index.d.ts +11 -0
- package/types/category-search/src/category-search-const.d.ts +6 -0
- package/types/category-search/src/category-search-types.d.ts +276 -0
- package/types/category-search/src/category-search.d.ts +3 -0
- package/types/category-search/src/components/category-search-clear.d.ts +14 -0
- package/types/category-search/src/components/category-search-icons.d.ts +4 -0
- package/types/category-search/src/components/category-search-input.d.ts +2 -0
- package/types/category-search/src/components/category-search-more.d.ts +14 -0
- package/types/category-search/src/components/category-search-save.d.ts +14 -0
- package/types/category-search/src/components/category-search-tag-dropdown.d.ts +24 -0
- package/types/category-search/src/components/category-search-tag.d.ts +23 -0
- package/types/category-search/src/components/checkbox-menu.d.ts +2 -0
- package/types/category-search/src/components/label-menu.d.ts +2 -0
- package/types/category-search/src/components/number-range-menu.d.ts +2 -0
- package/types/category-search/src/components/radio-menu.d.ts +14 -0
- package/types/category-search/src/components/text-input-menu.d.ts +2 -0
- package/types/category-search/src/composables/use-category-search-icons.d.ts +18 -0
- package/types/category-search/src/composables/use-category-search-input.d.ts +8 -0
- package/types/category-search/src/composables/use-category-search.d.ts +20 -0
- package/types/checkbox/src/checkbox-button.d.ts +1 -146
- package/types/checkbox/src/checkbox-group.d.ts +1 -168
- package/types/checkbox/src/checkbox.d.ts +1 -146
- package/types/code-editor/src/code-editor.d.ts +1 -118
- package/types/code-review/src/code-review.d.ts +1 -84
- package/types/code-review/src/components/code-review-header.d.ts +1 -1
- package/types/collapse/src/collapse-item.d.ts +2 -2
- package/types/collapse/src/collapse.d.ts +1 -1
- package/types/color-picker/src/color-picker.d.ts +1 -1
- package/types/color-picker/src/components/color-alpha-slider/color-alpha-slider.d.ts +1 -1
- package/types/color-picker/src/components/color-basic/color-basic.d.ts +2 -2
- package/types/color-picker/src/components/color-edit/color-edit.d.ts +1 -1
- package/types/color-picker/src/components/color-history/color-history.d.ts +1 -1
- package/types/color-picker/src/components/color-hue-slider/color-hue-slider.d.ts +1 -1
- package/types/color-picker/src/components/color-palette/color-palette.d.ts +1 -1
- package/types/color-picker/src/components/color-picker-panel/color-picker-panel.d.ts +1 -1
- package/types/comment/src/comment.d.ts +2 -2
- package/types/countdown/src/countdown.d.ts +1 -1
- package/types/data-grid/index.d.ts +11 -0
- package/types/data-grid/src/components/fix-head-grid.d.ts +2 -0
- package/types/data-grid/src/components/grid-body.d.ts +69 -0
- package/types/data-grid/src/components/grid-head.d.ts +50 -0
- package/types/data-grid/src/components/grid-icons.d.ts +4 -0
- package/types/data-grid/src/components/grid-td.d.ts +50 -0
- package/types/data-grid/src/components/grid-th-filter.d.ts +2 -0
- package/types/data-grid/src/components/grid-th-multiple-filter.d.ts +2 -0
- package/types/data-grid/src/components/grid-th-single-filter.d.ts +2 -0
- package/types/data-grid/src/components/grid-th.d.ts +32 -0
- package/types/data-grid/src/components/normal-head-grid.d.ts +2 -0
- package/types/data-grid/src/composables/use-column-sort.d.ts +7 -0
- package/types/data-grid/src/composables/use-data-grid-drag.d.ts +5 -0
- package/types/data-grid/src/composables/use-data-grid-scroll.d.ts +86 -0
- package/types/data-grid/src/composables/use-data-grid-tree.d.ts +13 -0
- package/types/data-grid/src/composables/use-data-grid.d.ts +210 -0
- package/types/data-grid/src/composables/use-grid-th.d.ts +31 -0
- package/types/data-grid/src/composables/use-overflow-tooltip.d.ts +13 -0
- package/types/data-grid/src/const.d.ts +6 -0
- package/types/data-grid/src/data-grid-types.d.ts +330 -0
- package/types/data-grid/src/data-grid.d.ts +3 -0
- package/types/data-grid/src/utils.d.ts +7 -0
- package/types/date-picker/src/components/popup/index.d.ts +2 -2
- package/types/date-picker/src/components/timepicker/index.d.ts +2 -2
- package/types/date-picker/src/components/vertical-slider/index.d.ts +2 -2
- package/types/date-picker/src/date-picker.d.ts +3 -3
- package/types/date-picker/src/stick-slider/index.d.ts +2 -2
- package/types/date-picker-pro/src/components/calendar-panel.d.ts +1 -94
- package/types/date-picker-pro/src/components/date-picker-panel.d.ts +1 -94
- package/types/date-picker-pro/src/components/month-calendar-panel.d.ts +1 -94
- package/types/date-picker-pro/src/components/range-date-picker-pro.d.ts +1 -88
- package/types/date-picker-pro/src/components/time-picker-panel.d.ts +1 -22
- package/types/date-picker-pro/src/components/year-calendar-panel.d.ts +1 -94
- package/types/date-picker-pro/src/date-picker-pro.d.ts +1 -79
- package/types/dragdrop-new/index.d.ts +23 -0
- package/types/dragdrop-new/src/batch-draggable.directive.d.ts +59 -0
- package/types/dragdrop-new/src/directive-base.d.ts +49 -0
- package/types/dragdrop-new/src/drag-drop.service.d.ts +75 -0
- package/types/dragdrop-new/src/drag-preview-clone-dom-ref.component.d.ts +43 -0
- package/types/dragdrop-new/src/drag-preview.component.d.ts +20 -0
- package/types/dragdrop-new/src/drag-preview.directive.d.ts +45 -0
- package/types/dragdrop-new/src/draggable.directive.d.ts +119 -0
- package/types/dragdrop-new/src/drop-scroll-enhance.directive.d.ts +111 -0
- package/types/dragdrop-new/src/droppable.directive.d.ts +137 -0
- package/types/dragdrop-new/src/preserve-next-event-emitter.d.ts +15 -0
- package/types/dragdrop-new/src/sortable.directive.d.ts +32 -0
- package/types/dragdrop-new/src/sync/desc-reg.service.d.ts +31 -0
- package/types/dragdrop-new/src/sync/drag-drop-descendant-sync.service.d.ts +10 -0
- package/types/dragdrop-new/src/sync/drag-drop-sync-box.directive.d.ts +36 -0
- package/types/dragdrop-new/src/sync/drag-drop-sync.service.d.ts +13 -0
- package/types/dragdrop-new/src/sync/drag-sync.directive.d.ts +44 -0
- package/types/dragdrop-new/src/sync/drop-sort-sync.directive.d.ts +55 -0
- package/types/dragdrop-new/src/sync/index.d.ts +17 -0
- package/types/dragdrop-new/src/sync/query-list.d.ts +42 -0
- package/types/dragdrop-new/src/touch-support/dragdrop-touch.d.ts +148 -0
- package/types/dragdrop-new/src/utils.d.ts +38 -0
- package/types/drawer/src/components/drawer-overlay.d.ts +1 -19
- package/types/drawer/src/drawer.d.ts +1 -1
- package/types/dropdown/src/dropdown-menu.d.ts +1 -1
- package/types/dropdown/src/dropdown.d.ts +1 -1
- package/types/echarts/src/echarts.d.ts +1 -1
- package/types/editable-select/src/components/dropdown/dropdown.d.ts +1 -1
- package/types/editable-select/src/components/option/option.d.ts +1 -1
- package/types/editable-select/src/editable-select.d.ts +1 -130
- package/types/editor-md/src/components/font-color.d.ts +1 -1
- package/types/editor-md/src/components/font-size.d.ts +1 -1
- package/types/editor-md/src/components/md-render.d.ts +1 -94
- package/types/editor-md/src/components/toolbar-item.d.ts +2 -2
- package/types/editor-md/src/components/toolbar.d.ts +1 -1
- package/types/editor-md/src/composables/use-editor-md.d.ts +1 -0
- package/types/editor-md/src/editor-md-types.d.ts +1 -1
- package/types/editor-md/src/editor-md.d.ts +1 -199
- package/types/form/src/components/form-control/form-control.d.ts +2 -2
- package/types/form/src/components/form-item/form-item.d.ts +2 -2
- package/types/form/src/components/form-label/form-label.d.ts +1 -1
- package/types/form/src/components/form-operation/form-operation.d.ts +1 -1
- package/types/form/src/form.d.ts +1 -124
- package/types/fullscreen/src/fullscreen.d.ts +1 -31
- package/types/gantt/src/gantt-bar/index.d.ts +2 -2
- package/types/gantt/src/gantt-bar-parent/index.d.ts +5 -5
- package/types/gantt/src/gantt-milestone/index.d.ts +2 -2
- package/types/gantt/src/gantt-scale/index.d.ts +1 -1
- package/types/gantt/src/gantt-service.d.ts +5 -5
- package/types/gantt/src/gantt-tools/index.d.ts +1 -1
- package/types/gantt/src/gantt.d.ts +2 -2
- package/types/git-graph/src/git-graph.d.ts +1 -9
- package/types/grid/src/col.d.ts +2 -2
- package/types/grid/src/row.d.ts +1 -1
- package/types/icon/src/icon-group.d.ts +1 -1
- package/types/icon/src/icon-types.d.ts +0 -1
- package/types/icon/src/icon.d.ts +1 -75
- package/types/icon/src/svg-icon.d.ts +2 -2
- package/types/image-preview/src/image-preview.d.ts +1 -1
- package/types/input/src/input.d.ts +1 -109
- package/types/input-icon/src/input-icon.d.ts +2 -2
- package/types/input-number/src/input-number.d.ts +1 -73
- package/types/layout/src/aside.d.ts +1 -1
- package/types/layout/src/content.d.ts +1 -1
- package/types/layout/src/footer.d.ts +1 -1
- package/types/layout/src/header.d.ts +1 -1
- package/types/layout/src/layout.d.ts +1 -1
- package/types/list/src/list-item.d.ts +1 -1
- package/types/list/src/list.d.ts +1 -1
- package/types/locale/lang/en-us.d.ts +4 -0
- package/types/locale/lang/zh-cn.d.ts +4 -0
- package/types/mention/src/mention.d.ts +1 -1
- package/types/menu/src/components/menu-item/menu-item.d.ts +2 -2
- package/types/menu/src/components/menu-transition/menu-transition.d.ts +1 -1
- package/types/menu/src/components/sub-menu/sub-menu.d.ts +2 -2
- package/types/menu/src/menu.d.ts +1 -1
- package/types/message/src/message-icon-close.d.ts +1 -1
- package/types/message/src/message.d.ts +1 -1
- package/types/modal/src/components/body.d.ts +1 -1
- package/types/modal/src/components/footer.d.ts +1 -1
- package/types/modal/src/components/header.d.ts +1 -1
- package/types/modal/src/components/modal-icons.d.ts +1 -0
- package/types/modal/src/modal.d.ts +1 -1
- package/types/multi-auto-complete/src/multi-auto-complete.d.ts +1 -7
- package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
- package/types/notification/src/notification-icon-close.d.ts +1 -1
- package/types/notification/src/notification-image.d.ts +2 -2
- package/types/notification/src/notification.d.ts +1 -1
- package/types/overlay/src/base-overlay.d.ts +1 -1
- package/types/overlay/src/fixed-overlay/index.d.ts +1 -31
- package/types/overlay/src/flexible-overlay/index.d.ts +1 -1
- package/types/pagination/src/components/config-menu.d.ts +2 -2
- package/types/pagination/src/components/jump-page.d.ts +1 -1
- package/types/pagination/src/components/page-nums.d.ts +1 -1
- package/types/pagination/src/components/page-size.d.ts +1 -1
- package/types/pagination/src/pagination.d.ts +1 -1
- package/types/panel/src/components/panel-body.d.ts +2 -2
- package/types/panel/src/components/panel-footer.d.ts +1 -1
- package/types/panel/src/components/panel-header.d.ts +1 -1
- package/types/panel/src/panel.d.ts +1 -1
- package/types/popover/src/popover-icon.d.ts +2 -2
- package/types/popover/src/popover.d.ts +1 -1
- package/types/progress/src/progress.d.ts +2 -2
- package/types/quadrant-diagram/src/components/axis/index.d.ts +2 -2
- package/types/quadrant-diagram/src/quadrant-diagram.d.ts +2 -2
- package/types/radio/src/radio-button.d.ts +1 -75
- package/types/radio/src/radio-group.d.ts +1 -91
- package/types/radio/src/radio.d.ts +1 -75
- package/types/rate/src/rate.d.ts +1 -1
- package/types/read-tip/src/read-tip-template.d.ts +1 -1
- package/types/read-tip/src/read-tip.d.ts +1 -1
- package/types/result/src/result.d.ts +2 -2
- package/types/search/src/search.d.ts +1 -1
- package/types/select/src/components/option-group.d.ts +2 -2
- package/types/select/src/components/option.d.ts +2 -2
- package/types/select/src/components/select-content.d.ts +1 -1
- package/types/select/src/select.d.ts +1 -202
- package/types/shared/components/popper-trigger/src/popper-trigger.d.ts +1 -1
- package/types/shared/devui-api/devui-api.d.ts +2 -2
- package/types/shared/devui-api-table/devui-api-table.d.ts +2 -2
- package/types/shared/devui-codebox/codebox-collapse-icon.d.ts +1 -1
- package/types/shared/devui-codebox/codebox-copied-icon.d.ts +1 -1
- package/types/shared/devui-codebox/codebox-copy-icon.d.ts +1 -1
- package/types/shared/devui-codebox/devui-codebox.d.ts +2 -2
- package/types/shared/devui-highlight/devui-highlight.d.ts +2 -2
- package/types/skeleton/src/components/skeleton-item.d.ts +2 -2
- package/types/skeleton/src/skeleton.d.ts +2 -2
- package/types/slider/src/slider.d.ts +1 -58
- package/types/splitter/src/components/splitter-bar.d.ts +2 -2
- package/types/splitter/src/components/splitter-pane.d.ts +2 -2
- package/types/splitter/src/splitter.d.ts +1 -1
- package/types/statistic/src/statistic.d.ts +1 -1
- package/types/status/src/status.d.ts +2 -2
- package/types/steps/src/step.d.ts +2 -2
- package/types/steps/src/steps.d.ts +1 -1
- package/types/steps-guide/__tests__/steps-guide-demo.d.ts +1 -1
- package/types/steps-guide/src/steps-guide.d.ts +1 -1
- package/types/sticky/src/sticky.d.ts +1 -1
- package/types/svg-icons/index.d.ts +3 -0
- package/types/switch/src/switch.d.ts +1 -73
- package/types/table/src/components/body/body.d.ts +1 -1
- package/types/table/src/components/body-td/body-td.d.ts +1 -43
- package/types/table/src/components/colgroup/colgroup.d.ts +1 -1
- package/types/table/src/components/column/column.d.ts +1 -187
- package/types/table/src/components/filter/filter.d.ts +1 -22
- package/types/table/src/components/filter/multiple-filter.d.ts +1 -15
- package/types/table/src/components/filter/single-filter.d.ts +1 -15
- package/types/table/src/components/fix-header.d.ts +2 -2
- package/types/table/src/components/header/header.d.ts +1 -1
- package/types/table/src/components/header-th/header-th.d.ts +2 -2
- package/types/table/src/components/normal-header.d.ts +2 -2
- package/types/table/src/components/sort/sort.d.ts +1 -1
- package/types/table/src/table.d.ts +1 -1
- package/types/tabs/src/components/tab/tab.d.ts +2 -2
- package/types/tabs/src/components/tab-nav/tab-nav.d.ts +1 -94
- package/types/tabs/src/tabs.d.ts +1 -94
- package/types/tag/src/tag.d.ts +3 -3
- package/types/tag-input/src/tag-input.d.ts +1 -131
- package/types/textarea/src/textarea.d.ts +1 -85
- package/types/time-picker/src/components/popup-line/index.d.ts +1 -68
- package/types/time-picker/src/components/time-popup/index.d.ts +1 -76
- package/types/time-picker/src/components/time-scroll/index.d.ts +2 -2
- package/types/time-picker/src/time-picker.d.ts +1 -100
- package/types/time-select/src/time-select.d.ts +1 -97
- package/types/timeline/src/components/timeline-item.d.ts +1 -1
- package/types/timeline/src/timeline.d.ts +1 -1
- package/types/tooltip/src/tooltip.d.ts +2 -2
- package/types/transfer/src/components/transfer-body.d.ts +1 -120
- package/types/transfer/src/components/transfer-header.d.ts +1 -72
- package/types/transfer/src/components/transfer-operate.d.ts +2 -2
- package/types/transfer/src/components/transfer-panel.d.ts +1 -147
- package/types/transfer/src/transfer.d.ts +1 -171
- package/types/tree/src/components/tree-node-content.d.ts +2 -2
- package/types/tree/src/components/tree-node-loading.d.ts +1 -1
- package/types/tree/src/components/tree-node-toggle.d.ts +2 -2
- package/types/tree/src/components/tree-node.d.ts +2 -2
- package/types/tree/src/composables/use-tree.d.ts +19 -1
- package/types/tree/src/tree.d.ts +1 -46
- package/types/tree-select/src/tree-select.d.ts +1 -104
- package/types/upload/src/upload.d.ts +1 -1
- package/types/virtual-list/src/components/container.d.ts +2 -2
- package/types/virtual-list/src/components/resize-observer.d.ts +1 -1
- package/types/virtual-list/src/components/scroll-bar.d.ts +2 -2
- package/types/virtual-list/src/virtual-list.d.ts +2 -2
- package/types/vue-devui.d.ts +5 -1
- package/upload/index.es.js +5 -2
- package/upload/index.umd.js +2 -2
- package/vue-devui.es.js +19432 -9332
- package/vue-devui.umd.js +148 -99
- package/types/search/src/components/search-close-icon.d.ts +0 -2
- package/types/search/src/components/search-icon.d.ts +0 -2
- package/types/select/src/components/select-arrow-icon.d.ts +0 -2
- package/types/transfer/src/composables/use-transfer-body.d.ts +0 -80
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
/**
|
|
3
|
+
* Flattens an array.
|
|
4
|
+
*/
|
|
5
|
+
export declare function flatten(list: any[], dst?: any[]): any[];
|
|
6
|
+
export declare class QueryList<T> implements Iterable<T> {
|
|
7
|
+
readonly dirty = true;
|
|
8
|
+
private _results;
|
|
9
|
+
readonly changes: Observable<any>;
|
|
10
|
+
readonly length: number;
|
|
11
|
+
readonly first: T;
|
|
12
|
+
readonly last: T;
|
|
13
|
+
constructor();
|
|
14
|
+
map<U>(fn: (item: T, index: number, array: T[]) => U): U[];
|
|
15
|
+
filter(fn: (item: T, index: number, array: T[]) => boolean): T[];
|
|
16
|
+
find(fn: (item: T, index: number, array: T[]) => boolean): T | undefined;
|
|
17
|
+
reduce<U>(fn: (prevValue: U, curValue: T, curIndex: number, array: T[]) => U, init: U): U;
|
|
18
|
+
forEach(fn: (item: T, index: number, array: T[]) => void): void;
|
|
19
|
+
some(fn: (value: T, index: number, array: T[]) => boolean): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Returns a copy of the internal results list as an Array.
|
|
22
|
+
*/
|
|
23
|
+
toArray(): T[];
|
|
24
|
+
toString(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that
|
|
27
|
+
* on change detection, it will not notify of changes to the queries, unless a new change
|
|
28
|
+
* occurs.
|
|
29
|
+
*
|
|
30
|
+
* @param resultsTree The query results to store
|
|
31
|
+
*/
|
|
32
|
+
reset(resultsTree: Array<T | any[]>): void;
|
|
33
|
+
/**
|
|
34
|
+
* Triggers a change event by emitting on the `changes` {@link EventEmitter}.
|
|
35
|
+
*/
|
|
36
|
+
notifyOnChanges(): void;
|
|
37
|
+
/** internal */
|
|
38
|
+
setDirty(): void;
|
|
39
|
+
/** internal */
|
|
40
|
+
destroy(): void;
|
|
41
|
+
[Symbol.iterator]: () => Iterator<T>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2020.03.23-Modified from https://github.com/Bernardo-Castilho/dragdroptouch, license: MIT,reason:Converting .js file to .ts file
|
|
3
|
+
*/
|
|
4
|
+
export declare class DragDropTouch {
|
|
5
|
+
static readonly THRESHOLD = 5;
|
|
6
|
+
static readonly OPACITY = 0.5;
|
|
7
|
+
static readonly DBLCLICK = 500;
|
|
8
|
+
static readonly DRAG_OVER_TIME = 300;
|
|
9
|
+
static readonly CTX_MENU = 900;
|
|
10
|
+
static readonly IS_PRESS_HOLD_MODE = true;
|
|
11
|
+
static readonly PRESS_HOLD_AWAIT = 400;
|
|
12
|
+
static readonly PRESS_HOLD_MARGIN = 25;
|
|
13
|
+
static readonly PRESS_HOLD_THRESHOLD = 0;
|
|
14
|
+
static readonly DRAG_HANDLE_ATTR = "data-drag-handle-selector";
|
|
15
|
+
static readonly rmvAttrs: string[];
|
|
16
|
+
static readonly kbdProps: string[];
|
|
17
|
+
static readonly ptProps: string[];
|
|
18
|
+
private static instance;
|
|
19
|
+
dataTransfer: DataTransfer;
|
|
20
|
+
lastClick: number;
|
|
21
|
+
lastTouch: TouchEvent | null;
|
|
22
|
+
lastTarget: HTMLElement | null;
|
|
23
|
+
dragSource: HTMLElement | null;
|
|
24
|
+
ptDown: {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
} | null;
|
|
28
|
+
isDragEnabled: boolean;
|
|
29
|
+
isDropZone: boolean;
|
|
30
|
+
pressHoldInterval: any;
|
|
31
|
+
img: any;
|
|
32
|
+
imgCustom: any;
|
|
33
|
+
imgOffset: any;
|
|
34
|
+
dragoverTimer: any;
|
|
35
|
+
touchTarget?: EventTarget;
|
|
36
|
+
touchmoveListener: EventListener;
|
|
37
|
+
touchendListener: EventListener;
|
|
38
|
+
listenerOpt: boolean | EventListenerOptions;
|
|
39
|
+
constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Gets a reference to the @see:DragDropTouch singleton.
|
|
42
|
+
*/
|
|
43
|
+
static getInstance(): DragDropTouch;
|
|
44
|
+
static isTouchDevice(): boolean;
|
|
45
|
+
bindTouchmoveTouchend(e: TouchEvent): void;
|
|
46
|
+
removeTouchmoveTouchend(): void;
|
|
47
|
+
touchstart: (e: TouchEvent) => void;
|
|
48
|
+
touchmoveOnDocument: (e: any) => void;
|
|
49
|
+
touchmove: (e: TouchEvent) => void;
|
|
50
|
+
touchendOnDocument: (e: any) => void;
|
|
51
|
+
touchend: (e: any) => void;
|
|
52
|
+
shouldHandle(e: any): any;
|
|
53
|
+
shouldHandleMove(e: any): boolean;
|
|
54
|
+
shouldHandlePressHoldMove(e: any): any;
|
|
55
|
+
shouldCancelPressHoldMove(e: any): boolean;
|
|
56
|
+
shouldStartDragging(e: any): boolean;
|
|
57
|
+
getDragHandle(): string;
|
|
58
|
+
matchSelector(element: any, selector: any): boolean;
|
|
59
|
+
reset(): void;
|
|
60
|
+
getPoint(e: any, page?: any): {
|
|
61
|
+
x: any;
|
|
62
|
+
y: any;
|
|
63
|
+
};
|
|
64
|
+
getDelta(e: any): number;
|
|
65
|
+
getTarget(e: TouchEvent): HTMLElement;
|
|
66
|
+
createImage(e: any): void;
|
|
67
|
+
destroyImage(): void;
|
|
68
|
+
moveImage(e: any): void;
|
|
69
|
+
copyProps(dst: any, src: any, props: any): void;
|
|
70
|
+
copyStyle(src: any, dst: any): void;
|
|
71
|
+
dispatchEvent(e: any, type: any, target: any): boolean;
|
|
72
|
+
closestDraggable(e: any): any;
|
|
73
|
+
setDragoverInterval(e: any): void;
|
|
74
|
+
clearDragoverInterval(): void;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace DragDropTouch {
|
|
77
|
+
/**
|
|
78
|
+
* Object used to hold the data that is being dragged during drag and drop operations.
|
|
79
|
+
*
|
|
80
|
+
* It may hold one or more data items of different types. For more information about
|
|
81
|
+
* drag and drop operations and data transfer objects, see
|
|
82
|
+
* <a href="https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer">HTML Drag and Drop API</a>.
|
|
83
|
+
*
|
|
84
|
+
* This object is created automatically by the @see:DragDropTouch singleton and is
|
|
85
|
+
* accessible through the @see:dataTransfer property of all drag events.
|
|
86
|
+
*/
|
|
87
|
+
class DataTransfer implements DataTransfer {
|
|
88
|
+
files: any;
|
|
89
|
+
items: any;
|
|
90
|
+
private _data;
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets the type of drag-and-drop operation currently selected.
|
|
93
|
+
* The value must be 'none', 'copy', 'link', or 'move'.
|
|
94
|
+
*/
|
|
95
|
+
private _dropEffect;
|
|
96
|
+
get dropEffect(): string;
|
|
97
|
+
set dropEffect(value: string);
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets the types of operations that are possible.
|
|
100
|
+
* Must be one of 'none', 'copy', 'copyLink', 'copyMove', 'link',
|
|
101
|
+
* 'linkMove', 'move', 'all' or 'uninitialized'.
|
|
102
|
+
*/
|
|
103
|
+
private _effectAllowed;
|
|
104
|
+
get effectAllowed(): string;
|
|
105
|
+
set effectAllowed(value: string);
|
|
106
|
+
/**
|
|
107
|
+
* Gets an array of strings giving the formats that were set in the @see:dragstart event.
|
|
108
|
+
*/
|
|
109
|
+
private _types;
|
|
110
|
+
get types(): string[];
|
|
111
|
+
constructor();
|
|
112
|
+
/**
|
|
113
|
+
* Removes the data associated with a given type.
|
|
114
|
+
*
|
|
115
|
+
* The type argument is optional. If the type is empty or not specified, the data
|
|
116
|
+
* associated with all types is removed. If data for the specified type does not exist,
|
|
117
|
+
* or the data transfer contains no data, this method will have no effect.
|
|
118
|
+
*
|
|
119
|
+
* @param type Type of data to remove.
|
|
120
|
+
*/
|
|
121
|
+
clearData(type: any): void;
|
|
122
|
+
/**
|
|
123
|
+
* Retrieves the data for a given type, or an empty string if data for that type does
|
|
124
|
+
* not exist or the data transfer contains no data.
|
|
125
|
+
*
|
|
126
|
+
* @param type Type of data to retrieve.
|
|
127
|
+
*/
|
|
128
|
+
getData(type: any): any;
|
|
129
|
+
/**
|
|
130
|
+
* Set the data for a given type.
|
|
131
|
+
*
|
|
132
|
+
* For a list of recommended drag types, please see
|
|
133
|
+
* https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Recommended_Drag_Types.
|
|
134
|
+
*
|
|
135
|
+
* @param type Type of data to add.
|
|
136
|
+
* @param value Data to add.
|
|
137
|
+
*/
|
|
138
|
+
setData(type: any, value: any): void;
|
|
139
|
+
/**
|
|
140
|
+
* Set the image to be used for dragging if a custom one is desired.
|
|
141
|
+
*
|
|
142
|
+
* @param img An image element to use as the drag feedback image.
|
|
143
|
+
* @param offsetX The horizontal offset within the image.
|
|
144
|
+
* @param offsetY The vertical offset within the image.
|
|
145
|
+
*/
|
|
146
|
+
setDragImage(img: any, offsetX: any, offsetY: any): void;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
interface ElementRef {
|
|
2
|
+
nativeElement?: any;
|
|
3
|
+
}
|
|
4
|
+
export declare class Utils {
|
|
5
|
+
/**
|
|
6
|
+
* Polyfill for element.matches.
|
|
7
|
+
* See: https://developer.mozilla.org/en/docs/Web/API/Element/matches#Polyfill
|
|
8
|
+
* element
|
|
9
|
+
*/
|
|
10
|
+
static matches(element: any, selectorName: string): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Applies the specified css class on nativeElement
|
|
13
|
+
* elementRef
|
|
14
|
+
* className
|
|
15
|
+
*/
|
|
16
|
+
static addClass(elementRef: ElementRef | any, className: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* Removes the specified class from nativeElement
|
|
19
|
+
* elementRef
|
|
20
|
+
* className
|
|
21
|
+
*/
|
|
22
|
+
static removeClass(elementRef: ElementRef | any, className: string): void;
|
|
23
|
+
/**
|
|
24
|
+
* Gets element with valid classList
|
|
25
|
+
*
|
|
26
|
+
* elementRef
|
|
27
|
+
* @returns ElementRef | null
|
|
28
|
+
*/
|
|
29
|
+
private static getElementWithValidClassList;
|
|
30
|
+
static slice<T>(args: T[], slice?: number, sliceEnd?: number): T[];
|
|
31
|
+
static addElStyles(el: any, styles: any): void;
|
|
32
|
+
static dispatchEventToUnderElement(event: DragEvent, target?: HTMLElement, eventType?: string): DragEvent;
|
|
33
|
+
}
|
|
34
|
+
import { InjectionKey } from 'vue';
|
|
35
|
+
export declare function injectFromContext<T>(token: InjectionKey<T> | string, context: any): T | undefined;
|
|
36
|
+
export declare function getContext(): any;
|
|
37
|
+
export declare function provideToContext<T>(token: InjectionKey<T> | string, value: T, context: any): void;
|
|
38
|
+
export {};
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
import './drawer-overlay.scss';
|
|
2
|
-
declare const _default:
|
|
3
|
-
visible: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
onClick: {
|
|
8
|
-
type: FunctionConstructor;
|
|
9
|
-
};
|
|
10
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
visible: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
onClick: {
|
|
16
|
-
type: FunctionConstructor;
|
|
17
|
-
};
|
|
18
|
-
}>>, {
|
|
19
|
-
visible: boolean;
|
|
20
|
-
}>;
|
|
2
|
+
declare const _default: (props: Record<string, any> & {}) => any;
|
|
21
3
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: (props: Record<string, any> & {}) => any;
|
|
2
2
|
export default _default;
|
|
@@ -1,132 +1,3 @@
|
|
|
1
1
|
import './editable-select.scss';
|
|
2
|
-
declare const _default:
|
|
3
|
-
readonly modelValue: {
|
|
4
|
-
readonly type: import("vue").PropType<string | number>;
|
|
5
|
-
};
|
|
6
|
-
readonly appendToBody: {
|
|
7
|
-
readonly type: BooleanConstructor;
|
|
8
|
-
readonly default: false;
|
|
9
|
-
};
|
|
10
|
-
readonly position: {
|
|
11
|
-
readonly type: import("vue").PropType<import("./editable-select-types").Placement[]>;
|
|
12
|
-
readonly default: readonly ["bottom"];
|
|
13
|
-
};
|
|
14
|
-
readonly options: {
|
|
15
|
-
readonly type: import("vue").PropType<import("./editable-select-types").Options>;
|
|
16
|
-
readonly default: () => never[];
|
|
17
|
-
};
|
|
18
|
-
readonly width: {
|
|
19
|
-
readonly type: NumberConstructor;
|
|
20
|
-
};
|
|
21
|
-
readonly maxHeight: {
|
|
22
|
-
readonly type: NumberConstructor;
|
|
23
|
-
};
|
|
24
|
-
readonly size: {
|
|
25
|
-
readonly type: import("vue").PropType<import("./editable-select-types").EditableSelectSize>;
|
|
26
|
-
};
|
|
27
|
-
readonly placeholder: {
|
|
28
|
-
readonly type: StringConstructor;
|
|
29
|
-
readonly default: "Select";
|
|
30
|
-
};
|
|
31
|
-
readonly loading: {
|
|
32
|
-
readonly type: BooleanConstructor;
|
|
33
|
-
readonly default: false;
|
|
34
|
-
};
|
|
35
|
-
readonly allowClear: {
|
|
36
|
-
readonly type: BooleanConstructor;
|
|
37
|
-
readonly default: false;
|
|
38
|
-
};
|
|
39
|
-
readonly disabled: {
|
|
40
|
-
readonly type: BooleanConstructor;
|
|
41
|
-
readonly default: false;
|
|
42
|
-
};
|
|
43
|
-
readonly disabledKey: {
|
|
44
|
-
readonly type: StringConstructor;
|
|
45
|
-
readonly default: "";
|
|
46
|
-
};
|
|
47
|
-
readonly remote: {
|
|
48
|
-
readonly type: BooleanConstructor;
|
|
49
|
-
readonly default: false;
|
|
50
|
-
};
|
|
51
|
-
readonly filterMethod: {
|
|
52
|
-
readonly type: import("vue").PropType<(inputValue: string) => void>;
|
|
53
|
-
};
|
|
54
|
-
readonly remoteMethod: {
|
|
55
|
-
readonly type: import("vue").PropType<(inputValue: string) => void>;
|
|
56
|
-
};
|
|
57
|
-
readonly enableLazyLoad: {
|
|
58
|
-
readonly type: BooleanConstructor;
|
|
59
|
-
readonly default: false;
|
|
60
|
-
};
|
|
61
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "clear" | "blur" | "change" | "focus" | "loadMore" | "update:modelValue" | "visibleChange" | "inputChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
-
readonly modelValue: {
|
|
63
|
-
readonly type: import("vue").PropType<string | number>;
|
|
64
|
-
};
|
|
65
|
-
readonly appendToBody: {
|
|
66
|
-
readonly type: BooleanConstructor;
|
|
67
|
-
readonly default: false;
|
|
68
|
-
};
|
|
69
|
-
readonly position: {
|
|
70
|
-
readonly type: import("vue").PropType<import("./editable-select-types").Placement[]>;
|
|
71
|
-
readonly default: readonly ["bottom"];
|
|
72
|
-
};
|
|
73
|
-
readonly options: {
|
|
74
|
-
readonly type: import("vue").PropType<import("./editable-select-types").Options>;
|
|
75
|
-
readonly default: () => never[];
|
|
76
|
-
};
|
|
77
|
-
readonly width: {
|
|
78
|
-
readonly type: NumberConstructor;
|
|
79
|
-
};
|
|
80
|
-
readonly maxHeight: {
|
|
81
|
-
readonly type: NumberConstructor;
|
|
82
|
-
};
|
|
83
|
-
readonly size: {
|
|
84
|
-
readonly type: import("vue").PropType<import("./editable-select-types").EditableSelectSize>;
|
|
85
|
-
};
|
|
86
|
-
readonly placeholder: {
|
|
87
|
-
readonly type: StringConstructor;
|
|
88
|
-
readonly default: "Select";
|
|
89
|
-
};
|
|
90
|
-
readonly loading: {
|
|
91
|
-
readonly type: BooleanConstructor;
|
|
92
|
-
readonly default: false;
|
|
93
|
-
};
|
|
94
|
-
readonly allowClear: {
|
|
95
|
-
readonly type: BooleanConstructor;
|
|
96
|
-
readonly default: false;
|
|
97
|
-
};
|
|
98
|
-
readonly disabled: {
|
|
99
|
-
readonly type: BooleanConstructor;
|
|
100
|
-
readonly default: false;
|
|
101
|
-
};
|
|
102
|
-
readonly disabledKey: {
|
|
103
|
-
readonly type: StringConstructor;
|
|
104
|
-
readonly default: "";
|
|
105
|
-
};
|
|
106
|
-
readonly remote: {
|
|
107
|
-
readonly type: BooleanConstructor;
|
|
108
|
-
readonly default: false;
|
|
109
|
-
};
|
|
110
|
-
readonly filterMethod: {
|
|
111
|
-
readonly type: import("vue").PropType<(inputValue: string) => void>;
|
|
112
|
-
};
|
|
113
|
-
readonly remoteMethod: {
|
|
114
|
-
readonly type: import("vue").PropType<(inputValue: string) => void>;
|
|
115
|
-
};
|
|
116
|
-
readonly enableLazyLoad: {
|
|
117
|
-
readonly type: BooleanConstructor;
|
|
118
|
-
readonly default: false;
|
|
119
|
-
};
|
|
120
|
-
}>>, {
|
|
121
|
-
readonly position: import("./editable-select-types").Placement[];
|
|
122
|
-
readonly loading: boolean;
|
|
123
|
-
readonly disabled: boolean;
|
|
124
|
-
readonly options: import("./editable-select-types").Options;
|
|
125
|
-
readonly placeholder: string;
|
|
126
|
-
readonly disabledKey: string;
|
|
127
|
-
readonly appendToBody: boolean;
|
|
128
|
-
readonly enableLazyLoad: boolean;
|
|
129
|
-
readonly allowClear: boolean;
|
|
130
|
-
readonly remote: boolean;
|
|
131
|
-
}>;
|
|
2
|
+
declare const _default: (props: Record<string, any> & {}) => any;
|
|
132
3
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,95 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
content: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
disableRender: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
baseUrl: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
breaks: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
customParse: {
|
|
19
|
-
type: import("vue").PropType<(html: string) => string>;
|
|
20
|
-
default: null;
|
|
21
|
-
};
|
|
22
|
-
renderParse: {
|
|
23
|
-
type: import("vue").PropType<(html: string) => string>;
|
|
24
|
-
default: null;
|
|
25
|
-
};
|
|
26
|
-
mdRules: {
|
|
27
|
-
type: ObjectConstructor;
|
|
28
|
-
default: () => {};
|
|
29
|
-
};
|
|
30
|
-
customRendererRules: {
|
|
31
|
-
type: import("vue").PropType<import("../editor-md-types").ICustomRenderRule[]>;
|
|
32
|
-
default: () => never[];
|
|
33
|
-
};
|
|
34
|
-
customXssRules: {
|
|
35
|
-
type: import("vue").PropType<import("../editor-md-types").ICustomXssRule[]>;
|
|
36
|
-
default: () => never[];
|
|
37
|
-
};
|
|
38
|
-
mdPlugins: {
|
|
39
|
-
type: import("vue").PropType<import("../editor-md-types").MdPlugin[]>;
|
|
40
|
-
default: () => never[];
|
|
41
|
-
};
|
|
42
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "checkedChange" | "mdRenderChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
content: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
disableRender: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
baseUrl: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: null;
|
|
54
|
-
};
|
|
55
|
-
breaks: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
customParse: {
|
|
60
|
-
type: import("vue").PropType<(html: string) => string>;
|
|
61
|
-
default: null;
|
|
62
|
-
};
|
|
63
|
-
renderParse: {
|
|
64
|
-
type: import("vue").PropType<(html: string) => string>;
|
|
65
|
-
default: null;
|
|
66
|
-
};
|
|
67
|
-
mdRules: {
|
|
68
|
-
type: ObjectConstructor;
|
|
69
|
-
default: () => {};
|
|
70
|
-
};
|
|
71
|
-
customRendererRules: {
|
|
72
|
-
type: import("vue").PropType<import("../editor-md-types").ICustomRenderRule[]>;
|
|
73
|
-
default: () => never[];
|
|
74
|
-
};
|
|
75
|
-
customXssRules: {
|
|
76
|
-
type: import("vue").PropType<import("../editor-md-types").ICustomXssRule[]>;
|
|
77
|
-
default: () => never[];
|
|
78
|
-
};
|
|
79
|
-
mdPlugins: {
|
|
80
|
-
type: import("vue").PropType<import("../editor-md-types").MdPlugin[]>;
|
|
81
|
-
default: () => never[];
|
|
82
|
-
};
|
|
83
|
-
}>>, {
|
|
84
|
-
content: string;
|
|
85
|
-
baseUrl: string;
|
|
86
|
-
breaks: boolean;
|
|
87
|
-
customParse: (html: string) => string;
|
|
88
|
-
renderParse: (html: string) => string;
|
|
89
|
-
mdRules: Record<string, any>;
|
|
90
|
-
customRendererRules: import("../editor-md-types").ICustomRenderRule[];
|
|
91
|
-
customXssRules: import("../editor-md-types").ICustomXssRule[];
|
|
92
|
-
mdPlugins: import("../editor-md-types").MdPlugin[];
|
|
93
|
-
disableRender: boolean;
|
|
94
|
-
}>;
|
|
1
|
+
declare const _default: (props: Record<string, any> & {}) => any;
|
|
95
2
|
export default _default;
|
|
@@ -3,12 +3,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: import("vue").PropType<import("../toolbar-config").IToolbarItemConfig>;
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
6
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
config: {
|
|
8
8
|
type: import("vue").PropType<import("../toolbar-config").IToolbarItemConfig>;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
11
|
}>>, {
|
|
12
12
|
config: import("../toolbar-config").IToolbarItemConfig;
|
|
13
|
-
}>;
|
|
13
|
+
}, {}>;
|
|
14
14
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './toolbar.scss';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
3
3
|
export default _default;
|
|
@@ -5,6 +5,7 @@ export declare function useEditorMd(props: EditorMdProps, ctx: SetupContext): {
|
|
|
5
5
|
overlayRef: Ref<any>;
|
|
6
6
|
cursorRef: Ref<any>;
|
|
7
7
|
renderRef: Ref<any>;
|
|
8
|
+
containerRef: Ref<any>;
|
|
8
9
|
toolbars: Record<string, import("../toolbar-config").IToolbarItemConfig>;
|
|
9
10
|
previewHtmlList: Ref<any[]>;
|
|
10
11
|
isHintShow: Ref<any>;
|