@tmagic/editor 1.5.18 → 1.5.19

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.
@@ -6275,7 +6275,6 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
6275
6275
  {
6276
6276
  text: "数据源",
6277
6277
  label: "数据源",
6278
- disabled: !dataSourceService?.get("dataSources")?.filter((ds) => ds.methods?.length || dataSourceService.getFormMethod(ds.type).length).length,
6279
6278
  value: ActionType.DATA_SOURCE
6280
6279
  }
6281
6280
  ]
@@ -11068,7 +11068,6 @@
11068
11068
  {
11069
11069
  text: "数据源",
11070
11070
  label: "数据源",
11071
- disabled: !dataSourceService?.get("dataSources")?.filter((ds) => ds.methods?.length || dataSourceService.getFormMethod(ds.type).length).length,
11072
11071
  value: core.ActionType.DATA_SOURCE
11073
11072
  }
11074
11073
  ]
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.18",
2
+ "version": "1.5.19",
3
3
  "name": "@tmagic/editor",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -58,11 +58,11 @@
58
58
  "moveable": "^0.53.0",
59
59
  "serialize-javascript": "^6.0.0",
60
60
  "sortablejs": "^1.15.2",
61
- "@tmagic/design": "1.5.18",
62
- "@tmagic/stage": "1.5.18",
63
- "@tmagic/table": "1.5.18",
64
- "@tmagic/utils": "1.5.18",
65
- "@tmagic/form": "1.5.18"
61
+ "@tmagic/design": "1.5.19",
62
+ "@tmagic/form": "1.5.19",
63
+ "@tmagic/table": "1.5.19",
64
+ "@tmagic/utils": "1.5.19",
65
+ "@tmagic/stage": "1.5.19"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/events": "^3.0.0",
@@ -76,7 +76,7 @@
76
76
  "monaco-editor": "^0.48.0",
77
77
  "typescript": "*",
78
78
  "vue": ">=3.5.0",
79
- "@tmagic/core": "1.5.18"
79
+ "@tmagic/core": "1.5.19"
80
80
  },
81
81
  "peerDependenciesMeta": {
82
82
  "typescript": {
@@ -188,9 +188,6 @@ const actionTypeConfig = computed(() => {
188
188
  {
189
189
  text: '数据源',
190
190
  label: '数据源',
191
- disabled: !dataSourceService
192
- ?.get('dataSources')
193
- ?.filter((ds) => ds.methods?.length || dataSourceService.getFormMethod(ds.type).length).length,
194
191
  value: ActionType.DATA_SOURCE,
195
192
  },
196
193
  ],