element-less 0.0.48 → 0.0.49

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.
@@ -17212,7 +17212,7 @@ const listProps = buildProps({
17212
17212
  */
17213
17213
  dragFoldHeight: Number
17214
17214
  });
17215
- const _withScopeId$1 = (n) => (pushScopeId("data-v-31c0bce7"), n = n(), popScopeId(), n);
17215
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-3fef17d8"), n = n(), popScopeId(), n);
17216
17216
  const _hoisted_1$11 = { class: "els-list-title" };
17217
17217
  const _hoisted_2$W = ["innerHTML"];
17218
17218
  const _hoisted_3$E = ["innerHTML"];
@@ -17264,28 +17264,22 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
17264
17264
  currItemComponent.value = "el-collapse-item";
17265
17265
  wrapComponent.value = "el-collapse";
17266
17266
  }
17267
- const attrs = useAttrs();
17268
- function initData() {
17269
- if (!props2.itemKey) {
17270
- modelValue.value.forEach((ele) => {
17271
- dropData.value.push({ itemKey: utils.shortid(), value: ele });
17272
- });
17273
- currItemKey.value = "itemKey";
17274
- watch(dropData, (val) => {
17275
- modelValue.value.length = 0;
17276
- modelValue.value.push(...val.map((ele) => ele.value));
17277
- }, { deep: true });
17278
- }
17279
- }
17280
17267
  watch(() => modelValue.value, (val) => {
17281
17268
  if (props2.itemKey) {
17282
17269
  dropData.value = val;
17283
17270
  }
17284
- if (val.length != dropData.value.length) {
17285
- initData();
17286
- }
17287
17271
  }, { immediate: true, deep: true });
