starfish-editor-custom 1.0.57 → 1.0.58

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 (60) hide show
  1. package/dist/ConditionModule.js +10 -10
  2. package/dist/ConditionSelect.js +6 -6
  3. package/dist/CustomDialog.js +1 -1
  4. package/dist/formStyle.js +12 -20
  5. package/dist/jsonCode.js +1 -1
  6. package/dist/jsonEditor.js +1 -1
  7. package/dist/main.js +199 -248
  8. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionGroup.vue.d.ts +18 -0
  9. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionModule.vue.d.ts +17 -0
  10. package/dist/types/{common → editor/src/common}/ConditionSelect/ConditionTanc.vue.d.ts +30 -0
  11. package/dist/types/{common → editor/src/common}/ConditionSelect.vue.d.ts +13 -36
  12. package/dist/types/editor/src/common/CustomDialog.vue.d.ts +27 -0
  13. package/dist/types/editor/src/common/Loading.vue.d.ts +3 -0
  14. package/dist/types/editor/src/common/jsonCode.vue.d.ts +14 -0
  15. package/dist/types/editor/src/components/ComponentList.vue.d.ts +3 -0
  16. package/dist/types/editor/src/components/FormPreview.vue.d.ts +22 -0
  17. package/dist/types/editor/src/components/Nav.vue.d.ts +9 -0
  18. package/dist/types/editor/src/components/PropsPanel.vue.d.ts +46 -0
  19. package/dist/types/{components → editor/src/components}/Shape.vue.d.ts +9 -9
  20. package/dist/types/{components → editor/src/components}/Workspace.vue.d.ts +8 -8
  21. package/dist/types/editor/src/components/globalFormList.vue.d.ts +6 -0
  22. package/dist/types/editor/src/components/jsonEditor.vue.d.ts +6 -0
  23. package/dist/types/{controller → editor/src/controller}/action.d.ts +1 -1
  24. package/dist/types/{controller → editor/src/controller}/form.d.ts +1 -1
  25. package/dist/types/{controller → editor/src/controller}/history.d.ts +1 -1
  26. package/dist/types/{controller → editor/src/controller}/shortcut.d.ts +1 -1
  27. package/dist/types/{controller → editor/src/controller}/ui.d.ts +1 -1
  28. package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +10 -0
  29. package/dist/types/editor/src/layouts/Framework.vue.d.ts +21 -0
  30. package/dist/types/editor/src/layouts/Resizer.vue.d.ts +13 -0
  31. package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +8 -0
  32. package/dist/types/{main.d.ts → editor/src/main.d.ts} +2 -2
  33. package/dist/types/editor/src/starfish-editor.vue.d.ts +101 -0
  34. package/dist/types/{type.d.ts → editor/src/type.d.ts} +7 -7
  35. package/dist/types/{utils → editor/src/utils}/formKeycon.d.ts +1 -1
  36. package/dist/types/starfish-editor.d.ts +2 -2
  37. package/package.json +2 -2
  38. package/stats.html +4905 -3677
  39. package/dist/types/common/CustomDialog.vue.d.ts +0 -27
  40. package/dist/types/common/Loading.vue.d.ts +0 -3
  41. package/dist/types/common/jsonCode.vue.d.ts +0 -110
  42. package/dist/types/components/ComponentList.vue.d.ts +0 -32
  43. package/dist/types/components/FormPreview.vue.d.ts +0 -62
  44. package/dist/types/components/Nav.vue.d.ts +0 -9
  45. package/dist/types/components/PropsPanel.vue.d.ts +0 -56
  46. package/dist/types/components/globalFormList.vue.d.ts +0 -6
  47. package/dist/types/components/jsonEditor.vue.d.ts +0 -6
  48. package/dist/types/layouts/ControlEditSize.vue.d.ts +0 -17
  49. package/dist/types/layouts/Framework.vue.d.ts +0 -33
  50. package/dist/types/layouts/Resizer.vue.d.ts +0 -13
  51. package/dist/types/layouts/ShortcutKey.vue.d.ts +0 -8
  52. package/dist/types/starfish-editor.vue.d.ts +0 -109
  53. /package/dist/types/{common → editor/src/common}/formJson.d.ts +0 -0
  54. /package/dist/types/{locale → editor/src/locale}/en.d.ts +0 -0
  55. /package/dist/types/{locale → editor/src/locale}/index.d.ts +0 -0
  56. /package/dist/types/{locale → editor/src/locale}/zh-CN.d.ts +0 -0
  57. /package/dist/types/{shims-vue.d.ts → editor/src/shims-vue.d.ts} +0 -0
  58. /package/dist/types/{utils → editor/src/utils}/_.d.ts +0 -0
  59. /package/dist/types/{utils → editor/src/utils}/shortcutKey.d.ts +0 -0
  60. /package/dist/types/{utils → editor/src/utils}/vm.d.ts +0 -0
