@maxax/ui 1.1.78 → 1.1.80

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.
package/dist/index.cjs CHANGED
@@ -4049,7 +4049,7 @@ const useZIndex = (zIndexOverrides) => {
4049
4049
  nextZIndex
4050
4050
  };
4051
4051
  };
4052
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
4052
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
4053
4053
  __name: "better-scroll",
4054
4054
  props: {
4055
4055
  options: {}
@@ -5775,7 +5775,7 @@ const Icon = vue.defineComponent((props, { emit }) => {
5775
5775
  emits: ["load"]
5776
5776
  });
5777
5777
  const _hoisted_1$e = ["xlink:href"];
5778
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
5778
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
5779
5779
  __name: "BasicSvgIcon",
5780
5780
  props: {
5781
5781
  icon: {},
@@ -5821,8 +5821,8 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
5821
5821
  };
5822
5822
  }
5823
5823
  });
5824
- const XBasicSvgIcon = utils.withInstall(_sfc_main$12);
5825
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
5824
+ const XBasicSvgIcon = utils.withInstall(_sfc_main$13);
5825
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
5826
5826
  ...{
5827
5827
  inheritAttrs: false
5828
5828
  },
@@ -5871,7 +5871,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
5871
5871
  };
5872
5872
  }
5873
5873
  });
5874
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5874
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
5875
5875
  __name: "full-screen",
5876
5876
  props: {
5877
5877
  full: { type: Boolean }
@@ -5879,7 +5879,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5879
5879
  setup(__props) {
5880
5880
  const { t: t2 } = useLocale();
5881
5881
  return (_ctx, _cache) => {
5882
- return vue.openBlock(), vue.createBlock(_sfc_main$11, {
5882
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
5883
5883
  key: String(__props.full),
5884
5884
  "tooltip-content": __props.full ? vue.unref(t2)("max.icon.fullscreenExit") : vue.unref(t2)("max.icon.fullscreen")
5885
5885
  }, {
@@ -5897,7 +5897,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5897
5897
  };
5898
5898
  }
5899
5899
  });
5900
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
5900
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
5901
5901
  __name: "icon-tooltip",
5902
5902
  props: {
5903
5903
  icon: { default: "mdi-help-circle" },
@@ -5937,7 +5937,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
5937
5937
  };
5938
5938
  }
5939
5939
  });
5940
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
5940
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
5941
5941
  __name: "menu-toggler",
5942
5942
  props: {
5943
5943
  collapsed: { type: Boolean },
@@ -5963,7 +5963,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
5963
5963
  return icons[arrowIcon][collapsed];
5964
5964
  });
5965
5965
  return (_ctx, _cache) => {
5966
- return vue.openBlock(), vue.createBlock(_sfc_main$11, {
5966
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
5967
5967
  key: String(__props.collapsed),
5968
5968
  "tooltip-content": __props.collapsed ? vue.unref(t2)("max.icon.expand") : vue.unref(t2)("max.icon.collapse"),
5969
5969
  "tooltip-placement": "bottom-start",
@@ -5977,7 +5977,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
5977
5977
  };
5978
5978
  }
5979
5979
  });
5980
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
5980
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
5981
5981
  __name: "pin-toggler",
5982
5982
  props: {
5983
5983
  pin: { type: Boolean }
@@ -5987,7 +5987,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
5987
5987
  const { t: t2 } = useLocale();
5988
5988
  const icon = vue.computed(() => props.pin ? "mdi-pin-off" : "mdi-pin");
5989
5989
  return (_ctx, _cache) => {
5990
- return vue.openBlock(), vue.createBlock(_sfc_main$11, {
5990
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
5991
5991
  "tooltip-content": __props.pin ? vue.unref(t2)("max.icon.unpin") : vue.unref(t2)("max.icon.pin"),
5992
5992
  "tooltip-placement": "bottom-start",
5993
5993
  "z-index": 100
@@ -6000,7 +6000,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
6000
6000
  };
6001
6001
  }
6002
6002
  });
6003
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6003
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
6004
6004
  __name: "reload-button",
