starfish-editor-custom 1.0.55 → 1.0.57

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 (40) hide show
  1. package/dist/ConditionModule.js +93 -92
  2. package/dist/ConditionSelect.js +55 -54
  3. package/dist/formStyle.js +8 -8
  4. package/dist/jsonCode.js +2 -2
  5. package/dist/main.js +379 -178
  6. package/dist/starfish-editor.es.js +1 -1
  7. package/dist/style.css +1 -1
  8. package/dist/types/common/ConditionSelect/ConditionGroup.vue.d.ts +1 -1
  9. package/dist/types/common/ConditionSelect/ConditionModule.vue.d.ts +2 -2
  10. package/dist/types/common/ConditionSelect/ConditionTanc.vue.d.ts +3 -3
  11. package/dist/types/common/ConditionSelect.vue.d.ts +10 -0
  12. package/dist/types/common/formJson.d.ts +4 -5
  13. package/dist/types/locale/en.d.ts +95 -0
  14. package/dist/types/locale/index.d.ts +1 -0
  15. package/dist/types/locale/zh-CN.d.ts +95 -0
  16. package/dist/types/main.d.ts +4 -1
  17. package/package.json +2 -2
  18. package/src/common/ConditionSelect/ConditionGroup.vue +8 -7
  19. package/src/common/ConditionSelect/ConditionModule.vue +7 -7
  20. package/src/common/ConditionSelect/ConditionTanc.vue +40 -39
  21. package/src/common/ConditionSelect.vue +32 -31
  22. package/src/common/formJson.ts +10 -8
  23. package/src/common/formStyle.vue +4 -4
  24. package/src/common/jsonCode.vue +1 -1
  25. package/src/components/ComponentList.vue +9 -9
  26. package/src/components/FormPreview.vue +13 -11
  27. package/src/components/NavList.vue +25 -25
  28. package/src/components/PropsPanel.vue +7 -6
  29. package/src/components/Shape.vue +11 -10
  30. package/src/components/Workspace.vue +2 -2
  31. package/src/layouts/ControlEditSize.vue +1 -1
  32. package/src/layouts/ShortcutKey.vue +11 -11
  33. package/src/locale/en.ts +94 -0
  34. package/src/locale/index.ts +9 -0
  35. package/src/locale/zh-CN.ts +94 -0
  36. package/src/main.ts +6 -2
  37. package/src/styles/form-preview.scss +1 -1
  38. package/src/styles/props-panel.scss +9 -9
  39. package/src/utils/_.ts +6 -3
  40. package/stats.html +1 -1
@@ -12,12 +12,12 @@ import "element-plus/es/components/form/style/css";
12
12
  import "element-plus/es/components/form-item/style/css";
13
13
  import "element-plus/es/components/input/style/css";
14
14
  import "element-plus/es/components/table-column/style/css";
15
- import "element-plus/es/components/message/style/css";
16
- import { resolveComponent, openBlock, createBlock, Teleport, createVNode, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, withModifiers, createTextVNode, normalizeClass, withDirectives, createElementVNode, vShow, Transition, toRaw } from "vue";
17
15
  import { _ as _export_sfc, f as formStore } from "./main.js";
16
+ import "element-plus/es/components/message/style/css";
17
+ import { resolveComponent, openBlock, createBlock, Teleport, createVNode, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, withModifiers, createTextVNode, toDisplayString, normalizeClass, withDirectives, createElementVNode, vShow, Transition, toRaw } from "vue";
18
+ import { t } from "starfish-form-custom";
18
19
  import "element-plus/dist/index.css";
19
20
  import "jsoneditor/dist/jsoneditor.min.css";
20
- import "starfish-form-custom";
21
21
  import "mitt";
22
22
  import "element-plus";
23
23
  import "nanoid";
