@dao-style/core 0.7.0 → 0.7.1

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.
@@ -61,7 +61,7 @@ const _sfc_main$U = defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const _hoisted_1$D = ["disabled"];
64
+ const _hoisted_1$C = ["disabled"];
65
65
  function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
66
66
  return openBlock(), createElementBlock("button", {
67
67
  class: normalizeClass([
@@ -78,7 +78,7 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
78
78
  class: normalizeClass(["dao-action-icon__iconfont", _ctx.name])
79
79
  }, null, 2)) : createCommentVNode("", true)
80
80
  ])
81
- ], 10, _hoisted_1$D);
81
+ ], 10, _hoisted_1$C);
82
82
  }
83
83
  var DaoActionIcon = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$Q]]);
84
84
  const BUTTON_TYPES = ["primary", "secondary", "tertiary", "ghost", "danger"];
@@ -132,7 +132,7 @@ const _sfc_main$T = defineComponent({
132
132
  }
133
133
  }
134
134
  });
135
- const _hoisted_1$C = {
135
+ const _hoisted_1$B = {
136
136
  key: 1,
137
137
  class: "dao-icon dao-svg-icon"
138
138
  };
@@ -141,7 +141,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
141
141
  return _ctx.useFont ? (openBlock(), createElementBlock("i", {
142
142
  key: 0,
143
143
  class: normalizeClass(["dao-icon dao-iconfont", _ctx.name])
144
- }, null, 2)) : (openBlock(), createElementBlock("svg", _hoisted_1$C, [
144
+ }, null, 2)) : (openBlock(), createElementBlock("svg", _hoisted_1$B, [
145
145
  createElementVNode("use", {
146
146
  "xlink:href": `#${_ctx.name}`
147
147
  }, null, 8, _hoisted_2$p)
@@ -244,7 +244,7 @@ const _sfc_main$S = defineComponent({
244
244
  };
245
245
  }
246
246
  });
247
- const _hoisted_1$B = ["disabled"];
247
+ const _hoisted_1$A = ["disabled"];
248
248
  const _hoisted_2$o = {
249
249
  key: 1,
250
250
  class: "dao-btn__text"
@@ -273,7 +273,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
273
273
  name: _ctx.realIconRight
274
274
  }, null, 8, ["class", "use-font", "name"])) : createCommentVNode("", true)
275
275
  ], 64))
276
- ], 10, _hoisted_1$B);
276
+ ], 10, _hoisted_1$A);
277
277
  }
278
278
  var DaoButton = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$O]]);
279
279
  const textButtonType = ["default", "action", "link", "custom"];
@@ -397,7 +397,7 @@ const _sfc_main$Q = defineComponent({
397
397
  };
398
398
  }
399
399
  });
400
- const _hoisted_1$A = {
400
+ const _hoisted_1$z = {
401
401
  key: 0,
402
402
  class: "dao-batch-bar"
403
403
  };
@@ -407,7 +407,7 @@ const _hoisted_4$c = { class: "dao-batch-bar__action" };
407
407
  function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
408
408
  const _component_dao_text_button = resolveComponent("dao-text-button");
409
409
  const _component_dao_button = resolveComponent("dao-button");
410
- return _ctx.showSelf ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
410
+ return _ctx.showSelf ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
411
411
  createElementVNode("div", _hoisted_2$n, [
412
412
  createElementVNode("span", _hoisted_3$f, toDisplayString(_ctx.text.selected), 1),
413
413
  createVNode(_component_dao_text_button, {
@@ -440,9 +440,9 @@ var buttonGroup_vue_vue_type_style_index_0_lang = "";
440
440
  const _sfc_main$P = defineComponent({
441
441
  name: "DaoButtonGroup"
442
442
  });
443
- const _hoisted_1$z = { class: "dao-btn-group" };
443
+ const _hoisted_1$y = { class: "dao-btn-group" };
444
444
  function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
445
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
445
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
446
446
  renderSlot(_ctx.$slots, "default")
447
447
  ]);
448
448
  }
@@ -476,7 +476,7 @@ const _sfc_main$O = defineComponent({
476
476
  }
477
477
  }
478
478
  });
479
- const _hoisted_1$y = {
479
+ const _hoisted_1$x = {
480
480
  key: 0,
481
481
  class: "dao-card-header"
482
482
  };
@@ -491,7 +491,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
491
491
  return openBlock(), createElementBlock("div", {
492
492
  class: normalizeClass(["dao-card", `dao-card--${_ctx.type}`])
493
493
  }, [
494
- _ctx.type !== "headless" ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
494
+ _ctx.type !== "headless" ? (openBlock(), createElementBlock("div", _hoisted_1$x, [
495
495
  renderSlot(_ctx.$slots, "header", {}, () => [
496
496
  renderSlot(_ctx.$slots, "header-prefix"),
497
497
  _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
@@ -536,9 +536,9 @@ var cardItem_scss_vue_type_style_index_0_src_lang = "";
536
536
  const _sfc_main$N = defineComponent({
537
537
  name: "DaoCardItem"
538
538
  });
539
- const _hoisted_1$x = { class: "dao-card-item" };
539
+ const _hoisted_1$w = { class: "dao-card-item" };
540
540
  function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
541
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
541
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
542
542
  renderSlot(_ctx.$slots, "default")
543
543
  ]);
544
544
  }
@@ -727,7 +727,7 @@ const _sfc_main$M = defineComponent({
727
727
  }
728
728
  }
729
729
  });
730
- const _hoisted_1$w = ["disabled", "indeterminate", "checked"];
730
+ const _hoisted_1$v = ["disabled", "indeterminate", "checked"];
731
731
  const _hoisted_2$l = /* @__PURE__ */ createElementVNode("span", { class: "dao-checkbox-inner" }, null, -1);
732
732
  const _hoisted_3$d = {
733
733
  key: 0,
@@ -756,7 +756,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
756
756
  }, _ctx.$attrs, {
757
757
  checked: _ctx.currentChecked,
758
758
  onChange: _cache[0] || (_cache[0] = (...args) => _ctx.change && _ctx.change(...args))
759
- }), null, 16, _hoisted_1$w),
759
+ }), null, 16, _hoisted_1$v),
760
760
  _hoisted_2$l