6005
6005
  props: {
6006
6006
  loading: { type: Boolean }
@@ -6009,7 +6009,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6009
6009
  const { t: t2 } = useLocale();
6010
6010
  const { b } = useNamespace("reload-button");
6011
6011
  return (_ctx, _cache) => {
6012
- return vue.openBlock(), vue.createBlock(_sfc_main$11, {
6012
+ return vue.openBlock(), vue.createBlock(_sfc_main$12, {
6013
6013
  "tooltip-content": vue.unref(t2)("max.icon.reload")
6014
6014
  }, {
6015
6015
  default: vue.withCtx(() => [
@@ -6023,14 +6023,14 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6023
6023
  };
6024
6024
  }
6025
6025
  });
6026
- const XCommonBetterScroll = utils.withInstall(_sfc_main$13);
6027
- const XCommonButtonIcon = utils.withInstall(_sfc_main$11);
6028
- const XCommonFullScreen = utils.withInstall(_sfc_main$10);
6029
- const XCommonIconTooltip = utils.withInstall(_sfc_main$$);
6030
- const XCommonMenuToggler = utils.withInstall(_sfc_main$_);
6031
- const XCommonPinToggler = utils.withInstall(_sfc_main$Z);
6032
- const XCommonReloadButton = utils.withInstall(_sfc_main$Y);
6033
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
6026
+ const XCommonBetterScroll = utils.withInstall(_sfc_main$14);
6027
+ const XCommonButtonIcon = utils.withInstall(_sfc_main$12);
6028
+ const XCommonFullScreen = utils.withInstall(_sfc_main$11);
6029
+ const XCommonIconTooltip = utils.withInstall(_sfc_main$10);
6030
+ const XCommonMenuToggler = utils.withInstall(_sfc_main$$);
6031
+ const XCommonPinToggler = utils.withInstall(_sfc_main$_);
6032
+ const XCommonReloadButton = utils.withInstall(_sfc_main$Z);
6033
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6034
6034
  __name: "BasicButton",
6035
6035
  props: {
6036
6036
  icon: {}
@@ -6060,7 +6060,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
6060
6060
  };
6061
6061
  }
6062
6062
  });
6063
- const XBasicButton = utils.withInstall(_sfc_main$X);
6063
+ const XBasicButton = utils.withInstall(_sfc_main$Y);
6064
6064
  !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
6065
6065
  !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
6066
6066
  const hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -6281,7 +6281,7 @@ const basicMessageBoxProps = {
6281
6281
  default: ""
6282
6282
  }
6283
6283
  };
6284
- const _sfc_main$W = vue.defineComponent({
6284
+ const _sfc_main$X = vue.defineComponent({
6285
6285
  components: {
6286
6286
  NButton: naiveUi.NButton,
6287
6287
  NInput: naiveUi.NInput,
@@ -6689,7 +6689,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6689
6689
  _: 3
6690
6690
  });
6691
6691
  }
6692
- const MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$2]]);
6692
+ const MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$2]]);
6693
6693
  const messageInstance = /* @__PURE__ */ new Map();
6694
6694
  const getAppendToElement = (props) => {
6695
6695
  let appendTo = document.body;
@@ -6815,7 +6815,7 @@ MessageBox.close = () => {
6815
6815
  MessageBox._context = null;
6816
6816
  const $MessageBox = MessageBox;
6817
6817
  const XBasicMessageBox = $MessageBox;
6818
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
6818
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
6819
6819
  __name: "BasicActionFooter",
6820
6820
  props: {
6821
6821
  showDeleteButton: { type: Boolean, default: false },
@@ -6897,8 +6897,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
6897
6897
  };
6898
6898
  }
6899
6899
  });
6900
- const XBasicActionFooter = utils.withInstall(_sfc_main$V);
6901
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
6900
+ const XBasicActionFooter = utils.withInstall(_sfc_main$W);
6901
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
6902
6902
  __name: "BasicArrow",
6903
6903
  props: {
6904
6904
  expand: { type: Boolean },
@@ -6930,8 +6930,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
6930
6930
  };
6931
6931
  }
6932
6932
  });
6933
- const XBasicArrow = utils.withInstall(_sfc_main$U);
6934
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6933
+ const XBasicArrow = utils.withInstall(_sfc_main$V);
6934
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
6935
6935
  __name: "BasicBoolIcon",
6936
6936
  props: {
6937
6937
  value: { type: [Boolean, null] },
@@ -6978,8 +6978,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6978
6978
  };
6979
6979
  }
6980
6980
  });
6981
- const XBasicBoolIcon = utils.withInstall(_sfc_main$T);
6982
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
6981
+ const XBasicBoolIcon = utils.withInstall(_sfc_main$U);
6982
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
6983
6983
  __name: "BasicButtonCreate",
6984
6984
  emits: ["click"],
6985
6985
  setup(__props, { emit: __emit }) {
@@ -7004,7 +7004,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
7004
7004
  };
7005
7005
  }
7006
7006
  });
7007
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
7007
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
7008
7008
  __name: "BasicButtonDelete",
7009
7009
  emits: ["click"],
7010
7010
  setup(__props, { emit: __emit }) {
@@ -7029,7 +7029,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
7029
7029
  };
7030
7030
  }
7031
7031
  });
7032
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
7032
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
7033
7033
  __name: "BasicButtonDrop",
7034
7034
  props: {
7035
7035
  disabled: { type: Boolean },
@@ -7094,7 +7094,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
7094
7094
  };
7095
7095
  }
7096
7096
  });
