@web-utils/component 4.0.13 → 4.0.15

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.
Files changed (171) hide show
  1. package/address-input/index.mjs +15 -13
  2. package/card/index.mjs +20 -18
  3. package/carousel/index.mjs +12 -10
  4. package/chat/index.mjs +56 -45
  5. package/chunk-file-uploader/index.mjs +378 -36
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
  8. package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
  9. package/chunks/FyForm.DriwCJ7b.mjs +765 -0
  10. package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
  11. package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
  12. package/chunks/TableColumn.BzivvXMF.mjs +337 -0
  13. package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
  14. package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
  15. package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
  16. package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
  17. package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
  18. package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
  19. package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
  20. package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
  21. package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
  22. package/color-picker/index.mjs +101 -22
  23. package/confirm-button/index.mjs +1 -1
  24. package/confirmable/index.mjs +1 -1
  25. package/data-box/index.mjs +15 -12
  26. package/data-card/index.mjs +12 -10
  27. package/data-card-text/index.mjs +12 -10
  28. package/data-display/index.mjs +17 -15
  29. package/data-icons/index.mjs +16 -13
  30. package/data-imgtext/index.mjs +18 -15
  31. package/data-operatext/index.mjs +16 -14
  32. package/data-panel/index.mjs +16 -13
  33. package/data-pay/index.mjs +20 -16
  34. package/data-price/index.mjs +16 -14
  35. package/data-progress/index.mjs +17 -13
  36. package/data-rotate/index.mjs +15 -12
  37. package/data-table-picker/index.mjs +18 -15
  38. package/data-tabs/index.mjs +15 -12
  39. package/dialog-form/index.mjs +18 -16
  40. package/dynamic-table/index.mjs +30 -25
  41. package/editable-progress/index.mjs +11 -9
  42. package/editable-tree/index.mjs +56 -52
  43. package/egd-collapse-item/index.mjs +9 -9
  44. package/element-dialog/index.mjs +23 -22
  45. package/flex-column/index.mjs +1 -1
  46. package/flex-item/index.mjs +1 -1
  47. package/flex-row/index.mjs +1 -1
  48. package/flow/index.mjs +11 -10
  49. package/flow-designer/index.mjs +1973 -699
  50. package/flow-designer/style.css +1 -1
  51. package/flow-node/index.mjs +1 -1
  52. package/flow-viewer/index.mjs +9 -9
  53. package/form-block/index.mjs +34 -32
  54. package/form-cascader/index.mjs +24 -23
  55. package/form-checkbox/index.mjs +17 -16
  56. package/form-checkbox-group/index.mjs +23 -20
  57. package/form-checkbox-group/style.css +1 -1
  58. package/form-date-picker/index.mjs +20 -18
  59. package/form-holder/index.mjs +14 -13
  60. package/form-input/index.mjs +15 -14
  61. package/form-input-cron-expression/index.mjs +22 -19
  62. package/form-input-email/index.mjs +16 -15
  63. package/form-input-id-card/index.mjs +13 -12
  64. package/form-input-number/index.mjs +17 -16
  65. package/form-input-phone-number/index.mjs +22 -21
  66. package/form-input-tag/index.mjs +15 -14
  67. package/form-input-time/index.mjs +15 -14
  68. package/form-item/index.mjs +3 -140
  69. package/form-item-group/index.mjs +31 -28
  70. package/form-radio-group/index.mjs +28 -27
  71. package/form-radio-group/style.css +1 -1
  72. package/form-select/index.mjs +23 -21
  73. package/form-switch/index.mjs +17 -16
  74. package/form-table/index.mjs +17 -16
  75. package/form-table-plus/index.mjs +22 -21
  76. package/form-textarea/index.mjs +16 -15
  77. package/form-tree-select/index.mjs +15 -14
  78. package/form-tree-select-multiple/index.mjs +15 -14
  79. package/form-view/index.mjs +39 -35
  80. package/fy-array/index.mjs +37 -33
  81. package/fy-cascader/index.mjs +17 -16
  82. package/fy-checkbox/index.mjs +13 -11
  83. package/fy-code/index.mjs +10 -10
  84. package/fy-curd/index.mjs +1147 -1123
  85. package/fy-date/index.mjs +11 -10
  86. package/fy-draggable/index.mjs +10 -9
  87. package/fy-dynamic/index.mjs +25 -22
  88. package/fy-empty/index.mjs +1 -1
  89. package/fy-form/index.mjs +15 -638
  90. package/fy-form-design/index.mjs +1165 -1127
  91. package/fy-input/index.mjs +14 -12
  92. package/fy-input-color/index.mjs +15 -13
  93. package/fy-input-icon/index.mjs +23 -20
  94. package/fy-input-map/index.mjs +31 -28
  95. package/fy-input-number/index.mjs +10 -9
  96. package/fy-input-table/index.mjs +22 -18
  97. package/fy-input-tree/index.mjs +37 -33
  98. package/fy-progress/index.mjs +10 -9
  99. package/fy-radio/index.mjs +16 -15
  100. package/fy-rate/index.mjs +11 -10
  101. package/fy-select/index.mjs +29 -25
  102. package/fy-slider/index.mjs +12 -11
  103. package/fy-switch/index.mjs +10 -9
  104. package/fy-tabs/index.mjs +17 -15
  105. package/fy-time/index.mjs +1 -1
  106. package/fy-title/index.mjs +1 -1
  107. package/fy-tree/index.mjs +24 -18
  108. package/fy-u-editor/index.mjs +1 -1
  109. package/fy-upload/index.mjs +76 -74
  110. package/guide-steps/index.mjs +13 -11
  111. package/iframe-window/index.mjs +10 -9
  112. package/image-cropper/index.mjs +30 -28
  113. package/image-preview/index.mjs +14 -12
  114. package/index.mjs +72 -72
  115. package/input-number/index.mjs +14 -13
  116. package/input-number-range/index.mjs +12 -11
  117. package/license/index.mjs +1 -1
  118. package/login/index.mjs +26 -21
  119. package/nav-bar/index.mjs +10 -9
  120. package/notice/index.mjs +10 -9
  121. package/package.json +1 -1
  122. package/page-index/index.mjs +13 -12
  123. package/page-index-top/index.mjs +28 -23
  124. package/page-skeleton/index.mjs +14 -14
  125. package/page-skeleton-new/index.mjs +9 -8
  126. package/pageable-table/index.mjs +182 -172
  127. package/pageable-table/style.css +1 -1
  128. package/pageable-view/index.mjs +16 -15
  129. package/picker-table-view/index.mjs +58 -49
  130. package/present-view/index.mjs +39 -35
  131. package/record-video/index.mjs +1 -1
  132. package/resize-observer/index.mjs +1 -1
  133. package/search/index.mjs +22 -20
  134. package/search-popover/index.mjs +1 -1
  135. package/sign/index.mjs +1 -1
  136. package/skeleton-panel/index.mjs +10 -9
  137. package/split-pane/index.mjs +37 -36
  138. package/static-pageable-table/index.mjs +13 -11
  139. package/sub-table/index.mjs +49 -36
  140. package/sub-table-plus/index.mjs +18 -229
  141. package/swiper/index.mjs +12 -11
  142. package/table-column/index.mjs +3 -223
  143. package/table-view/index.mjs +60 -52
  144. package/tabs-view/index.mjs +19 -17
  145. package/tag-render/index.mjs +18 -16
  146. package/text-ellipsis/index.mjs +10 -9
  147. package/toolbar/index.mjs +14 -13
  148. package/toolbar-button/index.mjs +14 -13
  149. package/verify/index.mjs +1 -1
  150. package/vue-cron/index.mjs +267 -259
  151. package/watermark/index.mjs +1 -1
  152. package/web-types.json +1 -1
  153. package/x-input-tag/index.mjs +24 -21
  154. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  155. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  156. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  157. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  158. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  159. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  160. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  161. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  162. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  163. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  164. package/chunks/core.0Exl13Mz.mjs +0 -54
  165. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  166. package/chunks/form-item.LWjePsPa.mjs +0 -233
  167. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  168. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  169. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  170. package/element-listeners/style.css +0 -1
  171. package/element-multi-instance/style.css +0 -1