17288
- initData();
17272
+ if (!props2.itemKey) {
17273
+ modelValue.value.forEach((ele) => {
17274
+ dropData.value.push({ itemKey: utils.shortid(), value: ele });
17275
+ });
17276
+ currItemKey.value = "itemKey";
17277
+ watch(dropData, (val) => {
17278
+ modelValue.value.length = 0;
17279
+ modelValue.value.push(...val.map((ele) => ele.value));
17280
+ }, { deep: true });
17281
+ }
17282
+ const attrs = useAttrs();
17289
17283
  function handleAdd() {
17290
17284
  const newId = utils.shortid();
17291
17285
  if (props2.onAdd) {
@@ -17408,64 +17402,160 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
17408
17402
  const _component_Plus = resolveComponent("Plus");
17409
17403
  const _component_Minus = resolveComponent("Minus");
17410
17404
  const _component_el_button = resolveComponent("el-button");
17411
- return openBlock(), createElementBlock(Fragment, null, [
17412
- createTextVNode(toDisplayString(modelValue.value) + " ", 1),
17413
- (openBlock(), createBlock(resolveDynamicComponent(unref(outContainer)), mergeProps({
17414
- class: ["els-list", [{ "el-list-mobile": unref(isMobile) }, { "is-drag": dragStatus.value }]],
17415
- ref_key: "listRef",
17416
- ref: listRef,
17417
- labelWidth: currLabelWidth.value
17418
- }, _ctx.outFormAttrs, {
17419
- style: `--drag-fold-height:${_ctx.dragFoldHeight ? (_a = _ctx.dragFoldHeight) == null ? void 0 : _a.appendPx() : "auto"};--list-min-width:${currBoundingWidth.value ? (_b = currBoundingWidth.value) == null ? void 0 : _b.appendPx() : "auto"}`
17420
- }), {
17421
- default: withCtx(() => [
17422
- createVNode(unref(draggable), mergeProps({
17423
- list: dropData.value,
17424
- handle: ".el-icon-rank"
17425
- }, unref(attrs), {
17426
- "item-key": currItemKey.value,
17427
- onStart: handleDragStart,
17428
- onEnd: handleDragEnd
17429
- }), {
17430
- item: withCtx(({ element, index }) => [
17431
- (openBlock(), createBlock(resolveDynamicComponent(wrapComponent.value), mergeProps(_ctx.itemComponentProps, {
17432
- modelValue: wrapActivitys.value,
17433
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => wrapActivitys.value = $event),
17434
- accordion: false
17435
- }), {
17436
- default: withCtx(() => [
17437
- (openBlock(), createBlock(resolveDynamicComponent(unref(container)), mergeProps({
17438
- class: ["els-list-inner-form", _ctx.borderType],
17439
- modelValue: dropData.value[index],
17440
- "onUpdate:modelValue": ($event) => dropData.value[index] = $event,
17441
- labelWidth: currLabelWidth.value
17442
- }, _ctx.innerFormAttrs), {
17443
- default: withCtx(() => [
17444
- (openBlock(), createBlock(resolveDynamicComponent(currItemComponent.value), {
17445
- class: normalizeClass(currItemClassName.value),
17446
- name: element[currItemKey.value]
17447
- }, createSlots({
17448
- default: withCtx(() => [
17449
- _ctx.itemKey ? (openBlock(), createElementBlock("div", {
17450
- key: 0,
17451
- class: normalizeClass(["listitem-body", { "initing": !initCollapseWidth.value && _ctx.itemComponent == "collapse" }])
17452
- }, [
17453
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ item: element, index, $item: element, $index: index, element })), void 0, true)
17454
- ], 2)) : (openBlock(), createElementBlock("div", {
17455
- key: 1,
17456
- class: normalizeClass(["listitem-body", { "initing": !initCollapseWidth.value && _ctx.itemComponent == "collapse" }])
17457
- }, [
17458
- renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ item: element.value, index, $item: element.value, $index: index, element })), void 0, true)
17459
- ], 2)),
17460
- (_ctx.sortable || _ctx.isRemove) && _ctx.itemComponent === "div" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
17461
- !_ctx.borderType ? (openBlock(), createElementBlock("span", _hoisted_6$f, [
17405
+ return openBlock(), createBlock(resolveDynamicComponent(unref(outContainer)), mergeProps({
17406
+ class: ["els-list", [{ "el-list-mobile": unref(isMobile) }, { "is-drag": dragStatus.value }]],
17407
+ ref_key: "listRef",
17408
+ ref: listRef,
17409
+ labelWidth: currLabelWidth.value
17410
+ }, _ctx.outFormAttrs, {
17411
+ style: `--drag-fold-height:${_ctx.dragFoldHeight ? (_a = _ctx.dragFoldHeight) == null ? void 0 : _a.appendPx() : "auto"};--list-min-width:${currBoundingWidth.value ? (_b = currBoundingWidth.value) == null ? void 0 : _b.appendPx() : "auto"}`
17412
+ }), {
17413
+ default: withCtx(() => [
17414
+ createVNode(unref(draggable), mergeProps({
17415
+ list: dropData.value,
17416
+ handle: ".el-icon-rank"
17417
+ }, unref(attrs), {
17418
+ "item-key": currItemKey.value,
17419
+ onStart: handleDragStart,
17420
+ onEnd: handleDragEnd
17421
+ }), {
17422
+ item: withCtx(({ element, index }) => [
17423
+ (openBlock(), createBlock(resolveDynamicComponent(wrapComponent.value), mergeProps(_ctx.itemComponentProps, {
17424
+ modelValue: wrapActivitys.value,
17425
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => wrapActivitys.value = $event),
17426
+ accordion: false
17427
+ }), {
17428
+ default: withCtx(() => [
17429
+ (openBlock(), createBlock(resolveDynamicComponent(unref(container)), mergeProps({
17430
+ class: ["els-list-inner-form", _ctx.borderType],
17431
+ modelValue: dropData.value[index],
17432
+ "onUpdate:modelValue": ($event) => dropData.value[index] = $event,
17433
+ labelWidth: currLabelWidth.value
17434
+ }, _ctx.innerFormAttrs), {
17435
+ default: withCtx(() => [
17436
+ (openBlock(), createBlock(resolveDynamicComponent(currItemComponent.value), {
17437
+ class: normalizeClass(currItemClassName.value),
17438
+ name: element[currItemKey.value]
17439
+ }, createSlots({
17440
+ default: withCtx(() => [
17441
+ _ctx.itemKey ? (openBlock(), createElementBlock("div", {
17442
+ key: 0,
17443
+ class: normalizeClass(["listitem-body", { "initing": !initCollapseWidth.value && _ctx.itemComponent == "collapse" }])
17444
+ }, [
17445
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ item: element, index, $item: element, $index: index, element })), void 0, true)
17446
+ ], 2)) : (openBlock(), createElementBlock("div", {
17447
+ key: 1,
17448
+ class: normalizeClass(["listitem-body", { "initing": !initCollapseWidth.value && _ctx.itemComponent == "collapse" }])
17449
+ }, [
17450
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ item: element.value, index, $item: element.value, $index: index, element })), void 0, true)
17451
+ ], 2)),
17452
+ (_ctx.sortable || _ctx.isRemove) && _ctx.itemComponent === "div" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
17453
+ !_ctx.borderType ? (openBlock(), createElementBlock("span", _hoisted_6$f, [
17454
+ _ctx.sortable && _ctx.isModify ? renderSlot(_ctx.$slots, "drag", { key: 0 }, () => [
17455
+ createVNode(_component_el_icon, { class: "el-icon-rank" }, {
17456
+ default: withCtx(() => [
17457
+ createVNode(_component_Rank)
17458
+ ]),
17459
+ _: 1
17460
+ })
17461
+ ], true) : createCommentVNode("", true),
17462
+ _ctx.isModify && _ctx.isRemove ? renderSlot(_ctx.$slots, "remove", { key: 1 }, () => [
17463
+ _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
17464
+ key: 0,
17465
+ title: "确定删除吗?",
17466
+ onConfirm: ($event) => handleRemove(element)
17467
+ }, {
17468
+ reference: withCtx(() => [
17469
+ createVNode(_component_el_icon, { class: "el-icon-remove" }, {
17470
+ default: withCtx(() => [
17471
+ createVNode(_component_Remove)
17472
+ ]),
17473
+ _: 1
17474
+ })
17475
+ ]),
17476
+ _: 2
17477
+ }, 1032, ["onConfirm"])) : (openBlock(), createBlock(_component_el_icon, {
17478
+ key: 1,
17479
+ class: "el-icon-remove",
17480
+ onClick: ($event) => handleRemove(element)
17481
+ }, {
17482
+ default: withCtx(() => [
17483
+ createVNode(_component_Remove)
17484
+ ]),
17485
+ _: 2
17486
+ }, 1032, ["onClick"]))
17487
+ ], true) : createCommentVNode("", true)
17488
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17489
+ createElementVNode("div", _hoisted_7$c, toDisplayString(index + 1), 1),
17490
+ createElementVNode("div", _hoisted_8$b, [
17491
+ _ctx.borderType === "border1" && index === dropData.value.length - 1 ? (openBlock(), createBlock(_component_el_icon, {
17492
+ key: 0,
17493
+ class: "el-icon-add",
17494
+ onClick: handleAdd
17495
+ }, {
17496
+ default: withCtx(() => [
17497
+ createVNode(_component_Plus)
17498
+ ]),
17499
+ _: 1
17500
+ })) : createCommentVNode("", true),
17501
+ _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
17502
+ key: 1,
17503
+ title: "确定删除吗?",
17504
+ onConfirm: ($event) => handleRemove(element)
17505
+ }, {
17506
+ reference: withCtx(() => [
17507
+ createVNode(_component_el_icon, { class: "el-icon-remove" }, {
17508
+ default: withCtx(() => [
17509
+ createVNode(_component_Minus)
17510
+ ]),
17511
+ _: 1
17512
+ })
17513
+ ]),
17514
+ _: 2
17515
+ }, 1032, ["onConfirm"])) : (openBlock(), createBlock(_component_el_icon, {
17516
+ key: 2,
17517
+ onClick: ($event) => handleRemove(element),
17518
+ class: "el-icon-remove"
17519
+ }, {
17520
+ default: withCtx(() => [
17521
+ createVNode(_component_Minus)
17522
+ ]),
17523
+ _: 2
17524
+ }, 1032, ["onClick"])),
17525
+ createVNode(_component_el_icon, { class: "el-icon-rank" }, {
17526
+ default: withCtx(() => [
17527
+ createVNode(_component_Rank)
17528
+ ]),
17529
+ _: 1
17530
+ })
17531
+ ])
17532
+ ], 64))
17533
+ ], 64)) : createCommentVNode("", true)
17534
+ ]),
17535
+ _: 2
17536
+ }, [
17537
+ _ctx.itemComponent ? {
17538
+ name: "title",
17539
+ fn: withCtx(() => [
17540
+ createElementVNode("div", _hoisted_1$11, [
17541
+ _ctx.itemKey ? renderSlot(_ctx.$slots, "collapseHeader", normalizeProps(mergeProps({ key: 0 }, { item: element, index, $item: element, $index: index, element })), () => [
17542
+ createElementVNode("div", null, [
17543
+ _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
17544
+ key: 0,
17545
+ innerHTML: _ctx.itemComponentTitle
17546
+ }, null, 8, _hoisted_2$W)) : createCommentVNode("", true)
17547
+ ])
17548
+ ], true) : renderSlot(_ctx.$slots, "collapseHeader", normalizeProps(mergeProps({ key: 1 }, { item: element, index, $item: element.value, $index: index, element })), () => [
17549
+ createElementVNode("div", null, [
17550
+ _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
17551
+ key: 0,
17552
+ innerHTML: _ctx.itemComponentTitle
17553
+ }, null, 8, _hoisted_3$E)) : createCommentVNode("", true)
17554
+ ])
17555
+ ], true),
17556
+ createElementVNode("span", _hoisted_4$y, [
17462
17557
  _ctx.sortable && _ctx.isModify ? renderSlot(_ctx.$slots, "drag", { key: 0 }, () => [
17463
- createVNode(_component_el_icon, { class: "el-icon-rank" }, {
17464
- default: withCtx(() => [
17465
- createVNode(_component_Rank)
17466
- ]),
17467
- _: 1
17468
- })
17558
+ _hoisted_5$m
17469
17559
  ], true) : createCommentVNode("", true),
17470
17560
  _ctx.isModify && _ctx.isRemove ? renderSlot(_ctx.$slots, "remove", { key: 1 }, () => [
17471
17561
  _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
@@ -17476,7 +17566,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
17476
17566
  reference: withCtx(() => [
17477
17567
  createVNode(_component_el_icon, { class: "el-icon-remove" }, {
17478
17568
  default: withCtx(() => [
17479
- createVNode(_component_Remove)
17569
+ createVNode(_component_Delete)
17480
17570
  ]),
17481
17571
  _: 1
17482
17572
  })
@@ -17488,157 +17578,58 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
17488
17578
  onClick: ($event) => handleRemove(element)
17489
17579
  }, {
17490
17580
  default: withCtx(() => [
17491
- createVNode(_component_Remove)
17581
+ createVNode(_component_Delete)
17492
17582
  ]),
17493
17583
  _: 2
17494
17584
  }, 1032, ["onClick"]))
17495
- ], true) : createCommentVNode("", true)
17496
- ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17497
- createElementVNode("div", _hoisted_7$c, toDisplayString(index + 1), 1),
17498
- createElementVNode("div", _hoisted_8$b, [
17499
- _ctx.borderType === "border1" && index === dropData.value.length - 1 ? (openBlock(), createBlock(_component_el_icon, {
17500
- key: 0,
17501
- class: "el-icon-add",
17502
- onClick: handleAdd
17503
- }, {
17504
- default: withCtx(() => [
17505
- createVNode(_component_Plus)
17506
- ]),
17507
- _: 1
17508
- })) : createCommentVNode("", true),
17509
- _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
17510
- key: 1,
17511
- title: "确定删除吗?",
17512
- onConfirm: ($event) => handleRemove(element)
17513
- }, {
17514
- reference: withCtx(() => [
17515
- createVNode(_component_el_icon, { class: "el-icon-remove" }, {
17516
- default: withCtx(() => [
17517
- createVNode(_component_Minus)
17518
- ]),
17519
- _: 1
17520
- })
17521
- ]),
17522
- _: 2
17523
- }, 1032, ["onConfirm"])) : (openBlock(), createBlock(_component_el_icon, {
17524
- key: 2,
17525
- onClick: ($event) => handleRemove(element),
17526
- class: "el-icon-remove"
17527
- }, {
17528
- default: withCtx(() => [
17529
- createVNode(_component_Minus)
17530
- ]),
17531
- _: 2
17532
- }, 1032, ["onClick"])),
17533
- createVNode(_component_el_icon, { class: "el-icon-rank" }, {
17534
- default: withCtx(() => [
17535
- createVNode(_component_Rank)
17536
- ]),
17537
- _: 1
17538
- })
17539
- ])
17540
- ], 64))
17541
- ], 64)) : createCommentVNode("", true)
17542
- ]),
17543
- _: 2
17544
- }, [
17545
- _ctx.itemComponent ? {
17546
- name: "title",
17547
- fn: withCtx(() => [
17548
- createElementVNode("div", _hoisted_1$11, [
17549
- _ctx.itemKey ? renderSlot(_ctx.$slots, "collapseHeader", normalizeProps(mergeProps({ key: 0 }, { item: element, index, $item: element, $index: index, element })), () => [
17550
- createElementVNode("div", null, [
17551
- _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
17552
- key: 0,
17553
- innerHTML: _ctx.itemComponentTitle
17554
- }, null, 8, _hoisted_2$W)) : createCommentVNode("", true)
17555
- ])
17556
- ], true) : renderSlot(_ctx.$slots, "collapseHeader", normalizeProps(mergeProps({ key: 1 }, { item: element, index, $item: element.value, $index: index, element })), () => [
17557
- createElementVNode("div", null, [
17558
- _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
17559
- key: 0,
17560
- innerHTML: _ctx.itemComponentTitle
17561
- }, null, 8, _hoisted_3$E)) : createCommentVNode("", true)
17562
- ])
17563
- ], true),
17564
- createElementVNode("span", _hoisted_4$y, [
17565
- _ctx.sortable && _ctx.isModify ? renderSlot(_ctx.$slots, "drag", { key: 0 }, () => [
17566
- _hoisted_5$m
17567
- ], true) : createCommentVNode("", true),
17568
- _ctx.isModify && _ctx.isRemove ? renderSlot(_ctx.$slots, "remove", { key: 1 }, () => [
17569
- _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
17570
- key: 0,
17571
- title: "确定删除吗?",
17572
- onConfirm: ($event) => handleRemove(element)
17573
- }, {
17574
- reference: withCtx(() => [
17575
- createVNode(_component_el_icon, { class: "el-icon-remove" }, {
17576
- default: withCtx(() => [
17577
- createVNode(_component_Delete)
17578
- ]),
17579
- _: 1
17580
- })
17581
- ]),
17582
- _: 2
17583
- }, 1032, ["onConfirm"])) : (openBlock(), createBlock(_component_el_icon, {
17584
- key: 1,
17585
- class: "el-icon-remove",
17586
- onClick: ($event) => handleRemove(element)
17587
- }, {
17588
- default: withCtx(() => [
17589
- createVNode(_component_Delete)
17590
- ]),
17591
- _: 2
17592
- }, 1032, ["onClick"]))
17593
- ], true) : createCommentVNode("", true),
17594
- createVNode(_component_el_icon, { class: "el-collapse-item__arrow" }, {
17595
- default: withCtx(() => [
17596
- createVNode(_component_ArrowRight)
17597
- ]),
17598
- _: 1
17599
- })
17600
- ])
17585
+ ], true) : createCommentVNode("", true),
17586
+ createVNode(_component_el_icon, { class: "el-collapse-item__arrow" }, {
17587
+ default: withCtx(() => [
17588
+ createVNode(_component_ArrowRight)
17589
+ ]),
17590
+ _: 1
17591
+ })
17601
17592
  ])
17602
- ]),
17603
- key: "0"
17604
- } : void 0
17605
- ]), 1032, ["class", "name"]))
17606
- ]),
17607
- _: 2
17608
- }, 1040, ["class", "modelValue", "onUpdate:modelValue", "labelWidth"]))
17609
- ]),
17610
- _: 2
17611
- }, 1040, ["modelValue"]))
17612
- ]),
17613
- _: 3
17614
- }, 16, ["list", "item-key"]),
17615
- _ctx.isModify && _ctx.isAdd && (_ctx.borderType !== "border1" || dropData.value.length === 0 && _ctx.borderType === "border1") ? (openBlock(), createElementBlock("div", {
17616
- key: 0,
17617
- class: normalizeClass(["els-list-bottom", [{ "els-list-add": !unref(isMobile) }]]),
17618
- style: normalizeStyle(`--marginleft:${currLabelWidth.value && currLabelPosition.value !== "top" && _ctx.borderType !== "border2" ? currLabelWidth.value.appendPx() : unref(isMobile) && !notObjectArray.value ? "var(--van-cell-horizontal-padding)" : "0px"}`)
17619
- }, [
17620
- renderSlot(_ctx.$slots, "add", {}, () => [
17621
- createVNode(_component_el_button, {
17622
- type: "primary",
17623
- link: "",
17624
- icon: "plus",
17625
- onClick: handleAdd
17626
- }, {
17627
- default: withCtx(() => [
17628
- createTextVNode(toDisplayString(_ctx.addButtonText || "添加"), 1)
17629
- ]),
17630
- _: 1
17631
- })
17632
- ], true)
17633
- ], 6)) : createCommentVNode("", true)
17634
- ]),
17635
- _: 3
17636
- }, 16, ["class", "labelWidth", "style"]))
17637
- ], 64);
17593
+ ])
17594
+ ]),
17595
+ key: "0"
17596
+ } : void 0
17597
+ ]), 1032, ["class", "name"]))
17598
+ ]),
17599
+ _: 2
17600
+ }, 1040, ["class", "modelValue", "onUpdate:modelValue", "labelWidth"]))
17601
+ ]),
17602
+ _: 2
17603
+ }, 1040, ["modelValue"]))
17604
+ ]),
17605
+ _: 3
17606
+ }, 16, ["list", "item-key"]),
17607
+ _ctx.isModify && _ctx.isAdd && (_ctx.borderType !== "border1" || dropData.value.length === 0 && _ctx.borderType === "border1") ? (openBlock(), createElementBlock("div", {
17608
+ key: 0,
17609
+ class: normalizeClass(["els-list-bottom", [{ "els-list-add": !unref(isMobile) }]]),
17610
+ style: normalizeStyle(`--marginleft:${currLabelWidth.value && currLabelPosition.value !== "top" && _ctx.borderType !== "border2" ? currLabelWidth.value.appendPx() : unref(isMobile) && !notObjectArray.value ? "var(--van-cell-horizontal-padding)" : "0px"}`)
17611
+ }, [
17612
+ renderSlot(_ctx.$slots, "add", {}, () => [
17613
+ createVNode(_component_el_button, {
17614
+ type: "primary",
17615
+ link: "",
17616
+ icon: "plus",
17617
+ onClick: handleAdd
17618
+ }, {
17619
+ default: withCtx(() => [
17620
+ createTextVNode(toDisplayString(_ctx.addButtonText || "添加"), 1)
17621
+ ]),
17622
+ _: 1
17623
+ })
17624
+ ], true)
17625
+ ], 6)) : createCommentVNode("", true)
17626
+ ]),
17627
+ _: 3
17628
+ }, 16, ["class", "labelWidth", "style"]);
17638
17629
  };
