3h1-ui 1.4.1 → 1.6.0

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.
Files changed (4) hide show
  1. package/es/index.js +215 -339
  2. package/es/style.css +23 -0
  3. package/lib/index.js +214 -338
  4. package/package.json +1 -1
package/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle, Transition, toHandlers, useSlots, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, resolveDynamicComponent, reactive, toRef, toRefs, TransitionGroup, getCurrentScope, onScopeDispose, readonly, isVNode, shallowReactive, toRaw, shallowRef, withKeys, withModifiers, render as render$1, resolveDirective, isRef } from "vue";
2
- import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination, Empty, Button as Button$1, Table as Table$1, Form, FormItem, DatePicker, InputNumber, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker, Divider, Col, Popconfirm, Modal as Modal$2, Row, Dropdown, Menu, MenuItem, MenuDivider, Spin, PageHeader, Image, Badge, Tag, FormItemRest, Descriptions, Drawer, Space, Upload, Avatar } from "ant-design-vue";
2
+ import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination, Empty, Button as Button$1, Table as Table$1, Form, FormItem, DatePicker, InputNumber, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker, Divider, Col, Popconfirm, Modal as Modal$2, Row, Dropdown, Menu, MenuItem, MenuDivider, Spin, PageHeader, Image, Badge, Tag, FormItemRest, Drawer, Space, Upload, Avatar } from "ant-design-vue";
3
3
  import { propTypes, isFunction as isFunction$4, isString as isString$3, isArray as isArray$3, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, isNumber as isNumber$2, isBoolean, isNull, extendSlots as extendSlots$1, withInstall as withInstall$1, isObject as isObject$3, dateUtil, isNullOrUnDef, isDef as isDef$1, error as error$1, deepMerge as deepMerge$1, getDynamicProps, buildProps, createBEM, forEach as forEach$1, isClient as isClient$1, filter, treeToList, eachTree, isEmpty, isServer, formatToDate, isMap as isMap$2, buildUUID, findNodeAll, getViewportOffset, warn as warn$1, isNullAndUnDef, dataURLtoBlob } from "@shy-plugins/utils";
4
4
  import { useAttrs as useAttrs$1, useRuleFormItem, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$1, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useI18n as useI18n$1, useContentHeight, useDesign as useDesign$1, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
5
5
  import { zxcvbn } from "@zxcvbn-ts/core";
@@ -3428,7 +3428,7 @@ function baseUniq(array, iteratee, comparator) {
3428
3428
  function uniqBy(array, iteratee) {
3429
3429
  return array && array.length ? baseUniq(array, baseIteratee(iteratee)) : [];
3430
3430
  }
3431
- const _sfc_main$15 = defineComponent({
3431
+ const _sfc_main$14 = defineComponent({
3432
3432
  name: "ApiRadioGroup",
3433
3433
  components: {
3434
3434
  RadioGroup: Radio.Group,
@@ -3568,8 +3568,8 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
3568
3568
  _: 1
3569
3569
  }, 16, ["value", "onChange"]);
3570
3570
  }
3571
- const ApiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$L]]);
3572
- const _sfc_main$14 = defineComponent({
3571
+ const ApiRadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$L]]);
3572
+ const _sfc_main$13 = defineComponent({
3573
3573
  name: "RadioButtonGroup",
3574
3574
  components: {
3575
3575
  RadioGroup: Radio.Group,
@@ -3627,8 +3627,8 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
3627
3627
  _: 1
3628
3628
  }, 16, ["value"]);
3629
3629
  }
3630
- const RadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$K]]);
3631
- const _sfc_main$13 = defineComponent({
3630
+ const RadioButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$K]]);
3631
+ const _sfc_main$12 = defineComponent({
3632
3632
  name: "ApiSelect",
3633
3633
  components: {
3634
3634
  Select,
@@ -3799,8 +3799,8 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
3799
3799
  } : void 0
3800
3800
  ]), 1040, ["onDropdownVisibleChange", "onChange", "options", "value", "filter-option"]);
3801
3801
  }
3802
- const ApiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$J]]);
3803
- const _sfc_main$12 = defineComponent({
3802
+ const ApiSelect = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$J]]);
3803
+ const _sfc_main$11 = defineComponent({
3804
3804
  name: "ApiTree",
3805
3805
  components: { ATree: Tree, LoadingOutlined: LoadingOutlined$1 },
3806
3806
  props: {
@@ -3891,8 +3891,8 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
3891
3891
  } : void 0
3892
3892
  ]), 1040, ["onChange"]);
3893
3893
  }
3894
- const ApiTree = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$I]]);
3895
- const _sfc_main$11 = defineComponent({
3894
+ const ApiTree = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$I]]);
3895
+ const _sfc_main$10 = defineComponent({
3896
3896
  name: "ApiTreeSelect",
3897
3897
  components: { ATreeSelect: TreeSelect, LoadingOutlined: LoadingOutlined$1 },
3898
3898
  props: {
@@ -3999,8 +3999,8 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
3999
3999
  } : void 0
4000
4000
  ]), 1040, ["onChange", "filterTreeNode"]);
4001
4001
  }
4002
- const ApiTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$H]]);
4003
- const _sfc_main$10 = defineComponent({
4002
+ const ApiTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$H]]);
4003
+ const _sfc_main$$ = defineComponent({
4004
4004
  name: "ApiCascader",
4005
4005
  components: {
4006
4006
  LoadingOutlined: LoadingOutlined$1,
@@ -4184,8 +4184,8 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
4184
4184
  } : void 0
4185
4185
  ]), 1032, ["value", "options", "load-data", "onChange", "displayRender"]);
4186
4186
  }
4187
- const ApiCascader = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$G]]);
4188
- const _sfc_main$$ = defineComponent({
4187
+ const ApiCascader = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$G]]);
4188
+ const _sfc_main$_ = defineComponent({
4189
4189
  name: "ApiTransfer",
4190
4190
  components: { Transfer },
4191
4191
  props: {
@@ -4304,8 +4304,8 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
4304
4304
  onChange: _ctx.handleChange
4305
4305
  }, null, 8, ["data-source", "filter-option", "render", "showSelectAll", "selectedKeys", "targetKeys", "showSearch", "onChange"]);
4306
4306
  }
4307
- const ApiTransfer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$F]]);
4308
- const _sfc_main$_ = defineComponent({
4307
+ const ApiTransfer = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$F]]);
4308
+ const _sfc_main$Z = defineComponent({
4309
4309
  name: "StrengthMeter",
4310
4310
  components: { InputPassword: Input.Password },
4311
4311
  props: {
@@ -4378,8 +4378,8 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
4378
4378
  ], 2)
4379
4379
  ], 2);
4380
4380
  }
4381
- const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$E], ["__scopeId", "data-v-c3da4a85"]]);
4382
- const _sfc_main$Z = defineComponent({
4381
+ const StrengthMeter = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$E], ["__scopeId", "data-v-c3da4a85"]]);
4382
+ const _sfc_main$Y = defineComponent({
4383
4383
  name: "SvgIcon",
4384
4384
  props: {
4385
4385
  prefix: {
@@ -4425,9 +4425,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
4425
4425
  createElementVNode("use", { "xlink:href": _ctx.symbolId }, null, 8, _hoisted_1$k)
4426
4426
  ], 6);
4427
4427
  }
4428
- const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
4428
+ const SvgIcon = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$D], ["__scopeId", "data-v-905fa4a6"]]);
4429
4429
  const SVG_END_WITH_FLAG = "|svg";