@@ -56,26 +56,26 @@ const _sfc_main$2 = {
56
56
  groupSelect: [
57
57
  {
58
58
  value: "andgroup",
59
- label: "+\u5E76\u7EC4"
59
+ label: t("cond.addAndGroup")
60
60
  },
61
61
  {
62
62
  value: "orgroup",
63
- label: "+\u6216\u7EC4"
63
+ label: t("cond.addOrGroup")
64
64
  },
65
65
  {
66
66
  value: "data",
67
- label: "\u6761\u4EF6"
67
+ label: t("cond.condition")
68
68
  }
69
69
  ],
70
70
  logicList: [
71
- { value: "=", label: "\u7B49\u4E8E" },
72
- { value: "!=", label: "\u4E0D\u7B49\u4E8E" }
71
+ { value: "=", label: t("cond.equal") },
72
+ { value: "!=", label: t("cond.notEqual") }
73
73
  ],
74
74
  typeList: [
75
75
  {
76
76
  rule: [],
77
- value: "\u5E38\u91CF",
78
- label: "\u5E38\u91CF"
77
+ value: "constant",
78
+ label: t("cond.constant")
79
79
  }
80
80
  ]
81
81
  };
@@ -93,16 +93,16 @@ const _sfc_main$2 = {
93
93
  return [
94
94
  {
95
95
  rule: [],
96
- value: "\u9009\u9879",
97
- label: "\u9009\u9879"
96
+ value: "option",
97
+ label: t("cond.option")
98
98
  }
99
99
  ];
100
100
  }
101
101
  if (item && item.switch) {
102
102
  return [
103
103
  {
104
- value: "\u5E03\u5C14",
105
- label: "\u5E03\u5C14"
104
+ value: "boolean",
105
+ label: t("cond.boolean")
106
106
  }
107
107
  ];
108
108
  }
@@ -111,7 +111,7 @@ const _sfc_main$2 = {
111
111
  },
112
112
  methods: {
113
113
  handleType(type) {
114
- if (type == "\u5E03\u5C14") {
114
+ if (type == "boolean") {
115
115
  this.table[0].value = true;
116
116
  }
117
117
  },
@@ -147,22 +147,22 @@ const _sfc_main$2 = {
147
147
  });
148
148
  if (item && item.options && item.multiple) {
149
149
  return [
150
- { value: "in", label: "\u5305\u542B" },
151
- { value: "not in", label: "\u4E0D\u5305\u542B" }
150
+ { value: "in", label: t("cond.in") },
151
+ { value: "not in", label: t("cond.notIn") }
152
152
  ];
153
153
  }
154
154
  if (item && item.switch) {
155
155
  return [
156
156
  {
157
157
  value: "=",
158
- label: "\u7B49\u4E8E"
158
+ label: t("cond.equal")
159
159
  }
160
160
  ];
161
161
  }
162
162
  return this.logicList;
163
163
  },