@@ -290,8 +290,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
290
290
  }, null, 8, ["label", "value"]);
291
291
  }), 128))
292
292
  ]),
293
- _: 1
294
- }, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
293
+ _: 2
294
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
295
295
  ]),
296
296
  _: 1
297
297
  }, 8, ["label"]),
@@ -314,8 +314,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
314
314
  }, null, 8, ["label", "value"]);
315
315
  }), 128))
316
316
  ]),
317
- _: 1
318
- }, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
317
+ _: 2
318
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
319
319
  ]),
320
320
  _: 1
321
321
  }, 8, ["label"]),
@@ -339,8 +339,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
339
339
  }, null, 8, ["label", "value"]);
340
340
  }), 128))
341
341
  ]),
342
- _: 1
343
- }, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
342
+ _: 2
343
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
344
344
  ]),
345
345
  _: 1
346
346
  }, 8, ["label"]),
@@ -390,8 +390,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
390
390
  }, null, 8, ["label", "value"]);
391
391
  }), 128))
392
392
  ]),
393
- _: 1
394
- }, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple"])) : createCommentVNode("", true),
393
+ _: 2
394
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple"])) : createCommentVNode("", true),
395
395
  scope.row.type == "boolean" ? (openBlock(), createBlock(_component_el_switch, {
396
396
  key: 2,
397
397
  modelValue: scope.row.value,
@@ -416,8 +416,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
416
416
  default: withCtx(() => [
417
417
  createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
418
418
  ]),
419
- _: 1
420
- }, 8, ["onClick"])
419
+ _: 2
420
+ }, 1032, ["onClick"])
421
421
  ]),
422
422
  _: 1
423
423
  }, 8, ["label"])
@@ -281,8 +281,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
281
281
  }, null, 8, ["label", "value"]);
282
282
  }), 128))
283
283
  ]),
284
- _: 1
285
- }, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
284
+ _: 2
285
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
286
286
  ]),
287
287
  _: 1
288
288
  }, 8, ["label"]),
@@ -406,8 +406,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
406
406
  default: withCtx(() => [
407
407
  createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
408
408
  ]),
409
- _: 1
410
- }, 8, ["onClick"])
409
+ _: 2
410
+ }, 1032, ["onClick"])
411
411
  ]),
412
412
  _: 2
413
413
  }, 1032, ["label"])
@@ -423,8 +423,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
423
423
  default: withCtx(() => [
424
424
  createTextVNode(toDisplayString(_ctx.$t("cond.addAnd")), 1)
425
425
  ]),
426
- _: 1
427
- }, 8, ["onClick"])
426
+ _: 2
427
+ }, 1032, ["onClick"])
428
428
  ]);
429
429
  }), 128)),
