@vipl520/dk-ui 1.0.12 → 1.0.14
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 +4025 -3202
- 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 +4022 -3201
- 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 +39 -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 +77 -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 +2 -1
- package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs +27 -5
- 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 +77 -23
- package/es/page-diy/src/page-diy.vue.mjs +55 -189
- package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
- package/es/page-diy/src/props.d.ts +29 -4
- package/es/page-diy/src/props.mjs +36 -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 +127 -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 +4 -3
- 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-border-input/src/style-border-input.vue2.mjs +49 -45
- package/es/style-border-input/src/style-border-input.vue2.mjs.map +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 +39 -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 +77 -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 +2 -1
- package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js +27 -5
- 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 +77 -23
- package/lib/page-diy/src/page-diy.vue.js +63 -197
- package/lib/page-diy/src/page-diy.vue.js.map +1 -1
- package/lib/page-diy/src/props.d.ts +29 -4
- package/lib/page-diy/src/props.js +36 -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 +131 -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 +4 -3
- 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-border-input/src/style-border-input.vue2.js +49 -45
- package/lib/style-border-input/src/style-border-input.vue2.js.map +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
@@ -3,12 +3,16 @@ import is, { hasProperty } from '@form-create/utils/lib/type';
|
|
3
3
|
import { lower } from '@form-create/utils/lib/tocase';
|
4
4
|
import draggable from 'vuedraggable/src/vuedraggable';
|
5
5
|
import PreviewPhone from './components/PreviewPhone.vue.mjs';
|
6
|
-
import {
|
6
|
+
import { webRuleList, createWebMenu } from './config/rule/web/index.mjs';
|
7
|
+
import { minRuleList, createMinMenu } from './config/rule/min/index.mjs';
|
7
8
|
import './utils/index.mjs';
|
8
9
|
import { defineComponent, toRefs, getCurrentInstance, ref, provide, toRef, computed, reactive, watch, nextTick, markRaw, createElementVNode, resolveComponent, resolveDirective, openBlock, createBlock, withCtx, createCommentVNode, createVNode, normalizeStyle, createElementBlock, Fragment, renderList, toDisplayString, normalizeClass, createTextVNode, withModifiers, renderSlot, withDirectives, vShow } from 'vue';
|
9
10
|
import './config/base/index.mjs';
|
10
11
|
import { isArray } from '@vipl520/utils';
|
11
12
|
import { ElNotification } from 'element-plus';
|
13
|
+
import { pageDiyProps } from './props.mjs';
|
14
|
+
import views$1 from './views/min/index.mjs';
|
15
|
+
import views from './views/web/index.mjs';
|
12
16
|
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
|
13
17
|
import { designerForm } from './utils/form.mjs';
|
14
18
|
import dkSetting from './config/base/dkSetting.mjs';
|
@@ -37,7 +41,7 @@ const _sfc_main = defineComponent({
|
|
37
41
|
PreviewPhone,
|
38
42
|
DragForm: designerForm.$form(),
|
39
43
|
},
|
40
|
-
props:
|
44
|
+
props: pageDiyProps,
|
41
45
|
setup(props) {
|
42
46
|
const { menu, height, mask, locale } = toRefs(props);
|
43
47
|
const vm = getCurrentInstance();
|
@@ -45,6 +49,20 @@ const _sfc_main = defineComponent({
|
|
45
49
|
provide('fcx', fcx);
|
46
50
|
provide('diy', vm);
|
47
51
|
const config = toRef(props, 'config', {});
|
52
|
+
// 区别小程序和网页
|
53
|
+
const ruleList = props.type === 'web' ? webRuleList : minRuleList;
|
54
|
+
const createMenu = props.type === 'web' ? createWebMenu : createMinMenu;
|
55
|
+
// 导入不同的view
|
56
|
+
if (props.type === 'web') {
|
57
|
+
for (const name in views) {
|
58
|
+
designerForm.component(name, views[name]);
|
59
|
+
}
|
60
|
+
} else {
|
61
|
+
for (const name in views$1) {
|
62
|
+
designerForm.component(name, views$1[name]);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
48
66
|
const getRuleItems = (item) => {
|
49
67
|
const gl = ['DragTool', 'DragBox'];
|
50
68
|
const items = [];
|
@@ -101,32 +119,6 @@ const _sfc_main = defineComponent({
|
|
101
119
|
}
|
102
120
|
return obj
|
103
121
|
});
|
104
|
-
// let _t = globalT
|
105
|
-
// if (locale.value) {
|
106
|
-
// _t = useLocale(locale).t
|
107
|
-
// }
|
108
|
-
// const t = (...args) => _t(...args)
|
109
|
-
// const tidyRuleConfig = (orgRule, configRule, ...args) => {
|
110
|
-
// console.log('tidyRuleConfig', orgRule, configRule, ...args)
|
111
|
-
// if (configRule) {
|
112
|
-
// if (is.Function(configRule)) {
|
113
|
-
// console.log('isfun')
|
114
|
-
// return configRule(...args)
|
115
|
-
// }
|
116
|
-
// if (configRule.rule) {
|
117
|
-
// console.log('isrule')
|
118
|
-
// let rule = configRule.rule(...args)
|
119
|
-
// if (configRule.append) {
|
120
|
-
// console.log('isappend')
|
121
|
-
// rule = [...rule, ...orgRule(...args)]
|
122
|
-
// }
|
123
|
-
// return rule
|
124
|
-
// }
|
125
|
-
// }
|
126
|
-
// console.log('isorg')
|
127
|
-
// return orgRule(...args)
|
128
|
-
// }
|
129
|
-
|
130
122
|
const data = reactive({
|
131
123
|
cacheProps: {},
|
132
124
|
moveRule: null,
|
@@ -218,12 +210,12 @@ const _sfc_main = defineComponent({
|
|
218
210
|
stopChangeBound: null,
|
219
211
|
rightAside: {
|
220
212
|
style: {
|
221
|
-
width:
|
213
|
+
width: props.rightAsideWidth,
|
222
214
|
},
|
223
215
|
hide: false,
|
224
216
|
},
|
225
217
|
leftAside: {
|
226
|
-
style: { width:
|
218
|
+
style: { width: props.leftAsideWidth },
|
227
219
|
hide: false,
|
228
220
|
},
|
229
221
|
treeAside: {
|
@@ -236,6 +228,7 @@ const _sfc_main = defineComponent({
|
|
236
228
|
treeData: [],
|
237
229
|
},
|
238
230
|
});
|
231
|
+
|
239
232
|
function cleanTreeData(node) {
|
240
233
|
if (Array.isArray(node)) {
|
241
234
|
// 遍历数组中的每个元素
|
@@ -244,9 +237,7 @@ const _sfc_main = defineComponent({
|
|
244
237
|
// 处理对象节点
|
245
238
|
if (Array.isArray(node.children)) {
|
246
239
|
// 只保留 children 数组中的对象类型元素
|
247
|
-
node.children = node.children.filter(
|
248
|
-
(child) => typeof child === 'object' && child !== null
|
249
|
-
);
|
240
|
+
node.children = node.children.filter((child) => typeof child === 'object' && child !== null);
|
250
241
|
// 递归处理每个子节点
|
251
242
|
node.children = cleanTreeData(node.children);
|
252
243
|
}
|
@@ -259,10 +250,7 @@ const _sfc_main = defineComponent({
|
|
259
250
|
watch(
|
260
251
|
() => data.dragForm,
|
261
252
|
() => {
|
262
|
-
data.treeAside.treeData = methods.parseRule(
|
263
|
-
deepCopy(data.dragForm.api.rule[0].children),
|
264
|
-
true
|
265
|
-
);
|
253
|
+
data.treeAside.treeData = methods.parseRule(deepCopy(data.dragForm.api.rule[0].children), true);
|
266
254
|
data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
|
267
255
|
},
|
268
256
|
{
|
@@ -282,32 +270,6 @@ const _sfc_main = defineComponent({
|
|
282
270
|
|
283
271
|
let unWatchActiveRule = null;
|
284
272
|
|
285
|
-
// watch(
|
286
|
-
// () => locale.value,
|
287
|
-
// (n) => {
|
288
|
-
// _t = n ? useLocale(locale).t : globalT
|
289
|
-
// const baseFormVal =
|
290
|
-
// data.baseForm.api.formData && data.baseForm.api.formData()
|
291
|
-
// data.baseForm.rule = tidyRuleConfig(field, baseRule.value, { t })
|
292
|
-
// data.cacheProps = {}
|
293
|
-
// const rule = data.activeRule
|
294
|
-
// let propsVal = null
|
295
|
-
// if (rule) {
|
296
|
-
// propsVal =
|
297
|
-
// data.propsForm.api.formData && data.propsForm.api.formData()
|
298
|
-
// data.propsForm.rule = data.cacheProps[rule._id] = tidyRuleConfig(
|
299
|
-
// rule.config.config.props,
|
300
|
-
// componentRule.value && componentRule.value[rule.config.config.name],
|
301
|
-
// rule,
|
302
|
-
// { t, api: data.dragForm.api }
|
303
|
-
// )
|
304
|
-
// }
|
305
|
-
// nextTick(() => {
|
306
|
-
// baseFormVal && data.baseForm.api.setValue(baseFormVal)
|
307
|
-
// propsVal && data.propsForm.api.setValue(propsVal)
|
308
|
-
// })
|
309
|
-
// }
|
310
|
-
// )
|
311
273
|
const methods = {
|
312
274
|
// 清除所有配置项
|
313
275
|
clear(type = 'all') {
|
@@ -484,38 +446,11 @@ const _sfc_main = defineComponent({
|
|
484
446
|
rules = [];
|
485
447
|
}
|
486
448
|
data.children = methods.makeChildren(
|
487
|
-
methods.loadRule(
|
488
|
-
is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules)
|
489
|
-
)
|
449
|
+
methods.loadRule(is.String(rules) ? designerForm.parseJson(rules) : deepCopy(rules))
|
490
450
|
);
|
491
451
|
methods.clearActiveRule();
|
492
452
|
data.dragForm.rule = methods.makeDragRule(data.children);
|
493
453
|
},
|
494
|
-
// setBaseRuleConfig(rule, append) {
|
495
|
-
// baseRule.value = { rule, append }
|
496
|
-
// data.baseForm.rule = field()
|
497
|
-
// },
|
498
|
-
// setComponentRuleConfig(name, rule, append) {
|
499
|
-
// // TODO未使用,不知道干啥的
|
500
|
-
// componentRule.value[name] = { rule, append }
|
501
|
-
// data.cacheProps = {}
|
502
|
-
// const activeRule = data.activeRule
|
503
|
-
// if (activeRule) {
|
504
|
-
// const propsVal =
|
505
|
-
// data.propsForm.api.formData && data.propsForm.api.formData()
|
506
|
-
// data.propsForm.rule = data.cacheProps[activeRule._id] =
|
507
|
-
// tidyRuleConfig(
|
508
|
-
// activeRule.config.config.props,
|
509
|
-
// componentRule.value &&
|
510
|
-
// componentRule.value[activeRule.config.config.name],
|
511
|
-
// activeRule,
|
512
|
-
// { t, api: data.dragForm.api }
|
513
|
-
// )
|
514
|
-
// nextTick(() => {
|
515
|
-
// propsVal && data.propsForm.api.setValue(propsVal)
|
516
|
-
// })
|
517
|
-
// }
|
518
|
-
// },
|
519
454
|
clearActiveRule() {
|
520
455
|
data.activeRule = null;
|
521
456
|
data.activeTab = 'page';
|
@@ -630,15 +565,9 @@ const _sfc_main = defineComponent({
|
|
630
565
|
field = lower(field);
|
631
566
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
632
567
|
delete data.activeRule.effect[field.split('>')[1]];
|
633
|
-
} else if (
|
634
|
-
field.indexOf('props') === 0 &&
|
635
|
-
field.indexOf('>') > -1
|
636
|
-
) {
|
568
|
+
} else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
|
637
569
|
delete data.activeRule.props[field.split('>')[1]];
|
638
|
-
} else if (
|
639
|
-
field.indexOf('attrs') === 0 &&
|
640
|
-
field.indexOf('>') > -1
|
641
|
-
) {
|
570
|
+
} else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
|
642
571
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
643
572
|
} else if (field === 'child') {
|
644
573
|
delete data.activeRule.children[0];
|
@@ -667,15 +596,9 @@ const _sfc_main = defineComponent({
|
|
667
596
|
field = lower(field);
|
668
597
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
669
598
|
data.activeRule.effect[field.split('>')[1]] = value;
|
670
|
-
} else if (
|
671
|
-
field.indexOf('props') === 0 &&
|
672
|
-
field.indexOf('>') > -1
|
673
|
-
) {
|
599
|
+
} else if (field.indexOf('props') === 0 && field.indexOf('>') > -1) {
|
674
600
|
data.activeRule.props[field.split('>')[1]] = value;
|
675
|
-
} else if (
|
676
|
-
field.indexOf('attrs') === 0 &&
|
677
|
-
field.indexOf('>') > -1
|
678
|
-
) {
|
601
|
+
} else if (field.indexOf('attrs') === 0 && field.indexOf('>') > -1) {
|
679
602
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
680
603
|
} else if (field === 'child') {
|
681
604
|
data.activeRule.children[0] = value;
|
@@ -787,25 +710,15 @@ const _sfc_main = defineComponent({
|
|
787
710
|
;['props', 'effect', 'attrs'].forEach((name) => {
|
788
711
|
rule[name] &&
|
789
712
|
Object.keys(rule[name]).forEach((k) => {
|
790
|
-
formData['formCreate' + upper(name) + '>' + k] = deepCopy(
|
791
|
-
rule[name][k]
|
792
|
-
);
|
713
|
+
formData['formCreate' + upper(name) + '>' + k] = deepCopy(rule[name][k]);
|
793
714
|
});
|
794
715
|
});
|
795
716
|
// console.log('formData', formData)
|
796
717
|
data.propsForm.value = formData;
|
797
718
|
|
798
719
|
data.showBaseRule =
|
799
|
-
hasProperty(rule, 'field') &&
|
800
|
-
rule.input !== false &&
|
801
|
-
(!config.value || config.value.showBaseForm !== false);
|
720
|
+
hasProperty(rule, 'field') && rule.input !== false && (!config.value || config.value.showBaseForm !== false);
|
802
721
|
if (data.showBaseRule) {
|
803
|
-
// data.baseForm.value = {
|
804
|
-
// field: rule.field,
|
805
|
-
// title: rule.title || '',
|
806
|
-
// info: rule.info,
|
807
|
-
// _control: rule._control,
|
808
|
-
// }
|
809
722
|
data.dragForm.api.refreshValidate();
|
810
723
|
}
|
811
724
|
},
|
@@ -831,9 +744,7 @@ const _sfc_main = defineComponent({
|
|
831
744
|
const rule = methods.makeRule(ruleList[menu.name]);
|
832
745
|
const config = rule.children[0].config.config;
|
833
746
|
const count = config.count ? config.count : 99;
|
834
|
-
const _count = countObj.value[config.name]
|
835
|
-
? countObj.value[config.name]
|
836
|
-
: 0;
|
747
|
+
const _count = countObj.value[config.name] ? countObj.value[config.name] : 0;
|
837
748
|
if (_count >= count) {
|
838
749
|
ElNotification({
|
839
750
|
title: '警告',
|
@@ -847,10 +758,7 @@ const _sfc_main = defineComponent({
|
|
847
758
|
data.added = true;
|
848
759
|
},
|
849
760
|
dragEnd(children, { newIndex, oldIndex }) {
|
850
|
-
if (
|
851
|
-
!data.added &&
|
852
|
-
!(data.moveRule === children && newIndex === oldIndex)
|
853
|
-
) {
|
761
|
+
if (!data.added && !(data.moveRule === children && newIndex === oldIndex)) {
|
854
762
|
const rule = data.moveRule.splice(oldIndex, 1);
|
855
763
|
children.splice(newIndex, 0, rule[0]);
|
856
764
|
}
|
@@ -872,24 +780,14 @@ const _sfc_main = defineComponent({
|
|
872
780
|
let drag;
|
873
781
|
if (config.drag) {
|
874
782
|
rule.children.push(
|
875
|
-
(drag = methods.makeDrag(
|
876
|
-
|
877
|
-
|
878
|
-
methods.
|
879
|
-
|
880
|
-
|
881
|
-
methods.dragEnd(inject.self.children, evt),
|
882
|
-
add: (inject, evt) =>
|
883
|
-
methods.dragAdd(inject.self.children, evt),
|
884
|
-
start: (inject, evt) =>
|
885
|
-
methods.dragStart(inject.self.children, evt),
|
886
|
-
unchoose: (inject, evt) =>
|
887
|
-
methods.dragUnchoose(inject.self.children, evt),
|
888
|
-
}
|
889
|
-
))
|
783
|
+
(drag = methods.makeDrag(config.drag, rule.type, methods.makeChildren([]), {
|
784
|
+
end: (inject, evt) => methods.dragEnd(inject.self.children, evt),
|
785
|
+
add: (inject, evt) => methods.dragAdd(inject.self.children, evt),
|
786
|
+
start: (inject, evt) => methods.dragStart(inject.self.children, evt),
|
787
|
+
unchoose: (inject, evt) => methods.dragUnchoose(inject.self.children, evt),
|
788
|
+
}))
|
890
789
|
);
|
891
790
|
}
|
892
|
-
|
893
791
|
if (config.children && !_rule) {
|
894
792
|
for (let i = 0; i < (config.childrenLen || 1); i++) {
|
895
793
|
const child = methods.makeRule(ruleList[config.children])
|
@@ -897,10 +795,7 @@ const _sfc_main = defineComponent({
|
|
897
795
|
}
|
898
796
|
}
|
899
797
|
|
900
|
-
const dragMask =
|
901
|
-
mask.value !== undefined
|
902
|
-
? mask.value !== false
|
903
|
-
: config.mask !== false;
|
798
|
+
const dragMask = mask.value !== undefined ? mask.value !== false : config.mask !== false;
|
904
799
|
if (config.inside) {
|
905
800
|
rule.children = methods.makeChildren([
|
906
801
|
{
|
@@ -936,10 +831,9 @@ const _sfc_main = defineComponent({
|
|
936
831
|
const config = top.parent.config.config;
|
937
832
|
const item = ruleList[config.children];
|
938
833
|
if (!item) return
|
939
|
-
;(!config.drag
|
940
|
-
|
941
|
-
|
942
|
-
).children[0].children.push(methods.makeRule(item));
|
834
|
+
;(!config.drag ? top.parent : top.parent.children[0]).children[0].children.push(
|
835
|
+
methods.makeRule(item)
|
836
|
+
);
|
943
837
|
},
|
944
838
|
copy: ({ self }) => {
|
945
839
|
const top = methods.getParent(self);
|
@@ -992,10 +886,7 @@ const _sfc_main = defineComponent({
|
|
992
886
|
const config = self.children[0].config.config;
|
993
887
|
const item = ruleList[config.children];
|
994
888
|
if (!item) return
|
995
|
-
;(!config.drag
|
996
|
-
? self
|
997
|
-
: self.children[0]
|
998
|
-
).children[0].children.push(methods.makeRule(item));
|
889
|
+
;(!config.drag ? self : self.children[0]).children[0].children.push(methods.makeRule(item));
|
999
890
|
},
|
1000
891
|
copy: ({ self }) => {
|
1001
892
|
vm.emit('copy', self.children[0]);
|
@@ -1003,11 +894,7 @@ const _sfc_main = defineComponent({
|
|
1003
894
|
const copyRule = designerForm.copyRule(top.parent);
|
1004
895
|
// 解决复制后,组件的setting配置失效
|
1005
896
|
copyRule.props.setting = copyRule.children[0].setting;
|
1006
|
-
top.root.children.splice(
|
1007
|
-
top.root.children.indexOf(top.parent) + 1,
|
1008
|
-
0,
|
1009
|
-
copyRule
|
1010
|
-
);
|
897
|
+
top.root.children.splice(top.root.children.indexOf(top.parent) + 1, 0, copyRule);
|
1011
898
|
},
|
1012
899
|
active: ({ self }) => {
|
1013
900
|
vm.emit('active', self.children[0]);
|
@@ -1025,18 +912,15 @@ const _sfc_main = defineComponent({
|
|
1025
912
|
data.dragName = name;
|
1026
913
|
if (name === 'left') {
|
1027
914
|
// 获取._fc-l的宽度
|
1028
|
-
data.asideValue =
|
1029
|
-
document.getElementsByClassName('_fc-l')[0].offsetWidth;
|
915
|
+
data.asideValue = document.getElementsByClassName('_fc-l')[0].offsetWidth;
|
1030
916
|
}
|
1031
917
|
if (name === 'right') {
|
1032
|
-
data.asideValue =
|
1033
|
-
document.getElementsByClassName('_fc-r')[0].offsetWidth;
|
918
|
+
data.asideValue = document.getElementsByClassName('_fc-r')[0].offsetWidth;
|
1034
919
|
}
|
1035
920
|
document.body.style.cursor = 'ew-resize';
|
1036
921
|
if (name === 'tree') {
|
1037
922
|
data.startValue = e.clientY;
|
1038
|
-
data.asideValue =
|
1039
|
-
document.getElementsByClassName('children-list')[0].offsetHeight;
|
923
|
+
data.asideValue = document.getElementsByClassName('children-list')[0].offsetHeight;
|
1040
924
|
console.log('data.startValue', data.startValue);
|
1041
925
|
console.log('data.asideValue', data.asideValue);
|
1042
926
|
document.body.style.cursor = 'n-resize';
|
@@ -1128,20 +1012,11 @@ const _sfc_main = defineComponent({
|
|
1128
1012
|
const draggingRule = draggingNode.data.config.config;
|
1129
1013
|
const dropRule = dropNode.data.config.config;
|
1130
1014
|
// 内部元素放到指定的外部才可以放置
|
1131
|
-
if (
|
1132
|
-
type === 'inner' &&
|
1133
|
-
draggingRule.inside &&
|
1134
|
-
draggingRule.name === dropRule.children
|
1135
|
-
) {
|
1015
|
+
if (type === 'inner' && draggingRule.inside && draggingRule.name === dropRule.children) {
|
1136
1016
|
return true
|
1137
1017
|
}
|
1138
1018
|
// 同样父级
|
1139
|
-
if (
|
1140
|
-
type !== 'inner' &&
|
1141
|
-
draggingRule.name === dropRule.name &&
|
1142
|
-
draggingRule.inside &&
|
1143
|
-
dropRule.inside
|
1144
|
-
) {
|
1019
|
+
if (type !== 'inner' && draggingRule.name === dropRule.name && draggingRule.inside && dropRule.inside) {
|
1145
1020
|
return true
|
1146
1021
|
}
|
1147
1022
|
|
@@ -1164,13 +1039,10 @@ const _sfc_main = defineComponent({
|
|
1164
1039
|
},
|
1165
1040
|
nodeDrop(node, dropNode, type, event) {
|
1166
1041
|
// 拖拽成功完成时触发的事件
|
1167
|
-
// console.log('nodeDrop', node, dropNode, type, event)
|
1168
1042
|
methods.setRule(data.treeAside.treeData);
|
1169
1043
|
},
|
1170
1044
|
};
|
1171
|
-
data.dragForm.rule = methods.makeDragRule(
|
1172
|
-
methods.makeChildren(data.children)
|
1173
|
-
);
|
1045
|
+
data.dragForm.rule = methods.makeDragRule(methods.makeChildren(data.children));
|
1174
1046
|
return {
|
1175
1047
|
...toRefs(data),
|
1176
1048
|
...methods,
|
@@ -1238,11 +1110,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1238
1110
|
item: withCtx(({ element }) => [
|
1239
1111
|
(openBlock(), createElementBlock("div", {
|
1240
1112
|
key: element.id,
|
1241
|
-
class: normalizeClass(["_fc-l-item",
|
1242
|
-
element.count - (_ctx.countObj[element.name] || 0) <= 0
|
1243
|
-
? 'not-drag'
|
1244
|
-
: ''
|
1245
|
-
])
|
1113
|
+
class: normalizeClass(["_fc-l-item", element.count - (_ctx.countObj[element.name] || 0) <= 0 ? 'not-drag' : ''])
|
1246
1114
|
}, [
|
1247
1115
|
createElementVNode("div", _hoisted_3, [
|
1248
1116
|
createVNode(_component_dk_icon, {
|
@@ -1287,9 +1155,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1287
1155
|
}, {
|
1288
1156
|
default: withCtx(({ data }) => [
|
1289
1157
|
createElementVNode("div", {
|
1290
|
-
style: normalizeStyle(
|
1291
|
-
_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
|
1292
|
-
)
|
1158
|
+
style: normalizeStyle(_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : '')
|
1293
1159
|
}, [
|
1294
1160
|
createTextVNode(toDisplayString(data.type) + " ", 1 /* TEXT */),
|
1295
1161
|
(data.config?.config.label)
|
@@ -1499,7 +1365,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1499
1365
|
_: 3 /* FORWARDED */
|
1500
1366
|
}))
|
1501
1367
|
}
|
1502
|
-
var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
1368
|
+
var _PageDiy = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
|
1503
1369
|
|
1504
1370
|
export { _PageDiy as default };
|
1505
1371
|
//# sourceMappingURL=page-diy.vue.mjs.map
|