@vipl520/dk-ui 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +3936 -3149
- package/dist/index.min.js +7 -7
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +7 -7
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +3932 -3147
- package/dist/tags.json +7 -0
- package/dist/web-types.json +35 -1
- package/es/attachment/src/attachment.vue.mjs +1 -1
- package/es/attachment/src/file-icon.vue.mjs +1 -1
- package/es/attachment-dialog/src/attachment-dialog.vue.mjs +1 -1
- package/es/audio-input/src/audio-input.vue.mjs +1 -1
- package/es/audio-list-input/src/audio-list-input.vue.mjs +1 -1
- package/es/box-size-input/src/box-size-input.vue.mjs +1 -1
- package/es/color-input/src/color-input.vue.mjs +1 -1
- package/es/dialog/src/dialog.vue.mjs +1 -1
- package/es/file-input/src/file-input.vue.mjs +1 -1
- package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
- package/es/file-list-input/style/index.scss +1 -1
- package/es/form/src/form.vue.mjs +1 -1
- package/es/form/style/index.css +1 -1
- package/es/form/style/index.scss +3 -3
- package/es/group/src/group.vue.mjs +1 -1
- package/es/hot-area-input/index.d.ts +15 -0
- package/es/hot-area-input/index.mjs +8 -0
- package/es/hot-area-input/index.mjs.map +1 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
- package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
- package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
- package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
- package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
- package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
- package/es/hot-area-input/src/props.d.ts +8 -0
- package/es/hot-area-input/src/props.mjs +11 -0
- package/es/hot-area-input/src/props.mjs.map +1 -0
- package/es/hot-area-input/style/index.css +1 -0
- package/es/hot-area-input/style/index.scss +40 -0
- package/es/icon/src/icon.vue.mjs +1 -1
- package/es/icon-input/src/icon-content.vue.mjs +1 -1
- package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
- package/es/icon-input/src/icon-input.vue.mjs +1 -1
- package/es/image-input/src/image-input.vue.mjs +1 -1
- package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +5 -1
- package/es/index.mjs.map +1 -1
- package/es/index.scss +1 -62
- package/es/page-diy/index.d.ts +59 -23
- package/es/page-diy/index.mjs +0 -4
- package/es/page-diy/index.mjs.map +1 -1
- package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkPage.mjs +0 -49
- package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
- package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
- package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
- package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
- package/es/page-diy/src/config/rule/min/index.mjs +17 -0
- package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
- package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
- package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
- package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
- package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
- package/es/page-diy/src/page-diy.vue.d.ts +59 -23
- package/es/page-diy/src/page-diy.vue.mjs +53 -187
- package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
- package/es/page-diy/src/props.d.ts +21 -4
- package/es/page-diy/src/props.mjs +28 -6
- package/es/page-diy/src/props.mjs.map +1 -1
- package/es/page-diy/src/utils/help.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
- package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
- package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +126 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
- package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
- package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/index.mjs +18 -0
- package/es/page-diy/src/views/min/index.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
- package/es/page-diy/src/views/web/index.mjs.map +1 -0
- package/es/page-diy/style/drag-tool.css +1 -1
- package/es/page-diy/style/drag-tool.scss +2 -2
- package/es/page-diy/style/index.css +1 -1
- package/es/page-diy/style/index.scss +1 -0
- package/es/page-diy/style/minViews/index.scss +26 -0
- package/es/page-diy/style/preview-phone.css +1 -1
- package/es/page-diy/style/preview-phone.scss +36 -2
- package/es/poster-input/src/component/poster.vue.mjs +1 -1
- package/es/poster-input/src/component/poster.vue2.mjs +13 -13
- package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
- package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
- package/es/poster-input/src/poster-input.vue.mjs +1 -1
- package/es/select/src/select.vue.mjs +1 -1
- package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
- package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
- package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
- package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
- package/es/style-input/src/style-input.vue.mjs +1 -1
- package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
- package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
- package/es/table/src/components/ComSearch.vue.mjs +1 -1
- package/es/table/src/components/FieldRender.vue.mjs +1 -1
- package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
- package/es/table/src/components/header.vue.mjs +1 -1
- package/es/table/src/table.vue.mjs +1 -1
- package/es/test/src/test.vue.mjs +1 -1
- package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
- package/es/video-input/src/video-input.vue.mjs +1 -1
- package/es/video-list-input/src/video-list-input.vue.mjs +1 -1
- package/lib/attachment/src/attachment.vue.js +1 -1
- package/lib/attachment/src/file-icon.vue.js +1 -1
- package/lib/attachment-dialog/src/attachment-dialog.vue.js +1 -1
- package/lib/audio-input/src/audio-input.vue.js +1 -1
- package/lib/audio-list-input/src/audio-list-input.vue.js +1 -1
- package/lib/box-size-input/src/box-size-input.vue.js +1 -1
- package/lib/color-input/src/color-input.vue.js +1 -1
- package/lib/dialog/src/dialog.vue.js +1 -1
- package/lib/file-input/src/file-input.vue.js +1 -1
- package/lib/file-list-input/src/file-list-input.vue.js +1 -1
- package/lib/file-list-input/style/index.scss +1 -1
- package/lib/form/src/form.vue.js +1 -1
- package/lib/form/style/index.css +1 -1
- package/lib/form/style/index.scss +3 -3
- package/lib/group/src/group.vue.js +1 -1
- package/lib/hot-area-input/index.d.ts +15 -0
- package/lib/hot-area-input/index.js +14 -0
- package/lib/hot-area-input/index.js.map +1 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
- package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
- package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
- package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
- package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
- package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
- package/lib/hot-area-input/src/props.d.ts +8 -0
- package/lib/hot-area-input/src/props.js +13 -0
- package/lib/hot-area-input/src/props.js.map +1 -0
- package/lib/hot-area-input/style/index.css +1 -0
- package/lib/hot-area-input/style/index.scss +40 -0
- package/lib/icon/src/icon.vue.js +1 -1
- package/lib/icon-input/src/icon-content.vue.js +1 -1
- package/lib/icon-input/src/icon-dialog.vue.js +1 -1
- package/lib/icon-input/src/icon-input.vue.js +1 -1
- package/lib/image-input/src/image-input.vue.js +1 -1
- package/lib/image-list-input/src/image-list-input.vue.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +148 -142
- package/lib/index.js.map +1 -1
- package/lib/index.scss +1 -62
- package/lib/page-diy/index.d.ts +59 -23
- package/lib/page-diy/index.js +0 -4
- package/lib/page-diy/index.js.map +1 -1
- package/lib/page-diy/src/components/DragBox.vue.js +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
- package/lib/page-diy/src/config/base/dkPage.js +0 -49
- package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
- package/lib/page-diy/src/config/base/dkSetting.js +0 -190
- package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
- package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
- package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
- package/lib/page-diy/src/config/rule/min/index.js +20 -0
- package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
- package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
- package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
- package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
- package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
- package/lib/page-diy/src/page-diy.vue.d.ts +59 -23
- package/lib/page-diy/src/page-diy.vue.js +61 -195
- package/lib/page-diy/src/page-diy.vue.js.map +1 -1
- package/lib/page-diy/src/props.d.ts +21 -4
- package/lib/page-diy/src/props.js +28 -6
- package/lib/page-diy/src/props.js.map +1 -1
- package/lib/page-diy/src/utils/help.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
- package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
- package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +130 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/index.d.ts +2 -0
- package/lib/page-diy/src/views/min/index.js +22 -0
- package/lib/page-diy/src/views/min/index.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
- package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
- package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/index.d.ts +2 -0
- package/lib/page-diy/src/views/web/index.js.map +1 -0
- package/lib/page-diy/style/drag-tool.css +1 -1
- package/lib/page-diy/style/drag-tool.scss +2 -2
- package/lib/page-diy/style/index.css +1 -1
- package/lib/page-diy/style/index.scss +1 -0
- package/lib/page-diy/style/minViews/index.scss +26 -0
- package/lib/page-diy/style/preview-phone.css +1 -1
- package/lib/page-diy/style/preview-phone.scss +36 -2
- package/lib/poster-input/src/component/poster.vue.js +1 -1
- package/lib/poster-input/src/component/poster.vue2.js +13 -13
- package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
- package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
- package/lib/poster-input/src/poster-input.vue.js +1 -1
- package/lib/select/src/select.vue.js +1 -1
- package/lib/style-background-input/src/style-background-input.vue.js +1 -1
- package/lib/style-border-input/src/style-border-input.vue.js +1 -1
- package/lib/style-box-input/src/style-box-input.vue.js +1 -1
- package/lib/style-font-input/src/style-font-input.vue.js +1 -1
- package/lib/style-input/src/style-input.vue.js +1 -1
- package/lib/style-number-input/src/style-number-input.vue.js +1 -1
- package/lib/style-position-input/src/style-position-input.vue.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
- package/lib/table/src/components/ComSearch.vue.js +1 -1
- package/lib/table/src/components/FieldRender.vue.js +1 -1
- package/lib/table/src/components/RecycleDialog.vue.js +1 -1
- package/lib/table/src/components/header.vue.js +1 -1
- package/lib/table/src/table.vue.js +1 -1
- package/lib/test/src/test.vue.js +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
- package/lib/video-input/src/video-input.vue.js +1 -1
- package/lib/video-list-input/src/video-list-input.vue.js +1 -1
- package/package.json +1 -1
- package/es/page-diy/src/config/rule/common/DkPosterBtn.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewBulletChat.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewCell.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewCommonBtn.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewDialog.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewGridCellList.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewImage.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewMusic.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewNavBar.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewNoticeBar.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewSwipe.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewTabbar.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewTextarea.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/DkViewVideo.mjs.map +0 -1
- package/es/page-diy/src/config/rule/common/index.mjs.map +0 -1
- package/es/page-diy/src/config/rule/index.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/DkViewTitle.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/col.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/divider.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/index.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/row.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/space.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/swip-item.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/swipe.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/tab.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/tabs.mjs.map +0 -1
- package/es/page-diy/src/config/rule/layout/vanEmpty.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewBulletChat.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewCell.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewCommonBtn.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewDialog.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewGridCellList.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewImage.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewMusic.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewNavBar.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewNoticeBar.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewSwipe.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewTabbar.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewTextarea.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewTitle.vue.mjs.map +0 -1
- package/es/page-diy/src/views/DkViewVideo.vue.mjs.map +0 -1
- package/es/page-diy/src/views/index.mjs.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkPosterBtn.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewBulletChat.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewCell.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewCommonBtn.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewDialog.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewGridCellList.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewImage.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewMusic.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewNavBar.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewNoticeBar.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewSwipe.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewTabbar.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewTextarea.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/DkViewVideo.js.map +0 -1
- package/lib/page-diy/src/config/rule/common/index.js.map +0 -1
- package/lib/page-diy/src/config/rule/index.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/DkViewTitle.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/col.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/divider.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/index.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/row.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/space.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/swip-item.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/swipe.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/tab.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/tabs.js.map +0 -1
- package/lib/page-diy/src/config/rule/layout/vanEmpty.js.map +0 -1
- package/lib/page-diy/src/views/DkViewBulletChat.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewCell.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewCommonBtn.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewDialog.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewGridCellList.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewImage.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewMusic.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewNavBar.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewNoticeBar.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewSwipe.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewTabbar.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewTextarea.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewTitle.vue.js.map +0 -1
- package/lib/page-diy/src/views/DkViewVideo.vue.js.map +0 -1
- package/lib/page-diy/src/views/index.js.map +0 -1
- package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewCell.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewDialog.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewImage.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewMusic.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.mjs +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
- package/es/page-diy/src/config/rule/{common → web/common}/index.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/col.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/divider.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/index.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/row.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/space.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/swip-item.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/swipe.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/tab.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/tabs.mjs +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
- package/es/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.mjs +0 -0
- package/es/page-diy/src/views/{DkViewTextarea.vue.d.ts → min/DkMinTextarea.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewVideo.vue.d.ts → min/DkMinVideo.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{index.d.ts → min/index.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
- package/es/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
- package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewTextarea.vue.d.ts +0 -0
- package/es/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
- package/{lib/page-diy/src/views → es/page-diy/src/views/web}/DkViewVideo.vue.d.ts +0 -0
- package/{lib/page-diy/src/views → es/page-diy/src/views/web}/index.d.ts +0 -0
- package/es/page-diy/src/views/{index.mjs → web/index.mjs} +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewBulletChat.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCell.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewCommonBtn.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewDialog.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewGridCellList.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewImage.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewMusic.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNavBar.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewNoticeBar.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewSwipe.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTabbar.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewTextarea.js +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/index.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/index.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/DkViewTitle.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/col.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/col.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/divider.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/index.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/index.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/row.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/row.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/space.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/space.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/swip-item.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/swipe.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/tab.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/tabs.js +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.d.ts +0 -0
- package/lib/page-diy/src/config/rule/{layout → web/layout}/vanEmpty.js +0 -0
- package/lib/page-diy/src/views/{DkViewBulletChat.vue.d.ts → web/DkViewBulletChat.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewCell.vue.d.ts → web/DkViewCell.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewCommonBtn.vue.d.ts → web/DkViewCommonBtn.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewDialog.vue.d.ts → web/DkViewDialog.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewGridCellList.vue.d.ts → web/DkViewGridCellList.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewImage.vue.d.ts → web/DkViewImage.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewMusic.vue.d.ts → web/DkViewMusic.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewNavBar.vue.d.ts → web/DkViewNavBar.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewNoticeBar.vue.d.ts → web/DkViewNoticeBar.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewSwipe.vue.d.ts → web/DkViewSwipe.vue.d.ts} +0 -0
- package/lib/page-diy/src/views/{DkViewTabbar.vue.d.ts → web/DkViewTabbar.vue.d.ts} +1 -1
- /package/lib/page-diy/src/views/{DkViewTitle.vue.d.ts → web/DkViewTitle.vue.d.ts} +0 -0
- /package/lib/page-diy/src/views/{index.js → web/index.js} +0 -0
@@ -7,12 +7,16 @@ var is = require('@form-create/utils/lib/type');
|
|
7
7
|
var tocase = require('@form-create/utils/lib/tocase');
|
8
8
|
var draggable = require('vuedraggable/src/vuedraggable');
|
9
9
|
var PreviewPhone = require('./components/PreviewPhone.vue.js');
|
10
|
-
var index = require('./config/rule/index.js');
|
10
|
+
var index = require('./config/rule/web/index.js');
|
11
|
+
var index$1 = require('./config/rule/min/index.js');
|
11
12
|
require('./utils/index.js');
|
12
13
|
var vue = require('vue');
|
13
14
|
require('./config/base/index.js');
|
14
15
|
var utils = require('@vipl520/utils');
|
15
16
|
var elementPlus = require('element-plus');
|
17
|
+
var props = require('./props.js');
|
18
|
+
var index$3 = require('./views/min/index.js');
|
19
|
+
var index$2 = require('./views/web/index.js');
|
16
20
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
17
21
|
var form = require('./utils/form.js');
|
18
22
|
var dkSetting = require('./config/base/dkSetting.js');
|
@@ -41,7 +45,7 @@ const _sfc_main = vue.defineComponent({
|
|
41
45
|
PreviewPhone: PreviewPhone.default,
|
42
46
|
DragForm: form.designerForm.$form(),
|
43
47
|
},
|
44
|
-
props:
|
48
|
+
props: props.pageDiyProps,
|
45
49
|
setup(props) {
|
46
50
|
const { menu, height, mask, locale } = vue.toRefs(props);
|
47
51
|
const vm = vue.getCurrentInstance();
|
@@ -49,6 +53,20 @@ const _sfc_main = vue.defineComponent({
|
|
49
53
|
vue.provide('fcx', fcx);
|
50
54
|
vue.provide('diy', vm);
|
51
55
|
const config = vue.toRef(props, 'config', {});
|
56
|
+
// 区别小程序和网页
|
57
|
+
const ruleList = props.type === 'web' ? index.webRuleList : index$1.minRuleList;
|
58
|
+
const createMenu = props.type === 'web' ? index.createWebMenu : index$1.createMinMenu;
|
59
|
+
// 导入不同的view
|
60
|
+
if (props.type === 'web') {
|
61
|
+
for (const name in index$2.default) {
|
62
|
+
form.designerForm.component(name, index$2.default[name]);
|
63
|
+
}
|
64
|
+
} else {
|
65
|
+
for (const name in index$3.default) {
|
66
|
+
form.designerForm.component(name, index$3.default[name]);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
52
70
|
const getRuleItems = (item) => {
|
53
71
|
const gl = ['DragTool', 'DragBox'];
|
54
72
|
const items = [];
|
@@ -105,32 +123,6 @@ const _sfc_main = vue.defineComponent({
|
|
105
123
|
}
|
106
124
|
return obj
|
107
125
|
});
|
108
|
-
// let _t = globalT
|
109
|
-
// if (locale.value) {
|
110
|
-
// _t = useLocale(locale).t
|
111
|
-
// }
|
112
|
-
// const t = (...args) => _t(...args)
|
113
|
-
// const tidyRuleConfig = (orgRule, configRule, ...args) => {
|
114
|
-
// console.log('tidyRuleConfig', orgRule, configRule, ...args)
|
115
|
-
// if (configRule) {
|
116
|
-
// if (is.Function(configRule)) {
|
117
|
-
// console.log('isfun')
|
118
|
-
// return configRule(...args)
|
119
|
-
// }
|
120
|
-
// if (configRule.rule) {
|
121
|
-
// console.log('isrule')
|
122
|
-
// let rule = configRule.rule(...args)
|
123
|
-
// if (configRule.append) {
|
124
|
-
// console.log('isappend')
|
125
|
-
// rule = [...rule, ...orgRule(...args)]
|
126
|
-
// }
|
127
|
-
// return rule
|
128
|
-
// }
|
129
|
-
// }
|
130
|
-
// console.log('isorg')
|
131
|
-
// return orgRule(...args)
|
132
|
-
// }
|
133
|
-
|
134
126
|
const data = vue.reactive({
|
135
127
|
cacheProps: {},
|
136
128
|
moveRule: null,
|
@@ -139,7 +131,7 @@ const _sfc_main = vue.defineComponent({
|
|
139
131
|
activeTab: 'page',
|
140
132
|
activeRule: null,
|
141
133
|
children: vue.ref([]),
|
142
|
-
menuList: menu.value ||
|
134
|
+
menuList: menu.value || createMenu(),
|
143
135
|
showBaseRule: false,
|
144
136
|
showDkSettingRule: false,
|
145
137
|
visible: {
|
@@ -240,6 +232,7 @@ const _sfc_main = vue.defineComponent({
|
|
240
232
|
treeData: [],
|
241
233
|
},
|
242
234
|
});
|
235
|
+
|
243
236
|
function cleanTreeData(node) {
|
244
237
|
if (Array.isArray(node)) {
|
245
238
|
// 遍历数组中的每个元素
|
@@ -248,9 +241,7 @@ const _sfc_main = vue.defineComponent({
|
|
248
241
|
// 处理对象节点
|
249
242
|
if (Array.isArray(node.children)) {
|
250
243
|
// 只保留 children 数组中的对象类型元素
|
251
|
-
node.children = node.children.filter(
|
252
|
-
(child) => typeof child === 'object' && child !== null
|
253
|
-
);
|
244
|
+
node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
|
254
245
|
// 递归处理每个子节点
|
255
246
|
node.children = cleanTreeData(node.children);
|
256
247
|
}
|
@@ -263,10 +254,7 @@ const _sfc_main = vue.defineComponent({
|
|
263
254
|
vue.watch(
|
264
255
|
() => data.dragForm,
|
265
256
|
() => {
|
266
|
-
data.treeAside.treeData = methods.parseRule(
|
267
|
-
deepextend.deepCopy(data.dragForm.api.rule[0].children),
|
268
|
-
true
|
269
|
-
);
|
257
|
+
data.treeAside.treeData = methods.parseRule(deepextend.deepCopy(data.dragForm.api.rule[0].children), true);
|
270
258
|
data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
|
271
259
|
},
|
272
260
|
{
|
@@ -286,32 +274,6 @@ const _sfc_main = vue.defineComponent({
|
|
286
274
|
|
287
275
|
let unWatchActiveRule = null;
|
288
276
|
|
289
|
-
// watch(
|
290
|
-
// () => locale.value,
|
291
|
-
// (n) => {
|
292
|
-
// _t = n ? useLocale(locale).t : globalT
|
293
|
-
// const baseFormVal =
|
294
|
-
// data.baseForm.api.formData && data.baseForm.api.formData()
|
295
|
-
// data.baseForm.rule = tidyRuleConfig(field, baseRule.value, { t })
|
296
|
-
// data.cacheProps = {}
|
297
|
-
// const rule = data.activeRule
|
298
|
-
// let propsVal = null
|
299
|
-
// if (rule) {
|
300
|
-
// propsVal =
|
301
|
-
// data.propsForm.api.formData && data.propsForm.api.formData()
|
302
|
-
// data.propsForm.rule = data.cacheProps[rule._id] = tidyRuleConfig(
|
303
|
-
// rule.config.config.props,
|
304
|
-
// componentRule.value && componentRule.value[rule.config.config.name],
|
305
|
-
// rule,
|
306
|
-
// { t, api: data.dragForm.api }
|
307
|
-
// )
|
308
|
-
// }
|
309
|
-
// nextTick(() => {
|
310
|
-
// baseFormVal && data.baseForm.api.setValue(baseFormVal)
|
311
|
-
// propsVal && data.propsForm.api.setValue(propsVal)
|
312
|
-
// })
|
313
|
-
// }
|
314
|
-
// )
|
315
277
|
const methods = {
|
316
278
|
// 清除所有配置项
|
317
279
|
clear(type = 'all') {
|
@@ -406,10 +368,10 @@ const _sfc_main = vue.defineComponent({
|
|
406
368
|
addComponent(component) {
|
407
369
|
if (Array.isArray(component)) {
|
408
370
|
component.forEach((v) => {
|
409
|
-
|
371
|
+
ruleList[v.name] = v;
|
410
372
|
});
|
411
373
|
} else {
|
412
|
-
|
374
|
+
ruleList[component.name] = component;
|
413
375
|
}
|
414
376
|
},
|
415
377
|
getParent(rule) {
|
@@ -488,38 +450,11 @@ const _sfc_main = vue.defineComponent({
|
|
488
450
|
rules = [];
|
489
451
|
}
|
490
452
|
data.children = methods.makeChildren(
|
491
|
-
methods.loadRule(
|
492
|
-
is.String(rules) ? form.designerForm.parseJson(rules) : deepextend.deepCopy(rules)
|
493
|
-
)
|
453
|
+
methods.loadRule(is.String(rules) ? form.designerForm.parseJson(rules) : deepextend.deepCopy(rules))
|
494
454
|
);
|
495
455
|
methods.clearActiveRule();
|
496
456
|
data.dragForm.rule = methods.makeDragRule(data.children);
|
497
457
|
},
|
498
|
-
// setBaseRuleConfig(rule, append) {
|
499
|
-
// baseRule.value = { rule, append }
|
500
|
-
// data.baseForm.rule = field()
|
501
|
-
// },
|
502
|
-
// setComponentRuleConfig(name, rule, append) {
|
503
|
-
// // TODO未使用,不知道干啥的
|
504
|
-
// componentRule.value[name] = { rule, append }
|
505
|
-
// data.cacheProps = {}
|
506
|
-
// const activeRule = data.activeRule
|
507
|
-
// if (activeRule) {
|
508
|
-
// const propsVal =
|
509
|
-
// data.propsForm.api.formData && data.propsForm.api.formData()
|
510
|
-
// data.propsForm.rule = data.cacheProps[activeRule._id] =
|
511
|
-
// tidyRuleConfig(
|
512
|
-
// activeRule.config.config.props,
|
513
|
-
// componentRule.value &&
|
514
|
-
// componentRule.value[activeRule.config.config.name],
|
515
|
-
// activeRule,
|
516
|
-
// { t, api: data.dragForm.api }
|
517
|
-
// )
|
518
|
-
// nextTick(() => {
|
519
|
-
// propsVal && data.propsForm.api.setValue(propsVal)
|
520
|
-
// })
|
521
|
-
// }
|
522
|
-
// },
|
523
458
|
clearActiveRule() {
|
524
459
|
data.activeRule = null;
|
525
460
|
data.activeTab = 'page';
|
@@ -530,7 +465,7 @@ const _sfc_main = vue.defineComponent({
|
|
530
465
|
if (is.String(rule)) {
|
531
466
|
return loadRule.push(rule)
|
532
467
|
}
|
533
|
-
const config =
|
468
|
+
const config = ruleList[rule._fc_drag_tag] || ruleList[rule.type];
|
534
469
|
const _children = rule.children;
|
535
470
|
rule.children = [];
|
536
471
|
if (rule.control) {
|
@@ -634,15 +569,9 @@ const _sfc_main = vue.defineComponent({
|
|
634
569
|
field = tocase.lower(field);
|
635
570
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
636
571
|
delete data.activeRule.effect[field.split('>')[1]];
|
637
|
-
} else if (
|
638
|
-
field.indexOf('props') === 0 &&
|
639
|
-
field.indexOf('>') > -1
|
640
|
-
) {
|
572
|
+
} else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
|
641
573
|
delete data.activeRule.props[field.split('>')[1]];
|
642
|
-
} else if (
|
643
|
-
field.indexOf('attrs') === 0 &&
|
644
|
-
field.indexOf('>') > -1
|
645
|
-
) {
|
574
|
+
} else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
|
646
575
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
647
576
|
} else if (field === 'child') {
|
648
577
|
delete data.activeRule.children[0];
|
@@ -671,15 +600,9 @@ const _sfc_main = vue.defineComponent({
|
|
671
600
|
field = tocase.lower(field);
|
672
601
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
673
602
|
data.activeRule.effect[field.split('>')[1]] = value;
|
674
|
-
} else if (
|
675
|
-
field.indexOf('props') === 0 &&
|
676
|
-
field.indexOf('>') > -1
|
677
|
-
) {
|
603
|
+
} else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
|
678
604
|
data.activeRule.props[field.split('>')[1]] = value;
|
679
|
-
} else if (
|
680
|
-
field.indexOf('attrs') === 0 &&
|
681
|
-
field.indexOf('>') > -1
|
682
|
-
) {
|
605
|
+
} else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
|
683
606
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
684
607
|
} else if (field === 'child') {
|
685
608
|
data.activeRule.children[0] = value;
|
@@ -791,25 +714,15 @@ const _sfc_main = vue.defineComponent({
|
|
791
714
|
;['props', 'effect', 'attrs'].forEach((name) => {
|
792
715
|
rule[name] &&
|
793
716
|
Object.keys(rule[name]).forEach((k) => {
|
794
|
-
formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(
|
795
|
-
rule[name][k]
|
796
|
-
);
|
717
|
+
formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(rule[name][k]);
|
797
718
|
});
|
798
719
|
});
|
799
720
|
// console.log('formData', formData)
|
800
721
|
data.propsForm.value = formData;
|
801
722
|
|
802
723
|
data.showBaseRule =
|
803
|
-
is.hasProperty(rule, 'field') &&
|
804
|
-
rule.input !== false &&
|
805
|
-
(!config.value || config.value.showBaseForm !== false);
|
724
|
+
is.hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
|
806
725
|
if (data.showBaseRule) {
|
807
|
-
// data.baseForm.value = {
|
808
|
-
// field: rule.field,
|
809
|
-
// title: rule.title || '',
|
810
|
-
// info: rule.info,
|
811
|
-
// _control: rule._control,
|
812
|
-
// }
|
813
726
|
data.dragForm.api.refreshValidate();
|
814
727
|
}
|
815
728
|
},
|
@@ -832,12 +745,10 @@ const _sfc_main = vue.defineComponent({
|
|
832
745
|
children.splice(newIndex, 0, rule[0]);
|
833
746
|
}
|
834
747
|
} else {
|
835
|
-
const rule = methods.makeRule(
|
748
|
+
const rule = methods.makeRule(ruleList[menu.name]);
|
836
749
|
const config = rule.children[0].config.config;
|
837
750
|
const count = config.count ? config.count : 99;
|
838
|
-
const _count = countObj.value[config.name]
|
839
|
-
? countObj.value[config.name]
|
840
|
-
: 0;
|
751
|
+
const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
|
841
752
|
if (_count >= count) {
|
842
753
|
elementPlus.ElNotification({
|
843
754
|
title: '警告',
|
@@ -851,10 +762,7 @@ const _sfc_main = vue.defineComponent({
|
|
851
762
|
data.added = true;
|
852
763
|
},
|
853
764
|
dragEnd(children, { newIndex, oldIndex }) {
|
854
|
-
if (
|
855
|
-
!data.added &&
|
856
|
-
!(data.moveRule === children && newIndex === oldIndex)
|
857
|
-
) {
|
765
|
+
if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
|
858
766
|
const rule = data.moveRule.splice(oldIndex, 1);
|
859
767
|
children.splice(newIndex, 0, rule[0]);
|
860
768
|
}
|
@@ -876,35 +784,22 @@ const _sfc_main = vue.defineComponent({
|
|
876
784
|
let drag;
|
877
785
|
if (config.drag) {
|
878
786
|
rule.children.push(
|
879
|
-
(drag = methods.makeDrag(
|
880
|
-
|
881
|
-
|
882
|
-
methods.
|
883
|
-
|
884
|
-
|
885
|
-
methods.dragEnd(inject.self.children, evt),
|
886
|
-
add: (inject, evt) =>
|
887
|
-
methods.dragAdd(inject.self.children, evt),
|
888
|
-
start: (inject, evt) =>
|
889
|
-
methods.dragStart(inject.self.children, evt),
|
890
|
-
unchoose: (inject, evt) =>
|
891
|
-
methods.dragUnchoose(inject.self.children, evt),
|
892
|
-
}
|
893
|
-
))
|
787
|
+
(drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
|
788
|
+
end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
|
789
|
+
add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
|
790
|
+
start: (inject, evt) => methods.dragStart(inject.self.children, evt),
|
791
|
+
unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
|
792
|
+
}))
|
894
793
|
);
|
895
794
|
}
|
896
|
-
|
897
795
|
if (config.children && !_rule) {
|
898
796
|
for (let i = 0; i < (config.childrenLen || 1); i++) {
|
899
|
-
const child = methods.makeRule(
|
797
|
+
const child = methods.makeRule(ruleList[config.children])
|
900
798
|
;(drag || rule).children.push(child);
|
901
799
|
}
|
902
800
|
}
|
903
801
|
|
904
|
-
const dragMask =
|
905
|
-
mask.value !== undefined
|
906
|
-
? mask.value !== false
|
907
|
-
: config.mask !== false;
|
802
|
+
const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
|
908
803
|
if (config.inside) {
|
909
804
|
rule.children = methods.makeChildren([
|
910
805
|
{
|
@@ -938,12 +833,11 @@ const _sfc_main = vue.defineComponent({
|
|
938
833
|
addChild: ({ self }) => {
|
939
834
|
const top = methods.getParent(self);
|
940
835
|
const config = top.parent.config.config;
|
941
|
-
const item =
|
836
|
+
const item = ruleList[config.children];
|
942
837
|
if (!item) return
|
943
|
-
;(!config.drag
|
944
|
-
|
945
|
-
|
946
|
-
).children[0].children.push(methods.makeRule(item));
|
838
|
+
;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
|
839
|
+
methods.makeRule(item)
|
840
|
+
);
|
947
841
|
},
|
948
842
|
copy: ({ self }) => {
|
949
843
|
const top = methods.getParent(self);
|
@@ -994,12 +888,9 @@ const _sfc_main = vue.defineComponent({
|
|
994
888
|
},
|
995
889
|
addChild: ({ self }) => {
|
996
890
|
const config = self.children[0].config.config;
|
997
|
-
const item =
|
891
|
+
const item = ruleList[config.children];
|
998
892
|
if (!item) return
|
999
|
-
;(!config.drag
|
1000
|
-
? self
|
1001
|
-
: self.children[0]
|
1002
|
-
).children[0].children.push(methods.makeRule(item));
|
893
|
+
;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
|
1003
894
|
},
|
1004
895
|
copy: ({ self }) => {
|
1005
896
|
vm.emit('copy', self.children[0]);
|
@@ -1007,11 +898,7 @@ const _sfc_main = vue.defineComponent({
|
|
1007
898
|
const copyRule = form.designerForm.copyRule(top.parent);
|
1008
899
|
// 解决复制后,组件的setting配置失效
|
1009
900
|
copyRule.props.setting = copyRule.children[0].setting;
|
1010
|
-
top.root.children.splice(
|
1011
|
-
top.root.children.indexOf(top.parent) + 1,
|
1012
|
-
0,
|
1013
|
-
copyRule
|
1014
|
-
);
|
901
|
+
top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
|
1015
902
|
},
|
1016
903
|
active: ({ self }) => {
|
1017
904
|
vm.emit('active', self.children[0]);
|
@@ -1029,18 +916,15 @@ const _sfc_main = vue.defineComponent({
|
|
1029
916
|
data.dragName = name;
|
1030
917
|
if (name === 'left') {
|
1031
918
|
// 获取._fc-l的宽度
|
1032
|
-
data.asideValue =
|
1033
|
-
document.getElementsByClassName('_fc-l')[0].offsetWidth;
|
919
|
+
data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
|
1034
920
|
}
|
1035
921
|
if (name === 'right') {
|
1036
|
-
data.asideValue =
|
1037
|
-
document.getElementsByClassName('_fc-r')[0].offsetWidth;
|
922
|
+
data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
|
1038
923
|
}
|
1039
924
|
document.body.style.cursor = 'ew-resize';
|
1040
925
|
if (name === 'tree') {
|
1041
926
|
data.startValue = e.clientY;
|
1042
|
-
data.asideValue =
|
1043
|
-
document.getElementsByClassName('children-list')[0].offsetHeight;
|
927
|
+
data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
|
1044
928
|
console.log('data.startValue', data.startValue);
|
1045
929
|
console.log('data.asideValue', data.asideValue);
|
1046
930
|
document.body.style.cursor = 'n-resize';
|
@@ -1132,20 +1016,11 @@ const _sfc_main = vue.defineComponent({
|
|
1132
1016
|
const draggingRule = draggingNode.data.config.config;
|
1133
1017
|
const dropRule = dropNode.data.config.config;
|
1134
1018
|
// 内部元素放到指定的外部才可以放置
|
1135
|
-
if (
|
1136
|
-
type === 'inner' &&
|
1137
|
-
draggingRule.inside &&
|
1138
|
-
draggingRule.name === dropRule.children
|
1139
|
-
) {
|
1019
|
+
if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
|
1140
1020
|
return true
|
1141
1021
|
}
|
1142
1022
|
// 同样父级
|
1143
|
-
if (
|
1144
|
-
type !== 'inner' &&
|
1145
|
-
draggingRule.name === dropRule.name &&
|
1146
|
-
draggingRule.inside &&
|
1147
|
-
dropRule.inside
|
1148
|
-
) {
|
1023
|
+
if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
|
1149
1024
|
return true
|
1150
1025
|
}
|
1151
1026
|
|
@@ -1168,13 +1043,10 @@ const _sfc_main = vue.defineComponent({
|
|
1168
1043
|
},
|
1169
1044
|
nodeDrop(node, dropNode, type, event) {
|
1170
1045
|
// 拖拽成功完成时触发的事件
|
1171
|
-
// console.log('nodeDrop', node, dropNode, type, event)
|
1172
1046
|
methods.setRule(data.treeAside.treeData);
|
1173
1047
|
},
|
1174
1048
|
};
|
1175
|
-
data.dragForm.rule = methods.makeDragRule(
|
1176
|
-
methods.makeChildren(data.children)
|
1177
|
-
);
|
1049
|
+
data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
|
1178
1050
|
return {
|
1179
1051
|
...vue.toRefs(data),
|
1180
1052
|
...methods,
|
@@ -1242,11 +1114,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1242
1114
|
item: vue.withCtx(({ element }) => [
|
1243
1115
|
(vue.openBlock(), vue.createElementBlock("div", {
|
1244
1116
|
key: element.id,
|
1245
|
-
class: vue.normalizeClass(["_fc-l-item",
|
1246
|
-
element.count - (_ctx.countObj[element.name] || 0) <= 0
|
1247
|
-
? 'not-drag'
|
1248
|
-
: ''
|
1249
|
-
])
|
1117
|
+
class: vue.normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
|
1250
1118
|
}, [
|
1251
1119
|
vue.createElementVNode("div", _hoisted_3, [
|
1252
1120
|
vue.createVNode(_component_dk_icon, {
|
@@ -1291,9 +1159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1291
1159
|
}, {
|
1292
1160
|
default: vue.withCtx(({ data }) => [
|
1293
1161
|
vue.createElementVNode("div", {
|
1294
|
-
style: vue.normalizeStyle(
|
1295
|
-
_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
|
1296
|
-
)
|
1162
|
+
style: vue.normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
|
1297
1163
|
}, [
|
1298
1164
|
vue.createTextVNode(vue.toDisplayString(data.type) + " ", 1 /* TEXT */),
|
1299
1165
|
(data.config?.config.label)
|
@@ -1503,7 +1369,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1503
1369
|
_: 3 /* FORWARDED */
|
1504
1370
|
}))
|
1505
1371
|
}
|
1506
|
-
var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
1372
|
+
var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
|
1507
1373
|
|
1508
1374
|
exports.default = _PageDiy;
|
1509
1375
|
//# sourceMappingURL=page-diy.vue.js.map
|