7097
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
7097
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
7098
7098
  __name: "BasicButtonEdit",
7099
7099
  emits: ["click"],
7100
7100
  setup(__props, { emit: __emit }) {
@@ -7119,7 +7119,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
7119
7119
  };
7120
7120
  }
7121
7121
  });
7122
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
7122
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
7123
7123
  __name: "BasicButtonExport",
7124
7124
  props: {
7125
7125
  href: {},
@@ -7170,7 +7170,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
7170
7170
  };
7171
7171
  }
7172
7172
  });
7173
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
7173
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
7174
7174
  __name: "BasicButtonExportDrop",
7175
7175
  props: {
7176
7176
  disabled: { type: Boolean },
@@ -7194,7 +7194,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
7194
7194
  emit("click", key2);
7195
7195
  }
7196
7196
  return (_ctx, _cache) => {
7197
- return vue.openBlock(), vue.createBlock(_sfc_main$Q, {
7197
+ return vue.openBlock(), vue.createBlock(_sfc_main$R, {
7198
7198
  icon: __props.icon,
7199
7199
  options: cOptions.value,
7200
7200
  onClick: handleClick
@@ -7208,7 +7208,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
7208
7208
  }
7209
7209
  });
7210
7210
  const _hoisted_1$c = ["multiple", "name", "accept"];
7211
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
7211
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
7212
7212
  __name: "BasicButtonImport",
7213
7213
  props: {
7214
7214
  name: { default: "file" },
@@ -7305,7 +7305,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
7305
7305
  };
7306
7306
  }
7307
7307
  });
7308
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
7308
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
7309
7309
  __name: "BasicButtonPrint",
7310
7310
  emits: ["click"],
7311
7311
  setup(__props, { emit: __emit }) {
@@ -7330,19 +7330,19 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
7330
7330
  };
7331
7331
  }
7332
7332
  });
7333
- const XBasicButtonCreate = utils.withInstall(_sfc_main$S);
7334
- const XBasicButtonEdit = utils.withInstall(_sfc_main$P);
7335
- const XBasicButtonDelete = utils.withInstall(_sfc_main$R);
7336
- const XBasicButtonExport = utils.withInstall(_sfc_main$O);
7337
- const XBasicButtonImport = utils.withInstall(_sfc_main$M);
7338
- const XBasicButtonPrint = utils.withInstall(_sfc_main$L);
7339
- const XBasicButtonDrop = utils.withInstall(_sfc_main$Q);
7340
- const XBasicButtonExportDrop = utils.withInstall(_sfc_main$N);
7333
+ const XBasicButtonCreate = utils.withInstall(_sfc_main$T);
7334
+ const XBasicButtonEdit = utils.withInstall(_sfc_main$Q);
7335
+ const XBasicButtonDelete = utils.withInstall(_sfc_main$S);
7336
+ const XBasicButtonExport = utils.withInstall(_sfc_main$P);
7337
+ const XBasicButtonImport = utils.withInstall(_sfc_main$N);
7338
+ const XBasicButtonPrint = utils.withInstall(_sfc_main$M);
7339
+ const XBasicButtonDrop = utils.withInstall(_sfc_main$R);
7340
+ const XBasicButtonExportDrop = utils.withInstall(_sfc_main$O);
7341
7341
  const _hoisted_1$b = ["id"];
7342
7342
  const _hoisted_2$3 = ["textContent"];
7343
7343
  const _hoisted_3 = { key: 0 };
7344
7344
  const _hoisted_4 = ["innerHTML"];
7345
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
7345
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
7346
7346
  __name: "BasicNotification",
