@web-utils/component 3.3.4 → 3.3.5

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
  // 打开监听器字段编辑弹窗
@@ -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.5",
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.5",
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": [