@fangzhongya/fang-ui 0.0.48 → 0.0.50

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 (107) hide show
  1. package/dist/components/array/src/index2.cjs +9 -6
  2. package/dist/components/array/src/index2.js +9 -6
  3. package/dist/components/box-teleport/src/index2.cjs +1 -1
  4. package/dist/components/box-teleport/src/index2.js +1 -1
  5. package/dist/components/checks/src/index2.cjs +4 -4
  6. package/dist/components/checks/src/index2.js +4 -4
  7. package/dist/components/common/list.cjs +3 -2
  8. package/dist/components/common/list.js +3 -2
  9. package/dist/components/common/use.cjs +11 -11
  10. package/dist/components/common/use.js +11 -11
  11. package/dist/components/forms/src/index2.cjs +2 -2
  12. package/dist/components/forms/src/index2.js +2 -2
  13. package/dist/components/forms/src/setup.cjs +8 -5
  14. package/dist/components/forms/src/setup.js +8 -5
  15. package/dist/components/forms/src/util.cjs +2 -1
  16. package/dist/components/forms/src/util.js +2 -1
  17. package/dist/components/forms-drag/src/index2.cjs +2 -2
  18. package/dist/components/forms-drag/src/index2.js +2 -2
  19. package/dist/components/forms-item/src/index2.cjs +1 -1
  20. package/dist/components/forms-item/src/index2.js +1 -1
  21. package/dist/components/forms-items/src/index2.cjs +2 -2
  22. package/dist/components/forms-items/src/index2.js +2 -2
  23. package/dist/components/global-config/src/index.cjs +1 -1
  24. package/dist/components/global-config/src/index.js +1 -1
  25. package/dist/components/icon-picker/src/index2.cjs +6 -4
  26. package/dist/components/icon-picker/src/index2.js +6 -4
  27. package/dist/components/index.cjs +82 -80
  28. package/dist/components/index.d.ts +1 -0
  29. package/dist/components/index.js +2 -0
  30. package/dist/components/index.scss +1 -0
  31. package/dist/components/index2.scss +1 -0
  32. package/dist/components/input-select/src/index2.cjs +1 -1
  33. package/dist/components/input-select/src/index2.js +1 -1
  34. package/dist/components/keep-com/index.cjs +9 -0
  35. package/dist/components/keep-com/index.d.ts +2 -0
  36. package/dist/components/keep-com/index.js +9 -0
  37. package/dist/components/keep-com/index.scss +5 -0
  38. package/dist/components/keep-com/src/data.cjs +42 -0
  39. package/dist/components/keep-com/src/data.d.ts +71 -0
  40. package/dist/components/keep-com/src/data.js +42 -0
  41. package/dist/components/keep-com/src/index.cjs +4 -0
  42. package/dist/components/keep-com/src/index.js +4 -0
  43. package/dist/components/keep-com/src/index2.cjs +77 -0
  44. package/dist/components/keep-com/src/index2.js +77 -0
  45. package/dist/components/labels/src/index2.cjs +2 -1
  46. package/dist/components/labels/src/index2.js +2 -1
  47. package/dist/components/menus/src/menu-ll2.cjs +1 -1
  48. package/dist/components/menus/src/menu-ll2.js +1 -1
  49. package/dist/components/page/src/index2.cjs +85 -65
  50. package/dist/components/page/src/index2.js +85 -65
  51. package/dist/components/paging/src/index2.cjs +8 -4
  52. package/dist/components/paging/src/index2.js +8 -4
  53. package/dist/components/seamless-scroll/src/index2.cjs +2 -2
  54. package/dist/components/seamless-scroll/src/index2.js +2 -2
  55. package/dist/components/selects/src/index2.cjs +1 -1
  56. package/dist/components/selects/src/index2.js +1 -1
  57. package/dist/components/stick-window/src/index2.cjs +1 -1
  58. package/dist/components/stick-window/src/index2.js +1 -1
  59. package/dist/components/switchs/src/index2.cjs +4 -4
  60. package/dist/components/switchs/src/index2.js +4 -4
  61. package/dist/components/tables/common/pagin.cjs +57 -40
  62. package/dist/components/tables/common/pagin.js +57 -40
  63. package/dist/components/tables/common/table-but2.cjs +2 -1
  64. package/dist/components/tables/common/table-but2.js +2 -1
  65. package/dist/components/tables/common/table-color2.cjs +5 -4
  66. package/dist/components/tables/common/table-color2.js +5 -4
  67. package/dist/components/tables/common/table-list2.cjs +2 -1
  68. package/dist/components/tables/common/table-list2.js +2 -1
  69. package/dist/components/tables/common/util.cjs +3 -2
  70. package/dist/components/tables/common/util.js +3 -2
  71. package/dist/components/tables/src/columns3.cjs +1 -1
  72. package/dist/components/tables/src/columns3.js +1 -1
  73. package/dist/components/tables/src/index2.cjs +3 -2
  74. package/dist/components/tables/src/index2.js +3 -2
  75. package/dist/components/tablesp/src/index2.cjs +4 -3
  76. package/dist/components/tablesp/src/index2.js +4 -3
  77. package/dist/components/tabless/src/index2.cjs +5 -4
  78. package/dist/components/tabless/src/index2.js +5 -4
  79. package/dist/components/tablesv/src/columns3.cjs +1 -1
  80. package/dist/components/tablesv/src/columns3.js +1 -1
  81. package/dist/components/tablesv/src/index2.cjs +3 -2
  82. package/dist/components/tablesv/src/index2.js +3 -2
  83. package/dist/components/tablesvp/src/index2.cjs +3 -2
  84. package/dist/components/tablesvp/src/index2.js +3 -2
  85. package/dist/directives/adjust/index.cjs +2 -1
  86. package/dist/directives/adjust/index.js +2 -1
  87. package/dist/expand/{chunk-CHIAKFM2.cjs → chunk-LSKJOV4K.cjs} +2 -0
  88. package/dist/expand/{chunk-R2KDOEN3.js → chunk-ZS2GF6MH.js} +2 -0
  89. package/dist/expand/components.cjs +5 -5
  90. package/dist/expand/components.js +1 -1
  91. package/dist/expand/config.cjs +2 -2
  92. package/dist/expand/config.js +1 -1
  93. package/dist/hooks/event-aliass/index.cjs +2 -1
  94. package/dist/hooks/event-aliass/index.js +2 -1
  95. package/dist/hooks/global-config/index.cjs +6 -3
  96. package/dist/hooks/global-config/index.js +6 -3
  97. package/dist/icons/index.css +35 -35
  98. package/dist/icons/index.json +10 -10
  99. package/dist/index.cjs +100 -98
  100. package/dist/index.js +2 -0
  101. package/dist/utils/vues/common.cjs +2 -1
  102. package/dist/utils/vues/common.js +2 -1
  103. package/package.json +6 -6
  104. /package/dist/components/{option-group → form-item}/index.css +0 -0
  105. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  106. /package/dist/css/{option-group.css → form-item.css} +0 -0
  107. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