7347
7347
  props: {
7348
7348
  customClass: { default: "" },
@@ -7529,7 +7529,7 @@ const notify = (options, context) => {
7529
7529
  appendTo = document.body;
7530
7530
  }
7531
7531
  const container = document.createElement("div");
7532
- const vm = vue.createVNode(_sfc_main$K, props, utils.isFunction(props.message) ? props.message : vue.isVNode(props.message) ? () => props.message : null);
7532
+ const vm = vue.createVNode(_sfc_main$L, props, utils.isFunction(props.message) ? props.message : vue.isVNode(props.message) ? () => props.message : null);
7533
7533
  vm.appContext = utils.isUndefined(context) ? notify._context : context;
7534
7534
  vm.props.onDestroy = () => {
7535
7535
  vue.render(null, container);
@@ -7587,7 +7587,7 @@ notify.closeAll = closeAll;
7587
7587
  notify._context = null;
7588
7588
  const $Notification = notify;
7589
7589
  const XBasicNotification = $Notification;
7590
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
7590
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
7591
7591
  __name: "BasicButtonExportMax",
7592
7592
  props: {
7593
7593
  drop: { type: Boolean, default: true },
@@ -7672,7 +7672,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
7672
7672
  }
7673
7673
  return (_ctx, _cache) => {
7674
7674
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
7675
- __props.drop ? (vue.openBlock(), vue.createBlock(_sfc_main$Q, vue.mergeProps({
7675
+ __props.drop ? (vue.openBlock(), vue.createBlock(_sfc_main$R, vue.mergeProps({
7676
7676
  key: 0,
7677
7677
  icon: __props.icon,
7678
7678
  options: cOptions.value,
@@ -7724,11 +7724,11 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
7724
7724
  };
7725
7725
  }
7726
7726
  });
7727
- const XBasicButtonExportMax = utils.withInstall(_sfc_main$J);
7727
+ const XBasicButtonExportMax = utils.withInstall(_sfc_main$K);
7728
7728
  function _isSlot$3(s) {
7729
7729
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
7730
7730
  }
7731
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
7731
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
7732
7732
  name: "ButtonGroupItem",
7733
7733
  props: {
7734
7734
  schema: {
@@ -8104,7 +8104,7 @@ function useButtonGroupSchema({ getProps, schemaRef }) {
8104
8104
  });
8105
8105
  return { getSchema };
8106
8106
  }
8107
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
8107
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
8108
8108
  __name: "BasicButtonGroup",
8109
8109
  props: {
8110
8110
  showReturnButton: { type: Boolean, default: true },
@@ -8196,7 +8196,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
8196
8196
  }, [
8197
8197
  vue.renderSlot(_ctx.$slots, "left-left"),
8198
8198
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getLeftSchema.value, (schema) => {
8199
- return vue.openBlock(), vue.createBlock(_sfc_main$I, {
8199
+ return vue.openBlock(), vue.createBlock(_sfc_main$J, {
8200
8200
  key: schema.field,
8201
8201
  schema,
8202
8202
  "button-group-action-type": buttonGroupActionType,
@@ -8221,7 +8221,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
8221
8221
  }, [
8222
8222
  vue.renderSlot(_ctx.$slots, "right-left"),
8223
8223
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getRightSchema.value, (schema) => {
8224
- return vue.openBlock(), vue.createBlock(_sfc_main$I, {
8224
+ return vue.openBlock(), vue.createBlock(_sfc_main$J, {
8225
8225
  key: schema.field,
8226
8226
  schema,
8227
8227
  "button-group-action-type": buttonGroupActionType,
@@ -8244,7 +8244,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
8244
8244
  };
8245
8245
  }
8246
8246
  });
8247
- const XBasicButtonGroup = utils.withInstall(_sfc_main$H);
8247
+ const XBasicButtonGroup = utils.withInstall(_sfc_main$I);
8248
8248
  const ROW_KEY$1 = "_MAX_ROW_KEY";
8249
8249
  const PAGE_SIZE_OPTIONS$1 = [10, 50, 80, 100];
8250
8250
  const PAGE_SIZE$1 = 10;
@@ -9206,7 +9206,7 @@ function useTableForm(propsRef, { fetch: fetch2, getLoading, setPagination, setS
9206
9206
  };
9207
9207
  }
9208
9208
  const _hoisted_1$a = { class: "max-table-selection-count" };
9209
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9209
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9210
9210
  __name: "BasicTable",
9211
9211
  props: {
9212
9212
  layouts: {},
@@ -9272,7 +9272,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9272
9272
  isCalcHeader: true,
9273
9273
  isCalcBody: false,
9274
9274
  // 不自适应计算宽度
9275
- isCalcFooter: true
9275
+ isCalcFooter: false
9276
9276
  }
9277
9277
  }) },
9278
9278
  rowConfig: { default: () => ({
@@ -9796,7 +9796,7 @@ const MaxUI = {
9796
9796
  t
9797
9797
  };
9798
9798
  const _hoisted_1$9 = ["title"];
9799
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9799
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9800
9800
  __name: "BasicText",
9801
9801
  props: {
9802
9802
  icon: { default: "" },
@@ -9836,7 +9836,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9836
9836
  class: vue.normalizeClass(basicTextClass.value),
9837
9837
  title: vue.unref(utils.isString)(vue.unref(mergedValueRef)) ? vue.unref(mergedValueRef) : void 0
9838
9838
  }, [
9839
- __props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$12, {
9839
+ __props.icon ? (vue.openBlock(), vue.createBlock(_sfc_main$13, {
9840
9840
  key: 0,
9841
9841
  icon: __props.icon,
9842
9842
  class: vue.normalizeClass(__props.iconClass),
@@ -9849,8 +9849,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9849
9849
  };
9850
9850
  }
9851
9851
  });
9852
- const XBasicText = utils.withInstall(_sfc_main$F);
9853
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9852
+ const XBasicText = utils.withInstall(_sfc_main$G);
9853
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9854
9854
  __name: "BasicCard",
9855
9855
  props: {
9856
9856
  title: {},
@@ -9889,8 +9889,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9889
9889
  };
9890
9890
  }
9891
9891
  });
9892
- const XBasicCard = utils.withInstall(_sfc_main$E);
9893
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9892
+ const XBasicCard = utils.withInstall(_sfc_main$F);
9893
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9894
9894
  ...{
9895
9895
  inheritAttrs: false
9896
9896
  },
@@ -10015,7 +10015,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
10015
10015
  }
10016
10016
  });
10017
10017
  const basicCascaderProps = {};
10018
- const XBasicCascader = utils.withInstall(_sfc_main$D);
10018
+ const XBasicCascader = utils.withInstall(_sfc_main$E);
10019
10019
  const basicCheckboxGroupKey = Symbol("basic-checkbox-group");
10020
10020
  const createBasicCheckboxGroupContext = (props) => {
10021
10021
  return vue.provide(basicCheckboxGroupKey, props);
@@ -10036,7 +10036,7 @@ const IconCheck = /* @__PURE__ */ vue.defineComponent({
10036
10036
  }, null)]);
10037
10037
  }
10038
10038
  });
10039
- const _sfc_main$C = vue.defineComponent({
10039
+ const _sfc_main$D = vue.defineComponent({
10040
10040
  name: "IconHover",
10041
10041
  props: {
10042
10042
  disabled: {
@@ -10064,7 +10064,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
10064
10064
  vue.renderSlot(_ctx.$slots, "default")
10065
10065
  ], 2);
10066
10066
  }
10067
- const IconHover = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$1]]);
10067
+ const IconHover = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$1]]);
10068
10068
  const basicCheckboxProps = {
10069
10069
  /**
10070
10070
  * @zh 绑定值
@@ -10737,7 +10737,7 @@ const BasicCol = /* @__PURE__ */ vue.defineComponent({
10737
10737
  }
10738
10738
  });
10739
10739
  const XBasicCol = utils.withInstall(BasicCol);
10740
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10740
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
10741
10741
  __name: "BasicCountTo",
10742
10742
  props: {
10743
10743
  startValue: { default: 0 },
@@ -10798,8 +10798,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10798
10798
  };
10799
10799
  }
10800
10800
  });
