starfish-editor-custom 1.0.58 → 1.0.59

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.
@@ -269,17 +269,17 @@ 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: _ctx.$t("cond.field")
272
+ label: _ctx.$st("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: _ctx.$t("common.select")
278
+ placeholder: _ctx.$st("common.select")
279
279
  }, {
280
280
  default: withCtx(() => [
281
281
  createVNode(_component_el_option, {
282
- label: _ctx.$t("cond.unselect"),
282
+ label: _ctx.$st("cond.unselect"),
283
283
  value: ""
284
284
  }, null, 8, ["label"]),
285
285
  (openBlock(true), createElementBlock(Fragment, null, renderList($props.fieldList, (item, index) => {
@@ -297,13 +297,13 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
297
297
  }, 8, ["label"]),
298
298
  createVNode(_component_el_table_column, {
299
299
  prop: "logic",
300
- label: _ctx.$t("cond.logic")
300
+ label: _ctx.$st("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: _ctx.$t("common.select")
306
+ placeholder: _ctx.$st("common.select")
307
307
  }, {
308
308
  default: withCtx(() => [
309
309
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.getLogic(), (item) => {
@@ -321,13 +321,13 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
321
321
  }, 8, ["label"]),
322
322
  createVNode(_component_el_table_column, {
323
323
  prop: "type",
324
- label: _ctx.$t("cond.valueType")
324
+ label: _ctx.$st("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: _ctx.$t("common.select"),
330
+ placeholder: _ctx.$st("common.select"),
331
331
  onChange: $options.handleType
332
332
  }, {
333
333
  default: withCtx(() => [
@@ -346,7 +346,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
346
346
  }, 8, ["label"]),
347
347
  createVNode(_component_el_table_column, {
348
348
  prop: "value",
349
- label: _ctx.$t("cond.value")
349
+ label: _ctx.$st("cond.value")
350
350
  }, {
351
351
  default: withCtx((scope) => [
352
352
  $options.getTypeIsChange(scope.$index, _ctx.index) ? (openBlock(), createBlock(_component_el_form, {
@@ -374,12 +374,12 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
374
374
  modelValue: scope.row.value,
375
375
  "onUpdate:modelValue": ($event) => scope.row.value = $event,
376
376
  filterable: "",
377
- placeholder: _ctx.$t("common.select"),
377
+ placeholder: _ctx.$st("common.select"),
378
378
  multiple: $options.getMultiple()
379
379
  }, {
380
380
  default: withCtx(() => [
381
381
  createVNode(_component_el_option, {
382
- label: _ctx.$t("cond.unselect"),
382
+ label: _ctx.$st("cond.unselect"),
383
383
  value: ""
384
384
  }, null, 8, ["label"]),
385
385
  (openBlock(true), createElementBlock(Fragment, null, renderList($options.getFiled(), (item, index) => {
@@ -404,7 +404,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
404
404
  }, 8, ["label"]),
405
405
  createVNode(_component_el_table_column, {
406
406
  fixed: "right",
407
- label: _ctx.$t("cond.action"),
407
+ label: _ctx.$st("cond.action"),
408
408
  width: "200"
409
409
  }, {
410
410
  default: withCtx((scope) => [
@@ -414,7 +414,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
414
414
  onClick: withModifiers(($event) => $options.deleteRow(scope.$index, _ctx.index), ["prevent"])
415
415
  }, {
416
416
  default: withCtx(() => [
417
- createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
417
+ createTextVNode(toDisplayString(_ctx.$st("common.delete")), 1)
418
418
  ]),
419
419
  _: 2
420
420
  }, 1032, ["onClick"])
@@ -432,7 +432,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
432
432
  style: { "width": "100%" }
433
433
  }, {
434
434
  default: withCtx(() => [
435
- createTextVNode("+" + toDisplayString(_ctx.$t("cond.condition")), 1)
435
+ createTextVNode("+" + toDisplayString(_ctx.$st("cond.condition")), 1)
436
436
  ]),
437
437
  _: 1
438
438
  }, 8, ["onClick"])) : createCommentVNode("", true)
@@ -449,13 +449,13 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
449
449
  onClick: $options.saveJson
450
450
  }, {
451
451
  default: withCtx(() => [
452
- createTextVNode(toDisplayString(_ctx.$t("common.save")), 1)
452
+ createTextVNode(toDisplayString(_ctx.$st("common.save")), 1)
453
453
  ]),
454
454
  _: 1
455
455
  }, 8, ["onClick"]),
456
456
  createVNode(_component_el_button, { onClick: $options.closeDialog }, {
457
457
  default: withCtx(() => [
458
- createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
458
+ createTextVNode(toDisplayString(_ctx.$st("common.close")), 1)
459
459
  ]),
460
460
  _: 1
461
461
  }, 8, ["onClick"])
@@ -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: _ctx.$t("common.select"),
636
+ placeholder: _ctx.$st("common.select"),
637
637
  onChange: $options.onChange
638
638
  }, {
639
639
  default: withCtx(() => [
@@ -654,7 +654,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
654
654
  disabled: !$props.result.type || $props.result.type == "data"
655
655
  }, {
656
656
  default: withCtx(() => [
657
- createTextVNode(toDisplayString(_ctx.$t("cond.add")), 1)
657
+ createTextVNode(toDisplayString(_ctx.$st("cond.add")), 1)
658
658
  ]),
659
659
  _: 1
660
660
  }, 8, ["onClick", "disabled"]),
@@ -664,7 +664,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
664
664
  size: "default"
665
665
  }, {
666
666
  default: withCtx(() => [
667
- createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
667
+ createTextVNode(toDisplayString(_ctx.$st("common.delete")), 1)
668
668
  ]),
669
669
  _: 1
670
670
  }, 8, ["onClick"]),
@@ -675,7 +675,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
675
675
  size: "default"
676
676
  }, {
677
677
  default: withCtx(() => [
678
- createTextVNode(toDisplayString(_ctx.$t("common.edit")), 1)
678
+ createTextVNode(toDisplayString(_ctx.$st("common.edit")), 1)
679
679
  ]),
680
680
  _: 1
681
681
  }, 8, ["onClick"])) : createCommentVNode("", true),
@@ -760,7 +760,7 @@ const _sfc_main = {
760
760
  methods: {
761
761
  async show() {
762
762
  var _a, _b;
763
- this.$refs.maxJsonDialog.init(this.$t("cond.available"), "icon-icon-bianji");
763
+ this.$refs.maxJsonDialog.init(this.$st("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,7 +789,7 @@ const _sfc_main = {
789
789
  },
790
790
  getDataConditionRelate(data) {
791
791
  if (Object.keys(data.data).length == 0)
792
- return this.$t("cond.empty");
792
+ return this.$st("cond.empty");
793
793
  const fieldData = data.data;
794
794
  const field = fieldData.field;
795
795
  let value;
@@ -832,7 +832,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
832
832
  default: withCtx(() => [
833
833
  createVNode(_component_el_main, { class: "my-pageMain" }, {
834
834
  default: withCtx(() => [
835
- createElementVNode("div", _hoisted_1, toDisplayString(_ctx.$t("cond.title")), 1),
835
+ createElementVNode("div", _hoisted_1, toDisplayString(_ctx.$st("cond.title")), 1),
836
836
  createElementVNode("div", _hoisted_2, [
837
837
  createVNode(_component_ConditionGroup, {
838
838
  result: $data.result,
@@ -856,13 +856,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
856
856
  onClick: $options.saveJson
857
857
  }, {
858
858
  default: withCtx(() => [
859
- createTextVNode(toDisplayString(_ctx.$t("common.save")), 1)
859
+ createTextVNode(toDisplayString(_ctx.$st("common.save")), 1)
860
860
  ]),
861
861
  _: 1
862
862
  }, 8, ["onClick"]),
863
863
  createVNode(_component_el_button, { onClick: $options.closeDialog }, {
864
864
  default: withCtx(() => [
865
- createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
865
+ createTextVNode(toDisplayString(_ctx.$st("common.close")), 1)
866
866
  ]),
867
867
  _: 1
868
868
  }, 8, ["onClick"])
@@ -250,7 +250,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
250
250
  default: withCtx(() => [
251
251
  createVNode(_component_el_main, { class: "my-pageMain" }, {
252
252
  default: withCtx(() => [
253
- createElementVNode("div", _hoisted_1, toDisplayString(_ctx.$t("cond.title")), 1),
253
+ createElementVNode("div", _hoisted_1, toDisplayString(_ctx.$st("cond.title")), 1),
254
254
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.andData, (table, index) => {
255
255
  return openBlock(), createElementBlock("div", {
256
256
  class: "tableContainer",
@@ -264,13 +264,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
264
264
  default: withCtx(() => [
265
265
  createVNode(_component_el_table_column, {
266
266
  prop: "field",
267
- label: _ctx.$t("cond.field")
267
+ label: _ctx.$st("cond.field")
268
268
  }, {
269
269
  default: withCtx((scope) => [
270
270
  createVNode(_component_el_select, {
271
271
  modelValue: scope.row.field,
272
272
  "onUpdate:modelValue": ($event) => scope.row.field = $event,
273
- placeholder: _ctx.$t("common.select")
273
+ placeholder: _ctx.$st("common.select")
274
274
  }, {
275
275
  default: withCtx(() => [
276
276
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.fieldList, (item) => {
@@ -288,13 +288,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
288
288
  }, 8, ["label"]),
289
289
  createVNode(_component_el_table_column, {
290
290
  prop: "logic",
291
- label: _ctx.$t("cond.logic")
291
+ label: _ctx.$st("cond.logic")
292
292
  }, {
293
293
  default: withCtx((scope) => [
294
294
  createVNode(_component_el_select, {
295
295
  modelValue: scope.row.logic,
296
296
  "onUpdate:modelValue": ($event) => scope.row.logic = $event,
297
- placeholder: _ctx.$t("common.select")
297
+ placeholder: _ctx.$st("common.select")
298
298
  }, {
299
299
  default: withCtx(() => [
300
300
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getLogic(scope.$index, index), (item) => {
@@ -312,13 +312,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
312
312
  }, 1032, ["label"]),
313
313
  createVNode(_component_el_table_column, {
314
314
  prop: "type",
315
- label: _ctx.$t("cond.valueType")
315
+ label: _ctx.$st("cond.valueType")
316
316
  }, {
317
317
  default: withCtx((scope) => [
318
318
  createVNode(_component_el_select, {
319
319
  modelValue: scope.row.type,
320
320
  "onUpdate:modelValue": ($event) => scope.row.type = $event,
321
- placeholder: _ctx.$t("common.select"),
321
+ placeholder: _ctx.$st("common.select"),
322
322
  onChange: ($event) => _ctx.handleType(scope.$index, index, scope.row.type)
323
323
  }, {
324
324
  default: withCtx(() => [
@@ -337,7 +337,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
337
337
  }, 1032, ["label"]),
338
338
  createVNode(_component_el_table_column, {
339
339
  prop: "value",
340
- label: _ctx.$t("cond.value")
340
+ label: _ctx.$st("cond.value")
341
341
  }, {
342
342
  default: withCtx((scope) => [
343
343
  _ctx.getTypeIsChange(scope.$index, index) && scope.row.type == "constant" ? (openBlock(), createBlock(_component_el_form, {
@@ -366,12 +366,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
366
366
  modelValue: scope.row.value,
367
367
  "onUpdate:modelValue": ($event) => scope.row.value = $event,
368
368
  filterable: "",
369
- placeholder: _ctx.$t("common.select"),
369
+ placeholder: _ctx.$st("common.select"),
370
370
  multiple: _ctx.getMultiple(scope.$index, index)
371
371
  }, {
372
372
  default: withCtx(() => [
373
373
  createVNode(_component_el_option, {
374
- label: _ctx.$t("cond.unselect"),
374
+ label: _ctx.$st("cond.unselect"),
375
375
  value: ""
376
376
  }, null, 8, ["label"]),
377
377
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.getFiled(scope.$index, index), (item, rightIndex) => {
@@ -394,7 +394,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
394
394
  }, 1032, ["label"]),
395
395
  createVNode(_component_el_table_column, {
396
396
  fixed: "right",
397
- label: _ctx.$t("cond.action"),
397
+ label: _ctx.$st("cond.action"),
398
398
  width: "100"
399
399
  }, {
400
400
  default: withCtx((scope) => [
@@ -404,7 +404,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
404
404
  onClick: withModifiers(($event) => _ctx.deleteRow(scope.$index, index), ["prevent"])
405
405
  }, {
406
406
  default: withCtx(() => [
407
- createTextVNode(toDisplayString(_ctx.$t("common.delete")), 1)
407
+ createTextVNode(toDisplayString(_ctx.$st("common.delete")), 1)
408
408
  ]),
409
409
  _: 2
410
410
  }, 1032, ["onClick"])
@@ -421,7 +421,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
421
421
  onClick: ($event) => _ctx.onAddItem(index)
422
422
  }, {
423
423
  default: withCtx(() => [
424
- createTextVNode(toDisplayString(_ctx.$t("cond.addAnd")), 1)
424
+ createTextVNode(toDisplayString(_ctx.$st("cond.addAnd")), 1)
425
425
  ]),
426
426
  _: 2
427
427
  }, 1032, ["onClick"])
@@ -433,7 +433,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
433
433
  onClick: _ctx.onOrItem
434
434
  }, {
435
435
  default: withCtx(() => [
436
- createTextVNode(toDisplayString(_ctx.$t("cond.addOr")), 1)
436
+ createTextVNode(toDisplayString(_ctx.$st("cond.addOr")), 1)
437
437
  ]),
438
438
  _: 1
439
439
  }, 8, ["onClick"])
@@ -450,13 +450,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
450
450
  onClick: _ctx.saveJson
451
451
  }, {
452
452
  default: withCtx(() => [
453
- createTextVNode(toDisplayString(_ctx.$t("common.save")), 1)
453
+ createTextVNode(toDisplayString(_ctx.$st("common.save")), 1)
454
454
  ]),
455
455
  _: 1
456
456
  }, 8, ["onClick"]),
457
457
  createVNode(_component_el_button, { onClick: _ctx.closeDialog }, {
458
458
  default: withCtx(() => [
459
- createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
459
+ createTextVNode(toDisplayString(_ctx.$st("common.close")), 1)
460
460
  ]),
461
461
  _: 1
462
462
  }, 8, ["onClick"])
package/dist/formStyle.js CHANGED
@@ -61,7 +61,7 @@ const _sfc_main = defineComponent({
61
61
  extensions,
62
62
  codeDialog,
63
63
  onStyleSet() {
64
- codeDialog.value.init(proxy.$t("common.formStyle"), "icon-biaodan");
64
+ codeDialog.value.init(proxy.$st("common.formStyle"), "icon-biaodan");
65
65
  codeDialog.value.show();
66
66
  },
67
67
  saveCssStyle() {
@@ -180,7 +180,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
180
180
  type: _ctx.code ? "primary" : ""
181
181
  }, {
182
182
  default: withCtx(() => [
183
- createTextVNode(toDisplayString(_ctx.code ? _ctx.$t("common.setDone") : _ctx.$t("common.settings")), 1)
183
+ createTextVNode(toDisplayString(_ctx.code ? _ctx.$st("common.setDone") : _ctx.$st("common.settings")), 1)
184
184
  ]),
185
185
  _: 1
186
186
  }, 8, ["onClick", "type"]),
@@ -212,13 +212,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
212
212
  onClick: _ctx.saveCssStyle
213
213
  }, {
214
214
  default: withCtx(() => [
215
- createTextVNode(toDisplayString(_ctx.$t("common.confirm")), 1)
215
+ createTextVNode(toDisplayString(_ctx.$st("common.confirm")), 1)
216
216
  ]),
217
217
  _: 1
218
218
  }, 8, ["onClick"]),
219
219
  createVNode(_component_el_button, { onClick: _ctx.closeCodeDialog }, {
220
220
  default: withCtx(() => [
221
- createTextVNode(toDisplayString(_ctx.$t("common.close")), 1)
221
+ createTextVNode(toDisplayString(_ctx.$st("common.close")), 1)
222
222
  ]),
223
223
  _: 1
224
224
  }, 8, ["onClick"])
package/dist/jsonCode.js CHANGED
@@ -64,7 +64,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
64
64
  modelValue: _ctx.internalValue,
65
65
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.internalValue = $event),
66
66
  onInput: _cache[1] || (_cache[1] = ($event) => _ctx.onUpdateValue($event.target.innerText)),
67
- placeholder: _ctx.$t("common.importJson"),
67
+ placeholder: _ctx.$st("common.importJson"),
68
68
  mode: "text/json",
69
69
  style: { height: "400px", "margin-bottom": "16px" },
70
70
  extensions: _ctx.extensions