@vipl520/dk-ui 1.0.40 → 1.0.42
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.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/tags.json +7 -2
- package/dist/web-types.json +71 -12
- package/es/animate-select/src/animate-select.vue.mjs +1 -1
- 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.vue.mjs +1 -1
- package/es/attachment/src/attachment.vue2.mjs +7 -1
- package/es/attachment/src/attachment.vue2.mjs.map +1 -1
- package/es/attachment/src/file-icon.vue.mjs +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.vue.mjs +1 -1
- 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-input/src/audio-input.vue.mjs +1 -1
- package/es/audio-list-input/src/audio-list-input.vue.mjs +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.vue.mjs +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/color-input/src/color-input.vue.mjs +1 -1
- package/es/dialog/src/dialog.vue.mjs +1 -1
- 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.vue.mjs +1 -1
- package/es/file-input/src/file-input.vue2.mjs.map +1 -1
- package/es/file-list-input/src/file-list-input.vue.mjs +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.vue.mjs +1 -1
- package/es/form/src/form.vue2.mjs.map +1 -1
- package/es/group/src/group.vue.mjs +1 -1
- package/es/group/src/group.vue2.mjs +3 -3
- package/es/group/src/group.vue2.mjs.map +1 -1
- package/es/hot-area-input/src/component/hot-area-content.vue.mjs +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.vue.mjs +1 -1
- package/es/hot-area-input/src/hot-area-input.vue2.mjs.map +1 -1
- package/es/icon/src/icon.vue.mjs +1 -1
- package/es/icon/src/icon.vue2.mjs.map +1 -1
- package/es/icon-input/src/icon-content.vue.mjs +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-dialog.vue.mjs +1 -1
- package/es/icon-input/src/icon-input.vue.mjs +1 -1
- package/es/icon-input/src/icon-input.vue2.mjs.map +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/image-list-input/src/image-list-input.vue2.mjs.map +1 -1
- package/es/index.mjs +0 -10
- 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 +1 -1
- package/es/page-diy/src/components/DiyCloud.vue.mjs.map +1 -1
- package/es/page-diy/src/components/DragBox.vue.mjs +7 -3
- package/es/page-diy/src/components/DragBox.vue.mjs.map +1 -1
- package/es/page-diy/src/components/DragTool.vue.mjs +6 -2
- package/es/page-diy/src/components/DragTool.vue.mjs.map +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue.mjs +1 -1
- package/es/page-diy/src/components/PreviewPhone.vue2.mjs.map +1 -1
- package/es/page-diy/src/components/forms/DkEventCreateInput.vue.mjs +1 -1
- package/es/page-diy/src/components/forms/DkEventSelectInput.vue.mjs +12 -10
- 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 +102 -34
- 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/DkMinBlank.vue.mjs +1 -1
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs +24 -7
- package/es/page-diy/src/views/min/DkMinHotArea.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs +1 -1
- package/es/page-diy/src/views/min/DkMinSwiperImage.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinTextarea.vue.mjs +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs +1 -1
- package/es/page-diy/src/views/min/DkMinTitle.vue.mjs.map +1 -1
- package/es/page-diy/src/views/min/DkMinVideo.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewBulletChat.vue.mjs +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 +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 +4 -2
- package/es/page-diy/src/views/web/DkViewCommonBtn.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewDialog.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewGridCellList.vue.mjs +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 +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 +1 -1
- package/es/page-diy/src/views/web/DkViewMusic.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewNavBar.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewNoticeBar.vue.mjs +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 +1 -1
- package/es/page-diy/src/views/web/DkViewSwipe.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewTabbar.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewTextarea.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewTitle.vue.mjs +1 -1
- package/es/page-diy/src/views/web/DkViewTitle.vue.mjs.map +1 -1
- package/es/page-diy/src/views/web/DkViewVideo.vue.mjs +1 -1
- package/es/page-diy/style/dk-page-diy.css +1 -1
- package/es/page-diy/style/dk-page-diy.scss +3 -3
- package/es/page-diy/style/index.css +1 -1
- package/es/poster-input/src/component/poster.vue.mjs +1 -1
- 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/DkPosterViewAvatar.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewImage.vue.mjs +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.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewName.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewQrcode.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/DkPosterViewText.vue.mjs +1 -1
- package/es/poster-input/src/component/views/DkPosterViewText.vue2.mjs.map +1 -1
- package/es/poster-input/src/component/views/quick-action.vue.mjs +1 -1
- package/es/poster-input/src/component/views/quick-action.vue2.mjs.map +1 -1
- package/es/poster-input/src/poster-input.vue.mjs +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.vue.mjs +1 -1
- 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.vue.mjs +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.vue.mjs +1 -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.vue.mjs +1 -1
- package/es/style-border-input/src/style-border-input.vue2.mjs +55 -38
- package/es/style-border-input/src/style-border-input.vue2.mjs.map +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.vue.mjs +1 -1
- package/es/style-box-input/src/style-box-input.vue2.mjs +2 -1
- 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.vue.mjs +1 -1
- package/es/style-font-input/src/style-font-input.vue2.mjs +8 -7
- package/es/style-font-input/src/style-font-input.vue2.mjs.map +1 -1
- package/es/style-input/src/style-input.vue.mjs +1 -1
- package/es/style-input/src/style-input.vue2.mjs +15 -22
- package/es/style-input/src/style-input.vue2.mjs.map +1 -1
- package/es/style-number-input/src/style-number-input.vue.mjs +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.vue.mjs +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.vue.mjs +1 -1
- package/es/style-shadow-input/src/style-shadow-content.vue2.mjs +144 -155
- 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.vue.mjs +1 -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.vue.mjs +1 -1
- package/es/table/src/components/ComSearch.vue2.mjs.map +1 -1
- package/es/table/src/components/FieldRender.vue.mjs +1 -1
- package/es/table/src/components/FieldRender.vue2.mjs.map +1 -1
- package/es/table/src/components/RecycleDialog.vue.mjs +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.vue.mjs +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.vue.mjs +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/test/src/test.vue.mjs +1 -1
- package/es/tiny-editor/src/tiny-editor.vue.mjs +1 -1
- package/es/tiny-editor/src/tiny-editor.vue2.mjs +7 -3
- 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 +5 -0
- 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/es/video-list-input/src/video-list-input.vue2.mjs.map +1 -1
- package/lib/animate-select/src/animate-select.vue.js +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.vue.js +1 -1
- package/lib/attachment/src/attachment.vue2.js +7 -1
- package/lib/attachment/src/attachment.vue2.js.map +1 -1
- package/lib/attachment/src/file-icon.vue.js +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.vue.js +1 -1
- 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-input/src/audio-input.vue.js +1 -1
- package/lib/audio-list-input/src/audio-list-input.vue.js +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.vue.js +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/color-input/src/color-input.vue.js +1 -1
- package/lib/dialog/src/dialog.vue.js +1 -1
- 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.vue.js +1 -1
- package/lib/file-input/src/file-input.vue2.js.map +1 -1
- package/lib/file-list-input/src/file-list-input.vue.js +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.vue.js +1 -1
- package/lib/form/src/form.vue2.js.map +1 -1
- package/lib/group/src/group.vue.js +1 -1
- package/lib/group/src/group.vue2.js +2 -2
- package/lib/group/src/group.vue2.js.map +1 -1
- package/lib/hot-area-input/src/component/hot-area-content.vue.js +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.vue.js +1 -1
- package/lib/hot-area-input/src/hot-area-input.vue2.js.map +1 -1
- package/lib/icon/src/icon.vue.js +1 -1
- package/lib/icon/src/icon.vue2.js.map +1 -1
- package/lib/icon-input/src/icon-content.vue.js +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-dialog.vue.js +1 -1
- package/lib/icon-input/src/icon-input.vue.js +1 -1
- package/lib/icon-input/src/icon-input.vue2.js.map +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/image-list-input/src/image-list-input.vue2.js.map +1 -1
- package/lib/index.js +0 -10
- 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 +1 -1
- package/lib/page-diy/src/components/DiyCloud.vue.js.map +1 -1
- package/lib/page-diy/src/components/DragBox.vue.js +7 -3
- package/lib/page-diy/src/components/DragBox.vue.js.map +1 -1
- package/lib/page-diy/src/components/DragTool.vue.js +6 -2
- package/lib/page-diy/src/components/DragTool.vue.js.map +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue.js +1 -1
- package/lib/page-diy/src/components/PreviewPhone.vue2.js.map +1 -1
- package/lib/page-diy/src/components/forms/DkEventCreateInput.vue.js +1 -1
- package/lib/page-diy/src/components/forms/DkEventSelectInput.vue.js +12 -10
- 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 +102 -34
- 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/DkMinBlank.vue.js +1 -1
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js +24 -7
- package/lib/page-diy/src/views/min/DkMinHotArea.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js +1 -1
- package/lib/page-diy/src/views/min/DkMinSwiperImage.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinTextarea.vue.js +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js +1 -1
- package/lib/page-diy/src/views/min/DkMinTitle.vue.js.map +1 -1
- package/lib/page-diy/src/views/min/DkMinVideo.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewBulletChat.vue.js +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 +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 +4 -2
- package/lib/page-diy/src/views/web/DkViewCommonBtn.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewDialog.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewGridCellList.vue.js +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 +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 +1 -1
- package/lib/page-diy/src/views/web/DkViewMusic.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewNavBar.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewNoticeBar.vue.js +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 +1 -1
- package/lib/page-diy/src/views/web/DkViewSwipe.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewTabbar.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewTextarea.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewTitle.vue.js +1 -1
- package/lib/page-diy/src/views/web/DkViewTitle.vue.js.map +1 -1
- package/lib/page-diy/src/views/web/DkViewVideo.vue.js +1 -1
- package/lib/page-diy/style/dk-page-diy.css +1 -1
- package/lib/page-diy/style/dk-page-diy.scss +3 -3
- package/lib/page-diy/style/index.css +1 -1
- package/lib/poster-input/src/component/poster.vue.js +1 -1
- 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/DkPosterViewAvatar.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewImage.vue.js +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.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewName.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewQrcode.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewText.vue.js +1 -1
- package/lib/poster-input/src/component/views/DkPosterViewText.vue2.js.map +1 -1
- package/lib/poster-input/src/component/views/quick-action.vue.js +1 -1
- package/lib/poster-input/src/component/views/quick-action.vue2.js.map +1 -1
- package/lib/poster-input/src/poster-input.vue.js +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.vue.js +1 -1
- 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.vue.js +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.vue.js +1 -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.vue.js +1 -1
- package/lib/style-border-input/src/style-border-input.vue2.js +55 -38
- package/lib/style-border-input/src/style-border-input.vue2.js.map +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.vue.js +1 -1
- package/lib/style-box-input/src/style-box-input.vue2.js +2 -1
- 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.vue.js +1 -1
- package/lib/style-font-input/src/style-font-input.vue2.js +8 -7
- package/lib/style-font-input/src/style-font-input.vue2.js.map +1 -1
- package/lib/style-input/src/style-input.vue.js +1 -1
- package/lib/style-input/src/style-input.vue2.js +14 -21
- package/lib/style-input/src/style-input.vue2.js.map +1 -1
- package/lib/style-number-input/src/style-number-input.vue.js +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.vue.js +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.vue.js +1 -1
- package/lib/style-shadow-input/src/style-shadow-content.vue2.js +144 -155
- 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.vue.js +1 -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.vue.js +1 -1
- package/lib/table/src/components/ComSearch.vue2.js.map +1 -1
- package/lib/table/src/components/FieldRender.vue.js +1 -1
- package/lib/table/src/components/FieldRender.vue2.js.map +1 -1
- package/lib/table/src/components/RecycleDialog.vue.js +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.vue.js +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.vue.js +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/test/src/test.vue.js +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue.js +1 -1
- package/lib/tiny-editor/src/tiny-editor.vue2.js +7 -3
- 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 +5 -0
- 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/lib/video-list-input/src/video-list-input.vue2.js.map +1 -1
- package/package.json +3 -2
- package/dist/index.js +0 -34318
- package/dist/index.mjs +0 -34228
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var deepextend = require('@form-create/utils/lib/deepextend');
|
6
6
|
var is = require('@form-create/utils/lib/type');
|
7
7
|
var tocase = require('@form-create/utils/lib/tocase');
|
8
|
-
var draggable = require('vuedraggable/src/vuedraggable');
|
9
8
|
var PreviewPhone = require('./components/PreviewPhone.vue.js');
|
10
9
|
var index = require('./config/rule/web/index.js');
|
11
10
|
var index$1 = require('./config/rule/min/index.js');
|
@@ -44,7 +43,7 @@ const _sfc_main = vue.defineComponent({
|
|
44
43
|
name: 'DkPageDiy',
|
45
44
|
components: {
|
46
45
|
DiyCloud: DiyCloud.default,
|
47
|
-
draggable,
|
46
|
+
// draggable,
|
48
47
|
PreviewPhone: PreviewPhone.default,
|
49
48
|
DragForm: form.designerForm.$form(),
|
50
49
|
},
|
@@ -245,7 +244,9 @@ const _sfc_main = vue.defineComponent({
|
|
245
244
|
// 处理对象节点
|
246
245
|
if (Array.isArray(node.children)) {
|
247
246
|
// 只保留 children 数组中的对象类型元素
|
248
|
-
node.children = node.children.filter(
|
247
|
+
node.children = node.children.filter(
|
248
|
+
(child) => typeof child === 'object' && child !== null
|
249
|
+
);
|
249
250
|
// 递归处理每个子节点
|
250
251
|
node.children = cleanTreeData(node.children);
|
251
252
|
}
|
@@ -258,7 +259,10 @@ const _sfc_main = vue.defineComponent({
|
|
258
259
|
vue.watch(
|
259
260
|
() => data.dragForm,
|
260
261
|
() => {
|
261
|
-
data.treeAside.treeData = methods.parseRule(
|
262
|
+
data.treeAside.treeData = methods.parseRule(
|
263
|
+
deepextend.deepCopy(data.dragForm.api.rule[0].children),
|
264
|
+
true
|
265
|
+
);
|
262
266
|
data.treeAside.treeData = cleanTreeData(data.treeAside.treeData);
|
263
267
|
},
|
264
268
|
{
|
@@ -466,7 +470,9 @@ const _sfc_main = vue.defineComponent({
|
|
466
470
|
rules = [];
|
467
471
|
}
|
468
472
|
data.children = methods.makeChildren(
|
469
|
-
methods.loadRule(
|
473
|
+
methods.loadRule(
|
474
|
+
is.String(rules) ? form.designerForm.parseJson(rules) : deepextend.deepCopy(rules)
|
475
|
+
)
|
470
476
|
);
|
471
477
|
methods.clearActiveRule();
|
472
478
|
data.dragForm.rule = methods.makeDragRule(data.children);
|
@@ -585,9 +591,15 @@ const _sfc_main = vue.defineComponent({
|
|
585
591
|
field = tocase.lower(field);
|
586
592
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
587
593
|
delete data.activeRule.effect[field.split('>')[1]];
|
588
|
-
} else if (
|
594
|
+
} else if (
|
595
|
+
field.indexOf('props') === 0 &&
|
596
|
+
field.indexOf('>') > -1
|
597
|
+
) {
|
589
598
|
delete data.activeRule.props[field.split('>')[1]];
|
590
|
-
} else if (
|
599
|
+
} else if (
|
600
|
+
field.indexOf('attrs') === 0 &&
|
601
|
+
field.indexOf('>') > -1
|
602
|
+
) {
|
591
603
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
592
604
|
} else if (field === 'child') {
|
593
605
|
delete data.activeRule.children[0];
|
@@ -616,9 +628,15 @@ const _sfc_main = vue.defineComponent({
|
|
616
628
|
field = tocase.lower(field);
|
617
629
|
if (field.indexOf('effect') === 0 && field.indexOf('>') > -1) {
|
618
630
|
data.activeRule.effect[field.split('>')[1]] = value;
|
619
|
-
} else if (
|
631
|
+
} else if (
|
632
|
+
field.indexOf('props') === 0 &&
|
633
|
+
field.indexOf('>') > -1
|
634
|
+
) {
|
620
635
|
data.activeRule.props[field.split('>')[1]] = value;
|
621
|
-
} else if (
|
636
|
+
} else if (
|
637
|
+
field.indexOf('attrs') === 0 &&
|
638
|
+
field.indexOf('>') > -1
|
639
|
+
) {
|
622
640
|
data.activeRule.attrs[field.split('>')[1]] = value;
|
623
641
|
} else if (field === 'child') {
|
624
642
|
data.activeRule.children[0] = value;
|
@@ -730,14 +748,18 @@ const _sfc_main = vue.defineComponent({
|
|
730
748
|
;['props', 'effect', 'attrs'].forEach((name) => {
|
731
749
|
rule[name] &&
|
732
750
|
Object.keys(rule[name]).forEach((k) => {
|
733
|
-
formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(
|
751
|
+
formData['formCreate' + help.upper(name) + '>' + k] = deepextend.deepCopy(
|
752
|
+
rule[name][k]
|
753
|
+
);
|
734
754
|
});
|
735
755
|
});
|
736
756
|
// console.log('formData', formData)
|
737
757
|
data.propsForm.value = formData;
|
738
758
|
|
739
759
|
data.showBaseRule =
|
740
|
-
is.hasProperty(rule, 'field') &&
|
760
|
+
is.hasProperty(rule, 'field') &&
|
761
|
+
rule.input !== false &&
|
762
|
+
(!config.value || config.value.showBaseForm !== false);
|
741
763
|
if (data.showBaseRule) {
|
742
764
|
data.dragForm.api.refreshValidate();
|
743
765
|
}
|
@@ -764,7 +786,9 @@ const _sfc_main = vue.defineComponent({
|
|
764
786
|
const rule = methods.makeRule(ruleList[menu.name]);
|
765
787
|
const config = rule.children[0].config.config;
|
766
788
|
const count = config.count ? config.count : 99;
|
767
|
-
const _count = countObj.value[config.name]
|
789
|
+
const _count = countObj.value[config.name]
|
790
|
+
? countObj.value[config.name]
|
791
|
+
: 0;
|
768
792
|
if (_count >= count) {
|
769
793
|
elementPlus.ElNotification({
|
770
794
|
title: '警告',
|
@@ -778,7 +802,10 @@ const _sfc_main = vue.defineComponent({
|
|
778
802
|
data.added = true;
|
779
803
|
},
|
780
804
|
dragEnd(children, { newIndex, oldIndex }) {
|
781
|
-
if (
|
805
|
+
if (
|
806
|
+
!data.added &&
|
807
|
+
!(data.moveRule === children && newIndex === oldIndex)
|
808
|
+
) {
|
782
809
|
const rule = data.moveRule.splice(oldIndex, 1);
|
783
810
|
children.splice(newIndex, 0, rule[0]);
|
784
811
|
}
|
@@ -800,12 +827,21 @@ const _sfc_main = vue.defineComponent({
|
|
800
827
|
let drag;
|
801
828
|
if (config.drag) {
|
802
829
|
rule.children.push(
|
803
|
-
(drag = methods.makeDrag(
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
830
|
+
(drag = methods.makeDrag(
|
831
|
+
config.drag,
|
832
|
+
rule.type,
|
833
|
+
methods.makeChildren([]),
|
834
|
+
{
|
835
|
+
end: (inject, evt) =>
|
836
|
+
methods.dragEnd(inject.self.children, evt),
|
837
|
+
add: (inject, evt) =>
|
838
|
+
methods.dragAdd(inject.self.children, evt),
|
839
|
+
start: (inject, evt) =>
|
840
|
+
methods.dragStart(inject.self.children, evt),
|
841
|
+
unchoose: (inject, evt) =>
|
842
|
+
methods.dragUnchoose(inject.self.children, evt),
|
843
|
+
}
|
844
|
+
))
|
809
845
|
);
|
810
846
|
}
|
811
847
|
if (config.children && !_rule) {
|
@@ -815,7 +851,10 @@ const _sfc_main = vue.defineComponent({
|
|
815
851
|
}
|
816
852
|
}
|
817
853
|
|
818
|
-
const dragMask =
|
854
|
+
const dragMask =
|
855
|
+
mask.value !== undefined
|
856
|
+
? mask.value !== false
|
857
|
+
: config.mask !== false;
|
819
858
|
if (config.inside) {
|
820
859
|
rule.children = methods.makeChildren([
|
821
860
|
{
|
@@ -851,9 +890,10 @@ const _sfc_main = vue.defineComponent({
|
|
851
890
|
const config = top.parent.config.config;
|
852
891
|
const item = ruleList[config.children];
|
853
892
|
if (!item) return
|
854
|
-
;(!config.drag
|
855
|
-
|
856
|
-
|
893
|
+
;(!config.drag
|
894
|
+
? top.parent
|
895
|
+
: top.parent.children[0]
|
896
|
+
).children[0].children.push(methods.makeRule(item));
|
857
897
|
},
|
858
898
|
copy: ({ self }) => {
|
859
899
|
const top = methods.getParent(self);
|
@@ -906,7 +946,10 @@ const _sfc_main = vue.defineComponent({
|
|
906
946
|
const config = self.children[0].config.config;
|
907
947
|
const item = ruleList[config.children];
|
908
948
|
if (!item) return
|
909
|
-
;(!config.drag
|
949
|
+
;(!config.drag
|
950
|
+
? self
|
951
|
+
: self.children[0]
|
952
|
+
).children[0].children.push(methods.makeRule(item));
|
910
953
|
},
|
911
954
|
copy: ({ self }) => {
|
912
955
|
vm.emit('copy', self.children[0]);
|
@@ -914,7 +957,11 @@ const _sfc_main = vue.defineComponent({
|
|
914
957
|
const copyRule = form.designerForm.copyRule(top.parent);
|
915
958
|
// 解决复制后,组件的setting配置失效
|
916
959
|
copyRule.props.setting = copyRule.children[0].setting;
|
917
|
-
top.root.children.splice(
|
960
|
+
top.root.children.splice(
|
961
|
+
top.root.children.indexOf(top.parent) + 1,
|
962
|
+
0,
|
963
|
+
copyRule
|
964
|
+
);
|
918
965
|
},
|
919
966
|
active: ({ self }) => {
|
920
967
|
vm.emit('active', self.children[0]);
|
@@ -932,15 +979,18 @@ const _sfc_main = vue.defineComponent({
|
|
932
979
|
data.dragName = name;
|
933
980
|
if (name === 'left') {
|
934
981
|
// 获取._fc-l的宽度
|
935
|
-
data.asideValue =
|
982
|
+
data.asideValue =
|
983
|
+
document.getElementsByClassName('_fc-l')[0].offsetWidth;
|
936
984
|
}
|
937
985
|
if (name === 'right') {
|
938
|
-
data.asideValue =
|
986
|
+
data.asideValue =
|
987
|
+
document.getElementsByClassName('_fc-r')[0].offsetWidth;
|
939
988
|
}
|
940
989
|
document.body.style.cursor = 'ew-resize';
|
941
990
|
if (name === 'tree') {
|
942
991
|
data.startValue = e.clientY;
|
943
|
-
data.asideValue =
|
992
|
+
data.asideValue =
|
993
|
+
document.getElementsByClassName('children-list')[0].offsetHeight;
|
944
994
|
console.log('data.startValue', data.startValue);
|
945
995
|
console.log('data.asideValue', data.asideValue);
|
946
996
|
document.body.style.cursor = 'n-resize';
|
@@ -1032,11 +1082,20 @@ const _sfc_main = vue.defineComponent({
|
|
1032
1082
|
const draggingRule = draggingNode.data.config.config;
|
1033
1083
|
const dropRule = dropNode.data.config.config;
|
1034
1084
|
// 内部元素放到指定的外部才可以放置
|
1035
|
-
if (
|
1085
|
+
if (
|
1086
|
+
type === 'inner' &&
|
1087
|
+
draggingRule.inside &&
|
1088
|
+
draggingRule.name === dropRule.children
|
1089
|
+
) {
|
1036
1090
|
return true
|
1037
1091
|
}
|
1038
1092
|
// 同样父级
|
1039
|
-
if (
|
1093
|
+
if (
|
1094
|
+
type !== 'inner' &&
|
1095
|
+
draggingRule.name === dropRule.name &&
|
1096
|
+
draggingRule.inside &&
|
1097
|
+
dropRule.inside
|
1098
|
+
) {
|
1040
1099
|
return true
|
1041
1100
|
}
|
1042
1101
|
|
@@ -1062,7 +1121,9 @@ const _sfc_main = vue.defineComponent({
|
|
1062
1121
|
methods.setRule(data.treeAside.treeData);
|
1063
1122
|
},
|
1064
1123
|
};
|
1065
|
-
data.dragForm.rule = methods.makeDragRule(
|
1124
|
+
data.dragForm.rule = methods.makeDragRule(
|
1125
|
+
methods.makeChildren(data.children)
|
1126
|
+
);
|
1066
1127
|
return {
|
1067
1128
|
...vue.toRefs(data),
|
1068
1129
|
...methods,
|
@@ -1133,7 +1194,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1133
1194
|
item: vue.withCtx(({ element }) => [
|
1134
1195
|
(vue.openBlock(), vue.createElementBlock("div", {
|
1135
1196
|
key: element.id,
|
1136
|
-
class: vue.normalizeClass(["_fc-l-item",
|
1197
|
+
class: vue.normalizeClass(["_fc-l-item",
|
1198
|
+
element.count - (_ctx.countObj[element.name] || 0) <= 0
|
1199
|
+
? 'not-drag'
|
1200
|
+
: ''
|
1201
|
+
])
|
1137
1202
|
}, [
|
1138
1203
|
vue.createElementVNode("div", _hoisted_3, [
|
1139
1204
|
vue.createVNode(_component_dk_icon, {
|
@@ -1178,7 +1243,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1178
1243
|
}, {
|
1179
1244
|
default: vue.withCtx(({ data }) => [
|
1180
1245
|
vue.createElementVNode("div", {
|
1181
|
-
|
1246
|
+
class: "el-tree-node-content",
|
1247
|
+
style: vue.normalizeStyle(
|
1248
|
+
_ctx.activeRule && _ctx.activeRule._id === data._id ? 'color:red' : ''
|
1249
|
+
)
|
1182
1250
|
}, [
|
1183
1251
|
vue.createTextVNode(vue.toDisplayString(data.type) + " ", 1 /* TEXT */),
|
1184
1252
|
(data.config?.config.label)
|
@@ -1390,7 +1458,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1390
1458
|
_: 3 /* FORWARDED */
|
1391
1459
|
}))
|
1392
1460
|
}
|
1393
|
-
var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-
|
1461
|
+
var _PageDiy = /*#__PURE__*/_pluginVue_exportHelper.default(_sfc_main, [['render',_sfc_render],['__file',"E:\\project\\monster-admin\\system\\dkgs-ui-vlib-starter\\dkgs-ui-doc\\packages\\dk-ui\\src\\page-diy\\src\\page-diy.vue"]]);
|
1394
1462
|
|
1395
1463
|
exports.default = _PageDiy;
|
1396
1464
|
//# sourceMappingURL=page-diy.vue.js.map
|