@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
package/lib/index.scss
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
@import './form/style/index.scss';
|
22
22
|
@import './table/style/index.scss';
|
23
23
|
@import './poster-input/style/index.scss';
|
24
|
+
@import './hot-area-input/style/index.scss';
|
24
25
|
|
25
26
|
//
|
26
27
|
::-webkit-scrollbar {
|
@@ -45,66 +46,4 @@
|
|
45
46
|
*::after {
|
46
47
|
box-sizing: border-box;
|
47
48
|
}
|
48
|
-
|
49
|
-
/* 由于unocss不支持 单独提取 */
|
50
|
-
//.visible{visibility:visible;}
|
51
|
-
//.absolute{position:absolute;}
|
52
|
-
//.fixed{position:fixed;}
|
53
|
-
//.relative{position:relative;}
|
54
|
-
//.left-0{left:0;}
|
55
|
-
//.left-5\%{left:5%;}
|
56
|
-
//.left-99\%{left:99%;}
|
57
|
-
//.right-0{right:0;}
|
58
|
-
//.right-5\%{right:5%;}
|
59
|
-
//.right-99\%{right:99%;}
|
60
|
-
//.top-\[50\%\]{top:50%;}
|
61
|
-
//.top-10px{top:10px;}
|
62
|
-
//.grid{display:grid;}
|
63
|
-
//.float-right{float:right;}
|
64
|
-
//.m-1px{margin:1px;}
|
65
|
-
//.m2{margin:0.5rem;}
|
66
|
-
//.m-b-10px{margin-bottom:10px;}
|
67
|
-
//.m-b-5px{margin-bottom:5px;}
|
68
|
-
//.m-l-20px{margin-left:20px;}
|
69
|
-
//.m-l-5px{margin-left:5px;}
|
70
|
-
//.m-l-6px{margin-left:6px;}
|
71
|
-
//.m-r-4px{margin-right:4px;}
|
72
|
-
//.m-r-5px{margin-right:5px;}
|
73
|
-
//.m-t-10px{margin-top:10px;}
|
74
|
-
//.m-t-5px{margin-top:5px;}
|
75
|
-
//.ml-10px{margin-left:10px;}
|
76
|
-
//.mr{margin-right:1rem;}
|
77
|
-
//.mr-1{margin-right:0.25rem;}
|
78
|
-
//.mr-10px{margin-right:10px;}
|
79
|
-
//.block{display:block;}
|
80
|
-
//.hidden{display:none;}
|
81
|
-
//.w-100\%{width:100%;}
|
82
|
-
//.w-40px{width:40px;}
|
83
|
-
//.w100{width:25rem;}
|
84
|
-
//.flex{display:flex;}
|
85
|
-
//.table{display:table;}
|
86
|
-
//.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}
|
87
|
-
//.cursor-pointer{cursor:pointer;}
|
88
|
-
//.resize{resize:both;}
|
89
|
-
//.content-center{align-content:center;}
|
90
|
-
//.items-center{align-items:center;}
|
91
|
-
//.justify-center{justify-content:center;}
|
92
|
-
//.justify-between{justify-content:space-between;}
|
93
|
-
//.border{border-width:1px;}
|
94
|
-
//.rd-4px{border-radius:4px;}
|
95
|
-
//.p-10px{padding:10px;}
|
96
|
-
//.p-5px{padding:5px;}
|
97
|
-
//.p2{padding:0.5rem;}
|
98
|
-
//.px{padding-left:1rem;padding-right:1rem;}
|
99
|
-
//.pb-5px{padding-bottom:5px;}
|
100
|
-
//.pl-20{padding-left:5rem;}
|
101
|
-
//.pt-5px{padding-top:5px;}
|
102
|
-
//.text-center{text-align:center;}
|
103
|
-
//.vertical-text-top{vertical-align:text-top;}
|
104
|
-
//.italic{font-style:italic;}
|
105
|
-
//.color-blue{--un-text-opacity:1;color:rgba(96,165,250,var(--un-text-opacity));}
|
106
|
-
//.line-through{text-decoration-line:line-through;}
|
107
|
-
//.underline{text-decoration-line:underline;}
|
108
|
-
//.blur{--un-blur:blur(8px);filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
109
|
-
|
110
49
|
/* stylelint-enable */
|
package/lib/page-diy/index.d.ts
CHANGED
@@ -1,11 +1,37 @@
|
|
1
|
-
export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
1
|
+
export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue").DefineComponent<{
|
2
|
+
type: {
|
3
|
+
type: StringConstructor;
|
4
|
+
default: string;
|
5
|
+
};
|
6
|
+
menu: {
|
7
|
+
type: ObjectConstructor;
|
8
|
+
default: null;
|
9
|
+
};
|
10
|
+
height: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: string;
|
13
|
+
};
|
14
|
+
config: {
|
15
|
+
type: ObjectConstructor;
|
16
|
+
default: () => {};
|
17
|
+
};
|
18
|
+
mask: {
|
19
|
+
type: StringConstructor;
|
20
|
+
default: undefined;
|
21
|
+
};
|
22
|
+
loading: {
|
23
|
+
type: BooleanConstructor;
|
24
|
+
default: undefined;
|
25
|
+
};
|
26
|
+
rightAsideWidth: {
|
27
|
+
type: StringConstructor;
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
leftAsideWidth: {
|
31
|
+
type: StringConstructor;
|
32
|
+
default: string;
|
33
|
+
};
|
34
|
+
}, {
|
9
35
|
countObj: import("vue").ComputedRef<{}>;
|
10
36
|
diyTree: import("vue").ComputedRef<any[]>;
|
11
37
|
clear(type?: string): void;
|
@@ -96,7 +122,7 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
|
|
96
122
|
activeTab: import("vue").Ref<string>;
|
97
123
|
activeRule: import("vue").Ref<null>;
|
98
124
|
children: import("vue").Ref<never[]>;
|
99
|
-
menuList: import("vue").Ref<any
|
125
|
+
menuList: import("vue").Ref<Record<string, any>>;
|
100
126
|
showBaseRule: import("vue").Ref<boolean>;
|
101
127
|
showDkSettingRule: import("vue").Ref<boolean>;
|
102
128
|
visible: import("vue").Ref<{
|
@@ -227,20 +253,48 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
|
|
227
253
|
hide: boolean;
|
228
254
|
treeData: never[];
|
229
255
|
}>;
|
230
|
-
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
256
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
257
|
+
type: {
|
258
|
+
type: StringConstructor;
|
259
|
+
default: string;
|
260
|
+
};
|
261
|
+
menu: {
|
262
|
+
type: ObjectConstructor;
|
263
|
+
default: null;
|
264
|
+
};
|
265
|
+
height: {
|
266
|
+
type: StringConstructor;
|
267
|
+
default: string;
|
268
|
+
};
|
269
|
+
config: {
|
270
|
+
type: ObjectConstructor;
|
271
|
+
default: () => {};
|
272
|
+
};
|
273
|
+
mask: {
|
274
|
+
type: StringConstructor;
|
275
|
+
default: undefined;
|
276
|
+
};
|
277
|
+
loading: {
|
278
|
+
type: BooleanConstructor;
|
279
|
+
default: undefined;
|
280
|
+
};
|
281
|
+
rightAsideWidth: {
|
282
|
+
type: StringConstructor;
|
283
|
+
default: string;
|
284
|
+
};
|
285
|
+
leftAsideWidth: {
|
286
|
+
type: StringConstructor;
|
287
|
+
default: string;
|
288
|
+
};
|
289
|
+
}>>, {
|
290
|
+
type: string;
|
291
|
+
config: Record<string, any>;
|
292
|
+
loading: boolean;
|
293
|
+
menu: Record<string, any>;
|
294
|
+
mask: string;
|
295
|
+
height: string;
|
296
|
+
rightAsideWidth: string;
|
297
|
+
leftAsideWidth: string;
|
244
298
|
}, {}>>;
|
245
299
|
export default PageDiy;
|
246
300
|
export * from './src/props';
|
package/lib/page-diy/index.js
CHANGED
@@ -9,7 +9,6 @@ var DragBox = require('./src/components/DragBox.vue.js');
|
|
9
9
|
var form = require('./src/utils/form.js');
|
10
10
|
var draggable = require('vuedraggable/src/vuedraggable');
|
11
11
|
require('./src/utils/index.js');
|
12
|
-
var index = require('./src/views/index.js');
|
13
12
|
var props = require('./src/props.js');
|
14
13
|
var unique = require('./src/utils/unique.js');
|
15
14
|
|
@@ -20,9 +19,6 @@ const addComponent = (id, component) => {
|
|
20
19
|
form.designerForm.component("Draggable", draggable);
|
21
20
|
form.designerForm.component("DragTool", DragTool.default);
|
22
21
|
form.designerForm.component("DragBox", DragBox.default);
|
23
|
-
for (const name in index.default) {
|
24
|
-
form.designerForm.component(name, index.default[name]);
|
25
|
-
}
|
26
22
|
form.designerForm.register("_fc", {
|
27
23
|
init(fc, rule) {
|
28
24
|
rule._id = unique.uniqueId();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/page-diy/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _PageDiy from './src/page-diy.vue'\nimport DragTool from './src/components/DragTool.vue'\nimport DragBox from './src/components/DragBox.vue'\nimport formCreate, { designerForm } from './src/utils/form'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport { uniqueId } from './src/utils'\
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/page-diy/index.ts"],"sourcesContent":["import { withInstall } from '@vipl520/utils'\nimport _PageDiy from './src/page-diy.vue'\nimport DragTool from './src/components/DragTool.vue'\nimport DragBox from './src/components/DragBox.vue'\nimport formCreate, { designerForm } from './src/utils/form'\nimport draggable from 'vuedraggable/src/vuedraggable'\nimport { uniqueId } from './src/utils'\n// import views from './src/views/web'\n\nconst addComponent = (id: any, component: any) => {\n designerForm.component(id, component)\n formCreate.component(id, component)\n}\n\ndesignerForm.component('Draggable', draggable)\ndesignerForm.component('DragTool', DragTool)\ndesignerForm.component('DragBox', DragBox)\n\n// for (const name in views) {\n// designerForm.component(name, views[name])\n// }\n\ndesignerForm.register('_fc', {\n init(fc: any, rule: any) {\n rule._id = uniqueId()\n if (fc.value) {\n rule.effect._fc = false\n }\n },\n})\n\ndesignerForm.register('_fc_tool', {\n init(_, rule: any) {\n rule.props.unique = uniqueId()\n },\n})\n\n_PageDiy.formCreate = formCreate\n_PageDiy.designerForm = designerForm\n_PageDiy.component = addComponent\nexport const PageDiy = withInstall(_PageDiy)\nexport default PageDiy\n\nexport * from './src/props'\n"],"names":["designerForm","formCreate","DragTool","DragBox","uniqueId","_PageDiy","withInstall"],"mappings":";;;;;;;;;;;;;;AASA,MAAM,YAAA,GAAe,CAAC,EAAA,EAAS,SAAmB,KAAA;AAChD,EAAaA,iBAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,EAAWC,aAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,CAAA,CAAA;AAEAD,iBAAa,CAAA,SAAA,CAAU,aAAa,SAAS,CAAA,CAAA;AAC7CA,iBAAa,CAAA,SAAA,CAAU,YAAYE,gBAAQ,CAAA,CAAA;AAC3CF,iBAAa,CAAA,SAAA,CAAU,WAAWG,eAAO,CAAA,CAAA;AAMzCH,iBAAA,CAAa,SAAS,KAAO,EAAA;AAAA,EAC3B,IAAA,CAAK,IAAS,IAAW,EAAA;AACvB,IAAA,IAAA,CAAK,MAAMI,eAAS,EAAA,CAAA;AACpB,IAAA,IAAI,GAAG,KAAO,EAAA;AACZ,MAAA,IAAA,CAAK,OAAO,GAAM,GAAA,KAAA,CAAA;AAAA,KACpB;AAAA,GACF;AACF,CAAC,CAAA,CAAA;AAEDJ,iBAAA,CAAa,SAAS,UAAY,EAAA;AAAA,EAChC,IAAA,CAAK,GAAG,IAAW,EAAA;AACjB,IAAK,IAAA,CAAA,KAAA,CAAM,SAASI,eAAS,EAAA,CAAA;AAAA,GAC/B;AACF,CAAC,CAAA,CAAA;AAEDC,eAAA,CAAS,UAAa,GAAAJ,aAAA,CAAA;AACtBI,eAAA,CAAS,YAAe,GAAAL,iBAAA,CAAA;AACxBK,eAAA,CAAS,SAAY,GAAA,YAAA,CAAA;AACR,MAAA,OAAA,GAAUC,kBAAYD,eAAQ;;;;;;"}
|
@@ -20,6 +20,7 @@ const _sfc_main = vue.defineComponent({
|
|
20
20
|
|
21
21
|
const keys = {};
|
22
22
|
if (ctx.$slots.default) {
|
23
|
+
// 这里报错 Unhandled error during execution of render function
|
23
24
|
const children = ctx.$slots.default();
|
24
25
|
children.forEach((v) => {
|
25
26
|
if (v.key) {
|
@@ -35,7 +36,7 @@ const _sfc_main = vue.defineComponent({
|
|
35
36
|
})
|
36
37
|
},
|
37
38
|
});
|
38
|
-
var DragBox = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
39
|
+
var DragBox = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragBox.vue"]]);
|
39
40
|
|
40
41
|
exports.default = DragBox;
|
41
42
|
//# sourceMappingURL=DragBox.vue.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DragBox.vue.js","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', {}, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":["defineComponent","h"],"mappings":";;;;;;;;AAIA,MAAK,SAAU,GAAGA,mBAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE
|
1
|
+
{"version":3,"file":"DragBox.vue.js","sources":["../../../../src/page-diy/src/components/DragBox.vue"],"sourcesContent":["<script>\nimport { h, defineComponent } from 'vue'\nimport draggable from 'vuedraggable/src/vuedraggable'\n\nexport default defineComponent({\n name: 'DragBox',\n props: ['rule', 'tag', 'formCreateInject'],\n render(ctx) {\n const subRule = { ...ctx.$props.rule.props, ...ctx.$attrs }\n let _class = ctx.tag + '-drag drag-box'\n if (!Object.keys(ctx.$slots).length) {\n _class += ' ' + ctx.tag + '-holder'\n }\n subRule.class = _class\n subRule.modelValue = [...this.$props.formCreateInject.children]\n\n const keys = {}\n if (ctx.$slots.default) {\n // 这里报错 Unhandled error during execution of render function\n const children = ctx.$slots.default()\n children.forEach((v) => {\n if (v.key) {\n keys[v.key] = v\n }\n })\n }\n\n return h(draggable, subRule, {\n item: ({ element }) => {\n return h('div', {}, keys[element.__fc__.key + 'fc'])\n },\n })\n },\n})\n</script>\n"],"names":["defineComponent","h"],"mappings":";;;;;;;;AAIA,MAAK,SAAU,GAAGA,mBAAa,CAAA;AAC7B,EAAA,IAAI,EAAE,SAAS;AACf,EAAA,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,kBAAkB,CAAC;EAC1C,MAAM,CAAC,GAAG,EAAE;IACV,MAAM,OAAM,GAAI,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,GAAG,CAAC,MAAO,GAAA;AAC1D,IAAA,IAAI,MAAK,GAAI,GAAG,CAAC,GAAI,GAAE,iBAAe;AACtC,IAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE;MACnC,MAAK,IAAK,GAAI,GAAE,GAAG,CAAC,GAAE,GAAI,UAAQ;AACpC,KAAA;AACA,IAAA,OAAO,CAAC,KAAM,GAAE,OAAK;IACrB,OAAO,CAAC,UAAS,GAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAA;;IAE9D,MAAM,IAAK,GAAE,GAAC;IACd,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE;;AAEtB,MAAA,MAAM,QAAO,GAAI,GAAG,CAAC,MAAM,CAAC,OAAO,GAAC;MACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK;AACtB,QAAA,IAAI,CAAC,CAAC,GAAG,EAAE;UACT,IAAI,CAAC,CAAC,CAAC,GAAG,CAAA,GAAI,EAAA;AAChB,SAAA;OACD,EAAA;AACH,KAAA;;IAEA,OAAOC,KAAC,CAAC,SAAS,EAAE,OAAO,EAAE;AAC3B,MAAA,IAAI,EAAE,CAAC,EAAE,OAAM,EAAG,KAAK;QACrB,OAAOA,KAAC,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAI,GAAE,IAAI,CAAC,CAAA;OACpD;KACF,CAAA;GACF;AACH,CAAC,EAAA;;;;;"}
|
@@ -131,7 +131,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
131
131
|
vue.renderSlot(_ctx.$slots, "default")
|
132
132
|
], 6 /* CLASS, STYLE */))
|
133
133
|
}
|
134
|
-
var DragTool = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
134
|
+
var DragTool = /*#__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\\components\\DragTool.vue"]]);
|
135
135
|
|
136
136
|
exports.default = DragTool;
|
137
137
|
//# sourceMappingURL=DragTool.vue.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DragTool.vue.js","sources":["../../../../src/page-diy/src/components/DragTool.vue"],"sourcesContent":["<template>\n <div\n class=\"drag-tool animate__animated\"\n :class=\"{ active: state.active === id }\"\n :style=\"_style\"\n @click.stop=\"active\"\n >\n <div v-if=\"mask\" class=\"drag-mask\"></div>\n <div class=\"drag-r\">\n <div class=\"drag-btn\" title=\"添加当前组件\" @click=\"$emit('create')\">\n <dk-icon icon=\"CirclePlus\"></dk-icon>\n </div>\n <div class=\"drag-btn\" title=\"复制当前组件\" @click=\"$emit('copy')\">\n <dk-icon icon=\"CopyDocument\"></dk-icon>\n </div>\n <div
|
1
|
+
{"version":3,"file":"DragTool.vue.js","sources":["../../../../src/page-diy/src/components/DragTool.vue"],"sourcesContent":["<template>\n <div\n class=\"drag-tool animate__animated\"\n :class=\"{ active: state.active === id }\"\n :style=\"_style\"\n @click.stop=\"active\"\n >\n <div v-if=\"mask\" class=\"drag-mask\"></div>\n <div class=\"drag-r\">\n <div class=\"drag-btn\" title=\"添加当前组件\" @click=\"$emit('create')\">\n <dk-icon icon=\"CirclePlus\"></dk-icon>\n </div>\n <div class=\"drag-btn\" title=\"复制当前组件\" @click=\"$emit('copy')\">\n <dk-icon icon=\"CopyDocument\"></dk-icon>\n </div>\n <div v-if=\"children\" class=\"drag-btn\" title=\"添加子组件\" @click=\"$emit('addChild')\">\n <dk-icon icon=\"fluent:tab-add-20-regular\"></dk-icon>\n </div>\n <div class=\"drag-btn drag-btn-danger\" title=\"删除组件\" @click=\"$emit('delete')\">\n <dk-icon icon=\"Close\"></dk-icon>\n </div>\n </div>\n <slot name=\"default\"></slot>\n </div>\n</template>\n\n<script>\nimport { computed, inject, toRefs, defineComponent } from 'vue'\n\nlet uni = 1\nexport default defineComponent({\n name: 'DragTool',\n props: {\n dragBtn: {\n default: false,\n type: Boolean,\n },\n children: {\n default: '',\n type: String,\n },\n unique: {\n default: '',\n type: String,\n },\n mask: {\n default: false,\n type: Boolean,\n },\n setting: {\n default: () => {},\n type: [Object],\n },\n },\n setup(props) {\n const { unique } = toRefs(props)\n const id = computed(() => unique.value || uni++)\n const state = inject('fcx')\n return {\n id,\n state,\n }\n },\n computed: {\n pageConfig() {\n return {}\n },\n _style() {\n if (this.setting.is_position) {\n return {\n ...this.setting.style,\n ...this.setting.position,\n position: 'absolute',\n }\n } else {\n return {\n ...this.setting.style,\n }\n }\n },\n _animate() {\n // if (this.setting.loop_animate) {\n // return 'animate__' + this.setting.loop_animate + ' '\n // } else if (this.setting.animate) {\n // return 'animate__' + this.setting.animate\n // } else {\n return ''\n // }\n },\n },\n beforeUnmount() {\n this.state = {}\n },\n methods: {\n active() {\n if (this.state.active === this.id) return\n this.state.active = this.id\n this.$emit('active')\n },\n },\n})\n</script>\n"],"names":["defineComponent","toRefs","computed","inject","_createElementBlock","_openBlock","_createElementVNode","_createVNode","_renderSlot"],"mappings":"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"}
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var PreviewPhone_vue_vue_type_script_setup_true_lang = require('./PreviewPhone.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var PreviewPhone = /* @__PURE__ */ _pluginVue_exportHelper.default(PreviewPhone_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var PreviewPhone = /* @__PURE__ */ _pluginVue_exportHelper.default(PreviewPhone_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
|
9
9
|
|
10
10
|
exports.default = PreviewPhone;
|
11
11
|
//# sourceMappingURL=PreviewPhone.vue.js.map
|
@@ -59,7 +59,8 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
59
59
|
const cache = JSON.parse(utils.storage.get(key) || "{}");
|
60
60
|
const form = vue.ref({
|
61
61
|
showLine: cache.showLine || false,
|
62
|
-
margin: cache.margin || 0
|
62
|
+
margin: cache.margin || 0,
|
63
|
+
preview: cache.preview || false
|
63
64
|
});
|
64
65
|
const changeForm = () => {
|
65
66
|
utils.storage.set(key, JSON.stringify(form.value));
|
@@ -81,13 +82,23 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
81
82
|
});
|
82
83
|
};
|
83
84
|
const _style = vue.computed(() => {
|
84
|
-
let line = {
|
85
|
-
|
85
|
+
let line = {
|
86
|
+
"--padding": "0",
|
87
|
+
"--overflow": "initial"
|
88
|
+
};
|
89
|
+
if (form.value.showLine && !form.value.preview) {
|
86
90
|
line = {
|
87
91
|
"--margin": form.value.margin + "px",
|
88
92
|
"--showDashed": "1px"
|
89
93
|
};
|
90
94
|
}
|
95
|
+
if (form.value.preview) {
|
96
|
+
line["--padding"] = "0";
|
97
|
+
line["--overflow"] = "hidden";
|
98
|
+
} else {
|
99
|
+
line["--padding"] = "2px 0";
|
100
|
+
line["--overflow"] = "initial";
|
101
|
+
}
|
91
102
|
return {
|
92
103
|
...props.pageConfig.style,
|
93
104
|
...line
|
@@ -131,7 +142,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
131
142
|
_hoisted_8,
|
132
143
|
vue.createVNode(_component_dk_icon, {
|
133
144
|
icon: "gg:battery-full",
|
134
|
-
size:
|
145
|
+
size: 18,
|
135
146
|
color: "#555",
|
136
147
|
"hover-color": "#f00"
|
137
148
|
})
|
@@ -216,12 +227,23 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
216
227
|
min: 0,
|
217
228
|
step: 1,
|
218
229
|
"show-stops": "",
|
219
|
-
max:
|
230
|
+
max: 20,
|
220
231
|
onChange: _cache[5] || (_cache[5] = ($event) => changeForm())
|
221
232
|
}, null, 8, ["modelValue"])
|
222
233
|
]),
|
223
234
|
_: 1
|
224
235
|
/* STABLE */
|
236
|
+
}),
|
237
|
+
vue.createVNode(_component_el_form_item, { label: "\u6548\u679C\u9884\u89C8" }, {
|
238
|
+
default: vue.withCtx(() => [
|
239
|
+
vue.createVNode(_component_el_switch, {
|
240
|
+
modelValue: form.value.preview,
|
241
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.value.preview = $event),
|
242
|
+
onChange: _cache[7] || (_cache[7] = ($event) => changeForm())
|
243
|
+
}, null, 8, ["modelValue"])
|
244
|
+
]),
|
245
|
+
_: 1
|
246
|
+
/* STABLE */
|
225
247
|
})
|
226
248
|
]),
|
227
249
|
_: 1
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreviewPhone.vue2.js","sources":["../../../../src/page-diy/src/components/PreviewPhone.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'PreviewPhone',\n});\n</script>\n<template>\n <div class=\"preview-phone\">\n <div class=\"phone\">\n <div class=\"phone-header\">\n <div class=\"phone-header-top\">\n <div class=\"phone-time\">\n <span>{{ time }}</span>\n <van-icon name=\"wechat\" color=\"#2ddd71\" />\n </div>\n <div />\n <div class=\"phone-battery\">\n <span class=\"m-r-4px\">100%</span>\n <dk-icon
|
1
|
+
{"version":3,"file":"PreviewPhone.vue2.js","sources":["../../../../src/page-diy/src/components/PreviewPhone.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'PreviewPhone',\n});\n</script>\n<template>\n <div class=\"preview-phone\">\n <div class=\"phone\">\n <div class=\"phone-header\">\n <div class=\"phone-header-top\">\n <div class=\"phone-time\">\n <span>{{ time }}</span>\n <van-icon name=\"wechat\" color=\"#2ddd71\" />\n </div>\n <div />\n <div class=\"phone-battery\">\n <span class=\"m-r-4px\">100%</span>\n <dk-icon icon=\"gg:battery-full\" :size=\"18\" color=\"#555\" hover-color=\"#f00\"></dk-icon>\n </div>\n </div>\n <div class=\"phone-title\">\n <div class=\"phone-title-icon\">\n <el-dropdown trigger=\"click\" placement=\"bottom-start\">\n <dk-icon icon=\"Close\" hover-color=\"var(--el-color-primary)\" :size=\"20\" style=\"cursor: pointer\"></dk-icon>\n <template #dropdown>\n <el-dropdown-menu>\n <el-dropdown-item @click=\"clear('rule')\">清除组件</el-dropdown-item>\n <el-dropdown-item @click=\"clear('page')\">清除页面</el-dropdown-item>\n </el-dropdown-menu>\n </template>\n </el-dropdown>\n </div>\n <div>页面标题</div>\n <div class=\"phone-title-icon\">\n <el-popover placement=\"bottom\" :width=\"200\" trigger=\"click\">\n <template #reference>\n <dk-icon icon=\"MoreFilled\" :size=\"20\" hover-color=\"var(--el-color-primary)\" style=\"cursor: pointer\" />\n </template>\n <el-form-item label=\"显示网格\">\n <el-switch v-model=\"form.showLine\" @change=\"changeForm()\" />\n </el-form-item>\n <el-form-item label=\"网格间距\">\n <el-slider v-model=\"form.margin\" :min=\"0\" :step=\"1\" show-stops :max=\"20\" @change=\"changeForm()\" />\n </el-form-item>\n <el-form-item label=\"效果预览\">\n <el-switch v-model=\"form.preview\" @change=\"changeForm()\" />\n </el-form-item>\n </el-popover>\n </div>\n </div>\n </div>\n <div class=\"phone-body _fc-m-drag\" :style=\"_style\">\n <slot />\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, inject } from 'vue'\nimport { storage } from '@vipl520/utils'\nimport { ElMessage, ElMessageBox } from 'element-plus'\n\nconst diy: any = inject('diy')\nconst props = defineProps({\n value: {\n default: '',\n type: String,\n },\n pageConfig: {\n default: () => {},\n type: [Object],\n },\n})\n\nconst key = 'preview-phone'\nconst cache: any = JSON.parse(storage.get(key) || '{}')\n\nconst form = ref({\n showLine: cache.showLine || false,\n margin: cache.margin || 0,\n preview: cache.preview || false,\n})\n\nconst changeForm = () => {\n storage.set(key, JSON.stringify(form.value))\n}\nconst clear = (type = '') => {\n const { proxy } = diy\n const typeName: any = {\n rule: '组件',\n config: '配置',\n }\n ElMessageBox.confirm('当前要清除' + typeName[type] + ',是否继续?', '警告', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning',\n })\n .then(() => {\n proxy.clear(type)\n ElMessage.success('清除成功')\n })\n .catch(() => {})\n}\nconst _style = computed(() => {\n let line: any = {\n '--padding': '0',\n '--overflow': 'initial',\n }\n if (form.value.showLine && !form.value.preview) {\n line = {\n '--margin': form.value.margin + 'px',\n '--showDashed': '1px',\n }\n }\n if (form.value.preview) {\n line['--padding'] = '0'\n line['--overflow'] = 'hidden'\n } else {\n line['--padding'] = '2px 0'\n line['--overflow'] = 'initial'\n }\n return {\n ...props.pageConfig.style,\n ...line,\n }\n})\n\nconst time = computed(() => {\n const d = new Date()\n const hour = d.getHours() // 得到小时数\n const minute = d.getMinutes() // 得到分钟数\n return hour + ':' + minute\n})\n</script>\n"],"names":["__MACROS_defineComponent","inject","storage","ref","ElMessageBox","ElMessage","computed"],"mappings":"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"}
|
@@ -11,55 +11,6 @@ function dkPage() {
|
|
11
11
|
title: "",
|
12
12
|
props: {}
|
13
13
|
}
|
14
|
-
// { type: 'DkBoxSizeInput', field: 'padding', value: '0px', title: '内边距' },
|
15
|
-
// { type: 'DkBoxSizeInput', field: 'margin', value: '0px', title: '外边距' },
|
16
|
-
// {
|
17
|
-
// type: 'DkImageInput',
|
18
|
-
// field: 'bg_img',
|
19
|
-
// value: '',
|
20
|
-
// title: '背景图片',
|
21
|
-
// props: { showInput: false },
|
22
|
-
// },
|
23
|
-
// {
|
24
|
-
// type: 'DkColorInput',
|
25
|
-
// field: 'bg_color',
|
26
|
-
// title: '背景色',
|
27
|
-
// value: '#ff7271',
|
28
|
-
// },
|
29
|
-
// {
|
30
|
-
// type: 'elCol',
|
31
|
-
// props: { style: 'margin-bottom:10px' },
|
32
|
-
// children: [
|
33
|
-
// {
|
34
|
-
// type: 'h2',
|
35
|
-
// props: {
|
36
|
-
// contentPosition: 'left',
|
37
|
-
// },
|
38
|
-
// style: 'margin:10px 0px;font-size:14px',
|
39
|
-
// children: ['偏好设置'],
|
40
|
-
// },
|
41
|
-
// {
|
42
|
-
// type: 'p',
|
43
|
-
// props: {},
|
44
|
-
// style: 'margin:10px 0px;color:#999;font-size:12px',
|
45
|
-
// children: ['当前设置仅为了方便diy使用,不会对实际页面有影响'],
|
46
|
-
// },
|
47
|
-
// ],
|
48
|
-
// },
|
49
|
-
// {
|
50
|
-
// type: 'slider',
|
51
|
-
// field: 'border_margin',
|
52
|
-
// title: '模块间距',
|
53
|
-
// value: 0,
|
54
|
-
// props: { min: 0, max: 20 },
|
55
|
-
// // suffix: get_help('方便Diy的时候选择模块,不会对实际页面有影响')
|
56
|
-
// },
|
57
|
-
// {
|
58
|
-
// type: 'switch',
|
59
|
-
// field: 'show_dashed',
|
60
|
-
// title: '显示虚线',
|
61
|
-
// props: { activeValue: 2, inactiveValue: 0 },
|
62
|
-
// },
|
63
14
|
];
|
64
15
|
}
|
65
16
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dkPage.js","sources":["../../../../../src/page-diy/src/config/base/dkPage.js"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"dkPage.js","sources":["../../../../../src/page-diy/src/config/base/dkPage.js"],"sourcesContent":["export default function dkPage() {\n return [\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: {},\n },\n ]\n}\n"],"names":[],"mappings":";;;;AAAA,SAAwB,MAAS,GAAA;AAC/B,EAAO,OAAA;AAAA,IACL;AAAA,MACE,IAAM,EAAA,cAAA;AAAA,MACN,KAAO,EAAA,OAAA;AAAA,MACP,OAAO,EAAC;AAAA,MACR,KAAO,EAAA,EAAA;AAAA,MACP,OAAO,EAAC;AAAA,KACV;AAAA,GACF,CAAA;AACF;;;;"}
|