@@ -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:hidden 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}.process-panel__container .el-select{display:block}.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}.flow-drawer .listener-filed__title{justify-content:normal;padding-bottom:6px}.flow-drawer .el-select,.flow-dialog .el-select{display:block}.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;width:max-content;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;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:#409effcc}.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:scroll 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
+ .element-listeners-drawer .el-drawer__header{margin-bottom:0}.element-multi-instance .el-select{display:block}.flow-tips-list-item{list-style:inside square}.flow-tips-title{padding-top:10px;padding-bottom:10px}.flow-tips-keyword{font-weight:700}.process-panel__container{box-sizing:border-box;border-left:1px solid #eee;max-height:100%;padding:0 8px;transition:width .25s ease-in;overflow:hidden 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}.process-panel__container .el-select{display:block}.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}.flow-drawer .listener-filed__title{justify-content:normal;padding-bottom:6px}.flow-drawer .el-select,.flow-dialog .el-select{display:block}.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;width:max-content;-webkit-text-decoration:inherit;text-decoration:inherit;vertical-align:text-bottom;content:attr(title);background:#fafafa;border:1px solid #ccc;border-radius:4px;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:#409effcc}.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:scroll 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,4 +1,4 @@
1
- import { s as o } from "../chunks/util.DqFv_pWg.mjs";
1
+ import { s as o } from "../chunks/util.DI42t5GU.mjs";
2
2
  import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
3
  const n = {
4
4
  name: "FlowNode",
@@ -1,8 +1,8 @@
1
- import u from "bpmn-js/lib/NavigatedViewer";
1
+ import g from "../easy-popup/index.mjs";
2
+ import w from "bpmn-js/lib/NavigatedViewer";
2
3
  import c from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
3
4
  import { create as l, attr as a, append as p } from "tiny-svg";
4
- import { query as w } from "min-dom";
5
- import y from "../easy-popup/index.mjs";
5
+ import { query as y } from "min-dom";
6
6
  import "../easy-popup/style.css";
7
7
  import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
8
  const m = c.prototype._handleWheel, k = {
@@ -11,7 +11,7 @@ const m = c.prototype._handleWheel, k = {
11
11
  }, _ = {
12
12
  name: "FlowViewer",
13
13
  components: {
14
- EasyPopup: y
14
+ EasyPopup: g
15
15
  },
16
16
  props: {
17
17
  xml: {
@@ -63,7 +63,7 @@ const m = c.prototype._handleWheel, k = {
63
63
  },
64
64
  ctrlKey: !0
65
65
  });
66
- }, this.bpmnViewer = new u({
66
+ }, this.bpmnViewer = new w({
67
67
  ...this.options,
68
68
  container: this.$refs.container,
69
69
  additionalModules: [k]
@@ -72,8 +72,8 @@ const m = c.prototype._handleWheel, k = {
72
72
  e ? this.$emit("error", e) : this.$emit("shown", t), this.canvas = this.bpmnViewer.get("canvas"), this.fitViewportCenter(), this.elementRegistry = this.bpmnViewer.get("elementRegistry");
73
73
  const o = this.bpmnViewer.get("eventBus");
74
74
  this.events && this.events.forEach((r) => {
75
- o.on(r, (g) => {
76
- this.$emit(r.replace(".", "-"), g.element);
75
+ o.on(r, (u) => {
76
+ this.$emit(r.replace(".", "-"), u.element);
77
77
  });
78
78
  }), this.nodePopup && o.on("element.mousemove", (r) => {
79
79
  r.element.type === "bpmn:UserTask" && requestAnimationFrame(async () => {
@@ -112,7 +112,7 @@ const m = c.prototype._handleWheel, k = {
112
112
  d: "M 6 4 L 10 16",
113
113
  style: "stroke-linecap: round; stroke-linejoin: round; stroke: var(--highlight-color); stroke-width: 2px; fill: var(--highlight-color);"
114
114
  }), p(s, d);
115
- const f = w("defs", this.$el);
115
+ const f = y("defs", this.$el);
116
116
  p(f, n), p(f, s);
117
117
  }), this.bpmnViewer.importXML(this.xml), this.$watch(
118
118
  () => ({
@@ -141,7 +141,7 @@ const m = c.prototype._handleWheel, k = {
141
141
  };
142
142
  var b = function() {
143
143
  var e = this, t = e._self._c;
144
- return t("div", { ref: "container", staticClass: "flow-viewer flow-background-image", style: { "--highlight-color": e.highlightColor } }, [t("EasyPopup", { ref: "popup", attrs: { "append-to-body": "", "flex-column": "", offset: { x: 6, y: 6 } } }, [e._t("default", function() {
144
+ return t("div", { ref: "container", staticClass: "flow-viewer flow-background-image", style: { "--highlight-color": e.highlightColor } }, [t(g, { ref: "popup", attrs: { "append-to-body": "", "flex-column": "", offset: { x: 6, y: 6 } } }, [e._t("default", function() {
145
145
  return [e._v(" " + e._s(e.element) + " ")];
146
146
  }, { element: e.element })], 2)], 1);
147
147
  }, x = [], M = /* @__PURE__ */ v(
@@ -1,6 +1,8 @@
1
- import { h as o } from "vue";
2
- import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], n = ["$emit", "validate", "clearValidate"], d = {
1
+ import s from "element-ui/lib/transitions/collapse-transition";
2
+ import n from "element-ui/lib/row";
3
+ import { h as i } from "vue";
4
+ import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth", "hideRequiredAsterisk", "$emit", "validate", "clearValidate"], m = ["$emit", "validate", "clearValidate"], c = {
4
6
  name: "FormBlock",
5
7
  inject: {
6
8
  elForm: {
@@ -29,8 +31,8 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
29
31
  },
30
32
  data() {
31
33
  const e = {};
32
- return r.forEach((i) => {
33
- e[i] = null;
34
+ return l.forEach((o) => {
35
+ e[o] = null;
34
36
  }), {
35
37
  expand: !0,
36
38
  formConfig: e
@@ -42,8 +44,8 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
42
44
  enabled: this.enabled,
43
45
  forbidden: this.disabled
44
46
  };
45
- return r.forEach((i) => {
46
- e[i] = this.elForm[i];
47
+ return l.forEach((o) => {
48
+ e[o] = this.elForm[o];
47
49
  }), e;
48
50
  }
49
51
  },
@@ -57,9 +59,9 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
57
59
  formCfg: {
58
60
  immediate: !0,
59
61
  handler() {
60
- this.formConfig.disabled = this.available(), r.forEach((e) => {
61
- var i;
62
- e !== "disabled" && (n.includes(e) ? this.formConfig[e] = (i = this.elForm[e]) == null ? void 0 : i.bind(this.elForm) : this.formConfig[e] = this.elForm[e]);
62
+ this.formConfig.disabled = this.available(), l.forEach((e) => {
63
+ var o;
64
+ e !== "disabled" && (m.includes(e) ? this.formConfig[e] = (o = this.elForm[e]) == null ? void 0 : o.bind(this.elForm) : this.formConfig[e] = this.elForm[e]);
63
65
  });
64
66
  }
65
67
  }
@@ -74,22 +76,22 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
74
76
  available() {
75
77
  return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
76
78
  },
77
- dispatch(e, i, a) {
78
- let t = this.$parent || this.$root, l = t.$options.name;
79
- for (; t && (!l || l !== e); )
80
- t = t.$parent, t && (l = t.$options.name);
81
- t && t.$emit.apply(t, [i].concat(a));
79
+ dispatch(e, o, a) {
80
+ let t = this.$parent || this.$root, r = t.$options.name;
81
+ for (; t && (!r || r !== e); )
82
+ t = t.$parent, t && (r = t.$options.name);
83
+ t && t.$emit.apply(t, [o].concat(a));
82
84
  },
83
85
  renderDefault() {
84
86
  const {
85
87
  wrapRow: e,
86
- gutter: i,
88
+ gutter: o,
87
89
  formConfig: a,
88
90
  $scopedSlots: t
89
91
  } = this;
90
- return e ? o("ElRow", {
92
+ return e ? i(n, {
91
93
  attrs: {
92
- gutter: i
94
+ gutter: o
93
95
  }
94
96
  }, [t.default({
95
97
  disabled: a.disabled
@@ -107,41 +109,41 @@ const r = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
107
109
  render() {
108
110
  const {
109
111
  renderDefault: e,
110
- blockTitle: i,
112
+ blockTitle: o,
111
113
  active: a,
112
114
  expand: t,
113
- toggle: l
115
+ toggle: r
114
116
  } = this;
115
- return o("div", {
117
+ return i("div", {
116
118
  class: ["form-block", {
117
119
  "default-active": a
118
120
  }]
119
- }, [o("div", {
121
+ }, [i("div", {
120
122
  class: "form-block-title",
121
123
  on: {
122
- click: l
124
+ click: r
123
125
  }
124
- }, [o("span", {
126
+ }, [i("span", {
125
127
  class: "flex-item"
126
- }, [i]), " ", o("i", {
128
+ }, [o]), " ", i("i", {
127
129
  class: t ? "el-icon-arrow-down" : "el-icon-arrow-right"
128
- })]), o("ElCollapseTransition", [o("div", {
130
+ })]), i(s, [i("div", {
129
131
  directives: [{
130
132
  name: "show",
131
133
  value: t
132
134
  }]
133
135
  }, [e()])])]);
134
136
  }
135
- }, m = null, c = null;
136
- var f = /* @__PURE__ */ s(
137
- d,
138
- m,
137
+ }, f = null, h = null;
138
+ var p = /* @__PURE__ */ d(
139
139
  c,
140
+ f,
141
+ h,
140
142
  !1,
141
143
  null,
142
144
  null
143
145
  );
144
- const u = f.exports;
146
+ const w = p.exports;
145
147
  export {
146
- u as default
148
+ w as default
147
149
  };
@@ -1,16 +1,17 @@
1
- import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { f as o } from "../chunks/form-pick.BFTIVn_i.mjs";
3
- import i from "element-ui/lib/cascader";
4
- import { c as n, d as u, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import { isArray as s, setParent as f, isString as c, findTreeChildren as d } from "@web-utils/core";
6
- import { cloneDeep as m } from "@web-utils/integrations/lodash";
7
- import { d as h } from "../chunks/dictionary.DqiP9x2m.mjs";
8
- import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
9
- const v = n(i).filter(
1
+ import l from "element-ui/lib/cascader";
2
+ import { F as i } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as a } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { f as n } from "../chunks/form-pick.BFTIVn_i.mjs";
5
+ import { e as u, h as p, n as f } from "../chunks/index.Cn7aq-Et.mjs";
6
+ import { isArray as s, setParent as m, isString as c, findTreeChildren as d } from "@web-utils/core";
7
+ import { cloneDeep as h } from "@web-utils/integrations/lodash";
8
+ import { d as y } from "../chunks/dictionary.DqiP9x2m.mjs";
9
+ import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
+ const _ = u(l).filter(
10
11
  (t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
11
- ), _ = {
12
+ ), b = {
12
13
  name: "FormCascader",
13
- mixins: [a, o, h],
14
+ mixins: [a, n, y],
14
15
  props: {
15
16
  value: [String, Number, Array],
16
17
  options: {
@@ -55,7 +56,7 @@ const v = n(i).filter(
55
56
  },
56
57
  computed: {
57
58
  inputProps() {
58
- return u({ ...p(this.$attrs), ...this.$props }, v);
59
+ return p({ ...f(this.$attrs), ...this.$props }, _);
59
60
  },
60
61
  inputVal() {
61
62
  if (this.join)
@@ -73,8 +74,8 @@ const v = n(i).filter(
73
74
  if (this.dictType)
74
75
  return this.dictItems;
75
76
  if (this.options) {
76
- const t = m(this.options);
77
- return this.last && f(t), t;
77
+ const t = h(this.options);
78
+ return this.last && m(t), t;
78
79
  } else
79
80
  return [];
80
81
  }
@@ -90,26 +91,26 @@ const v = n(i).filter(
90
91
  }
91
92
  }
92
93
  };
93
- var b = function() {
94
+ var P = function() {
94
95
  var e = this, r = e._self._c;
95
- return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
96
+ return r(i, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
96
97
  return [e._t("default", function() {
97
- return [r("ElCascader", e._g(e._b({ class: { "is-readonly": e.readonly }, staticStyle: { width: "100%" }, attrs: { clearable: "", value: e.inputVal, "show-all-levels": e.showAllLevels, separator: e.separator, readonly: e.readonly, options: e.innerOptions, props: { checkStrictly: e.checkStrictly, label: e.labelKey, value: e.valueKey, emitPath: e.emitPath, expandTrigger: "hover" }, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElCascader", e.inputProps, !1), e.listeners))];
98
+ return [r(l, e._g(e._b({ class: { "is-readonly": e.readonly }, staticStyle: { width: "100%" }, attrs: { clearable: "", value: e.inputVal, "show-all-levels": e.showAllLevels, separator: e.separator, readonly: e.readonly, options: e.innerOptions, props: { checkStrictly: e.checkStrictly, label: e.labelKey, value: e.valueKey, emitPath: e.emitPath, expandTrigger: "hover" }, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElCascader", e.inputProps, !1), e.listeners))];
98
99
  })];
99
- }, proxy: !0 }, { key: "error", fn: function({ error: l }) {
100
- return [e._t("error", null, { error: l })];
100
+ }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
101
+ return [e._t("error", null, { error: o })];
101
102
  } }, { key: "label", fn: function() {
102
103
  return [e._t("label")];
103
104
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
104
- }, P = [], g = /* @__PURE__ */ y(
105
- _,
105
+ }, g = [], S = /* @__PURE__ */ v(
106
106
  b,
107
107
  P,
108
+ g,
108
109
  !1,
109
110
  null,
110
111
  null
111
112
  );
112
- const x = g.exports;
113
+ const j = S.exports;
113
114
  export {
114
- x as default
115
+ j as default
115
116
  };
@@ -1,10 +1,11 @@
1
- import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import l from "element-ui/lib/checkbox";
3
- import { c as n, v as s, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const c = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"].includes(r)), d = {
1
+ import n from "element-ui/lib/checkbox";
2
+ import { F as a } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as l } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { e as s, v as i, h as u, n as p } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const c = s(n).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"].includes(r)), f = {
6
7
  name: "FormCheckbox",
7
- mixins: [a],
8
+ mixins: [l],
8
9
  props: {
9
10
  value: [String, Number],
10
11
  readonlyGrey: {
@@ -28,12 +29,12 @@ const c = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
28
29
  },
29
30
  computed: {
30
31
  inputProps() {
31
- return i({ ...u(this.$attrs), ...this.$props }, c);
32
+ return u({ ...p(this.$attrs), ...this.$props }, c);
32
33
  }
33
34
  },
34
35
  watch: {
35
36
  async value(r) {
36
- this.isValidValue = await s(this.prop, r, this.computeRules);
37
+ this.isValidValue = await i(this.prop, r, this.computeRules);
37
38
  }
38
39
  },
39
40
  methods: {
@@ -42,11 +43,11 @@ const c = n(l).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
42
43
  }
43
44
  }
44
45
  };
45
- var f = function() {
46
+ var d = function() {
46
47
  var e = this, t = e._self._c;
47
- return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
48
+ return t(a, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
48
49
  return [e._t("default", function() {
49
- return [t("ElCheckbox", e._g(e._b({ ref: "input", class: { "is-readonly": e.readonlyGrey && e.readonly && !e.picker, "el-input-cursor-pointer": e.picker && !e.inputDisabled }, attrs: { value: e.value, readonly: e.readonly || e.picker, "true-label": e.trueLabel, "false-label": e.falseLabel, disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { input: e.emitInput } }, "ElCheckbox", e.inputProps, !1), e.listeners)), e.isValidValue && e.$slots.warn ? t("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
50
+ return [t(n, e._g(e._b({ ref: "input", class: { "is-readonly": e.readonlyGrey && e.readonly && !e.picker, "el-input-cursor-pointer": e.picker && !e.inputDisabled }, attrs: { value: e.value, readonly: e.readonly || e.picker, "true-label": e.trueLabel, "false-label": e.falseLabel, disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { input: e.emitInput } }, "ElCheckbox", e.inputProps, !1), e.listeners)), e.isValidValue && e.$slots.warn ? t("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
50
51
  })];
51
52
  }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
52
53
  return [e.$scopedSlots.error && e.$scopedSlots.error(o) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
@@ -57,15 +58,15 @@ var f = function() {
57
58
  }, proxy: !0 }, { key: "tips", fn: function() {
58
59
  return [e._t("tips")];
59
60
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
60
- }, m = [], _ = /* @__PURE__ */ p(
61
- d,
61
+ }, _ = [], b = /* @__PURE__ */ m(
62
62
  f,
63
- m,
63
+ d,
64
+ _,
64
65
  !1,
65
66
  null,
66
67
  null
67
68
  );
68
- const k = _.exports;
69
+ const P = b.exports;
69
70
  export {
70
- k as default
71
+ P as default
71
72
  };
@@ -1,12 +1,15 @@
1
- import { f as l } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { f as i } from "../chunks/form-pick.BFTIVn_i.mjs";
3
- import { d as s } from "../chunks/dictionary.DqiP9x2m.mjs";
4
- import { c as n, d as a, n as u } from "../chunks/index.B2TRddqf.mjs";
5
- import p from "element-ui/lib/checkbox-group";
6
- import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- const c = n(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)), m = {
1
+ import l from "../form-input/index.mjs";
2
+ import s from "element-ui/lib/checkbox";
3
+ import i from "element-ui/lib/checkbox-group";
4
+ import { F as n } from "../chunks/FormItem.Bhsy_O2B.mjs";
5
+ import { f as a } from "../chunks/form-input.BtS_J5a2.mjs";
6
+ import { f as u } from "../chunks/form-pick.BFTIVn_i.mjs";
7
+ import { d as p } from "../chunks/dictionary.DqiP9x2m.mjs";
8
+ import { e as h, h as m, n as c } from "../chunks/index.Cn7aq-Et.mjs";
9
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
+ const d = h(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
8
11
  name: "FormCheckboxGroup",
9
- mixins: [l, i, s],
12
+ mixins: [a, u, p],
10
13
  props: {
11
14
  options: {
12
15
  type: Array,
@@ -50,7 +53,7 @@ const c = n(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
50
53
  return this.classic ? "value" : this.valueProp;
51
54
  },
52
55
  inputProps() {
53
- return a({ ...u(this.$attrs), ...this.$props }, c);
56
+ return m({ ...c(this.$attrs), ...this.$props }, d);
54
57
  },
55
58
  innerOptions() {
56
59
  return this.dictType ? this.dictItems : this.gender ? [
@@ -83,16 +86,16 @@ const c = n(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
83
86
  }
84
87
  }
85
88
  };
86
- var f = function() {
89
+ var _ = function() {
87
90
  var e = this, o = e._self._c;
88
- return o("FormItem", e._b({ class: [
91
+ return o(n, e._b({ class: [
89
92
  "form-checkbox-group",
90
93
  { "form-checkbox-group-row": e.fillRow },
91
94
  e.ellipsis ? "form-checkbox-group-row-ellipsis" : e.fillRow ? "form-checkbox-group-row-break-word" : ""
92
95
  ], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
93
- return [o("ElCheckboxGroup", e._g(e._b({ attrs: { disabled: e.inputDisabled, value: e.computeVal, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElCheckboxGroup", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(r) {
94
- return o("ElCheckbox", { key: r[e.valueKey], attrs: { label: r[e.valueKey] } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
95
- }), 1), e.computeVal.includes(e.otherVal) ? o("FormInput", { staticClass: "form-checkbox-group-other", style: e.otherLabel ? { width: e.otherWidth } : { marginBottom: 0, width: e.otherWidth }, attrs: { "wrap-col": !1, "label-width": "0", prop: e.otherProp, disabled: e.inputDisabled, required: !!e.otherProp, placeholder: e.otherPlaceholder, label: e.otherLabel, "show-message": !!e.otherLabel, value: e.other, "max-length": e.otherMaxLength }, on: { input: (r) => e.$emit("update:other", r) } }) : e._e()];
96
+ return [o(i, e._g(e._b({ attrs: { disabled: e.inputDisabled, value: e.computeVal, placeholder: e.computePlaceholder }, on: { input: e.emitInput } }, "ElCheckboxGroup", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(r) {
97
+ return o(s, { key: r[e.valueKey], attrs: { label: r[e.valueKey] } }, [e._v(" " + e._s(r[e.labelKey]) + " ")]);
98
+ }), 1), e.computeVal.includes(e.otherVal) ? o(l, { staticClass: "form-checkbox-group-other", style: e.otherLabel ? { width: e.otherWidth } : { marginBottom: 0, width: e.otherWidth }, attrs: { "wrap-col": !1, "label-width": "0", prop: e.otherProp, disabled: e.inputDisabled, required: !!e.otherProp, placeholder: e.otherPlaceholder, label: e.otherLabel, "show-message": !!e.otherLabel, value: e.other, "max-length": e.otherMaxLength }, on: { input: (r) => e.$emit("update:other", r) } }) : e._e()];
96
99
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
97
100
  return [e._t("error", null, { error: r })];
98
101
  } }, { key: "label", fn: function() {
@@ -100,15 +103,15 @@ var f = function() {
100
103
  }, proxy: !0 }, { key: "below", fn: function() {
101
104
  return [e._t("below")];
102
105
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
103
- }, d = [], b = /* @__PURE__ */ h(
104
- m,
105
- f,
106
- d,
106
+ }, y = [], g = /* @__PURE__ */ f(
107
+ b,
108
+ _,
109
+ y,
107
110
  !1,
108
111
  null,
109
112
  null
110
113
  );
111
- const P = b.exports;
114
+ const F = g.exports;
112
115
  export {
113
- P as default
116
+ F as default
114
117
  };
@@ -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{white-space:normal;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,9 +1,11 @@
1
- import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { f as s } from "../chunks/form-pick.BFTIVn_i.mjs";
1
+ import n from "element-ui/lib/date-picker";
2
+ import { F as s } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as o } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { f as l } from "../chunks/form-pick.BFTIVn_i.mjs";
3
5
  import { toDate as a } from "@web-utils/integrations/dayjs";
4
- import { d as l, n as o } from "../chunks/index.B2TRddqf.mjs";
5
- import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const u = [
6
+ import { h as m, n as u } from "../chunks/index.Cn7aq-Et.mjs";
7
+ import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
+ const d = [
7
9
  "type",
8
10
  "timeArrowControl",
9
11
  "size",
@@ -29,9 +31,9 @@ const u = [
29
31
  "pickerOptions",
30
32
  "unlinkPanels",
31
33
  "validateEvent"
32
- ].filter((t) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(t)), d = {
34
+ ].filter((t) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(t)), p = {
33
35
  name: "FormDatePicker",
34
- mixins: [n, s],
36
+ mixins: [o, l],
35
37
  props: {
36
38
  format: String,
37
39
  valueFormat: String,
@@ -92,9 +94,9 @@ const u = [
92
94
  return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm:ss" : "yyyy-MM-dd";
93
95
  },
94
96
  inputProps() {
95
- return l(
97
+ return m(
96
98
  {
97
- ...o(this.$attrs),
99
+ ...u(this.$attrs),
98
100
  ...this.$props,
99
101
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
100
102
  format: this.format || this.fat,
@@ -102,7 +104,7 @@ const u = [
102
104
  startPlaceholder: this.startPlaceholder || "开始日期",
103
105
  endPlaceholder: this.endPlaceholder || "结束日期"
104
106
  },
105
- u
107
+ d
106
108
  );
107
109
  },
108
110
  range() {
@@ -118,10 +120,10 @@ const u = [
118
120
  }
119
121
  }
120
122
  };
121
- var h = function() {
123
+ var f = function() {
122
124
  var e = this, r = e._self._c;
123
- return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
124
- return [r("ElDatePicker", e._g(e._b({ staticStyle: { width: "100%" }, attrs: { "picker-options": e.pickerOption, value: e.innerVal, placeholder: e.computePlaceholder, type: e.type, disabled: e.inputDisabled }, on: { input: e.emitInput } }, "ElDatePicker", e.inputProps, !1), e.listeners)), e.$slots.warn ? r("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
125
+ return r(s, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
126
+ return [r(n, e._g(e._b({ staticStyle: { width: "100%" }, attrs: { "picker-options": e.pickerOption, value: e.innerVal, placeholder: e.computePlaceholder, type: e.type, disabled: e.inputDisabled }, on: { input: e.emitInput } }, "ElDatePicker", e.inputProps, !1), e.listeners)), e.$slots.warn ? r("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
125
127
  }, proxy: !0 }, { key: "error", fn: function({ error: i }) {
126
128
  return [e.$scopedSlots.error && e.$scopedSlots.error(i) ? r("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
127
129
  return [e._v(e._s(i))];
@@ -129,15 +131,15 @@ var h = function() {
129
131
  } }, { key: "label", fn: function() {
130
132
  return [e._t("label")];
131
133
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
132
- }, p = [], f = /* @__PURE__ */ m(
133
- d,
134
- h,
134
+ }, c = [], y = /* @__PURE__ */ h(
135
135
  p,
136
+ f,
137
+ c,
136
138
  !1,
137
139
  null,
138
140
  null
139
141
  );
140
- const P = f.exports;
142
+ const D = y.exports;
141
143
  export {
142
- P as default
144
+ D as default
143
145
  };
@@ -1,7 +1,8 @@
1
- import { animate as o, warning as l } from "@web-utils/core";
2
- import { e as a } from "../chunks/index.B2TRddqf.mjs";
3
- import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- const s = {
1
+ import o from "element-ui/lib/form";
2
+ import { animate as l, warning as a } from "@web-utils/core";
3
+ import { i } from "../chunks/index.Cn7aq-Et.mjs";
4
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const n = {
5
6
  name: "FormHolder",
6
7
  inject: {
7
8
  formView: {
@@ -63,8 +64,8 @@ const s = {
63
64
  }
64
65
  },
65
66
  created() {
66
- this.required || l.call(
67
- a(this, (r) => ["FormView", "FormHolder"].includes(r.$options.name)),
67
+ this.required || a.call(
68
+ i(this, (r) => ["FormView", "FormHolder"].includes(r.$options.name)),
68
69
  "一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊"
69
70
  );
70
71
  },
@@ -78,7 +79,7 @@ const s = {
78
79
  return await this.$refs.form.validate();
79
80
  } catch {
80
81
  throw await this.scrollIntoRequiredField(), this.$el.querySelectorAll(".el-form-item.is-error .el-form-item__content").forEach((e) => {
81
- o(e, "breathe-animation");
82
+ l(e, "breathe-animation");
82
83
  }), Error("表单验证不通过!");
83
84
  }
84
85
  },
@@ -92,18 +93,18 @@ const s = {
92
93
  }
93
94
  }
94
95
  };
95
- var n = function() {
96
+ var m = function() {
96
97
  var e = this, t = e._self._c;
97
- return t("ElForm", { ref: "form", class: ["clear-fix", { "red-form": e.tableForm }], attrs: { model: e.model, size: e.size, "show-message": e.showMessage, disabled: e.disabled, "label-width": e.tableForm ? "0px" : e.labelWidth, "label-position": e.labelPosition } }, [e.tableForm ? [e._t("top"), t("FormRedTable", { class: { "hide-error-message": e.tableForm }, attrs: { columns: e.columns, "col-count": e.colCount } }, [e._t("default"), e.showAdvice ? t("FormAdvice", { attrs: { "label-colspan": e.commentLabelColspan, "value-colspan": e.commentValueColspan } }) : e._e()], 2), e._t("bottom"), t("div", { staticClass: "red-form-footer" }, [e._t("footer")], 2)] : [e._t("default")]], 2);
98
- }, d = [], m = /* @__PURE__ */ i(
99
- s,
98
+ return t(o, { ref: "form", class: ["clear-fix", { "red-form": e.tableForm }], attrs: { model: e.model, size: e.size, "show-message": e.showMessage, disabled: e.disabled, "label-width": e.tableForm ? "0px" : e.labelWidth, "label-position": e.labelPosition } }, [e.tableForm ? [e._t("top"), t("FormRedTable", { class: { "hide-error-message": e.tableForm }, attrs: { columns: e.columns, "col-count": e.colCount } }, [e._t("default"), e.showAdvice ? t("FormAdvice", { attrs: { "label-colspan": e.commentLabelColspan, "value-colspan": e.commentValueColspan } }) : e._e()], 2), e._t("bottom"), t("div", { staticClass: "red-form-footer" }, [e._t("footer")], 2)] : [e._t("default")]], 2);
99
+ }, d = [], c = /* @__PURE__ */ s(
100
100
  n,
101
+ m,
101
102
  d,
102
103
  !1,
103
104
  null,
104
105
  null
105
106
  );
106
- const h = m.exports;
107
+ const p = c.exports;
107
108
  export {
108
- h as default
109
+ p as default
109
110
  };