@vipl520/dk-ui 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -26
- package/dist/index.min.js +34 -0
- package/dist/index.min.js.map +1 -0
- package/dist/index.min.mjs +34 -0
- package/dist/index.min.mjs.map +1 -0
- package/dist/index.mjs +13 -26
- package/dist/web-types.json +1 -1
- package/es/api/attachment.d.ts +10 -0
- package/es/api/common.d.ts +1 -0
- package/es/api/index.d.ts +1 -0
- package/es/attachment/index.d.ts +29 -0
- package/es/attachment/src/attachment.vue.d.ts +28 -0
- package/es/attachment/src/file-icon.vue.d.ts +41 -0
- package/es/attachment/src/props.d.ts +12 -0
- package/es/attachment-dialog/index.d.ts +40 -0
- package/es/attachment-dialog/src/attachment-dialog.vue.d.ts +39 -0
- package/es/attachment-dialog/src/props.d.ts +16 -0
- package/es/audio-input/index.d.ts +55 -0
- package/es/audio-input/src/audio-input.vue.d.ts +54 -0
- package/es/audio-input/src/props.d.ts +24 -0
- package/es/audio-list-input/index.d.ts +55 -0
- package/es/audio-list-input/src/audio-list-input.vue.d.ts +54 -0
- package/es/audio-list-input/src/props.d.ts +24 -0
- package/es/box-size-input/index.d.ts +71 -0
- package/es/box-size-input/src/box-size-input.vue.d.ts +70 -0
- package/es/box-size-input/src/props.d.ts +32 -0
- package/es/color-input/index.d.ts +46 -0
- package/es/color-input/src/color-input.vue.d.ts +45 -0
- package/es/color-input/src/props.d.ts +23 -0
- package/es/dialog/index.d.ts +176 -0
- package/es/dialog/src/dialog.vue.d.ts +59 -0
- package/es/dialog/src/props.d.ts +24 -0
- package/es/file-input/index.d.ts +64 -0
- package/es/file-input/src/file-input.vue.d.ts +63 -0
- package/es/file-input/src/props.d.ts +28 -0
- package/es/file-list-input/index.d.ts +64 -0
- package/es/file-list-input/src/file-list-input.vue.d.ts +63 -0
- package/es/file-list-input/src/props.d.ts +28 -0
- package/es/form/index.d.ts +294 -0
- package/es/form/src/config.d.ts +45 -0
- package/es/form/src/form.vue.d.ts +116 -0
- package/es/form/src/props.d.ts +44 -0
- package/es/group/index.d.ts +174 -0
- package/es/group/src/group.vue.d.ts +173 -0
- package/es/group/src/props.d.ts +76 -0
- package/es/group/utils/extend.d.ts +3 -0
- package/es/group/utils/utils.d.ts +4 -0
- package/es/icon/index.d.ts +189 -0
- package/es/icon/src/icon.vue.d.ts +66 -0
- package/es/icon/src/props.d.ts +31 -0
- package/es/icon-input/index.d.ts +143 -0
- package/es/icon-input/src/icon-content.vue.d.ts +44 -0
- package/es/icon-input/src/icon-dialog.vue.d.ts +38 -0
- package/es/icon-input/src/icon-input.vue.d.ts +62 -0
- package/es/icon-input/src/props.d.ts +62 -0
- package/es/image-input/index.d.ts +55 -0
- package/es/image-input/src/image-input.vue.d.ts +54 -0
- package/es/image-input/src/props.d.ts +24 -0
- package/es/image-list-input/index.d.ts +55 -0
- package/es/image-list-input/src/image-list-input.vue.d.ts +54 -0
- package/es/image-list-input/src/props.d.ts +24 -0
- package/es/index.d.ts +35 -0
- package/es/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.mjs +3 -3
- package/es/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/form/src/form.vue2.mjs +2 -2
- package/es/packages/dk-ui/src/form/src/form.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/select/index.mjs.map +1 -1
- package/es/packages/dk-ui/src/select/src/props.mjs.map +1 -1
- package/es/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.mjs +3 -7
- package/es/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.mjs +1 -4
- package/es/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.mjs +2 -6
- package/es/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
- package/es/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.mjs +2 -4
- package/es/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
- package/es/page-diy/index.d.ts +246 -0
- package/es/page-diy/src/components/DragBox.vue.d.ts +14 -0
- package/es/page-diy/src/components/DragTool.vue.d.ts +59 -0
- package/es/page-diy/src/components/PreviewPhone.vue.d.ts +30 -0
- package/es/page-diy/src/config/base/dkPage.d.ts +7 -0
- package/es/page-diy/src/config/base/dkSetting.d.ts +35 -0
- package/es/page-diy/src/config/base/index.d.ts +3 -0
- package/es/page-diy/src/config/rule/common/DkPosterBtn.d.ts +86 -0
- package/es/page-diy/src/config/rule/common/DkViewBulletChat.d.ts +108 -0
- package/es/page-diy/src/config/rule/common/DkViewCell.d.ts +37 -0
- package/es/page-diy/src/config/rule/common/DkViewCommonBtn.d.ts +264 -0
- package/es/page-diy/src/config/rule/common/DkViewDialog.d.ts +106 -0
- package/es/page-diy/src/config/rule/common/DkViewGridCellList.d.ts +130 -0
- package/es/page-diy/src/config/rule/common/DkViewImage.d.ts +120 -0
- package/es/page-diy/src/config/rule/common/DkViewMusic.d.ts +85 -0
- package/es/page-diy/src/config/rule/common/DkViewNavBar.d.ts +33 -0
- package/es/page-diy/src/config/rule/common/DkViewNoticeBar.d.ts +57 -0
- package/es/page-diy/src/config/rule/common/DkViewSwipe.d.ts +140 -0
- package/es/page-diy/src/config/rule/common/DkViewTabbar.d.ts +101 -0
- package/es/page-diy/src/config/rule/common/DkViewTextarea.d.ts +33 -0
- package/es/page-diy/src/config/rule/common/DkViewVideo.d.ts +73 -0
- package/es/page-diy/src/config/rule/common/index.d.ts +2638 -0
- package/es/page-diy/src/config/rule/index.d.ts +3665 -0
- package/es/page-diy/src/config/rule/layout/DkViewTitle.d.ts +125 -0
- package/es/page-diy/src/config/rule/layout/col.d.ts +36 -0
- package/es/page-diy/src/config/rule/layout/divider.d.ts +39 -0
- package/es/page-diy/src/config/rule/layout/index.d.ts +1023 -0
- package/es/page-diy/src/config/rule/layout/row.d.ts +47 -0
- package/es/page-diy/src/config/rule/layout/space.d.ts +32 -0
- package/es/page-diy/src/config/rule/layout/swip-item.d.ts +27 -0
- package/es/page-diy/src/config/rule/layout/swipe.d.ts +62 -0
- package/es/page-diy/src/config/rule/layout/tab.d.ts +30 -0
- package/es/page-diy/src/config/rule/layout/tabs.d.ts +119 -0
- package/es/page-diy/src/config/rule/layout/vanEmpty.d.ts +66 -0
- package/es/page-diy/src/page-diy.vue.d.ts +245 -0
- package/es/page-diy/src/props.d.ts +11 -0
- package/es/page-diy/src/utils/form.d.ts +4 -0
- package/es/page-diy/src/utils/help.d.ts +2 -0
- package/es/page-diy/src/utils/index.d.ts +3 -0
- package/es/page-diy/src/utils/unique.d.ts +1 -0
- package/es/page-diy/src/views/DkViewBulletChat.vue.d.ts +59 -0
- package/es/page-diy/src/views/DkViewCell.vue.d.ts +14 -0
- package/es/page-diy/src/views/DkViewCommonBtn.vue.d.ts +220 -0
- package/es/page-diy/src/views/DkViewDialog.vue.d.ts +81 -0
- package/es/page-diy/src/views/DkViewGridCellList.vue.d.ts +133 -0
- package/es/page-diy/src/views/DkViewImage.vue.d.ts +120 -0
- package/es/page-diy/src/views/DkViewMusic.vue.d.ts +68 -0
- package/es/page-diy/src/views/DkViewNavBar.vue.d.ts +68 -0
- package/es/page-diy/src/views/DkViewNoticeBar.vue.d.ts +59 -0
- package/es/page-diy/src/views/DkViewSwipe.vue.d.ts +59 -0
- package/es/page-diy/src/views/DkViewTabbar.vue.d.ts +52 -0
- package/es/page-diy/src/views/DkViewTextarea.vue.d.ts +14 -0
- package/es/page-diy/src/views/DkViewTitle.vue.d.ts +167 -0
- package/es/page-diy/src/views/DkViewVideo.vue.d.ts +54 -0
- package/es/page-diy/src/views/index.d.ts +2 -0
- package/es/poster-input/index.d.ts +142 -0
- package/es/poster-input/src/component/config.d.ts +97 -0
- package/es/poster-input/src/component/poster-content.vue.d.ts +46 -0
- package/es/poster-input/src/component/poster.vue.d.ts +31 -0
- package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.d.ts +23 -0
- package/es/poster-input/src/component/views/DkPosterViewImage.vue.d.ts +23 -0
- package/es/poster-input/src/component/views/DkPosterViewName.vue.d.ts +23 -0
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.d.ts +23 -0
- package/es/poster-input/src/component/views/DkPosterViewText.vue.d.ts +23 -0
- package/es/poster-input/src/component/views/quick-action.vue.d.ts +14 -0
- package/es/poster-input/src/poster-input.vue.d.ts +112 -0
- package/es/poster-input/src/props.d.ts +54 -0
- package/es/resolver.d.ts +15 -0
- package/es/select/index.d.ts +3 -0
- package/es/select/src/props.d.ts +3 -0
- package/es/select/src/select.vue.d.ts +17 -0
- package/es/style-background-input/index.d.ts +23 -0
- package/es/style-background-input/src/props.d.ts +11 -0
- package/es/style-background-input/src/style-background-input.vue.d.ts +22 -0
- package/es/style-border-input/index.d.ts +17 -0
- package/es/style-border-input/src/props.d.ts +8 -0
- package/es/style-border-input/src/style-border-input.vue.d.ts +16 -0
- package/es/style-box-input/index.d.ts +35 -0
- package/es/style-box-input/src/html.d.ts +33 -0
- package/es/style-box-input/src/props.d.ts +16 -0
- package/es/style-box-input/src/style-box-input.vue.d.ts +34 -0
- package/es/style-font-input/index.d.ts +17 -0
- package/es/style-font-input/src/props.d.ts +8 -0
- package/es/style-font-input/src/style-font-input.vue.d.ts +16 -0
- package/es/style-input/index.d.ts +26 -0
- package/es/style-input/src/default.d.ts +9 -0
- package/es/style-input/src/props.d.ts +16 -0
- package/es/style-input/src/style-input.vue.d.ts +25 -0
- package/es/style-number-input/index.d.ts +62 -0
- package/es/style-number-input/src/props.d.ts +28 -0
- package/es/style-number-input/src/style-number-input.vue.d.ts +61 -0
- package/es/style-position-input/index.d.ts +17 -0
- package/es/style-position-input/src/props.d.ts +8 -0
- package/es/style-position-input/src/style-position-input.vue.d.ts +16 -0
- package/es/style-shadow-input/index.d.ts +83 -0
- package/es/style-shadow-input/src/props.d.ts +12 -0
- package/es/style-shadow-input/src/style-shadow-content.vue.d.ts +58 -0
- package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +25 -0
- package/es/table/index.d.ts +127 -0
- package/es/table/src/components/ComSearch.vue.d.ts +7 -0
- package/es/table/src/components/FieldRender.vue.d.ts +37 -0
- package/es/table/src/components/RecycleDialog.vue.d.ts +2 -0
- package/es/table/src/components/header.vue.d.ts +40 -0
- package/es/table/src/props.d.ts +8 -0
- package/es/table/src/table.vue.d.ts +27 -0
- package/es/table/utils/dkTable.d.ts +85 -0
- package/es/table/utils/dkTableApi.d.ts +59 -0
- package/es/test/index.d.ts +24 -0
- package/es/test/src/props.d.ts +15 -0
- package/es/test/src/test.vue.d.ts +23 -0
- package/es/tiny-editor/index.d.ts +64 -0
- package/es/tiny-editor/src/config.d.ts +19 -0
- package/es/tiny-editor/src/props.d.ts +31 -0
- package/es/tiny-editor/src/tiny-editor.vue.d.ts +63 -0
- package/es/video-input/index.d.ts +55 -0
- package/es/video-input/src/props.d.ts +24 -0
- package/es/video-input/src/video-input.vue.d.ts +54 -0
- package/es/video-list-input/index.d.ts +55 -0
- package/es/video-list-input/src/props.d.ts +24 -0
- package/es/video-list-input/src/video-list-input.vue.d.ts +54 -0
- package/lib/api/attachment.d.ts +10 -0
- package/lib/api/common.d.ts +1 -0
- package/lib/api/index.d.ts +1 -0
- package/lib/attachment/index.d.ts +29 -0
- package/lib/attachment/src/attachment.vue.d.ts +28 -0
- package/lib/attachment/src/file-icon.vue.d.ts +41 -0
- package/lib/attachment/src/props.d.ts +12 -0
- package/lib/attachment-dialog/index.d.ts +40 -0
- package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +39 -0
- package/lib/attachment-dialog/src/props.d.ts +16 -0
- package/lib/audio-input/index.d.ts +55 -0
- package/lib/audio-input/src/audio-input.vue.d.ts +54 -0
- package/lib/audio-input/src/props.d.ts +24 -0
- package/lib/audio-list-input/index.d.ts +55 -0
- package/lib/audio-list-input/src/audio-list-input.vue.d.ts +54 -0
- package/lib/audio-list-input/src/props.d.ts +24 -0
- package/lib/box-size-input/index.d.ts +71 -0
- package/lib/box-size-input/src/box-size-input.vue.d.ts +70 -0
- package/lib/box-size-input/src/props.d.ts +32 -0
- package/lib/color-input/index.d.ts +46 -0
- package/lib/color-input/src/color-input.vue.d.ts +45 -0
- package/lib/color-input/src/props.d.ts +23 -0
- package/lib/dialog/index.d.ts +176 -0
- package/lib/dialog/src/dialog.vue.d.ts +59 -0
- package/lib/dialog/src/props.d.ts +24 -0
- package/lib/file-input/index.d.ts +64 -0
- package/lib/file-input/src/file-input.vue.d.ts +63 -0
- package/lib/file-input/src/props.d.ts +28 -0
- package/lib/file-list-input/index.d.ts +64 -0
- package/lib/file-list-input/src/file-list-input.vue.d.ts +63 -0
- package/lib/file-list-input/src/props.d.ts +28 -0
- package/lib/form/index.d.ts +294 -0
- package/lib/form/src/config.d.ts +45 -0
- package/lib/form/src/form.vue.d.ts +116 -0
- package/lib/form/src/props.d.ts +44 -0
- package/lib/group/index.d.ts +174 -0
- package/lib/group/src/group.vue.d.ts +173 -0
- package/lib/group/src/props.d.ts +76 -0
- package/lib/group/utils/extend.d.ts +3 -0
- package/lib/group/utils/utils.d.ts +4 -0
- package/lib/icon/index.d.ts +189 -0
- package/lib/icon/src/icon.vue.d.ts +66 -0
- package/lib/icon/src/props.d.ts +31 -0
- package/lib/icon-input/index.d.ts +143 -0
- package/lib/icon-input/src/icon-content.vue.d.ts +44 -0
- package/lib/icon-input/src/icon-dialog.vue.d.ts +38 -0
- package/lib/icon-input/src/icon-input.vue.d.ts +62 -0
- package/lib/icon-input/src/props.d.ts +62 -0
- package/lib/image-input/index.d.ts +55 -0
- package/lib/image-input/src/image-input.vue.d.ts +54 -0
- package/lib/image-input/src/props.d.ts +24 -0
- package/lib/image-list-input/index.d.ts +55 -0
- package/lib/image-list-input/src/image-list-input.vue.d.ts +54 -0
- package/lib/image-list-input/src/props.d.ts +24 -0
- package/lib/index.d.ts +35 -0
- package/lib/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.js +3 -3
- package/lib/packages/dk-ui/src/box-size-input/src/box-size-input.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/form/src/form.vue2.js +2 -2
- package/lib/packages/dk-ui/src/form/src/form.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/select/index.js.map +1 -1
- package/lib/packages/dk-ui/src/select/src/props.js.map +1 -1
- package/lib/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.js +3 -7
- package/lib/packages/dk-ui/src/style-border-input/src/style-border-input.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.js +1 -4
- package/lib/packages/dk-ui/src/style-position-input/src/style-position-input.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.js +2 -6
- package/lib/packages/dk-ui/src/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/table/src/components/RecycleDialog.vue2.js.map +1 -1
- package/lib/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.js +2 -4
- package/lib/packages/dk-ui/src/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
- package/lib/page-diy/index.d.ts +246 -0
- package/lib/page-diy/src/components/DragBox.vue.d.ts +14 -0
- package/lib/page-diy/src/components/DragTool.vue.d.ts +59 -0
- package/lib/page-diy/src/components/PreviewPhone.vue.d.ts +30 -0
- package/lib/page-diy/src/config/base/dkPage.d.ts +7 -0
- package/lib/page-diy/src/config/base/dkSetting.d.ts +35 -0
- package/lib/page-diy/src/config/base/index.d.ts +3 -0
- package/lib/page-diy/src/config/rule/common/DkPosterBtn.d.ts +86 -0
- package/lib/page-diy/src/config/rule/common/DkViewBulletChat.d.ts +108 -0
- package/lib/page-diy/src/config/rule/common/DkViewCell.d.ts +37 -0
- package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.d.ts +264 -0
- package/lib/page-diy/src/config/rule/common/DkViewDialog.d.ts +106 -0
- package/lib/page-diy/src/config/rule/common/DkViewGridCellList.d.ts +130 -0
- package/lib/page-diy/src/config/rule/common/DkViewImage.d.ts +120 -0
- package/lib/page-diy/src/config/rule/common/DkViewMusic.d.ts +85 -0
- package/lib/page-diy/src/config/rule/common/DkViewNavBar.d.ts +33 -0
- package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.d.ts +57 -0
- package/lib/page-diy/src/config/rule/common/DkViewSwipe.d.ts +140 -0
- package/lib/page-diy/src/config/rule/common/DkViewTabbar.d.ts +101 -0
- package/lib/page-diy/src/config/rule/common/DkViewTextarea.d.ts +33 -0
- package/lib/page-diy/src/config/rule/common/DkViewVideo.d.ts +73 -0
- package/lib/page-diy/src/config/rule/common/index.d.ts +2638 -0
- package/lib/page-diy/src/config/rule/index.d.ts +3665 -0
- package/lib/page-diy/src/config/rule/layout/DkViewTitle.d.ts +125 -0
- package/lib/page-diy/src/config/rule/layout/col.d.ts +36 -0
- package/lib/page-diy/src/config/rule/layout/divider.d.ts +39 -0
- package/lib/page-diy/src/config/rule/layout/index.d.ts +1023 -0
- package/lib/page-diy/src/config/rule/layout/row.d.ts +47 -0
- package/lib/page-diy/src/config/rule/layout/space.d.ts +32 -0
- package/lib/page-diy/src/config/rule/layout/swip-item.d.ts +27 -0
- package/lib/page-diy/src/config/rule/layout/swipe.d.ts +62 -0
- package/lib/page-diy/src/config/rule/layout/tab.d.ts +30 -0
- package/lib/page-diy/src/config/rule/layout/tabs.d.ts +119 -0
- package/lib/page-diy/src/config/rule/layout/vanEmpty.d.ts +66 -0
- package/lib/page-diy/src/page-diy.vue.d.ts +245 -0
- package/lib/page-diy/src/props.d.ts +11 -0
- package/lib/page-diy/src/utils/form.d.ts +4 -0
- package/lib/page-diy/src/utils/help.d.ts +2 -0
- package/lib/page-diy/src/utils/index.d.ts +3 -0
- package/lib/page-diy/src/utils/unique.d.ts +1 -0
- package/lib/page-diy/src/views/DkViewBulletChat.vue.d.ts +59 -0
- package/lib/page-diy/src/views/DkViewCell.vue.d.ts +14 -0
- package/lib/page-diy/src/views/DkViewCommonBtn.vue.d.ts +220 -0
- package/lib/page-diy/src/views/DkViewDialog.vue.d.ts +81 -0
- package/lib/page-diy/src/views/DkViewGridCellList.vue.d.ts +133 -0
- package/lib/page-diy/src/views/DkViewImage.vue.d.ts +120 -0
- package/lib/page-diy/src/views/DkViewMusic.vue.d.ts +68 -0
- package/lib/page-diy/src/views/DkViewNavBar.vue.d.ts +68 -0
- package/lib/page-diy/src/views/DkViewNoticeBar.vue.d.ts +59 -0
- package/lib/page-diy/src/views/DkViewSwipe.vue.d.ts +59 -0
- package/lib/page-diy/src/views/DkViewTabbar.vue.d.ts +52 -0
- package/lib/page-diy/src/views/DkViewTextarea.vue.d.ts +14 -0
- package/lib/page-diy/src/views/DkViewTitle.vue.d.ts +167 -0
- package/lib/page-diy/src/views/DkViewVideo.vue.d.ts +54 -0
- package/lib/page-diy/src/views/index.d.ts +2 -0
- package/lib/poster-input/index.d.ts +142 -0
- package/lib/poster-input/src/component/config.d.ts +97 -0
- package/lib/poster-input/src/component/poster-content.vue.d.ts +46 -0
- package/lib/poster-input/src/component/poster.vue.d.ts +31 -0
- package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.d.ts +23 -0
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue.d.ts +23 -0
- package/lib/poster-input/src/component/views/DkPosterViewName.vue.d.ts +23 -0
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.d.ts +23 -0
- package/lib/poster-input/src/component/views/DkPosterViewText.vue.d.ts +23 -0
- package/lib/poster-input/src/component/views/quick-action.vue.d.ts +14 -0
- package/lib/poster-input/src/poster-input.vue.d.ts +112 -0
- package/lib/poster-input/src/props.d.ts +54 -0
- package/lib/resolver.d.ts +15 -0
- package/lib/select/index.d.ts +3 -0
- package/lib/select/src/props.d.ts +3 -0
- package/lib/select/src/select.vue.d.ts +17 -0
- package/lib/style-background-input/index.d.ts +23 -0
- package/lib/style-background-input/src/props.d.ts +11 -0
- package/lib/style-background-input/src/style-background-input.vue.d.ts +22 -0
- package/lib/style-border-input/index.d.ts +17 -0
- package/lib/style-border-input/src/props.d.ts +8 -0
- package/lib/style-border-input/src/style-border-input.vue.d.ts +16 -0
- package/lib/style-box-input/index.d.ts +35 -0
- package/lib/style-box-input/src/html.d.ts +33 -0
- package/lib/style-box-input/src/props.d.ts +16 -0
- package/lib/style-box-input/src/style-box-input.vue.d.ts +34 -0
- package/lib/style-font-input/index.d.ts +17 -0
- package/lib/style-font-input/src/props.d.ts +8 -0
- package/lib/style-font-input/src/style-font-input.vue.d.ts +16 -0
- package/lib/style-input/index.d.ts +26 -0
- package/lib/style-input/src/default.d.ts +9 -0
- package/lib/style-input/src/props.d.ts +16 -0
- package/lib/style-input/src/style-input.vue.d.ts +25 -0
- package/lib/style-number-input/index.d.ts +62 -0
- package/lib/style-number-input/src/props.d.ts +28 -0
- package/lib/style-number-input/src/style-number-input.vue.d.ts +61 -0
- package/lib/style-position-input/index.d.ts +17 -0
- package/lib/style-position-input/src/props.d.ts +8 -0
- package/lib/style-position-input/src/style-position-input.vue.d.ts +16 -0
- package/lib/style-shadow-input/index.d.ts +83 -0
- package/lib/style-shadow-input/src/props.d.ts +12 -0
- package/lib/style-shadow-input/src/style-shadow-content.vue.d.ts +58 -0
- package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +25 -0
- package/lib/table/index.d.ts +127 -0
- package/lib/table/src/components/ComSearch.vue.d.ts +7 -0
- package/lib/table/src/components/FieldRender.vue.d.ts +37 -0
- package/lib/table/src/components/RecycleDialog.vue.d.ts +2 -0
- package/lib/table/src/components/header.vue.d.ts +40 -0
- package/lib/table/src/props.d.ts +8 -0
- package/lib/table/src/table.vue.d.ts +27 -0
- package/lib/table/utils/dkTable.d.ts +85 -0
- package/lib/table/utils/dkTableApi.d.ts +59 -0
- package/lib/test/index.d.ts +24 -0
- package/lib/test/src/props.d.ts +15 -0
- package/lib/test/src/test.vue.d.ts +23 -0
- package/lib/tiny-editor/index.d.ts +64 -0
- package/lib/tiny-editor/src/config.d.ts +19 -0
- package/lib/tiny-editor/src/props.d.ts +31 -0
- package/lib/tiny-editor/src/tiny-editor.vue.d.ts +63 -0
- package/lib/video-input/index.d.ts +55 -0
- package/lib/video-input/src/props.d.ts +24 -0
- package/lib/video-input/src/video-input.vue.d.ts +54 -0
- package/lib/video-list-input/index.d.ts +55 -0
- package/lib/video-list-input/src/props.d.ts +24 -0
- package/lib/video-list-input/src/video-list-input.vue.d.ts +54 -0
- package/package.json +2 -2
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const fileInputProps: {
|
3
|
+
type: {
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
modelValue: {
|
8
|
+
type: StringConstructor;
|
9
|
+
default: string;
|
10
|
+
};
|
11
|
+
placeholder: {
|
12
|
+
type: StringConstructor;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
showInput: {
|
16
|
+
type: BooleanConstructor;
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
imgSize: {
|
20
|
+
type: NumberConstructor;
|
21
|
+
default: number;
|
22
|
+
};
|
23
|
+
accept: {
|
24
|
+
type: StringConstructor;
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export type FileInputProps = ExtractPropTypes<typeof fileInputProps>;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
export declare const FileListInput: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
type: {
|
3
|
+
default: number;
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
5
|
+
};
|
6
|
+
modelValue: {
|
7
|
+
default: () => never[];
|
8
|
+
type: ArrayConstructor;
|
9
|
+
};
|
10
|
+
disabled: {
|
11
|
+
default: boolean;
|
12
|
+
type: BooleanConstructor;
|
13
|
+
};
|
14
|
+
limit: {
|
15
|
+
default: number;
|
16
|
+
type: NumberConstructor;
|
17
|
+
};
|
18
|
+
imgSize: {
|
19
|
+
default: number;
|
20
|
+
type: NumberConstructor;
|
21
|
+
};
|
22
|
+
accept: {
|
23
|
+
default: string;
|
24
|
+
type: StringConstructor;
|
25
|
+
};
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
type: {
|
28
|
+
default: number;
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
30
|
+
};
|
31
|
+
modelValue: {
|
32
|
+
default: () => never[];
|
33
|
+
type: ArrayConstructor;
|
34
|
+
};
|
35
|
+
disabled: {
|
36
|
+
default: boolean;
|
37
|
+
type: BooleanConstructor;
|
38
|
+
};
|
39
|
+
limit: {
|
40
|
+
default: number;
|
41
|
+
type: NumberConstructor;
|
42
|
+
};
|
43
|
+
imgSize: {
|
44
|
+
default: number;
|
45
|
+
type: NumberConstructor;
|
46
|
+
};
|
47
|
+
accept: {
|
48
|
+
default: string;
|
49
|
+
type: StringConstructor;
|
50
|
+
};
|
51
|
+
}>> & {
|
52
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
53
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
54
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
55
|
+
}, {
|
56
|
+
type: string | number;
|
57
|
+
accept: string;
|
58
|
+
modelValue: unknown[];
|
59
|
+
disabled: boolean;
|
60
|
+
imgSize: number;
|
61
|
+
limit: number;
|
62
|
+
}, {}>>;
|
63
|
+
export default FileListInput;
|
64
|
+
export * from './src/props';
|
@@ -0,0 +1,63 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
type: {
|
3
|
+
default: number;
|
4
|
+
type: (StringConstructor | NumberConstructor)[];
|
5
|
+
};
|
6
|
+
modelValue: {
|
7
|
+
default: () => never[];
|
8
|
+
type: ArrayConstructor;
|
9
|
+
};
|
10
|
+
disabled: {
|
11
|
+
default: boolean;
|
12
|
+
type: BooleanConstructor;
|
13
|
+
};
|
14
|
+
limit: {
|
15
|
+
default: number;
|
16
|
+
type: NumberConstructor;
|
17
|
+
};
|
18
|
+
imgSize: {
|
19
|
+
default: number;
|
20
|
+
type: NumberConstructor;
|
21
|
+
};
|
22
|
+
accept: {
|
23
|
+
default: string;
|
24
|
+
type: StringConstructor;
|
25
|
+
};
|
26
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
27
|
+
type: {
|
28
|
+
default: number;
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
30
|
+
};
|
31
|
+
modelValue: {
|
32
|
+
default: () => never[];
|
33
|
+
type: ArrayConstructor;
|
34
|
+
};
|
35
|
+
disabled: {
|
36
|
+
default: boolean;
|
37
|
+
type: BooleanConstructor;
|
38
|
+
};
|
39
|
+
limit: {
|
40
|
+
default: number;
|
41
|
+
type: NumberConstructor;
|
42
|
+
};
|
43
|
+
imgSize: {
|
44
|
+
default: number;
|
45
|
+
type: NumberConstructor;
|
46
|
+
};
|
47
|
+
accept: {
|
48
|
+
default: string;
|
49
|
+
type: StringConstructor;
|
50
|
+
};
|
51
|
+
}>> & {
|
52
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
53
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
54
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
55
|
+
}, {
|
56
|
+
type: string | number;
|
57
|
+
accept: string;
|
58
|
+
modelValue: unknown[];
|
59
|
+
disabled: boolean;
|
60
|
+
imgSize: number;
|
61
|
+
limit: number;
|
62
|
+
}, {}>;
|
63
|
+
export default _default;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const fileListInputProps: {
|
3
|
+
type: {
|
4
|
+
default: number;
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
6
|
+
};
|
7
|
+
modelValue: {
|
8
|
+
default: () => never[];
|
9
|
+
type: ArrayConstructor;
|
10
|
+
};
|
11
|
+
disabled: {
|
12
|
+
default: boolean;
|
13
|
+
type: BooleanConstructor;
|
14
|
+
};
|
15
|
+
limit: {
|
16
|
+
default: number;
|
17
|
+
type: NumberConstructor;
|
18
|
+
};
|
19
|
+
imgSize: {
|
20
|
+
default: number;
|
21
|
+
type: NumberConstructor;
|
22
|
+
};
|
23
|
+
accept: {
|
24
|
+
default: string;
|
25
|
+
type: StringConstructor;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export type FileListInputProps = ExtractPropTypes<typeof fileListInputProps>;
|
@@ -0,0 +1,294 @@
|
|
1
|
+
export declare const Form: import("@vipl520/utils").WithInstall<{
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: {
|
6
|
+
dialog?: Record<string, any> | undefined;
|
7
|
+
path?: string | undefined;
|
8
|
+
formUrl?: string | Record<string, any> | undefined;
|
9
|
+
isDialog?: boolean | undefined;
|
10
|
+
formData?: Record<string, any> | undefined;
|
11
|
+
isSubmit?: boolean | undefined;
|
12
|
+
extraConfig?: Record<string, any> | undefined;
|
13
|
+
isLoading?: boolean | undefined;
|
14
|
+
minHeight?: string | number | undefined;
|
15
|
+
dialogWait?: boolean | undefined;
|
16
|
+
key?: string | number | symbol | undefined;
|
17
|
+
style?: unknown;
|
18
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
19
|
+
class?: unknown;
|
20
|
+
ref?: import("vue").VNodeRef | undefined;
|
21
|
+
ref_for?: boolean | undefined;
|
22
|
+
ref_key?: string | undefined;
|
23
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
24
|
+
[key: string]: any;
|
25
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
26
|
+
[key: string]: any;
|
27
|
+
}>) => void)[] | undefined;
|
28
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
29
|
+
[key: string]: any;
|
30
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
31
|
+
[key: string]: any;
|
32
|
+
}>) => void)[] | undefined;
|
33
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
34
|
+
[key: string]: any;
|
35
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
36
|
+
[key: string]: any;
|
37
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
38
|
+
[key: string]: any;
|
39
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
40
|
+
[key: string]: any;
|
41
|
+
}>) => void)[] | undefined;
|
42
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
43
|
+
[key: string]: any;
|
44
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
47
|
+
[key: string]: any;
|
48
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>) => void)[] | undefined;
|
51
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
52
|
+
[key: string]: any;
|
53
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>) => void)[] | undefined;
|
56
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
|
+
[key: string]: any;
|
58
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
59
|
+
[key: string]: any;
|
60
|
+
}>) => void)[] | undefined;
|
61
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
62
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
63
|
+
};
|
64
|
+
$attrs: {
|
65
|
+
[x: string]: unknown;
|
66
|
+
};
|
67
|
+
$refs: {
|
68
|
+
[x: string]: unknown;
|
69
|
+
};
|
70
|
+
$slots: Readonly<{
|
71
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
72
|
+
}>;
|
73
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
74
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
75
|
+
$emit: (event: "submit" | "update:modelValue" | "fail", ...args: any[]) => void;
|
76
|
+
$el: any;
|
77
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
78
|
+
formData: {
|
79
|
+
type: ObjectConstructor;
|
80
|
+
default: null;
|
81
|
+
};
|
82
|
+
isSubmit: {
|
83
|
+
type: BooleanConstructor;
|
84
|
+
default: boolean;
|
85
|
+
};
|
86
|
+
extraConfig: {
|
87
|
+
default: () => {};
|
88
|
+
type: ObjectConstructor;
|
89
|
+
};
|
90
|
+
path: {
|
91
|
+
default: string;
|
92
|
+
type: StringConstructor;
|
93
|
+
};
|
94
|
+
formUrl: {
|
95
|
+
default: string;
|
96
|
+
type: (ObjectConstructor | StringConstructor)[];
|
97
|
+
};
|
98
|
+
isLoading: {
|
99
|
+
default: boolean;
|
100
|
+
type: BooleanConstructor;
|
101
|
+
};
|
102
|
+
minHeight: {
|
103
|
+
default: string;
|
104
|
+
type: (StringConstructor | NumberConstructor)[];
|
105
|
+
};
|
106
|
+
isDialog: {
|
107
|
+
default: boolean;
|
108
|
+
type: BooleanConstructor;
|
109
|
+
};
|
110
|
+
dialogWait: {
|
111
|
+
default: boolean;
|
112
|
+
type: BooleanConstructor;
|
113
|
+
};
|
114
|
+
dialog: {
|
115
|
+
default: () => {};
|
116
|
+
type: ObjectConstructor;
|
117
|
+
};
|
118
|
+
}>> & {
|
119
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
120
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
121
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
122
|
+
}, {
|
123
|
+
showDialog: import("vue").Ref<boolean>;
|
124
|
+
buttonLoading: import("vue").Ref<boolean>;
|
125
|
+
fApi: import("vue").Ref<any>;
|
126
|
+
value: import("vue").Ref<null>;
|
127
|
+
show: () => void;
|
128
|
+
checkForm: () => void;
|
129
|
+
onSubmit: (data: any) => void;
|
130
|
+
initFormData: (formUrl?: string | object | undefined) => void;
|
131
|
+
setFormData: (formData: any) => void;
|
132
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue" | "fail")[], string, {
|
133
|
+
dialog: Record<string, any>;
|
134
|
+
path: string;
|
135
|
+
formUrl: string | Record<string, any>;
|
136
|
+
isDialog: boolean;
|
137
|
+
formData: Record<string, any>;
|
138
|
+
isSubmit: boolean;
|
139
|
+
extraConfig: Record<string, any>;
|
140
|
+
isLoading: boolean;
|
141
|
+
minHeight: string | number;
|
142
|
+
dialogWait: boolean;
|
143
|
+
}, {}, string, {}> & {
|
144
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
145
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
146
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
147
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
148
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
149
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
150
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
151
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
152
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
153
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
154
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
155
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
156
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
157
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
158
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
159
|
+
};
|
160
|
+
$forceUpdate: () => void;
|
161
|
+
$nextTick: typeof import("vue").nextTick;
|
162
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
163
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
164
|
+
formData: {
|
165
|
+
type: ObjectConstructor;
|
166
|
+
default: null;
|
167
|
+
};
|
168
|
+
isSubmit: {
|
169
|
+
type: BooleanConstructor;
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
extraConfig: {
|
173
|
+
default: () => {};
|
174
|
+
type: ObjectConstructor;
|
175
|
+
};
|
176
|
+
path: {
|
177
|
+
default: string;
|
178
|
+
type: StringConstructor;
|
179
|
+
};
|
180
|
+
formUrl: {
|
181
|
+
default: string;
|
182
|
+
type: (ObjectConstructor | StringConstructor)[];
|
183
|
+
};
|
184
|
+
isLoading: {
|
185
|
+
default: boolean;
|
186
|
+
type: BooleanConstructor;
|
187
|
+
};
|
188
|
+
minHeight: {
|
189
|
+
default: string;
|
190
|
+
type: (StringConstructor | NumberConstructor)[];
|
191
|
+
};
|
192
|
+
isDialog: {
|
193
|
+
default: boolean;
|
194
|
+
type: BooleanConstructor;
|
195
|
+
};
|
196
|
+
dialogWait: {
|
197
|
+
default: boolean;
|
198
|
+
type: BooleanConstructor;
|
199
|
+
};
|
200
|
+
dialog: {
|
201
|
+
default: () => {};
|
202
|
+
type: ObjectConstructor;
|
203
|
+
};
|
204
|
+
}>> & {
|
205
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
206
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
207
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
208
|
+
} & import("vue").ShallowUnwrapRef<{
|
209
|
+
showDialog: import("vue").Ref<boolean>;
|
210
|
+
buttonLoading: import("vue").Ref<boolean>;
|
211
|
+
fApi: import("vue").Ref<any>;
|
212
|
+
value: import("vue").Ref<null>;
|
213
|
+
show: () => void;
|
214
|
+
checkForm: () => void;
|
215
|
+
onSubmit: (data: any) => void;
|
216
|
+
initFormData: (formUrl?: string | object | undefined) => void;
|
217
|
+
setFormData: (formData: any) => void;
|
218
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
219
|
+
__isFragment?: undefined;
|
220
|
+
__isTeleport?: undefined;
|
221
|
+
__isSuspense?: undefined;
|
222
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
223
|
+
formData: {
|
224
|
+
type: ObjectConstructor;
|
225
|
+
default: null;
|
226
|
+
};
|
227
|
+
isSubmit: {
|
228
|
+
type: BooleanConstructor;
|
229
|
+
default: boolean;
|
230
|
+
};
|
231
|
+
extraConfig: {
|
232
|
+
default: () => {};
|
233
|
+
type: ObjectConstructor;
|
234
|
+
};
|
235
|
+
path: {
|
236
|
+
default: string;
|
237
|
+
type: StringConstructor;
|
238
|
+
};
|
239
|
+
formUrl: {
|
240
|
+
default: string;
|
241
|
+
type: (ObjectConstructor | StringConstructor)[];
|
242
|
+
};
|
243
|
+
isLoading: {
|
244
|
+
default: boolean;
|
245
|
+
type: BooleanConstructor;
|
246
|
+
};
|
247
|
+
minHeight: {
|
248
|
+
default: string;
|
249
|
+
type: (StringConstructor | NumberConstructor)[];
|
250
|
+
};
|
251
|
+
isDialog: {
|
252
|
+
default: boolean;
|
253
|
+
type: BooleanConstructor;
|
254
|
+
};
|
255
|
+
dialogWait: {
|
256
|
+
default: boolean;
|
257
|
+
type: BooleanConstructor;
|
258
|
+
};
|
259
|
+
dialog: {
|
260
|
+
default: () => {};
|
261
|
+
type: ObjectConstructor;
|
262
|
+
};
|
263
|
+
}>> & {
|
264
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
265
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
266
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
267
|
+
}, {
|
268
|
+
showDialog: import("vue").Ref<boolean>;
|
269
|
+
buttonLoading: import("vue").Ref<boolean>;
|
270
|
+
fApi: import("vue").Ref<any>;
|
271
|
+
value: import("vue").Ref<null>;
|
272
|
+
show: () => void;
|
273
|
+
checkForm: () => void;
|
274
|
+
onSubmit: (data: any) => void;
|
275
|
+
initFormData: (formUrl?: string | object | undefined) => void;
|
276
|
+
setFormData: (formData: any) => void;
|
277
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue" | "fail")[], "submit" | "update:modelValue" | "fail", {
|
278
|
+
dialog: Record<string, any>;
|
279
|
+
path: string;
|
280
|
+
formUrl: string | Record<string, any>;
|
281
|
+
isDialog: boolean;
|
282
|
+
formData: Record<string, any>;
|
283
|
+
isSubmit: boolean;
|
284
|
+
extraConfig: Record<string, any>;
|
285
|
+
isLoading: boolean;
|
286
|
+
minHeight: string | number;
|
287
|
+
dialogWait: boolean;
|
288
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
289
|
+
$slots: {
|
290
|
+
buttons?(_: {}): any;
|
291
|
+
};
|
292
|
+
})>;
|
293
|
+
export default Form;
|
294
|
+
export * from './src/props';
|
@@ -0,0 +1,45 @@
|
|
1
|
+
declare const config: {
|
2
|
+
global: {
|
3
|
+
upload: {
|
4
|
+
props: {
|
5
|
+
onSuccess(res: any, file: any): void;
|
6
|
+
};
|
7
|
+
};
|
8
|
+
};
|
9
|
+
info: {
|
10
|
+
icon: string;
|
11
|
+
align: string;
|
12
|
+
};
|
13
|
+
form: {
|
14
|
+
inline: boolean;
|
15
|
+
labelPosition: string;
|
16
|
+
labelSuffix: undefined;
|
17
|
+
hideRequiredAsterisk: boolean;
|
18
|
+
labelWidth: string;
|
19
|
+
showMessage: boolean;
|
20
|
+
inlineMessage: boolean;
|
21
|
+
statusIcon: boolean;
|
22
|
+
validateOnRuleChange: boolean;
|
23
|
+
disabled: boolean;
|
24
|
+
size: string;
|
25
|
+
};
|
26
|
+
submitBtn: boolean;
|
27
|
+
resetBtn: {
|
28
|
+
type: string;
|
29
|
+
size: string;
|
30
|
+
plain: boolean;
|
31
|
+
round: boolean;
|
32
|
+
circle: boolean;
|
33
|
+
loading: boolean;
|
34
|
+
disabled: boolean;
|
35
|
+
icon: string;
|
36
|
+
width: undefined;
|
37
|
+
autofocus: boolean;
|
38
|
+
nativeType: string;
|
39
|
+
innerText: string;
|
40
|
+
show: boolean;
|
41
|
+
col: undefined;
|
42
|
+
click: undefined;
|
43
|
+
};
|
44
|
+
};
|
45
|
+
export default config;
|
@@ -0,0 +1,116 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
2
|
+
formData: {
|
3
|
+
type: ObjectConstructor;
|
4
|
+
default: null;
|
5
|
+
};
|
6
|
+
isSubmit: {
|
7
|
+
type: BooleanConstructor;
|
8
|
+
default: boolean;
|
9
|
+
};
|
10
|
+
extraConfig: {
|
11
|
+
default: () => {};
|
12
|
+
type: ObjectConstructor;
|
13
|
+
};
|
14
|
+
path: {
|
15
|
+
default: string;
|
16
|
+
type: StringConstructor;
|
17
|
+
};
|
18
|
+
formUrl: {
|
19
|
+
default: string;
|
20
|
+
type: (ObjectConstructor | StringConstructor)[];
|
21
|
+
};
|
22
|
+
isLoading: {
|
23
|
+
default: boolean;
|
24
|
+
type: BooleanConstructor;
|
25
|
+
};
|
26
|
+
minHeight: {
|
27
|
+
default: string;
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
29
|
+
};
|
30
|
+
isDialog: {
|
31
|
+
default: boolean;
|
32
|
+
type: BooleanConstructor;
|
33
|
+
};
|
34
|
+
dialogWait: {
|
35
|
+
default: boolean;
|
36
|
+
type: BooleanConstructor;
|
37
|
+
};
|
38
|
+
dialog: {
|
39
|
+
default: () => {};
|
40
|
+
type: ObjectConstructor;
|
41
|
+
};
|
42
|
+
}, {
|
43
|
+
showDialog: import("vue").Ref<boolean>;
|
44
|
+
buttonLoading: import("vue").Ref<boolean>;
|
45
|
+
fApi: import("vue").Ref<any>;
|
46
|
+
value: import("vue").Ref<null>;
|
47
|
+
show: () => void;
|
48
|
+
checkForm: () => void;
|
49
|
+
onSubmit: (data: any) => void;
|
50
|
+
initFormData: (formUrl?: string | object | undefined) => void;
|
51
|
+
setFormData: (formData: any) => void;
|
52
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue" | "fail")[], "submit" | "update:modelValue" | "fail", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
53
|
+
formData: {
|
54
|
+
type: ObjectConstructor;
|
55
|
+
default: null;
|
56
|
+
};
|
57
|
+
isSubmit: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: boolean;
|
60
|
+
};
|
61
|
+
extraConfig: {
|
62
|
+
default: () => {};
|
63
|
+
type: ObjectConstructor;
|
64
|
+
};
|
65
|
+
path: {
|
66
|
+
default: string;
|
67
|
+
type: StringConstructor;
|
68
|
+
};
|
69
|
+
formUrl: {
|
70
|
+
default: string;
|
71
|
+
type: (ObjectConstructor | StringConstructor)[];
|
72
|
+
};
|
73
|
+
isLoading: {
|
74
|
+
default: boolean;
|
75
|
+
type: BooleanConstructor;
|
76
|
+
};
|
77
|
+
minHeight: {
|
78
|
+
default: string;
|
79
|
+
type: (StringConstructor | NumberConstructor)[];
|
80
|
+
};
|
81
|
+
isDialog: {
|
82
|
+
default: boolean;
|
83
|
+
type: BooleanConstructor;
|
84
|
+
};
|
85
|
+
dialogWait: {
|
86
|
+
default: boolean;
|
87
|
+
type: BooleanConstructor;
|
88
|
+
};
|
89
|
+
dialog: {
|
90
|
+
default: () => {};
|
91
|
+
type: ObjectConstructor;
|
92
|
+
};
|
93
|
+
}>> & {
|
94
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
95
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
96
|
+
onFail?: ((...args: any[]) => any) | undefined;
|
97
|
+
}, {
|
98
|
+
dialog: Record<string, any>;
|
99
|
+
path: string;
|
100
|
+
formUrl: string | Record<string, any>;
|
101
|
+
isDialog: boolean;
|
102
|
+
formData: Record<string, any>;
|
103
|
+
isSubmit: boolean;
|
104
|
+
extraConfig: Record<string, any>;
|
105
|
+
isLoading: boolean;
|
106
|
+
minHeight: string | number;
|
107
|
+
dialogWait: boolean;
|
108
|
+
}, {}>, {
|
109
|
+
buttons?(_: {}): any;
|
110
|
+
}>;
|
111
|
+
export default _default;
|
112
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
113
|
+
new (): {
|
114
|
+
$slots: S;
|
115
|
+
};
|
116
|
+
};
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
2
|
+
export declare const formProps: {
|
3
|
+
formData: {
|
4
|
+
type: ObjectConstructor;
|
5
|
+
default: null;
|
6
|
+
};
|
7
|
+
isSubmit: {
|
8
|
+
type: BooleanConstructor;
|
9
|
+
default: boolean;
|
10
|
+
};
|
11
|
+
extraConfig: {
|
12
|
+
default: () => {};
|
13
|
+
type: ObjectConstructor;
|
14
|
+
};
|
15
|
+
path: {
|
16
|
+
default: string;
|
17
|
+
type: StringConstructor;
|
18
|
+
};
|
19
|
+
formUrl: {
|
20
|
+
default: string;
|
21
|
+
type: (ObjectConstructor | StringConstructor)[];
|
22
|
+
};
|
23
|
+
isLoading: {
|
24
|
+
default: boolean;
|
25
|
+
type: BooleanConstructor;
|
26
|
+
};
|
27
|
+
minHeight: {
|
28
|
+
default: string;
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
30
|
+
};
|
31
|
+
isDialog: {
|
32
|
+
default: boolean;
|
33
|
+
type: BooleanConstructor;
|
34
|
+
};
|
35
|
+
dialogWait: {
|
36
|
+
default: boolean;
|
37
|
+
type: BooleanConstructor;
|
38
|
+
};
|
39
|
+
dialog: {
|
40
|
+
default: () => {};
|
41
|
+
type: ObjectConstructor;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
export type FormProps = ExtractPropTypes<typeof formProps>;
|