@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
@@ -0,0 +1,266 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var vue = require('vue');
|
6
|
+
var Vue3DraggableResizable = require('vue3-draggable-resizable');
|
7
|
+
|
8
|
+
const _hoisted_1 = { class: "hot-area-content" };
|
9
|
+
const _hoisted_2 = { class: "hot-area-draggable" };
|
10
|
+
const _hoisted_3 = {
|
11
|
+
class: "hot-item-content",
|
12
|
+
style: { "position": "relative", "width": "100%", "height": "100%", "background": "#0003" }
|
13
|
+
};
|
14
|
+
const _hoisted_4 = {
|
15
|
+
key: 1,
|
16
|
+
style: { "width": "500px", "height": "500px" }
|
17
|
+
};
|
18
|
+
const _hoisted_5 = { class: "hot-area-form" };
|
19
|
+
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode(
|
20
|
+
"h3",
|
21
|
+
{ style: { "margin-top": "0", "font-size": "16px", "font-weight": "500" } },
|
22
|
+
"\u70ED\u533A\u7BA1\u7406",
|
23
|
+
-1
|
24
|
+
/* HOISTED */
|
25
|
+
);
|
26
|
+
const __default__ = vue.defineComponent({
|
27
|
+
name: "HotAreaContent"
|
28
|
+
});
|
29
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
30
|
+
...__default__,
|
31
|
+
props: {
|
32
|
+
hotDataValue: {
|
33
|
+
default: () => {
|
34
|
+
return {
|
35
|
+
views: [],
|
36
|
+
width: 400,
|
37
|
+
height: 400,
|
38
|
+
background: null
|
39
|
+
};
|
40
|
+
},
|
41
|
+
type: Object
|
42
|
+
}
|
43
|
+
},
|
44
|
+
setup(__props) {
|
45
|
+
const props = __props;
|
46
|
+
const index = vue.ref(0);
|
47
|
+
const hotData = vue.reactive(props.hotDataValue);
|
48
|
+
const addView = () => {
|
49
|
+
if (!Array.isArray(hotData.views)) {
|
50
|
+
hotData.views = [];
|
51
|
+
}
|
52
|
+
hotData.views.push({
|
53
|
+
css: {
|
54
|
+
left: 0,
|
55
|
+
top: 0,
|
56
|
+
width: 80,
|
57
|
+
height: 80,
|
58
|
+
borderRadius: 0,
|
59
|
+
borderColor: "#fff"
|
60
|
+
},
|
61
|
+
url: ""
|
62
|
+
});
|
63
|
+
};
|
64
|
+
const delView = (indexToDelete) => {
|
65
|
+
if (indexToDelete >= 0 && indexToDelete < hotData.views.length) {
|
66
|
+
hotData.views.splice(indexToDelete, 1);
|
67
|
+
}
|
68
|
+
};
|
69
|
+
const onDrag = (p) => {
|
70
|
+
const css = hotData.views[index.value].css;
|
71
|
+
css.left = p.x;
|
72
|
+
css.top = p.y;
|
73
|
+
};
|
74
|
+
const onResize = (p) => {
|
75
|
+
const css = hotData.views[index.value].css;
|
76
|
+
css.left = p.x;
|
77
|
+
css.top = p.y;
|
78
|
+
css.width = p.w;
|
79
|
+
css.height = p.h;
|
80
|
+
};
|
81
|
+
vue.onMounted(() => {
|
82
|
+
resetSize();
|
83
|
+
});
|
84
|
+
vue.watch(
|
85
|
+
() => hotData?.background,
|
86
|
+
() => {
|
87
|
+
resetSize();
|
88
|
+
}
|
89
|
+
);
|
90
|
+
const resetSize = () => {
|
91
|
+
if (hotData.background) {
|
92
|
+
getImageSize(hotData.background).then((image) => {
|
93
|
+
hotData.width = 500;
|
94
|
+
hotData.height = image.height * 500 / image.width;
|
95
|
+
setTimeout(() => {
|
96
|
+
}, 200);
|
97
|
+
}).catch(() => {
|
98
|
+
});
|
99
|
+
}
|
100
|
+
};
|
101
|
+
const getImageSize = (url) => {
|
102
|
+
return new Promise(function(resolve, reject) {
|
103
|
+
const image = new Image();
|
104
|
+
image.onload = function() {
|
105
|
+
resolve({
|
106
|
+
width: image.width,
|
107
|
+
height: image.height
|
108
|
+
});
|
109
|
+
};
|
110
|
+
image.onerror = function() {
|
111
|
+
reject(new Error("error"));
|
112
|
+
};
|
113
|
+
image.src = url;
|
114
|
+
});
|
115
|
+
};
|
116
|
+
return (_ctx, _cache) => {
|
117
|
+
const _component_el_empty = vue.resolveComponent("el-empty");
|
118
|
+
const _component_dk_image_input = vue.resolveComponent("dk-image-input");
|
119
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
120
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
121
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
122
|
+
const _component_el_form = vue.resolveComponent("el-form");
|
123
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
124
|
+
vue.createElementVNode("div", _hoisted_2, [
|
125
|
+
hotData.background ? (vue.openBlock(), vue.createElementBlock(
|
126
|
+
"div",
|
127
|
+
{
|
128
|
+
key: 0,
|
129
|
+
style: vue.normalizeStyle([{
|
130
|
+
width: hotData.width + "px",
|
131
|
+
height: hotData.height + "px",
|
132
|
+
backgroundImage: "url(" + hotData.background + ")"
|
133
|
+
}, { "background-size": "100% 100%" }]),
|
134
|
+
onContextmenu: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
135
|
+
}, ["prevent"]))
|
136
|
+
},
|
137
|
+
[
|
138
|
+
(vue.openBlock(true), vue.createElementBlock(
|
139
|
+
vue.Fragment,
|
140
|
+
null,
|
141
|
+
vue.renderList(hotData.views, (item, key) => {
|
142
|
+
return vue.openBlock(), vue.createBlock(vue.unref(Vue3DraggableResizable), {
|
143
|
+
key,
|
144
|
+
ref_for: true,
|
145
|
+
ref: "draggables",
|
146
|
+
h: item.css.height,
|
147
|
+
"onUpdate:h": ($event) => item.css.height = $event,
|
148
|
+
x: item.css.left,
|
149
|
+
"onUpdate:x": ($event) => item.css.left = $event,
|
150
|
+
y: item.css.top,
|
151
|
+
"onUpdate:y": ($event) => item.css.top = $event,
|
152
|
+
w: item.css.width,
|
153
|
+
"onUpdate:w": ($event) => item.css.width = $event,
|
154
|
+
"init-w": item.css.width,
|
155
|
+
"init-h": item.css.height,
|
156
|
+
parent: true,
|
157
|
+
style: { "cursor": "move" },
|
158
|
+
"min-width": 20,
|
159
|
+
"min-height": 20,
|
160
|
+
onResizing: onResize,
|
161
|
+
onDragging: onDrag,
|
162
|
+
onMousedown: ($event) => index.value = key
|
163
|
+
}, {
|
164
|
+
default: vue.withCtx(() => [
|
165
|
+
vue.createElementVNode(
|
166
|
+
"div",
|
167
|
+
_hoisted_3,
|
168
|
+
vue.toDisplayString(key + 1),
|
169
|
+
1
|
170
|
+
/* TEXT */
|
171
|
+
)
|
172
|
+
]),
|
173
|
+
_: 2
|
174
|
+
/* DYNAMIC */
|
175
|
+
}, 1032, ["h", "onUpdate:h", "x", "onUpdate:x", "y", "onUpdate:y", "w", "onUpdate:w", "init-w", "init-h", "onMousedown"]);
|
176
|
+
}),
|
177
|
+
128
|
178
|
+
/* KEYED_FRAGMENT */
|
179
|
+
))
|
180
|
+
],
|
181
|
+
36
|
182
|
+
/* STYLE, HYDRATE_EVENTS */
|
183
|
+
)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
184
|
+
vue.createVNode(_component_el_empty, { description: "\u8BF7\u4E0A\u4F20\u56FE\u7247" })
|
185
|
+
]))
|
186
|
+
]),
|
187
|
+
vue.createElementVNode("div", _hoisted_5, [
|
188
|
+
_hoisted_6,
|
189
|
+
vue.createVNode(_component_el_form, {
|
190
|
+
"label-width": "80px",
|
191
|
+
"label-position": "left"
|
192
|
+
}, {
|
193
|
+
default: vue.withCtx(() => [
|
194
|
+
vue.createVNode(_component_el_form_item, { label: "\u80CC\u666F\u56FE " }, {
|
195
|
+
default: vue.withCtx(() => [
|
196
|
+
vue.createVNode(_component_dk_image_input, {
|
197
|
+
modelValue: hotData.background,
|
198
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => hotData.background = $event)
|
199
|
+
}, null, 8, ["modelValue"])
|
200
|
+
]),
|
201
|
+
_: 1
|
202
|
+
/* STABLE */
|
203
|
+
}),
|
204
|
+
(vue.openBlock(true), vue.createElementBlock(
|
205
|
+
vue.Fragment,
|
206
|
+
null,
|
207
|
+
vue.renderList(hotData.views, (item, key) => {
|
208
|
+
return vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
209
|
+
key,
|
210
|
+
label: "\u70ED\u533A" + (key + 1)
|
211
|
+
}, {
|
212
|
+
default: vue.withCtx(() => [
|
213
|
+
vue.createVNode(_component_el_input, {
|
214
|
+
modelValue: hotData.views[key].url,
|
215
|
+
"onUpdate:modelValue": ($event) => hotData.views[key].url = $event,
|
216
|
+
placeholder: "\u586B\u5199\u8DF3\u8F6C\u5730\u5740"
|
217
|
+
}, {
|
218
|
+
append: vue.withCtx(() => [
|
219
|
+
vue.createVNode(_component_el_button, {
|
220
|
+
onClick: ($event) => delView(key)
|
221
|
+
}, {
|
222
|
+
default: vue.withCtx(() => [
|
223
|
+
vue.createTextVNode("\u5220\u9664")
|
224
|
+
]),
|
225
|
+
_: 2
|
226
|
+
/* DYNAMIC */
|
227
|
+
}, 1032, ["onClick"])
|
228
|
+
]),
|
229
|
+
_: 2
|
230
|
+
/* DYNAMIC */
|
231
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
232
|
+
]),
|
233
|
+
_: 2
|
234
|
+
/* DYNAMIC */
|
235
|
+
}, 1032, ["label"]);
|
236
|
+
}),
|
237
|
+
128
|
238
|
+
/* KEYED_FRAGMENT */
|
239
|
+
))
|
240
|
+
]),
|
241
|
+
_: 1
|
242
|
+
/* STABLE */
|
243
|
+
}),
|
244
|
+
vue.createVNode(_component_el_button, {
|
245
|
+
disabled: !hotData.background,
|
246
|
+
type: "primary",
|
247
|
+
onClick: _cache[2] || (_cache[2] = ($event) => addView())
|
248
|
+
}, {
|
249
|
+
default: vue.withCtx(() => [
|
250
|
+
vue.createTextVNode(
|
251
|
+
vue.toDisplayString(hotData.background ? "\u6DFB\u52A0\u70ED\u533A" : "\u8BF7\u5148\u4E0A\u4F20\u56FE\u7247"),
|
252
|
+
1
|
253
|
+
/* TEXT */
|
254
|
+
)
|
255
|
+
]),
|
256
|
+
_: 1
|
257
|
+
/* STABLE */
|
258
|
+
}, 8, ["disabled"])
|
259
|
+
])
|
260
|
+
]);
|
261
|
+
};
|
262
|
+
}
|
263
|
+
});
|
264
|
+
|
265
|
+
exports.default = _sfc_main;
|
266
|
+
//# sourceMappingURL=hot-area-content.vue2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hot-area-content.vue2.js","sources":["../../../../src/hot-area-input/src/component/hot-area-content.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'HotAreaContent',\n});\n</script>\n<template>\n <div class=\"hot-area-content\">\n <div class=\"hot-area-draggable\">\n <div\n v-if=\"hotData.background\"\n :style=\"{\n width: hotData.width + 'px',\n height: hotData.height + 'px',\n backgroundImage: 'url(' + hotData.background + ')',\n }\"\n style=\"background-size: 100% 100%\"\n @contextmenu.prevent\n >\n <vue3-draggable-resizable\n v-for=\"(item, key) in hotData.views\"\n :key=\"key\"\n ref=\"draggables\"\n v-model:h=\"item.css.height\"\n v-model:x=\"item.css.left\"\n v-model:y=\"item.css.top\"\n v-model:w=\"item.css.width\"\n :init-w=\"item.css.width\"\n :init-h=\"item.css.height\"\n :parent=\"true\"\n style=\"cursor: move\"\n :min-width=\"20\"\n :min-height=\"20\"\n @resizing=\"onResize\"\n @dragging=\"onDrag\"\n @mousedown=\"index = key\"\n >\n <div class=\"hot-item-content\" style=\"position: relative; width: 100%; height: 100%; background: #0003\">\n {{ key + 1 }}\n </div>\n </vue3-draggable-resizable>\n </div>\n <div v-else style=\"width: 500px; height: 500px\">\n <el-empty description=\"请上传图片\"></el-empty>\n </div>\n </div>\n <div class=\"hot-area-form\">\n <h3 style=\"margin-top: 0; font-size: 16px; font-weight: 500\">热区管理</h3>\n <el-form label-width=\"80px\" label-position=\"left\">\n <el-form-item label=\"背景图 \">\n <dk-image-input v-model=\"hotData.background\" />\n </el-form-item>\n <el-form-item v-for=\"(item, key) in hotData.views\" :key=\"key\" :label=\"'热区' + (key + 1)\">\n <el-input v-model=\"hotData.views[key].url\" placeholder=\"填写跳转地址\">\n <template #append>\n <el-button @click=\"delView(key)\">删除</el-button>\n </template>\n </el-input>\n </el-form-item>\n </el-form>\n <el-button :disabled=\"!hotData.background\" type=\"primary\" @click=\"addView()\">{{\n hotData.background ? '添加热区' : '请先上传图片'\n }}</el-button>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport Vue3DraggableResizable, { DraggableContainer } from 'vue3-draggable-resizable'\nimport { reactive, ref, watch, onMounted } from 'vue'\n\n\nconst props = defineProps({\n hotDataValue: {\n default: () => {\n return {\n views: [],\n width: 400,\n height: 400,\n background: null,\n }\n },\n type: Object,\n },\n})\nconst index = ref(0)\nconst hotData = reactive(props.hotDataValue)\nconst addView = () => {\n // 这里hotData可以能没有views,如果没有就添加上views\n if (!Array.isArray(hotData.views)) {\n hotData.views = []\n }\n hotData.views.push({\n css: {\n left: 0,\n top: 0,\n width: 80,\n height: 80,\n borderRadius: 0,\n borderColor: '#fff',\n },\n url: '',\n })\n}\n\nconst delView = (indexToDelete: any) => {\n if (indexToDelete >= 0 && indexToDelete < hotData.views.length) {\n hotData.views.splice(indexToDelete, 1)\n }\n}\n\nconst onDrag = (p: any) => {\n const css = hotData.views[index.value].css\n css.left = p.x\n css.top = p.y\n}\nconst onResize = (p: any) => {\n const css = hotData.views[index.value].css\n css.left = p.x\n css.top = p.y\n css.width = p.w\n css.height = p.h\n}\n\nonMounted(() => {\n resetSize()\n})\n\nwatch(\n () => hotData?.background,\n () => {\n resetSize()\n }\n)\n\nconst resetSize = () => {\n if (hotData.background) {\n getImageSize(hotData.background)\n .then((image: any) => {\n hotData.width = 500\n hotData.height = (image.height * 500) / image.width\n setTimeout(() => {\n // checkParentSize()\n }, 200)\n })\n .catch(() => {})\n }\n}\n\nconst getImageSize = (url: any) => {\n return new Promise(function (resolve, reject) {\n const image = new Image()\n image.onload = function () {\n resolve({\n width: image.width,\n height: image.height,\n })\n }\n image.onerror = function () {\n reject(new Error('error'))\n }\n image.src = url\n })\n}\n</script>\n"],"names":["__MACROS_defineComponent","ref","reactive","onMounted","watch"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,gBAAA;AACR,CAAC,CAAA,CAAA;;;;;;;;;;;;;;;;;;AAgFD,IAAM,MAAA,KAAA,GAAQC,QAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,OAAA,GAAUC,YAAS,CAAA,KAAA,CAAM,YAAY,CAAA,CAAA;AAC3C,IAAA,MAAM,UAAU,MAAM;AAEpB,MAAA,IAAI,CAAC,KAAA,CAAM,OAAQ,CAAA,OAAA,CAAQ,KAAK,CAAG,EAAA;AACjC,QAAA,OAAA,CAAQ,QAAQ,EAAC,CAAA;AAAA,OACnB;AACA,MAAA,OAAA,CAAQ,MAAM,IAAK,CAAA;AAAA,QACjB,GAAK,EAAA;AAAA,UACH,IAAM,EAAA,CAAA;AAAA,UACN,GAAK,EAAA,CAAA;AAAA,UACL,KAAO,EAAA,EAAA;AAAA,UACP,MAAQ,EAAA,EAAA;AAAA,UACR,YAAc,EAAA,CAAA;AAAA,UACd,WAAa,EAAA,MAAA;AAAA,SACf;AAAA,QACA,GAAK,EAAA,EAAA;AAAA,OACN,CAAA,CAAA;AAAA,KACH,CAAA;AAEA,IAAM,MAAA,OAAA,GAAU,CAAC,aAAuB,KAAA;AACtC,MAAA,IAAI,aAAiB,IAAA,CAAA,IAAK,aAAgB,GAAA,OAAA,CAAQ,MAAM,MAAQ,EAAA;AAC9D,QAAQ,OAAA,CAAA,KAAA,CAAM,MAAO,CAAA,aAAA,EAAe,CAAC,CAAA,CAAA;AAAA,OACvC;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,MAAA,GAAS,CAAC,CAAW,KAAA;AACzB,MAAA,MAAM,GAAM,GAAA,OAAA,CAAQ,KAAM,CAAA,KAAA,CAAM,KAAK,CAAE,CAAA,GAAA,CAAA;AACvC,MAAA,GAAA,CAAI,OAAO,CAAE,CAAA,CAAA,CAAA;AACb,MAAA,GAAA,CAAI,MAAM,CAAE,CAAA,CAAA,CAAA;AAAA,KACd,CAAA;AACA,IAAM,MAAA,QAAA,GAAW,CAAC,CAAW,KAAA;AAC3B,MAAA,MAAM,GAAM,GAAA,OAAA,CAAQ,KAAM,CAAA,KAAA,CAAM,KAAK,CAAE,CAAA,GAAA,CAAA;AACvC,MAAA,GAAA,CAAI,OAAO,CAAE,CAAA,CAAA,CAAA;AACb,MAAA,GAAA,CAAI,MAAM,CAAE,CAAA,CAAA,CAAA;AACZ,MAAA,GAAA,CAAI,QAAQ,CAAE,CAAA,CAAA,CAAA;AACd,MAAA,GAAA,CAAI,SAAS,CAAE,CAAA,CAAA,CAAA;AAAA,KACjB,CAAA;AAEA,IAAAC,aAAA,CAAU,MAAM;AACd,MAAU,SAAA,EAAA,CAAA;AAAA,KACX,CAAA,CAAA;AAED,IAAAC,SAAA;AAAA,MACE,MAAM,OAAS,EAAA,UAAA;AAAA,MACf,MAAM;AACJ,QAAU,SAAA,EAAA,CAAA;AAAA,OACZ;AAAA,KACF,CAAA;AAEA,IAAA,MAAM,YAAY,MAAM;AACtB,MAAA,IAAI,QAAQ,UAAY,EAAA;AACtB,QAAA,YAAA,CAAa,OAAQ,CAAA,UAAU,CAC5B,CAAA,IAAA,CAAK,CAAC,KAAe,KAAA;AACpB,UAAA,OAAA,CAAQ,KAAQ,GAAA,GAAA,CAAA;AAChB,UAAA,OAAA,CAAQ,MAAU,GAAA,KAAA,CAAM,MAAS,GAAA,GAAA,GAAO,KAAM,CAAA,KAAA,CAAA;AAC9C,UAAA,UAAA,CAAW,MAAM;AAAA,aAEd,GAAG,CAAA,CAAA;AAAA,SACP,CACA,CAAA,KAAA,CAAM,MAAM;AAAA,SAAE,CAAA,CAAA;AAAA,OACnB;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,YAAA,GAAe,CAAC,GAAa,KAAA;AACjC,MAAA,OAAO,IAAI,OAAA,CAAQ,SAAU,OAAA,EAAS,MAAQ,EAAA;AAC5C,QAAM,MAAA,KAAA,GAAQ,IAAI,KAAM,EAAA,CAAA;AACxB,QAAA,KAAA,CAAM,SAAS,WAAY;AACzB,UAAQ,OAAA,CAAA;AAAA,YACN,OAAO,KAAM,CAAA,KAAA;AAAA,YACb,QAAQ,KAAM,CAAA,MAAA;AAAA,WACf,CAAA,CAAA;AAAA,SACH,CAAA;AACA,QAAA,KAAA,CAAM,UAAU,WAAY;AAC1B,UAAO,MAAA,CAAA,IAAI,KAAM,CAAA,OAAO,CAAC,CAAA,CAAA;AAAA,SAC3B,CAAA;AACA,QAAA,KAAA,CAAM,GAAM,GAAA,GAAA,CAAA;AAAA,OACb,CAAA,CAAA;AAAA,KACH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
modelValue: {
|
3
|
+
type: ObjectConstructor;
|
4
|
+
default: () => {};
|
5
|
+
};
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
modelValue: {
|
8
|
+
type: ObjectConstructor;
|
9
|
+
default: () => {};
|
10
|
+
};
|
11
|
+
}>>, {
|
12
|
+
modelValue: Record<string, any>;
|
13
|
+
}, {}>;
|
14
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var hotAreaInput_vue_vue_type_script_setup_true_lang = require('./hot-area-input.vue2.js');
|
6
|
+
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
|
+
|
8
|
+
var _HotAreaInput = /* @__PURE__ */ _pluginVue_exportHelper.default(hotAreaInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\hot-area-input\\src\\hot-area-input.vue"]]);
|
9
|
+
|
10
|
+
exports.default = _HotAreaInput;
|
11
|
+
//# sourceMappingURL=hot-area-input.vue.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hot-area-input.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var vue = require('vue');
|
6
|
+
var props = require('./props.js');
|
7
|
+
var hotAreaContent = require('./component/hot-area-content.vue.js');
|
8
|
+
|
9
|
+
const _hoisted_1 = { class: "dk-hot-area-input" };
|
10
|
+
const _hoisted_2 = { class: "text-center" };
|
11
|
+
const __default__ = vue.defineComponent({
|
12
|
+
name: "DkHotAreaInput"
|
13
|
+
});
|
14
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
15
|
+
...__default__,
|
16
|
+
props: props.hotAreaInputProps,
|
17
|
+
setup(__props) {
|
18
|
+
const props = __props;
|
19
|
+
const input = vue.reactive(props.modelValue);
|
20
|
+
const dialog = vue.ref(false);
|
21
|
+
return (_ctx, _cache) => {
|
22
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
23
|
+
const _component_dk_dialog = vue.resolveComponent("dk-dialog");
|
24
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
25
|
+
vue.createVNode(_component_el_button, {
|
26
|
+
type: "primary",
|
27
|
+
onClick: _cache[0] || (_cache[0] = ($event) => dialog.value = true)
|
28
|
+
}, {
|
29
|
+
default: vue.withCtx(() => [
|
30
|
+
vue.createTextVNode("\u8BBE\u7F6E\u70ED\u533A")
|
31
|
+
]),
|
32
|
+
_: 1
|
33
|
+
/* STABLE */
|
34
|
+
}),
|
35
|
+
vue.createVNode(_component_dk_dialog, {
|
36
|
+
modelValue: dialog.value,
|
37
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialog.value = $event),
|
38
|
+
width: "1000px",
|
39
|
+
title: "\u8BBE\u7F6E\u70ED\u533A"
|
40
|
+
}, {
|
41
|
+
footer: vue.withCtx(() => [
|
42
|
+
vue.createElementVNode("div", _hoisted_2, [
|
43
|
+
vue.createVNode(_component_el_button, {
|
44
|
+
size: "default",
|
45
|
+
style: { "width": "200px" },
|
46
|
+
type: "primary",
|
47
|
+
onClick: _cache[1] || (_cache[1] = ($event) => dialog.value = false)
|
48
|
+
}, {
|
49
|
+
default: vue.withCtx(() => [
|
50
|
+
vue.createTextVNode("\u786E\u5B9A")
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
/* STABLE */
|
54
|
+
})
|
55
|
+
])
|
56
|
+
]),
|
57
|
+
default: vue.withCtx(() => [
|
58
|
+
vue.createVNode(hotAreaContent.default, { "hot-data-value": input }, null, 8, ["hot-data-value"])
|
59
|
+
]),
|
60
|
+
_: 1
|
61
|
+
/* STABLE */
|
62
|
+
}, 8, ["modelValue"])
|
63
|
+
]);
|
64
|
+
};
|
65
|
+
}
|
66
|
+
});
|
67
|
+
|
68
|
+
exports.default = _sfc_main;
|
69
|
+
//# sourceMappingURL=hot-area-input.vue2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hot-area-input.vue2.js","sources":["../../../src/hot-area-input/src/hot-area-input.vue"],"sourcesContent":["<script lang=\"ts\">\nimport { defineComponent as __MACROS_defineComponent } from \"vue\";\nexport default /*#__PURE__*/ __MACROS_defineComponent({\n name: 'DkHotAreaInput',\n});\n</script>\n<template>\n <div class=\"dk-hot-area-input\">\n <el-button type=\"primary\" @click=\"dialog = true\">设置热区</el-button>\n <dk-dialog v-model=\"dialog\" width=\"1000px\" title=\"设置热区\">\n <hot-area-content :hot-data-value=\"input\"></hot-area-content>\n <template #footer>\n <div class=\"text-center\">\n <el-button size=\"default\" style=\"width: 200px\" type=\"primary\" @click=\"dialog = false\">确定</el-button>\n </div>\n </template>\n </dk-dialog>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { hotAreaInputProps } from './props'\nimport { ref, reactive } from 'vue'\nimport HotAreaContent from './component/hot-area-content.vue'\n\n\nconst props = defineProps(hotAreaInputProps)\nconst input = reactive(props.modelValue)\nconst dialog = ref(false)\n</script>\n"],"names":["__MACROS_defineComponent","reactive","ref"],"mappings":";;;;;;;;;;AAEA,MAA6B,cAAAA,mBAAyB,CAAA;AAAA,EACpD,IAAM,EAAA,gBAAA;AACR,CAAC,CAAA,CAAA;;;;;;AAuBD,IAAM,MAAA,KAAA,GAAQC,YAAS,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACvC,IAAM,MAAA,MAAA,GAASC,QAAI,KAAK,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"props.js","sources":["../../../src/hot-area-input/src/props.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const hotAreaInputProps = {\n modelValue: {\n type: Object,\n default: () => {\n return {}\n },\n },\n}\n\nexport type HotAreaInputProps = ExtractPropTypes<typeof hotAreaInputProps>\n"],"names":[],"mappings":";;AAEO,MAAM,iBAAoB,GAAA;AAAA,EAC/B,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,SAAS,MAAM;AACb,MAAA,OAAO,EAAC,CAAA;AAAA,KACV;AAAA,GACF;AACF;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
.hot-area-content{display:flex;justify-content:space-between}.hot-area-content .hot-area-draggable{width:500px;border:1px solid var(--el-border-color)}.hot-area-content .hot-area-form{width:400px}.hot-area-content .hot-area-form .hot-area-input{display:flex;align-items:center}.hot-area-content .hot-area-form .hot-area-input span{width:100px}.hot-item-content{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;color:#fff;background:rgba(0,0,0,.2509803922)}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* stylelint-disable */
|
2
|
+
.dk-hot-area-input {
|
3
|
+
|
4
|
+
}
|
5
|
+
.hot-area-content {
|
6
|
+
display: flex;
|
7
|
+
justify-content: space-between;
|
8
|
+
|
9
|
+
.hot-area-draggable {
|
10
|
+
width: 500px;
|
11
|
+
border: 1px solid var(--el-border-color);
|
12
|
+
//box-shadow: var(--el-box-shadow-light);
|
13
|
+
}
|
14
|
+
|
15
|
+
.hot-area-form {
|
16
|
+
width: 400px;
|
17
|
+
|
18
|
+
.hot-area-input {
|
19
|
+
display: flex;
|
20
|
+
align-items: center;
|
21
|
+
|
22
|
+
span {
|
23
|
+
width: 100px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.hot-item-content {
|
30
|
+
position: relative;
|
31
|
+
display: flex;
|
32
|
+
align-items: center;
|
33
|
+
justify-content: center;
|
34
|
+
width: 100%;
|
35
|
+
height: 100%;
|
36
|
+
font-size: 20px;
|
37
|
+
color: #fff;
|
38
|
+
background: #00000040;
|
39
|
+
}
|
40
|
+
/* stylelint-enable */
|
package/lib/icon/src/icon.vue.js
CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var icon_vue_vue_type_script_setup_true_lang = require('./icon.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _Icon = /* @__PURE__ */ _pluginVue_exportHelper.default(icon_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _Icon = /* @__PURE__ */ _pluginVue_exportHelper.default(icon_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon\\src\\icon.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _Icon;
|
11
11
|
//# sourceMappingURL=icon.vue.js.map
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var iconContent_vue_vue_type_script_setup_true_lang = require('./icon-content.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _IconContent = /* @__PURE__ */ _pluginVue_exportHelper.default(iconContent_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _IconContent = /* @__PURE__ */ _pluginVue_exportHelper.default(iconContent_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-content.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _IconContent;
|
11
11
|
//# sourceMappingURL=icon-content.vue.js.map
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var iconDialog_vue_vue_type_script_setup_true_lang = require('./icon-dialog.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _IconDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(iconDialog_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _IconDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(iconDialog_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-dialog.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _IconDialog;
|
11
11
|
//# sourceMappingURL=icon-dialog.vue.js.map
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var iconInput_vue_vue_type_script_setup_true_lang = require('./icon-input.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _IconInput = /* @__PURE__ */ _pluginVue_exportHelper.default(iconInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _IconInput = /* @__PURE__ */ _pluginVue_exportHelper.default(iconInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\icon-input\\src\\icon-input.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _IconInput;
|
11
11
|
//# sourceMappingURL=icon-input.vue.js.map
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var imageInput_vue_vue_type_script_setup_true_lang = require('./image-input.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _ImageInput = /* @__PURE__ */ _pluginVue_exportHelper.default(imageInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _ImageInput = /* @__PURE__ */ _pluginVue_exportHelper.default(imageInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-input\\src\\image-input.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _ImageInput;
|
11
11
|
//# sourceMappingURL=image-input.vue.js.map
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var imageListInput_vue_vue_type_script_setup_true_lang = require('./image-list-input.vue2.js');
|
6
6
|
var _pluginVue_exportHelper = require('../../_virtual/_plugin-vue_export-helper.js');
|
7
7
|
|
8
|
-
var _ImageListInput = /* @__PURE__ */ _pluginVue_exportHelper.default(imageListInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-
|
8
|
+
var _ImageListInput = /* @__PURE__ */ _pluginVue_exportHelper.default(imageListInput_vue_vue_type_script_setup_true_lang.default, [["__file", "E:\\project\\monster-admin\\system\\dkgs-ui-back\\packages\\dk-ui\\src\\image-list-input\\src\\image-list-input.vue"]]);
|
9
9
|
|
10
10
|
exports.default = _ImageListInput;
|
11
11
|
//# sourceMappingURL=image-list-input.vue.js.map
|
package/lib/index.d.ts
CHANGED