4430
- const _sfc_main$Y = defineComponent({
4430
+ const _sfc_main$X = defineComponent({
4431
4431
  name: "Icon",
4432
4432
  components: { SvgIcon },
4433
4433
  props: {
@@ -4508,7 +4508,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
4508
4508
  style: normalizeStyle(_ctx.getWrapStyle)
4509
4509
  }, null, 6));
4510
4510
  }
4511
- const Icon2 = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$C]]);
4511
+ const Icon2 = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$C]]);
4512
4512
  function createJavascriptTransition(name, functions, mode = "in-out") {
4513
4513
  return /* @__PURE__ */ defineComponent({
4514
4514
  name,
@@ -4596,7 +4596,7 @@ function ExpandTransitionGenerator(expandedParentClass = "", x = false) {
4596
4596
  Reflect.deleteProperty(el, "_initialStyle");
4597
4597
  }
4598
4598
  }
4599
- const _sfc_main$X = defineComponent({
4599
+ const _sfc_main$W = defineComponent({
4600
4600
  name: "CollapseTransition",
4601
4601
  setup() {
4602
4602
  return {
@@ -4665,7 +4665,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
4665
4665
  _: 3
4666
4666
  }, 16);
4667
4667
  }
4668
- const CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$B]]);
4668
+ const CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$B]]);
4669
4669
  createJavascriptTransition(
4670
4670
  "expand-x-transition",
4671
4671
  ExpandTransitionGenerator("", true)
@@ -4674,7 +4674,7 @@ createJavascriptTransition(
4674
4674
  "expand-transition",
4675
4675
  ExpandTransitionGenerator("")
4676
4676
  );
4677
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
4677
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4678
4678
  __name: "BasicArrow",
4679
4679
  props: {
4680
4680
  /**
@@ -4722,8 +4722,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
4722
4722
  }
4723
4723
  });
4724
4724
  const BasicArrow_vue_vue_type_style_index_0_scoped_fea26917_lang = "";
4725
- const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-fea26917"]]);
4726
- const props$d = {
4725
+ const BasicArrow = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-fea26917"]]);
4726
+ const props$c = {
4727
4727
  /**
4728
4728
  * Help text max-width
4729
4729
  * @default: 600px
@@ -4769,12 +4769,12 @@ const props$d = {
4769
4769
  type: [Array, String]
4770
4770
  }
4771
4771
  };
4772
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
4772
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4773
4773
  name: "BasicHelp",
4774
4774
  components: {
4775
4775
  Tooltip
4776
4776
  },
4777
- props: props$d,
4777
+ props: props$c,
4778
4778
  setup(props2, {
4779
4779
  slots
4780
4780
  }) {
@@ -4819,7 +4819,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
4819
4819
  }
4820
4820
  });
4821
4821
  const BasicHelp_vue_vue_type_style_index_0_lang$1 = "";
4822
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
4822
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
4823
4823
  __name: "BasicTitle",
4824
4824
  props: {
4825
4825
  /**
@@ -4855,7 +4855,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4855
4855
  class: normalizeClass(unref(getClass))
4856
4856
  }, [
4857
4857
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
4858
- __props.helpMessage ? (openBlock(), createBlock(_sfc_main$V, {
4858
+ __props.helpMessage ? (openBlock(), createBlock(_sfc_main$U, {
4859
4859
  key: 0,
4860
4860
  class: normalizeClass(`${prefixCls2}-help`),
4861
4861
  text: __props.helpMessage
@@ -4865,8 +4865,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
4865
4865
  }
4866
4866
  });
4867
4867
  const BasicTitle_vue_vue_type_style_index_0_scoped_59bc8f76_lang = "";
4868
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-59bc8f76"]]);
4869
- const props$c = {
4868
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-59bc8f76"]]);
4869
+ const props$b = {
4870
4870
  prefixCls: { type: String },
4871
4871
  helpMessage: {
4872
4872
  type: [Array, String],
@@ -4876,10 +4876,10 @@ const props$c = {
4876
4876
  show: { type: Boolean },
4877
4877
  canExpan: { type: Boolean }
4878
4878
  };
4879
- const _sfc_main$T = defineComponent({
4879
+ const _sfc_main$S = defineComponent({
4880
4880
  components: { BasicArrow, BasicTitle: BasicTitle$1 },
4881
4881
  inheritAttrs: false,
4882
- props: props$c,
4882
+ props: props$b,
4883
4883
  emits: ["expand"]
4884
4884
  });
4885
4885
  function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
@@ -4912,9 +4912,9 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
4912
4912
  ], 2)
4913
4913
  ], 2);
4914
4914
  }
4915
- const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$A]]);
4915
+ const CollapseHeader = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$A]]);
4916
4916
  const _hoisted_1$j = { class: "p-2" };
4917
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
4917
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4918
4918
  __name: "CollapseContainer",
4919
4919
  props: {
4920
4920
  title: { type: String, default: "" },
@@ -5126,7 +5126,7 @@ const Bar = defineComponent({
5126
5126
  );
5127
5127
  }
5128
5128
  });
5129
- const _sfc_main$R = defineComponent({
5129
+ const _sfc_main$Q = defineComponent({
5130
5130
  name: "Scrollbar",
5131
5131
  // inheritAttrs: false,
5132
5132
  components: { Bar },
@@ -5257,8 +5257,8 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
5257
5257
  ], 64)) : createCommentVNode("", true)
5258
5258
  ]);
5259
5259
  }
5260
- const Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$z]]);
5261
- const _sfc_main$Q = defineComponent({
5260
+ const Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$z]]);
5261
+ const _sfc_main$P = defineComponent({
5262
5262
  name: "ScrollContainer",
5263
5263
  components: { Scrollbar },
5264
5264
  setup() {
@@ -5327,8 +5327,8 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
5327
5327
  _: 3
5328
5328
  }, 16);
5329
5329
  }
5330
- const ScrollContainer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$y]]);
5331
- const props$b = {
5330
+ const ScrollContainer$1 = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$y]]);
5331
+ const props$a = {
5332
5332
  /**
5333
5333
  * Waiting time, if the time is specified, whether visible or not, it will be automatically loaded after the specified time
5334
5334
  */
@@ -5363,11 +5363,11 @@ const props$b = {
5363
5363
  */
5364
5364
  transitionName: { type: String, default: "lazy-container" }
5365
5365
  };
5366
- const _sfc_main$P = defineComponent({
5366
+ const _sfc_main$O = defineComponent({
5367
5367
  name: "LazyContainer",
5368
5368
  components: { Skeleton },
5369
5369
  inheritAttrs: false,
5370
- props: props$b,
5370
+ props: props$a,
5371
5371
  emits: ["init"],
5372
5372
  setup(props2, { emit }) {
5373
5373
  const elRef = ref();
@@ -5453,7 +5453,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
5453
5453
  _: 3
5454
5454
  }, 16, ["name", "tag"]);
5455
5455
  }
5456
- const LazyContainer = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$x]]);
5456
+ const LazyContainer = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$x]]);
5457
5457
  const iconsData = [
5458
5458
  "ant-design:account-book-filled",
5459
5459
  "ant-design:account-book-outlined",
@@ -6815,7 +6815,7 @@ const _hoisted_7 = {
6815
6815
  key: 0,
6816
6816
  class: "cursor-pointer px-2 py-1 flex items-center"
6817
6817
  };
6818
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
6818
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6819
6819
  __name: "IconPicker",
6820
6820
  props: {
6821
6821
  value: null,
@@ -7010,7 +7010,7 @@ function useCountdown(count) {
7010
7010
  });
7011
7011
  return { start, reset: reset2, restart, clear: clear2, stop, currentCount, isStart };
7012
7012
  }