@@ -5,7 +5,7 @@ import { firstUpper } from "@fangzhongya/utils/basic/string/firstUpper";
5
5
  import { splitUpper } from "@fangzhongya/utils/basic/string/splitUpper";
6
6
  import { isArray } from "@fangzhongya/utils/basic/array/isArray";
7
7
  function setMinWidth(obj, props) {
8
- const config = props?.table ?? {};
8
+ const config = (props == null ? void 0 : props.table) ?? {};
9
9
  if (obj.width) {
10
10
  return;
11
11
  }
@@ -44,7 +44,8 @@ const eventAliasObj = {
44
44
  },
45
45
  // .once - 最多触发一次处理函数。
46
46
  once(event) {
47
- if (event.currentTarget?.__once__) {
47
+ var _a;
48
+ if ((_a = event.currentTarget) == null ? void 0 : _a.__once__) {
48
49
  return false;
49
50
  } else {
50
51
  if (event.currentTarget) {
@@ -7,7 +7,7 @@ const index = require("element-plus/es/components/table/index");
7
7
  const column = require("./column.cjs");
8
8
  function getLists(arrs, emit, props, slots, listobj) {
9
9
  let arr = [];
10
- arrs?.forEach((obj, index$1) => {
10
+ arrs == null ? void 0 : arrs.forEach((obj, index$1) => {
11
11
  if (listobj) {
12
12
  obj.father = obj.father ?? listobj;
13
13
  }
@@ -5,7 +5,7 @@ import { ElTableColumn } from "element-plus/es/components/table/index";
5
5
  import { setProps, setHeader, columnRender } from "./column.js";
6
6
  function getLists(arrs, emit, props, slots, listobj) {
7
7
  let arr = [];
8
- arrs?.forEach((obj, index) => {
8
+ arrs == null ? void 0 : arrs.forEach((obj, index) => {
9
9
  if (listobj) {
10
10
  obj.father = obj.father ?? listobj;
11
11
  }
@@ -44,9 +44,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  }
45
45
  let isSort = false;
46
46
  const tableDefaultSort = vue.computed(() => {
47
+ var _a, _b;
47
48
  return {
48
- prop: props.defaultSort?.prop,
49
- order: props.defaultSort?.order
49
+ prop: (_a = props.defaultSort) == null ? void 0 : _a.prop,
50
+ order: (_b = props.defaultSort) == null ? void 0 : _b.order
50
51
  };
51
52
  });
52
53
  const rowStyle = vue.computed(() => {
@@ -42,9 +42,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  }
43
43
  let isSort = false;
44
44
  const tableDefaultSort = computed(() => {
45
+ var _a, _b;
45
46
  return {
46
- prop: props.defaultSort?.prop,
47
- order: props.defaultSort?.order
47
+ prop: (_a = props.defaultSort) == null ? void 0 : _a.prop,
48
+ order: (_b = props.defaultSort) == null ? void 0 : _b.order
48
49
  };
49
50
  });
50
51
  const rowStyle = computed(() => {
@@ -44,6 +44,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
44
44
  empty
45
45
  });
46
46
  return (_ctx, _cache) => {
47
+ var _a, _b, _c;
47
48
  return vue.openBlock(), vue.createElementBlock("div", {
48
49
  class: vue.normalizeClass(vue.unref(cs).z()),
49
50
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
@@ -52,10 +53,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
52
53
  height: vue.unref(height),
53
54
  ref_key: "refTable",
54
55
  ref: refTable,
55
- class: [vue.unref(cs).z("main"), vue.unref(cs).is("radio", vue.unref(tableConfig).config?.isradio)],
56
+ class: [vue.unref(cs).z("main"), vue.unref(cs).is("radio", (_a = vue.unref(tableConfig).config) == null ? void 0 : _a.isradio)],
56
57
  value: vue.unref(data).list,
57
58
  list: vue.unref(tableList),
58
- size: vue.unref(tableConfig).config?.size,
59
+ size: (_b = vue.unref(tableConfig).config) == null ? void 0 : _b.size,
59
60
  paginat: vue.unref(paginat),
60
61
  loading: vue.unref(loading),
61
62
  options: props.options,
@@ -75,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
75
76
  };
76
77
  })
77
78
  ]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"]),
78
- vue.unref(tableConfig).paginat?.is ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
79
+ ((_c = vue.unref(tableConfig).paginat) == null ? void 0 : _c.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
79
80
  class: vue.unref(cs).z("paginat"),
80
81
  paginat: vue.unref(paginat),
81
82
  total: vue.unref(data).total,
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  empty
43
43
  });
44
44
  return (_ctx, _cache) => {
45
+ var _a, _b, _c;
45
46
  return openBlock(), createElementBlock("div", {
46
47
  class: normalizeClass(unref(cs).z()),
47
48
  style: normalizeStyle(unref(cs).vdo({ height: unref(height) }))
@@ -50,10 +51,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
51
  height: unref(height),
51
52
  ref_key: "refTable",
52
53
  ref: refTable,
53
- class: [unref(cs).z("main"), unref(cs).is("radio", unref(tableConfig).config?.isradio)],
54
+ class: [unref(cs).z("main"), unref(cs).is("radio", (_a = unref(tableConfig).config) == null ? void 0 : _a.isradio)],
54
55
  value: unref(data).list,
55
56
  list: unref(tableList),
56
- size: unref(tableConfig).config?.size,
57
+ size: (_b = unref(tableConfig).config) == null ? void 0 : _b.size,
57
58
  paginat: unref(paginat),
58
59
  loading: unref(loading),
59
60
  options: props.options,
@@ -73,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
74
  };
74
75
  })
75
76
  ]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"]),
76
- unref(tableConfig).paginat?.is ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 0 }, unref(pagconfig), {
77
+ ((_c = unref(tableConfig).paginat) == null ? void 0 : _c.is) ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 0 }, unref(pagconfig), {
77
78
  class: unref(cs).z("paginat"),
78
79
  paginat: unref(paginat),
79
80
  total: unref(data).total,
@@ -45,6 +45,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
45
45
  empty
46
46
  });
47
47
  return (_ctx, _cache) => {
48
+ var _a, _b, _c, _d;
48
49
  return vue.openBlock(), vue.createElementBlock("div", {
49
50
  class: vue.normalizeClass(vue.unref(cs).z()),
50
51
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
@@ -54,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54
55
  ref_key: "refTable",
55
56
  ref: refTable,
56
57
  class: [vue.unref(cs).z("main")],
57
- size: vue.unref(tableConfig).config?.size,
58
+ size: (_a = vue.unref(tableConfig).config) == null ? void 0 : _a.size,
58
59
  value: vue.unref(data).list,
59
60
  list: vue.unref(tableList),
60
61
  paginat: vue.unref(paginat),
@@ -80,11 +81,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
80
81
  ref: refTable,
81
82
  class: [
82
83
  vue.unref(cs).z("main"),
83
- vue.unref(cs).is("radio", vue.unref(tableConfig).config?.isradio)
84
+ vue.unref(cs).is("radio", (_b = vue.unref(tableConfig).config) == null ? void 0 : _b.isradio)
84
85
  ],
85
86
  value: vue.unref(data).list,
86
87
  list: vue.unref(tableList),
87
- size: vue.unref(tableConfig).config?.size,
88
+ size: (_c = vue.unref(tableConfig).config) == null ? void 0 : _c.size,
88
89
  paginat: vue.unref(paginat),
89
90
  loading: vue.unref(loading),
90
91
  options: props.options,
@@ -104,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
104
105
  };
105
106
  })
106
107
  ]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])),
107
- vue.unref(tableConfig).paginat?.is ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
108
+ ((_d = vue.unref(tableConfig).paginat) == null ? void 0 : _d.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
108
109
  class: vue.unref(cs).z("paginat"),
109
110
  paginat: vue.unref(paginat),
110
111
  total: vue.unref(data).total,
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  empty
44
44
  });
45
45
  return (_ctx, _cache) => {
46
+ var _a, _b, _c, _d;
46
47
  return openBlock(), createElementBlock("div", {
47
48
  class: normalizeClass(unref(cs).z()),
48
49
  style: normalizeStyle(unref(cs).vdo({ height: unref(height) }))
@@ -52,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
53
  ref_key: "refTable",
53
54
  ref: refTable,
54
55
  class: [unref(cs).z("main")],
55
- size: unref(tableConfig).config?.size,
56
+ size: (_a = unref(tableConfig).config) == null ? void 0 : _a.size,
56
57
  value: unref(data).list,
57
58
  list: unref(tableList),
58
59
  paginat: unref(paginat),
@@ -78,11 +79,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
79
  ref: refTable,
79
80
  class: [
80
81
  unref(cs).z("main"),
81
- unref(cs).is("radio", unref(tableConfig).config?.isradio)
82
+ unref(cs).is("radio", (_b = unref(tableConfig).config) == null ? void 0 : _b.isradio)
82
83
  ],
83
84
  value: unref(data).list,
84
85
  list: unref(tableList),
85
- size: unref(tableConfig).config?.size,
86
+ size: (_c = unref(tableConfig).config) == null ? void 0 : _c.size,
86
87
  paginat: unref(paginat),
87
88
  loading: unref(loading),
88
89
  options: props.options,
@@ -102,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
103
  };
103
104
  })
104
105
  ]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])),
105
- unref(tableConfig).paginat?.is ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 2 }, unref(pagconfig), {
106
+ ((_d = unref(tableConfig).paginat) == null ? void 0 : _d.is) ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 2 }, unref(pagconfig), {
106
107
  class: unref(cs).z("paginat"),
107
108
  paginat: unref(paginat),
108
109
  total: unref(data).total,
@@ -7,7 +7,7 @@ const colgroup = require("vxe-table/es/colgroup");
7
7
  const column = require("./column.cjs");
8
8
  function getLists(arrs, emit, props, slots, listobj) {
9
9
  let arr = [];
10
- arrs?.forEach((obj, index) => {
10
+ arrs == null ? void 0 : arrs.forEach((obj, index) => {
11
11
  if (listobj) {
12
12
  obj.father = obj.father ?? {
13
13
  ...listobj,
@@ -5,7 +5,7 @@ import { VxeColgroup } from "vxe-table/es/colgroup";
5
5
  import { setHeader, setProps, columnRender } from "./column.js";
6
6
  function getLists(arrs, emit, props, slots, listobj) {
7
7
  let arr = [];
8
- arrs?.forEach((obj, index) => {
8
+ arrs == null ? void 0 : arrs.forEach((obj, index) => {
9
9
  if (listobj) {
10
10
  obj.father = obj.father ?? {
11
11
  ...listobj,
@@ -57,9 +57,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
57
57
  return sizeMap[props.size] || "";
58
58
  });
59
59
  const tableDefaultSort = vue.computed(() => {
60
+ var _a, _b;
60
61
  return {
61
- prop: props.defaultSort?.prop,
62
- order: orderMap[props.defaultSort?.order] || ""
62
+ prop: (_a = props.defaultSort) == null ? void 0 : _a.prop,
63
+ order: orderMap[(_b = props.defaultSort) == null ? void 0 : _b.order] || ""
63
64
  };
64
65
  });
65
66
  const setHover = () => {
@@ -55,9 +55,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  return sizeMap[props.size] || "";
56
56
  });
57
57
  const tableDefaultSort = computed(() => {
58
+ var _a, _b;
58
59
  return {
59
- prop: props.defaultSort?.prop,
60
- order: orderMap[props.defaultSort?.order] || ""
60
+ prop: (_a = props.defaultSort) == null ? void 0 : _a.prop,
61
+ order: orderMap[(_b = props.defaultSort) == null ? void 0 : _b.order] || ""
61
62
  };
62
63
  });
63
64
  const setHover = () => {
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
42
42
  empty
43
43
  });
44
44
  return (_ctx, _cache) => {
45
+ var _a, _b;
45
46
  return vue.openBlock(), vue.createElementBlock("div", {
46
47
  class: vue.normalizeClass(vue.unref(cs).z()),
47
48
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
@@ -51,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
51
52
  ref_key: "refTable",
52
53
  ref: refTable,
53
54
  class: [vue.unref(cs).z("main")],
54
- size: vue.unref(tableConfig).config?.size,
55
+ size: (_a = vue.unref(tableConfig).config) == null ? void 0 : _a.size,
55
56
  value: vue.unref(data).list,
56
57
  list: vue.unref(tableList),
57
58
  paginat: vue.unref(paginat),
@@ -72,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
72
73
  };
73
74
  })
74
75
  ]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"]),
75
- vue.unref(tableConfig).paginat?.is ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
76
+ ((_b = vue.unref(tableConfig).paginat) == null ? void 0 : _b.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
76
77
  class: vue.unref(cs).z("paginat"),
77
78
  paginat: vue.unref(paginat),
78
79
  total: vue.unref(data).total,
@@ -40,6 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  empty
41
41
  });
42
42
  return (_ctx, _cache) => {
43
+ var _a, _b;
43
44
  return openBlock(), createElementBlock("div", {
44
45
  class: normalizeClass(unref(cs).z()),
45
46
  style: normalizeStyle(unref(cs).vdo({ height: unref(height) }))
@@ -49,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
50
  ref_key: "refTable",
50
51
  ref: refTable,
51
52
  class: [unref(cs).z("main")],
52
- size: unref(tableConfig).config?.size,
53
+ size: (_a = unref(tableConfig).config) == null ? void 0 : _a.size,
53
54
  value: unref(data).list,
54
55
  list: unref(tableList),
55
56
  paginat: unref(paginat),
@@ -70,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
71
  };
71
72
  })
72
73
  ]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"]),
73
- unref(tableConfig).paginat?.is ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 0 }, unref(pagconfig), {
74
+ ((_b = unref(tableConfig).paginat) == null ? void 0 : _b.is) ? (openBlock(), createBlock(unref(Paging), mergeProps({ key: 0 }, unref(pagconfig), {
74
75
  class: unref(cs).z("paginat"),
75
76
  paginat: unref(paginat),
76
77
  total: unref(data).total,
@@ -409,6 +409,7 @@ const types = [
409
409
  "bottomLeft"
410
410
  ];
411
411
  function getAdjustObj(el, key, param) {
412
+ var _a;
412
413
  key = lineToSmallHump.lineToSmallHump(key);
413
414
  let obj = {
414
415
  key,
@@ -420,7 +421,7 @@ function getAdjustObj(el, key, param) {
420
421
  if (typeof param.adjoin == "boolean") {
421
422
  obj.adjoin = getAdjoin(el, key);
422
423
  } else if (typeof param.adjoin == "string") {
423
- obj.adjoin = el.parentElement?.querySelector(param.adjoin);
424
+ obj.adjoin = (_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin);
424
425
  } else {
425
426
  obj.adjoin = param.adjoin;
426
427
  }
@@ -407,6 +407,7 @@ const types = [
407
407
  "bottomLeft"
408
408
  ];
409
409
  function getAdjustObj(el, key, param) {
410
+ var _a;
410
411
  key = lineToSmallHump(key);
411
412
  let obj = {
412
413
  key,
@@ -418,7 +419,7 @@ function getAdjustObj(el, key, param) {
418
419
  if (typeof param.adjoin == "boolean") {
419
420
  obj.adjoin = getAdjoin(el, key);
420
421
  } else if (typeof param.adjoin == "string") {
421
- obj.adjoin = el.parentElement?.querySelector(param.adjoin);
422
+ obj.adjoin = (_a = el.parentElement) == null ? void 0 : _a.querySelector(param.adjoin);
422
423
  } else {
423
424
  obj.adjoin = param.adjoin;
424
425
  }
@@ -72,6 +72,7 @@ var config_default = {
72
72
  "icon",
73
73
  "icon-picker",
74
74
  "iframe",
75
+ "keep-com",
75
76
  "lists",
76
77
  "menus",
77
78
  "page",
@@ -125,6 +126,7 @@ var config_default = {
125
126
  "sideEffects": [
126
127
  "global-config",
127
128
  "iframe",
129
+ "keep-com",
128
130
  "lists",
129
131
  "menus",
130
132
  "page",
@@ -72,6 +72,7 @@ var config_default = {
72
72
  "icon",
73
73
  "icon-picker",
74
74
  "iframe",
75
+ "keep-com",
75
76
  "lists",
76
77
  "menus",
77
78
  "page",
@@ -125,6 +126,7 @@ var config_default = {
125
126
  "sideEffects": [
126
127
  "global-config",
127
128
  "iframe",
129
+ "keep-com",
128
130
  "lists",
129
131
  "menus",
130
132
  "page",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCHIAKFM2cjs = require('./chunk-CHIAKFM2.cjs');
3
+ var _chunkLSKJOV4Kcjs = require('./chunk-LSKJOV4K.cjs');
4
4
 
5
5
  // expand/components.ts
6
6
  var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
@@ -29,11 +29,11 @@ function namefilter(c, name) {
29
29
  function getFrom(mc, type, conf) {
30
30
  const filename = mc.replace(new RegExp("^" + config.prefix + "-"), "");
31
31
  if (type == 1) {
32
- if (_chunkCHIAKFM2cjs.config_default.components.includes(filename)) {
32
+ if (_chunkLSKJOV4Kcjs.config_default.components.includes(filename)) {
33
33
  const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
34
34
  const from = `${config.name}/components/${filename}/index`;
35
35
  let sideEffects;
36
- if (_chunkCHIAKFM2cjs.config_default.sideEffects.includes(filename)) {
36
+ if (_chunkLSKJOV4Kcjs.config_default.sideEffects.includes(filename)) {
37
37
  if (conf.css) {
38
38
  sideEffects = `${config.name}/components/${filename}/style/index2/.scss`;
39
39
  } else {
@@ -49,14 +49,14 @@ function getFrom(mc, type, conf) {
49
49
  return;
50
50
  }
51
51
  } else {
52
- if (_chunkCHIAKFM2cjs.config_default.directives.includes(filename)) {
52
+ if (_chunkLSKJOV4Kcjs.config_default.directives.includes(filename)) {
53
53
  const name = "default";
54
54
  const from = `${config.name}/directives/${filename}/index`;
55
55
  return {
56
56
  name,
57
57
  from
58
58
  };
59
- } else if (_chunkCHIAKFM2cjs.config_default.directives.includes("v-" + filename)) {
59
+ } else if (_chunkLSKJOV4Kcjs.config_default.directives.includes("v-" + filename)) {
60
60
  const name = "default";
61
61
  const from = `${config.name}/directives/${"v-" + filename}/index`;
62
62
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-R2KDOEN3.js";
3
+ } from "./chunk-ZS2GF6MH.js";
4
4
 
5
5
  // expand/components.ts
6
6
  import { humpToLine } from "@fangzhongya/utils/name/humpToLine";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCHIAKFM2cjs = require('./chunk-CHIAKFM2.cjs');
3
+ var _chunkLSKJOV4Kcjs = require('./chunk-LSKJOV4K.cjs');
4
4
 
5
5
 
6
- exports.default = _chunkCHIAKFM2cjs.config_default;
6
+ exports.default = _chunkLSKJOV4Kcjs.config_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-R2KDOEN3.js";
3
+ } from "./chunk-ZS2GF6MH.js";
4
4
  export {
5
5
  config_default as default
6
6
  };
@@ -22,7 +22,8 @@ const eventAliasObj = {
22
22
  },
23
23
  // .once - 最多触发一次处理函数。
24
24
  once(event) {
25
- if (event.currentTarget?.__once__) {
25
+ var _a;
26
+ if ((_a = event.currentTarget) == null ? void 0 : _a.__once__) {
26
27
  return false;
27
28
  } else {
28
29
  if (event.currentTarget) {
@@ -20,7 +20,8 @@ const eventAliasObj = {
20
20
  },
21
21
  // .once - 最多触发一次处理函数。
22
22
  once(event) {
23
- if (event.currentTarget?.__once__) {
23
+ var _a;
24
+ if ((_a = event.currentTarget) == null ? void 0 : _a.__once__) {
24
25
  return false;
25
26
  } else {
26
27
  if (event.currentTarget) {
@@ -8,7 +8,10 @@ const { GlobalConfig } = enums.SymbolKey;
8
8
  function useGlobalConfig(key, defaultValue) {
9
9
  const config = vue.getCurrentInstance() ? vue.inject(getOnlyKey.getOnlyKey(GlobalConfig), globalConfig) : globalConfig;
10
10
  if (key) {
11
- return vue.computed(() => config.value?.[key] ?? defaultValue);
11
+ return vue.computed(() => {
12
+ var _a;
13
+ return ((_a = config.value) == null ? void 0 : _a[key]) ?? defaultValue;
14
+ });
12
15
  } else {
13
16
  return config;
14
17
  }
@@ -31,10 +34,10 @@ function setGlobalConfig(obj, key) {
31
34
  function provideGlobalConfig(config, app, global = false) {
32
35
  const inSetup = !!vue.getCurrentInstance();
33
36
  const oldConfig = inSetup ? useGlobalConfig() : void 0;
34
- const provideFn = app?.provide ?? (inSetup ? vue.provide : void 0);
37
+ const provideFn = (app == null ? void 0 : app.provide) ?? (inSetup ? vue.provide : void 0);
35
38
  const context = vue.computed(() => {
36
39
  const cfg = vue.unref(config);
37
- if (!oldConfig?.value) return cfg;
40
+ if (!(oldConfig == null ? void 0 : oldConfig.value)) return cfg;
38
41
  return mergeConfig(oldConfig.value, cfg);
39
42
  });
40
43
  if (provideFn) {
@@ -6,7 +6,10 @@ const { GlobalConfig } = SymbolKey;
6
6
  function useGlobalConfig(key, defaultValue) {
7
7
  const config = getCurrentInstance() ? inject(getOnlyKey(GlobalConfig), globalConfig) : globalConfig;
8
8
  if (key) {
9
- return computed(() => config.value?.[key] ?? defaultValue);
9
+ return computed(() => {
10
+ var _a;
11
+ return ((_a = config.value) == null ? void 0 : _a[key]) ?? defaultValue;
12
+ });
10
13
  } else {
11
14
  return config;
12
15
  }
@@ -29,10 +32,10 @@ function setGlobalConfig(obj, key) {
29
32
  function provideGlobalConfig(config, app, global = false) {
30
33
  const inSetup = !!getCurrentInstance();
31
34
  const oldConfig = inSetup ? useGlobalConfig() : void 0;
32
- const provideFn = app?.provide ?? (inSetup ? provide : void 0);
35
+ const provideFn = (app == null ? void 0 : app.provide) ?? (inSetup ? provide : void 0);
33
36
  const context = computed(() => {
34
37
  const cfg = unref(config);
35
- if (!oldConfig?.value) return cfg;
38
+ if (!(oldConfig == null ? void 0 : oldConfig.value)) return cfg;
36
39
  return mergeConfig(oldConfig.value, cfg);
37
40
  });
38
41
  if (provideFn) {