@web-utils/component 4.0.15 → 4.0.16

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 (169) hide show
  1. package/address-input/index.mjs +13 -15
  2. package/card/index.mjs +18 -20
  3. package/carousel/index.mjs +10 -12
  4. package/chat/index.mjs +45 -56
  5. package/chunk-file-uploader/index.mjs +36 -378
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
  8. package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
  9. package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
  10. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
  11. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
  12. package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
  13. package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
  14. package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
  15. package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
  16. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
  17. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
  18. package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
  19. package/chunks/core.0Exl13Mz.mjs +54 -0
  20. package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
  21. package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
  22. package/chunks/dictionary.DGt59Ir7.mjs +68 -0
  23. package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
  25. package/chunks/form-item.LWjePsPa.mjs +233 -0
  26. package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
  27. package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
  28. package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
  29. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  30. package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
  31. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  32. package/chunks/utils.DRcxC1Fb.mjs +60 -0
  33. package/color-picker/index.mjs +22 -101
  34. package/confirm-button/index.mjs +1 -1
  35. package/confirmable/index.mjs +1 -1
  36. package/data-box/index.mjs +12 -15
  37. package/data-card/index.mjs +10 -12
  38. package/data-card-text/index.mjs +10 -12
  39. package/data-display/index.mjs +15 -17
  40. package/data-icons/index.mjs +13 -16
  41. package/data-imgtext/index.mjs +15 -18
  42. package/data-operatext/index.mjs +14 -16
  43. package/data-panel/index.mjs +13 -16
  44. package/data-pay/index.mjs +16 -20
  45. package/data-price/index.mjs +14 -16
  46. package/data-progress/index.mjs +13 -17
  47. package/data-rotate/index.mjs +12 -15
  48. package/data-table-picker/index.mjs +15 -18
  49. package/data-tabs/index.mjs +12 -15
  50. package/dialog-form/index.mjs +16 -18
  51. package/dynamic-table/index.mjs +25 -30
  52. package/editable-progress/index.mjs +9 -11
  53. package/editable-tree/index.mjs +52 -56
  54. package/egd-collapse-item/index.mjs +9 -9
  55. package/element-dialog/index.mjs +22 -23
  56. package/element-listeners/style.css +1 -0
  57. package/element-multi-instance/style.css +1 -0
  58. package/flex-column/index.mjs +1 -1
  59. package/flex-item/index.mjs +1 -1
  60. package/flex-row/index.mjs +1 -1
  61. package/flow/index.mjs +10 -11
  62. package/flow-designer/index.mjs +699 -1973
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +9 -9
  66. package/form-block/index.mjs +32 -34
  67. package/form-cascader/index.mjs +23 -24
  68. package/form-checkbox/index.mjs +16 -17
  69. package/form-checkbox-group/index.mjs +20 -23
  70. package/form-date-picker/index.mjs +18 -20
  71. package/form-holder/index.mjs +13 -14
  72. package/form-input/index.mjs +14 -15
  73. package/form-input-cron-expression/index.mjs +19 -22
  74. package/form-input-email/index.mjs +15 -16
  75. package/form-input-id-card/index.mjs +12 -13
  76. package/form-input-number/index.mjs +16 -17
  77. package/form-input-phone-number/index.mjs +21 -22
  78. package/form-input-tag/index.mjs +14 -15
  79. package/form-input-time/index.mjs +14 -15
  80. package/form-item/index.mjs +140 -3
  81. package/form-item-group/index.mjs +28 -31
  82. package/form-radio-group/index.mjs +27 -28
  83. package/form-select/index.mjs +21 -23
  84. package/form-switch/index.mjs +16 -17
  85. package/form-table/index.mjs +16 -17
  86. package/form-table-plus/index.mjs +21 -22
  87. package/form-textarea/index.mjs +15 -16
  88. package/form-tree-select/index.mjs +14 -15
  89. package/form-tree-select-multiple/index.mjs +14 -15
  90. package/form-view/index.mjs +35 -39
  91. package/fy-array/index.mjs +33 -37
  92. package/fy-cascader/index.mjs +16 -17
  93. package/fy-checkbox/index.mjs +11 -13
  94. package/fy-code/index.mjs +10 -10
  95. package/fy-curd/index.mjs +1128 -1152
  96. package/fy-date/index.mjs +10 -11
  97. package/fy-draggable/index.mjs +9 -10
  98. package/fy-dynamic/index.mjs +22 -25
  99. package/fy-empty/index.mjs +1 -1
  100. package/fy-form/index.mjs +638 -15
  101. package/fy-form-design/index.mjs +1307 -1345
  102. package/fy-from/crud/zh.d.ts +6 -6
  103. package/fy-input/index.mjs +12 -14
  104. package/fy-input-color/index.mjs +13 -15
  105. package/fy-input-icon/index.mjs +20 -23
  106. package/fy-input-map/index.mjs +28 -31
  107. package/fy-input-number/index.mjs +9 -10
  108. package/fy-input-table/index.mjs +18 -22
  109. package/fy-input-tree/index.mjs +33 -37
  110. package/fy-progress/index.mjs +9 -10
  111. package/fy-radio/index.mjs +15 -16
  112. package/fy-rate/index.mjs +10 -11
  113. package/fy-select/index.mjs +25 -29
  114. package/fy-slider/index.mjs +11 -12
  115. package/fy-switch/index.mjs +9 -10
  116. package/fy-tabs/index.mjs +15 -17
  117. package/fy-time/index.mjs +1 -1
  118. package/fy-title/index.mjs +1 -1
  119. package/fy-tree/index.mjs +18 -24
  120. package/fy-u-editor/index.mjs +1 -1
  121. package/fy-upload/index.mjs +74 -76
  122. package/guide-steps/index.mjs +11 -13
  123. package/iframe-window/index.mjs +9 -10
  124. package/image-cropper/index.mjs +28 -30
  125. package/image-preview/index.mjs +12 -14
  126. package/index.mjs +72 -72
  127. package/input-number/index.mjs +13 -14
  128. package/input-number-range/index.mjs +11 -12
  129. package/license/index.mjs +1 -1
  130. package/login/index.mjs +21 -26
  131. package/nav-bar/index.mjs +9 -10
  132. package/notice/index.mjs +9 -10
  133. package/package.json +1 -1
  134. package/page-index/index.mjs +12 -13
  135. package/page-index-top/index.mjs +23 -28
  136. package/page-skeleton/index.mjs +14 -14
  137. package/page-skeleton-new/index.mjs +8 -9
  138. package/pageable-table/index.mjs +172 -182
  139. package/pageable-view/index.mjs +15 -16
  140. package/picker-table-view/index.mjs +49 -58
  141. package/present-view/index.mjs +35 -39
  142. package/record-video/index.mjs +1 -1
  143. package/resize-observer/index.mjs +1 -1
  144. package/search/index.mjs +20 -22
  145. package/search-popover/index.mjs +1 -1
  146. package/sign/index.mjs +1 -1
  147. package/skeleton-panel/index.mjs +9 -10
  148. package/split-pane/index.mjs +36 -37
  149. package/static-pageable-table/index.mjs +11 -13
  150. package/sub-table/index.mjs +36 -49
  151. package/sub-table-plus/index.mjs +229 -18
  152. package/swiper/index.mjs +11 -12
  153. package/table-column/index.mjs +223 -3
  154. package/table-view/index.mjs +52 -60
  155. package/tabs-view/index.mjs +17 -19
  156. package/tag-render/index.mjs +16 -18
  157. package/text-ellipsis/index.mjs +9 -10
  158. package/toolbar/index.mjs +13 -14
  159. package/toolbar-button/index.mjs +13 -14
  160. package/verify/index.mjs +1 -1
  161. package/vue-cron/index.mjs +259 -267
  162. package/watermark/index.mjs +1 -1
  163. package/web-types.json +1 -1
  164. package/x-input-tag/index.mjs +21 -24
  165. package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
  166. package/chunks/FyForm.DriwCJ7b.mjs +0 -765
  167. package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
  168. package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
  169. package/chunks/TableColumn.BzivvXMF.mjs +0 -337