17639
17630
  }
17640
17631
  });
17641
- const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-31c0bce7"]]);
17632
+ const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["__scopeId", "data-v-3fef17d8"]]);
17642
17633
  const ElsList = withInstall(List);
17643
17634
  const _hoisted_1$10 = { class: "custom-block-title" };
17644
17635
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
@@ -40361,7 +40352,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
40361
40352
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
40362
40353
  setup(__props, { emit: __emit }) {
40363
40354
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
40364
- return import("./innerItem-KFrWepBO.js");
40355
+ return import("./innerItem-C0WQZFqN.js");
40365
40356
  });
40366
40357
  const { getValue: getValue2 } = useProps();
40367
40358
  const tagID = getValue2("tagID");
@@ -41211,10 +41202,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
41211
41202
  emits: ["update:modelValue"],
41212
41203
  setup(__props, { expose: __expose, emit: __emit }) {
41213
41204
  const DynamicRenderInner = defineAsyncComponent(() => {
41214
- return import("./inner-QfL0Eapx.js").then((n) => n.i);
41205
+ return import("./inner-CkKBjHNk.js").then((n) => n.i);
41215
41206
  });
41216
41207
  const DynamicRenderForm = defineAsyncComponent(() => {
41217
- return import("./inner-QfL0Eapx.js").then((n) => n.f);
41208
+ return import("./inner-CkKBjHNk.js").then((n) => n.f);
41218
41209
  });
41219
41210
  const props2 = __props;
41220
41211
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -41444,10 +41435,10 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
41444
41435
  emits: ["update:modelValue"],
41445
41436
  setup(__props, { expose: __expose, emit: __emit }) {
41446
41437
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
41447
- return import("./inner-QfL0Eapx.js").then((n) => n.i);
41438
+ return import("./inner-CkKBjHNk.js").then((n) => n.i);
41448
41439
  });