7013
- const props$a = {
7013
+ const props$9 = {
7014
7014
  value: { type: [Object, Number, String, Array] },
7015
7015
  count: { type: Number, default: 60 },
7016
7016
  beforeStartFunc: {
@@ -7018,10 +7018,10 @@ const props$a = {
7018
7018
  default: null
7019
7019
  }
7020
7020
  };
7021
- const _sfc_main$N = defineComponent({
7021
+ const _sfc_main$M = defineComponent({
7022
7022
  name: "CountButton",
7023
7023
  components: { AButton: Button$1 },
7024
- props: props$a,
7024
+ props: props$9,
7025
7025
  setup(props2) {
7026
7026
  const loading = ref(false);
7027
7027
  const { currentCount, isStart, start, reset: reset2 } = useCountdown(props2.count);
@@ -7061,8 +7061,8 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
7061
7061
  _: 1
7062
7062
  }, 16, ["disabled", "onClick", "loading"]);
7063
7063
  }
7064
- const CountButton = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$w]]);
7065
- const props$9 = {
7064
+ const CountButton = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$w]]);
7065
+ const props$8 = {
7066
7066
  value: { type: String },
7067
7067
  size: {
7068
7068
  type: String,
@@ -7074,11 +7074,11 @@ const props$9 = {
7074
7074
  default: null
7075
7075
  }
7076
7076
  };
7077
- const _sfc_main$M = defineComponent({
7077
+ const _sfc_main$L = defineComponent({
7078
7078
  name: "CountDownInput",
7079
7079
  components: { CountButton },
7080
7080
  inheritAttrs: false,
7081
- props: props$9,
7081
+ props: props$8,
7082
7082
  setup(props2, { attrs }) {
7083
7083
  const prefixCls2 = "shy-countdown-input";
7084
7084
  const [state] = useRuleFormItem(props2);
@@ -7115,7 +7115,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
7115
7115
  })
7116
7116
  ]), 1040, ["class", "size", "value"]);
7117
7117
  }
7118
- const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$v]]);
7118
+ const CountdownInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$v]]);
7119
7119
  const _hoisted_1$f = { key: 0 };
7120
7120
  const _hoisted_2$3 = {
7121
7121
  key: 1,
@@ -7123,7 +7123,7 @@ const _hoisted_2$3 = {
7123
7123
  };
7124
7124
  const _hoisted_3$1 = { class: "delete-index" };
7125
7125
  const _hoisted_4 = ["onClick"];
7126
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
7126
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7127
7127
  __name: "Table",
7128
7128
  props: {
7129
7129
  columns: {
@@ -7271,7 +7271,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
7271
7271
  }
7272
7272
  });
7273
7273
  const Table_vue_vue_type_style_index_0_scoped_7465b460_lang = "";
7274
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-7465b460"]]);
7274
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-7465b460"]]);
7275
7275
  const componentMap$1 = /* @__PURE__ */ new Map();
7276
7276
  componentMap$1.set("Input", Input);
7277
7277
  componentMap$1.set("InputGroup", Input.Group);
@@ -7302,7 +7302,7 @@ componentMap$1.set("RangePicker", DatePicker.RangePicker);
7302
7302
  componentMap$1.set("WeekPicker", DatePicker.WeekPicker);
7303
7303
  componentMap$1.set("TimePicker", TimePicker);
7304
7304
  componentMap$1.set("StrengthMeter", StrengthMeter);
7305
- componentMap$1.set("IconPicker", _sfc_main$O);
7305
+ componentMap$1.set("IconPicker", _sfc_main$N);
7306
7306
  componentMap$1.set("InputCountDown", CountdownInput);
7307
7307
  componentMap$1.set("Table", Table);
7308
7308
  componentMap$1.set("Divider", Divider);
@@ -7390,10 +7390,10 @@ function useItemLabelWidth(schemaItemRef, propsRef) {
7390
7390
  };
7391
7391
  });
7392
7392
  }