10801
- const XBasicCountTo = utils.withInstall(_sfc_main$B);
10802
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10801
+ const XBasicCountTo = utils.withInstall(_sfc_main$C);
10802
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
10803
10803
  __name: "BasicDatePicker",
10804
10804
  props: {
10805
10805
  disabled: { type: Boolean, default: false },
@@ -10859,7 +10859,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10859
10859
  };
10860
10860
  }
10861
10861
  });
10862
- const XBasicDatePicker = utils.withInstall(_sfc_main$A);
10862
+ const XBasicDatePicker = utils.withInstall(_sfc_main$B);
10863
10863
  const basicDragVerifyProps = {
10864
10864
  value: {
10865
10865
  type: Boolean,
@@ -10906,7 +10906,7 @@ const basicDragVerifyProps = {
10906
10906
  default: () => ({})
10907
10907
  }
10908
10908
  };
10909
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
10909
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
10910
10910
  name: "BasicDragVerify",
10911
10911
  props: basicDragVerifyProps,
10912
10912
  emits: ["success", "update:value", "change", "start", "move", "end"],
@@ -11209,7 +11209,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
11209
11209
  };
11210
11210
  }
11211
11211
  });
11212
- const XBasicDragVerify = utils.withInstall(_sfc_main$z);
11212
+ const XBasicDragVerify = utils.withInstall(_sfc_main$A);
11213
11213
  const basicHelpProps = {
11214
11214
  /**
11215
11215
  * Whether to display the serial number
@@ -11225,7 +11225,7 @@ const basicHelpProps = {
11225
11225
  default: ""
11226
11226
  }
11227
11227
  };
11228
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11228
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
11229
11229
  name: "BasicHelp",
11230
11230
  components: {
11231
11231
  XBasicSvgIcon
@@ -11271,8 +11271,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11271
11271
  });
11272
11272
  }
11273
11273
  });
11274
- const XBasicHelp = utils.withInstall(_sfc_main$y);
11275
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11274
+ const XBasicHelp = utils.withInstall(_sfc_main$z);
11275
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
11276
11276
  __name: "BasicTitle",
11277
11277
  props: {
11278
11278
  helpMessage: {},
@@ -11315,12 +11315,12 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11315
11315
  };
11316
11316
  }
11317
11317
  });
11318
- const XBasicTitle = utils.withInstall(_sfc_main$x);
11318
+ const XBasicTitle = utils.withInstall(_sfc_main$y);
11319
11319
  const _hoisted_1$8 = {
11320
11320
  key: 0,
11321
11321
  class: "footer-wrapper"
11322
11322
  };
11323
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11323
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
11324
11324
  __name: "BasicDrawer",
11325
11325
  props: {
11326
11326
  showCancelBtn: { type: Boolean, default: true },
@@ -11494,8 +11494,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11494
11494
  };
11495
11495
  }
11496
11496
  });
11497
- const XBasicDrawer = utils.withInstall(_sfc_main$w);
11498
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11497
+ const XBasicDrawer = utils.withInstall(_sfc_main$x);
11498
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
11499
11499
  __name: "BasicDrawerFooter",
11500
11500
  props: {
11501
11501
  showDeleteButton: { type: Boolean, default: false },
@@ -11572,7 +11572,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11572
11572
  };
11573
11573
  }
11574
11574
  });
11575
- const XBasicDrawerFooter = utils.withInstall(_sfc_main$v);
11575
+ const XBasicDrawerFooter = utils.withInstall(_sfc_main$w);
11576
11576
  const basicEditBatchKey = Symbol("basic-edit-batch");
11577
11577
  const createBasicEditBatchContext = (props) => {
11578
11578
  return vue.provide(basicEditBatchKey, props);
@@ -11581,7 +11581,7 @@ const useBasicEditBatchContext = () => {
11581
11581
  return vue.inject(basicEditBatchKey);
11582
11582
  };
11583
11583
  const _hoisted_1$7 = ["disabled"];
11584
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11584
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
11585
11585
  __name: "EditBatchAction",
11586
11586
  props: {
11587
11587
  disabled: { type: Boolean, default: false },
@@ -11641,7 +11641,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11641
11641
  };
11642
11642
  }
11643
11643
  });
11644
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11644
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
11645
11645
  __name: "BasicHidden",
11646
11646
  props: {
11647
11647
  value: {},
@@ -11668,7 +11668,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
11668
11668
  };
11669
11669
  }
11670
11670
  });
11671
- const XBasicHidden = utils.withInstall(_sfc_main$t);
11671
+ const XBasicHidden = utils.withInstall(_sfc_main$u);
11672
11672
  const basicRadioGroupKey = Symbol("basic-radio-group");
11673
11673
  const createBasicRadioGroupContext = (props) => {
11674
11674
  return vue.provide(basicRadioGroupKey, props);
@@ -12060,7 +12060,7 @@ const BasicRadioGroup = /* @__PURE__ */ vue.defineComponent({
12060
12060
  }
12061
12061
  });
