@web-utils/component 2.30.1 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.mjs +9 -9
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +20 -20
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +10 -10
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +23 -23
- package/card/style.css +1 -1
- package/carousel/index.mjs +5 -5
- package/carousel/style.css +1 -1
- package/chat/index.mjs +5 -3
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +3 -3
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.7f91629d.mjs} +4 -4
- package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.817b542f.mjs} +16 -6
- package/chunks/{dataformat.X_61lMA7.mjs → dataformat.f995e2f9.mjs} +1 -1
- package/chunks/{dic.6tk91Dmq.mjs → dic.eaac0823.mjs} +8 -10
- package/chunks/{event.NHA7rYFE.mjs → event.b5d855dd.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
- package/chunks/{init.Ac4dKUJB.mjs → init.47f219b4.mjs} +3 -3
- package/chunks/{util.C2Bhx22L.mjs → util.ae730cde.mjs} +24 -18
- package/code-mirror-editor/index.mjs +404 -175
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +18 -18
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +9 -9
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +6 -10
- package/custom-scrollbar/index.mjs +5 -9
- package/data-box/index.mjs +8 -8
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +19 -19
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +22 -22
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +24 -24
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +13 -13
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +18 -18
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +28 -28
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +15 -15
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +7 -7
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +5 -5
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +16 -16
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +6 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +47 -47
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +15 -15
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +7 -7
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +15 -15
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +5 -5
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +13 -9
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +9 -9
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +13 -13
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +12 -6
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +5 -5
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +23 -9
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +156 -63
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +20 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +23 -20
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +7 -5
- package/form-checkbox-group/index.mjs +9 -7
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +41 -12
- package/form-holder/index.mjs +6 -3
- package/form-input/index.mjs +6 -4
- package/form-input-email/index.mjs +12 -8
- package/form-input-id-card/index.mjs +12 -8
- package/form-input-number/index.mjs +10 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +12 -8
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +6 -4
- package/form-item/index.mjs +43 -37
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +15 -12
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +40 -38
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +7 -5
- package/form-switch/index.mjs +6 -4
- package/form-textarea/index.mjs +6 -4
- package/form-view/index.mjs +32 -10
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +9 -9
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +7 -7
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +6 -6
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +117 -99
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +8 -8
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +3 -3
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +51 -43
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +10 -10
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +42 -42
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +539 -421
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +5 -5
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +21 -15
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +13 -10
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +6 -6
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +6 -6
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +27 -27
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +14 -14
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +6 -9
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +34 -32
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +27 -27
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +12 -12
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +9 -9
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +16 -16
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +5 -5
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +10 -10
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +7 -7
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +5 -5
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +7 -7
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +6 -2
- package/keyboard/index.mjs +21 -20
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +5 -5
- package/loading-view/style.css +1 -1
- package/login/index.mjs +4 -4
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +6 -6
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +8 -8
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +15 -15
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +5 -5
- package/notice/style.css +1 -1
- package/package.json +1 -1
- package/page/index.mjs +8 -8
- package/page/style.css +1 -1
- package/page-header/index.mjs +6 -6
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +19 -19
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +21 -21
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +3 -3
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +21 -26
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +37 -42
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +4 -2
- package/present-view/index.mjs +31 -9
- package/present-view/style.css +1 -1
- package/queue/index.mjs +4 -4
- package/queue/style.css +1 -1
- package/record-video/index.mjs +14 -14
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +6 -6
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +7 -7
- package/search/style.css +1 -1
- package/search-popover/index.mjs +6 -6
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +31 -31
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +8 -8
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +19 -22
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +12 -12
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +9 -9
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +7 -7
- package/swiper/style.css +1 -1
- package/tab/index.mjs +2 -2
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +10 -6
- package/table-view/index.mjs +28 -8
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +29 -29
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +9 -12
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +77 -77
- package/tinymce-editor/style.css +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +6 -6
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +10 -10
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +3 -3
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +25 -22
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +32 -29
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +31 -31
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
- /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
- /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
package/flow-designer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
|
1
|
+
.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow-x:hidden;overflow-y:auto;box-shadow:0 0 8px #ccc}.process-panel__container.hide:hover{background-color:#e8f4ff}.process-panel__container.show{overflow-x:auto}.process-panel__container .open-properties-handel{color:#606266;text-align:center;cursor:pointer;font-size:20px}.process-panel__container .open-properties-handel:hover{color:#1682e6}.process-panel__container .element-property{align-items:flex-start;width:100%;margin:8px 0;display:flex}.process-panel__container .element-property .element-property__label{box-sizing:border-box;text-align:right;width:90px;padding-right:12px;font-size:14px;line-height:32px;display:block;overflow:hidden}.process-panel__container .element-property .element-property__value{flex:1;line-height:32px}.process-panel__container .element-property .el-form-item{width:100%;margin-bottom:0;padding-bottom:18px}.process-panel__container .list-property{flex-direction:column}.process-panel__container .list-property .element-listener-item{grid-column-gap:8px;grid-template-columns:16px auto 32px 32px;width:100%;display:inline-grid}.process-panel__container .list-property .element-listener-item+.element-listener-item{margin-top:8px}.process-panel__container .el-collapse-item__content{padding-bottom:0}.process-panel__container .el-input.is-disabled .el-input__inner{color:#999}.process-panel__container .el-form-item.el-form-item--mini{margin-bottom:0}.process-panel__container .el-form-item.el-form-item--mini+.el-form-item{margin-top:16px}.panel-tab__title{padding:0 8px;font-size:1.1em;font-weight:600;line-height:1.2em}.panel-tab__title i{margin-right:8px;font-size:1.2em}.panel-tab__content{box-sizing:border-box;border-top:1px solid #eee;width:100%;padding:8px 16px}.panel-tab__content .panel-tab__content--title{justify-content:space-between;padding-bottom:8px;display:flex}.panel-tab__content .panel-tab__content--title span{text-align:left;flex:1}.listener-filed__title{justify-content:space-between;align-items:center;width:100%;margin-top:0;display:inline-flex}.listener-filed__title span{text-align:left;width:200px;font-size:14px}.listener-filed__title i{margin-right:8px}.element-drawer__button{justify-content:space-around;width:100%;margin-top:8px;display:inline-flex}.element-drawer__button>.el-button{width:100%}.flow-drawer .el-drawer__body{padding:10px}.my-process-designer{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100%;display:flex}.my-process-designer .bts-toggle-mode{display:none}.my-process-designer .djs-palette.open .djs-palette-entries div[class^=bpmn-icon-]:before,.my-process-designer .djs-palette.open .djs-palette-entries div[class*=bpmn-icon-]:before{line-height:unset}.my-process-designer .djs-palette.open .djs-palette-entries div.entry{position:relative}.my-process-designer .djs-palette.open .djs-palette-entries div.entry:hover:after{z-index:100;box-sizing:border-box;font-variant:normal;text-transform:none;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding:0 16px;font-size:.5em;display:inline-block;position:absolute;top:0;bottom:0;right:-10px;overflow:hidden;transform:translate(100%);box-shadow:0 0 6px #eee}.my-process-designer .my-process-designer__header{width:100%;min-height:36px}.my-process-designer .my-process-designer__header .el-button{text-align:center}.my-process-designer .my-process-designer__header .el-button-group{margin:4px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button{text-align:left;width:100%;padding-left:8px;padding-right:8px}.my-process-designer .my-process-designer__header .el-tooltip__popper .el-button:hover{color:#fff;background:rgba(64,158,255,.8)}.my-process-designer .my-process-designer__header .align{position:relative}.my-process-designer .my-process-designer__header .align i:after{content:"|";position:absolute;transform:rotate(90deg)translate(200%,60%)}.my-process-designer .my-process-designer__header .align.align-left i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-right i{transform:rotate(-90deg)}.my-process-designer .my-process-designer__header .align.align-top i{transform:rotate(180deg)}.my-process-designer .my-process-designer__header .align.align-bottom i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-center i{transform:rotate(90deg)}.my-process-designer .my-process-designer__header .align.align-center i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__header .align.align-middle i{transform:rotate(0)}.my-process-designer .my-process-designer__header .align.align-middle i:after{transform:rotate(90deg)translateY(60%)}.my-process-designer .my-process-designer__container{flex:1;width:100%;display:inline-flex}.my-process-designer .my-process-designer__container .my-process-designer__canvas{flex:1;height:100%;position:relative}.my-process-designer .my-process-designer__container .my-process-designer__canvas div.toggle-mode{display:none}.my-process-designer .my-process-designer__container .my-process-designer__property-panel{z-index:10;height:100%;overflow-x:scroll;overflow-y:auto}.my-process-designer .my-process-designer__container .my-process-designer__property-panel *{box-sizing:border-box}.flow-designer{background-color:#fff;width:100%;height:100%;display:flex}
|
package/flow-node/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as n } from "../chunks/util.
|
|
2
|
-
import { n as r } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { s as n } from "../chunks/util.ae730cde.mjs";
|
|
2
|
+
import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var l = function() {
|
|
4
4
|
var e = this, o = e.$createElement, t = e._self._c || o;
|
|
5
5
|
return t("div", {
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -30,9 +30,9 @@ import $ from "bpmn-js/lib/NavigatedViewer";
|
|
|
30
30
|
import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
|
|
31
31
|
import { create as c, attr as p, append as m } from "tiny-svg";
|
|
32
32
|
import { query as A } from "min-dom";
|
|
33
|
-
import
|
|
33
|
+
import F from "@web-utils/component/easy-popup";
|
|
34
34
|
import "@web-utils/component/easy-popup/style.css";
|
|
35
|
-
import { n as
|
|
35
|
+
import { n as S } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
36
36
|
var B = function() {
|
|
37
37
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
38
38
|
return t("div", {
|
|
@@ -63,7 +63,7 @@ const f = d.prototype._handleWheel, P = {
|
|
|
63
63
|
}, W = {
|
|
64
64
|
name: "FlowViewer",
|
|
65
65
|
components: {
|
|
66
|
-
EasyPopup:
|
|
66
|
+
EasyPopup: F
|
|
67
67
|
},
|
|
68
68
|
props: {
|
|
69
69
|
xml: {
|
|
@@ -165,12 +165,15 @@ const f = d.prototype._handleWheel, P = {
|
|
|
165
165
|
}), m(h, a);
|
|
166
166
|
const r = A("defs", this.$el);
|
|
167
167
|
m(r, n), m(r, h);
|
|
168
|
-
}), this.bpmnViewer.importXML(this.xml), this.$watch(
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
168
|
+
}), this.bpmnViewer.importXML(this.xml), this.$watch(
|
|
169
|
+
() => ({
|
|
170
|
+
activities: this.activities,
|
|
171
|
+
historicActivities: this.historicActivities
|
|
172
|
+
}),
|
|
173
|
+
({ activities: e, historicActivities: i }) => {
|
|
174
|
+
this.highlightFlow(i, e);
|
|
175
|
+
}
|
|
176
|
+
);
|
|
174
177
|
},
|
|
175
178
|
beforeDestroy() {
|
|
176
179
|
var e;
|
|
@@ -182,12 +185,18 @@ const f = d.prototype._handleWheel, P = {
|
|
|
182
185
|
},
|
|
183
186
|
highlightFlow(e, i) {
|
|
184
187
|
this.elementRegistry.getAll().forEach((t) => {
|
|
185
|
-
[
|
|
188
|
+
[
|
|
189
|
+
"bpmn:StartEvent",
|
|
190
|
+
"bpmn:UserTask",
|
|
191
|
+
"bpmn:ExclusiveGateway",
|
|
192
|
+
"bpmn:ParallelGateway",
|
|
193
|
+
"bpmn:EndEvent"
|
|
194
|
+
].includes(t.type) && (e.includes(t.id) && !i.includes(t.id) ? this.canvas.addMarker(t, "highlight") : this.canvas.removeMarker(t, "highlight")), t.type === "bpmn:SequenceFlow" && (e.includes(t.id) ? this.canvas.addMarker(t, "highlight-line") : this.canvas.removeMarker(t, "highlight-line")), t.type === "bpmn:UserTask" && (i.includes(t.id) ? this.canvas.addMarker(t, "highlight-current") : this.canvas.removeMarker(t, "highlight-current"));
|
|
186
195
|
});
|
|
187
196
|
}
|
|
188
197
|
}
|
|
189
198
|
}, _ = {};
|
|
190
|
-
var X = /* @__PURE__ */
|
|
199
|
+
var X = /* @__PURE__ */ S(
|
|
191
200
|
W,
|
|
192
201
|
B,
|
|
193
202
|
C,
|
package/flow-viewer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.flow-viewer{width:100%;height:400px}.flow-viewer .highlight g.djs-visual rect,.flow-viewer .highlight g.djs-visual circle,.flow-viewer .highlight g.djs-visual polygon,.flow-viewer .highlight g.djs-visual path{stroke:var(--highlight-color)!important}.flow-viewer .highlight g.djs-visual polygon+path{fill:var(--highlight-color)!important}@keyframes dashoffset{to{stroke-dashoffset:100%}}.flow-viewer .highlight-current g.djs-visual rect{stroke-dasharray:8;animation:40s linear infinite forwards dashoffset;fill:#fbe9d1!important;stroke:#d67e7d!important}.flow-viewer .highlight-line g.djs-visual path{stroke:var(--highlight-color)!important;stroke-width:2px!important;marker-end:url(#sequenceflow-arrow-green)!important}
|
|
1
|
+
.flow-viewer{width:100%;height:400px}.flow-viewer .highlight g.djs-visual rect,.flow-viewer .highlight g.djs-visual circle,.flow-viewer .highlight g.djs-visual polygon,.flow-viewer .highlight g.djs-visual path{stroke:var(--highlight-color)!important}.flow-viewer .highlight g.djs-visual polygon+path{fill:var(--highlight-color)!important}@keyframes dashoffset{to{stroke-dashoffset:100%}}.flow-viewer .highlight-current g.djs-visual rect{stroke-dasharray:8;animation:40s linear infinite forwards dashoffset;fill:#fbe9d1!important;stroke:#d67e7d!important}.flow-viewer .highlight-line g.djs-visual path{stroke:var(--highlight-color)!important;stroke-width:2px!important;marker-end:url(#sequenceflow-arrow-green)!important}
|
package/form-block/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
2
|
const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], d = ["$emit", "validate", "clearValidate"], c = {
|
|
3
3
|
name: "FormBlock",
|
|
4
4
|
inject: {
|
|
@@ -74,26 +74,29 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
74
74
|
return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
|
|
75
75
|
},
|
|
76
76
|
dispatch(e, t, a) {
|
|
77
|
-
let
|
|
78
|
-
for (;
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
let o = this.$parent || this.$root, i = o.$options.name;
|
|
78
|
+
for (; o && (!i || i !== e); )
|
|
79
|
+
o = o.$parent, o && (i = o.$options.name);
|
|
80
|
+
o && o.$emit.apply(o, [t].concat(a));
|
|
81
81
|
},
|
|
82
82
|
renderDefault() {
|
|
83
83
|
const e = this.$createElement, {
|
|
84
84
|
wrapRow: t,
|
|
85
85
|
gutter: a,
|
|
86
|
-
formConfig:
|
|
87
|
-
$scopedSlots:
|
|
86
|
+
formConfig: o,
|
|
87
|
+
$scopedSlots: i
|
|
88
88
|
} = this;
|
|
89
|
-
return t ?
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
89
|
+
return t ? (
|
|
90
|
+
// eslint-disable-next-line no-undef
|
|
91
|
+
e("ElRow", {
|
|
92
|
+
attrs: {
|
|
93
|
+
gutter: a
|
|
94
|
+
}
|
|
95
|
+
}, [i.default({
|
|
96
|
+
disabled: o.disabled
|
|
97
|
+
})])
|
|
98
|
+
) : i.default({
|
|
99
|
+
disabled: o.disabled
|
|
97
100
|
});
|
|
98
101
|
},
|
|
99
102
|
toggle() {
|
|
@@ -107,13 +110,13 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
107
110
|
const e = arguments[0], {
|
|
108
111
|
renderDefault: t,
|
|
109
112
|
blockTitle: a,
|
|
110
|
-
active:
|
|
111
|
-
expand:
|
|
113
|
+
active: o,
|
|
114
|
+
expand: i,
|
|
112
115
|
toggle: r
|
|
113
116
|
} = this;
|
|
114
117
|
return e("div", {
|
|
115
118
|
class: ["form-block", {
|
|
116
|
-
"default-active":
|
|
119
|
+
"default-active": o
|
|
117
120
|
}]
|
|
118
121
|
}, [e("div", {
|
|
119
122
|
class: "form-block-title",
|
|
@@ -123,11 +126,11 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
|
|
|
123
126
|
}, [e("span", {
|
|
124
127
|
class: "flex-item"
|
|
125
128
|
}, [a]), " ", e("i", {
|
|
126
|
-
class:
|
|
129
|
+
class: i ? "el-icon-arrow-down" : "el-icon-arrow-right"
|
|
127
130
|
})]), e("ElCollapseTransition", [e("div", {
|
|
128
131
|
directives: [{
|
|
129
132
|
name: "show",
|
|
130
|
-
value:
|
|
133
|
+
value: i
|
|
131
134
|
}]
|
|
132
135
|
}, [t()])])]);
|
|
133
136
|
}
|
package/form-block/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-block{background-color:#fff;padding-bottom:10px}.form-block-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
|
1
|
+
.form-block{background-color:#fff;padding-bottom:10px}.form-block-title{color:#333;cursor:pointer;background-color:#f3f5fb;flex-direction:row;align-items:center;height:30px;margin:0 0 10px;padding:0 10px;font-size:14px;font-weight:700;line-height:30px;display:flex}
|
package/form-button/index.mjs
CHANGED
package/form-cascader/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ var o = (e, t, r) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(t, r) && o(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { f } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
14
|
import s from "element-ui/lib/cascader";
|
|
15
|
-
import { d as h, n as y } from "../chunks/index.
|
|
15
|
+
import { d as h, n as y } from "../chunks/index.57f871af.mjs";
|
|
16
16
|
import { findTreeChildren as v, setParent as _ } from "@web-utils/core";
|
|
17
17
|
import { cloneDeep as b } from "@web-utils/integrations/lodash";
|
|
18
|
-
import { n as S } from "../chunks/vueComponentNormalizer.
|
|
18
|
+
import { n as S } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
19
19
|
var k = function() {
|
|
20
20
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
21
21
|
return r("FormItem", e._b({
|
|
@@ -72,7 +72,9 @@ var k = function() {
|
|
|
72
72
|
}], null, !0)
|
|
73
73
|
}, "FormItem", e.formItemProps, !1));
|
|
74
74
|
}, x = [];
|
|
75
|
-
const P = Object.keys(s.props || s.default.props).filter(
|
|
75
|
+
const P = Object.keys(s.props || s.default.props).filter(
|
|
76
|
+
(e) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(e)
|
|
77
|
+
), w = {
|
|
76
78
|
name: "FormCascader",
|
|
77
79
|
mixins: [m, f],
|
|
78
80
|
props: {
|
|
@@ -9,11 +9,11 @@ var n = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && n(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as m } from "../chunks/form-pick-mixin.
|
|
14
|
-
import { d, n as b } from "../chunks/index.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { f as m } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
|
+
import { d, n as b } from "../chunks/index.57f871af.mjs";
|
|
15
15
|
import s from "element-ui/lib/checkbox-group";
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var _ = function() {
|
|
18
18
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
19
19
|
return r("FormItem", e._b({
|
|
@@ -92,7 +92,9 @@ var _ = function() {
|
|
|
92
92
|
}], null, !0)
|
|
93
93
|
}, "FormItem", e.formItemProps, !1));
|
|
94
94
|
}, v = [];
|
|
95
|
-
const x = Object.keys(s.props || s.default.props).filter(
|
|
95
|
+
const x = Object.keys(s.props || s.default.props).filter(
|
|
96
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
97
|
+
), g = {
|
|
96
98
|
name: "FormCheckboxGroup",
|
|
97
99
|
mixins: [f, m],
|
|
98
100
|
props: {
|
|
@@ -195,9 +197,9 @@ function P(e) {
|
|
|
195
197
|
for (let t in a)
|
|
196
198
|
this[t] = a[t];
|
|
197
199
|
}
|
|
198
|
-
const
|
|
200
|
+
const I = /* @__PURE__ */ function() {
|
|
199
201
|
return k.exports;
|
|
200
202
|
}();
|
|
201
203
|
export {
|
|
202
|
-
|
|
204
|
+
I as default
|
|
203
205
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|
|
1
|
+
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label{word-wrap:break-word;word-break:break-all}.form-checkbox-group.form-checkbox-group-row .el-checkbox-group{display:block}.form-checkbox-group.form-checkbox-group-row .el-checkbox{flex-flow:row;width:100%;display:flex}.form-checkbox-group.form-checkbox-group-row .el-checkbox__input{flex-shrink:0;top:3px}.form-checkbox-group.form-checkbox-group-row .el-checkbox__label{vertical-align:sub;flex:auto;margin-bottom:6px;display:block}.form-checkbox-group .form-checkbox-group-other{margin-left:10px;display:inline-block}.form-checkbox-group .form-checkbox-group-other .el-form-item__label{display:none}.form-checkbox-group .el-checkbox-group{line-height:inherit}.form-checkbox-group .el-checkbox{vertical-align:middle;margin-right:10px}.form-checkbox-group .el-checkbox__label{padding-left:4px}
|
|
@@ -10,11 +10,11 @@ var s = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
c.call(t, r) && s(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, o = (e, t) => h(e, d(t));
|
|
13
|
-
import { f as y } from "../chunks/form-input-mixin.
|
|
14
|
-
import { f as g } from "../chunks/form-pick-mixin.
|
|
13
|
+
import { f as y } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
14
|
+
import { f as g } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
15
15
|
import { toDate as l } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as _, n as k } from "../chunks/index.
|
|
17
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { d as _, n as k } from "../chunks/index.57f871af.mjs";
|
|
17
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
18
18
|
var x = function() {
|
|
19
19
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
20
20
|
return r("FormItem", e._b({
|
|
@@ -66,7 +66,33 @@ var x = function() {
|
|
|
66
66
|
}], null, !0)
|
|
67
67
|
}, "FormItem", e.formItemProps, !1));
|
|
68
68
|
}, P = [];
|
|
69
|
-
const S = [
|
|
69
|
+
const S = [
|
|
70
|
+
"type",
|
|
71
|
+
"timeArrowControl",
|
|
72
|
+
"size",
|
|
73
|
+
"format",
|
|
74
|
+
"valueFormat",
|
|
75
|
+
"readonly",
|
|
76
|
+
"placeholder",
|
|
77
|
+
"startPlaceholder",
|
|
78
|
+
"endPlaceholder",
|
|
79
|
+
"prefixIcon",
|
|
80
|
+
"clearIcon",
|
|
81
|
+
"name",
|
|
82
|
+
"disabled",
|
|
83
|
+
"clearable",
|
|
84
|
+
"id",
|
|
85
|
+
"popperClass",
|
|
86
|
+
"editable",
|
|
87
|
+
"align",
|
|
88
|
+
"value",
|
|
89
|
+
"defaultValue",
|
|
90
|
+
"defaultTime",
|
|
91
|
+
"rangeSeparator",
|
|
92
|
+
"pickerOptions",
|
|
93
|
+
"unlinkPanels",
|
|
94
|
+
"validateEvent"
|
|
95
|
+
].filter((e) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(e)), D = {
|
|
70
96
|
name: "FormDatePicker",
|
|
71
97
|
mixins: [y, g],
|
|
72
98
|
props: {
|
|
@@ -148,13 +174,16 @@ const S = ["type", "timeArrowControl", "size", "format", "valueFormat", "readonl
|
|
|
148
174
|
return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm" : "yyyy-MM-dd";
|
|
149
175
|
},
|
|
150
176
|
inputProps() {
|
|
151
|
-
return _(
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
177
|
+
return _(
|
|
178
|
+
o(i(i({}, k(this.$attrs)), this.$props), {
|
|
179
|
+
valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
|
|
180
|
+
format: this.format || this.fat,
|
|
181
|
+
rangeSeparator: this.rangeSeparator || "至",
|
|
182
|
+
startPlaceholder: this.startPlaceholder || "开始日期",
|
|
183
|
+
endPlaceholder: this.endPlaceholder || "结束日期"
|
|
184
|
+
}),
|
|
185
|
+
S
|
|
186
|
+
);
|
|
158
187
|
},
|
|
159
188
|
range() {
|
|
160
189
|
return this.dateTimeRange || this.dateRange || this.monthRange;
|
package/form-holder/index.mjs
CHANGED
|
@@ -15,8 +15,8 @@ var o = (e, r, i) => new Promise((d, s) => {
|
|
|
15
15
|
l((i = i.apply(e, r)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as u } from "@web-utils/core";
|
|
18
|
-
import { e as c } from "../chunks/index.
|
|
19
|
-
import { n as p } from "../chunks/vueComponentNormalizer.
|
|
18
|
+
import { e as c } from "../chunks/index.57f871af.mjs";
|
|
19
|
+
import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
20
20
|
var _ = function() {
|
|
21
21
|
var e = this, r = e.$createElement, i = e._self._c || r;
|
|
22
22
|
return i("ElForm", e._g(e._b({
|
|
@@ -90,7 +90,10 @@ const v = {
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
created() {
|
|
93
|
-
this.required || u.call(
|
|
93
|
+
this.required || u.call(
|
|
94
|
+
c(this, (e) => ["FormView", "FormHolder"].includes(e.$options.name)),
|
|
95
|
+
"一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊"
|
|
96
|
+
);
|
|
94
97
|
},
|
|
95
98
|
methods: {
|
|
96
99
|
clearValidate(e) {
|
package/form-input/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && l(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as d } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import u from "element-ui/lib/input";
|
|
14
|
-
import { d as _, n as f } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d as _, n as f } from "../chunks/index.57f871af.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var y = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
18
18
|
return r("FormItem", e._b({
|
|
@@ -72,7 +72,9 @@ var y = function() {
|
|
|
72
72
|
}], null, !0)
|
|
73
73
|
}, "FormItem", e.formItemProps, !1));
|
|
74
74
|
}, h = [];
|
|
75
|
-
const b = Object.keys(u.props || u.default.props).filter(
|
|
75
|
+
const b = Object.keys(u.props || u.default.props).filter(
|
|
76
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
77
|
+
), x = {
|
|
76
78
|
name: "FormInput",
|
|
77
79
|
mixins: [d],
|
|
78
80
|
props: {
|
|
@@ -9,10 +9,10 @@ var s = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(r, t) && s(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d as c, n as _ } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d as c, n as _ } from "../chunks/index.57f871af.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
const y = (e, r, t) => r && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(r) ? t(new Error("invalid")) : t();
|
|
17
17
|
var h = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
@@ -60,7 +60,9 @@ var h = function() {
|
|
|
60
60
|
}], null, !0)
|
|
61
61
|
}, "FormItem", e.formItemProps, !1));
|
|
62
62
|
}, x = [];
|
|
63
|
-
const b = Object.keys(a.props || a.default.props).filter(
|
|
63
|
+
const b = Object.keys(a.props || a.default.props).filter(
|
|
64
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
65
|
+
), I = {
|
|
64
66
|
name: "FormInputEmail",
|
|
65
67
|
mixins: [f],
|
|
66
68
|
props: {
|
|
@@ -79,10 +81,12 @@ const b = Object.keys(a.props || a.default.props).filter((e) => !["value", "plac
|
|
|
79
81
|
},
|
|
80
82
|
methods: {
|
|
81
83
|
getRules() {
|
|
82
|
-
return [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
return [
|
|
85
|
+
{
|
|
86
|
+
validator: y,
|
|
87
|
+
message: "请输入正确的邮箱!"
|
|
88
|
+
}
|
|
89
|
+
];
|
|
86
90
|
}
|
|
87
91
|
}
|
|
88
92
|
}, u = {};
|
|
@@ -9,11 +9,11 @@ var a = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(e, t) && a(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import { validateIdCard as i } from "@web-utils/core";
|
|
14
14
|
import u from "element-ui/lib/input";
|
|
15
|
-
import { d as _, n as v } from "../chunks/index.
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { d as _, n as v } from "../chunks/index.57f871af.mjs";
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var h = function() {
|
|
18
18
|
var r = this, e = r.$createElement, t = r._self._c || e;
|
|
19
19
|
return t("FormItem", r._b({
|
|
@@ -66,7 +66,9 @@ var h = function() {
|
|
|
66
66
|
}], null, !0)
|
|
67
67
|
}, "FormItem", r.formItemProps, !1));
|
|
68
68
|
}, I = [];
|
|
69
|
-
const b = Object.keys(u.props || u.default.props).filter(
|
|
69
|
+
const b = Object.keys(u.props || u.default.props).filter(
|
|
70
|
+
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
71
|
+
), x = {
|
|
70
72
|
name: "FormInputIdCard",
|
|
71
73
|
mixins: [f],
|
|
72
74
|
props: {
|
|
@@ -86,10 +88,12 @@ const b = Object.keys(u.props || u.default.props).filter((r) => !["value", "plac
|
|
|
86
88
|
methods: {
|
|
87
89
|
validateIdCard: i,
|
|
88
90
|
getRules() {
|
|
89
|
-
return [
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
return [
|
|
92
|
+
{
|
|
93
|
+
validator: i,
|
|
94
|
+
message: "请输入正确的身份证号码!"
|
|
95
|
+
}
|
|
96
|
+
];
|
|
93
97
|
}
|
|
94
98
|
}
|
|
95
99
|
}, p = {};
|
|
@@ -9,10 +9,10 @@ var i = (e, r, t) => r in e ? l(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
m.call(r, t) && i(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as c, n as
|
|
14
|
-
import { i as
|
|
15
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { d as c, n as _ } from "../chunks/index.57f871af.mjs";
|
|
14
|
+
import { i as d } from "../chunks/input-number-mixin.41a066be.mjs";
|
|
15
|
+
import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var b = function() {
|
|
17
17
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
18
18
|
return t("FormItem", e._b({
|
|
@@ -84,7 +84,9 @@ var b = function() {
|
|
|
84
84
|
}], null, !0)
|
|
85
85
|
}, "FormItem", e.formItemProps, !1));
|
|
86
86
|
}, x = [];
|
|
87
|
-
const v = Object.keys(
|
|
87
|
+
const v = Object.keys(d.props).filter(
|
|
88
|
+
(e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)
|
|
89
|
+
), I = {
|
|
88
90
|
name: "FormInputNumber",
|
|
89
91
|
mixins: [f],
|
|
90
92
|
props: {
|
|
@@ -108,7 +110,7 @@ const v = Object.keys(_.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
108
110
|
},
|
|
109
111
|
computed: {
|
|
110
112
|
inputProps() {
|
|
111
|
-
return c(u(u({},
|
|
113
|
+
return c(u(u({}, _(this.$attrs)), this.$props), v);
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
}, s = {};
|
|
@@ -126,9 +128,9 @@ function h(e) {
|
|
|
126
128
|
for (let r in s)
|
|
127
129
|
this[r] = s[r];
|
|
128
130
|
}
|
|
129
|
-
const
|
|
131
|
+
const g = /* @__PURE__ */ function() {
|
|
130
132
|
return N.exports;
|
|
131
133
|
}();
|
|
132
134
|
export {
|
|
133
|
-
|
|
135
|
+
g as default
|
|
134
136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-input-number.el-input-number{width:100%}.form-input-number.el-input-number .el-input__inner{text-align:left}
|
|
1
|
+
.form-input-number.el-input-number{width:100%}.form-input-number.el-input-number .el-input__inner{text-align:left}
|
|
@@ -9,11 +9,11 @@ var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(t, r) && l(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import { validatePhoneNum as f } from "@web-utils/core";
|
|
14
|
-
import { d as _, n as h } from "../chunks/index.
|
|
14
|
+
import { d as _, n as h } from "../chunks/index.57f871af.mjs";
|
|
15
15
|
import s from "element-ui/lib/input";
|
|
16
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var y = function() {
|
|
18
18
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
19
19
|
return r("FormItem", e._b({
|
|
@@ -58,7 +58,9 @@ var y = function() {
|
|
|
58
58
|
}], null, !0)
|
|
59
59
|
}, "FormItem", e.formItemProps, !1));
|
|
60
60
|
}, b = [];
|
|
61
|
-
const I = Object.keys(s.props || s.default.props).filter(
|
|
61
|
+
const I = Object.keys(s.props || s.default.props).filter(
|
|
62
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
63
|
+
), x = {
|
|
62
64
|
name: "FormInputPhoneNumber",
|
|
63
65
|
mixins: [c],
|
|
64
66
|
props: {
|
|
@@ -77,10 +79,12 @@ const I = Object.keys(s.props || s.default.props).filter((e) => !["value", "plac
|
|
|
77
79
|
},
|
|
78
80
|
methods: {
|
|
79
81
|
getRules() {
|
|
80
|
-
return [
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
return [
|
|
83
|
+
{
|
|
84
|
+
validator: f,
|
|
85
|
+
message: "请输入正确的手机号码!"
|
|
86
|
+
}
|
|
87
|
+
];
|
|
84
88
|
},
|
|
85
89
|
emitInput(e) {
|
|
86
90
|
this.$emit("input", e);
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var l = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
m.call(r, t) && l(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as d } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as f, n as _ } from "../chunks/index.
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
|
|
14
14
|
import s from "@web-utils/component/x-input-tag";
|
|
15
15
|
import "@web-utils/component/x-input-tag/style.css";
|
|
16
|
-
import { n as y } from "../chunks/vueComponentNormalizer.
|
|
16
|
+
import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var b = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
19
19
|
return t("FormItem", e._b({
|
|
@@ -9,10 +9,10 @@ var i = (e, t, r) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(t, r) && i(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
13
|
import l from "element-ui/lib/time-picker";
|
|
14
|
-
import { d, n as _ } from "../chunks/index.
|
|
15
|
-
import { n as v } from "../chunks/vueComponentNormalizer.
|
|
14
|
+
import { d, n as _ } from "../chunks/index.57f871af.mjs";
|
|
15
|
+
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var y = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
18
18
|
return r("FormItem", e._b({
|
|
@@ -68,7 +68,9 @@ var y = function() {
|
|
|
68
68
|
}], null, !0)
|
|
69
69
|
}, "FormItem", e.formItemProps, !1));
|
|
70
70
|
}, g = [];
|
|
71
|
-
const b = Object.keys(l.props || l.default.props).filter(
|
|
71
|
+
const b = Object.keys(l.props || l.default.props).filter(
|
|
72
|
+
(e) => !["value", "placeholder", "disabled"].includes(e)
|
|
73
|
+
), x = {
|
|
72
74
|
name: "FormInputTime",
|
|
73
75
|
mixins: [f],
|
|
74
76
|
props: {
|