@web-utils/component 3.3.4 → 3.3.6

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.
@@ -1538,12 +1538,7 @@ const be = {
1538
1538
  openListenerForm(n, e) {
1539
1539
  return d(this, null, function* () {
1540
1540
  var t;
1541
- if (n) {
1542
- const i = de(n);
1543
- n.fields ? i.fields = n.fields.map((s) => u({}, s)) : i.fields = [], this.listenerForm = i, this.fieldsListOfListener = i.fields, this.editingListenerIndex = e;
1544
- } else
1545
- this.listenerForm = { fields: [] }, this.fieldsListOfListener = this.listenerForm.fields, this.editingListenerIndex = -1;
1546
- this.listenerFormModelVisible = !0, yield this.$nextTick(), (t = this.$refs.listenerFormRef) == null || t.clearValidate();
1541
+ n ? (this.listenerForm = de(n), this.fieldsListOfListener = n.fields ? n.fields.map((i) => u({}, i)) : [], this.editingListenerIndex = e) : (this.listenerForm = { fields: [] }, this.fieldsListOfListener = [], this.editingListenerIndex = -1), this.listenerFormModelVisible = !0, yield this.$nextTick(), (t = this.$refs.listenerFormRef) == null || t.clearValidate();
1547
1542
  });
1548
1543
  },
1549
1544
  // 打开监听器字段编辑弹窗
@@ -2319,7 +2314,7 @@ const vn = hn.exports, ie = ["base", "task", "form", "multiInstance"], gn = {
2319
2314
  initFormOnChanged(n) {
2320
2315
  var t;
2321
2316
  let e = n;
2322
- e || (e = (t = this.bpmnInstances.elementRegistry.find((i) => i.type === "bpmn:Process")) != null ? t : this.bpmnInstances.elementRegistry.find((i) => i.type === "bpmn:Collaboration")), e && (this.element = e, this.elementId = e.id, this.elementType = e.type.split(":")[1] || "", this.conditionFormVisible = !!(this.elementType === "SequenceFlow" && e.source && e.source.type.indexOf("StartEvent") === -1), this.formVisible = this.elementType === "UserTask" || this.elementType === "StartEvent");
2317
+ e || (e = (t = this.bpmnInstances.elementRegistry.find((i) => i.type === "bpmn:Process")) != null ? t : this.bpmnInstances.elementRegistry.find((i) => i.type === "bpmn:Collaboration")), e && (this.element = e, this.elementId = e.id, this.elementType = e.type.split(":")[1] || "", this.conditionFormVisible = !!(this.elementType === "SequenceFlow" && e.source && e.source.type.indexOf("StartEvent") === -1), this.formVisible = this.elementType === "UserTask");
2323
2318
  }
2324
2319
  }
2325
2320
  };
@@ -6717,20 +6712,7 @@ const mi = pi.exports, ci = {
6717
6712
  props: {
6718
6713
  value: String,
6719
6714
  extendTypes: Array,
6720
- context: {
6721
- type: Object,
6722
- default() {
6723
- return {
6724
- url: "",
6725
- serviceId: "",
6726
- services: ["test", "demo"],
6727
- fields: ["serviceId", "url"],
6728
- // eslint-disable-next-line no-template-curly-in-string
6729
- delegateExpressions: ["${httpInvokeExecutionListener}"],
6730
- apis: ["flowDraft", "flowStart", "flowEnd"]
6731
- };
6732
- }
6733
- }
6715
+ context: Object
6734
6716
  },
6735
6717
  data() {
6736
6718
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.4",
4
+ "version": "3.3.6",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "3.3.4",
5
+ "version": "3.3.6",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -2592,7 +2592,7 @@
2592
2592
  "kind": "expression",
2593
2593
  "type": "object"
2594
2594
  },
2595
- "default": "{\r\n url: '',\r\n serviceId: '',\r\n services: ['test', 'demo'],\r\n fields: ['serviceId', 'url'],\r\n // eslint-disable-next-line no-template-curly-in-string\r\n delegateExpressions: ['${httpInvokeExecutionListener}'],\r\n apis: ['flowDraft', 'flowStart', 'flowEnd']\r\n}"
2595
+ "default": ""
2596
2596
  }
2597
2597
  ],
2598
2598
  "events": [