12062
12062
  const XBasicRadioGroup = utils.withInstall(BasicRadioGroup);
12063
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
12063
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
12064
12064
  ...{
12065
12065
  inheritAttrs: false
12066
12066
  },
@@ -12186,7 +12186,135 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
12186
12186
  }
12187
12187
  });
12188
12188
  const basicSelectProps = {};
12189
- const XBasicSelect = utils.withInstall(_sfc_main$s);
12189
+ const XBasicSelect = utils.withInstall(_sfc_main$t);
12190
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
12191
+ ...{
12192
+ inheritAttrs: false
12193
+ },
12194
+ __name: "BasicTransfer",
12195
+ props: {
12196
+ defaultValue: {},
12197
+ value: {},
12198
+ options: { default: () => [] },
12199
+ labelField: { type: [String, Number, Function], default: "label" },
12200
+ valueField: { type: [String, Number, Function], default: "value" },
12201
+ disabled: { type: Boolean },
12202
+ immediate: { type: Boolean, default: true },
12203
+ api: { type: Function, default: void 0 },
12204
+ dynamicApi: { type: Function, default: void 0 },
12205
+ beforeFetch: {},
12206
+ afterFetch: {},
12207
+ handleSearchInfoFn: {},
12208
+ searchInfo: {},
12209
+ fetchSetting: { default: () => ({ listField: "resultList" }) }
12210
+ },
12211
+ setup(__props, { expose: __expose }) {
12212
+ const props = __props;
12213
+ const { b } = useNamespace("basic-transfer");
12214
+ const loading = vue.ref(false);
12215
+ const dataSourceRef = vue.ref([]);
12216
+ const rawDataSourceRef = vue.ref({});
12217
+ const searchInfoRef = vue.ref({});
12218
+ const uncontrolledValueRef = vue.ref(props.defaultValue);
12219
+ const controlledValueRef = vue.toRef(props, "value");
12220
+ const mergedValueRef = hooks.useMergedState(controlledValueRef, uncontrolledValueRef);
12221
+ const attrs = vue.useAttrs();
12222
+ const getOptions = vue.computed(() => {
12223
+ const { labelField, valueField } = props;
12224
+ const source = vue.unref(dataSourceRef).length > 0 ? vue.unref(dataSourceRef) : props.options;
12225
+ return source.reduce((prev, next) => {
12226
+ var _a;
12227
+ if (next) {
12228
+ prev.push({
12229
+ ...next,
12230
+ label: String((_a = utils.getValueKey(labelField, next)) != null ? _a : ""),
12231
+ value: utils.getValueKey(valueField, next)
12232
+ });
12233
+ }
12234
+ return prev;
12235
+ }, []);
12236
+ });
12237
+ const computedProps = vue.computed(() => {
12238
+ return {
12239
+ ...attrs,
12240
+ ...lodashEs.omit(props, ["options", "labelField", "valueField", "value", "defaultValue"]),
12241
+ options: vue.unref(getOptions),
12242
+ loading: loading.value
12243
+ };
12244
+ });
12245
+ vue.watch(
12246
+ () => props.searchInfo,
12247
+ () => {
12248
+ fetch2();
12249
+ },
12250
+ { deep: true, immediate: props.immediate }
12251
+ );
12252
+ async function fetch2(opt) {
12253
+ const { api, dynamicApi, searchInfo, fetchSetting, beforeFetch, afterFetch, handleSearchInfoFn } = props;
12254
+ if (!api && !dynamicApi || loading.value) return;
12255
+ try {
12256
+ loading.value = true;
12257
+ const { listField } = { listField: "resultList", ...fetchSetting };
12258
+ const searchInfoParams = handleSearchInfoFn ? handleSearchInfoFn() : {};
12259
+ let params = lodashEs.merge(searchInfoParams, searchInfo, opt != null ? opt : {});
12260
+ if (beforeFetch && utils.isFunction(beforeFetch)) {
12261
+ params = await beforeFetch(params) || params;
12262
+ }
12263
+ searchInfoRef.value = params;
12264
+ const apiFn = api || (dynamicApi == null ? void 0 : dynamicApi(params));
12265
+ const res = await (apiFn == null ? void 0 : apiFn(params));
12266
+ rawDataSourceRef.value = res.data;
12267
+ const isArrayResult = Array.isArray(res.data);
12268
+ let resultItems = isArrayResult ? res.data : lodashEs.get(res.data, listField);
12269
+ if (afterFetch && utils.isFunction(afterFetch)) {
12270
+ resultItems = await afterFetch(resultItems) || resultItems;
12271
+ }
12272
+ dataSourceRef.value = resultItems;
12273
+ } catch (error) {
12274
+ console.error(error);
12275
+ } finally {
12276
+ loading.value = false;
12277
+ }
12278
+ }
12279
+ const handleChange = (value) => {
12280
+ if (props.disabled) return;
12281
+ const { onChange, onUpdateValue, "onUpdate:value": _onUpdateValue } = props;
12282
+ if (onChange) utils.call(onChange, value);
12283
+ if (onUpdateValue) utils.call(onUpdateValue, value);
12284
+ if (_onUpdateValue) utils.call(_onUpdateValue, value);
12285
+ uncontrolledValueRef.value = value;
12286
+ };
12287
+ function handleUpdateValue(value) {
12288
+ handleChange(value);
12289
+ }
12290
+ async function reload(opt) {
12291
+ return await fetch2(opt);
12292
+ }
12293
+ function getSearchInfo() {
12294
+ return searchInfoRef.value;
12295
+ }
12296
+ function getOptionsMethod() {
12297
+ return vue.unref(getOptions);
12298
+ }
12299
+ const transferActionType = {
12300
+ reload,
12301
+ getSearchInfo,
12302
+ getOptions: getOptionsMethod
12303
+ };
12304
+ __expose({
12305
+ ...transferActionType
12306
+ });
12307
+ return (_ctx, _cache) => {
12308
+ return vue.openBlock(), vue.createBlock(vue.unref(naiveUi.NTransfer), vue.mergeProps(computedProps.value, {
12309
+ value: vue.unref(mergedValueRef),
12310
+ class: vue.unref(b)(),
12311
+ "onUpdate:value": handleUpdateValue
12312
+ }), null, 16, ["value", "class"]);
12313
+ };
12314
+ }
12315
+ });
12316
+ const basicTransferProps = {};
12317
+ const XBasicTransfer = utils.withInstall(_sfc_main$s);
12190
12318
  const componentMap$1 = /* @__PURE__ */ new Map();