761
761
  ], 2),
762
762
  _ctx.hasLabel ? (openBlock(), createElementBlock("span", _hoisted_3$d, [
@@ -2061,7 +2061,7 @@ const _sfc_main$K = defineComponent({
2061
2061
  };
2062
2062
  }
2063
2063
  });
2064
- const _hoisted_1$v = ["id", "aria-hidden", "tabindex"];
2064
+ const _hoisted_1$u = ["id", "aria-hidden", "tabindex"];
2065
2065
  const _hoisted_2$k = {
2066
2066
  ref: "arrow",
2067
2067
  class: "dao-popper-arrow"
@@ -2105,7 +2105,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
2105
2105
  withDirectives(createElementVNode("div", _hoisted_2$k, _hoisted_4$9, 512), [
2106
2106
  [vShow, _ctx.visibleArrow]
2107
2107
  ])
2108
- ], 42, _hoisted_1$v);
2108
+ ], 42, _hoisted_1$u);
2109
2109
  }
2110
2110
  var PopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$H]]);
2111
2111
  var PopperProps = {
@@ -2767,7 +2767,7 @@ const _sfc_main$G = defineComponent({
2767
2767
  };
2768
2768
  }
2769
2769
  });
2770
- const _hoisted_1$u = { key: 1 };
2770
+ const _hoisted_1$t = { key: 1 };
2771
2771
  function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
2772
2772
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.ComponentType), {
2773
2773
  ref: "ComponentRef",
@@ -2800,7 +2800,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
2800
2800
  key: 0,
2801
2801
  show: _ctx.isOpen,
2802
2802
  ellipsis: _ctx.isEllipsis
2803
- }) : _ctx.content ? (openBlock(), createElementBlock("span", _hoisted_1$u, toDisplayString(_ctx.content), 1)) : renderSlot(_ctx.$slots, "default", { key: 2 })
2803
+ }) : _ctx.content ? (openBlock(), createElementBlock("span", _hoisted_1$t, toDisplayString(_ctx.content), 1)) : renderSlot(_ctx.$slots, "default", { key: 2 })
2804
2804
  ])
2805
2805
  } : void 0
2806
2806
  ]), 1032, ["disabled", "placement", "offset", "class", "append-to", "delay", "popper-class", "width"]);
@@ -2830,12 +2830,12 @@ const _sfc_main$F = defineComponent({
2830
2830
  };
2831
2831
  }
2832
2832
  });
2833
- const _hoisted_1$t = { class: "dao-dialog__header" };
2833
+ const _hoisted_1$s = { class: "dao-dialog__header" };
2834
2834
  const _hoisted_2$j = { class: "dao-dialog__header--title" };
2835
2835
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
2836
2836
  const _component_dao_ellipsis = resolveComponent("dao-ellipsis");
2837
2837
  const _component_dao_action_icon = resolveComponent("dao-action-icon");