164
164
  show(data) {
165
- this.$refs.maxJsonDialog.init("\u53EF\u7528\u6761\u4EF6", "icon-icon-bianji");
165
+ this.$refs.maxJsonDialog.init(t("cond.available"), "icon-icon-bianji");
166
166
  this.$refs.maxJsonDialog.show();
167
167
  if (Object.keys(data).length > 0) {
168
168
  this.table = [data];
@@ -178,7 +178,7 @@ const _sfc_main$2 = {
178
178
  },
179
179
  getTypeIsChange(index) {
180
180
  const nowRow = this.table[index];
181
- return !!nowRow.type && nowRow.type == "\u5E38\u91CF";
181
+ return !!nowRow.type && nowRow.type == "constant";
182
182
  },
183
183
  getRules(value) {
184
184
  var _a;
@@ -200,21 +200,21 @@ const _sfc_main$2 = {
200
200
  if (!data.field) {
201
201
  ElMessage({
202
202
  type: "error",
203
- message: "\u5B57\u6BB5\u4E0D\u80FD\u4E3A\u7A7A!"
203
+ message: t("msg.fieldEmpty")
204
204
  });
205
205
  return;
206
206
  }
207
207
  if (!data.type) {
208
208
  ElMessage({
209
209
  type: "error",
210
- message: "\u8BF7\u9009\u62E9\u503C\u7C7B\u578B!!"
210
+ message: t("msg.selectType")
211
211
  });
212
212
  return;
213
213
  }
214
- if (data.type && data.type == "\u9009\u9879" && !data.value) {
214
+ if (data.type && data.type == "option" && !data.value) {
215
215
  ElMessage({
216
216
  type: "error",
217
- message: "\u503C\u7C7B\u578B\u4E3A\u5B57\u6BB5\u65F6\u503C\u4E0D\u80FD\u4E3A\u7A7A!"
217
+ message: t("msg.valueEmpty")
218
218
  });
219
219
  return;
220
220
  }
@@ -227,7 +227,7 @@ const _sfc_main$2 = {
227
227
  }
228
228
  }
229
229
  ElMessage({
230
- message: "\u4FDD\u5B58\u6210\u529F",
230
+ message: t("msg.saveSuccess"),
231
231
  type: "success"
232
232
  });
233
233
  this.closeDialog();
@@ -269,19 +269,19 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
269
269
  default: withCtx(() => [
270
270
  createVNode(_component_el_table_column, {
271
271
  prop: "field",
272
- label: "\u5B57\u6BB5"
272
+ label: _ctx.$t("cond.field")
273
273
  }, {
274
274
  default: withCtx((scope) => [
275
275
  createVNode(_component_el_select, {
276
276
  modelValue: scope.row.field,
277
277
  "onUpdate:modelValue": ($event) => scope.row.field = $event,
278
- placeholder: "\u8BF7\u9009\u62E9"
278
+ placeholder: _ctx.$t("common.select")
279
279
  }, {
280
280
  default: withCtx(() => [
281
281
  createVNode(_component_el_option, {
282
- label: "\u672A\u9009\u62E9",
282
+ label: _ctx.$t("cond.unselect"),
283
283
  value: ""
284
- }),
284
+ }, null, 8, ["label"]),
285
285
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.fieldList, (item, index) => {
286
286
  return openBlock(), createBlock(_component_el_option, {
287
287
  key: index,
@@ -291,19 +291,19 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
291
291
  }), 128))
292
292
  ]),
293
293
  _: 1
294
- }, 8, ["modelValue", "onUpdate:modelValue"])
294
+ }, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
295
295
  ]),
296
296
  _: 1
297
- }),
297
+ }, 8, ["label"]),
298
298
  createVNode(_component_el_table_column, {
299
299
  prop: "logic",
300
- label: "\u903B\u8F91"
300
+ label: _ctx.$t("cond.logic")
301
301
  }, {
302
302
  default: withCtx((scope) => [
303
303
  createVNode(_component_el_select, {
304
304
  modelValue: scope.row.logic,
305
305
  "onUpdate:modelValue": ($event) => scope.row.logic = $event,
306
- placeholder: "\u8BF7\u9009\u62E9"
306
+ placeholder: _ctx.$t("common.select")
307
307
  }, {
308
308
  default: withCtx(() => [
309
309
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.getLogic(), (item) => {
@@ -315,19 +315,19 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
315
315
  }), 128))
316
316
  ]),
317
317
  _: 1
318
- }, 8, ["modelValue", "onUpdate:modelValue"])
318
+ }, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
319
319
  ]),
320
320
  _: 1
321
- }),
321
+ }, 8, ["label"]),
322
322
  createVNode(_component_el_table_column, {
323
323
  prop: "type",
324
- label: "\u503C\u7C7B\u578B"
324
+ label: _ctx.$t("cond.valueType")
325
325
  }, {
326
326
  default: withCtx((scope) => [
327
327
  createVNode(_component_el_select, {
328
328
  modelValue: scope.row.type,
329
329
  "onUpdate:modelValue": ($event) => scope.row.type = $event,
330
- placeholder: "\u8BF7\u9009\u62E9",
330
+ placeholder: _ctx.$t("common.select"),
331
331
  onChange: $options.handleType
332
332
  }, {
333
333
  default: withCtx(() => [
@@ -340,13 +340,13 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
340
340
  }), 128))
341
341
  ]),
342
342
  _: 1
343
- }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
343
+ }, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])
344
344
  ]),
345
345
  _: 1
