@web-utils/component 3.3.7 → 3.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address-input/index.mjs +1 -1
- package/affix/index.mjs +1 -1
- package/aside-menu/index.mjs +1 -1
- package/avatar/index.mjs +1 -1
- package/awesome-button/index.mjs +1 -1
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +1 -1
- package/carousel/index.mjs +1 -1
- package/chat/index.mjs +2 -2
- package/chunk-file-uploader/index.mjs +1 -1
- package/chunks/{FormTemp.2IfXIr8o.mjs → FormTemp.BO_zCjBT.mjs} +4 -4
- package/chunks/{dataformat.Ab9PZnVk.mjs → dataformat.J6EgqBfr.mjs} +1 -1
- package/chunks/{dic.7JBaVHv6.mjs → dic.6ODiMBAw.mjs} +1 -1
- package/chunks/{event.lbJYeMJp.mjs → event.ChkcZtyR.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.DMuQta5I.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.CdcqXa2h.mjs} +1 -1
- package/chunks/{init.6oF7OO2W.mjs → init.BbPaCwke.mjs} +3 -3
- package/chunks/{util.y1gUGRqi.mjs → util.ThVOTZAO.mjs} +2 -24
- package/code-mirror-editor/index.mjs +8 -13
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +1 -1
- package/data-card/index.mjs +1 -1
- package/data-cardtext/index.mjs +1 -1
- package/data-display/index.mjs +1 -1
- package/data-icons/index.mjs +1 -1
- package/data-imgtext/index.mjs +1 -1
- package/data-operatext/index.mjs +1 -1
- package/data-panel/index.mjs +1 -1
- package/data-pay/index.mjs +1 -1
- package/data-price/index.mjs +1 -1
- package/data-progress/index.mjs +1 -1
- package/data-rotate/index.mjs +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +1 -1
- package/dialog-form/index.mjs +2 -2
- package/dynamic-table/index.mjs +1 -1
- package/e-charts/index.mjs +1 -1
- package/easy-popup/index.mjs +2 -5
- package/editable-progress/index.mjs +1 -1
- package/editable-tree/index.mjs +3 -7
- package/egd-collapse/index.mjs +2 -4
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +2 -6
- package/empty-view/index.mjs +1 -1
- package/error-view/index.mjs +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +2 -6
- package/flow/index.mjs +2 -2
- package/flow-designer/index.mjs +28 -116
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +2 -8
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +5 -7
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +4 -6
- package/form-input-email/index.mjs +4 -6
- package/form-input-id-card/index.mjs +4 -6
- package/form-input-number/index.mjs +5 -7
- package/form-input-phone-number/index.mjs +4 -6
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +4 -6
- package/form-item/index.mjs +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-radio-group/index.mjs +6 -12
- package/form-select/index.mjs +5 -7
- package/form-switch/index.mjs +4 -6
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +2 -4
- package/fy-array/index.mjs +3 -3
- package/fy-article/index.mjs +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +2 -2
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +14 -24
- package/fy-date/index.mjs +2 -2
- package/fy-draggable/index.mjs +2 -2
- package/fy-dynamic/index.mjs +3 -3
- package/fy-empty/index.mjs +2 -2
- package/fy-form/index.mjs +8 -12
- package/fy-form-design/index.mjs +13 -70
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +38 -38
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +2 -2
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +2 -2
- package/fy-input-tree/index.mjs +2 -2
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +2 -2
- package/fy-rate/index.mjs +2 -2
- package/fy-select/index.mjs +5 -5
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +17 -28
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +2 -2
- package/fy-tree/index.mjs +3 -3
- package/fy-u-editor/index.mjs +2 -2
- package/fy-upload/index.mjs +4 -4
- package/guide-steps/index.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/icon-card/index.mjs +1 -1
- package/icon-temp/index.mjs +7 -6
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +2 -2
- package/image-preview/index.mjs +2 -2
- package/image-viewer/index.mjs +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number-range/index.mjs +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +1 -1
- package/login/index.mjs +2 -2
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +1 -1
- package/not-implement/index.mjs +1 -1
- package/notice/index.mjs +1 -1
- package/package.json +12 -12
- package/page/index.mjs +1 -1
- package/page-header/index.mjs +1 -1
- package/page-index/index.mjs +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +2 -6
- package/page-skeleton-new/index.mjs +1 -1
- package/pageable-table/index.mjs +2 -2
- package/pageable-view/index.mjs +2 -2
- package/photo-swipe/index.mjs +2 -4
- package/present-view/index.mjs +2 -4
- package/queue/index.mjs +1 -1
- package/record-video/index.mjs +2 -2
- package/resize-observer/index.mjs +2 -2
- package/search/index.mjs +3 -3
- package/search-popover/index.mjs +3 -3
- package/sign/index.mjs +2 -2
- package/sign-panel/index.mjs +2 -2
- package/skeleton/index.mjs +1 -1
- package/split-pane/index.mjs +1 -1
- package/stateful/index.mjs +1 -1
- package/static-pageable-table/index.mjs +1 -1
- package/swiper/index.mjs +1 -1
- package/tab/index.mjs +2 -2
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +16 -20
- package/tag-render/index.mjs +1 -1
- package/text-ellipsis/index.mjs +2 -2
- package/tinymce-editor/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/verify/index.mjs +2 -2
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +5 -19
- package/vue-video-player/index.mjs +2 -12
- package/watermark/index.mjs +2 -2
- package/web-types.json +9 -1
- package/x-input-tag/index.mjs +1 -1
- /package/chunks/{_plugin-vue2_normalizer.JwmUNtgn.mjs → _plugin-vue2_normalizer.YT9tSeEj.mjs} +0 -0
- /package/chunks/{confirmable-mixin.GqdyYLEM.mjs → confirmable-mixin.D2KW-Qlc.mjs} +0 -0
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.BFTIVn_i.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.DwCBGcYk.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.CzjtGf2n.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.CvdU9XNm.mjs} +0 -0
- /package/chunks/{packages.2yUDw9GA.mjs → packages.CWPkeLu9.mjs} +0 -0
- /package/chunks/{permission.bUiJNk5J.mjs → permission.CO31YIkD.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.DXIbhGat.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.CVr9bZtn.mjs} +0 -0
package/flow-designer/index.mjs
CHANGED
|
@@ -36,7 +36,7 @@ import oe from "bpmn-js/lib/features/palette/PaletteProvider";
|
|
|
36
36
|
import K from "diagram-js/lib/features/auto-place/AutoPlace";
|
|
37
37
|
import { getMid as $e, asTRBL as Le } from "diagram-js/lib/layout/LayoutUtil";
|
|
38
38
|
import { fastClone as v, isBlank as Oe, capitalize as Pe, isArray as te } from "@web-utils/core";
|
|
39
|
-
import { n as h } from "../chunks/_plugin-vue2_normalizer.
|
|
39
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
40
40
|
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
41
41
|
import "bpmn-js/dist/assets/diagram-js.css";
|
|
42
42
|
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
@@ -163,11 +163,7 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
R(c, "bpmn:FlowNode") && (R(c, "bpmn:EventBasedGateway") ? y(l, {
|
|
166
|
-
"append.receive-task": f(
|
|
167
|
-
"bpmn:ReceiveTask",
|
|
168
|
-
"bpmn-icon-receive-task",
|
|
169
|
-
m("Append ReceiveTask")
|
|
170
|
-
),
|
|
166
|
+
"append.receive-task": f("bpmn:ReceiveTask", "bpmn-icon-receive-task", m("Append ReceiveTask")),
|
|
171
167
|
"append.message-intermediate-event": f(
|
|
172
168
|
"bpmn:IntermediateCatchEvent",
|
|
173
169
|
"bpmn-icon-intermediate-event-catch-message",
|
|
@@ -193,14 +189,9 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
193
189
|
{ eventDefinitionType: "bpmn:SignalEventDefinition" }
|
|
194
190
|
)
|
|
195
191
|
}) : ne(c, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? y(l, {
|
|
196
|
-
"append.compensation-activity": f(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
m("Append compensation activity"),
|
|
200
|
-
{
|
|
201
|
-
isForCompensation: !0
|
|
202
|
-
}
|
|
203
|
-
)
|
|
192
|
+
"append.compensation-activity": f("bpmn:Task", "bpmn-icon-task", m("Append compensation activity"), {
|
|
193
|
+
isForCompensation: !0
|
|
194
|
+
})
|
|
204
195
|
}) : !R(c, "bpmn:EndEvent") && !c.isForCompensation && !ne(c, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !Ie(c) && y(l, {
|
|
205
196
|
"append.end-event": f("bpmn:EndEvent", "bpmn-icon-end-event-none", m("Append EndEvent")),
|
|
206
197
|
"append.gateway": f("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", m("Append Gateway")),
|
|
@@ -224,19 +215,12 @@ J.prototype.getContextPadEntries = function(n) {
|
|
|
224
215
|
}
|
|
225
216
|
}
|
|
226
217
|
}
|
|
227
|
-
}), N(c, [
|
|
228
|
-
"bpmn:FlowNode",
|
|
229
|
-
"bpmn:InteractionNode",
|
|
230
|
-
"bpmn:DataObjectReference",
|
|
231
|
-
"bpmn:DataStoreReference"
|
|
232
|
-
]) && y(l, {
|
|
218
|
+
}), N(c, ["bpmn:FlowNode", "bpmn:InteractionNode", "bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && y(l, {
|
|
233
219
|
"append.text-annotation": f("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
|
|
234
220
|
connect: {
|
|
235
221
|
group: "connect",
|
|
236
222
|
className: "bpmn-icon-connection-multi",
|
|
237
|
-
title: m(
|
|
238
|
-
`Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`
|
|
239
|
-
),
|
|
223
|
+
title: m(`Connect using ${c.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`),
|
|
240
224
|
action: {
|
|
241
225
|
click: E,
|
|
242
226
|
dragstart: E
|
|
@@ -280,19 +264,7 @@ const Ue = {
|
|
|
280
264
|
contextPadProvider: ["type", J]
|
|
281
265
|
};
|
|
282
266
|
function L(n, e, t, i, s, a, r, o, p) {
|
|
283
|
-
oe.call(
|
|
284
|
-
this,
|
|
285
|
-
n,
|
|
286
|
-
e,
|
|
287
|
-
t,
|
|
288
|
-
i,
|
|
289
|
-
s,
|
|
290
|
-
a,
|
|
291
|
-
r,
|
|
292
|
-
o,
|
|
293
|
-
p,
|
|
294
|
-
2e3
|
|
295
|
-
), this._create = e, this._elementFactory = t, this._spaceTool = i, this._lassoTool = s, this._handTool = a, this._globalConnect = r, this._moddle = o, this._translate = p;
|
|
267
|
+
oe.call(this, n, e, t, i, s, a, r, o, p, 2e3), this._create = e, this._elementFactory = t, this._spaceTool = i, this._lassoTool = s, this._handTool = a, this._globalConnect = r, this._moddle = o, this._translate = p;
|
|
296
268
|
}
|
|
297
269
|
const Z = function() {
|
|
298
270
|
};
|
|
@@ -378,12 +350,7 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
378
350
|
}
|
|
379
351
|
},
|
|
380
352
|
"tool-separator": { group: "tools", separator: !0 },
|
|
381
|
-
"create.start-event": p(
|
|
382
|
-
"bpmn:StartEvent",
|
|
383
|
-
"event",
|
|
384
|
-
"bpmn-icon-start-event-none",
|
|
385
|
-
o("Create StartEvent")
|
|
386
|
-
),
|
|
353
|
+
"create.start-event": p("bpmn:StartEvent", "event", "bpmn-icon-start-event-none", o("Create StartEvent")),
|
|
387
354
|
"create.intermediate-event": p(
|
|
388
355
|
"bpmn:IntermediateThrowEvent",
|
|
389
356
|
"event",
|
|
@@ -391,18 +358,8 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
391
358
|
o("Create Intermediate/Boundary Event")
|
|
392
359
|
),
|
|
393
360
|
"create.user-task": p("bpmn:UserTask", "activity", "bpmn-icon-user-task", o("Create User Task")),
|
|
394
|
-
"create.exclusive-gateway": p(
|
|
395
|
-
|
|
396
|
-
"activity",
|
|
397
|
-
"bpmn-icon-gateway-none",
|
|
398
|
-
o("Create Gateway")
|
|
399
|
-
),
|
|
400
|
-
"create.end-event": p(
|
|
401
|
-
"bpmn:EndEvent",
|
|
402
|
-
"activity",
|
|
403
|
-
"bpmn-icon-end-event-none",
|
|
404
|
-
o("Create EndEvent")
|
|
405
|
-
),
|
|
361
|
+
"create.exclusive-gateway": p("bpmn:ExclusiveGateway", "activity", "bpmn-icon-gateway-none", o("Create Gateway")),
|
|
362
|
+
"create.end-event": p("bpmn:EndEvent", "activity", "bpmn-icon-end-event-none", o("Create EndEvent")),
|
|
406
363
|
// 'create.sql-task': createAction('user:MySql', 'activity', 'bpmn-icon-mysql', 'MySQL 节点'),
|
|
407
364
|
// 'create.data-object': createAction('bpmn:DataObjectReference', 'data-object', 'bpmn-icon-data-object', translate('Create DataObjectReference')),
|
|
408
365
|
// 'create.data-store': createAction('bpmn:DataStoreReference', 'data-store', 'bpmn-icon-data-store', translate('Create DataStoreReference')),
|
|
@@ -428,17 +385,7 @@ Z.prototype.getPaletteEntries = function() {
|
|
|
428
385
|
// 'create.group': createAction('bpmn:Group', 'artifact', 'bpmn-icon-group', translate('Create Group'))
|
|
429
386
|
}), n;
|
|
430
387
|
};
|
|
431
|
-
L.$inject = [
|
|
432
|
-
"palette",
|
|
433
|
-
"create",
|
|
434
|
-
"elementFactory",
|
|
435
|
-
"spaceTool",
|
|
436
|
-
"lassoTool",
|
|
437
|
-
"handTool",
|
|
438
|
-
"globalConnect",
|
|
439
|
-
"moddle",
|
|
440
|
-
"translate"
|
|
441
|
-
];
|
|
388
|
+
L.$inject = ["palette", "create", "elementFactory", "spaceTool", "lassoTool", "handTool", "globalConnect", "moddle", "translate"];
|
|
442
389
|
L.prototype = new Z();
|
|
443
390
|
L.prototype.constructor = L;
|
|
444
391
|
const Ne = {
|
|
@@ -1102,11 +1049,7 @@ const Ot = Lt.exports, Pt = {
|
|
|
1102
1049
|
n.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = T(u(u({}, this.defaultLoopInstanceForm), n.loopCharacteristics), {
|
|
1103
1050
|
completionCondition: (i = (t = (e = n.loopCharacteristics) == null ? void 0 : e.completionCondition) == null ? void 0 : t.body) != null ? i : "",
|
|
1104
1051
|
loopCardinality: (r = (a = (s = n.loopCharacteristics) == null ? void 0 : s.loopCardinality) == null ? void 0 : a.body) != null ? r : ""
|
|
1105
|
-
}), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, n.loopCharacteristics.extensionElements && n.loopCharacteristics.extensionElements.values && n.loopCharacteristics.extensionElements.values.length && this.$set(
|
|
1106
|
-
this.loopInstanceForm,
|
|
1107
|
-
"timeCycle",
|
|
1108
|
-
n.loopCharacteristics.extensionElements.values[0].body
|
|
1109
|
-
);
|
|
1052
|
+
}), this.multiLoopInstance = this.element.businessObject.loopCharacteristics, n.loopCharacteristics.extensionElements && n.loopCharacteristics.extensionElements.values && n.loopCharacteristics.extensionElements.values.length && this.$set(this.loopInstanceForm, "timeCycle", n.loopCharacteristics.extensionElements.values[0].body);
|
|
1110
1053
|
},
|
|
1111
1054
|
changeLoopCharacteristicsType(n) {
|
|
1112
1055
|
if (n === "Null") {
|
|
@@ -1174,7 +1117,7 @@ var Mt = function() {
|
|
|
1174
1117
|
i.preventDefault();
|
|
1175
1118
|
} } }, [t("ElFormItem", { attrs: { label: "回路特性" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1176
1119
|
return [e._v(" 回路特性 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1177
|
-
return [t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("并行")]), e._v(" 一次性创建所有任务实例")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("串行")]), e._v(" 完成一个任务实例再创建一个任务实例,直到环节完成
|
|
1120
|
+
return [t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("并行")]), e._v(" 一次性创建所有任务实例")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("串行")]), e._v(" 完成一个任务实例再创建一个任务实例,直到环节完成")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("循环事件")]), e._v(" 未知")])])];
|
|
1178
1121
|
}, proxy: !0 }]) }, [t("i", { staticClass: "el-icon-info" })])];
|
|
1179
1122
|
}, proxy: !0 }]) }, [t("ElSelect", { on: { change: e.changeLoopCharacteristicsType }, model: { value: e.loopCharacteristics, callback: function(i) {
|
|
1180
1123
|
e.loopCharacteristics = i;
|
|
@@ -1198,9 +1141,9 @@ var Mt = function() {
|
|
|
1198
1141
|
e.$set(e.loopInstanceForm, "elementVariable", i);
|
|
1199
1142
|
}, expression: "loopInstanceForm.elementVariable" } })], 1), t("ElFormItem", { key: "completionCondition", attrs: { label: "完成条件" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1200
1143
|
return [e._v(" 完成条件 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
1201
|
-
return [t("p", { staticClass: "flow-tips-title" }, [e._v("特殊流程变量:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfInstances")]), e._v(" 总实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfCompletedInstances")]), e._v(" 已完成的实例数
|
|
1202
|
-
}, proxy: !0 }], null, !1,
|
|
1203
|
-
}, proxy: !0 }], null, !1,
|
|
1144
|
+
return [t("p", { staticClass: "flow-tips-title" }, [e._v("特殊流程变量:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfInstances")]), e._v(" 总实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfCompletedInstances")]), e._v(" 已完成的实例数")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("nrOfActiveInstances")]), e._v(" 未完成实例数")])]), t("p", { staticClass: "flow-tips-title" }, [e._v("示例:")]), t("ul", [t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances/nrOfInstances >= 1}")]), e._v(":所有实例完成结束该环节 ")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances/nrOfInstances >= 0.5}")]), e._v(":50%实例完成结束该环节 ")]), t("li", { staticClass: "flow-tips-list-item" }, [t("span", { staticClass: "flow-tips-keyword" }, [e._v("${nrOfCompletedInstances >= 1}")]), e._v(":有一个实例完成结束该环节")])]), t("p", { staticClass: "flow-tips-title" }, [e._v("不填要等所有实例完成才会结束该环节")])];
|
|
1145
|
+
}, proxy: !0 }], null, !1, 2952075778) }, [t("i", { staticClass: "el-icon-info" })])];
|
|
1146
|
+
}, proxy: !0 }], null, !1, 2319413861) }, [t("ElInput", { attrs: { clearable: "" }, on: { change: e.updateLoopCondition }, model: { value: e.loopInstanceForm.completionCondition, callback: function(i) {
|
|
1204
1147
|
e.$set(e.loopInstanceForm, "completionCondition", i);
|
|
1205
1148
|
}, expression: "loopInstanceForm.completionCondition" } })], 1), t("ElFormItem", { key: "async", attrs: { label: "异步状态" }, scopedSlots: e._u([{ key: "label", fn: function() {
|
|
1206
1149
|
return [e._v(" 异步状态 "), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
@@ -1520,9 +1463,7 @@ const be = {
|
|
|
1520
1463
|
methods: {
|
|
1521
1464
|
resetListenersList() {
|
|
1522
1465
|
var n, e, t, i;
|
|
1523
|
-
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter(
|
|
1524
|
-
(s) => s.$type === `${this.prefix}:ExecutionListener`
|
|
1525
|
-
)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1466
|
+
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:ExecutionListener`)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1526
1467
|
},
|
|
1527
1468
|
changeFiledType(n) {
|
|
1528
1469
|
n === "string" ? (delete this.listenerFieldForm.expression, this.$set(this.listenerFieldForm, "string", "")) : (delete this.listenerFieldForm.string, this.$set(this.listenerFieldForm, "expression", ""));
|
|
@@ -1566,11 +1507,7 @@ const be = {
|
|
|
1566
1507
|
removeListener(n, e) {
|
|
1567
1508
|
return d(this, null, function* () {
|
|
1568
1509
|
try {
|
|
1569
|
-
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(
|
|
1570
|
-
this.bpmnInstances,
|
|
1571
|
-
this.element,
|
|
1572
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
1573
|
-
);
|
|
1510
|
+
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
1574
1511
|
} catch (t) {
|
|
1575
1512
|
}
|
|
1576
1513
|
});
|
|
@@ -1582,13 +1519,7 @@ const be = {
|
|
|
1582
1519
|
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
1583
1520
|
return;
|
|
1584
1521
|
const e = ue(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
1585
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter(
|
|
1586
|
-
(r) => r.$type !== `${this.prefix}:ExecutionListener`
|
|
1587
|
-
)) != null ? a : [], U(
|
|
1588
|
-
this.bpmnInstances,
|
|
1589
|
-
this.element,
|
|
1590
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
1591
|
-
), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1522
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:ExecutionListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
1592
1523
|
});
|
|
1593
1524
|
}
|
|
1594
1525
|
}
|
|
@@ -1715,10 +1646,7 @@ const nn = tn.exports, sn = {
|
|
|
1715
1646
|
methods: {
|
|
1716
1647
|
resetAttributesList() {
|
|
1717
1648
|
var n, e, t, i, s;
|
|
1718
|
-
this.otherExtensionList = [], this.bpmnElementProperties = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((a) => (a.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(a), a.$type === `${this.prefix}:Properties`))) != null ? i : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce(
|
|
1719
|
-
(a, r) => a.concat(r.values),
|
|
1720
|
-
[]
|
|
1721
|
-
), this.elementPropertyList = v((s = this.bpmnElementPropertyList) != null ? s : []);
|
|
1649
|
+
this.otherExtensionList = [], this.bpmnElementProperties = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((a) => (a.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(a), a.$type === `${this.prefix}:Properties`))) != null ? i : [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((a, r) => a.concat(r.values), []), this.elementPropertyList = v((s = this.bpmnElementPropertyList) != null ? s : []);
|
|
1722
1650
|
},
|
|
1723
1651
|
openAttributesForm(n, e) {
|
|
1724
1652
|
this.editingPropertyIndex = e, this.propertyForm = e === -1 ? {} : v(n), this.propertyFormModelVisible = !0, this.$nextTick(() => {
|
|
@@ -1741,14 +1669,10 @@ const nn = tn.exports, sn = {
|
|
|
1741
1669
|
saveAttribute() {
|
|
1742
1670
|
const { name: n, value: e } = this.propertyForm;
|
|
1743
1671
|
if (this.editingPropertyIndex !== -1)
|
|
1744
|
-
this.bpmnInstances.modeling.updateModdleProperties(
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
name: n,
|
|
1749
|
-
value: e
|
|
1750
|
-
}
|
|
1751
|
-
);
|
|
1672
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.bpmnElementPropertyList[this.editingPropertyIndex], {
|
|
1673
|
+
name: n,
|
|
1674
|
+
value: e
|
|
1675
|
+
});
|
|
1752
1676
|
else {
|
|
1753
1677
|
const t = this.bpmnInstances.moddle.create(`${this.prefix}:Property`, { name: n, value: e }), i = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, {
|
|
1754
1678
|
values: this.bpmnElementPropertyList.concat([t])
|
|
@@ -2064,9 +1988,7 @@ const dn = un.exports, fn = {
|
|
|
2064
1988
|
methods: {
|
|
2065
1989
|
resetListenersList() {
|
|
2066
1990
|
var n, e, t, i;
|
|
2067
|
-
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter(
|
|
2068
|
-
(s) => s.$type === `${this.prefix}:TaskListener`
|
|
2069
|
-
)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
1991
|
+
this.otherExtensionList = [], this.bpmnElementListeners = (i = (t = (e = (n = this.element.businessObject) == null ? void 0 : n.extensionElements) == null ? void 0 : e.values) == null ? void 0 : t.filter((s) => s.$type === `${this.prefix}:TaskListener`)) != null ? i : [], this.elementListenersList = this.bpmnElementListeners.map((s) => fe(s));
|
|
2070
1992
|
},
|
|
2071
1993
|
openListenerForm(n, e) {
|
|
2072
1994
|
return d(this, null, function* () {
|
|
@@ -2080,11 +2002,7 @@ const dn = un.exports, fn = {
|
|
|
2080
2002
|
removeListener(n, e) {
|
|
2081
2003
|
return d(this, null, function* () {
|
|
2082
2004
|
try {
|
|
2083
|
-
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(
|
|
2084
|
-
this.bpmnInstances,
|
|
2085
|
-
this.element,
|
|
2086
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
2087
|
-
);
|
|
2005
|
+
yield this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(e, 1), this.elementListenersList.splice(e, 1), U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
2088
2006
|
} catch (t) {
|
|
2089
2007
|
}
|
|
2090
2008
|
});
|
|
@@ -2096,13 +2014,7 @@ const dn = un.exports, fn = {
|
|
|
2096
2014
|
if (!(yield this.$refs.listenerFormRef.validate()))
|
|
2097
2015
|
return;
|
|
2098
2016
|
const e = ue(this.bpmnInstances, this.listenerForm, !0, this.prefix);
|
|
2099
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter(
|
|
2100
|
-
(r) => r.$type !== `${this.prefix}:TaskListener`
|
|
2101
|
-
)) != null ? a : [], U(
|
|
2102
|
-
this.bpmnInstances,
|
|
2103
|
-
this.element,
|
|
2104
|
-
this.otherExtensionList.concat(this.bpmnElementListeners)
|
|
2105
|
-
), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
2017
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(e), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, e), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = (a = (s = (i = (t = this.element.businessObject) == null ? void 0 : t.extensionElements) == null ? void 0 : i.values) == null ? void 0 : s.filter((r) => r.$type !== `${this.prefix}:TaskListener`)) != null ? a : [], U(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
2106
2018
|
});
|
|
2107
2019
|
},
|
|
2108
2020
|
// 打开监听器字段编辑弹窗
|
package/flow-node/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as o } from "../chunks/util.
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s as o } from "../chunks/util.ThVOTZAO.mjs";
|
|
2
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "FlowNode",
|
|
5
5
|
props: {
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ import { create as p, attr as c, append as m } from "tiny-svg";
|
|
|
32
32
|
import { query as E } from "min-dom";
|
|
33
33
|
import $ from "../easy-popup/index.mjs";
|
|
34
34
|
import "../easy-popup/style.css";
|
|
35
|
-
import { n as F } from "../chunks/_plugin-vue2_normalizer.
|
|
35
|
+
import { n as F } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
36
36
|
const f = d.prototype._handleWheel, S = {
|
|
37
37
|
__init__: ["zoomScroll"],
|
|
38
38
|
zoomScroll: ["type", d]
|
|
@@ -161,13 +161,7 @@ const f = d.prototype._handleWheel, S = {
|
|
|
161
161
|
},
|
|
162
162
|
highlightFlow(i, t) {
|
|
163
163
|
this.elementRegistry.getAll().forEach((e) => {
|
|
164
|
-
[
|
|
165
|
-
"bpmn:StartEvent",
|
|
166
|
-
"bpmn:UserTask",
|
|
167
|
-
"bpmn:ExclusiveGateway",
|
|
168
|
-
"bpmn:ParallelGateway",
|
|
169
|
-
"bpmn:EndEvent"
|
|
170
|
-
].includes(e.type) && (i.includes(e.id) && !t.includes(e.id) ? this.canvas.addMarker(e, "highlight") : this.canvas.removeMarker(e, "highlight")), e.type === "bpmn:SequenceFlow" && (i.includes(e.id) ? this.canvas.addMarker(e, "highlight-line") : this.canvas.removeMarker(e, "highlight-line")), e.type === "bpmn:UserTask" && (t.includes(e.id) ? this.canvas.addMarker(e, "highlight-current") : this.canvas.removeMarker(e, "highlight-current"));
|
|
164
|
+
["bpmn:StartEvent", "bpmn:UserTask", "bpmn:ExclusiveGateway", "bpmn:ParallelGateway", "bpmn:EndEvent"].includes(e.type) && (i.includes(e.id) && !t.includes(e.id) ? this.canvas.addMarker(e, "highlight") : this.canvas.removeMarker(e, "highlight")), e.type === "bpmn:SequenceFlow" && (i.includes(e.id) ? this.canvas.addMarker(e, "highlight-line") : this.canvas.removeMarker(e, "highlight-line")), e.type === "bpmn:UserTask" && (t.includes(e.id) ? this.canvas.addMarker(e, "highlight-current") : this.canvas.removeMarker(e, "highlight-current"));
|
|
171
165
|
});
|
|
172
166
|
}
|
|
173
167
|
}
|
package/form-button/index.mjs
CHANGED
package/form-cascader/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ var o = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
u.call(e, r) && o(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as d } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { f as d } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import s from "element-ui/lib/cascader";
|
|
15
|
-
import { d as m, n as f } from "../chunks/index.
|
|
15
|
+
import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
16
|
import { findTreeChildren as h, setParent as y } from "@web-utils/core";
|
|
17
17
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
18
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
18
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
19
19
|
const b = Object.keys(s.props || s.default.props).filter(
|
|
20
20
|
(t) => !["value", "placeholder", "disabled", "options", "showAllLevels", "show-all-levels", "separator"].includes(t)
|
|
21
21
|
), S = {
|
|
@@ -9,14 +9,12 @@ var s = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as c } from "../chunks/form-pick-mixin.
|
|
14
|
-
import { d as f, n as m } from "../chunks/index.
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
|
+
import { d as f, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import n from "element-ui/lib/checkbox-group";
|
|
16
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const b = Object.keys(n.props || n.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
16
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
+
const b = Object.keys(n.props || n.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormCheckboxGroup",
|
|
21
19
|
mixins: [h, c],
|
|
22
20
|
props: {
|
|
@@ -10,11 +10,11 @@ var s = (t, e, r) => e in t ? m(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
h.call(e, r) && s(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
12
|
}, l = (t, e) => u(t, p(e));
|
|
13
|
-
import { f } from "../chunks/form-input-mixin.
|
|
14
|
-
import { f as c } from "../chunks/form-pick-mixin.
|
|
13
|
+
import { f } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
14
|
+
import { f as c } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
15
15
|
import { toDate as o } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as y, n as g } from "../chunks/index.
|
|
17
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { d as y, n as g } from "../chunks/index.DwCBGcYk.mjs";
|
|
17
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
18
18
|
const k = [
|
|
19
19
|
"type",
|
|
20
20
|
"timeArrowControl",
|
package/form-holder/index.mjs
CHANGED
|
@@ -15,8 +15,8 @@ var o = (t, e, l) => new Promise((d, s) => {
|
|
|
15
15
|
i((l = l.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { warning as m } from "@web-utils/core";
|
|
18
|
-
import { e as u } from "../chunks/index.
|
|
19
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
18
|
+
import { e as u } from "../chunks/index.DwCBGcYk.mjs";
|
|
19
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
20
20
|
const p = {
|
|
21
21
|
name: "FormHolder",
|
|
22
22
|
provide() {
|
package/form-input/index.mjs
CHANGED
|
@@ -9,13 +9,11 @@ var l = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, t) && l(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import u from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
-
const _ = Object.keys(u.props || u.default.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
|
-
), y = {
|
|
14
|
+
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
+
const _ = Object.keys(u.props || u.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), y = {
|
|
19
17
|
name: "FormInput",
|
|
20
18
|
mixins: [m],
|
|
21
19
|
props: {
|
|
@@ -9,13 +9,11 @@ var s = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && s(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import a from "element-ui/lib/input";
|
|
14
|
-
import { d, n as f } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
-
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter(
|
|
17
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
18
|
-
), v = {
|
|
14
|
+
import { d, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
+
const _ = (t, e, r) => e && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e) ? r(new Error("invalid")) : r(), y = Object.keys(a.props || a.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), v = {
|
|
19
17
|
name: "FormInputEmail",
|
|
20
18
|
mixins: [m],
|
|
21
19
|
props: {
|
|
@@ -9,14 +9,12 @@ var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
d.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { validateIdCard as a } from "@web-utils/core";
|
|
14
14
|
import i from "element-ui/lib/input";
|
|
15
|
-
import { d as f, n as c } from "../chunks/index.
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const v = Object.keys(i.props || i.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
15
|
+
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
+
const v = Object.keys(i.props || i.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormInputIdCard",
|
|
21
19
|
mixins: [m],
|
|
22
20
|
props: {
|
|
@@ -9,13 +9,11 @@ var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
l.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as a } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d as m, n as f } from "../chunks/index.
|
|
14
|
-
import { i as c } from "../chunks/input-number-mixin.
|
|
15
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
-
const _ = Object.keys(c.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)
|
|
18
|
-
), y = {
|
|
12
|
+
import { f as a } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { d as m, n as f } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
|
+
import { i as c } from "../chunks/input-number-mixin.CzjtGf2n.mjs";
|
|
15
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
+
const _ = Object.keys(c.props).filter((r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)), y = {
|
|
19
17
|
name: "FormInputNumber",
|
|
20
18
|
mixins: [a],
|
|
21
19
|
props: {
|
|
@@ -9,14 +9,12 @@ var l = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import { validatePhoneNum as d } from "@web-utils/core";
|
|
14
|
-
import { d as f, n as c } from "../chunks/index.
|
|
14
|
+
import { d as f, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
15
|
import s from "element-ui/lib/input";
|
|
16
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const h = Object.keys(s.props || s.default.props).filter(
|
|
18
|
-
(t) => !["value", "placeholder", "disabled"].includes(t)
|
|
19
|
-
), y = {
|
|
16
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
+
const h = Object.keys(s.props || s.default.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), y = {
|
|
20
18
|
name: "FormInputPhoneNumber",
|
|
21
19
|
mixins: [m],
|
|
22
20
|
props: {
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as m } from "../chunks/form-input-mixin.
|
|
13
|
-
import { d, n as c } from "../chunks/index.
|
|
12
|
+
import { f as m } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { d, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
14
|
import u from "../x-input-tag/index.mjs";
|
|
15
15
|
import "../x-input-tag/style.css";
|
|
16
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
17
|
const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
18
18
|
name: "FormInputTag",
|
|
19
19
|
components: {
|
|
@@ -9,13 +9,11 @@ var i = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && i(r, t, e[t]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
|
-
import { f as u } from "../chunks/form-input-mixin.
|
|
12
|
+
import { f as u } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
13
|
import o from "element-ui/lib/time-picker";
|
|
14
|
-
import { d as f, n as d } from "../chunks/index.
|
|
15
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.
|
|
16
|
-
const _ = Object.keys(o.props || o.default.props).filter(
|
|
17
|
-
(r) => !["value", "placeholder", "disabled"].includes(r)
|
|
18
|
-
), g = {
|
|
14
|
+
import { d as f, n as d } from "../chunks/index.DwCBGcYk.mjs";
|
|
15
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
16
|
+
const _ = Object.keys(o.props || o.default.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), g = {
|
|
19
17
|
name: "FormInputTime",
|
|
20
18
|
mixins: [u],
|
|
21
19
|
props: {
|
package/form-item/index.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var w = (e, r, t) => new Promise((d, a) => {
|
|
|
26
26
|
l((t = t.apply(e, r)).next());
|
|
27
27
|
});
|
|
28
28
|
import { h as p } from "vue";
|
|
29
|
-
import { f as B } from "../chunks/form-item-mixin.
|
|
29
|
+
import { f as B } from "../chunks/form-item-mixin.CdcqXa2h.mjs";
|
|
30
30
|
import { hasOwn as I } from "@web-utils/core";
|
|
31
31
|
const A = {
|
|
32
32
|
name: "FormItem",
|
|
@@ -9,14 +9,12 @@ var s = (l, e, o) => e in l ? u(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
f.call(e, o) && s(l, o, e[o]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as h } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { f as h } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import a from "element-ui/lib/radio-group";
|
|
15
|
-
import { d, n as m } from "../chunks/index.
|
|
16
|
-
import { n as y } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const v = Object.keys(a.props || a.default.props).filter(
|
|
18
|
-
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
|
-
), _ = {
|
|
15
|
+
import { d, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
+
const v = Object.keys(a.props || a.default.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), _ = {
|
|
20
18
|
name: "FormRadioGroup",
|
|
21
19
|
mixins: [c, h],
|
|
22
20
|
props: {
|
|
@@ -90,11 +88,7 @@ const v = Object.keys(a.props || a.default.props).filter(
|
|
|
90
88
|
};
|
|
91
89
|
var b = function() {
|
|
92
90
|
var e = this, o = e._self._c;
|
|
93
|
-
return o("FormItem", e._b({ class: [
|
|
94
|
-
"form-radio-group",
|
|
95
|
-
{ "form-radio-group-row": e.fillRow, inline: e.inline },
|
|
96
|
-
e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"
|
|
97
|
-
], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
91
|
+
return o("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
98
92
|
return [o("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(r) {
|
|
99
93
|
return o("ElRadio", { key: r[e.valueKey], attrs: { label: r[e.valueKey] }, nativeOn: { click: function(i) {
|
|
100
94
|
return i.preventDefault(), i.stopPropagation(), e.toggle(r);
|
package/form-select/index.mjs
CHANGED
|
@@ -9,14 +9,12 @@ var s = (l, e, t) => e in l ? a(l, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
p.call(e, t) && s(l, t, e[t]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
import { f as c } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f } from "../chunks/form-pick-mixin.
|
|
12
|
+
import { f as c } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { f } from "../chunks/form-pick-mixin.BFTIVn_i.mjs";
|
|
14
14
|
import o from "element-ui/lib/select";
|
|
15
|
-
import { d as h, n as m } from "../chunks/index.
|
|
16
|
-
import { n as y } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
-
const d = Object.keys(o.props || o.default.props).filter(
|
|
18
|
-
(l) => !["value", "placeholder", "disabled"].includes(l)
|
|
19
|
-
), _ = {
|
|
15
|
+
import { d as h, n as m } from "../chunks/index.DwCBGcYk.mjs";
|
|
16
|
+
import { n as y } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
17
|
+
const d = Object.keys(o.props || o.default.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), _ = {
|
|
20
18
|
name: "FormSelect",
|
|
21
19
|
mixins: [c, f],
|
|
22
20
|
props: {
|