7393
- function _isSlot$4(s) {
7393
+ function _isSlot$3(s) {
7394
7394
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
7395
7395
  }
7396
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
7396
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
7397
7397
  name: "BasicFormItem",
7398
7398
  inheritAttrs: false,
7399
7399
  props: {
@@ -7700,7 +7700,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7700
7700
  } : {
7701
7701
  default: () => renderComponentContent
7702
7702
  };
7703
- return createVNode(Comp, compAttr, _isSlot$4(compSlot) ? compSlot : {
7703
+ return createVNode(Comp, compAttr, _isSlot$3(compSlot) ? compSlot : {
7704
7704
  default: () => [compSlot]
7705
7705
  });
7706
7706
  }
@@ -7718,7 +7718,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7718
7718
  if (!getHelpMessage || Array.isArray(getHelpMessage) && getHelpMessage.length === 0) {
7719
7719
  return renderLabel;
7720
7720
  }
7721
- return createVNode("span", null, [renderLabel, createVNode(_sfc_main$V, mergeProps({
7721
+ return createVNode("span", null, [renderLabel, createVNode(_sfc_main$U, mergeProps({
7722
7722
  "placement": "top",
7723
7723
  "class": "mx-1",
7724
7724
  "text": getHelpMessage
@@ -7745,7 +7745,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7745
7745
  return createVNode(Col, {
7746
7746
  "span": 24
7747
7747
  }, {
7748
- default: () => [createVNode(Divider, unref(getComponentsProps), _isSlot$4(_slot = renderLabelHelpMessage()) ? _slot : {
7748
+ default: () => [createVNode(Divider, unref(getComponentsProps), _isSlot$3(_slot = renderLabelHelpMessage()) ? _slot : {
7749
7749
  default: () => [_slot]
7750
7750
  })]
7751
7751
  });
@@ -7795,6 +7795,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7795
7795
  ...baseColProps,
7796
7796
  ...colProps
7797
7797
  };
7798
+ if (/Mobi|Android|iPhone/i.test(navigator.userAgent)) {
7799
+ realColProps.span = (realColProps == null ? void 0 : realColProps.padSpan) || 24;
7800
+ }
7798
7801
  const {
7799
7802
  isIfShow,
7800
7803
  isShow
@@ -7803,7 +7806,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
7803
7806
  const getContent = () => {
7804
7807
  return colSlot ? getSlot$1(slots, colSlot, values) : renderColContent ? renderColContent(values) : renderItem();
7805
7808
  };
7806
- return isIfShow && withDirectives(createVNode(Col, realColProps, _isSlot$4(_slot2 = getContent()) ? _slot2 : {
7809
+ return isIfShow && withDirectives(createVNode(Col, realColProps, _isSlot$3(_slot2 = getContent()) ? _slot2 : {
7807
7810
  default: () => [_slot2]
7808
7811
  }), [[vShow, isShow]]);
7809
7812
  };
@@ -7838,7 +7841,7 @@ const __default__ = defineComponent({
7838
7841
  extends: Button$1,
7839
7842
  inheritAttrs: false
7840
7843
  });
7841
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
7844
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
7842
7845
  ...__default__,
7843
7846
  props: buttonProps,
7844
7847
  setup(__props) {
@@ -7877,7 +7880,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
7877
7880
  };
7878
7881
  }
7879
7882
  });
7880
- const props$8 = {
7883
+ const props$7 = {
7881
7884
  /**
7882
7885
  * Whether to enable the drop-down menu
7883
7886
  * @default: true
@@ -7887,10 +7890,10 @@ const props$8 = {
7887
7890
  default: true
7888
7891
  }
7889
7892
  };
7890
- const _sfc_main$I = defineComponent({
7893
+ const _sfc_main$H = defineComponent({
7891
7894
  name: "PopButton",
7892
7895
  inheritAttrs: false,
7893
- props: props$8,
7896
+ props: props$7,
7894
7897
  setup(props2, { slots }) {
7895
7898
  const attrs = useAttrs$1();
7896
7899
  const getBindValues = computed(() => {
@@ -7907,7 +7910,7 @@ const _sfc_main$I = defineComponent({
7907
7910
  const btnBind = omit$1(bindValues, "title");
7908
7911
  if (btnBind.disabled)
7909
7912
  btnBind.color = "";
7910
- const Button2 = h(_sfc_main$J, btnBind, extendSlots$1(slots));
7913
+ const Button2 = h(_sfc_main$I, btnBind, extendSlots$1(slots));
7911
7914
  if (!props2.enable) {
7912
7915
  return Button2;
7913
7916
  }
@@ -7915,7 +7918,7 @@ const _sfc_main$I = defineComponent({
7915
7918
  };
7916
7919
  }
7917
7920
  });
7918
- const Button = withInstall$1(_sfc_main$J);
7921
+ const Button = withInstall$1(_sfc_main$I);
7919
7922
  const key$3 = Symbol();
7920
7923
  function createFormContext(context) {
7921
7924
  return createContext$1(context, key$3);
@@ -7923,11 +7926,11 @@ function createFormContext(context) {
7923
7926
  function useFormContext() {
7924
7927
  return useContext$2(key$3);
7925
7928
  }
7926
- const _sfc_main$H = defineComponent({
7929
+ const _sfc_main$G = defineComponent({
7927
7930
  name: "BasicFormAction",
7928
7931
  components: {
7929
7932
  FormItem: Form.Item,
7930
- BasicButton: _sfc_main$J,
7933
+ BasicButton: _sfc_main$I,
7931
7934
  [Col.name]: Col,
7932
7935
  Button: Button$1,
7933
7936
  SearchOutlined: SearchOutlined$1
@@ -8049,7 +8052,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8049
8052
  })
8050
8053
  ], 4)) : createCommentVNode("", true);
8051
8054
  }
8052
- const FormAction = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$u]]);
8055
+ const FormAction = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$u]]);
8053
8056
  function tryDeconstructArray(key2, value, target) {
8054
8057
  const pattern = /^\[(.+)\]$/;
8055
8058
  if (pattern.test(key2)) {
@@ -8561,7 +8564,7 @@ const modalProps = {
8561
8564
  okText: { type: String, default: "确认" },
8562
8565
  closeFunc: Function
8563
8566
  };
8564
- const basicProps$3 = Object.assign({}, modalProps, {
8567
+ const basicProps$4 = Object.assign({}, modalProps, {
8565
8568
  defaultFullscreen: { type: Boolean },
8566
8569
  // Can it be full screen
8567
8570
  canFullscreen: { type: Boolean, default: true },
@@ -8794,13 +8797,13 @@ function extendSlots(slots, excludeKeys = []) {
8794
8797
  });
8795
8798
  return ret;
8796
8799
  }
8797
- function _isSlot$3(s) {
8800
+ function _isSlot$2(s) {
8798
8801
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
8799
8802
  }
8800
8803
  const Modal$1 = /* @__PURE__ */ defineComponent({
8801
8804
  name: "Modal",
8802
8805
  inheritAttrs: false,
8803
- props: basicProps$3,
8806
+ props: basicProps$4,
8804
8807
  emits: ["cancel"],
8805
8808
  setup(props2, {
8806
8809
  slots,
@@ -8827,7 +8830,7 @@ const Modal$1 = /* @__PURE__ */ defineComponent({
8827
8830
  ...props2,
8828
8831
  onCancel
8829
8832
  };
8830
- return createVNode(Modal$2, propsData, _isSlot$3(_slot = extendSlots(slots)) ? _slot : {
8833
+ return createVNode(Modal$2, propsData, _isSlot$2(_slot = extendSlots(slots)) ? _slot : {
8831
8834
  default: () => [_slot]
8832
8835
  });
8833
8836
  };
@@ -8906,7 +8909,7 @@ function useScrollTo({
8906
8909
  };
8907
8910
  return { start: run, stop };
8908
8911
  }
8909
- const _sfc_main$G = defineComponent({
8912
+ const _sfc_main$F = defineComponent({
8910
8913
  name: "ScrollContainer",
8911
8914
  components: { Scrollbar },
8912
8915
  setup() {
@@ -8975,7 +8978,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
8975
8978
  _: 3
8976
8979
  }, 16);
8977
8980
  }
8978
- const ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$t]]);
8981
+ const ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$t]]);
8979
8982
  function createContext(context, key2 = Symbol(), options = {}) {
8980
8983
  const { readonly: readonly$1 = true, createProvider = false, native = false } = options;
8981
8984
  const state = reactive(context);
@@ -8995,7 +8998,7 @@ function createModalContext(context) {
8995
8998
  function useModalContext() {
8996
8999
  return useContext$1(key$2);
8997
9000
  }
8998
- const props$7 = {
9001
+ const props$6 = {
8999
9002
  loading: { type: Boolean },
9000
9003
  useWrapper: { type: Boolean, default: true },
9001
9004
  modalHeaderHeight: { type: Number, default: 57 },
@@ -9007,11 +9010,11 @@ const props$7 = {
9007
9010
  fullScreen: { type: Boolean },
9008
9011
  loadingTip: { type: String }
9009
9012
  };
9010
- const _sfc_main$F = defineComponent({
9013
+ const _sfc_main$E = defineComponent({
9011
9014
  name: "ModalWrapper",
9012
9015
  components: { ScrollContainer },
9013
9016
  inheritAttrs: false,
9014
- props: props$7,
9017
+ props: props$6,
9015
9018
  emits: ["height-change", "ext-height"],
9016
9019
  setup(props2, { emit }) {
9017
9020
  const wrapperRef = ref(null);
@@ -9124,7 +9127,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
9124
9127
  _: 3
9125
9128
  }, 512);
9126
9129
  }
9127
- const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$s]]);
9130
+ const ModalWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$s]]);
9128
9131
  function getKey$1(namespace, key2) {
9129
9132
  if (!namespace) {
9130
9133
  return key2;
@@ -9144,7 +9147,7 @@ function useI18n(namespace) {
9144
9147
  return normalFn;
9145
9148
  }
9146
9149
  }
9147
- const _sfc_main$E = defineComponent({
9150
+ const _sfc_main$D = defineComponent({
9148
9151
  name: "ModalClose",
9149
9152
  components: {
9150
9153
  Tooltip,
@@ -9233,10 +9236,10 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
9233
9236
  })
9234
9237
  ], 2);
9235
9238
  }
9236
- const ModalClose = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$r]]);
9237
- const _sfc_main$D = defineComponent({
9239
+ const ModalClose = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$r]]);
9240
+ const _sfc_main$C = defineComponent({
9238
9241
  name: "BasicModalFooter",
9239
- props: basicProps$3,
9242
+ props: basicProps$4,
9240
9243
  emits: ["ok", "cancel"],
9241
9244
  setup(_, { emit }) {
9242
9245
  function handleOk(e) {
@@ -9273,7 +9276,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
9273
9276
  renderSlot(_ctx.$slots, "appendFooter")
9274
9277
  ]);
9275
9278
  }
9276
- const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$q]]);
9279
+ const ModalFooter = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$q]]);
9277
9280
  function deepMerge(src = {}, target = {}) {
9278
9281
  let key2;
9279
9282
  const res = cloneDeep(src);
@@ -9301,7 +9304,7 @@ function useDesign(scope) {
9301
9304
  // style,
9302
9305
  };
9303
9306
  }
9304
- const props$6 = {
9307
+ const props$5 = {
9305
9308
  /**
9306
9309
  * Help text max-width
9307
9310
  * @default: 600px
@@ -9347,12 +9350,12 @@ const props$6 = {
9347
9350
  type: [Array, String]
9348
9351
  }
9349
9352
  };
9350
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
9353
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
9351
9354
  name: "BasicHelp",
9352
9355
  components: {
9353
9356
  Tooltip
9354
9357
  },
9355
- props: props$6,
9358
+ props: props$5,
9356
9359
  setup(props2, {
9357
9360
  slots
9358
9361
  }) {
@@ -9399,7 +9402,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
9399
9402
  }
9400
9403
  });
9401
9404
  const BasicHelp_vue_vue_type_style_index_0_lang = "";
9402
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
9405
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
9403
9406
  __name: "BasicTitle",
9404
9407
  props: {
9405
9408
  /**
@@ -9435,7 +9438,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
9435
9438
  class: normalizeClass(unref(getClass))
9436
9439
  }, [
9437
9440
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
9438
- __props.helpMessage ? (openBlock(), createBlock(_sfc_main$C, {
9441
+ __props.helpMessage ? (openBlock(), createBlock(_sfc_main$B, {
9439
9442
  key: 0,
9440
9443
  class: normalizeClass(`${prefixCls2}-help`),
9441
9444
  text: __props.helpMessage
@@ -9445,8 +9448,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
9445
9448
  }
9446
9449
  });
9447
9450
  const BasicTitle_vue_vue_type_style_index_0_scoped_fdc837af_lang = "";
9448
- const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-fdc837af"]]);
9449
- const _sfc_main$A = defineComponent({
9451
+ const BasicTitle = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fdc837af"]]);
9452
+ const _sfc_main$z = defineComponent({
9450
9453
  name: "BasicModalHeader",
9451
9454
  components: { BasicTitle },
9452
9455
  props: {
@@ -9466,7 +9469,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
9466
9469
  _: 1
9467
9470
  }, 8, ["helpMessage"]);
9468
9471
  }
9469
- const ModalHeader = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$p]]);
9472
+ const ModalHeader = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$p]]);
9470
9473
  function useFullScreen(context) {
9471
9474
  const fullScreenRef = ref(false);
9472
9475
  const getWrapClassName = computed(() => {
@@ -9479,11 +9482,11 @@ function useFullScreen(context) {
9479
9482
  }
9480
9483
  return { getWrapClassName, handleFullScreen, fullScreenRef };
9481
9484
  }
9482
- const _sfc_main$z = defineComponent({
9485
+ const _sfc_main$y = defineComponent({
9483
9486
  name: "BasicModal",
9484
9487
  components: { Modal: Modal$1, ModalWrapper, ModalClose, ModalFooter, ModalHeader },
9485
9488
  inheritAttrs: false,
9486
- props: basicProps$3,
9489
+ props: basicProps$4,
9487
9490
  emits: [
9488
9491
  "visible-change",
9489
9492
  "height-change",
@@ -9725,7 +9728,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
9725
9728
  })
9726
9729
  ]), 1040, ["onCancel"]);
9727
9730
  }
9728
- const basicModal = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$o]]);
9731
+ const basicModal = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$o]]);
9729
9732
  const projectName = {}.VITE_GLOB_APP_TITLE;
9730
9733
  function error(message) {
9731
9734
  throw new Error(`[${projectName} error]:${message}`);
@@ -9860,7 +9863,7 @@ const useModalInner = (callbackFn) => {
9860
9863
  ];
9861
9864
  };
9862
9865
  const BasicModal = withInstall$1(basicModal);
9863
- const basicProps$2 = {
9866
+ const basicProps$3 = {
9864
9867
  model: {
9865
9868
  type: Object,
9866
9869
  default: () => ({})
@@ -9948,10 +9951,10 @@ const basicProps$2 = {
9948
9951
  showCount: { default: true, type: Boolean },
9949
9952
  maxlength: { default: 100, type: Number }
9950
9953
  };
9951
- const _sfc_main$y = defineComponent({
9954
+ const _sfc_main$x = defineComponent({
9952
9955
  name: "BasicForm",
9953
- components: { FormItem: _sfc_main$K, Form, Row, FormAction, DownOutlined: DownOutlined$1 },
9954
- props: basicProps$2,
9956
+ components: { FormItem: _sfc_main$J, Form, Row, FormAction, DownOutlined: DownOutlined$1 },
9957
+ props: basicProps$3,
9955
9958
  emits: [
9956
9959
  "advanced-change",
9957
9960
  "reset",
@@ -10277,7 +10280,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
10277
10280
  })
10278
10281
  ], 64);
10279
10282
  }
10280
- const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$n]]);
10283
+ const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$n]]);
10281
10284
  const index$2 = "";
10282
10285
  function useComponentRegister(compName, comp) {
10283
10286
  add(compName, comp);
@@ -10487,7 +10490,7 @@ const _hoisted_1$d = {
10487
10490
  key: 2,
10488
10491
  class: "shy-search"
10489
10492
  };
10490
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
10493
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
10491
10494
  __name: "TreeHeader",
10492
10495
  props: {
10493
10496
  helpMessage: {
@@ -10672,7 +10675,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
10672
10675
  }
10673
10676
  });
10674
10677
  const TreeHeader_vue_vue_type_style_index_0_scoped_6d3f2554_lang = "";
10675
- const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-6d3f2554"]]);
10678
+ const TreeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-6d3f2554"]]);
10676
10679
  process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
10677
10680
  process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
10678
10681
  const isString = (val) => typeof val === "string";
@@ -10877,11 +10880,11 @@ function useTree(treeDataRef, getFieldNames) {
10877
10880
  getSelectedNode
10878
10881
  };
10879
10882
  }
10880
- function _isSlot$2(s) {
10883
+ function _isSlot$1(s) {
10881
10884
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
10882
10885
  }
10883
10886
  const prefixCls = "context-menu";
10884
- const props$5 = {
10887
+ const props$4 = {
10885
10888
  width: {
10886
10889
  type: Number,
10887
10890
  default: 156
@@ -10928,9 +10931,9 @@ const ItemContent = (props2) => {
10928
10931
  "icon": item.icon
10929
10932
  }, null), createVNode("span", null, [item.label])]);
10930
10933
  };
10931
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
10934
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10932
10935
  name: "ContextMenu",
10933
- props: props$5,
10936
+ props: props$4,
10934
10937
  setup(props2) {
10935
10938
  const wrapRef = ref(null);
10936
10939
  const showRef = ref(false);
@@ -11034,7 +11037,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
11034
11037
  "mode": "vertical",
11035
11038
  "ref": wrapRef,
11036
11039
  "style": unref(getStyle)
11037
- }, _isSlot$2(_slot = renderMenuItem(items)) ? _slot : {
11040
+ }, _isSlot$1(_slot = renderMenuItem(items)) ? _slot : {
11038
11041
  default: () => [_slot]
11039
11042
  })]);
11040
11043
  };
@@ -11066,7 +11069,7 @@ const createContextMenu = function(options) {
11066
11069
  propsData.customEvent = event;
11067
11070
  propsData.axis = { x: event.clientX, y: event.clientY };
11068
11071
  }
11069
- const vm = createVNode(_sfc_main$w, propsData);
11072
+ const vm = createVNode(_sfc_main$v, propsData);
11070
11073
  render$1(vm, container);
11071
11074
  const handleClick = function() {
11072
11075
  menuManager.resolve("");
@@ -11106,10 +11109,10 @@ function useContextMenu(authRemove = true) {
11106
11109
  }
11107
11110
  return [createContextMenu, destroyContextMenu];
11108
11111
  }
11109
- function _isSlot$1(s) {
11112
+ function _isSlot(s) {
11110
11113
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
11111
11114
  }
11112
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
11115
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
11113
11116
  name: "BasicTree",
11114
11117
  inheritAttrs: false,
11115
11118
  props: treeProps,
@@ -11472,7 +11475,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
11472
11475
  "onStrictlyChange": onStrictlyChange,
11473
11476
  "onSearch": handleSearch,
11474
11477
  "searchText": searchState.searchText
11475
- }, _isSlot$1(_slot = extendSlots$1(slots)) ? _slot : {
11478
+ }, _isSlot(_slot = extendSlots$1(slots)) ? _slot : {
11476
11479
  default: () => [_slot]
11477
11480
  }), createVNode(Spin, {
11478
11481
  "wrapperClassName": unref(props2.treeWrapperClassName),
@@ -11495,7 +11498,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
11495
11498
  }
11496
11499
  });
11497
11500
  const index$1 = "";
11498
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
11501
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
11499
11502
  __name: "DeptTree",
11500
11503
  props: {
11501
11504
  api: {
@@ -11540,7 +11543,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
11540
11543
  });
11541
11544
  expose({ reload });
11542
11545
  return (_ctx, _cache) => {
11543
- return openBlock(), createBlock(unref(_sfc_main$v), {
11546
+ return openBlock(), createBlock(unref(_sfc_main$u), {
11544
11547
  title: "",
11545
11548
  toolbar: searchToolbar.value,
11546
11549
  search: "",
@@ -11552,7 +11555,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
11552
11555
  };
11553
11556
  }
11554
11557
  });
11555
- const _sfc_main$t = defineComponent({
11558
+ const _sfc_main$s = defineComponent({
11556
11559
  name: "PageFooter",
11557
11560
  inheritAttrs: false,
11558
11561
  setup() {
@@ -11580,8 +11583,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
11580
11583
  ], 2)
11581
11584
  ], 6);
11582
11585
  }
11583
- const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$m], ["__scopeId", "data-v-44a47dbd"]]);
11584
- const _sfc_main$s = defineComponent({
11586
+ const PageFooter = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$m], ["__scopeId", "data-v-44a47dbd"]]);
11587
+ const _sfc_main$r = defineComponent({
11585
11588
  name: "PageWrapper",
11586
11589
  components: { PageFooter, PageHeader },
11587
11590
  inheritAttrs: false,
@@ -11739,9 +11742,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
11739
11742
  }, 512)) : createCommentVNode("", true)
11740
11743
  ], 2);
11741
11744
  }
11742
- const PageWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$l]]);
11745
+ const PageWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$l]]);
11743
11746
  const PageWrapperFixedHeightKey = "PageWrapperFixedHeight";
11744
- const _sfc_main$r = defineComponent({
11747
+ const _sfc_main$q = defineComponent({
11745
11748
  name: "EditTableHeaderIcon",
11746
11749
  components: { FormOutlined: FormOutlined$1 },
11747
11750
  props: { title: { type: String, default: "" } }
@@ -11754,12 +11757,12 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
11754
11757
  createVNode(_component_FormOutlined)
11755
11758
  ]);
11756
11759
  }
11757
- const EditTableHeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$k]]);
11758
- const _sfc_main$q = defineComponent({
11760
+ const EditTableHeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$k]]);
11761
+ const _sfc_main$p = defineComponent({
11759
11762
  name: "TableHeaderCell",
11760
11763
  components: {
11761
11764
  EditTableHeaderCell,
11762
- BasicHelp: _sfc_main$V
11765
+ BasicHelp: _sfc_main$U
11763
11766
  },
11764
11767
  props: {
11765
11768
  column: {
@@ -11805,7 +11808,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
11805
11808
  }, null, 8, ["text", "class"])) : createCommentVNode("", true)
11806
11809
  ], 64);
11807
11810
  }
11808
- const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$j]]);
11811
+ const HeaderCell = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$j]]);
11809
11812
  const componentSetting = {
11810
11813
  // basic-table setting
11811
11814
  table: {
@@ -12051,7 +12054,7 @@ function createPlaceholderMessage(component) {
12051
12054
  }
12052
12055
  return "";
12053
12056
  }
12054
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
12057
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
12055
12058
  name: "EditableCell",
12056
12059
  components: {
12057
12060
  FormOutlined: FormOutlined$1,
@@ -12546,7 +12549,7 @@ function renderEditCell(column) {
12546
12549
  }
12547
12550
  return true;
12548
12551
  };
12549
- return h(_sfc_main$p, {
12552
+ return h(_sfc_main$o, {
12550
12553
  value,
12551
12554
  record,
12552
12555
  column,
@@ -13536,7 +13539,7 @@ function useTableStyle(propsRef, prefixCls2) {
13536
13539
  }
13537
13540
  return { getRowClassName };
13538
13541
  }
13539
- const _sfc_main$o = defineComponent({
13542
+ const _sfc_main$n = defineComponent({
13540
13543
  name: "ColumnSetting",
13541
13544
  components: {
13542
13545
  SettingOutlined: SettingOutlined$1,
@@ -13921,8 +13924,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
13921
13924
  _: 1
13922
13925
  });
13923
13926
  }
13924
- const ColumnSetting = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$i]]);
13925
- const _sfc_main$n = defineComponent({
13927
+ const ColumnSetting = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$i]]);
13928
+ const _sfc_main$m = defineComponent({
13926
13929
  name: "SizeSetting",
13927
13930
  components: {
13928
13931
  ColumnHeightOutlined: ColumnHeightOutlined$1,
@@ -14004,8 +14007,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
14004
14007
  _: 1
14005
14008
  });
14006
14009
  }
14007
- const SizeSetting = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$h]]);
14008
- const _sfc_main$m = defineComponent({
14010
+ const SizeSetting = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$h]]);
14011
+ const _sfc_main$l = defineComponent({
14009
14012
  name: "FullScreenSetting",
14010
14013
  components: {
14011
14014
  FullscreenExitOutlined: FullscreenExitOutlined$1,
@@ -14043,8 +14046,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
14043
14046
  _: 1
14044
14047
  });
14045
14048
  }
14046
- const FullScreenSetting = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$g]]);
14047
- const _sfc_main$l = defineComponent({
14049
+ const FullScreenSetting = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$g]]);
14050
+ const _sfc_main$k = defineComponent({
14048
14051
  name: "RedoSetting",
14049
14052
  components: {
14050
14053
  BarsOutlined: BarsOutlined$1,
@@ -14074,8 +14077,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
14074
14077
  _: 1
14075
14078
  });
14076
14079
  }
14077
- const ShowSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$f]]);
14078
- const _sfc_main$k = defineComponent({
14080
+ const ShowSearchSetting = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$f]]);
14081
+ const _sfc_main$j = defineComponent({
14079
14082
  name: "TableSetting",
14080
14083
  components: {
14081
14084
  ColumnSetting,
@@ -14140,8 +14143,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
14140
14143
  }, null, 8, ["getPopupContainer"])) : createCommentVNode("", true)
14141
14144
  ]);
14142
14145
  }
14143
- const TableSettingComponent = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$e]]);
14144
- const _sfc_main$j = defineComponent({
14146
+ const TableSettingComponent = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$e]]);
14147
+ const _sfc_main$i = defineComponent({
14145
14148
  name: "BasicTableHeader",
14146
14149
  components: {
14147
14150
  // Divider,
@@ -14204,7 +14207,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
14204
14207
  ])
14205
14208
  ]);
14206
14209
  }
14207
- const TableHeader = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$d]]);
14210
+ const TableHeader = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$d]]);
14208
14211
  function useTableHeader(propsRef, slots, handlers2) {
14209
14212
  const getHeaderProps = computed(() => {
14210
14213
  const { title, showTableSetting, titleHelpMessage, tableSetting } = unref(propsRef);
@@ -14288,7 +14291,7 @@ function useTableExpand(propsRef, tableData, emit) {
14288
14291
  }
14289
14292
  const SUMMARY_ROW_KEY = "_row";
14290
14293
  const SUMMARY_INDEX_KEY = "_index";
14291
- const _sfc_main$i = defineComponent({
14294
+ const _sfc_main$h = defineComponent({
14292
14295
  name: "BasicTableFooter",
14293
14296
  components: { Table: Table$1 },
14294
14297
  props: {
@@ -14369,7 +14372,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
14369
14372
  scroll: _ctx.scroll
14370
14373
  }, null, 8, ["dataSource", "rowKey", "columns", "scroll"])) : createCommentVNode("", true);
14371
14374
  }
14372
- const TableFooter = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$c]]);
14375
+ const TableFooter = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$c]]);
14373
14376
  function useTableFooter(propsRef, scrollRef, tableElRef, getDataSourceRef) {
14374
14377
  const getIsEmptyData = computed(() => {
14375
14378
  return (unref(getDataSourceRef) || []).length === 0;
@@ -14446,7 +14449,7 @@ function useTableForm(propsRef, slots, fetch, getLoading) {
14446
14449
  handleSearchInfoChange
14447
14450
  };
14448
14451
  }
14449
- const basicProps$1 = reactive({
14452
+ const basicProps$2 = reactive({
14450
14453
  clickToRowSelect: { type: Boolean, default: true },
14451
14454
  isTreeTable: Boolean,
14452
14455
  tableSetting: propTypes.shape({}),
@@ -14576,17 +14579,17 @@ const basicProps$1 = reactive({
14576
14579
  });
14577
14580
  const basicPropChange = (options) => {
14578
14581
  Object.keys(options).forEach((name) => {
14579
- basicProps$1[name] = options[name];
14582
+ basicProps$2[name] = options[name];
14580
14583
  });
14581
14584
  };
14582
- const _sfc_main$h = defineComponent({
14585
+ const _sfc_main$g = defineComponent({
14583
14586
  components: {
14584
14587
  Table: Table$1,
14585
14588
  BasicForm,
14586
14589
  HeaderCell,
14587
14590
  Empty
14588
14591
  },
14589
- props: basicProps$1,
14592
+ props: basicProps$2,
14590
14593
  emits: [
14591
14594
  "fetch-success",
14592
14595
  "fetch-error",
@@ -14900,10 +14903,10 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
14900
14903
  ])
14901
14904
  ], 2);
14902
14905
  }
14903
- const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$b]]);
14906
+ const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$b]]);
14904
14907
  const _hoisted_1$7 = { class: "ml-1" };
14905
14908
  const _hoisted_2$1 = { class: "ml-1" };
14906
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
14909
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
14907
14910
  __name: "Dropdown",
14908
14911
  props: {
14909
14912
  popconfirm: Boolean,
@@ -15017,13 +15020,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
15017
15020
  };
15018
15021
  }
15019
15022
  });
15020
- const _sfc_main$f = defineComponent({
15023
+ const _sfc_main$e = defineComponent({
15021
15024
  name: "TableAction",
15022
15025
  components: {
15023
15026
  Icon: Icon2,
15024
- PopConfirmButton: _sfc_main$I,
15027
+ PopConfirmButton: _sfc_main$H,
15025
15028
  Divider,
15026
- Dropdown: _sfc_main$g,
15029
+ Dropdown: _sfc_main$f,
15027
15030
  MoreOutlined: MoreOutlined$1,
15028
15031
  Tooltip
15029
15032
  },
@@ -15203,8 +15206,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
15203
15206
  }, 8, ["dropMenuList"])) : createCommentVNode("", true)
15204
15207
  ], 2);
15205
15208
  }
15206
- const TableAction = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$a]]);
15207
- const _sfc_main$e = defineComponent({
15209
+ const TableAction = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$a]]);
15210
+ const _sfc_main$d = defineComponent({
15208
15211
  name: "TableImage",
15209
15212
  components: { AImage: Image, PreviewGroup: Image.PreviewGroup, Badge },
15210
15213
  props: {
@@ -15285,8 +15288,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
15285
15288
  }))
15286
15289
  ], 6)) : createCommentVNode("", true);
15287
15290
  }
15288
- const TableImg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$9]]);
15289
- const _sfc_main$d = defineComponent({
15291
+ const TableImg = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$9]]);
15292
+ const _sfc_main$c = defineComponent({
15290
15293
  name: "TableDict",
15291
15294
  components: { Tag, Icon: Icon2 },
15292
15295
  props: {
@@ -15324,7 +15327,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
15324
15327
  ]), 1032, ["color"])
15325
15328
  ]);
15326
15329
  }
15327
- const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$8], ["__scopeId", "data-v-b15bfa99"]]);
15330
+ const TableDict = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$8], ["__scopeId", "data-v-b15bfa99"]]);
15328
15331
  const index = "";
15329
15332
  function useTable(tableProps) {
15330
15333
  const tableRef = ref(null);
@@ -15473,7 +15476,7 @@ const withInstall = (component) => {
15473
15476
  return component;
15474
15477
  };
15475
15478
  withInstall(BasicTable);
15476
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
15479
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
15477
15480
  __name: "Table",
15478
15481
  setup(__props, { expose }) {
15479
15482
  const getTableProps = inject("getTableProps");
@@ -15505,7 +15508,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
15505
15508
  });
15506
15509
  const _hoisted_1$5 = { class: "wrapper overflow-hidden" };
15507
15510
  const _hoisted_2 = { class: "table-wrapper" };
15508
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
15511
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
15509
15512
  __name: "Modal",
15510
15513
  props: {
15511
15514
  title: {
@@ -15547,14 +15550,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
15547
15550
  }, {
15548
15551
  default: withCtx(() => [
15549
15552
  createElementVNode("div", _hoisted_1$5, [
15550
- createVNode(_sfc_main$u, mergeProps(unref(getTreeProps), {
15553
+ createVNode(_sfc_main$t, mergeProps(unref(getTreeProps), {
15551
15554
  class: "tree",
15552
15555
  ref_key: "treeRef",
15553
15556
  ref: treeRef,
15554
15557
  onSelect: handleSelect
15555
15558
  }), null, 16),
15556
15559
  createElementVNode("div", _hoisted_2, [
15557
- createVNode(_sfc_main$c, mergeProps(unref(getTableProps), {
15560
+ createVNode(_sfc_main$b, mergeProps(unref(getTableProps), {
15558
15561
  ref_key: "tableRef",
15559
15562
  ref: tableRef
15560
15563
  }), null, 16)
@@ -15567,9 +15570,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
15567
15570
  }
15568
15571
  });
15569
15572
  const Modal_vue_vue_type_style_index_0_scoped_dbd84c9c_lang = "";
15570
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-dbd84c9c"]]);
15573
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-dbd84c9c"]]);
15571
15574
  const _hoisted_1$4 = { class: "api-modal-select" };
15572
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
15575
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
15573
15576
  __name: "ApiModalSelect",
15574
15577
  props: {
15575
15578
  value: {
@@ -15715,195 +15718,68 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
15715
15718
  }
15716
15719
  });
15717
15720
  const ApiModalSelect_vue_vue_type_style_index_0_scoped_fb4fe18d_lang = "";
15718
- const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-fb4fe18d"]]);
15719
- function _isSlot(s) {
15720
- return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
15721
- }
15722
- const props$4 = {
15723
- useCollapse: {
15724
- type: Boolean,
15725
- default: true
15726
- },
15727
- title: {
15728
- type: String,
15729
- default: ""
15721
+ const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-fb4fe18d"]]);
15722
+ const Description$1 = "";
15723
+ const basicColProps = 24;
15724
+ const basicProps$1 = {
15725
+ schema: {
15726
+ type: Array,
15727
+ default: () => [{ label: "a", field: "a" }]
15730
15728
  },
15731
- size: {
15732
- type: String,
15733
- validator: (v) => ["small", "default", "middle", void 0].includes(v),
15734
- default: "small"
15729
+ labelWidth: {
15730
+ type: Number,
15731
+ default: () => 80
15735
15732
  },
15736
- bordered: {
15733
+ isShowColon: {
15737
15734
  type: Boolean,
15738
- default: true
15739
- },
15740
- column: {
15741
- type: [Number, Object],
15742
- default: () => {
15743
- return {
15744
- xxl: 4,
15745
- xl: 3,
15746
- lg: 3,
15747
- md: 3,
15748
- sm: 2,
15749
- xs: 1
15750
- };
15751
- }
15752
- },
15753
- collapseOptions: {
15754
- type: Object,
15755
- default: null
15756
- },
15757
- schema: {
15758
- type: Array,
15759
- default: () => []
15735
+ default: () => true
15760
15736
  },
15761
15737
  data: {
15762
- type: Object
15738
+ type: Object,
15739
+ default: () => ({})
15763
15740
  }
15764
15741
  };
15765
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
15742
+ const Description = /* @__PURE__ */ defineComponent({
15766
15743
  name: "Description",
15767
- props: props$4,
15744
+ props: basicProps$1,
15768
15745
  emits: ["register"],
15769
15746
  setup(props2, {
15770
- slots,
15771
- emit
15747
+ emit,
15748
+ slots
15772
15749
  }) {
15773
- const propsRef = ref(null);
15774
- const prefixCls2 = "shy-description";
15775
- const attrs = useAttrs$1();
15776
- const getMergeProps = computed(() => {
15777
- return {
15778
- ...props2,
15779
- ...unref(propsRef)
15780
- };
15781
- });
15750
+ const prefixCls2 = "shy-basic-description";
15782
15751
  const getProps = computed(() => {
15783
- const opt = {
15784
- ...unref(getMergeProps),
15785
- title: void 0
15786
- };
15787
- return opt;
15788
- });
15789
- const useWrapper = computed(() => !!unref(getMergeProps).title);
15790
- const getCollapseOptions = computed(() => {
15791
- return {
15792
- // Cannot be expanded by default
15793
- canExpand: false,
15794
- ...unref(getProps).collapseOptions
15795
- };
15796
- });
15797
- const getDescriptionsProps = computed(() => {
15798
15752
  return {
15799
- ...unref(attrs),
15800
- ...unref(getProps)
15753
+ ...props2,
15754
+ ...innerProps.value
15801
15755
  };
15802
15756
  });
15803
- function setDescProps(descProps) {
15804
- propsRef.value = {
15805
- ...unref(propsRef),
15806
- ...descProps
15807
- };
15808
- }
15809
- function renderLabel({
15810
- label,
15811
- labelMinWidth,
15812
- labelStyle
15813
- }) {
15814
- if (!labelStyle && !labelMinWidth) {
15815
- return label;
15816
- }
15817
- const labelStyles = {
15818
- ...labelStyle,
15819
- minWidth: `${labelMinWidth}px `
15820
- };
15757
+ const innerProps = ref(null);
15758
+ const setDescProps = (props3) => {
15759
+ innerProps.value = props3;
15760
+ };
15761
+ const rows = getProps.value.schema.map((item) => {
15762
+ var _a2, _b;
15821
15763
  return createVNode("div", {
15822
- "style": labelStyles
15823
- }, [label]);
15824
- }
15825
- function renderItem() {
15826
- const {
15827
- schema,
15828
- data
15829
- } = unref(getProps);
15830
- return unref(schema).map((item) => {
15831
- const {
15832
- render: render3,
15833
- field,
15834
- span,
15835
- show,
15836
- contentMinWidth
15837
- } = item;
15838
- if (show && isFunction$4(show) && !show(data)) {
15839
- return null;
15764
+ "class": `${prefixCls2}-row`,
15765
+ "style": {
15766
+ flex: `0 0 ${(((_a2 = item == null ? void 0 : item.colProps) == null ? void 0 : _a2.span) || basicColProps) / 24 * 100}%`
15840
15767
  }
15841
- const getContent = () => {
15842
- var _a2;
15843
- const _data = (_a2 = unref(getProps)) == null ? void 0 : _a2.data;
15844
- if (!_data) {
15845
- return null;
15846
- }
15847
- const getField = get(_data, field);
15848
- if (getField && !toRefs(_data).hasOwnProperty(field)) {
15849
- return isFunction$4(render3) ? render3("", _data) : "";
15850
- }
15851
- return isFunction$4(render3) ? render3(getField, _data) : getField ?? "";
15852
- };
15853
- const width = contentMinWidth;
15854
- return createVNode(Descriptions.Item, {
15855
- "label": renderLabel(item),
15856
- "key": field,
15857
- "span": span
15858
- }, {
15859
- default: () => {
15860
- if (!contentMinWidth) {
15861
- return getContent();
15862
- }
15863
- const style = {
15864
- minWidth: `${width}px`
15865
- };
15866
- return createVNode("div", {
15867
- "style": style
15868
- }, [getContent()]);
15869
- }
15870
- });
15871
- }).filter((item) => !!item);
15872
- }
15873
- const renderDesc = () => {
15874
- let _slot;
15875
- return createVNode(Descriptions, mergeProps({
15876
- "class": `${prefixCls2}`
15877
- }, unref(getDescriptionsProps)), _isSlot(_slot = renderItem()) ? _slot : {
15878
- default: () => [_slot]
15879
- });
15880
- };
15881
- const renderContainer = () => {
15882
- const content = props2.useCollapse ? renderDesc() : createVNode("div", null, [renderDesc()]);
15883
- if (!props2.useCollapse) {
15884
- return content;
15885
- }
15886
- const {
15887
- canExpand,
15888
- helpMessage
15889
- } = unref(getCollapseOptions);
15890
- const {
15891
- title
15892
- } = unref(getMergeProps);
15893
- return createVNode(_sfc_main$S, {
15894
- "title": title,
15895
- "canExpan": canExpand,
15896
- "helpMessage": helpMessage
15897
- }, {
15898
- default: () => content,
15899
- action: () => getSlot$1(slots, "action")
15900
- });
15901
- };
15902
- const methods2 = {
15768
+ }, [createVNode("span", {
15769
+ "style": {
15770
+ width: `${getProps.value.labelWidth}px`
15771
+ },
15772
+ "class": `${prefixCls2}-label`
15773
+ }, [slots[`${item.field}Label`] ? slots[`${item.field}Label`]() : item.label, ((_b = getProps.value) == null ? void 0 : _b.isShowColon) ? ":" : ""]), createVNode("span", {
15774
+ "class": `${prefixCls2}-value`
15775
+ }, [slots[`${item.field}Value`] ? slots[`${item.field}Value`]() : getProps.value.data[item.field]])]);
15776
+ });
15777
+ emit("register", {
15903
15778
  setDescProps
15904
- };
15905
- emit("register", methods2);
15906
- return () => unref(useWrapper) ? renderContainer() : renderDesc();
15779
+ });
15780
+ return () => createVNode("div", {
15781
+ "class": `${prefixCls2}-wrapper`
15782
+ }, [rows]);
15907
15783
  }
15908
15784
  });
15909
15785
  function useDescription(props2) {
@@ -20021,32 +19897,32 @@ export {
20021
19897
  ApiTreeSelect,
20022
19898
  CropperAvatar as AvatarCropper,
20023
19899
  BasicArrow,
20024
- _sfc_main$J as BasicButton,
19900
+ _sfc_main$I as BasicButton,
20025
19901
  BasicDrawer,
20026
19902
  BasicForm,
20027
- _sfc_main$V as BasicHelp,
19903
+ _sfc_main$U as BasicHelp,
20028
19904
  BasicModal,
20029
19905
  BasicTable,
20030
19906
  BasicTitle$1 as BasicTitle,
20031
- _sfc_main$v as BasicTree,
19907
+ _sfc_main$u as BasicTree,
20032
19908
  Button,
20033
19909
  _sfc_main$1 as ClickOutSide,
20034
- _sfc_main$S as CollapseContainer,
19910
+ _sfc_main$R as CollapseContainer,
20035
19911
  CountButton,
20036
19912
  CountTo,
20037
19913
  CountdownInput,
20038
19914
  CropperImage,
20039
- _sfc_main$9 as Description,
20040
- _sfc_main$g as Dropdown,
19915
+ Description,
19916
+ _sfc_main$f as Dropdown,
20041
19917
  EditTableHeaderCell as EditTableHeaderIcon,
20042
19918
  Icon2 as Icon,
20043
- _sfc_main$O as IconPicker,
19919
+ _sfc_main$N as IconPicker,
20044
19920
  LazyContainer,
20045
19921
  Loading,
20046
19922
  PageFooter,
20047
19923
  PageWrapper,
20048
19924
  PageWrapperFixedHeightKey,
20049
- _sfc_main$I as PopConfirmButton,
19925
+ _sfc_main$H as PopConfirmButton,
20050
19926
  RadioButtonGroup,
20051
19927
  ScrollContainer$1 as ScrollContainer,
20052
19928
  Scrollbar,