346
- }),
346
+ }, 8, ["label"]),
347
347
  createVNode(_component_el_table_column, {
348
348
  prop: "value",
349
- label: "\u503C"
349
+ label: _ctx.$t("cond.value")
350
350
  }, {
351
351
  default: withCtx((scope) => [
352
352
  $options.getTypeIsChange(scope.$index, _ctx.index) ? (openBlock(), createBlock(_component_el_form, {
@@ -369,19 +369,19 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
369
369
  ]),
370
370
  _: 2
371
371
  }, 1032, ["model", "rules"])) : createCommentVNode("", true),
372
- scope.row.type == "\u9009\u9879" ? (openBlock(), createBlock(_component_el_select, {
372
+ scope.row.type == "option" ? (openBlock(), createBlock(_component_el_select, {
373
373
  key: 1,
374
374
  modelValue: scope.row.value,
375
375
  "onUpdate:modelValue": ($event) => scope.row.value = $event,
376
376
  filterable: "",
377
- placeholder: "\u8BF7\u9009\u62E9",
377
+ placeholder: _ctx.$t("common.select"),
378
378
  multiple: $options.getMultiple()
379
379
  }, {
380
380
  default: withCtx(() => [
381
381
  createVNode(_component_el_option, {
382
- label: "\u672A\u9009\u62E9",
382
+ label: _ctx.$t("cond.unselect"),
383
383
  value: ""
384
- }),
384
+ }, null, 8, ["label"]),
385
385
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.getFiled(), (item, index) => {
386
386
  return openBlock(), createBlock(_component_el_option, {
387
387
  key: index,
@@ -391,8 +391,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
391
391
  }), 128))
392
392
  ]),
393
393
  _: 1
394
- }, 8, ["modelValue", "onUpdate:modelValue", "multiple"])) : createCommentVNode("", true),
395
- scope.row.type == "\u5E03\u5C14" ? (openBlock(), createBlock(_component_el_switch, {
394
+ }, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple"])) : createCommentVNode("", true),
395
+ scope.row.type == "boolean" ? (openBlock(), createBlock(_component_el_switch, {
396
396
  key: 2,
397
397
  modelValue: scope.row.value,
398
398
  "onUpdate:modelValue": ($event) => scope.row.value = $event,
@@ -401,10 +401,10 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
401
401
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-icon", "inactive-icon"])) : createCommentVNode("", true)
402
402
  ]),
403
403
  _: 1
404
- }),
404
+ }, 8, ["label"]),
405
405
  createVNode(_component_el_table_column, {
406
406
  fixed: "right",
407
- label: "\u64CD\u4F5C",
407
+ label: _ctx.$t("cond.action"),
408
408
  width: "200"
409
409
  }, {
410
410
  default: withCtx((scope) => [
@@ -413,14 +413,14 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
413
413
  type: "danger",
414
414
  onClick: withModifiers(($event) => $options.deleteRow(scope.$index, _ctx.index), ["prevent"])
415
415
  }, {
416
- default: withCtx(() => [..._cache[0] || (_cache[0] = [
417
- createTextVNode(" \u5220\u9664 ", -1)
418
- ])]),
416
+ default: withCtx(() => [
417
+ createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
418
+ ]),
419
419
  _: 1
420
420
  }, 8, ["onClick"])
421
421
  ]),
422
422
  _: 1
423
- })
423
+ }, 8, ["label"])
424
424
  ]),
425
425
  _: 1
426
426
  }, 8, ["data"]),
@@ -431,9 +431,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
431
431
  onClick: $options.onAddItem,
432
432
  style: { "width": "100%" }
433
433
  }, {
434
- default: withCtx(() => [..._cache[1] || (_cache[1] = [
435
- createTextVNode("+\u6761\u4EF6", -1)
436
- ])]),
434
+ default: withCtx(() => [
435
+ createTextVNode("+" + toDisplayString(_ctx.$t("cond.condition")), 1)
436
+ ]),
437
437
  _: 1
438
438
  }, 8, ["onClick"])) : createCommentVNode("", true)
439
439
  ]),