2838
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
2838
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
2839
2839
  renderSlot(_ctx.$slots, "default", {}, () => [
2840
2840
  createElementVNode("span", _hoisted_2$j, [
2841
2841
  renderSlot(_ctx.$slots, "before-title"),
@@ -2899,10 +2899,10 @@ const _sfc_main$E = defineComponent({
2899
2899
  };
2900
2900
  }
2901
2901
  });
2902
- const _hoisted_1$s = { class: "dao-dialog__footer" };
2902
+ const _hoisted_1$r = { class: "dao-dialog__footer" };
2903
2903
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
2904
2904
  const _component_dao_button = resolveComponent("dao-button");
2905
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
2905
+ return openBlock(), createElementBlock("div", _hoisted_1$r, [
2906
2906
  renderSlot(_ctx.$slots, "default", {}, () => [
2907
2907
  createVNode(_component_dao_button, {
2908
2908
  type: "ghost",
@@ -3133,7 +3133,7 @@ const _sfc_main$D = defineComponent({
3133
3133
  };
3134
3134
  }
3135
3135
  });
3136
- const _hoisted_1$r = { class: "dao-dialog__body" };
3136
+ const _hoisted_1$q = { class: "dao-dialog__body" };
3137
3137
  function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
3138
3138
  const _component_dialog_header = resolveComponent("dialog-header");
3139
3139
  const _component_dialog_footer = resolveComponent("dialog-footer");
@@ -3178,7 +3178,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
3178
3178
  ]),
3179
3179
  _: 3
3180
3180
  }, 8, ["title", "show-close", "onClose"])) : createCommentVNode("", true),
3181
- createElementVNode("div", _hoisted_1$r, [
3181
+ createElementVNode("div", _hoisted_1$q, [
3182
3182
  renderSlot(_ctx.$slots, "default")
3183
3183
  ]),
3184
3184
  _ctx.footer ? (openBlock(), createBlock(_component_dialog_footer, {
@@ -3393,7 +3393,7 @@ const _sfc_main$C = defineComponent({
3393
3393
  };
3394
3394
  }
3395
3395
  });
3396
- const _hoisted_1$q = { class: "dao-drawer__content" };
3396
+ const _hoisted_1$p = { class: "dao-drawer__content" };
3397
3397
  const _hoisted_2$i = {
3398
3398
  key: 0,
3399
3399
  class: "dao-drawer__header"
@@ -3438,7 +3438,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
3438
3438
  withDirectives(createElementVNode("div", {
3439
3439
  class: normalizeClass(_ctx.contentClassList)
3440
3440
  }, [
3441
- createElementVNode("div", _hoisted_1$q, [
3441
+ createElementVNode("div", _hoisted_1$p, [
3442
3442
  !_ctx.hideHeader ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
3443
3443
  renderSlot(_ctx.$slots, "header", {}, () => [
3444
3444
  createElementVNode("div", _hoisted_3$b, [
@@ -3556,7 +3556,7 @@ const _sfc_main$B = defineComponent({
3556
3556
  };
3557
3557
  }
3558
3558
  });
3559
- const _hoisted_1$p = { tabindex: "0" };
3559
+ const _hoisted_1$o = { tabindex: "0" };
3560
3560
  function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
3561
3561
  const _component_dao_popper = resolveComponent("dao-popper");
3562
3562
  return openBlock(), createBlock(_component_dao_popper, {
@@ -3575,7 +3575,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
3575
3575
  renderSlot(_ctx.$slots, "menu")
3576
3576
  ]),
3577
3577
  default: withCtx(() => [
3578
- createElementVNode("div", _hoisted_1$p, [
3578
+ createElementVNode("div", _hoisted_1$o, [
3579
3579
  renderSlot(_ctx.$slots, "default")
3580
3580
  ])
3581
3581
  ]),
@@ -3587,9 +3587,9 @@ var dropdownMenu_vue_vue_type_style_index_0_lang = "";
3587
3587
  const _sfc_main$A = defineComponent({
3588
3588
  name: "DaoDropdownMenu"
3589
3589
  });
3590
- const _hoisted_1$o = { class: "dao-dropdown-menu" };
3590
+ const _hoisted_1$n = { class: "dao-dropdown-menu" };
3591
3591
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
3592
- return openBlock(), createElementBlock("ul", _hoisted_1$o, [
3592
+ return openBlock(), createElementBlock("ul", _hoisted_1$n, [
3593
3593
  renderSlot(_ctx.$slots, "default")
3594
3594
  ]);
3595
3595
  }
@@ -3860,7 +3860,7 @@ const _sfc_main$x = defineComponent({
3860
3860
  };
3861
3861
  }
3862
3862
  });
3863
- const _hoisted_1$n = {
3863
+ const _hoisted_1$m = {
3864
3864
  key: 0,
3865
3865
  class: "dao-expansion-item-header-handler"
3866
3866
  };
@@ -3897,7 +3897,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
3897
3897
  class: "dao-expansion-item-header",
3898
3898
  onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onItemClick && _ctx.onItemClick(...args))
3899
3899
  }, [
3900
- _ctx.$slots.handler ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
3900
+ _ctx.$slots.handler ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
3901
3901
  renderSlot(_ctx.$slots, "handler")
3902
3902
  ])) : createCommentVNode("", true),
3903
3903
  !_ctx.$slots.trigger ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
@@ -4063,9 +4063,9 @@ const _sfc_main$v = defineComponent({
4063
4063
  }
4064
4064
  }
4065
4065
  });
4066
- const _hoisted_1$m = { class: "dao-error-text" };
4066
+ const _hoisted_1$l = { class: "dao-error-text" };
4067
4067
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
4068
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
4068
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
4069
4069
  renderSlot(_ctx.$slots, "default", {}, () => [
4070
4070
  createTextVNode(toDisplayString(_ctx.content), 1)
4071
4071
  ])
@@ -4082,9 +4082,9 @@ const _sfc_main$u = defineComponent({
4082
4082
  }
4083
4083
  }
4084
4084
  });
4085
- const _hoisted_1$l = { class: "dao-helper-text" };
4085
+ const _hoisted_1$k = { class: "dao-helper-text" };
4086
4086
  function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
4087
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
4087
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
4088
4088
  renderSlot(_ctx.$slots, "default", {}, () => [
4089
4089
  createTextVNode(toDisplayString(_ctx.content), 1)
4090
4090
  ])
@@ -4131,7 +4131,7 @@ const _sfc_main$t = defineComponent({
4131
4131
  };
4132
4132
  }
4133
4133
  });
4134
- const _hoisted_1$k = { class: "dao-form-item__label-icon-wrapper" };
4134
+ const _hoisted_1$j = { class: "dao-form-item__label-icon-wrapper" };
4135
4135
  const _hoisted_2$g = /* @__PURE__ */ createElementVNode("i", { class: "dao-form-item__label-icon icon-unknow" }, null, -1);
4136
4136
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
4137
4137
  const _component_dao_ellipsis = resolveComponent("dao-ellipsis");
@@ -4147,7 +4147,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
4147
4147
  style: normalizeStyle(_ctx.labelStyle)
4148
4148
  }, [
4149
4149
  renderSlot(_ctx.$slots, "label", {}, () => [
4150
- createElementVNode("div", _hoisted_1$k, [
4150
+ createElementVNode("div", _hoisted_1$j, [
4151
4151
  createVNode(_component_dao_ellipsis, { class: "dao-form-item__label-icon-label" }, {
4152
4152
  default: withCtx(() => [
4153
4153
  createTextVNode(toDisplayString(_ctx.label), 1)
@@ -4197,10 +4197,10 @@ const _sfc_main$s = defineComponent({
4197
4197
  }
4198
4198
  }
4199
4199
  });
4200
- const _hoisted_1$j = { class: "dao-form-group" };
4200
+ const _hoisted_1$i = { class: "dao-form-group" };
4201
4201
  const _hoisted_2$f = { class: "dao-form-group__title" };
4202
4202
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
4203
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
4203
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
4204
4204
  createElementVNode("div", _hoisted_2$f, [
4205
4205
  renderSlot(_ctx.$slots, "title", {}, () => [
4206
4206
  createTextVNode(toDisplayString(_ctx.title), 1)
@@ -4690,7 +4690,7 @@ const _sfc_main$o = defineComponent({
4690
4690
  };
4691
4691
  }
4692
4692
  });
4693
- const _hoisted_1$i = {
4693
+ const _hoisted_1$h = {
4694
4694
  key: 0,
4695
4695
  class: "dao-input-prepend"
4696
4696
  };
@@ -4711,7 +4711,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
4711
4711
  const _component_dao_icon = resolveComponent("dao-icon");
4712
4712
  return openBlock(), createElementBlock("div", mergeProps({ class: _ctx.wrapClasses }, _ctx.rootAttrs), [
4713
4713
  renderSlot(_ctx.$slots, "prepend", {}, () => [
4714
- _ctx.prepend ? (openBlock(), createElementBlock("div", _hoisted_1$i, toDisplayString(_ctx.prepend), 1)) : createCommentVNode("", true)
4714
+ _ctx.prepend ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString(_ctx.prepend), 1)) : createCommentVNode("", true)
4715
4715
  ]),
4716
4716
  createElementVNode("div", {
4717
4717
  class: normalizeClass(["dao-input-inner", { "dao-input__changing-number": _ctx.isChangingNumber }])
@@ -4852,7 +4852,7 @@ const _sfc_main$n = defineComponent({
4852
4852
  };
4853
4853
  }
4854
4854
  });
4855
- const _hoisted_1$h = { class: "dao-message-icon" };
4855
+ const _hoisted_1$g = { class: "dao-message-icon" };
4856
4856
  const _hoisted_2$d = { class: "dao-message-section" };
4857
4857
  const _hoisted_3$8 = {
4858
4858
  key: 0,
@@ -4876,7 +4876,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
4876
4876
  "dao-message-only-content": _ctx.onlyContent
4877
4877
  }])
4878
4878
  }, [
4879
- createElementVNode("div", _hoisted_1$h, [
4879
+ createElementVNode("div", _hoisted_1$g, [
4880
4880
  renderSlot(_ctx.$slots, "icon", {}, () => [
4881
4881
  createElementVNode("i", {
4882
4882
  class: normalizeClass(`icon-sys-${_ctx.type} dao-message-icon-general dao-message-icon-${_ctx.type}`)
@@ -5072,10 +5072,10 @@ const _sfc_main$m = defineComponent({
5072
5072
  });
5073
5073
  }
5074
5074
  });
5075
- const _hoisted_1$g = { class: "dao-nav-bar" };
5075
+ const _hoisted_1$f = { class: "dao-nav-bar" };
5076
5076
  const _hoisted_2$c = { class: "dao-nav" };
5077
5077
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
5078
- return openBlock(), createElementBlock("nav", _hoisted_1$g, [
5078
+ return openBlock(), createElementBlock("nav", _hoisted_1$f, [
5079
5079
  renderSlot(_ctx.$slots, "header"),
5080
5080
  createElementVNode("ul", _hoisted_2$c, [
5081
5081
  renderSlot(_ctx.$slots, "default")
@@ -5119,7 +5119,7 @@ const _sfc_main$l = defineComponent({
5119
5119
  };
5120
5120
  }
5121
5121
  });
5122
- const _hoisted_1$f = { class: "dao-nav__head-text dao-nav-text" };
5122
+ const _hoisted_1$e = { class: "dao-nav__head-text dao-nav-text" };
5123
5123
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
5124
5124
  const _component_dao_icon = resolveComponent("dao-icon");
5125
5125
  const _component_dao_ellipsis = resolveComponent("dao-ellipsis");
@@ -5136,7 +5136,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
5136
5136
  onClick: _ctx.handleClickBack,
5137
5137
  onKeydown: withKeys(withModifiers(_ctx.handleClickBack, ["stop"]), ["esc"])
5138
5138
  }, null, 8, ["name", "use-font", "onClick", "onKeydown"])) : createCommentVNode("", true),
5139
- createElementVNode("span", _hoisted_1$f, [
5139
+ createElementVNode("span", _hoisted_1$e, [
5140
5140
  createVNode(_component_dao_ellipsis, { "ellipsis-placement": "right" }, {
5141
5141
  default: withCtx(() => [
5142
5142
  createTextVNode(toDisplayString(_ctx.title), 1)
@@ -5230,7 +5230,7 @@ const _sfc_main$k = defineComponent({
5230
5230
  };
5231
5231
  }
5232
5232
  });
5233
- const _hoisted_1$e = { class: "dao-nav-slot" };
5233
+ const _hoisted_1$d = { class: "dao-nav-slot" };
5234
5234
  const _hoisted_2$b = { class: "dao-nav__item-text dao-nav-text" };
5235
5235
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
5236
5236
  const _component_dao_icon = resolveComponent("dao-icon");
@@ -5244,7 +5244,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
5244
5244
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
5245
5245
  onKeydown: _cache[1] || (_cache[1] = withKeys((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["enter"]))
5246
5246
  }, [
5247
- createElementVNode("div", _hoisted_1$e, [
5247
+ createElementVNode("div", _hoisted_1$d, [
5248
5248
  renderSlot(_ctx.$slots, "default", {}, () => [
5249
5249
  _ctx.showIcon ? (openBlock(), createBlock(_component_dao_icon, {
5250
5250
  key: 0,
@@ -5389,7 +5389,7 @@ const _sfc_main$j = defineComponent({
5389
5389
  };
5390
5390
  }
5391
5391
  });
5392
- const _hoisted_1$d = { class: "dao-nav-slot" };
5392
+ const _hoisted_1$c = { class: "dao-nav-slot" };
5393
5393
  const _hoisted_2$a = { class: "dao-nav__sub-text dao-nav-text" };
5394
5394
  const _hoisted_3$7 = {
5395
5395
  key: 0,
@@ -5410,7 +5410,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
5410
5410
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
5411
5411
  onKeydown: _cache[1] || (_cache[1] = withKeys((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["enter"]))
5412
5412
  }, [
5413
- createElementVNode("div", _hoisted_1$d, [
5413
+ createElementVNode("div", _hoisted_1$c, [
5414
5414
  renderSlot(_ctx.$slots, "title", {}, () => [
5415
5415
  _ctx.showIcon ? (openBlock(), createBlock(_component_dao_icon, {
5416
5416
  key: 0,
@@ -5999,7 +5999,7 @@ const _sfc_main$i = defineComponent({
5999
5999
  };
6000
6000
  }
6001
6001
  });
6002
- const _hoisted_1$c = { class: "dao-selection-text" };
6002
+ const _hoisted_1$b = { class: "dao-selection-text" };
6003
6003
  const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("i", { class: "icon-dropdown-line dao-selection-icon" }, null, -1);
6004
6004
  const _hoisted_3$6 = {
6005
6005
  key: 0,
@@ -6101,7 +6101,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
6101
6101
  ],
6102
6102
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.state.visible = !_ctx.state.visible)
6103
6103
  }, [
6104
- withDirectives(createElementVNode("span", _hoisted_1$c, [
6104
+ withDirectives(createElementVNode("span", _hoisted_1$b, [
6105
6105
  _ctx.multiple ? renderSlot(_ctx.$slots, "selected", {
6106
6106
  key: 0,
6107
6107
  selectedLabel: _ctx.state.selectedOption.map((o) => o.label),
@@ -6217,7 +6217,7 @@ const _sfc_main$h = defineComponent({
6217
6217
  };
6218
6218
  }
6219
6219
  });
6220
- const _hoisted_1$b = ["title"];
6220
+ const _hoisted_1$a = ["title"];
6221
6221
  const _hoisted_2$8 = {
6222
6222
  key: 0,
6223
6223
  class: "icon-checked dao-option-checkmark"
@@ -6241,7 +6241,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
6241
6241
  renderSlot(_ctx.$slots, "default", {}, () => [
6242
6242
  createTextVNode(toDisplayString(_ctx.labelValue), 1)
6243
6243
  ])
6244
- ], 8, _hoisted_1$b),
6244
+ ], 8, _hoisted_1$a),
6245
6245
  _ctx.isSelected ? (openBlock(), createElementBlock("i", _hoisted_2$8)) : createCommentVNode("", true)
6246
6246
  ], 2)), [
6247
6247
  [vShow, _ctx.visible]
@@ -6366,7 +6366,7 @@ const _sfc_main$g = defineComponent({
6366
6366
  };
6367
6367
  }
6368
6368
  });
6369
- const _hoisted_1$a = ["disabled"];
6369
+ const _hoisted_1$9 = ["disabled"];
6370
6370
  const _hoisted_2$7 = { class: "dao-pagination__pager-total" };
6371
6371
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6372
6372
  const _component_dao_option = resolveComponent("dao-option");
@@ -6399,7 +6399,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6399
6399
  disabled: _ctx.totalPage <= 1,
6400
6400
  onKeydown: _cache[2] || (_cache[2] = withKeys((...args) => _ctx.targetPage && _ctx.targetPage(...args), ["enter"])),
6401
6401
  onInput: _cache[3] || (_cache[3] = (...args) => _ctx.currentShowPageFormat && _ctx.currentShowPageFormat(...args))
6402
- }, null, 40, _hoisted_1$a), [
6402
+ }, null, 40, _hoisted_1$9), [
6403
6403
  [vModelText, _ctx.currentShowPage]
6404
6404
  ]),
6405
6405
  createElementVNode("span", _hoisted_2$7, " / " + toDisplayString(_ctx.totalPage), 1),
@@ -6445,7 +6445,7 @@ const _sfc_main$f = defineComponent({
6445
6445
  },
6446
6446
  bgColor: {
6447
6447
  type: String,
6448
- default: "#ebeef5"
6448
+ default: "#eeeeee"
6449
6449
  },
6450
6450
  fill: {
6451
6451
  type: [Array, String],
@@ -6484,7 +6484,7 @@ const _sfc_main$f = defineComponent({
6484
6484
  };
6485
6485
  }
6486
6486
  });
6487
- const _hoisted_1$9 = { class: "dao-progress" };
6487
+ const _hoisted_1$8 = { class: "dao-progress" };
6488
6488
  const _hoisted_2$6 = {
6489
6489
  key: 1,
6490
6490
  class: "dao-progress__stacked"
@@ -6494,7 +6494,7 @@ const _hoisted_3$5 = {
6494
6494
  class: "dao-progress__text"
6495
6495
  };
6496
6496
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
6497
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
6497
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
6498
6498
  createElementVNode("div", {
6499
6499
  class: "dao-progress__inner",
6500
6500
  style: normalizeStyle({ background: _ctx.bgColor })
@@ -6590,7 +6590,7 @@ const _sfc_main$e = defineComponent({
6590
6590
  };
6591
6591
  }
6592
6592
  });
6593
- const _hoisted_1$8 = ["disabled", "name", "checked"];
6593
+ const _hoisted_1$7 = ["disabled", "name", "checked"];
6594
6594
  const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("span", { class: "dao-radio-inner" }, null, -1);
6595
6595
  const _hoisted_3$4 = {
6596
6596
  key: 0,
@@ -6618,7 +6618,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
6618
6618
  name: _ctx.name,
6619
6619
  checked: _ctx.currentValue,
6620
6620
  onChange: _cache[0] || (_cache[0] = (...args) => _ctx.change && _ctx.change(...args))
6621
- }, null, 40, _hoisted_1$8),
6621
+ }, null, 40, _hoisted_1$7),
6622
6622
  _hoisted_2$5
6623
6623
  ], 2),
6624
6624
  _ctx.$slots.default || _ctx.label || _ctx.$slots.helper ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
@@ -6742,7 +6742,7 @@ const _sfc_main$c = defineComponent({
6742
6742
  };
6743
6743
  }
6744
6744
  });
6745
- const _hoisted_1$7 = ["value", "name", "disabled"];
6745
+ const _hoisted_1$6 = ["value", "name", "disabled"];
6746
6746
  const _hoisted_2$4 = {
6747
6747
  key: 0,
6748
6748
  class: "dao-switch__label"
@@ -6758,7 +6758,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
6758
6758
  value: _ctx.currentValue,
6759
6759
  name: _ctx.name,
6760
6760
  disabled: _ctx.disabled
6761
- }, null, 8, _hoisted_1$7),
6761
+ }, null, 8, _hoisted_1$6),
6762
6762
  createElementVNode("span", {
6763
6763
  class: normalizeClass(["dao-switch__pill", { "dao-switch-checked": _ctx.currentValue }])
6764
6764
  }, null, 2),
@@ -6814,9 +6814,9 @@ const _sfc_main$b = defineComponent({
6814
6814
  };
6815
6815
  }
6816
6816
  });
6817
- const _hoisted_1$6 = { class: "dao-table-resizer-separator" };
6817
+ const _hoisted_1$5 = { class: "dao-table-resizer-separator" };
6818
6818
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6819
- return openBlock(), createElementBlock("span", _hoisted_1$6, [
6819
+ return openBlock(), createElementBlock("span", _hoisted_1$5, [
6820
6820
  !_ctx.disabled ? (openBlock(), createElementBlock("span", {
6821
6821
  key: 0,
6822
6822
  class: "dao-table-resizer-handle",
@@ -6853,12 +6853,12 @@ const _sfc_main$a = defineComponent({
6853
6853
  },
6854
6854
  emits: ["close"]
6855
6855
  });
6856
- const _hoisted_1$5 = { class: "dao-tag" };
6856
+ const _hoisted_1$4 = { class: "dao-tag" };
6857
6857
  const _hoisted_2$3 = { class: "dao-tag__key" };
6858
6858
  const _hoisted_3$3 = { class: "dao-tag__value" };
6859
6859
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
6860
6860
  const _component_dao_icon = resolveComponent("dao-icon");
6861
- return openBlock(), createElementBlock("span", _hoisted_1$5, [
6861
+ return openBlock(), createElementBlock("span", _hoisted_1$4, [
6862
6862
  renderSlot(_ctx.$slots, "default", {}, () => [
6863
6863
  createElementVNode("span", null, [
6864
6864
  createElementVNode("span", _hoisted_2$3, [
@@ -7221,7 +7221,7 @@ const _sfc_main$8 = defineComponent({
7221
7221
  };
7222
7222
  }
7223
7223
  });
7224
- const _hoisted_1$4 = { class: "dao-toolbar" };
7224
+ const _hoisted_1$3 = { class: "dao-toolbar" };
7225
7225
  const _hoisted_2$2 = {
7226
7226
  key: 0,
7227
7227
  class: "dao-toolbar__filter"
@@ -7249,7 +7249,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
7249
7249
  "dao-toolbar-container--with-rounded": !_ctx.noRounded
7250
7250
  }])
7251
7251
  }, [
7252
- createElementVNode("div", _hoisted_1$4, [
7252
+ createElementVNode("div", _hoisted_1$3, [
7253
7253
  _ctx.$slots.filter ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
7254
7254
  renderSlot(_ctx.$slots, "filter", { classNames: {
7255
7255
  label: "dao-toolbar__filter-label",
@@ -7357,7 +7357,7 @@ const _sfc_main$7 = defineComponent({
7357
7357
  };
7358
7358
  }
7359
7359
  });
7360
- const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("img", {
7360
+ const _hoisted_1$2 = /* @__PURE__ */ createElementVNode("img", {
7361
7361
  src: _imports_0,
7362
7362
  alt: ""
7363
7363
  }, null, -1);
@@ -7366,7 +7366,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
7366
7366
  class: normalizeClass(["dao-empty", `dao-empty--${_ctx.type}`])
7367
7367
  }, [
7368
7368
  renderSlot(_ctx.$slots, "default", {}, () => [
7369
- _hoisted_1$3
7369
+ _hoisted_1$2
7370
7370
  ]),
7371
7371
  _ctx.$slots.title || _ctx.formattedTitle ? renderSlot(_ctx.$slots, "title", {
7372
7372
  key: 0,
@@ -8162,7 +8162,7 @@ const _sfc_main$5 = defineComponent({
8162
8162
  };
8163
8163
  }
8164
8164
  });
8165
- const _hoisted_1$2 = {
8165
+ const _hoisted_1$1 = {
8166
8166
  key: 0,
8167
8167
  class: "dao-table__toolbar"
8168
8168
  };
@@ -8216,7 +8216,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
8216
8216
  "dao-table-container--with-rounded": !_ctx.noRounded && _ctx.showToolbar
8217
8217
  }])
8218
8218
  }, [
8219
- _ctx.showToolbar ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
8219
+ _ctx.showToolbar ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
8220
8220
  createVNode(_component_dao_toolbar, {
8221
8221
  search: _ctx.searchModel,
8222
8222
  "onUpdate:search": _cache[0] || (_cache[0] = ($event) => _ctx.searchModel = $event),
@@ -8635,7 +8635,7 @@ const _sfc_main$3 = defineComponent({
8635
8635
  };
8636
8636
  }
8637
8637
  });
8638
- const _hoisted_1$1 = { class: "dao-tabs__nav__wrap" };
8638
+ const _hoisted_1 = { class: "dao-tabs__nav__wrap" };
8639
8639
  const _hoisted_2 = {
8640
8640
  key: 0,
8641
8641
  class: "dao-tabs__action"
@@ -8652,7 +8652,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
8652
8652
  createElementVNode("div", {
8653
8653
  class: normalizeClass(["dao-tabs__header", "dao-tabs__header--" + _ctx.type])
8654
8654
  }, [
8655
- createElementVNode("div", _hoisted_1$1, [
8655
+ createElementVNode("div", _hoisted_1, [
8656
8656
  createVNode(_component_tab_nav, {
8657
8657
  type: _ctx.type,
8658
8658
  "tab-list": _ctx.tabList,
@@ -8713,7 +8713,16 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
8713
8713
  ], 2);
8714
8714
  }
8715
8715
  var tabItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
8716
- const transferProps = {
8716
+ function simpleOmit(target, keys) {
8717
+ return Object.fromEntries(Object.entries(target).filter(([key]) => !keys.includes(key)));
8718
+ }
8719
+ const transferType = ["normal", "full"];
8720
+ const transferProps = __spreadProps(__spreadValues({
8721
+ type: {
8722
+ type: String,
8723
+ default: "normal",
8724
+ validator: (value) => transferType.includes(value)
8725
+ },
8717
8726
  source: {
8718
8727
  type: Array,
8719
8728
  default: () => []
@@ -8754,7 +8763,11 @@ const transferProps = {
8754
8763
  type: Object,
8755
8764
  default: () => ({})
8756
8765
  }
8757
- };
8766
+ }, simpleOmit(paginationProps, ["compact", "noShadow", "layout"])), {
8767
+ pageLayout: __spreadProps(__spreadValues({}, paginationProps.layout), {
8768
+ default: () => []
8769
+ })
8770
+ });
8758
8771
  const panelType = ["source", "target"];
8759
8772
  const transferPanelProp = {
8760
8773
  type: {
@@ -8794,24 +8807,20 @@ const _sfc_main$1 = defineComponent({
8794
8807
  DaoEmpty
8795
8808
  },
8796
8809
  props: transferPanelProp,
8797
- emits: ["selectedChange", "refresh", "checkAll"],
8810
+ emits: ["selectedChange", "search", "refresh", "checkAll"],
8798
8811
  setup(props, { slots, emit }) {
8799
8812
  const { t } = useI18n();
8800
8813
  const query = ref("");
8814
+ watch(query, (val) => emit("search", val));
8801
8815
  const labelProp = computed(() => props.props.label || "label");
8802
8816
  const keyProp = computed(() => props.props.key || "key");
8803
8817
  const descProp = computed(() => props.props.desc || "desc");
8804
8818
  const isSource = computed(() => props.type === "source");
8805
- const filteredData = computed(() => props.data.filter((item) => {
8806
- if (!props.filterable) {
8807
- return true;
8808
- }
8809
- if (typeof props.filterMethod === "function") {
8810
- return props.filterMethod(query.value, item);
8811
- }
8819
+ const filterFn = computed(() => typeof props.filterMethod === "function" ? props.filterMethod : (queryText, item) => {
8812
8820
  const label = item[labelProp.value] || item[keyProp.value];
8813
- return String(label).toLowerCase().includes(query.value.toLowerCase());
8814
- }));
8821
+ return String(label).toLowerCase().includes(queryText.toLowerCase());
8822
+ });
8823
+ const filteredData = computed(() => props.filterable ? props.data.filter((item) => filterFn.value(query.value, item)) : props.data);
8815
8824
  const checkedStatus = reactive({
8816
8825
  checked: false,
8817
8826
  indeterminate: false,
@@ -9038,11 +9047,11 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
9038
9047
  ], 2), [
9039
9048
  [vShow, _ctx.isEmpty]
9040
9049
  ]),
9041
- _ctx.hasFooter ? (openBlock(), createElementBlock("p", {
9050
+ _ctx.hasFooter ? (openBlock(), createElementBlock("div", {
9042
9051
  key: 2,
9043
9052
  class: normalizeClass(`${_ctx.ns}__footer`)
9044
9053
  }, [
9045
- renderSlot(_ctx.$slots, "footer")
9054
+ renderSlot(_ctx.$slots, "footer", { isEmpty: _ctx.isEmpty })
9046
9055
  ], 2)) : createCommentVNode("", true)
9047
9056
  ], 2);
9048
9057
  }
@@ -9052,27 +9061,54 @@ const _sfc_main = defineComponent({
9052
9061
  name: "DaoTransfer",
9053
9062
  components: {
9054
9063
  transferPanel,
9055
- DaoTextButton: _sfc_main$R
9064
+ DaoTextButton: _sfc_main$R,
9065
+ DaoPagination
9056
9066
  },
9057
9067
  props: transferProps,
9058
- emits: ["update:modelValue", "add", "clear", "change", "refresh", "checkAll"],
9068
+ emits: [
9069
+ "update:modelValue",
9070
+ "add",
9071
+ "clear",
9072
+ "change",
9073
+ "left-search",
9074
+ "right-search",
9075
+ "refresh",
9076
+ "checkAll",
9077
+ "update:current-page",
9078
+ "update:page-size",
9079
+ "next",
9080
+ "prev",
9081
+ "pageChange",
9082
+ "sizeChange"
9083
+ ],
9059
9084
  setup(props, { emit }) {
9060
9085
  const { t } = useI18n();
9061
9086
  const keyProp = computed(() => props.props.key || "key");
9062
9087
  const sourceData = computed(() => props.source || []);
9088
+ const sourceDataMap = ref(new Map());
9089
+ watch(sourceData, () => {
9090
+ sourceData.value.forEach((item) => {
9091
+ sourceDataMap.value.set(item[keyProp.value], item);
9092
+ });
9093
+ }, {
9094
+ immediate: true
9095
+ });
9063
9096
  const selectedKeys = useVModel(props, "modelValue", emit, {
9064
9097
  passive: true
9065
9098
  });
9066
- const targetData = computed(() => {
9067
- const _selectedKeys = new Set(selectedKeys.value);
9068
- return sourceData.value.reduce((pre, cur) => {
9069
- const key = cur == null ? void 0 : cur[keyProp.value];
9070
- if (_selectedKeys.has(key)) {
9071
- pre.push(cur);
9072
- }
9073
- return pre;
9074
- }, []);
9099
+ const currentPage = useVModel(props, "currentPage", emit, {
9100
+ eventName: "update:current-page"
9101
+ });
9102
+ const pageSize = useVModel(props, "pageSize", emit, {
9103
+ eventName: "update:page-size"
9075
9104
  });
9105
+ const targetData = computed(() => selectedKeys.value.reduce((pre, key) => {
9106
+ const target = sourceDataMap.value.get(key);
9107
+ if (target) {
9108
+ pre.push(target);
9109
+ }
9110
+ return pre;
9111
+ }, []));
9076
9112
  const onChange = ({
9077
9113
  direction,
9078
9114
  row
@@ -9103,12 +9139,10 @@ const _sfc_main = defineComponent({
9103
9139
  checked,
9104
9140
  checkableList
9105
9141
  }) => {
9106
- const curOperatingKeys = checkableList;
9107
9142
  if (checked) {
9108
- const selectedKeysSet = new Set(selectedKeys.value.concat(curOperatingKeys));
9109
- selectedKeys.value = [...selectedKeysSet];
9143
+ selectedKeys.value = [...new Set(selectedKeys.value.concat(checkableList))];
9110
9144
  } else {
9111
- selectedKeys.value = selectedKeys.value.filter((key) => !curOperatingKeys.includes(key));
9145
+ selectedKeys.value = selectedKeys.value.filter((key) => !checkableList.includes(key));
9112
9146
  emit("clear", selectedKeys.value);
9113
9147
  }
9114
9148
  emit("checkAll", selectedKeys.value);
@@ -9118,18 +9152,22 @@ const _sfc_main = defineComponent({
9118
9152
  sourceData,
9119
9153
  targetData,
9120
9154
  selectedKeys,
9155
+ currentPage,
9156
+ pageSize,
9121
9157
  onChange,
9122
9158
  onClear,
9123
9159
  onCheckAll
9124
9160
  };
9125
9161
  }
9126
9162
  });
9127
- const _hoisted_1 = { class: "dao-transfer" };
9128
9163
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9129
- var _a2, _b2, _c, _d, _e, _f, _g, _h;
9164
+ var _a2, _b2, _c, _d, _e, _f, _g, _h, _i;
9165
+ const _component_dao_pagination = resolveComponent("dao-pagination");
9130
9166
  const _component_transfer_panel = resolveComponent("transfer-panel");
9131
9167
  const _component_dao_text_button = resolveComponent("dao-text-button");
9132
- return openBlock(), createElementBlock("div", _hoisted_1, [
9168
+ return openBlock(), createElementBlock("div", {
9169
+ class: normalizeClass(["dao-transfer", `dao-transfer--${_ctx.type}`])
9170
+ }, [
9133
9171
  createVNode(_component_transfer_panel, {
9134
9172
  ref: "leftPanel",
9135
9173
  type: "source",
@@ -9142,8 +9180,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9142
9180
  "disabled-keys": _ctx.disabledKeys,
9143
9181
  props: _ctx.props,
9144
9182
  onSelectedChange: _ctx.onChange,
9145
- onRefresh: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("refresh")),
9146
- onCheckAll: _ctx.onCheckAll
9183
+ onRefresh: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("refresh")),
9184
+ onCheckAll: _ctx.onCheckAll,
9185
+ onSearch: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("left-search", $event))
9147
9186
  }, createSlots({ _: 2 }, [
9148
9187
  _ctx.$slots["left-header"] ? {
9149
9188
  name: "header",
@@ -9182,10 +9221,30 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9182
9221
  renderSlot(_ctx.$slots, "left-empty")
9183
9222
  ])
9184
9223
  } : void 0,
9185
- ((_d = _ctx.$slots) == null ? void 0 : _d["left-footer"]) ? {
9224
+ ((_d = _ctx.$slots) == null ? void 0 : _d["left-footer"]) || ((_e = _ctx.pageLayout) == null ? void 0 : _e.length) ? {
9186
9225
  name: "footer",
9187
- fn: withCtx(() => [
9188
- renderSlot(_ctx.$slots, "left-footer")
9226
+ fn: withCtx(({ isEmpty: isEmpty2 }) => [
9227
+ renderSlot(_ctx.$slots, "left-footer", {}, () => [
9228
+ !isEmpty2 ? (openBlock(), createBlock(_component_dao_pagination, {
9229
+ key: 0,
9230
+ "current-page": _ctx.currentPage,
9231
+ "onUpdate:current-page": _cache[0] || (_cache[0] = ($event) => _ctx.currentPage = $event),
9232
+ "page-size": _ctx.pageSize,
9233
+ "onUpdate:page-size": _cache[1] || (_cache[1] = ($event) => _ctx.pageSize = $event),
9234
+ class: "dao-pagination--transfer",
9235
+ "page-size-options": _ctx.pageSizeOptions,
9236
+ "page-format": _ctx.pageFormat,
9237
+ total: _ctx.total,
9238
+ "total-format": _ctx.totalFormat,
9239
+ layout: _ctx.pageLayout,
9240
+ "page-sizer-width": _ctx.pageSizerWidth,
9241
+ "no-shadow": "",
9242
+ onNext: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("next", $event)),
9243
+ onPrev: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("prev", $event)),
9244
+ onPageChange: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("pageChange", $event)),
9245
+ onSizeChange: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("sizeChange", $event))
9246
+ }, null, 8, ["current-page", "page-size", "page-size-options", "page-format", "total", "total-format", "layout", "page-sizer-width"])) : createCommentVNode("", true)
9247
+ ])
9189
9248
  ])
9190
9249
  } : void 0
9191
9250
  ]), 1032, ["hide-desc", "data", "checked-keys", "filterable", "filter-method", "filter-placeholder", "disabled-keys", "props", "onSelectedChange", "onCheckAll"]),
@@ -9194,12 +9253,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9194
9253
  type: "target",
9195
9254
  "hide-desc": _ctx.hideDesc,
9196
9255
  data: _ctx.targetData,
9197
- filterable: (_e = _ctx.filterable) == null ? void 0 : _e[1],
9198
- "filter-method": (_f = _ctx.filterMethod) == null ? void 0 : _f[1],
9199
- "filter-placeholder": (_g = _ctx.filterPlaceholder) == null ? void 0 : _g[1],
9256
+ filterable: (_f = _ctx.filterable) == null ? void 0 : _f[1],
9257
+ "filter-method": (_g = _ctx.filterMethod) == null ? void 0 : _g[1],
9258
+ "filter-placeholder": (_h = _ctx.filterPlaceholder) == null ? void 0 : _h[1],
9200
9259
  "disabled-keys": _ctx.disabledKeys,
9201
9260
  props: _ctx.props,
9202
- onSelectedChange: _ctx.onChange
9261
+ onSelectedChange: _ctx.onChange,
9262
+ onSearch: _cache[8] || (_cache[8] = ($event) => _ctx.$emit("right-search", $event))
9203
9263
  }, createSlots({ _: 2 }, [
9204
9264
  _ctx.$slots["right-header"] ? {
9205
9265
  name: "header",
@@ -9249,14 +9309,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9249
9309
  renderSlot(_ctx.$slots, "right-empty")
9250
9310
  ])
9251
9311
  } : void 0,
9252
- ((_h = _ctx.$slots) == null ? void 0 : _h["right-footer"]) ? {
9312
+ ((_i = _ctx.$slots) == null ? void 0 : _i["right-footer"]) ? {
9253
9313
  name: "footer",
9254
9314
  fn: withCtx(() => [
9255
9315
  renderSlot(_ctx.$slots, "right-footer")
9256
9316
  ])
9257
9317
  } : void 0
9258
9318
  ]), 1032, ["hide-desc", "data", "filterable", "filter-method", "filter-placeholder", "disabled-keys", "props", "onSelectedChange"])
9259
- ]);
9319
+ ], 2);
9260
9320
  }
9261
9321
  var transfer = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
9262
9322
  var components = /* @__PURE__ */ Object.freeze({