430
430
  createVNode(_component_el_button, {
@@ -29,7 +29,7 @@ import "element-plus/es/components/tree/style/css";
29
29
  import "element-plus/es/components/tooltip/style/css";
30
30
  import "gesto";
31
31
  import "keycon";
32
- var CustomDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
32
+ var CustomDialog_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".MyDialogBody[data-v-38337299]{position:relative}.fullscreen[data-v-38337299]{width:100%!important;height:100%!important;margin:0;padding:0}\n")();
33
33
  const _sfc_main = defineComponent({
34
34
  props: {
35
35
  dialogclass: String,
package/dist/formStyle.js CHANGED
@@ -30,7 +30,7 @@ import "element-plus/es/components/drawer/style/css";
30
30
  import "element-plus/es/components/tree/style/css";
31
31
  import "gesto";
32
32
  import "keycon";
33
- var formStyle_vue_vue_type_style_index_0_lang = "";
33
+ var formStyle_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".cm-gutters.cm-gutters-before{background:#133F63}\n")();
34
34
  const _sfc_main = defineComponent({
35
35
  ControlType: "FormStyle",
36
36
  isHide: true,
@@ -84,27 +84,18 @@ const _sfc_main = defineComponent({
84
84
  classArray.forEach((cItem) => {
85
85
  const caItem = cItem.trim();
86
86
  if (caItem.indexOf(".", 1) !== -1) {
87
- const newClass = caItem.substring(
88
- caItem.indexOf(".") + 1,
89
- caItem.indexOf(".", 1)
90
- );
87
+ const newClass = caItem.substring(caItem.indexOf(".") + 1, caItem.indexOf(".", 1));
91
88
  if (newClass) {
92
89
  cssNameArray.push(newClass.trim());
93
90
  }
94
91
  } else if (caItem.indexOf(" ") !== -1) {
95
- const newClass = caItem.substring(
96
- caItem.indexOf(".") + 1,
97
- caItem.indexOf(" ")
98
- );
92
+ const newClass = caItem.substring(caItem.indexOf(".") + 1, caItem.indexOf(" "));
99
93
  if (newClass) {
100
94
  cssNameArray.push(newClass.trim());
101
95
  }
102
96
  } else {
103
97
  if (caItem.indexOf("{") !== -1) {
104
- const newClass = caItem.substring(
105
- caItem.indexOf(".") + 1,
106
- caItem.indexOf("{")
107
- );
98
+ const newClass = caItem.substring(caItem.indexOf(".") + 1, caItem.indexOf("{"));
108
99
  cssNameArray.push(newClass.trim());
109
100
  } else {
110
101
  const newClass = caItem.substring(caItem.indexOf(".") + 1);
@@ -156,8 +147,9 @@ const _hoisted_3 = {
156
147
  key: 0,
157
148
  class: "item_require"
158
149
  };
159
- const _hoisted_4 = { class: "control" };
160
- const _hoisted_5 = { class: "custom_code" };
150
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1);
151
+ const _hoisted_5 = { class: "control" };
152
+ const _hoisted_6 = { class: "custom_code" };
161
153
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
162
154
  const _component_el_tooltip = ElTooltip;
163
155
  const _component_el_button = ElButton;
@@ -175,13 +167,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
175
167
  content: _ctx.item.data.tip,
176
168
  placement: "top"
177
169
  }, {
178
- default: withCtx(() => [..._cache[1] || (_cache[1] = [
179
- createElementVNode("span", { class: "tip iconfontui icon-tishi" }, null, -1)
180
- ])]),
170
+ default: withCtx(() => [
171
+ _hoisted_4
172
+ ]),
181
173
  _: 1
182
174
  }, 8, ["content"])) : createCommentVNode("", true)
183
175
  ]),
184
- createElementVNode("div", _hoisted_4, [
176
+ createElementVNode("div", _hoisted_5, [
185
177
  createVNode(_component_el_button, {
186
178
  style: { "width": "100%" },
187
179
  onClick: _ctx.onStyleSet,
@@ -198,7 +190,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
198
190
  width: "1000"
199
191
  }, {
200
192
  default: withCtx(() => [
201
- createElementVNode("div", _hoisted_5, [
193
+ createElementVNode("div", _hoisted_6, [
202
194
  createVNode(_component_codemirror, {
203
195
  modelValue: _ctx.code,
204
196
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.code = $event),
package/dist/jsonCode.js CHANGED
@@ -30,7 +30,7 @@ import "element-plus/es/components/tree/style/css";
30
30
  import "element-plus/es/components/tooltip/style/css";
31
31
  import "gesto";
32
32
  import "keycon";
33
- var jsonCode_vue_vue_type_style_index_0_lang = "";
33
+ var jsonCode_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".\\37c 2 .cm-gutters{background:#133F63;border-right:1px solid #1C4E7E}\n")();
34
34
  const _sfc_main = defineComponent({
35
35
  components: {
36
36
  Codemirror
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, inject, computed, onMounted, openBlock, createElementBlock, toRaw } from "vue";
1
+ import { defineComponent, ref, inject, computed, onMounted, toRaw, openBlock, createElementBlock } from "vue";
2
2
  import JSONEditor from "jsoneditor";
3
3
  import { _ as _export_sfc } from "./main.js";
4
4
  import "element-plus/dist/index.css";