@@ -448,15 +448,15 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
448
448
  type: "primary",
449
449
  onClick: $options.saveJson
450
450
  }, {
451
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
452
- createTextVNode("\u4FDD\u5B58", -1)
453
- ])]),
451
+ default: withCtx(() => [
452
+ createTextVNode(toDisplayString(_ctx.$t("common.save")), 1)
453
+ ]),
454
454
  _: 1
455
455
  }, 8, ["onClick"]),
456
456
  createVNode(_component_el_button, { onClick: $options.closeDialog }, {
457
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
458
- createTextVNode("\u5173\u95ED", -1)
459
- ])]),
457
+ default: withCtx(() => [
458
+ createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
459
+ ]),
460
460
  _: 1
461
461
  }, 8, ["onClick"])
462
462
  ]),
@@ -514,15 +514,15 @@ const _sfc_main$1 = {
514
514
  groupSelect: [
515
515
  {
516
516
  value: "andgroup",
517
- label: "+\u5E76\u7EC4"
517
+ label: t("cond.addAndGroup")
518
518
  },
519
519
  {
520
520
  value: "orgroup",
521
- label: "+\u6216\u7EC4"
521
+ label: t("cond.addOrGroup")
522
522
  },
523
523
  {
524
524
  value: "data",
525
- label: "\u6761\u4EF6"
525
+ label: t("cond.condition")
526
526
  }
527
527
  ]
528
528
  };
@@ -633,7 +633,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
633
633
  createVNode(_component_el_select, {
634
634
  modelValue: $props.result.type,
635
635
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $props.result.type = $event),
636
- placeholder: "\u8BF7\u9009\u62E9",
636
+ placeholder: _ctx.$t("common.select"),
637
637
  onChange: $options.onChange
638
638
  }, {
639
639
  default: withCtx(() => [
@@ -646,16 +646,16 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
646
646
  }), 128))
647
647
  ]),
648
648
  _: 1
649
- }, 8, ["modelValue", "onChange"]),
649
+ }, 8, ["modelValue", "placeholder", "onChange"]),
650
650
  createVNode(_component_el_button, {
651
651
  type: "primary",
652
652
  onClick: $options.onAddItem,
653
653
  size: "default",
654
654
  disabled: !$props.result.type || $props.result.type == "data"
655
655
  }, {
656
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
657
- createTextVNode("\u589E\u52A0\u6761\u4EF6", -1)
658
- ])]),
656
+ default: withCtx(() => [
657
+ createTextVNode(toDisplayString(_ctx.$t("cond.add")), 1)
658
+ ]),
659
659
  _: 1
660
660
  }, 8, ["onClick", "disabled"]),
661
661
  createVNode(_component_el_button, {
@@ -663,9 +663,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
663
663
  onClick: $options.onDeleteItem,
664
664
  size: "default"
665
665
  }, {
666
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
667
- createTextVNode("\u5220\u9664", -1)
668
- ])]),
666
+ default: withCtx(() => [
667
+ createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
668
+ ]),
669
669
  _: 1
670
670
  }, 8, ["onClick"]),
671
671
  $props.result.type == "data" ? (openBlock(), createBlock(_component_el_button, {
@@ -674,9 +674,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
674
674
  onClick: $options.onEditData,
675
675
  size: "default"
676
676
  }, {
677
- default: withCtx(() => [..._cache[5] || (_cache[5] = [
678
- createTextVNode("\u7F16\u8F91", -1)
679
- ])]),
677
+ default: withCtx(() => [
678
+ createTextVNode(toDisplayString(_ctx.$t("common.edit")), 1)
679
+ ]),
680
680
  _: 1
681
681
  }, 8, ["onClick"])) : createCommentVNode("", true),
