@vipl520/dk-ui 1.0.11 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +8 -0
- package/dist/index.css +1 -1
- package/dist/index.js +3949 -3158
- 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 +3961 -3172
- 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/attachment.vue2.mjs +7 -6
- package/es/attachment/src/attachment.vue2.mjs.map +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/index.d.ts +15 -0
- package/es/dialog/src/dialog.vue.d.ts +9 -0
- package/es/dialog/src/dialog.vue.mjs +1 -1
- package/es/dialog/src/dialog.vue2.mjs +3 -2
- package/es/dialog/src/dialog.vue2.mjs.map +1 -1
- package/es/dialog/src/props.d.ts +4 -0
- package/es/dialog/src/props.mjs +4 -0
- package/es/dialog/src/props.mjs.map +1 -1
- package/es/file-input/src/file-input.vue.mjs +1 -1
- package/es/file-input/style/index.css +1 -1
- package/es/file-input/style/index.scss +2 -0
- package/es/file-list-input/src/file-list-input.vue.mjs +1 -1
- package/es/file-list-input/style/index.css +1 -1
- package/es/file-list-input/style/index.scss +1 -0
- package/es/form/src/form.vue.mjs +1 -1
- package/es/form/style/index.css +1 -1
- package/es/form/style/index.scss +7 -3
- package/es/group/src/group.vue.mjs +1 -1
- package/es/hot-area-input/index.d.ts +15 -0
- package/es/hot-area-input/index.mjs +8 -0
- package/es/hot-area-input/index.mjs.map +1 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.mjs +7 -0
- package/es/hot-area-input/src/component/hot-area-content.vue.mjs.map +1 -0
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs +262 -0
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -0
- package/es/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
- package/es/hot-area-input/src/hot-area-input.vue.mjs +7 -0
- package/es/hot-area-input/src/hot-area-input.vue.mjs.map +1 -0
- package/es/hot-area-input/src/hot-area-input.vue2.mjs +65 -0
- package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -0
- package/es/hot-area-input/src/props.d.ts +8 -0
- package/es/hot-area-input/src/props.mjs +11 -0
- package/es/hot-area-input/src/props.mjs.map +1 -0
- package/es/hot-area-input/style/index.css +1 -0
- package/es/hot-area-input/style/index.scss +40 -0
- package/es/icon/src/icon.vue.mjs +1 -1
- package/es/icon-input/src/icon-content.vue.mjs +1 -1
- package/es/icon-input/src/icon-dialog.vue.mjs +1 -1
- package/es/icon-input/src/icon-input.vue.mjs +1 -1
- package/es/image-input/src/image-input.vue.mjs +1 -1
- package/es/image-list-input/src/image-list-input.vue.mjs +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +5 -1
- package/es/index.mjs.map +1 -1
- package/es/index.scss +1 -62
- package/es/page-diy/index.d.ts +59 -23
- package/es/page-diy/index.mjs +0 -4
- package/es/page-diy/index.mjs.map +1 -1
- package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkPage.mjs +0 -49
- package/es/page-diy/src/config/base/dkPage.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkSetting.mjs +0 -190
- package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +22 -0
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +43 -0
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs +177 -0
- package/es/page-diy/src/config/rule/min/common/DkMinSwiperImage.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs +36 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTextarea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +78 -0
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +52 -0
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/common/index.d.ts +620 -0
- package/es/page-diy/src/config/rule/min/common/index.mjs +19 -0
- package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/min/index.d.ts +624 -0
- package/es/page-diy/src/config/rule/min/index.mjs +17 -0
- package/es/page-diy/src/config/rule/min/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.mjs +1 -3
- package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewCell.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewCommonBtn.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewGridCellList.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewImage.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewMusic.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewNavBar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewNoticeBar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewSwipe.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewTabbar.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/DkViewTextarea.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{common → web/common}/DkViewVideo.mjs +3 -9
- package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/common/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
- package/es/page-diy/src/config/rule/{index.mjs → web/index.mjs} +3 -3
- package/es/page-diy/src/config/rule/web/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/DkViewTitle.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/col.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/divider.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/index.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/row.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/space.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/swip-item.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/swipe.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/tab.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/tabs.mjs.map +1 -0
- package/es/page-diy/src/config/rule/web/layout/vanEmpty.mjs.map +1 -0
- package/es/page-diy/src/page-diy.vue.d.ts +59 -23
- package/es/page-diy/src/page-diy.vue.mjs +53 -187
- package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
- package/es/page-diy/src/props.d.ts +21 -4
- package/es/page-diy/src/props.mjs +28 -6
- package/es/page-diy/src/props.mjs.map +1 -1
- package/es/page-diy/src/utils/help.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
- package/es/page-diy/src/views/min/DkMinBlank.vue.mjs +28 -0
- package/es/page-diy/src/views/min/DkMinBlank.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +126 -0
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +86 -0
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +28 -0
- package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +62 -0
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +86 -0
- package/es/page-diy/src/views/min/DkMinVideo.vue.mjs.map +1 -0
- package/es/page-diy/src/views/min/index.mjs +18 -0
- package/es/page-diy/src/views/min/index.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewBulletChat.vue.mjs → web/DkViewBulletChat.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewCell.vue.mjs → web/DkViewCell.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewCommonBtn.vue.mjs → web/DkViewCommonBtn.vue.mjs} +3 -5
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewDialog.vue.mjs → web/DkViewDialog.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewDialog.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewGridCellList.vue.mjs → web/DkViewGridCellList.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewImage.vue.mjs → web/DkViewImage.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewMusic.vue.mjs → web/DkViewMusic.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewNavBar.vue.mjs → web/DkViewNavBar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewNoticeBar.vue.mjs → web/DkViewNoticeBar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewSwipe.vue.mjs → web/DkViewSwipe.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTabbar.vue.mjs → web/DkViewTabbar.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTextarea.vue.mjs → web/DkViewTextarea.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewTitle.vue.mjs → web/DkViewTitle.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -0
- package/es/page-diy/src/views/{DkViewVideo.vue.mjs → web/DkViewVideo.vue.mjs} +2 -2
- package/es/page-diy/src/views/web/DkViewVideo.vue.mjs.map +1 -0
- package/es/page-diy/src/views/web/index.mjs.map +1 -0
- package/es/page-diy/style/drag-tool.css +1 -1
- package/es/page-diy/style/drag-tool.scss +2 -2
- package/es/page-diy/style/index.css +1 -1
- package/es/page-diy/style/index.scss +1 -0
- package/es/page-diy/style/minViews/index.scss +26 -0
- package/es/page-diy/style/preview-phone.css +1 -1
- package/es/page-diy/style/preview-phone.scss +36 -2
- package/es/poster-input/src/component/poster.vue.mjs +1 -1
- package/es/poster-input/src/component/poster.vue2.mjs +13 -13
- package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewAvatar.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewName.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
- package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
- package/es/poster-input/src/poster-input.vue.mjs +1 -1
- package/es/select/src/select.vue.mjs +1 -1
- package/es/style-background-input/src/style-background-input.vue.mjs +1 -1
- package/es/style-border-input/src/style-border-input.vue.mjs +1 -1
- package/es/style-box-input/src/style-box-input.vue.mjs +1 -1
- package/es/style-font-input/src/style-font-input.vue.mjs +1 -1
- package/es/style-input/src/style-input.vue.mjs +1 -1
- package/es/style-number-input/src/style-number-input.vue.mjs +1 -1
- package/es/style-position-input/src/style-position-input.vue.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-content.vue.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue.mjs +1 -1
- package/es/table/src/components/ComSearch.vue.mjs +1 -1
- package/es/table/src/components/FieldRender.vue.mjs +1 -1
- package/es/table/src/components/RecycleDialog.vue.mjs +1 -1
- package/es/table/src/components/RecycleDialog.vue2.mjs +1 -2
- package/es/table/src/components/RecycleDialog.vue2.mjs.map +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/attachment.vue2.js +7 -6
- package/lib/attachment/src/attachment.vue2.js.map +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/index.d.ts +15 -0
- package/lib/dialog/src/dialog.vue.d.ts +9 -0
- package/lib/dialog/src/dialog.vue.js +1 -1
- package/lib/dialog/src/dialog.vue2.js +3 -2
- package/lib/dialog/src/dialog.vue2.js.map +1 -1
- package/lib/dialog/src/props.d.ts +4 -0
- package/lib/dialog/src/props.js +4 -0
- package/lib/dialog/src/props.js.map +1 -1
- package/lib/file-input/src/file-input.vue.js +1 -1
- package/lib/file-input/style/index.css +1 -1
- package/lib/file-input/style/index.scss +2 -0
- package/lib/file-list-input/src/file-list-input.vue.js +1 -1
- package/lib/file-list-input/style/index.css +1 -1
- package/lib/file-list-input/style/index.scss +1 -0
- package/lib/form/src/form.vue.js +1 -1
- package/lib/form/style/index.css +1 -1
- package/lib/form/style/index.scss +7 -3
- package/lib/group/src/group.vue.js +1 -1
- package/lib/hot-area-input/index.d.ts +15 -0
- package/lib/hot-area-input/index.js +14 -0
- package/lib/hot-area-input/index.js.map +1 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.d.ts +24 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.js +11 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue.js.map +1 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js +266 -0
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -0
- package/lib/hot-area-input/src/hot-area-input.vue.d.ts +14 -0
- package/lib/hot-area-input/src/hot-area-input.vue.js +11 -0
- package/lib/hot-area-input/src/hot-area-input.vue.js.map +1 -0
- package/lib/hot-area-input/src/hot-area-input.vue2.js +69 -0
- package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -0
- package/lib/hot-area-input/src/props.d.ts +8 -0
- package/lib/hot-area-input/src/props.js +13 -0
- package/lib/hot-area-input/src/props.js.map +1 -0
- package/lib/hot-area-input/style/index.css +1 -0
- package/lib/hot-area-input/style/index.scss +40 -0
- package/lib/icon/src/icon.vue.js +1 -1
- package/lib/icon-input/src/icon-content.vue.js +1 -1
- package/lib/icon-input/src/icon-dialog.vue.js +1 -1
- package/lib/icon-input/src/icon-input.vue.js +1 -1
- package/lib/image-input/src/image-input.vue.js +1 -1
- package/lib/image-list-input/src/image-list-input.vue.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +148 -142
- package/lib/index.js.map +1 -1
- package/lib/index.scss +1 -62
- package/lib/page-diy/index.d.ts +59 -23
- package/lib/page-diy/index.js +0 -4
- package/lib/page-diy/index.js.map +1 -1
- package/lib/page-diy/src/components/DragBox.vue.js +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
- package/lib/page-diy/src/config/base/dkPage.js +0 -49
- package/lib/page-diy/src/config/base/dkPage.js.map +1 -1
- package/lib/page-diy/src/config/base/dkSetting.js +0 -190
- package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.d.ts +24 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +26 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.d.ts +38 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +47 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.d.ts +115 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js +181 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinSwiperImage.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.d.ts +33 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js +40 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTextarea.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.d.ts +68 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +82 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.d.ts +54 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +56 -0
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/common/index.d.ts +620 -0
- package/lib/page-diy/src/config/rule/min/common/index.js +22 -0
- package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/min/index.d.ts +624 -0
- package/lib/page-diy/src/config/rule/min/index.js +20 -0
- package/lib/page-diy/src/config/rule/min/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkPosterBtn.js +1 -3
- package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewCell.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewCommonBtn.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewGridCellList.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewImage.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewMusic.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewNavBar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewNoticeBar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewSwipe.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewTabbar.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/DkViewTextarea.js.map +1 -0
- package/lib/page-diy/src/config/rule/{common → web/common}/DkViewVideo.js +3 -9
- package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/common/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/{index.d.ts → web/index.d.ts} +2 -2
- package/lib/page-diy/src/config/rule/{index.js → web/index.js} +4 -4
- package/lib/page-diy/src/config/rule/web/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/DkViewTitle.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/col.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/divider.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/index.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/row.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/space.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/swip-item.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/swipe.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/tab.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/tabs.js.map +1 -0
- package/lib/page-diy/src/config/rule/web/layout/vanEmpty.js.map +1 -0
- package/lib/page-diy/src/page-diy.vue.d.ts +59 -23
- package/lib/page-diy/src/page-diy.vue.js +61 -195
- package/lib/page-diy/src/page-diy.vue.js.map +1 -1
- package/lib/page-diy/src/props.d.ts +21 -4
- package/lib/page-diy/src/props.js +28 -6
- package/lib/page-diy/src/props.js.map +1 -1
- package/lib/page-diy/src/utils/help.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinBlank.vue.d.ts +14 -0
- package/lib/page-diy/src/views/min/DkMinBlank.vue.js +32 -0
- package/lib/page-diy/src/views/min/DkMinBlank.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.d.ts +27 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +130 -0
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.d.ts +68 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +90 -0
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.d.ts +14 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +32 -0
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.d.ts +95 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js +66 -0
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.d.ts +54 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.js +90 -0
- package/lib/page-diy/src/views/min/DkMinVideo.vue.js.map +1 -0
- package/lib/page-diy/src/views/min/index.d.ts +2 -0
- package/lib/page-diy/src/views/min/index.js +22 -0
- package/lib/page-diy/src/views/min/index.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewBulletChat.vue.js → web/DkViewBulletChat.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewCell.vue.js → web/DkViewCell.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewCommonBtn.vue.js → web/DkViewCommonBtn.vue.js} +3 -5
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewDialog.vue.js → web/DkViewDialog.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewDialog.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewGridCellList.vue.js → web/DkViewGridCellList.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewImage.vue.js → web/DkViewImage.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewMusic.vue.js → web/DkViewMusic.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewNavBar.vue.js → web/DkViewNavBar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewNavBar.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewNoticeBar.vue.js → web/DkViewNoticeBar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewSwipe.vue.js → web/DkViewSwipe.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewTabbar.vue.js → web/DkViewTabbar.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTabbar.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/DkViewTextarea.vue.d.ts +14 -0
- package/lib/page-diy/src/views/{DkViewTextarea.vue.js → web/DkViewTextarea.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTextarea.vue.js.map +1 -0
- package/lib/page-diy/src/views/{DkViewTitle.vue.js → web/DkViewTitle.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/DkViewVideo.vue.d.ts +54 -0
- package/lib/page-diy/src/views/{DkViewVideo.vue.js → web/DkViewVideo.vue.js} +2 -2
- package/lib/page-diy/src/views/web/DkViewVideo.vue.js.map +1 -0
- package/lib/page-diy/src/views/web/index.d.ts +2 -0
- package/lib/page-diy/src/views/web/index.js.map +1 -0
- package/lib/page-diy/style/drag-tool.css +1 -1
- package/lib/page-diy/style/drag-tool.scss +2 -2
- package/lib/page-diy/style/index.css +1 -1
- package/lib/page-diy/style/index.scss +1 -0
- package/lib/page-diy/style/minViews/index.scss +26 -0
- package/lib/page-diy/style/preview-phone.css +1 -1
- package/lib/page-diy/style/preview-phone.scss +36 -2
- package/lib/poster-input/src/component/poster.vue.js +1 -1
- package/lib/poster-input/src/component/poster.vue2.js +13 -13
- package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewName.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
- package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
- package/lib/poster-input/src/poster-input.vue.js +1 -1
- package/lib/select/src/select.vue.js +1 -1
- package/lib/style-background-input/src/style-background-input.vue.js +1 -1
- package/lib/style-border-input/src/style-border-input.vue.js +1 -1
- package/lib/style-box-input/src/style-box-input.vue.js +1 -1
- package/lib/style-font-input/src/style-font-input.vue.js +1 -1
- package/lib/style-input/src/style-input.vue.js +1 -1
- package/lib/style-number-input/src/style-number-input.vue.js +1 -1
- package/lib/style-position-input/src/style-position-input.vue.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-content.vue.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue.js +1 -1
- package/lib/table/src/components/ComSearch.vue.js +1 -1
- package/lib/table/src/components/FieldRender.vue.js +1 -1
- package/lib/table/src/components/RecycleDialog.vue.js +1 -1
- package/lib/table/src/components/RecycleDialog.vue2.js +1 -2
- package/lib/table/src/components/RecycleDialog.vue2.js.map +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/es/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/es/page-diy/index.d.ts
CHANGED
@@ -1,11 +1,29 @@
|
|
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
|
+
}, {
|
9
27
|
countObj: import("vue").ComputedRef<{}>;
|
10
28
|
diyTree: import("vue").ComputedRef<any[]>;
|
11
29
|
clear(type?: string): void;
|
@@ -96,7 +114,7 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
|
|
96
114
|
activeTab: import("vue").Ref<string>;
|
97
115
|
activeRule: import("vue").Ref<null>;
|
98
116
|
children: import("vue").Ref<never[]>;
|
99
|
-
menuList: import("vue").Ref<any
|
117
|
+
menuList: import("vue").Ref<Record<string, any>>;
|
100
118
|
showBaseRule: import("vue").Ref<boolean>;
|
101
119
|
showDkSettingRule: import("vue").Ref<boolean>;
|
102
120
|
visible: import("vue").Ref<{
|
@@ -227,20 +245,38 @@ export declare const PageDiy: import("@vipl520/utils").WithInstall<import("vue")
|
|
227
245
|
hide: boolean;
|
228
246
|
treeData: never[];
|
229
247
|
}>;
|
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
|
-
|
248
|
+
}, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
249
|
+
type: {
|
250
|
+
type: StringConstructor;
|
251
|
+
default: string;
|
252
|
+
};
|
253
|
+
menu: {
|
254
|
+
type: ObjectConstructor;
|
255
|
+
default: null;
|
256
|
+
};
|
257
|
+
height: {
|
258
|
+
type: StringConstructor;
|
259
|
+
default: string;
|
260
|
+
};
|
261
|
+
config: {
|
262
|
+
type: ObjectConstructor;
|
263
|
+
default: () => {};
|
264
|
+
};
|
265
|
+
mask: {
|
266
|
+
type: StringConstructor;
|
267
|
+
default: undefined;
|
268
|
+
};
|
269
|
+
loading: {
|
270
|
+
type: BooleanConstructor;
|
271
|
+
default: undefined;
|
272
|
+
};
|
273
|
+
}>>, {
|
274
|
+
type: string;
|
275
|
+
config: Record<string, any>;
|
276
|
+
loading: boolean;
|
277
|
+
menu: Record<string, any>;
|
278
|
+
mask: string;
|
279
|
+
height: string;
|
244
280
|
}, {}>>;
|
245
281
|
export default PageDiy;
|
246
282
|
export * from './src/props';
|
package/es/page-diy/index.mjs
CHANGED
@@ -5,7 +5,6 @@ import DragBox from './src/components/DragBox.vue.mjs';
|
|
5
5
|
import { designerForm, viewForm } from './src/utils/form.mjs';
|
6
6
|
import draggable from 'vuedraggable/src/vuedraggable';
|
7
7
|
import './src/utils/index.mjs';
|
8
|
-
import views from './src/views/index.mjs';
|
9
8
|
export { pageDiyProps } from './src/props.mjs';
|
10
9
|
import { uniqueId } from './src/utils/unique.mjs';
|
11
10
|
|
@@ -16,9 +15,6 @@ const addComponent = (id, component) => {
|
|
16
15
|
designerForm.component("Draggable", draggable);
|
17
16
|
designerForm.component("DragTool", DragTool);
|
18
17
|
designerForm.component("DragBox", DragBox);
|
19
|
-
for (const name in views) {
|
20
|
-
designerForm.component(name, views[name]);
|
21
|
-
}
|
22
18
|
designerForm.register("_fc", {
|
23
19
|
init(fc, rule) {
|
24
20
|
rule._id = uniqueId();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","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.mjs","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":["formCreate"],"mappings":";;;;;;;;;;AASA,MAAM,YAAA,GAAe,CAAC,EAAA,EAAS,SAAmB,KAAA;AAChD,EAAa,YAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,EAAWA,QAAA,CAAA,SAAA,CAAU,IAAI,SAAS,CAAA,CAAA;AACpC,CAAA,CAAA;AAEA,YAAa,CAAA,SAAA,CAAU,aAAa,SAAS,CAAA,CAAA;AAC7C,YAAa,CAAA,SAAA,CAAU,YAAY,QAAQ,CAAA,CAAA;AAC3C,YAAa,CAAA,SAAA,CAAU,WAAW,OAAO,CAAA,CAAA;AAMzC,YAAA,CAAa,SAAS,KAAO,EAAA;AAAA,EAC3B,IAAA,CAAK,IAAS,IAAW,EAAA;AACvB,IAAA,IAAA,CAAK,MAAM,QAAS,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;AAED,YAAA,CAAa,SAAS,UAAY,EAAA;AAAA,EAChC,IAAA,CAAK,GAAG,IAAW,EAAA;AACjB,IAAK,IAAA,CAAA,KAAA,CAAM,SAAS,QAAS,EAAA,CAAA;AAAA,GAC/B;AACF,CAAC,CAAA,CAAA;AAED,QAAA,CAAS,UAAa,GAAAA,QAAA,CAAA;AACtB,QAAA,CAAS,YAAe,GAAA,YAAA,CAAA;AACxB,QAAA,CAAS,SAAY,GAAA,YAAA,CAAA;AACR,MAAA,OAAA,GAAU,YAAY,QAAQ;;;;"}
|
@@ -31,7 +31,7 @@ const _sfc_main = defineComponent({
|
|
31
31
|
})
|
32
32
|
},
|
33
33
|
});
|
34
|
-
var DragBox = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
34
|
+
var DragBox = /*#__PURE__*/_export_sfc(_sfc_main, [['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragBox.vue"]]);
|
35
35
|
|
36
36
|
export { DragBox as default };
|
37
37
|
//# sourceMappingURL=DragBox.vue.mjs.map
|
@@ -127,7 +127,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
127
127
|
renderSlot(_ctx.$slots, "default")
|
128
128
|
], 6 /* CLASS, STYLE */))
|
129
129
|
}
|
130
|
-
var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-
|
130
|
+
var DragTool = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\DragTool.vue"]]);
|
131
131
|
|
132
132
|
export { DragTool as default };
|
133
133
|
//# sourceMappingURL=DragTool.vue.mjs.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import _sfc_main from './PreviewPhone.vue2.mjs';
|
2
2
|
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
3
3
|
|
4
|
-
var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
4
|
+
var PreviewPhone = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\page-diy\\src\\components\\PreviewPhone.vue"]]);
|
5
5
|
|
6
6
|
export { PreviewPhone as default };
|
7
7
|
//# sourceMappingURL=PreviewPhone.vue.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreviewPhone.vue2.mjs","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.mjs","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=\"10\" @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})\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 = {}\n if (form.value.showLine) {\n line = {\n '--margin': form.value.margin + 'px',\n '--showDashed': '1px',\n }\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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,eAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,cAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;AAyDD,IAAM,MAAA,GAAA,GAAW,OAAO,KAAK,CAAA,CAAA;AAY7B,IAAA,MAAM,GAAM,GAAA,eAAA,CAAA;AACZ,IAAA,MAAM,QAAa,IAAK,CAAA,KAAA,CAAM,QAAQ,GAAI,CAAA,GAAG,KAAK,IAAI,CAAA,CAAA;AAEtD,IAAA,MAAM,OAAO,GAAI,CAAA;AAAA,MACf,QAAA,EAAU,MAAM,QAAY,IAAA,KAAA;AAAA,MAC5B,MAAA,EAAQ,MAAM,MAAU,IAAA,CAAA;AAAA,KACzB,CAAA,CAAA;AAED,IAAA,MAAM,aAAa,MAAM;AACvB,MAAA,OAAA,CAAQ,IAAI,GAAK,EAAA,IAAA,CAAK,SAAU,CAAA,IAAA,CAAK,KAAK,CAAC,CAAA,CAAA;AAAA,KAC7C,CAAA;AACA,IAAM,MAAA,KAAA,GAAQ,CAAC,IAAA,GAAO,EAAO,KAAA;AAC3B,MAAM,MAAA,EAAE,OAAU,GAAA,GAAA,CAAA;AAClB,MAAA,MAAM,QAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,cAAA;AAAA,QACN,MAAQ,EAAA,cAAA;AAAA,OACV,CAAA;AACA,MAAA,YAAA,CAAa,QAAQ,gCAAU,GAAA,QAAA,CAAS,IAAI,CAAA,GAAI,mCAAU,cAAM,EAAA;AAAA,QAC9D,iBAAmB,EAAA,cAAA;AAAA,QACnB,gBAAkB,EAAA,cAAA;AAAA,QAClB,IAAM,EAAA,SAAA;AAAA,OACP,CACE,CAAA,IAAA,CAAK,MAAM;AACV,QAAA,KAAA,CAAM,MAAM,IAAI,CAAA,CAAA;AAChB,QAAA,SAAA,CAAU,QAAQ,0BAAM,CAAA,CAAA;AAAA,OACzB,CACA,CAAA,KAAA,CAAM,MAAM;AAAA,OAAE,CAAA,CAAA;AAAA,KACnB,CAAA;AACA,IAAM,MAAA,MAAA,GAAS,SAAS,MAAM;AAC5B,MAAA,IAAI,OAAO,EAAC,CAAA;AACZ,MAAI,IAAA,IAAA,CAAK,MAAM,QAAU,EAAA;AACvB,QAAO,IAAA,GAAA;AAAA,UACL,UAAA,EAAY,IAAK,CAAA,KAAA,CAAM,MAAS,GAAA,IAAA;AAAA,UAChC,cAAgB,EAAA,KAAA;AAAA,SAClB,CAAA;AAAA,OACF;AACA,MAAO,OAAA;AAAA,QACL,GAAG,MAAM,UAAW,CAAA,KAAA;AAAA,QACpB,GAAG,IAAA;AAAA,OACL,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAM,MAAA,CAAA,uBAAQ,IAAK,EAAA,CAAA;AACnB,MAAM,MAAA,IAAA,GAAO,EAAE,QAAS,EAAA,CAAA;AACxB,MAAM,MAAA,MAAA,GAAS,EAAE,UAAW,EAAA,CAAA;AAC5B,MAAA,OAAO,OAAO,GAAM,GAAA,MAAA,CAAA;AAAA,KACrB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -7,55 +7,6 @@ function dkPage() {
|
|
7
7
|
title: "",
|
8
8
|
props: {}
|
9
9
|
}
|
10
|
-
// { type: 'DkBoxSizeInput', field: 'padding', value: '0px', title: '内边距' },
|
11
|
-
// { type: 'DkBoxSizeInput', field: 'margin', value: '0px', title: '外边距' },
|
12
|
-
// {
|
13
|
-
// type: 'DkImageInput',
|
14
|
-
// field: 'bg_img',
|
15
|
-
// value: '',
|
16
|
-
// title: '背景图片',
|
17
|
-
// props: { showInput: false },
|
18
|
-
// },
|
19
|
-
// {
|
20
|
-
// type: 'DkColorInput',
|
21
|
-
// field: 'bg_color',
|
22
|
-
// title: '背景色',
|
23
|
-
// value: '#ff7271',
|
24
|
-
// },
|
25
|
-
// {
|
26
|
-
// type: 'elCol',
|
27
|
-
// props: { style: 'margin-bottom:10px' },
|
28
|
-
// children: [
|
29
|
-
// {
|
30
|
-
// type: 'h2',
|
31
|
-
// props: {
|
32
|
-
// contentPosition: 'left',
|
33
|
-
// },
|
34
|
-
// style: 'margin:10px 0px;font-size:14px',
|
35
|
-
// children: ['偏好设置'],
|
36
|
-
// },
|
37
|
-
// {
|
38
|
-
// type: 'p',
|
39
|
-
// props: {},
|
40
|
-
// style: 'margin:10px 0px;color:#999;font-size:12px',
|
41
|
-
// children: ['当前设置仅为了方便diy使用,不会对实际页面有影响'],
|
42
|
-
// },
|
43
|
-
// ],
|
44
|
-
// },
|
45
|
-
// {
|
46
|
-
// type: 'slider',
|
47
|
-
// field: 'border_margin',
|
48
|
-
// title: '模块间距',
|
49
|
-
// value: 0,
|
50
|
-
// props: { min: 0, max: 20 },
|
51
|
-
// // suffix: get_help('方便Diy的时候选择模块,不会对实际页面有影响')
|
52
|
-
// },
|
53
|
-
// {
|
54
|
-
// type: 'switch',
|
55
|
-
// field: 'show_dashed',
|
56
|
-
// title: '显示虚线',
|
57
|
-
// props: { activeValue: 2, inactiveValue: 0 },
|
58
|
-
// },
|
59
10
|
];
|
60
11
|
}
|
61
12
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dkPage.mjs","sources":["../../../../../src/page-diy/src/config/base/dkPage.js"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"dkPage.mjs","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;;;;"}
|
@@ -36,134 +36,6 @@ function dkSetting(rule = null) {
|
|
36
36
|
}
|
37
37
|
]
|
38
38
|
}
|
39
|
-
// {
|
40
|
-
// type: 'el-collapse-item',
|
41
|
-
// props: { name: 'animate' },
|
42
|
-
// children: [
|
43
|
-
// createTitle('动画配置'),
|
44
|
-
// {
|
45
|
-
// type: 'select',
|
46
|
-
// field: 'animate',
|
47
|
-
// value: '',
|
48
|
-
// title: '入场动画',
|
49
|
-
// options: [
|
50
|
-
// { value: '', label: '无' },
|
51
|
-
// { value: 'bounceIn', label: '弹入' },
|
52
|
-
// { value: 'bounceInDown', label: '上边弹入' },
|
53
|
-
// { value: 'bounceInLeft', label: '左边弹入' },
|
54
|
-
// { value: 'bounceInRight', label: '右边弹入' },
|
55
|
-
// { value: 'bounceInUp', label: '下边弹入' },
|
56
|
-
//
|
57
|
-
// { value: 'fadeIn', label: '淡入' },
|
58
|
-
// { value: 'fadeInDown', label: '上边淡入' },
|
59
|
-
// { value: 'fadeInDownBig', label: '最上边淡入' },
|
60
|
-
// { value: 'fadeInLeft', label: '左边淡入' },
|
61
|
-
// { value: 'fadeInLeftBig', label: '最左边淡入' },
|
62
|
-
// { value: 'fadeInRight', label: '右边淡入' },
|
63
|
-
// { value: 'fadeInRightBig', label: '最右边淡入' },
|
64
|
-
// { value: 'fadeInUp', label: '下边淡入' },
|
65
|
-
// { value: 'fadeInUpBig', label: '最下边淡入' },
|
66
|
-
//
|
67
|
-
// { value: 'flipInX', label: 'X轴翻转' },
|
68
|
-
// { value: 'flipInY', label: 'Y轴翻转' },
|
69
|
-
//
|
70
|
-
// { value: 'lightSpeedIn', label: '轻轻呈现' },
|
71
|
-
//
|
72
|
-
// { value: 'rotateIn', label: '旋转进入' },
|
73
|
-
// { value: 'rotateInDownLeft', label: '左上旋入' },
|
74
|
-
// { value: 'rotateInDownRight', label: '右上旋入' },
|
75
|
-
// { value: 'rotateInUpLeft', label: '左下旋入' },
|
76
|
-
// { value: 'rotateInUpRight', label: '右下旋入' },
|
77
|
-
//
|
78
|
-
// { value: 'slideInDown', label: '滑入' },
|
79
|
-
// { value: 'slideInLeft', label: '左滑入' },
|
80
|
-
// { value: 'slideInRight', label: '右滑入' },
|
81
|
-
//
|
82
|
-
// { value: 'zoomInDown', label: '其他' },
|
83
|
-
// ],
|
84
|
-
// },
|
85
|
-
// {
|
86
|
-
// type: 'select',
|
87
|
-
// field: 'loop_animate',
|
88
|
-
// value: '',
|
89
|
-
// title: '循环动画',
|
90
|
-
// options: [
|
91
|
-
// { value: '', label: '无' },
|
92
|
-
// { value: 'bounce', label: '弹跳' },
|
93
|
-
// { value: 'flash', label: '闪动' },
|
94
|
-
// { value: 'pulse', label: '脉冲' },
|
95
|
-
// { value: 'rubberBand', label: '橡皮筋' },
|
96
|
-
// { value: 'shakeX', label: 'X轴摇晃' },
|
97
|
-
// { value: 'shakeY', label: 'Y轴摇晃' },
|
98
|
-
// { value: 'headShake', label: '摇头' },
|
99
|
-
// { value: 'swing', label: '摆动' },
|
100
|
-
// { value: 'tada', label: '缩放摆动' },
|
101
|
-
// { value: 'wobble', label: '大幅摇晃' },
|
102
|
-
// { value: 'jello', label: '果冻效果' },
|
103
|
-
// { value: 'heartBeat', label: '心跳' },
|
104
|
-
// ],
|
105
|
-
// control: [
|
106
|
-
// {
|
107
|
-
// handle(val) {
|
108
|
-
// return val !== ''
|
109
|
-
// },
|
110
|
-
// rule: [
|
111
|
-
// {
|
112
|
-
// type: 'switch',
|
113
|
-
// field: 'animation_preview',
|
114
|
-
// title: '实时预览',
|
115
|
-
// value: true,
|
116
|
-
// effect: {
|
117
|
-
// help: '设置当前组件循环动画实时预览,当前仅为调试项',
|
118
|
-
// },
|
119
|
-
// },
|
120
|
-
// {
|
121
|
-
// type: 'InputNumber',
|
122
|
-
// field: 'animation_duration',
|
123
|
-
// title: '动画时间',
|
124
|
-
// value: 1,
|
125
|
-
// props: { step: 0.1, min: 0.1, max: 20 },
|
126
|
-
// effect: {
|
127
|
-
// help: '设置当前组件每次完成动画所花费的时间',
|
128
|
-
// },
|
129
|
-
// },
|
130
|
-
// {
|
131
|
-
// type: 'InputNumber',
|
132
|
-
// field: 'animation_iteration_count',
|
133
|
-
// title: '循环次数',
|
134
|
-
// value: 0,
|
135
|
-
// props: { step: 1, min: 0 },
|
136
|
-
// effect: {
|
137
|
-
// help: '设置当前组件循环次数,0表示无限循环',
|
138
|
-
// },
|
139
|
-
// },
|
140
|
-
// ],
|
141
|
-
// },
|
142
|
-
// ],
|
143
|
-
// effect: {
|
144
|
-
// help: '设置循环动画后入场动画将不生效',
|
145
|
-
// },
|
146
|
-
// },
|
147
|
-
// ],
|
148
|
-
// },
|
149
|
-
// {
|
150
|
-
// type: 'el-collapse-item',
|
151
|
-
// props: { name: 'other' },
|
152
|
-
// children: [
|
153
|
-
// createTitle('其他配置'),
|
154
|
-
// {
|
155
|
-
// type: 'input',
|
156
|
-
// field: 'customStyle',
|
157
|
-
// title: '自定义CSS',
|
158
|
-
// props: { type: 'textarea' },
|
159
|
-
// style: 'width:100%',
|
160
|
-
// effect: {
|
161
|
-
// help: '设置当前组件的自定义Css样式,如:我们想改变当前元素的背景色和文字大小:background: #000;font-size:18px;',
|
162
|
-
// },
|
163
|
-
// },
|
164
|
-
// ],
|
165
|
-
// },
|
166
|
-
// 悬浮配置 collapseFixed 判断后添加到这里
|
167
39
|
]
|
168
40
|
}
|
169
41
|
];
|
@@ -193,68 +65,6 @@ function dkSetting(rule = null) {
|
|
193
65
|
}
|
194
66
|
]
|
195
67
|
}
|
196
|
-
// {
|
197
|
-
// type: 'select',
|
198
|
-
// field: 'position',
|
199
|
-
// value: '',
|
200
|
-
// title: '悬浮位置',
|
201
|
-
// options: [
|
202
|
-
// { value: '', label: '不悬浮' },
|
203
|
-
// { value: 'custom', label: '自定义定位' },
|
204
|
-
// { value: 'right-top', label: '右上角' },
|
205
|
-
// { value: 'right-down', label: '右下角' },
|
206
|
-
// { value: 'left-top', label: '左上角' },
|
207
|
-
// { value: 'left-down', label: '左下角' },
|
208
|
-
// { value: 'center-down', label: '底部居中' },
|
209
|
-
// { value: 'center-top', label: '顶部居中' },
|
210
|
-
// ],
|
211
|
-
// effect: {
|
212
|
-
// help: '设置组件悬浮位置,可选择自定义和内置的,如果是内置的,可以通过设置组件的内外边距来调整位置',
|
213
|
-
// },
|
214
|
-
// control: [
|
215
|
-
// {
|
216
|
-
// value: 'custom',
|
217
|
-
// rule: [
|
218
|
-
// {
|
219
|
-
// title: '距离上',
|
220
|
-
// value: '',
|
221
|
-
// type: 'DkDragNumberInput',
|
222
|
-
// wrap: { labelWidth: '55px' },
|
223
|
-
// field: 'top',
|
224
|
-
// props: { direction: 'vertical', icon: 'el-icon-arrow-up' },
|
225
|
-
// col: { span: 11 },
|
226
|
-
// },
|
227
|
-
// {
|
228
|
-
// title: '距离右',
|
229
|
-
// value: '',
|
230
|
-
// type: 'DkDragNumberInput',
|
231
|
-
// wrap: { labelWidth: '55px' },
|
232
|
-
// field: 'right',
|
233
|
-
// props: { icon: 'el-icon-arrow-right' },
|
234
|
-
// col: { span: 11, offset: 2 },
|
235
|
-
// },
|
236
|
-
// {
|
237
|
-
// title: '距离下',
|
238
|
-
// value: '',
|
239
|
-
// type: 'DkDragNumberInput',
|
240
|
-
// wrap: { labelWidth: '55px' },
|
241
|
-
// field: 'bottom',
|
242
|
-
// props: { direction: 'vertical', icon: 'el-icon-arrow-down' },
|
243
|
-
// col: { span: 11 },
|
244
|
-
// },
|
245
|
-
// {
|
246
|
-
// title: '距离左',
|
247
|
-
// value: '',
|
248
|
-
// type: 'DkDragNumberInput',
|
249
|
-
// wrap: { labelWidth: '55px' },
|
250
|
-
// field: 'left',
|
251
|
-
// props: { icon: 'el-icon-arrow-left' },
|
252
|
-
// col: { span: 11, offset: 2 },
|
253
|
-
// },
|
254
|
-
// ],
|
255
|
-
// },
|
256
|
-
// ],
|
257
|
-
// },
|
258
68
|
];
|
259
69
|
const collapseFixed = {
|
260
70
|
type: "el-collapse-item",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["function createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style:\n 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style:\n 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n // {\n // type: 'el-collapse-item',\n // props: { name: 'animate' },\n // children: [\n // createTitle('动画配置'),\n // {\n // type: 'select',\n // field: 'animate',\n // value: '',\n // title: '入场动画',\n // options: [\n // { value: '', label: '无' },\n // { value: 'bounceIn', label: '弹入' },\n // { value: 'bounceInDown', label: '上边弹入' },\n // { value: 'bounceInLeft', label: '左边弹入' },\n // { value: 'bounceInRight', label: '右边弹入' },\n // { value: 'bounceInUp', label: '下边弹入' },\n //\n // { value: 'fadeIn', label: '淡入' },\n // { value: 'fadeInDown', label: '上边淡入' },\n // { value: 'fadeInDownBig', label: '最上边淡入' },\n // { value: 'fadeInLeft', label: '左边淡入' },\n // { value: 'fadeInLeftBig', label: '最左边淡入' },\n // { value: 'fadeInRight', label: '右边淡入' },\n // { value: 'fadeInRightBig', label: '最右边淡入' },\n // { value: 'fadeInUp', label: '下边淡入' },\n // { value: 'fadeInUpBig', label: '最下边淡入' },\n //\n // { value: 'flipInX', label: 'X轴翻转' },\n // { value: 'flipInY', label: 'Y轴翻转' },\n //\n // { value: 'lightSpeedIn', label: '轻轻呈现' },\n //\n // { value: 'rotateIn', label: '旋转进入' },\n // { value: 'rotateInDownLeft', label: '左上旋入' },\n // { value: 'rotateInDownRight', label: '右上旋入' },\n // { value: 'rotateInUpLeft', label: '左下旋入' },\n // { value: 'rotateInUpRight', label: '右下旋入' },\n //\n // { value: 'slideInDown', label: '滑入' },\n // { value: 'slideInLeft', label: '左滑入' },\n // { value: 'slideInRight', label: '右滑入' },\n //\n // { value: 'zoomInDown', label: '其他' },\n // ],\n // },\n // {\n // type: 'select',\n // field: 'loop_animate',\n // value: '',\n // title: '循环动画',\n // options: [\n // { value: '', label: '无' },\n // { value: 'bounce', label: '弹跳' },\n // { value: 'flash', label: '闪动' },\n // { value: 'pulse', label: '脉冲' },\n // { value: 'rubberBand', label: '橡皮筋' },\n // { value: 'shakeX', label: 'X轴摇晃' },\n // { value: 'shakeY', label: 'Y轴摇晃' },\n // { value: 'headShake', label: '摇头' },\n // { value: 'swing', label: '摆动' },\n // { value: 'tada', label: '缩放摆动' },\n // { value: 'wobble', label: '大幅摇晃' },\n // { value: 'jello', label: '果冻效果' },\n // { value: 'heartBeat', label: '心跳' },\n // ],\n // control: [\n // {\n // handle(val) {\n // return val !== ''\n // },\n // rule: [\n // {\n // type: 'switch',\n // field: 'animation_preview',\n // title: '实时预览',\n // value: true,\n // effect: {\n // help: '设置当前组件循环动画实时预览,当前仅为调试项',\n // },\n // },\n // {\n // type: 'InputNumber',\n // field: 'animation_duration',\n // title: '动画时间',\n // value: 1,\n // props: { step: 0.1, min: 0.1, max: 20 },\n // effect: {\n // help: '设置当前组件每次完成动画所花费的时间',\n // },\n // },\n // {\n // type: 'InputNumber',\n // field: 'animation_iteration_count',\n // title: '循环次数',\n // value: 0,\n // props: { step: 1, min: 0 },\n // effect: {\n // help: '设置当前组件循环次数,0表示无限循环',\n // },\n // },\n // ],\n // },\n // ],\n // effect: {\n // help: '设置循环动画后入场动画将不生效',\n // },\n // },\n // ],\n // },\n // {\n // type: 'el-collapse-item',\n // props: { name: 'other' },\n // children: [\n // createTitle('其他配置'),\n // {\n // type: 'input',\n // field: 'customStyle',\n // title: '自定义CSS',\n // props: { type: 'textarea' },\n // style: 'width:100%',\n // effect: {\n // help: '设置当前组件的自定义Css样式,如:我们想改变当前元素的背景色和文字大小:background: #000;font-size:18px;',\n // },\n // },\n // ],\n // },\n // 悬浮配置 collapseFixed 判断后添加到这里\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n // {\n // type: 'select',\n // field: 'position',\n // value: '',\n // title: '悬浮位置',\n // options: [\n // { value: '', label: '不悬浮' },\n // { value: 'custom', label: '自定义定位' },\n // { value: 'right-top', label: '右上角' },\n // { value: 'right-down', label: '右下角' },\n // { value: 'left-top', label: '左上角' },\n // { value: 'left-down', label: '左下角' },\n // { value: 'center-down', label: '底部居中' },\n // { value: 'center-top', label: '顶部居中' },\n // ],\n // effect: {\n // help: '设置组件悬浮位置,可选择自定义和内置的,如果是内置的,可以通过设置组件的内外边距来调整位置',\n // },\n // control: [\n // {\n // value: 'custom',\n // rule: [\n // {\n // title: '距离上',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'top',\n // props: { direction: 'vertical', icon: 'el-icon-arrow-up' },\n // col: { span: 11 },\n // },\n // {\n // title: '距离右',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'right',\n // props: { icon: 'el-icon-arrow-right' },\n // col: { span: 11, offset: 2 },\n // },\n // {\n // title: '距离下',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'bottom',\n // props: { direction: 'vertical', icon: 'el-icon-arrow-down' },\n // col: { span: 11 },\n // },\n // {\n // title: '距离左',\n // value: '',\n // type: 'DkDragNumberInput',\n // wrap: { labelWidth: '55px' },\n // field: 'left',\n // props: { icon: 'el-icon-arrow-left' },\n // col: { span: 11, offset: 2 },\n // },\n // ],\n // },\n // ],\n // },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"AAAA,SAAS,YAAY,KAAO,EAAA;AAC1B,EAAO,OAAA;AAAA,IACL,IAAM,EAAA,IAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,KACE,EAAA,uFAAA;AAAA,IACF,QAAU,EAAA;AAAA,MACR;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,KACE,EAAA,6FAAA;AAAA,OACJ;AAAA,MACA,EAAE,IAAM,EAAA,MAAA,EAAQ,QAAU,EAAA,CAAC,KAAK,CAAE,EAAA;AAAA,KACpC;AAAA,GACF,CAAA;AACF,CAAA;AACwB,SAAA,SAAA,CAAU,OAAO,IAAM,EAAA;AAC7C,EAAA,MAAM,IAAO,GAAA;AAAA,IACX;AAAA,MACE,IAAM,EAAA,aAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,UAAY,EAAA,MAAA;AAAA,OACd;AAAA,MACA,KAAO,EAAA,YAAA;AAAA,MACP,QAAU,EAAA;AAAA;AAAA,QAER;AAAA,UACE,IAAM,EAAA,kBAAA;AAAA,UACN,KAAA,EAAO,EAAE,IAAA,EAAM,MAAO,EAAA;AAAA,UAEtB,QAAU,EAAA;AAAA,YACR,YAAY,0BAAM,CAAA;AAAA,YAClB;AAAA,cACE,IAAM,EAAA,cAAA;AAAA,cACN,KAAO,EAAA,OAAA;AAAA,cACP,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,EAAA;AAAA,cACP,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAI,EAAA;AAAA,aACvB;AAAA,WACF;AAAA,SACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAiIF;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,IAAM,EAAA;AACR,IAAA,IAAI,IAAK,CAAA,MAAA,CAAO,MAAO,CAAA,IAAA,GAAO,KAAO,EAAA;AACnC,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,YAAY,0BAAM,CAAA;AAAA,QAClB;AAAA,UACE,IAAM,EAAA,QAAA;AAAA,UACN,KAAO,EAAA,aAAA;AAAA,UACP,KAAO,EAAA,KAAA;AAAA,UACP,KAAO,EAAA,0BAAA;AAAA,UACP,MAAQ,EAAA;AAAA,YACN,IAAM,EAAA,8DAAA;AAAA,WACR;AAAA,UACA,OAAS,EAAA;AAAA,YACP;AAAA,cACE,KAAO,EAAA,IAAA;AAAA,cACP,IAAM,EAAA;AAAA,gBACJ;AAAA,kBACE,IAAM,EAAA,sBAAA;AAAA,kBACN,KAAO,EAAA,UAAA;AAAA,kBACP,OAAO,EAAC;AAAA,kBACR,KAAO,EAAA,EAAA;AAAA,iBACT;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OA+DF,CAAA;AACA,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,kBAAA;AAAA,QACN,KAAA,EAAO,EAAE,IAAA,EAAM,OAAQ,EAAA;AAAA,QACvB,QAAU,EAAA,aAAA;AAAA,OACZ,CAAA;AACA,MAAA,IAAA,CAAK,CAAC,CAAA,CAAE,QAAS,CAAA,IAAA,CAAK,aAAa,CAAA,CAAA;AAAA,KACrC;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT;;;;"}
|
1
|
+
{"version":3,"file":"dkSetting.mjs","sources":["../../../../../src/page-diy/src/config/base/dkSetting.js"],"sourcesContent":["function createTitle(title) {\n return {\n type: 'h2',\n slot: 'title',\n style: 'display: flex;align-items: center;font-size: 14px;font-weight: 600;margin:0;padding:0',\n children: [\n {\n type: 'em',\n style: 'width: 6px; height: 18px; background: rgb(64, 158, 255); display: block; margin-right: 5px;',\n },\n { type: 'span', children: [title] },\n ],\n }\n}\nexport default function dkSetting(rule = null) {\n const form = [\n {\n type: 'el-collapse',\n props: {\n modelValue: 'base',\n },\n style: 'width:100%',\n children: [\n // 基础配置\n {\n type: 'el-collapse-item',\n props: { name: 'base' },\n\n children: [\n createTitle('基础配置'),\n {\n type: 'DkStyleInput',\n field: 'style',\n value: {},\n title: '',\n props: { height: 180 },\n },\n ],\n },\n ],\n },\n ]\n // 判断是否允许开启悬浮\n if (rule) {\n if (rule.config.config.rule().fixed) {\n const fixedChildren = [\n createTitle('悬浮配置'),\n {\n type: 'switch',\n field: 'is_position',\n value: false,\n title: '开启悬浮',\n effect: {\n help: '设置组件是否开启悬浮',\n },\n control: [\n {\n value: true,\n rule: [\n {\n type: 'DkStylePositionInput',\n field: 'position',\n value: {},\n title: '',\n },\n ],\n },\n ],\n },\n ]\n const collapseFixed = {\n type: 'el-collapse-item',\n props: { name: 'fixed' },\n children: fixedChildren,\n }\n form[0].children.push(collapseFixed)\n }\n }\n return form\n}\n"],"names":[],"mappings":"AAAA,SAAS,YAAY,KAAO,EAAA;AAC1B,EAAO,OAAA;AAAA,IACL,IAAM,EAAA,IAAA;AAAA,IACN,IAAM,EAAA,OAAA;AAAA,IACN,KAAO,EAAA,uFAAA;AAAA,IACP,QAAU,EAAA;AAAA,MACR;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,KAAO,EAAA,6FAAA;AAAA,OACT;AAAA,MACA,EAAE,IAAM,EAAA,MAAA,EAAQ,QAAU,EAAA,CAAC,KAAK,CAAE,EAAA;AAAA,KACpC;AAAA,GACF,CAAA;AACF,CAAA;AACwB,SAAA,SAAA,CAAU,OAAO,IAAM,EAAA;AAC7C,EAAA,MAAM,IAAO,GAAA;AAAA,IACX;AAAA,MACE,IAAM,EAAA,aAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,UAAY,EAAA,MAAA;AAAA,OACd;AAAA,MACA,KAAO,EAAA,YAAA;AAAA,MACP,QAAU,EAAA;AAAA;AAAA,QAER;AAAA,UACE,IAAM,EAAA,kBAAA;AAAA,UACN,KAAA,EAAO,EAAE,IAAA,EAAM,MAAO,EAAA;AAAA,UAEtB,QAAU,EAAA;AAAA,YACR,YAAY,0BAAM,CAAA;AAAA,YAClB;AAAA,cACE,IAAM,EAAA,cAAA;AAAA,cACN,KAAO,EAAA,OAAA;AAAA,cACP,OAAO,EAAC;AAAA,cACR,KAAO,EAAA,EAAA;AAAA,cACP,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAI,EAAA;AAAA,aACvB;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,IAAM,EAAA;AACR,IAAA,IAAI,IAAK,CAAA,MAAA,CAAO,MAAO,CAAA,IAAA,GAAO,KAAO,EAAA;AACnC,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,YAAY,0BAAM,CAAA;AAAA,QAClB;AAAA,UACE,IAAM,EAAA,QAAA;AAAA,UACN,KAAO,EAAA,aAAA;AAAA,UACP,KAAO,EAAA,KAAA;AAAA,UACP,KAAO,EAAA,0BAAA;AAAA,UACP,MAAQ,EAAA;AAAA,YACN,IAAM,EAAA,8DAAA;AAAA,WACR;AAAA,UACA,OAAS,EAAA;AAAA,YACP;AAAA,cACE,KAAO,EAAA,IAAA;AAAA,cACP,IAAM,EAAA;AAAA,gBACJ;AAAA,kBACE,IAAM,EAAA,sBAAA;AAAA,kBACN,KAAO,EAAA,UAAA;AAAA,kBACP,OAAO,EAAC;AAAA,kBACR,KAAO,EAAA,EAAA;AAAA,iBACT;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF,CAAA;AACA,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,IAAM,EAAA,kBAAA;AAAA,QACN,KAAA,EAAO,EAAE,IAAA,EAAM,OAAQ,EAAA;AAAA,QACvB,QAAU,EAAA,aAAA;AAAA,OACZ,CAAA;AACA,MAAA,IAAA,CAAK,CAAC,CAAA,CAAE,QAAS,CAAA,IAAA,CAAK,aAAa,CAAA,CAAA;AAAA,KACrC;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT;;;;"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
export let icon: string;
|
3
|
+
export { label };
|
4
|
+
export { name };
|
5
|
+
export function rule(): {
|
6
|
+
type: string;
|
7
|
+
props: {
|
8
|
+
height: string;
|
9
|
+
};
|
10
|
+
showStyle: boolean;
|
11
|
+
};
|
12
|
+
export function props(): {
|
13
|
+
type: string;
|
14
|
+
field: string;
|
15
|
+
title: string;
|
16
|
+
value: number;
|
17
|
+
effect: {
|
18
|
+
help: string;
|
19
|
+
};
|
20
|
+
}[];
|
21
|
+
}
|
22
|
+
export default _default;
|
23
|
+
declare const label: "空白";
|
24
|
+
declare const name: "DkMinBlank";
|