@tmagic/editor 1.4.15 → 1.4.17

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 (58) hide show
  1. package/dist/tmagic-editor.js +1 -1
  2. package/dist/tmagic-editor.umd.cjs +1 -1
  3. package/package.json +12 -12
  4. package/src/components/CodeParams.vue +1 -1
  5. package/types/Editor.vue.d.ts +2313 -0
  6. package/types/components/CodeParams.vue.d.ts +4 -4
  7. package/types/components/ContentMenu.vue.d.ts +23 -15
  8. package/types/components/FloatingBox.vue.d.ts +9 -7
  9. package/types/components/Resizer.vue.d.ts +6 -4
  10. package/types/components/ScrollBar.vue.d.ts +2 -2
  11. package/types/components/ScrollViewer.vue.d.ts +22 -20
  12. package/types/components/SplitView.vue.d.ts +26 -24
  13. package/types/components/ToolButton.vue.d.ts +5 -5
  14. package/types/components/Tree.vue.d.ts +28 -26
  15. package/types/components/TreeNode.vue.d.ts +30 -28
  16. package/types/fields/Code.vue.d.ts +8 -8
  17. package/types/fields/CodeLink.vue.d.ts +4 -4
  18. package/types/fields/CodeSelect.vue.d.ts +2 -2
  19. package/types/fields/DisplayConds.vue.d.ts +4 -4
  20. package/types/fields/KeyValue.vue.d.ts +2 -2
  21. package/types/hooks/use-code-block-edit.d.ts +91 -2
  22. package/types/hooks/use-data-source-edit.d.ts +85 -2
  23. package/types/hooks/use-data-source-method.d.ts +90 -1
  24. package/types/hooks/use-editor-content-height.d.ts +1 -1
  25. package/types/hooks/use-filter.d.ts +1 -1
  26. package/types/hooks/use-float-box.d.ts +2 -0
  27. package/types/hooks/use-getso.d.ts +2 -2
  28. package/types/hooks/use-next-float-box-position.d.ts +6 -0
  29. package/types/hooks/use-node-status.d.ts +6 -1
  30. package/types/initService.d.ts +1 -1
  31. package/types/layouts/CodeEditor.vue.d.ts +14 -14
  32. package/types/layouts/Framework.vue.d.ts +6 -4
  33. package/types/layouts/NavMenu.vue.d.ts +4 -4
  34. package/types/layouts/PropsPanel.vue.d.ts +265 -14
  35. package/types/layouts/page-bar/PageBar.vue.d.ts +10 -8
  36. package/types/layouts/page-bar/PageBarScrollContainer.vue.d.ts +9 -7
  37. package/types/layouts/page-bar/PageList.vue.d.ts +8 -6
  38. package/types/layouts/sidebar/ComponentListPanel.vue.d.ts +3 -1
  39. package/types/layouts/sidebar/Sidebar.vue.d.ts +9 -7
  40. package/types/layouts/sidebar/code-block/CodeBlockList.vue.d.ts +6 -4
  41. package/types/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts +6 -4
  42. package/types/layouts/sidebar/data-source/DataSourceList.vue.d.ts +4 -2
  43. package/types/layouts/sidebar/data-source/DataSourceListPanel.vue.d.ts +3 -1
  44. package/types/layouts/sidebar/layer/LayerMenu.vue.d.ts +8 -8
  45. package/types/layouts/sidebar/layer/LayerPanel.vue.d.ts +8 -6
  46. package/types/layouts/sidebar/layer/use-click.d.ts +65 -10
  47. package/types/layouts/sidebar/layer/use-keybinding.d.ts +1 -1
  48. package/types/layouts/sidebar/layer/use-node-status.d.ts +6 -1
  49. package/types/layouts/workspace/Workspace.vue.d.ts +10 -8
  50. package/types/layouts/workspace/viewer/Stage.vue.d.ts +6 -6
  51. package/types/layouts/workspace/viewer/ViewerMenu.vue.d.ts +10 -10
  52. package/types/services/BaseService.d.ts +0 -1
  53. package/types/services/dataSource.d.ts +4 -4
  54. package/types/services/ui.d.ts +5 -5
  55. package/types/type.d.ts +0 -1
  56. package/types/utils/data-source/index.d.ts +1 -1
  57. package/types/utils/idle-task.d.ts +0 -1
  58. package/types/utils/scroll-viewer.d.ts +0 -1
@@ -3007,7 +3007,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
3007
3007
  type: "fieldset",
3008
3008
  items,
3009
3009
  legend: "参数",
3010
- labelWidth: "70px",
3010
+ labelWidth: "120px",
3011
3011
  name: props.name
3012
3012
  }
3013
3013
  ];
@@ -3011,7 +3011,7 @@
3011
3011
  type: "fieldset",
3012
3012
  items,
3013
3013
  legend: "参数",
3014
- labelWidth: "70px",
3014
+ labelWidth: "120px",
3015
3015
  name: props.name
3016
3016
  }
3017
3017
  ];
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.15",
2
+ "version": "1.4.17",
3
3
  "name": "@tmagic/editor",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -55,8 +55,8 @@
55
55
  "moveable": "^0.53.0",
56
56
  "serialize-javascript": "^6.0.0",
57
57
  "sortablejs": "^1.15.2",
58
- "@tmagic/dep": "1.4.15",
59
- "@tmagic/table": "1.4.15"
58
+ "@tmagic/dep": "1.4.17",
59
+ "@tmagic/table": "1.4.17"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/events": "^3.0.0",
@@ -64,26 +64,26 @@
64
64
  "@types/node": "^18.19.0",
65
65
  "@types/serialize-javascript": "^5.0.1",
66
66
  "@types/sortablejs": "^1.15.8",
67
- "@vitejs/plugin-vue": "^5.0.4",
67
+ "@vitejs/plugin-vue": "^5.1.1",
68
68
  "@vue/compiler-sfc": "^3.4.27",
69
69
  "@vue/test-utils": "^2.4.6",
70
70
  "rimraf": "^3.0.2",
71
71
  "sass": "^1.77.0",
72
72
  "tsc-alias": "^1.8.5",
73
73
  "type-fest": "^4.10.3",
74
- "vite": "^5.3.1",
74
+ "vite": "^5.3.5",
75
75
  "vue-tsc": "^2.0.19"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "monaco-editor": "^0.48.0",
79
79
  "typescript": "*",
80
- "vue": "^3.4.27",
81
- "@tmagic/core": "1.4.15",
82
- "@tmagic/form": "1.4.15",
83
- "@tmagic/schema": "1.4.15",
84
- "@tmagic/stage": "1.4.15",
85
- "@tmagic/design": "1.4.15",
86
- "@tmagic/utils": "1.4.15"
80
+ "vue": "^3.4.35",
81
+ "@tmagic/core": "1.4.17",
82
+ "@tmagic/design": "1.4.17",
83
+ "@tmagic/form": "1.4.17",
84
+ "@tmagic/schema": "1.4.17",
85
+ "@tmagic/stage": "1.4.17",
86
+ "@tmagic/utils": "1.4.17"
87
87
  },
88
88
  "peerDependenciesMeta": {
89
89
  "typescript": {
@@ -39,7 +39,7 @@ const getFormConfig = (items: FormConfig = []) => [
39
39
  type: 'fieldset',
40
40
  items,
41
41
  legend: '参数',
42
- labelWidth: '70px',
42
+ labelWidth: '120px',
43
43
  name: props.name,
44
44
  },
45
45
  ];