@@ -1 +1 @@
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
+ .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.DI42t5GU.mjs";
1
+ import { s as o } from "../chunks/util.DqFv_pWg.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 g from "../easy-popup/index.mjs";
2
- import w from "bpmn-js/lib/NavigatedViewer";
1
+ import u from "bpmn-js/lib/NavigatedViewer";
3
2
  import c from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
4
3
  import { create as l, attr as a, append as p } from "tiny-svg";
5
- import { query as y } from "min-dom";
4
+ import { query as w } from "min-dom";
5
+ import y from "../easy-popup/index.mjs";
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: g
14
+ EasyPopup: y
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 w({
66
+ }, this.bpmnViewer = new u({
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, (u) => {
76
- this.$emit(r.replace(".", "-"), u.element);
75
+ o.on(r, (g) => {
76
+ this.$emit(r.replace(".", "-"), g.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 = y("defs", this.$el);
115
+ const f = w("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(g, { 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("EasyPopup", { 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,8 +1,6 @@
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 = {
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 = {
6
4
  name: "FormBlock",
7
5
  inject: {
8
6
  elForm: {
@@ -31,8 +29,8 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
31
29
  },
32
30
  data() {
33
31
  const e = {};
34
- return l.forEach((o) => {
35
- e[o] = null;
32
+ return r.forEach((i) => {
33
+ e[i] = null;
36
34
  }), {
37
35
  expand: !0,
38
36
  formConfig: e
@@ -44,8 +42,8 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
44
42
  enabled: this.enabled,
45
43
  forbidden: this.disabled
46
44
  };
47
- return l.forEach((o) => {
48
- e[o] = this.elForm[o];
45
+ return r.forEach((i) => {
46
+ e[i] = this.elForm[i];
49
47
  }), e;
50
48
  }
51
49
  },
@@ -59,9 +57,9 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
59
57
  formCfg: {
60
58
  immediate: !0,
61
59
  handler() {
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]);
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]);
65
63
  });
66
64
  }
67
65
  }
@@ -76,22 +74,22 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
76
74
  available() {
77
75
  return this.disabled ? this.disabled : this.enabled ? !this.enabled : this.elForm.disabled;
78
76
  },
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));
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));
84
82
  },
85
83
  renderDefault() {
86
84
  const {
87
85
  wrapRow: e,
88
- gutter: o,
86
+ gutter: i,
89
87
  formConfig: a,
90
88
  $scopedSlots: t
91
89
  } = this;
92
- return e ? i(n, {
90
+ return e ? o("ElRow", {
93
91
  attrs: {
94
- gutter: o
92
+ gutter: i
95
93
  }
96
94
  }, [t.default({
97
95
  disabled: a.disabled
@@ -109,41 +107,41 @@ const l = ["disabled", "size", "statusIcon", "inlineMessage", "autoLabelWidth",
109
107
  render() {
110
108
  const {
111
109
  renderDefault: e,
112
- blockTitle: o,
110
+ blockTitle: i,
113
111
  active: a,
114
112
  expand: t,
115
- toggle: r
113
+ toggle: l
116
114
  } = this;
117
- return i("div", {
115
+ return o("div", {
118
116
  class: ["form-block", {
119
117
  "default-active": a
120
118
  }]
121
- }, [i("div", {
119
+ }, [o("div", {
122
120
  class: "form-block-title",
123
121
  on: {
124
- click: r
122
+ click: l
125
123
  }
126
- }, [i("span", {
124
+ }, [o("span", {
127
125
  class: "flex-item"
128
- }, [o]), " ", i("i", {
126
+ }, [i]), " ", o("i", {
129
127
  class: t ? "el-icon-arrow-down" : "el-icon-arrow-right"
130
- })]), i(s, [i("div", {
128
+ })]), o("ElCollapseTransition", [o("div", {
131
129
  directives: [{
132
130
  name: "show",
133
131
  value: t
134
132
  }]
135
133
  }, [e()])])]);
136
134
  }
137
- }, f = null, h = null;
138
- var p = /* @__PURE__ */ d(
135
+ }, m = null, c = null;
136
+ var f = /* @__PURE__ */ s(
137
+ d,
138
+ m,
139
139
  c,
140
- f,
141
- h,
142
140
  !1,
143
141
  null,
144
142
  null
145
143
  );
146
- const w = p.exports;
144
+ const u = f.exports;
147
145
  export {
148
- w as default
146
+ u as default
149
147
  };
@@ -1,17 +1,16 @@
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(
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(
11
10
  (t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
12
- ), b = {
11
+ ), _ = {
13
12
  name: "FormCascader",
14
- mixins: [a, n, y],
13
+ mixins: [a, o, h],
15
14
  props: {
16
15
  value: [String, Number, Array],
17
16
  options: {
@@ -56,7 +55,7 @@ const _ = u(l).filter(
56
55
  },
57
56
  computed: {
58
57
  inputProps() {
59
- return p({ ...f(this.$attrs), ...this.$props }, _);
58
+ return u({ ...p(this.$attrs), ...this.$props }, v);
60
59
  },
61
60
  inputVal() {
62
61
  if (this.join)
@@ -74,8 +73,8 @@ const _ = u(l).filter(
74
73
  if (this.dictType)
75
74
  return this.dictItems;
76
75
  if (this.options) {
77
- const t = h(this.options);
78
- return this.last && m(t), t;
76
+ const t = m(this.options);
77
+ return this.last && f(t), t;
79
78
  } else
80
79
  return [];
81
80
  }
@@ -91,26 +90,26 @@ const _ = u(l).filter(
91
90
  }
92
91
  }
93
92
  };
94
- var P = function() {
93
+ var b = function() {
95
94
  var e = this, r = e._self._c;
96
- return r(i, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
95
+ return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
97
96
  return [e._t("default", function() {
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))];
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))];
99
98
  })];
100
- }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
101
- return [e._t("error", null, { error: o })];
99
+ }, proxy: !0 }, { key: "error", fn: function({ error: l }) {
100
+ return [e._t("error", null, { error: l })];
102
101
  } }, { key: "label", fn: function() {
103
102
  return [e._t("label")];
104
103
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
105
- }, g = [], S = /* @__PURE__ */ v(
104
+ }, P = [], g = /* @__PURE__ */ y(
105
+ _,
106
106
  b,
107
107
  P,
108
- g,
109
108
  !1,
110
109
  null,
111
110
  null
112
111
  );
113
- const j = S.exports;
112
+ const x = g.exports;
114
113
  export {
115
- j as default
114
+ x as default
116
115
  };
@@ -1,11 +1,10 @@
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 = {
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 = {
7
6
  name: "FormCheckbox",
8
- mixins: [l],
7
+ mixins: [a],
9
8
  props: {
10
9
  value: [String, Number],
11
10
  readonlyGrey: {
@@ -29,12 +28,12 @@ const c = s(n).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
29
28
  },
30
29
  computed: {
31
30
  inputProps() {
32
- return u({ ...p(this.$attrs), ...this.$props }, c);
31
+ return i({ ...u(this.$attrs), ...this.$props }, c);
33
32
  }
34
33
  },
35
34
  watch: {
36
35
  async value(r) {
37
- this.isValidValue = await i(this.prop, r, this.computeRules);
36
+ this.isValidValue = await s(this.prop, r, this.computeRules);
38
37
  }
39
38
  },
40
39
  methods: {
@@ -43,11 +42,11 @@ const c = s(n).filter((r) => !["value", "placeholder", "disabled", "suffixIcon"]
43
42
  }
44
43
  }
45
44
  };
46
- var d = function() {
45
+ var f = function() {
47
46
  var e = this, t = e._self._c;
48
- return t(a, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
47
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
49
48
  return [e._t("default", function() {
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()];
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()];
51
50
  })];
52
51
  }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
53
52
  return [e.$scopedSlots.error && e.$scopedSlots.error(o) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
@@ -58,15 +57,15 @@ var d = function() {
58
57
  }, proxy: !0 }, { key: "tips", fn: function() {
59
58
  return [e._t("tips")];
60
59
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
61
- }, _ = [], b = /* @__PURE__ */ m(
62
- f,
60
+ }, m = [], _ = /* @__PURE__ */ p(
63
61
  d,
64
- _,
62
+ f,
63
+ m,
65
64
  !1,
66
65
  null,
67
66
  null
68
67
  );
69
- const P = b.exports;
68
+ const k = _.exports;
70
69
  export {
71
- P as default
70
+ k as default
72
71
  };
@@ -1,15 +1,12 @@
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 = {
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 = {
11
8
  name: "FormCheckboxGroup",
12
- mixins: [a, u, p],
9
+ mixins: [l, i, s],
13
10
  props: {
14
11
  options: {
15
12
  type: Array,
@@ -53,7 +50,7 @@ const d = h(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
53
50
  return this.classic ? "value" : this.valueProp;
54
51
  },
55
52
  inputProps() {
56
- return m({ ...c(this.$attrs), ...this.$props }, d);
53
+ return a({ ...u(this.$attrs), ...this.$props }, c);
57
54
  },
58
55
  innerOptions() {
59
56
  return this.dictType ? this.dictItems : this.gender ? [
@@ -86,16 +83,16 @@ const d = h(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
86
83
  }
87
84
  }
88
85
  };
89
- var _ = function() {
86
+ var f = function() {
90
87
  var e = this, o = e._self._c;
91
- return o(n, e._b({ class: [
88
+ return o("FormItem", e._b({ class: [
92
89
  "form-checkbox-group",
93
90
  { "form-checkbox-group-row": e.fillRow },
94
91
  e.ellipsis ? "form-checkbox-group-row-ellipsis" : e.fillRow ? "form-checkbox-group-row-break-word" : ""
95
92
  ], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
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()];
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()];
99
96
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
100
97
  return [e._t("error", null, { error: r })];
101
98
  } }, { key: "label", fn: function() {
@@ -103,15 +100,15 @@ var _ = function() {
103
100
  }, proxy: !0 }, { key: "below", fn: function() {
104
101
  return [e._t("below")];
105
102
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
106
- }, y = [], g = /* @__PURE__ */ f(
107
- b,
108
- _,
109
- y,
103
+ }, d = [], b = /* @__PURE__ */ h(
104
+ m,
105
+ f,
106
+ d,
110
107
  !1,
111
108
  null,
112
109
  null
113
110
  );
114
- const F = g.exports;
111
+ const P = b.exports;
115
112
  export {
116
- F as default
113
+ P as default
117
114
  };
@@ -1,11 +1,9 @@
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";
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { f as s } from "../chunks/form-pick.BFTIVn_i.mjs";
5
3
  import { toDate as a } from "@web-utils/integrations/dayjs";
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 = [
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 = [
9
7
  "type",
10
8
  "timeArrowControl",
11
9
  "size",
@@ -31,9 +29,9 @@ const d = [
31
29
  "pickerOptions",
32
30
  "unlinkPanels",
33
31
  "validateEvent"
34
- ].filter((t) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(t)), p = {
32
+ ].filter((t) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(t)), d = {
35
33
  name: "FormDatePicker",
36
- mixins: [o, l],
34
+ mixins: [n, s],
37
35
  props: {
38
36
  format: String,
39
37
  valueFormat: String,
@@ -94,9 +92,9 @@ const d = [
94
92
  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";
95
93
  },
96
94
  inputProps() {
97
- return m(
95
+ return l(
98
96
  {
99
- ...u(this.$attrs),
97
+ ...o(this.$attrs),
100
98
  ...this.$props,
101
99
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
102
100
  format: this.format || this.fat,
@@ -104,7 +102,7 @@ const d = [
104
102
  startPlaceholder: this.startPlaceholder || "开始日期",
105
103
  endPlaceholder: this.endPlaceholder || "结束日期"
106
104
  },
107
- d
105
+ u
108
106
  );
109
107
  },
110
108
  range() {
@@ -120,10 +118,10 @@ const d = [
120
118
  }
121
119
  }
122
120
  };
123
- var f = function() {
121
+ var h = function() {
124
122
  var e = this, r = e._self._c;
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()];
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()];
127
125
  }, proxy: !0 }, { key: "error", fn: function({ error: i }) {
128
126
  return [e.$scopedSlots.error && e.$scopedSlots.error(i) ? r("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
129
127
  return [e._v(e._s(i))];
@@ -131,15 +129,15 @@ var f = function() {
131
129
  } }, { key: "label", fn: function() {
132
130
  return [e._t("label")];
133
131
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
134
- }, c = [], y = /* @__PURE__ */ h(
132
+ }, p = [], f = /* @__PURE__ */ m(
133
+ d,
134
+ h,
135
135
  p,
136
- f,
137
- c,
138
136
  !1,
139
137
  null,
140
138
  null
141
139
  );
142
- const D = y.exports;
140
+ const P = f.exports;
143
141
  export {
144
- D as default
142
+ P as default
145
143
  };
@@ -1,8 +1,7 @@
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 = {
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 = {
6
5
  name: "FormHolder",
7
6
  inject: {
8
7
  formView: {
@@ -64,8 +63,8 @@ const n = {
64
63
  }
65
64
  },
66
65
  created() {
67
- this.required || a.call(
68
- i(this, (r) => ["FormView", "FormHolder"].includes(r.$options.name)),
66
+ this.required || l.call(
67
+ a(this, (r) => ["FormView", "FormHolder"].includes(r.$options.name)),
69
68
  "一般情况下不建议设置 required=false,因为 required 设置为 false 后必填字段要自行维护,在处理表格时会比较复杂,请自行权衡利弊"
70
69
  );
71
70
  },
@@ -79,7 +78,7 @@ const n = {
79
78
  return await this.$refs.form.validate();
80
79
  } catch {
81
80
  throw await this.scrollIntoRequiredField(), this.$el.querySelectorAll(".el-form-item.is-error .el-form-item__content").forEach((e) => {
82
- l(e, "breathe-animation");
81
+ o(e, "breathe-animation");
83
82
  }), Error("表单验证不通过!");
84
83
  }
85
84
  },
@@ -93,18 +92,18 @@ const n = {
93
92
  }
94
93
  }
95
94
  };
96
- var m = function() {
95
+ var n = function() {
97
96
  var e = this, t = e._self._c;
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(
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,
100
100
  n,
101
- m,
102
101
  d,
103
102
  !1,
104
103
  null,
105
104
  null
106
105
  );
107
- const p = c.exports;
106
+ const h = m.exports;
108
107
  export {
109
- p as default
108
+ h as default
110
109
  };