flame-plus 1.5.3 → 1.5.4

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.
@@ -43853,7 +43853,7 @@ const Lue = /* @__PURE__ */ Jt({
43853
43853
  });
43854
43854
  const a = (k) => {
43855
43855
  var S;
43856
- (S = t.config.items) == null || S.forEach((b) => {
43856
+ t.type !== "edit" && ((S = t.config.items) == null || S.forEach((b) => {
43857
43857
  if (!Ps("isSlot", b) && typeof b.prop == "string") {
43858
43858
  const {
43859
43859
  controlConfig: w
@@ -43865,7 +43865,7 @@ const Lue = /* @__PURE__ */ Jt({
43865
43865
  }
43866
43866
  w && HI(w) ? w.modelValue = O : w["model-value"] = O;
43867
43867
  }
43868
- });
43868
+ }));
43869
43869
  }, l = (k) => {
43870
43870
  Object.entries(k).forEach(([S, b]) => i[S] = b);
43871
43871
  }, u = (k, S) => {
@@ -43963,9 +43963,15 @@ const Lue = /* @__PURE__ */ Jt({
43963
43963
  if (typeof C.prop == "string")
43964
43964
  if (t.type == "edit" && C.isReadonly) {
43965
43965
  let j = i[C.prop];
43966
- return C.prop.search(/_id$/) != -1 && (j = i[t.config.tableInfo[C.prop].fk_table_display_field_name]), R(Qe("el-form-item"), er({
43966
+ C.prop.search(/_id$/) != -1 && (j = i[t.config.tableInfo[C.prop].fk_table_display_field_name]);
43967
+ const {
43968
+ controlType: P,
43969
+ controlConfig: M,
43970
+ ...L
43971
+ } = C;
43972
+ return R(Qe("el-form-item"), er({
43967
43973
  class: `form-${C.prop} ${s.value}`
43968
- }, C), $x(j) ? j : {
43974
+ }, L), $x(j) ? j : {
43969
43975
  default: () => [j]
43970
43976
  });
43971
43977
  } else {
@@ -44074,11 +44080,11 @@ function $x(t) {
44074
44080
  }
44075
44081
  const $4 = () => {
44076
44082
  A3((t) => ({
44077
- "875d29f4": t.columnNumber
44083
+ "0ac9fa80": t.columnNumber
44078
44084
  }));
44079
44085
  }, F4 = Dk.setup;
44080
44086
  Dk.setup = F4 ? (t, e) => ($4(), F4(t, e)) : $4;
44081
- const B4 = /* @__PURE__ */ ki(Dk, [["__scopeId", "data-v-a7f9409e"]]), $ue = /* @__PURE__ */ Jt({
44087
+ const B4 = /* @__PURE__ */ ki(Dk, [["__scopeId", "data-v-d1626602"]]), $ue = /* @__PURE__ */ Jt({
44082
44088
  name: "flmDynamicForm",
44083
44089
  components: {
44084
44090
  flmGridForm: B4,
@@ -55817,7 +55823,7 @@ const ipe = {
55817
55823
  u.value.length ? (Re(), at("div", sme, Do(u.value.map((x) => x.component).join("、")) + "(暂不支持,请扩展 `FrameworkAttrFieldsForm` 映射到 `flmForm`) ", 1)) : Mr("", !0)
55818
55824
  ]));
55819
55825
  }
55820
- }), ume = /* @__PURE__ */ ki(lme, [["__scopeId", "data-v-22a95e5f"]]), cme = (t) => (iy("data-v-7bbb2a3b"), t = t(), sy(), t), fme = {
55826
+ }), ume = /* @__PURE__ */ ki(lme, [["__scopeId", "data-v-22a95e5f"]]), cme = (t) => (iy("data-v-fedc8162"), t = t(), sy(), t), fme = {
55821
55827
  key: 3,
55822
55828
  class: "settings-empty-hint"
55823
55829
  }, dme = { class: "options-editor" }, hme = { class: "json-options-row" }, pme = { class: "json-options-hint" }, mme = { class: "options-editor" }, gme = { class: "json-options-row" }, vme = { class: "json-options-hint" }, bme = { class: "flm-time-format-row" }, yme = /* @__PURE__ */ cme(() => /* @__PURE__ */ ut("div", null, [
@@ -56045,7 +56051,7 @@ const ipe = {
56045
56051
  })) : Mr("", !0),
56046
56052
  C.model.customKey ? (Re(), lr(M, {
56047
56053
  key: 1,
56048
- label: "组件 key"
56054
+ label: "组件键"
56049
56055
  }, {
56050
56056
  default: ne(() => [
56051
56057
  R(P, {
@@ -56164,7 +56170,7 @@ const ipe = {
56164
56170
  ]),
56165
56171
  _: 1
56166
56172
  })) : Mr("", !0),
56167
- R(M, { label: "名称 name" }, {
56173
+ R(M, { label: "名称" }, {
56168
56174
  default: ne(() => [
56169
56175
  R(P, {
56170
56176
  modelValue: C.inputConfig.name,
@@ -56864,7 +56870,7 @@ const ipe = {
56864
56870
  R(Y, {
56865
56871
  modelValue: C.buttonConfig.type,
56866
56872
  "onUpdate:modelValue": j[55] || (j[55] = (U) => C.buttonConfig.type = U),
56867
- placeholder: "default",
56873
+ placeholder: "请选择",
56868
56874
  clearable: ""
56869
56875
  }, {
56870
56876
  default: ne(() => [
@@ -57250,7 +57256,7 @@ const ipe = {
57250
57256
  ], 64);
57251
57257
  };
57252
57258
  }
57253
- }), Sme = /* @__PURE__ */ ki(wme, [["__scopeId", "data-v-7bbb2a3b"]]), Cme = { class: "options-editor" }, kme = ["onClick"], jme = { class: "opt-index" }, Ome = { class: "opt-summary" }, Eme = /* @__PURE__ */ Jt({
57259
+ }), Sme = /* @__PURE__ */ ki(wme, [["__scopeId", "data-v-fedc8162"]]), Cme = { class: "options-editor" }, kme = ["onClick"], jme = { class: "opt-index" }, Ome = { class: "opt-summary" }, Eme = /* @__PURE__ */ Jt({
57254
57260
  __name: "GlobalButtonsSlot",
57255
57261
  props: {
57256
57262
  buttons: {},
@@ -57263,8 +57269,8 @@ const ipe = {
57263
57269
  return e.selectedIndex !== null && e.buttons[e.selectedIndex] ? (Re(), lr(u, {
57264
57270
  key: 0,
57265
57271
  size: "small",
57266
- "label-position": "left",
57267
- "label-width": "80px",
57272
+ "label-position": "right",
57273
+ "label-width": "100px",
57268
57274
  class: "settings-form settings-form--nested"
57269
57275
  }, {
57270
57276
  default: ne(() => [
@@ -57310,7 +57316,7 @@ const ipe = {
57310
57316
  R(i, {
57311
57317
  modelValue: e.buttons[e.selectedIndex].event,
57312
57318
  "onUpdate:modelValue": n[1] || (n[1] = (c) => e.buttons[e.selectedIndex].event = c),
57313
- placeholder: "submit / cancel / reset 或自定义事件",
57319
+ placeholder: "与业务监听一致的事件名",
57314
57320
  clearable: ""
57315
57321
  }, null, 8, ["modelValue"])
57316
57322
  ]),
@@ -57327,12 +57333,12 @@ const ipe = {
57327
57333
  ]),
57328
57334
  _: 1
57329
57335
  }),
57330
- R(o, { label: "类型 type" }, {
57336
+ R(o, { label: "类型" }, {
57331
57337
  default: ne(() => [
57332
57338
  R(a, {
57333
57339
  modelValue: e.buttons[e.selectedIndex].type,
57334
57340
  "onUpdate:modelValue": n[3] || (n[3] = (c) => e.buttons[e.selectedIndex].type = c),
57335
- placeholder: "default",
57341
+ placeholder: "请选择",
57336
57342
  clearable: ""
57337
57343
  }, {
57338
57344
  default: ne(() => [
@@ -57366,25 +57372,25 @@ const ipe = {
57366
57372
  ]),
57367
57373
  _: 1
57368
57374
  }),
57369
- R(o, { label: "尺寸 size" }, {
57375
+ R(o, { label: "尺寸" }, {
57370
57376
  default: ne(() => [
57371
57377
  R(a, {
57372
57378
  modelValue: e.buttons[e.selectedIndex].size,
57373
57379
  "onUpdate:modelValue": n[4] || (n[4] = (c) => e.buttons[e.selectedIndex].size = c),
57374
- placeholder: "default",
57380
+ placeholder: "请选择",
57375
57381
  clearable: ""
57376
57382
  }, {
57377
57383
  default: ne(() => [
57378
57384
  R(s, {
57379
- label: "large",
57385
+ label: "",
57380
57386
  value: "large"
57381
57387
  }),
57382
57388
  R(s, {
57383
- label: "default",
57389
+ label: "默认",
57384
57390
  value: "default"
57385
57391
  }),
57386
57392
  R(s, {
57387
- label: "small",
57393
+ label: "",
57388
57394
  value: "small"
57389
57395
  })
57390
57396
  ]),
@@ -57393,7 +57399,7 @@ const ipe = {
57393
57399
  ]),
57394
57400
  _: 1
57395
57401
  }),
57396
- R(o, { label: "朴素 plain" }, {
57402
+ R(o, { label: "朴素" }, {
57397
57403
  default: ne(() => [
57398
57404
  R(l, {
57399
57405
  modelValue: e.buttons[e.selectedIndex].plain,
@@ -57402,7 +57408,7 @@ const ipe = {
57402
57408
  ]),
57403
57409
  _: 1
57404
57410
  }),
57405
- R(o, { label: "文字按钮 text" }, {
57411
+ R(o, { label: "文字按钮" }, {
57406
57412
  default: ne(() => [
57407
57413
  R(l, {
57408
57414
  modelValue: e.buttons[e.selectedIndex].text,
@@ -57411,7 +57417,7 @@ const ipe = {
57411
57417
  ]),
57412
57418
  _: 1
57413
57419
  }),
57414
- R(o, { label: "背景色 bg" }, {
57420
+ R(o, { label: "背景色" }, {
57415
57421
  default: ne(() => [
57416
57422
  R(l, {
57417
57423
  modelValue: e.buttons[e.selectedIndex].bg,
@@ -57420,7 +57426,7 @@ const ipe = {
57420
57426
  ]),
57421
57427
  _: 1
57422
57428
  }),
57423
- R(o, { label: "链接样式 link" }, {
57429
+ R(o, { label: "链接样式" }, {
57424
57430
  default: ne(() => [
57425
57431
  R(l, {
57426
57432
  modelValue: e.buttons[e.selectedIndex].link,
@@ -57429,7 +57435,7 @@ const ipe = {
57429
57435
  ]),
57430
57436
  _: 1
57431
57437
  }),
57432
- R(o, { label: "圆角 round" }, {
57438
+ R(o, { label: "圆角" }, {
57433
57439
  default: ne(() => [
57434
57440
  R(l, {
57435
57441
  modelValue: e.buttons[e.selectedIndex].round,
@@ -57438,7 +57444,7 @@ const ipe = {
57438
57444
  ]),
57439
57445
  _: 1
57440
57446
  }),
57441
- R(o, { label: "圆形 circle" }, {
57447
+ R(o, { label: "圆形" }, {
57442
57448
  default: ne(() => [
57443
57449
  R(l, {
57444
57450
  modelValue: e.buttons[e.selectedIndex].circle,
@@ -57447,7 +57453,7 @@ const ipe = {
57447
57453
  ]),
57448
57454
  _: 1
57449
57455
  }),
57450
- R(o, { label: "加载中 loading" }, {
57456
+ R(o, { label: "加载中" }, {
57451
57457
  default: ne(() => [
57452
57458
  R(l, {
57453
57459
  modelValue: e.buttons[e.selectedIndex].loading,
@@ -57456,7 +57462,7 @@ const ipe = {
57456
57462
  ]),
57457
57463
  _: 1
57458
57464
  }),
57459
- R(o, { label: "加载图标 loading-icon" }, {
57465
+ R(o, { label: "加载图标" }, {
57460
57466
  default: ne(() => [
57461
57467
  R(i, {
57462
57468
  modelValue: e.buttons[e.selectedIndex]["loading-icon"],
@@ -57467,7 +57473,7 @@ const ipe = {
57467
57473
  ]),
57468
57474
  _: 1
57469
57475
  }),
57470
- R(o, { label: "禁用 disabled" }, {
57476
+ R(o, { label: "禁用" }, {
57471
57477
  default: ne(() => [
57472
57478
  R(l, {
57473
57479
  modelValue: e.buttons[e.selectedIndex].disabled,
@@ -57476,7 +57482,7 @@ const ipe = {
57476
57482
  ]),
57477
57483
  _: 1
57478
57484
  }),
57479
- R(o, { label: "图标 icon" }, {
57485
+ R(o, { label: "图标" }, {
57480
57486
  default: ne(() => [
57481
57487
  R(i, {
57482
57488
  modelValue: e.buttons[e.selectedIndex].icon,
@@ -57487,7 +57493,7 @@ const ipe = {
57487
57493
  ]),
57488
57494
  _: 1
57489
57495
  }),
57490
- R(o, { label: "自动聚焦 autofocus" }, {
57496
+ R(o, { label: "自动聚焦" }, {
57491
57497
  default: ne(() => [
57492
57498
  R(l, {
57493
57499
  modelValue: e.buttons[e.selectedIndex].autofocus,
@@ -57496,25 +57502,25 @@ const ipe = {
57496
57502
  ]),
57497
57503
  _: 1
57498
57504
  }),
57499
- R(o, { label: "原生类型 native-type" }, {
57505
+ R(o, { label: "原生类型" }, {
57500
57506
  default: ne(() => [
57501
57507
  R(a, {
57502
57508
  modelValue: e.buttons[e.selectedIndex]["native-type"],
57503
57509
  "onUpdate:modelValue": n[16] || (n[16] = (c) => e.buttons[e.selectedIndex]["native-type"] = c),
57504
- placeholder: "button",
57510
+ placeholder: "请选择",
57505
57511
  clearable: ""
57506
57512
  }, {
57507
57513
  default: ne(() => [
57508
57514
  R(s, {
57509
- label: "button",
57515
+ label: "普通",
57510
57516
  value: "button"
57511
57517
  }),
57512
57518
  R(s, {
57513
- label: "submit",
57519
+ label: "提交",
57514
57520
  value: "submit"
57515
57521
  }),
57516
57522
  R(s, {
57517
- label: "reset",
57523
+ label: "重置",
57518
57524
  value: "reset"
57519
57525
  })
57520
57526
  ]),
@@ -57523,7 +57529,7 @@ const ipe = {
57523
57529
  ]),
57524
57530
  _: 1
57525
57531
  }),
57526
- R(o, { label: "自动插入空格 auto-insert-space" }, {
57532
+ R(o, { label: "自动插入空格" }, {
57527
57533
  default: ne(() => [
57528
57534
  R(l, {
57529
57535
  modelValue: e.buttons[e.selectedIndex]["auto-insert-space"],
@@ -57537,7 +57543,7 @@ const ipe = {
57537
57543
  })) : Mr("", !0);
57538
57544
  };
57539
57545
  }
57540
- }), Ame = /* @__PURE__ */ ki(Eme, [["__scopeId", "data-v-3bcf0f50"]]);
57546
+ }), Ame = /* @__PURE__ */ ki(Eme, [["__scopeId", "data-v-82a3f3a8"]]);
57541
57547
  function Tme(t) {
57542
57548
  const e = t == null ? void 0 : t.type;
57543
57549
  return (t == null ? void 0 : t.nodeKind) === "slot" || e === "groupSlot" || e === "formSlot" ? [