12191
12319
  componentMap$1.set("Input", naiveUi.NInput);
12192
12320
  componentMap$1.set("InputNumber", naiveUi.NInputNumber);
@@ -12214,6 +12342,7 @@ componentMap$1.set("BasicText", XBasicText);
12214
12342
  componentMap$1.set("BasicDatePicker", XBasicDatePicker);
12215
12343
  componentMap$1.set("BasicCheckboxGroup", XBasicCheckboxGroup);
12216
12344
  componentMap$1.set("BasicSelect", XBasicSelect);
12345
+ componentMap$1.set("BasicTransfer", XBasicTransfer);
12217
12346
  componentMap$1.set("BasicRadioGroup", XBasicRadioGroup);
12218
12347
  componentMap$1.set("BasicCascader", XBasicCascader);
12219
12348
  const DEFAULT_VALUE_COMPONENTS$1 = ["Input", "InputPassword", "InputNumber", "InputSearch", "InputTextArea"];
@@ -13150,7 +13279,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
13150
13279
  };
13151
13280
  })
13152
13281
  ]), 1032, ["schema", "edit-batch-props", "all-default-values", "form-model"])) : vue.createCommentVNode("", true),
13153
- vue.createVNode(_sfc_main$u, vue.normalizeProps(vue.guardReactiveProps(getEditBatchActionBindProps.value)), vue.createSlots({ _: 2 }, [
13282
+ vue.createVNode(_sfc_main$v, vue.normalizeProps(vue.guardReactiveProps(getEditBatchActionBindProps.value)), vue.createSlots({ _: 2 }, [
13154
13283
  vue.renderList(["resetBefore", "submitBefore", "submitAfter"], (item) => {
13155
13284
  return {
13156
13285
  name: item,
@@ -13746,6 +13875,7 @@ componentMap.set("BasicText", XBasicText);
13746
13875
  componentMap.set("BasicDatePicker", XBasicDatePicker);
13747
13876
  componentMap.set("BasicCheckboxGroup", XBasicCheckboxGroup);
13748
13877
  componentMap.set("BasicSelect", XBasicSelect);
13878
+ componentMap.set("BasicTransfer", XBasicTransfer);
13749
13879
  componentMap.set("BasicRadioGroup", XBasicRadioGroup);
13750
13880
  componentMap.set("BasicCascader", XBasicCascader);
13751
13881
  componentMap.set("BasicScrollText", XBasicScrollText);
@@ -15105,6 +15235,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
15105
15235
  return vue.openBlock(), vue.createElementBlock("div", {
15106
15236
  class: vue.normalizeClass(vue.unref(getWrapperClass))
15107
15237
  }, [
15238
+ vue.renderSlot(_ctx.$slots, "prefix"),
15108
15239
  vue.createVNode(vue.unref(naiveUi.NForm), vue.mergeProps({
15109
15240
  ref_key: "formElRef",
15110
15241
  ref: formElRef
@@ -15153,7 +15284,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
15153
15284
  }, 16)
15154
15285
  ]),
15155
15286
  _: 3
15156
- }, 16, ["class", "model"])
15287
+ }, 16, ["class", "model"]),
15288
+ vue.renderSlot(_ctx.$slots, "suffix")
15157
15289
  ], 2);
15158
15290
  };
15159
15291
  }
@@ -31224,7 +31356,7 @@ vxeTable.VxeUI.renderer.mixin(basicTableFilterRenderers);
31224
31356
  vxeTable.VxeUI.setConfig({
31225
31357
  zIndex: 2e3
31226
31358
  });
31227
- const XBasicTable = utils.withInstall(_sfc_main$G);
31359
+ const XBasicTable = utils.withInstall(_sfc_main$H);
31228
31360
  const IMPORT_PREVIEW_ROW_NO_FIELD = "rowNo";
31229
31361
  const IMPORT_PREVIEW_ERROR_FIELD = "errorMsg";
31230
31362
  function isErrorRow(row) {
@@ -31922,6 +32054,7 @@ const components = [
31922
32054
  XBasicText,
31923
32055
  XBasicHelp,
31924
32056
  XBasicTitle,
32057
+ XBasicTransfer,
31925
32058
  XBasicScrollText,
31926
32059
  XBasicGradientTitle,
31927
32060
  XBasicDrawer,
@@ -32087,6 +32220,7 @@ exports.XBasicTable = XBasicTable;
32087
32220
  exports.XBasicTag = XBasicTag;
32088
32221
  exports.XBasicText = XBasicText;
32089
32222
  exports.XBasicTitle = XBasicTitle;
32223
+ exports.XBasicTransfer = XBasicTransfer;
32090
32224
  exports.XBasicTree = XBasicTree;
32091
32225
  exports.XBasicTriggerButton = XBasicTriggerButton;
32092
32226
  exports.XBasicUpload = XBasicUpload;
@@ -32128,6 +32262,7 @@ exports.basicScrollTextProps = basicScrollTextProps;
32128
32262
  exports.basicSelectProps = basicSelectProps;
32129
32263
  exports.basicSubPanelProps = basicSubPanelProps;
32130
32264
  exports.basicTableFilterRenderers = basicTableFilterRenderers;
32265
+ exports.basicTransferProps = basicTransferProps;
32131
32266
  exports.basicUploadDraggerProps = basicUploadDraggerProps;
32132
32267
  exports.basicUploadProps = basicUploadProps;
32133
32268
  exports.configProviderProps = configProviderProps;