@vipl520/dk-ui 1.0.41 → 1.0.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/attributes.json +23 -3
- package/dist/index.css +1 -1
- package/dist/index.js +3634 -12985
- package/dist/index.min.js +4 -13
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -13
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +785 -10135
- package/dist/tags.json +7 -2
- package/dist/web-types.json +71 -12
- package/es/animate-select/src/animate-select.vue2.mjs +5 -1
- package/es/animate-select/src/animate-select.vue2.mjs.map +1 -1
- package/es/api/attachment.mjs.map +1 -1
- package/es/attachment/src/attachment.vue2.mjs +7 -1
- package/es/attachment/src/attachment.vue2.mjs.map +1 -1
- package/es/attachment-dialog/index.d.ts +9 -0
- package/es/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
- package/es/attachment-dialog/src/attachment-dialog.vue2.mjs +3 -2
- package/es/attachment-dialog/src/attachment-dialog.vue2.mjs.map +1 -1
- package/es/attachment-dialog/src/props.d.ts +4 -0
- package/es/attachment-dialog/src/props.mjs +4 -0
- package/es/attachment-dialog/src/props.mjs.map +1 -1
- package/es/audio-list-input/src/audio-list-input.vue2.mjs.map +1 -1
- package/es/box-size-input/src/box-size-input.vue2.mjs +60 -59
- package/es/box-size-input/src/box-size-input.vue2.mjs.map +1 -1
- package/es/box-size-input/style/index.css +1 -1
- package/es/box-size-input/style/index.scss +11 -4
- package/es/dialog/src/dialog.vue2.mjs +3 -1
- package/es/dialog/src/dialog.vue2.mjs.map +1 -1
- package/es/dialog/style/index.scss +1 -0
- package/es/file-input/src/file-input.vue2.mjs.map +1 -1
- package/es/file-list-input/src/file-list-input.vue2.mjs.map +1 -1
- package/es/file-list-input/style/index.css +1 -1
- package/es/file-list-input/style/index.scss +20 -16
- package/es/form/src/form.vue2.mjs.map +1 -1
- package/es/group/src/group.vue2.mjs +5 -13
- package/es/group/src/group.vue2.mjs.map +1 -1
- package/es/hot-area-input/src/component/hot-area-content.vue2.mjs.map +1 -1
- package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -1
- package/es/icon/src/icon.vue2.mjs.map +1 -1
- package/es/icon-input/src/icon-content.vue2.mjs +1 -1
- package/es/icon-input/src/icon-content.vue2.mjs.map +1 -1
- package/es/icon-input/src/icon-input.vue2.mjs.map +1 -1
- package/es/image-list-input/src/image-list-input.vue2.mjs.map +1 -1
- package/es/index.mjs +4 -9
- package/es/index.mjs.map +1 -1
- package/es/page-diy/index.mjs +0 -2
- package/es/page-diy/index.mjs.map +1 -1
- package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -1
- package/es/page-diy/src/components/DragBox.vue.mjs +1 -1
- package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +5 -1
- package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +11 -9
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs.map +1 -1
- package/es/page-diy/src/config/base/dkSetting.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs +9 -1
- package/es/page-diy/src/config/rule/min/common/DkMinBlank.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs +3 -1
- package/es/page-diy/src/config/rule/min/common/DkMinHotArea.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs +36 -6
- package/es/page-diy/src/config/rule/min/common/DkMinTitle.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs +6 -2
- package/es/page-diy/src/config/rule/min/common/DkMinVideo.mjs.map +1 -1
- package/es/page-diy/src/config/rule/min/common/index.mjs +8 -1
- package/es/page-diy/src/config/rule/min/common/index.mjs.map +1 -1
- package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs +3 -1
- package/es/page-diy/src/config/rule/web/common/DkPosterBtn.mjs.map +1 -1
- package/es/page-diy/src/config/rule/web/common/DkViewBulletChat.mjs.map +1 -1
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs +7 -1
- package/es/page-diy/src/config/rule/web/common/DkViewDialog.mjs.map +1 -1
- package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs +9 -3
- package/es/page-diy/src/config/rule/web/common/DkViewVideo.mjs.map +1 -1
- package/es/page-diy/src/page-diy.vue.mjs +1 -2
- package/es/page-diy/src/page-diy.vue.mjs.map +1 -1
- package/es/page-diy/src/utils/eventData.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +23 -6
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewCell.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs +3 -1
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewImage.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -1
- package/es/page-diy/style/dk-page-diy.css +1 -1
- package/es/page-diy/style/dk-page-diy.scss +1 -1
- package/es/page-diy/style/index.css +1 -1
- package/es/poster-input/src/component/poster.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewAvatar.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs +5 -2
- package/es/poster-input/src/component/views/DkPosterViewImage.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
- package/es/poster-input/src/poster-input.vue2.mjs.map +1 -1
- package/es/poster-input/style/index.scss +4 -2
- package/es/select/src/select.vue2.mjs +9 -1
- package/es/select/src/select.vue2.mjs.map +1 -1
- package/es/style-animation-input/src/props.mjs.map +1 -1
- package/es/style-animation-input/src/style-animation-input.vue2.mjs +1 -1
- package/es/style-animation-input/src/style-animation-input.vue2.mjs.map +1 -1
- package/es/style-background-input/index.d.ts +2 -1
- package/es/style-background-input/src/style-background-input.vue.d.ts +2 -1
- package/es/style-background-input/src/style-background-input.vue2.mjs +2 -1
- package/es/style-background-input/src/style-background-input.vue2.mjs.map +1 -1
- package/es/style-border-input/index.d.ts +2 -1
- package/es/style-border-input/src/style-border-input.vue.d.ts +2 -1
- package/es/style-border-input/src/style-border-input.vue2.mjs +56 -39
- package/es/style-border-input/src/style-border-input.vue2.mjs.map +1 -1
- package/es/style-border-input/style/index.css +1 -1
- package/es/style-box-input/index.d.ts +2 -1
- package/es/style-box-input/src/style-box-input.vue.d.ts +2 -1
- package/es/style-box-input/src/style-box-input.vue2.mjs +4 -7
- package/es/style-box-input/src/style-box-input.vue2.mjs.map +1 -1
- package/es/style-font-input/index.d.ts +2 -1
- package/es/style-font-input/src/style-font-input.vue.d.ts +2 -1
- package/es/style-font-input/src/style-font-input.vue2.mjs +10 -27
- package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
- package/es/style-input/src/style-input.vue2.mjs +10 -22
- package/es/style-input/src/style-input.vue2.mjs.map +1 -1
- package/es/style-number-input/src/style-number-input.vue2.mjs.map +1 -1
- package/es/style-position-input/src/style-position-input.vue2.mjs +4 -1
- package/es/style-position-input/src/style-position-input.vue2.mjs.map +1 -1
- package/es/style-shadow-input/index.d.ts +2 -1
- package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +138 -153
- package/es/style-shadow-input/src/style-shadow-content.vue2.mjs.map +1 -1
- package/es/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs +2 -1
- package/es/style-shadow-input/src/style-shadow-input.vue2.mjs.map +1 -1
- package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
- package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
- package/es/table/src/components/RecycleDialog.vue2.mjs +3 -1
- package/es/table/src/components/RecycleDialog.vue2.mjs.map +1 -1
- package/es/table/src/components/header.vue2.mjs +17 -3
- package/es/table/src/components/header.vue2.mjs.map +1 -1
- package/es/table/src/props.mjs +11 -1
- package/es/table/src/props.mjs.map +1 -1
- package/es/table/src/table.vue2.mjs +13 -3
- package/es/table/src/table.vue2.mjs.map +1 -1
- package/es/table/utils/dkTable.mjs +32 -11
- package/es/table/utils/dkTable.mjs.map +1 -1
- package/es/table/utils/dkTableApi.mjs.map +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs +4 -2
- package/es/tiny-editor/src/tiny-editor.vue2.mjs.map +1 -1
- package/es/tiny-editor/style/index.css +1 -1
- package/es/tiny-editor/style/index.scss +6 -0
- package/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
- package/lib/animate-select/src/animate-select.vue2.js +5 -1
- package/lib/animate-select/src/animate-select.vue2.js.map +1 -1
- package/lib/api/attachment.js.map +1 -1
- package/lib/attachment/src/attachment.vue2.js +7 -1
- package/lib/attachment/src/attachment.vue2.js.map +1 -1
- package/lib/attachment-dialog/index.d.ts +9 -0
- package/lib/attachment-dialog/src/attachment-dialog.vue.d.ts +9 -0
- package/lib/attachment-dialog/src/attachment-dialog.vue2.js +3 -2
- package/lib/attachment-dialog/src/attachment-dialog.vue2.js.map +1 -1
- package/lib/attachment-dialog/src/props.d.ts +4 -0
- package/lib/attachment-dialog/src/props.js +4 -0
- package/lib/attachment-dialog/src/props.js.map +1 -1
- package/lib/audio-list-input/src/audio-list-input.vue2.js.map +1 -1
- package/lib/box-size-input/src/box-size-input.vue2.js +59 -58
- package/lib/box-size-input/src/box-size-input.vue2.js.map +1 -1
- package/lib/box-size-input/style/index.css +1 -1
- package/lib/box-size-input/style/index.scss +11 -4
- package/lib/dialog/src/dialog.vue2.js +3 -1
- package/lib/dialog/src/dialog.vue2.js.map +1 -1
- package/lib/dialog/style/index.scss +1 -0
- package/lib/file-input/src/file-input.vue2.js.map +1 -1
- package/lib/file-list-input/src/file-list-input.vue2.js.map +1 -1
- package/lib/file-list-input/style/index.css +1 -1
- package/lib/file-list-input/style/index.scss +20 -16
- package/lib/form/src/form.vue2.js.map +1 -1
- package/lib/group/src/group.vue2.js +4 -12
- package/lib/group/src/group.vue2.js.map +1 -1
- package/lib/hot-area-input/src/component/hot-area-content.vue2.js.map +1 -1
- package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
- package/lib/icon/src/icon.vue2.js.map +1 -1
- package/lib/icon-input/src/icon-content.vue2.js +1 -1
- package/lib/icon-input/src/icon-content.vue2.js.map +1 -1
- package/lib/icon-input/src/icon-input.vue2.js.map +1 -1
- package/lib/image-list-input/src/image-list-input.vue2.js.map +1 -1
- package/lib/index.js +4 -9
- package/lib/index.js.map +1 -1
- package/lib/page-diy/index.js +0 -2
- package/lib/page-diy/index.js.map +1 -1
- package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
- package/lib/page-diy/src/components/DragBox.vue.js +1 -1
- package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js +5 -1
- package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +11 -9
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js.map +1 -1
- package/lib/page-diy/src/config/base/dkSetting.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js +9 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinBlank.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js +3 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinHotArea.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js +36 -6
- package/lib/page-diy/src/config/rule/min/common/DkMinTitle.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js +6 -2
- package/lib/page-diy/src/config/rule/min/common/DkMinVideo.js.map +1 -1
- package/lib/page-diy/src/config/rule/min/common/index.js +8 -1
- package/lib/page-diy/src/config/rule/min/common/index.js.map +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js +3 -1
- package/lib/page-diy/src/config/rule/web/common/DkPosterBtn.js.map +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewBulletChat.js.map +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js +7 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewDialog.js.map +1 -1
- package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js +9 -3
- package/lib/page-diy/src/config/rule/web/common/DkViewVideo.js.map +1 -1
- package/lib/page-diy/src/page-diy.vue.js +1 -2
- package/lib/page-diy/src/page-diy.vue.js.map +1 -1
- package/lib/page-diy/src/utils/eventData.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +23 -6
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewCell.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js +3 -1
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewImage.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
- package/lib/page-diy/style/dk-page-diy.css +1 -1
- package/lib/page-diy/style/dk-page-diy.scss +1 -1
- package/lib/page-diy/style/index.css +1 -1
- package/lib/poster-input/src/component/poster.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewAvatar.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js +5 -2
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
- package/lib/poster-input/src/poster-input.vue2.js.map +1 -1
- package/lib/poster-input/style/index.scss +4 -2
- package/lib/select/src/select.vue2.js +9 -1
- package/lib/select/src/select.vue2.js.map +1 -1
- package/lib/style-animation-input/src/props.js.map +1 -1
- package/lib/style-animation-input/src/style-animation-input.vue2.js +1 -1
- package/lib/style-animation-input/src/style-animation-input.vue2.js.map +1 -1
- package/lib/style-background-input/index.d.ts +2 -1
- package/lib/style-background-input/src/style-background-input.vue.d.ts +2 -1
- package/lib/style-background-input/src/style-background-input.vue2.js +2 -1
- package/lib/style-background-input/src/style-background-input.vue2.js.map +1 -1
- package/lib/style-border-input/index.d.ts +2 -1
- package/lib/style-border-input/src/style-border-input.vue.d.ts +2 -1
- package/lib/style-border-input/src/style-border-input.vue2.js +56 -39
- package/lib/style-border-input/src/style-border-input.vue2.js.map +1 -1
- package/lib/style-border-input/style/index.css +1 -1
- package/lib/style-box-input/index.d.ts +2 -1
- package/lib/style-box-input/src/style-box-input.vue.d.ts +2 -1
- package/lib/style-box-input/src/style-box-input.vue2.js +4 -7
- package/lib/style-box-input/src/style-box-input.vue2.js.map +1 -1
- package/lib/style-font-input/index.d.ts +2 -1
- package/lib/style-font-input/src/style-font-input.vue.d.ts +2 -1
- package/lib/style-font-input/src/style-font-input.vue2.js +10 -27
- package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
- package/lib/style-input/src/style-input.vue2.js +9 -21
- package/lib/style-input/src/style-input.vue2.js.map +1 -1
- package/lib/style-number-input/src/style-number-input.vue2.js.map +1 -1
- package/lib/style-position-input/src/style-position-input.vue2.js +4 -1
- package/lib/style-position-input/src/style-position-input.vue2.js.map +1 -1
- package/lib/style-shadow-input/index.d.ts +2 -1
- package/lib/style-shadow-input/src/style-shadow-content.vue2.js +138 -153
- package/lib/style-shadow-input/src/style-shadow-content.vue2.js.map +1 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue.d.ts +2 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js +2 -1
- package/lib/style-shadow-input/src/style-shadow-input.vue2.js.map +1 -1
- package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
- package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
- package/lib/table/src/components/RecycleDialog.vue2.js +3 -1
- package/lib/table/src/components/RecycleDialog.vue2.js.map +1 -1
- package/lib/table/src/components/header.vue2.js +17 -3
- package/lib/table/src/components/header.vue2.js.map +1 -1
- package/lib/table/src/props.js +11 -1
- package/lib/table/src/props.js.map +1 -1
- package/lib/table/src/table.vue2.js +13 -3
- package/lib/table/src/table.vue2.js.map +1 -1
- package/lib/table/utils/dkTable.js +32 -11
- package/lib/table/utils/dkTable.js.map +1 -1
- package/lib/table/utils/dkTableApi.js.map +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js +4 -2
- package/lib/tiny-editor/src/tiny-editor.vue2.js.map +1 -1
- package/lib/tiny-editor/style/index.css +1 -1
- package/lib/tiny-editor/style/index.scss +6 -0
- package/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
- package/package.json +3 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkMinBlank.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinBlank.js"],"sourcesContent":["const label = '空白'\nconst name = 'DkMinBlank'\n\nexport default {\n icon: 'FullScreen',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n height: 20,\n },\n showStyle: true,\n }\n },\n props() {\n return [{
|
1
|
+
{"version":3,"file":"DkMinBlank.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinBlank.js"],"sourcesContent":["const label = '空白'\nconst name = 'DkMinBlank'\n\nexport default {\n icon: 'FullScreen',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n height: 20,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'number',\n field: 'height',\n title: '高度',\n value: 20,\n effect: { help: '具体效果查看真机预览' },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,YAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,MAAQ,EAAA,EAAA;AAAA,OACV;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,QAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,EAAA;AAAA,QACP,MAAA,EAAQ,EAAE,IAAA,EAAM,8DAAa,EAAA;AAAA,OAC/B;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -33,7 +33,9 @@ var DkMinHotArea = {
|
|
33
33
|
field: "showMask",
|
34
34
|
title: "\u663E\u793A\u906E\u7F69",
|
35
35
|
value: false,
|
36
|
-
effect: {
|
36
|
+
effect: {
|
37
|
+
help: "\u8BBE\u7F6E\u662F\u5426\u663E\u793A\u70ED\u533A\u906E\u7F69\u6548\u679C\u9884\u89C8\uFF0C\u8BBE\u7F6E\u540E\u79FB\u52A8\u7AEF\u4E5F\u4F1A\u6709\u5BF9\u5E94\u7684\u900F\u660E\u906E\u7F69\u65B9\u5757\u65B9\u4FBF\u6D4B\u8BD5\uFF0C\u540E\u7AEF\u4EC5\u52A0\u6DF1\u5904\u7406"
|
38
|
+
}
|
37
39
|
}
|
38
40
|
];
|
39
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkMinHotArea.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinHotArea.js"],"sourcesContent":["const label = '热图'\nconst name = 'DkMinHotArea'\n\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n hotData: {\n background: '',\n views: [],\n width: 500,\n height: 500,\n },\n showMask: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'dk-hot-area-input',\n field: 'hotData',\n title: '热图数据',\n value: 20,\n effect: { help: '点击按钮上传背景图并配置跳转路径' },\n },\n {\n type: 'switch',\n field: 'showMask',\n title: '显示遮罩',\n value: false,\n effect: {
|
1
|
+
{"version":3,"file":"DkMinHotArea.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinHotArea.js"],"sourcesContent":["const label = '热图'\nconst name = 'DkMinHotArea'\n\nexport default {\n icon: 'dashicons:images-alt2',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n hotData: {\n background: '',\n views: [],\n width: 500,\n height: 500,\n },\n showMask: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'dk-hot-area-input',\n field: 'hotData',\n title: '热图数据',\n value: 20,\n effect: { help: '点击按钮上传背景图并配置跳转路径' },\n },\n {\n type: 'switch',\n field: 'showMask',\n title: '显示遮罩',\n value: false,\n effect: {\n help: '设置是否显示热区遮罩效果预览,设置后移动端也会有对应的透明遮罩方块方便测试,后端仅加深处理',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,cAAA,CAAA;AAEb,mBAAe;AAAA,EACb,IAAM,EAAA,uBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,OAAS,EAAA;AAAA,UACP,UAAY,EAAA,EAAA;AAAA,UACZ,OAAO,EAAC;AAAA,UACR,KAAO,EAAA,GAAA;AAAA,UACP,MAAQ,EAAA,GAAA;AAAA,SACV;AAAA,QACA,QAAU,EAAA,KAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,mBAAA;AAAA,QACN,KAAO,EAAA,SAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,EAAA;AAAA,QACP,MAAA,EAAQ,EAAE,IAAA,EAAM,kGAAmB,EAAA;AAAA,OACrC;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,KAAA;AAAA,QACP,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,gRAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -41,16 +41,31 @@ var DkMinTitle = {
|
|
41
41
|
{ label: "\u5C45\u4E2D", value: "center" }
|
42
42
|
]
|
43
43
|
},
|
44
|
-
{
|
44
|
+
{
|
45
|
+
type: "DkColorInput",
|
46
|
+
field: "color",
|
47
|
+
title: "\u6807\u9898\u8272",
|
48
|
+
value: "#000"
|
49
|
+
}
|
45
50
|
]
|
46
51
|
},
|
47
52
|
{
|
48
53
|
value: "1",
|
49
54
|
rule: [
|
50
55
|
{ type: "input", field: "title", title: "\u6807\u9898", value: "\u4E3B\u6807\u9898" },
|
51
|
-
{
|
56
|
+
{
|
57
|
+
type: "DkColorInput",
|
58
|
+
field: "color",
|
59
|
+
title: "\u6807\u9898\u8272",
|
60
|
+
value: "#000"
|
61
|
+
},
|
52
62
|
{ type: "input", field: "subtitle", title: "\u526F\u6807\u9898", value: "" },
|
53
|
-
{
|
63
|
+
{
|
64
|
+
type: "DkColorInput",
|
65
|
+
field: "subColor",
|
66
|
+
title: "\u526F\u6807\u9898\u8272",
|
67
|
+
value: "#999"
|
68
|
+
},
|
54
69
|
{
|
55
70
|
type: "switch",
|
56
71
|
field: "isMore",
|
@@ -60,9 +75,24 @@ var DkMinTitle = {
|
|
60
75
|
{
|
61
76
|
value: true,
|
62
77
|
rule: [
|
63
|
-
{
|
64
|
-
|
65
|
-
|
78
|
+
{
|
79
|
+
type: "input",
|
80
|
+
field: "moreText",
|
81
|
+
title: "\u6587\u672C\u5185\u5BB9",
|
82
|
+
value: "\u67E5\u770B\u66F4\u591A"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
type: "input",
|
86
|
+
field: "url",
|
87
|
+
title: "\u94FE\u63A5\u5730\u5740",
|
88
|
+
value: ""
|
89
|
+
},
|
90
|
+
{
|
91
|
+
type: "DkColorInput",
|
92
|
+
field: "moreColor",
|
93
|
+
title: "\u989C\u8272",
|
94
|
+
value: "#999"
|
95
|
+
}
|
66
96
|
]
|
67
97
|
}
|
68
98
|
]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkMinTitle.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n {
|
1
|
+
{"version":3,"file":"DkMinTitle.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinTitle.js"],"sourcesContent":["const label = '标题'\nconst name = 'DkMinTitle'\n\nexport default {\n icon: 'material-symbols:title',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n title: '主标题',\n subtitle: '副标题',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'radio',\n field: 'type',\n title: '类型',\n value: '0',\n options: [\n { label: '默认', value: '0' },\n { label: '副标题', value: '1' },\n ],\n control: [\n {\n value: '0',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'radio',\n field: 'align',\n title: '位置',\n value: 'left',\n options: [\n { label: '居左', value: 'left' },\n { label: '居中', value: 'center' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n ],\n },\n {\n value: '1',\n rule: [\n { type: 'input', field: 'title', title: '标题', value: '主标题' },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '标题色',\n value: '#000',\n },\n { type: 'input', field: 'subtitle', title: '副标题', value: '' },\n {\n type: 'DkColorInput',\n field: 'subColor',\n title: '副标题色',\n value: '#999',\n },\n {\n type: 'switch',\n field: 'isMore',\n title: '显示更多',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'input',\n field: 'moreText',\n title: '文本内容',\n value: '查看更多',\n },\n {\n type: 'input',\n field: 'url',\n title: '链接地址',\n value: '',\n },\n {\n type: 'DkColorInput',\n field: 'moreColor',\n title: '颜色',\n value: '#999',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,oBAAA;AAAA,QACP,QAAU,EAAA,oBAAA;AAAA,OACZ;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,GAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP,EAAE,KAAA,EAAO,cAAM,EAAA,KAAA,EAAO,GAAI,EAAA;AAAA,UAC1B,EAAE,KAAA,EAAO,oBAAO,EAAA,KAAA,EAAO,GAAI,EA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A,cACA;AAAA,gBACE,IAAM,EAAA,QAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,IAAA;AAAA,gBACP,OAAS,EAAA;AAAA,kBACP;AAAA,oBACE,KAAO,EAAA,IAAA;AAAA,oBACP,IAAM,EAAA;AAAA,sBACJ;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,UAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,OAAA;AAAA,wBACN,KAAO,EAAA,KAAA;AAAA,wBACP,KAAO,EAAA,0BAAA;AAAA,wBACP,KAAO,EAAA,EAAA;AAAA,uBACT;AAAA,sBACA;AAAA,wBACE,IAAM,EAAA,cAAA;AAAA,wBACN,KAAO,EAAA,WAAA;AAAA,wBACP,KAAO,EAAA,cAAA;AAAA,wBACP,KAAO,EAAA,MAAA;AAAA,uBACT;AAAA,qBACF;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -36,13 +36,17 @@ var DkMinVideo = {
|
|
36
36
|
suffix: {
|
37
37
|
type: "p",
|
38
38
|
style: { fontSize: "12px", color: "#888" },
|
39
|
-
children: [
|
39
|
+
children: [
|
40
|
+
"\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"
|
41
|
+
]
|
40
42
|
}
|
41
43
|
}
|
42
44
|
]
|
43
45
|
}
|
44
46
|
],
|
45
|
-
effect: {
|
47
|
+
effect: {
|
48
|
+
help: "\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"
|
49
|
+
}
|
46
50
|
}
|
47
51
|
];
|
48
52
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkMinVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkMinVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px'],\n },\n },\n ],\n },\n ],\n effect: {
|
1
|
+
{"version":3,"file":"DkMinVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/DkMinVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkMinVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px',\n ],\n },\n },\n ],\n },\n ],\n effect: {\n help: '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,YAAA,CAAA;AAEb,iBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAU,EAAA;AAAA,oBACR,0NAAA;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,oLAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -5,7 +5,14 @@ import DkMinBlank from './DkMinBlank.mjs';
|
|
5
5
|
import DkMinTextarea from './DkMinTextarea.mjs';
|
6
6
|
import DkMinHotArea from './DkMinHotArea.mjs';
|
7
7
|
|
8
|
-
const commonMenu = [
|
8
|
+
const commonMenu = [
|
9
|
+
DkMinVideo,
|
10
|
+
DkMinSwiperImage,
|
11
|
+
DkMinTitle,
|
12
|
+
DkMinBlank,
|
13
|
+
DkMinTextarea,
|
14
|
+
DkMinHotArea
|
15
|
+
];
|
9
16
|
const commonRuleList = {
|
10
17
|
[DkMinVideo.name]: DkMinVideo,
|
11
18
|
[DkMinSwiperImage.name]: DkMinSwiperImage,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [DkMinVideo
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/min/common/index.js"],"sourcesContent":["import DkMinVideo from './DkMinVideo'\nimport DkMinSwiperImage from './DkMinSwiperImage'\nimport DkMinTitle from './DkMinTitle'\nimport DkMinBlank from './DkMinBlank'\nimport DkMinTextarea from './DkMinTextarea'\nimport DkMinHotArea from './DkMinHotArea'\n\nconst commonMenu = [\n DkMinVideo,\n DkMinSwiperImage,\n DkMinTitle,\n DkMinBlank,\n DkMinTextarea,\n DkMinHotArea,\n]\n\nconst commonRuleList = {\n [DkMinVideo.name]: DkMinVideo,\n [DkMinSwiperImage.name]: DkMinSwiperImage,\n [DkMinTitle.name]: DkMinTitle,\n [DkMinBlank.name]: DkMinBlank,\n [DkMinTextarea.name]: DkMinTextarea,\n [DkMinHotArea.name]: DkMinHotArea,\n}\n\nexport { commonMenu, commonRuleList }\n"],"names":[],"mappings":";;;;;;;AAOA,MAAM,UAAa,GAAA;AAAA,EACjB,UAAA;AAAA,EACA,gBAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AACF,EAAA;AAEA,MAAM,cAAiB,GAAA;AAAA,EACrB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,gBAAiB,CAAA,IAAI,GAAG,gBAAA;AAAA,EACzB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,UAAW,CAAA,IAAI,GAAG,UAAA;AAAA,EACnB,CAAC,aAAc,CAAA,IAAI,GAAG,aAAA;AAAA,EACtB,CAAC,YAAa,CAAA,IAAI,GAAG,YAAA;AACvB;;;;"}
|
@@ -125,7 +125,9 @@ var DkPosterBtn = {
|
|
125
125
|
},
|
126
126
|
{
|
127
127
|
value: "event",
|
128
|
-
rule: [
|
128
|
+
rule: [
|
129
|
+
{ type: "input", field: "listen", title: "\u76D1\u542C\u4E8B\u4EF6", value: "" }
|
130
|
+
]
|
129
131
|
}
|
130
132
|
],
|
131
133
|
effect: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [{ type: 'input', field: 'listen', title: '监听事件', value: '' }],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,eAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,OAAO,EAAC;AAAA,OACV;AAAA,MACA;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,0EAAA;AAAA,OACT;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,KAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP,EAAE,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,KAAM,EAAA;AAAA,UAC9B,EAAE,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,WAAY,EAAA;AAAA,UACpC,EAAE,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,OAAQ,EAAA;AAAA,UAChC,EAAE,KAAA,EAAO,0BAAQ,E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
|
1
|
+
{"version":3,"file":"DkPosterBtn.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkPosterBtn.js"],"sourcesContent":["const label = '海报'\nconst name = 'dk-poster-btn'\nexport default {\n icon: 'icon-park-outline:mark',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {},\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkPosterInput',\n field: 'posterData',\n title: '海报数据',\n value: {},\n },\n {\n type: 'input',\n field: 'footerText',\n title: '底部',\n value: '长按海报图片分享或保存!',\n },\n {\n type: 'select',\n field: 'type',\n title: '样式',\n value: 'btn',\n options: [\n { label: '普通按钮', value: 'btn' },\n { label: '悬浮按钮', value: 'fixed_btn' },\n { label: '图片按钮', value: 'image' },\n { label: '事件触发', value: 'event' },\n ],\n control: [\n {\n value: 'btn',\n rule: [\n {\n type: 'input',\n field: 'btnText',\n title: '按钮文字',\n value: '获取推广海报',\n },\n {\n type: 'switch',\n field: 'block',\n title: '块状按钮',\n value: true,\n },\n { type: 'switch', field: 'round', title: '圆弧', value: true },\n {\n type: 'select',\n field: 'size',\n title: '尺寸',\n value: 'normal',\n options: [\n { label: '迷你按钮', value: 'mini' },\n { label: '小型按钮', value: 'small' },\n { label: '中型按钮', value: 'normal' },\n { label: '大型按钮', value: 'large' },\n ],\n },\n {\n type: 'DkColorInput',\n field: 'color',\n title: '颜色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'color2',\n title: '渐变色',\n value: '',\n },\n ],\n },\n {\n value: 'fixed_btn',\n rule: [\n {\n type: 'input',\n field: 'fBtnText',\n title: '悬浮文字',\n value: '海报',\n },\n {\n type: 'DkColorInput',\n field: 'fBgColor',\n title: '背景色',\n value: '#ff3d2c',\n },\n {\n type: 'DkColorInput',\n field: 'fColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'slider',\n field: 'fSize',\n title: '尺寸',\n value: 30,\n props: { min: 30, max: 100 },\n },\n ],\n },\n {\n value: 'image',\n rule: [\n { type: 'DkImageInput', field: 'img', title: '图片', value: '' },\n {\n type: 'slider',\n field: 'imgSize',\n title: '尺寸',\n value: 20,\n props: { min: 20, max: 100 },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n { type: 'input', field: 'listen', title: '监听事件', value: '' },\n ],\n },\n ],\n effect: {\n help: '配置后可以点击下方【样式设置】->【组件悬浮】对按钮进行悬浮',\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,eAAA,CAAA;AACb,kBAAe;AAAA,EACb,IAAM,EAAA,wBAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,OAAO,EAAC;AAAA,MACR,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,eAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,OAAO,EAAC;AAAA,OACV;AAAA,MACA;AAAA,QACE,IAAM,EAAA,OAAA;AAAA,QACN,KAAO,EAAA,YAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,0EAAA;AAAA,OACT;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,MAAA;AAAA,QACP,KAAO,EAAA,cAAA;AAAA,QACP,KAAO,EAAA,KAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP,EAAE,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,KAAM,EAAA;AAAA,UAC9B,EAAE,KAAA,EAAO,0BAAQ,EAAA,KAAA,EAAO,WAAY,EAAA;AAAA,UACpC,EAAE,KA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AA;AAAA,eAC7B;AAAA,aACF;AAAA,WACF;AAAA,UACA;AAAA,YACE,KAAO,EAAA,OAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ,EAAE,MAAM,OAAS,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,0BAAA,EAAQ,OAAO,EAAG,EAAA;AAAA,aAC7D;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,4KAAA;AAAA,SACR;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar
|
1
|
+
{"version":3,"file":"DkViewBulletChat.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewBulletChat.js"],"sourcesContent":["const label = '弹幕组件'\nconst name = 'DkViewBulletChat'\nexport default {\n icon: 'mingcute:chat-1-line',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n dataType: 'default',\n bulletData: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar: 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n },\n fixed: true,\n showStyle: true,\n }\n },\n props() {\n return [\n {\n type: 'DkColorInput',\n field: 'bgColor',\n title: '背景色',\n props: { showAlpha: true },\n value: 'rgb(0 0 0 / 30%)',\n },\n {\n type: 'DkColorInput',\n field: 'textColor',\n title: '文字色',\n value: '#fff',\n },\n {\n type: 'inputNumber',\n field: 'autoplay',\n title: '滚动频率',\n value: 3000,\n props: { min: 1000, max: 10000, step: 500 },\n },\n {\n type: 'select',\n field: 'dataType',\n title: '内容来源',\n value: 'default',\n options: [\n { label: '手动填写', value: 'default' },\n { label: '事件传参', value: 'event' },\n ],\n control: [\n {\n value: 'default',\n rule: [\n {\n type: 'dk-group',\n field: 'bulletData',\n // title: '弹幕数据',\n value: [\n {\n text: '小明在14分钟购买了iPhone手机',\n avatar:\n 'https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg',\n },\n ],\n props: {\n titleField: 'text',\n defaultValue: {\n avatar: '',\n text: '',\n },\n rule: [\n { type: 'input', field: 'text', title: '描述' },\n {\n type: 'dkImageInput',\n field: 'avatar',\n title: '头像',\n value: '',\n },\n ],\n },\n },\n ],\n },\n {\n value: 'event',\n rule: [\n {\n type: 'DkEventSelectInput',\n field: 'eventName',\n title: '事件名称',\n value: '',\n props: { label: '弹幕事件' },\n effect: { help: '选择支持弹幕的事件,内容将由该事件传递参数' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,kBAAA,CAAA;AACb,uBAAe;AAAA,EACb,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+18,13 @@ var DkViewDialog = {
|
|
18
18
|
},
|
19
19
|
props() {
|
20
20
|
return [
|
21
|
-
{
|
21
|
+
{
|
22
|
+
type: "DkEventCreateInput",
|
23
|
+
field: "listen",
|
24
|
+
title: "\u76D1\u542C\u4E8B\u4EF6",
|
25
|
+
value: "",
|
26
|
+
props: { label: "\u5F39\u7A97\u7EC4\u4EF6" }
|
27
|
+
},
|
22
28
|
{ type: "input", field: "title", title: "\u5F39\u7A97\u6807\u9898", value: "\u901A\u77E5" },
|
23
29
|
{
|
24
30
|
type: "dk-tiny-editor",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkViewDialog.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewDialog.js"],"sourcesContent":["const label = '弹窗组件'\nconst name = 'DkViewDialog'\nexport default {\n icon: 'mi:window',\n label,\n name,\n event: true,\n rule() {\n return {\n type: name,\n props: {\n title: '通知',\n listen: '',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {
|
1
|
+
{"version":3,"file":"DkViewDialog.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewDialog.js"],"sourcesContent":["const label = '弹窗组件'\nconst name = 'DkViewDialog'\nexport default {\n icon: 'mi:window',\n label,\n name,\n event: true,\n rule() {\n return {\n type: name,\n props: {\n title: '通知',\n listen: '',\n },\n showStyle: true,\n fixed: true,\n }\n },\n props() {\n return [\n {\n type: 'DkEventCreateInput',\n field: 'listen',\n title: '监听事件',\n value: '',\n props: { label: '弹窗组件' },\n },\n { type: 'input', field: 'title', title: '弹窗标题', value: '通知' },\n {\n type: 'dk-tiny-editor',\n field: 'content',\n title: '弹窗内容',\n props: {\n buttonText: '编辑弹窗内容',\n },\n value: '',\n },\n { type: 'input', field: 'confirmText', title: '按钮文字', value: '确定' },\n {\n type: 'switch',\n field: 'show',\n title: '预览',\n value: false,\n effect: {\n help: '当前为预览按钮,不影响实际显示,点击后在预览窗口点确定即可关闭',\n },\n },\n {\n type: 'radio',\n field: 'copy',\n title: '复制内容',\n value: '0',\n options: [\n { label: '不复制', value: '0' },\n { label: '复制弹窗内容', value: '1' },\n {\n label: '复制自定义内容',\n value: '2',\n },\n ],\n control: [\n {\n value: '2',\n rule: [\n {\n type: 'select',\n field: 'copyType',\n title: '复制类型',\n value: 'text',\n options: [\n { label: '纯文本', value: 'text' },\n { label: '富文本', value: 'html' },\n ],\n control: [\n {\n value: 'text',\n rule: [\n {\n type: 'input',\n field: 'copyText',\n title: '复制内容',\n value: '',\n props: { type: 'textarea' },\n },\n ],\n },\n {\n value: 'html',\n rule: [\n {\n type: 'dk-tiny-editor',\n field: 'copyHtml',\n title: '复制内容',\n value: '',\n },\n ],\n },\n ],\n },\n ],\n },\n {\n handle: function (val) {\n return val !== ''\n },\n rule: [\n {\n type: 'input',\n field: 'copySuccessToast',\n title: '复制提示',\n value: '复制成功',\n effect: { help: '复制成功后的提示,不填则不显示' },\n },\n ],\n },\n ],\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,0BAAA,CAAA;AACd,MAAM,IAAO,GAAA,cAAA,CAAA;AACb,mBAAe;AAAA,EACb,IAAM,EAAA,WAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,KAAO,EAAA,IAAA;AAAA,EACP,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,KAAO,EAAA,cAAA;AAAA,QACP,MAAQ,EAAA,EAAA;AAAA,OACV;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,MACX,KAAO,EAAA,IAAA;AAAA,KACT,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL;AAAA,QACE,IAAM,EAAA,oBAAA;AAAA,QACN,KAAO,EAAA,QAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,EAAA;AAAA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|
@@ -37,7 +37,9 @@ var DkViewVideo = {
|
|
37
37
|
suffix: {
|
38
38
|
type: "p",
|
39
39
|
style: { fontSize: "12px", color: "#888" },
|
40
|
-
children: [
|
40
|
+
children: [
|
41
|
+
"\u8BBE\u7F6E\u89C6\u9891\u7684\u9AD8\u5EA6\u56FA\u5B9A\uFF0C\u9AD8\u5EA6\u56FA\u5B9A\u540E\u53EF\u80FD\u4F1A\u51FA\u73B0\u89C6\u9891\u7578\u5F62,\u89C6\u9891\u672C\u8EAB\u56FA\u5B9A\u6700\u5C0F\u9AD8\u5EA6\u4E3A240px"
|
42
|
+
]
|
41
43
|
}
|
42
44
|
}
|
43
45
|
]
|
@@ -46,7 +48,9 @@ var DkViewVideo = {
|
|
46
48
|
suffix: {
|
47
49
|
type: "p",
|
48
50
|
style: { fontSize: "12px", color: "#888" },
|
49
|
-
children: [
|
51
|
+
children: [
|
52
|
+
"\u89C6\u9891\u5BBD\u5EA6\u9ED8\u8BA4\u4E3A100%\uFF0C\u9AD8\u5EA6\u4E3A\u81EA\u52A8\u5339\u914D\u89C6\u9891\uFF0C\u52FE\u9009\u540E\u53EF\u4EE5\u4F7F\u7528\u56FA\u5B9A\u9AD8\u5EA6"
|
53
|
+
]
|
50
54
|
}
|
51
55
|
},
|
52
56
|
{
|
@@ -56,7 +60,9 @@ var DkViewVideo = {
|
|
56
60
|
suffix: {
|
57
61
|
type: "p",
|
58
62
|
style: { fontSize: "12px", color: "#888" },
|
59
|
-
children: [
|
63
|
+
children: [
|
64
|
+
"\u8BBE\u7F6E\u5F00\u542F\u5F00\u5408\u6A21\u5F0F\u540E\uFF0C\u89C6\u9891\u652F\u6301\u4E0A\u6ED1\u7F29\u653E\u5173\u95ED\u4E0B\u6ED1\u7F29\u653E\u6253\u5F00,\u5C3D\u91CF\u5C06\u89C6\u9891\u6A21\u5757\u653E\u7F6E\u9876\u90E8"
|
65
|
+
]
|
60
66
|
}
|
61
67
|
}
|
62
68
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px'],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度'],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: ['设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部'],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AAEb,kBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MAClE,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,
|
1
|
+
{"version":3,"file":"DkViewVideo.mjs","sources":["../../../../../../../src/page-diy/src/config/rule/web/common/DkViewVideo.js"],"sourcesContent":["const label = '视频'\nconst name = 'DkViewVideo'\n\nexport default {\n icon: 'icon-park-twotone:video-two',\n label,\n name,\n rule() {\n return {\n type: name,\n props: {\n videoPath: '',\n isHeight: false,\n isOpenClose: false,\n },\n showStyle: true,\n }\n },\n props() {\n return [\n { type: 'dk-image-input', field: 'poster', title: '封面', value: '' },\n { type: 'dk-video-input', field: 'videoPath', title: '视频', value: '' },\n {\n type: 'switch',\n field: 'isHeight',\n title: '固定高度',\n value: true,\n control: [\n {\n value: true,\n rule: [\n {\n type: 'inputNumber',\n field: 'height',\n title: '固定高度',\n value: 240,\n props: { min: 240, height: 1000 },\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置视频的高度固定,高度固定后可能会出现视频畸形,视频本身固定最小高度为240px',\n ],\n },\n },\n ],\n },\n ],\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '视频宽度默认为100%,高度为自动匹配视频,勾选后可以使用固定高度',\n ],\n },\n },\n {\n type: 'switch',\n field: 'isOpenClose',\n title: '开合模式',\n suffix: {\n type: 'p',\n style: { fontSize: '12px', color: '#888' },\n children: [\n '设置开启开合模式后,视频支持上滑缩放关闭下滑缩放打开,尽量将视频模块放置顶部',\n ],\n },\n },\n ]\n },\n}\n"],"names":[],"mappings":"AAAA,MAAM,KAAQ,GAAA,cAAA,CAAA;AACd,MAAM,IAAO,GAAA,aAAA,CAAA;AAEb,kBAAe;AAAA,EACb,IAAM,EAAA,6BAAA;AAAA,EACN,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAO,GAAA;AACL,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,IAAA;AAAA,MACN,KAAO,EAAA;AAAA,QACL,SAAW,EAAA,EAAA;AAAA,QACX,QAAU,EAAA,KAAA;AAAA,QACV,WAAa,EAAA,KAAA;AAAA,OACf;AAAA,MACA,SAAW,EAAA,IAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EACA,KAAQ,GAAA;AACN,IAAO,OAAA;AAAA,MACL,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,UAAU,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MAClE,EAAE,MAAM,gBAAkB,EAAA,KAAA,EAAO,aAAa,KAAO,EAAA,cAAA,EAAM,OAAO,EAAG,EAAA;AAAA,MACrE;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,UAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,KAAO,EAAA,IAAA;AAAA,QACP,OAAS,EAAA;AAAA,UACP;AAAA,YACE,KAAO,EAAA,IAAA;AAAA,YACP,IAAM,EAAA;AAAA,cACJ;AAAA,gBACE,IAAM,EAAA,aAAA;AAAA,gBACN,KAAO,EAAA,QAAA;AAAA,gBACP,KAAO,EAAA,0BAAA;AAAA,gBACP,KAAO,EAAA,GAAA;AAAA,gBACP,KAAO,EAAA,EAAE,GAAK,EAAA,GAAA,EAAK,QAAQ,GAAK,EAAA;AAAA,gBAChC,MAAQ,EAAA;AAAA,kBACN,IAAM,EAAA,GAAA;AAAA,kBACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,kBACzC,QAAU,EAAA;AAAA,oBACR,0NAAA;AAAA,mBACF;AAAA,iBACF;AAAA,eACF;AAAA,aACF;AAAA,WACF;AAAA,SACF;AAAA,QACA,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAU,EAAA;AAAA,YACR,oLAAA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,QAAA;AAAA,QACN,KAAO,EAAA,aAAA;AAAA,QACP,KAAO,EAAA,0BAAA;AAAA,QACP,MAAQ,EAAA;AAAA,UACN,IAAM,EAAA,GAAA;AAAA,UACN,KAAO,EAAA,EAAE,QAAU,EAAA,MAAA,EAAQ,OAAO,MAAO,EAAA;AAAA,UACzC,QAAU,EAAA;AAAA,YACR,iOAAA;AAAA,WACF;AAAA,SACF;AAAA,OACF;AAAA,KACF,CAAA;AAAA,GACF;AACF,CAAA;;;;"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { deepCopy } from '@form-create/utils/lib/deepextend';
|
2
2
|
import is, { hasProperty } from '@form-create/utils/lib/type';
|
3
3
|
import { lower } from '@form-create/utils/lib/tocase';
|
4
|
-
import draggable from 'vuedraggable/src/vuedraggable';
|
5
4
|
import PreviewPhone from './components/PreviewPhone.vue.mjs';
|
6
5
|
import { webRuleList, createWebMenu } from './config/rule/web/index.mjs';
|
7
6
|
import { minRuleList, createMinMenu } from './config/rule/min/index.mjs';
|
@@ -40,7 +39,7 @@ const _sfc_main = defineComponent({
|
|
40
39
|
name: 'DkPageDiy',
|
41
40
|
components: {
|
42
41
|
DiyCloud,
|
43
|
-
draggable,
|
42
|
+
// draggable,
|
44
43
|
PreviewPhone,
|
45
44
|
DragForm: designerForm.$form(),
|
46
45
|
},
|