682
682
  createVNode(Transition, null, {
@@ -760,7 +760,7 @@ const _sfc_main = {
760
760
  methods: {
761
761
  async show() {
762
762
  var _a, _b;
763
- this.$refs.maxJsonDialog.init("\u53EF\u7528\u6761\u4EF6", "icon-icon-bianji");
763
+ this.$refs.maxJsonDialog.init(this.$t("cond.available"), "icon-icon-bianji");
764
764
  this.$refs.maxJsonDialog.show();
765
765
  await this.$nextTick();
766
766
  const allFormList = (_a = formStore) == null ? void 0 : _a.get("allFormList");
@@ -789,14 +789,14 @@ const _sfc_main = {
789
789
  },
790
790
  getDataConditionRelate(data) {
791
791
  if (Object.keys(data.data).length == 0)
792
- return "\u7A7A";
792
+ return this.$t("cond.empty");
793
793
  const fieldData = data.data;
794
794
  const field = fieldData.field;
795
795
  let value;
796
- if (fieldData.type == "\u9009\u9879") {
796
+ if (fieldData.type == "option") {
797
797
  const rightField = fieldData.value;
798
798
  value = `${JSON.stringify(rightField)}`;
799
- } else if (fieldData.type == "\u5E38\u91CF" || fieldData.type == "\u5E03\u5C14") {
799
+ } else if (fieldData.type == "constant" || fieldData.type == "boolean") {
800
800
  value = fieldData.value;
801
801
  }
802
802
  return `${field} ${fieldData.logic} ${value}`;
@@ -810,9 +810,10 @@ const _sfc_main = {
810
810
  }
811
811
  }
812
812
  };
813
- const _hoisted_1 = { class: "conditionContainer" };
814
- const _hoisted_2 = { class: "stringlist" };
815
- const _hoisted_3 = ["innerHTML"];
813
+ const _hoisted_1 = { class: "tipContent" };
814
+ const _hoisted_2 = { class: "conditionContainer" };
815
+ const _hoisted_3 = { class: "stringlist" };
816
+ const _hoisted_4 = ["innerHTML"];
816
817
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
817
818
  const _component_ConditionGroup = resolveComponent("ConditionGroup");
818
819
  const _component_el_main = ElMain;
@@ -831,15 +832,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
831
832
  default: withCtx(() => [
832
833
  createVNode(_component_el_main, { class: "my-pageMain" }, {
833
834
  default: withCtx(() => [
834
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "tipContent" }, "\u6EE1\u8DB3\u4EE5\u4E0B\u6240\u6709\u6761\u4EF6\u65F6,\u6B64\u7EC4\u4EF6\u53EF\u7528", -1)),
835
- createElementVNode("div", _hoisted_1, [
835
+ createElementVNode("div", _hoisted_1, toDisplayString(_ctx.$t("cond.title")), 1),
836
+ createElementVNode("div", _hoisted_2, [
836
837
  createVNode(_component_ConditionGroup, {
837
838
  result: $data.result,
838
839
  onUpdate: $options.handleUpdateForce,
839
840
  fieldList: $data.leftField
840
841
  }, null, 8, ["result", "onUpdate", "fieldList"]),
841
- createElementVNode("div", _hoisted_2, [
842
- createElementVNode("pre", { innerHTML: $data.stringLink }, null, 8, _hoisted_3)
842
+ createElementVNode("div", _hoisted_3, [
843
+ createElementVNode("pre", { innerHTML: $data.stringLink }, null, 8, _hoisted_4)
843
844
  ])
844
845
  ])
845
846
  ]),
@@ -854,15 +855,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
854
855
  type: "primary",
855
856
  onClick: $options.saveJson
856
857
  }, {
857
- default: withCtx(() => [..._cache[1] || (_cache[1] = [
858
- createTextVNode("\u4FDD\u5B58", -1)
859
- ])]),
858
+ default: withCtx(() => [
859
+ createTextVNode(toDisplayString(_ctx.$t("common.save")), 1)
860
+ ]),
860
861
  _: 1
861
862
  }, 8, ["onClick"]),
862
863
  createVNode(_component_el_button, { onClick: $options.closeDialog }, {
863
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
864
- createTextVNode("\u5173\u95ED", -1)
865
- ])]),
864
+ default: withCtx(() => [
865
+ createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
866
+ ]),
866
867
  _: 1
867
868
  }, 8, ["onClick"])
868
869
  ]),