41449
41440
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
41450
- return import("./inner-QfL0Eapx.js").then((n) => n.f);
41441
+ return import("./inner-CkKBjHNk.js").then((n) => n.f);
41451
41442
  });
41452
41443
  const props2 = __props;
41453
41444
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -46361,31 +46352,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
46361
46352
  __publicField(this, "editor", ref());
46362
46353
  onMounted(() => {
46363
46354
  if (props2.language === "json") {
46364
- const currModule = import("./mode-json-DXk_gNWP.js").then((n) => n.m);
46355
+ const currModule = import("./mode-json-BuAUu8FG.js").then((n) => n.m);
46365
46356
  currModule.then((res) => {
46366
46357
  ace.config.setModuleUrl("ace/mode/json", res);
46367
46358
  this.init();
46368
46359
  });
46369
46360
  } else if (props2.language === "javascript") {
46370
- const currModule = import("./mode-javascript-B0-3IPd5.js").then((n) => n.m);
46361
+ const currModule = import("./mode-javascript-BkhZp5Yt.js").then((n) => n.m);
46371
46362
  currModule.then((res) => {
46372
46363
  ace.config.setModuleUrl("ace/mode/javascript", res);
46373
46364
  this.init();
46374
46365
  });
46375
46366
  } else if (props2.language === "csharp") {
46376
- const currModule = import("./mode-csharp-B4_0z_Mf.js").then((n) => n.m);
46367
+ const currModule = import("./mode-csharp-BSeG3rwM.js").then((n) => n.m);
46377
46368
  currModule.then((res) => {
46378
46369
  ace.config.setModuleUrl("ace/mode/csharp", res);
46379
46370
  this.init();
46380
46371
  });
46381
46372
  } else if (props2.language === "mysql") {
46382
- const currModule = import("./mode-mysql-DYw2Rgut.js").then((n) => n.m);
46373
+ const currModule = import("./mode-mysql-CI6XudH6.js").then((n) => n.m);
46383
46374
  currModule.then((res) => {
46384
46375
  ace.config.setModuleUrl("ace/mode/mysql", res);
46385
46376
  this.init();
46386
46377
  });
46387
46378
  } else if (props2.language === "css") {
46388
- const currModule = import("./mode-css-CArCIFOm.js").then((n) => n.m);
46379
+ const currModule = import("./mode-css-DTKY4cex.js").then((n) => n.m);
46389
46380
  currModule.then((res) => {
46390
46381
  ace.config.setModuleUrl("ace/mode/css", res);
46391
46382
  this.init();