@aplus-frontend/ui 0.1.25 → 0.1.27

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 (151) hide show
  1. package/es/src/ap-download/ap-download.vue.d.ts +7 -3
  2. package/es/src/ap-download/ap-download.vue.mjs +50 -35
  3. package/es/src/ap-download/interface.d.ts +3 -11
  4. package/es/src/ap-download/style/ap-download.css +3 -0
  5. package/es/src/ap-form/ap-form-item.vue.mjs +26 -26
  6. package/es/src/ap-table/ap-table.vue.mjs +231 -183
  7. package/es/src/ap-table/components/interface.d.ts +33 -1
  8. package/es/src/ap-table/components/setting/images/icon_carst_down.svg.mjs +4 -0
  9. package/es/src/ap-table/components/setting/images/icon_fill_right.svg.mjs +4 -0
  10. package/es/src/ap-table/components/setting/modal/index.vue.d.ts +28 -0
  11. package/es/src/ap-table/components/setting/modal/index.vue.mjs +4 -0
  12. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +152 -0
  13. package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +13 -0
  14. package/es/src/ap-table/components/setting/select-group/index.vue.mjs +4 -0
  15. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +96 -0
  16. package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +13 -0
  17. package/es/src/ap-table/components/setting/sortable/index.vue.mjs +4 -0
  18. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +51 -0
  19. package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +20 -0
  20. package/es/src/ap-table/components/setting/sortable/item.vue.mjs +4 -0
  21. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +140 -0
  22. package/es/src/ap-table/components/setting/sorter/context.d.ts +11 -0
  23. package/es/src/ap-table/components/setting/sorter/context.mjs +20 -0
  24. package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +18 -0
  25. package/es/src/ap-table/components/setting/sorter/index.vue.mjs +4 -0
  26. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +199 -0
  27. package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +13 -0
  28. package/es/src/ap-table/components/setting/tree-select/index.vue.mjs +4 -0
  29. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +75 -0
  30. package/es/src/ap-table/components/setting/utils.d.ts +17 -0
  31. package/es/src/ap-table/components/setting/utils.mjs +48 -0
  32. package/es/src/ap-table/components/style/setting/modal.css +39 -0
  33. package/es/src/ap-table/components/style/setting/select-group.css +7 -0
  34. package/es/src/ap-table/components/style/setting/sortable-item-meta.css +50 -0
  35. package/es/src/ap-table/components/style/setting/sortable-item.css +3 -0
  36. package/es/src/ap-table/components/style/setting/sorter.css +26 -0
  37. package/es/src/ap-table/constants.d.ts +31 -8
  38. package/es/src/ap-table/constants.mjs +41 -53
  39. package/es/src/ap-table/context.d.ts +31 -0
  40. package/es/src/ap-table/context.mjs +20 -0
  41. package/es/src/ap-table/hooks/use-table-column-state.d.ts +18 -0
  42. package/es/src/ap-table/hooks/use-table-column-state.mjs +46 -0
  43. package/es/src/ap-table/hooks/use-table-content-height.mjs +19 -19
  44. package/es/src/ap-table/hooks/use-table-paging.d.ts +1 -0
  45. package/es/src/ap-table/hooks/use-table-paging.mjs +87 -82
  46. package/es/src/ap-table/interface.d.ts +51 -1
  47. package/es/src/ap-table/style/ap-table.css +29 -1
  48. package/es/src/ap-table/utils.d.ts +1 -1
  49. package/es/src/ap-table/utils.mjs +82 -82
  50. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +91 -89
  51. package/es/src/ap-upload/components/Picture.vue2.mjs +114 -112
  52. package/es/src/ap-upload/components/SingleFile.vue2.mjs +10 -7
  53. package/es/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  54. package/es/src/business/ap-attachment/ApAttachment.mjs +45 -42
  55. package/es/src/business/ap-attachment/style.css +2 -0
  56. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +114 -84
  57. package/es/src/business/ap-ladder/interface.d.ts +42 -0
  58. package/es/src/business/ap-ladder/interface.mjs +10 -0
  59. package/es/src/business/hooks/usePageListApTable.d.ts +8 -3
  60. package/es/src/business/hooks/usePageListApTable.mjs +27 -17
  61. package/es/src/business/hooks/useTableRefresh.d.ts +3 -4
  62. package/es/src/business/hooks/useTableRefresh.mjs +9 -9
  63. package/es/src/business/index.d.ts +4 -4
  64. package/es/src/editable-table/interface.d.ts +1 -1
  65. package/es/src/locale/lang/en.mjs +14 -0
  66. package/es/src/locale/lang/zh-cn.mjs +14 -0
  67. package/es/src/theme/ap-attachment/ap-attachment.css +2 -0
  68. package/es/src/theme/ap-download/ap-download.css +3 -0
  69. package/es/src/theme/ap-table/ap-table.css +29 -1
  70. package/es/src/theme/ap-table/setting/modal.css +39 -0
  71. package/es/src/theme/ap-table/setting/select-group.css +7 -0
  72. package/es/src/theme/ap-table/setting/sortable-item-meta.css +50 -0
  73. package/es/src/theme/ap-table/setting/sortable-item.css +3 -0
  74. package/es/src/theme/ap-table/setting/sorter.css +26 -0
  75. package/es/src/theme/css-var/index.mjs +22 -12
  76. package/lib/src/ap-download/ap-download.vue.d.ts +7 -3
  77. package/lib/src/ap-download/ap-download.vue.js +1 -1
  78. package/lib/src/ap-download/interface.d.ts +3 -11
  79. package/lib/src/ap-download/style/ap-download.css +3 -0
  80. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  81. package/lib/src/ap-table/ap-table.vue.js +1 -1
  82. package/lib/src/ap-table/components/interface.d.ts +33 -1
  83. package/lib/src/ap-table/components/setting/images/icon_carst_down.svg.js +1 -0
  84. package/lib/src/ap-table/components/setting/images/icon_fill_right.svg.js +1 -0
  85. package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +28 -0
  86. package/lib/src/ap-table/components/setting/modal/index.vue.js +1 -0
  87. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -0
  88. package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +13 -0
  89. package/lib/src/ap-table/components/setting/select-group/index.vue.js +1 -0
  90. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -0
  91. package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +13 -0
  92. package/lib/src/ap-table/components/setting/sortable/index.vue.js +1 -0
  93. package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -0
  94. package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +20 -0
  95. package/lib/src/ap-table/components/setting/sortable/item.vue.js +1 -0
  96. package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -0
  97. package/lib/src/ap-table/components/setting/sorter/context.d.ts +11 -0
  98. package/lib/src/ap-table/components/setting/sorter/context.js +1 -0
  99. package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +18 -0
  100. package/lib/src/ap-table/components/setting/sorter/index.vue.js +1 -0
  101. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -0
  102. package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +13 -0
  103. package/lib/src/ap-table/components/setting/tree-select/index.vue.js +1 -0
  104. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -0
  105. package/lib/src/ap-table/components/setting/utils.d.ts +17 -0
  106. package/lib/src/ap-table/components/setting/utils.js +1 -0
  107. package/lib/src/ap-table/components/style/setting/modal.css +39 -0
  108. package/lib/src/ap-table/components/style/setting/select-group.css +7 -0
  109. package/lib/src/ap-table/components/style/setting/sortable-item-meta.css +50 -0
  110. package/lib/src/ap-table/components/style/setting/sortable-item.css +3 -0
  111. package/lib/src/ap-table/components/style/setting/sorter.css +26 -0
  112. package/lib/src/ap-table/constants.d.ts +31 -8
  113. package/lib/src/ap-table/constants.js +1 -1
  114. package/lib/src/ap-table/context.d.ts +31 -0
  115. package/lib/src/ap-table/context.js +1 -0
  116. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +18 -0
  117. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -0
  118. package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
  119. package/lib/src/ap-table/hooks/use-table-paging.d.ts +1 -0
  120. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  121. package/lib/src/ap-table/interface.d.ts +51 -1
  122. package/lib/src/ap-table/style/ap-table.css +29 -1
  123. package/lib/src/ap-table/utils.d.ts +1 -1
  124. package/lib/src/ap-table/utils.js +1 -1
  125. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  126. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  127. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  128. package/lib/src/business/ap-attachment/ApAttachment.d.ts +1 -1
  129. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  130. package/lib/src/business/ap-attachment/style.css +2 -0
  131. package/lib/src/business/ap-ladder/ApLadder.vue2.js +1 -1
  132. package/lib/src/business/ap-ladder/interface.d.ts +42 -0
  133. package/lib/src/business/ap-ladder/interface.js +1 -0
  134. package/lib/src/business/hooks/usePageListApTable.d.ts +8 -3
  135. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  136. package/lib/src/business/hooks/useTableRefresh.d.ts +3 -4
  137. package/lib/src/business/hooks/useTableRefresh.js +1 -1
  138. package/lib/src/business/index.d.ts +4 -4
  139. package/lib/src/editable-table/interface.d.ts +1 -1
  140. package/lib/src/locale/lang/en.js +1 -1
  141. package/lib/src/locale/lang/zh-cn.js +1 -1
  142. package/lib/src/theme/ap-attachment/ap-attachment.css +2 -0
  143. package/lib/src/theme/ap-download/ap-download.css +3 -0
  144. package/lib/src/theme/ap-table/ap-table.css +29 -1
  145. package/lib/src/theme/ap-table/setting/modal.css +39 -0
  146. package/lib/src/theme/ap-table/setting/select-group.css +7 -0
  147. package/lib/src/theme/ap-table/setting/sortable-item-meta.css +50 -0
  148. package/lib/src/theme/ap-table/setting/sortable-item.css +3 -0
  149. package/lib/src/theme/ap-table/setting/sorter.css +26 -0
  150. package/lib/src/theme/css-var/index.js +1 -1
  151. package/package.json +3 -2
@@ -1,5 +1,6 @@
1
1
  import { ApDownLoadProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ import { ButtonType } from 'ant-design-vue/es/button';
3
4
  declare function __VLS_template(): {
4
5
  slots: {
5
6
  icon?(_: {}): any;
@@ -8,14 +9,17 @@ declare function __VLS_template(): {
8
9
  attrs: Partial<{}>;
9
10
  };
10
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps<Record<string, string>>>, {
12
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
13
+ type: string;
12
14
  size: string;
13
15
  disabled: boolean;
14
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps<Record<string, string>>>, {
16
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApDownLoadProps>, {
17
+ type: string;
15
18
  size: string;
16
19
  disabled: boolean;
17
20
  }>>>, {
18
- size: "small" | "middle" | "large";
21
+ size: "small" | "large" | "middle";
22
+ type: ButtonType;
19
23
  disabled: boolean;
20
24
  }, {}>;
21
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,54 +1,69 @@
1
- import { defineComponent as b, useSlots as F, computed as s, unref as t, openBlock as n, createElementBlock as a, normalizeStyle as O, normalizeClass as l, createElementVNode as r, renderSlot as h, createCommentVNode as A, toDisplayString as k } from "vue";
1
+ import { defineComponent as b, useSlots as h, computed as t, unref as s, openBlock as l, createBlock as B, mergeProps as z, withCtx as k, createElementVNode as a, normalizeClass as w, createElementBlock as N, renderSlot as O, createCommentVNode as v, toDisplayString as F } from "vue";
2
+ import { Button as x } from "ant-design-vue";
2
3
  import "../config-provider/index.mjs";
3
- import { useOssInit as v } from "./hooks/index.mjs";
4
+ import { useOssInit as A } from "./hooks/index.mjs";
4
5
  import "./style/ap-download.css";
5
- import { getFileInfo as B } from "./utils/getFileInfo.mjs";
6
- import { useStyle as x } from "./hooks/useStyle.mjs";
7
- import { useLocale as I } from "../config-provider/hooks/use-locale.mjs";
8
- import { useGlobalConfig as c } from "../config-provider/hooks/use-global-config.mjs";
6
+ import { getFileInfo as S } from "./utils/getFileInfo.mjs";
7
+ import { useStyle as I } from "./hooks/useStyle.mjs";
8
+ import { useLocale as M } from "../config-provider/hooks/use-locale.mjs";
9
+ import { useGlobalConfig as i } from "../config-provider/hooks/use-global-config.mjs";
9
10
  const U = {
10
11
  key: 0,
11
12
  class: "icon"
12
- }, D = { class: "text" }, H = /* @__PURE__ */ b({
13
+ }, j = { class: "text" }, H = /* @__PURE__ */ b({
13
14
  name: "ApDownload",
14
15
  __name: "ap-download",
15
16
  props: {
16
- text: {},
17
- color: {},
17
+ prefixCls: {},
18
+ type: { default: "link" },
19
+ htmlType: {},
20
+ shape: {},
18
21
  size: { default: "middle" },
22
+ loading: { type: [Boolean, Object] },
19
23
  disabled: { type: Boolean, default: !1 },
24
+ ghost: { type: Boolean },
25
+ block: { type: Boolean },
26
+ danger: { type: Boolean },
27
+ icon: {},
28
+ href: {},
29
+ target: {},
30
+ title: {},
31
+ onClick: {},
32
+ onMousedown: {},
33
+ text: {},
34
+ color: {},
20
35
  fileName: {},
21
36
  needName: { type: [Boolean, Object] },
22
37
  getOssAccess: {}
23
38
  },
24
- setup(i) {
25
- const { lang: p } = I(), d = F(), m = s(() => p.value === "zh-cn" ? "zh_CN" : "en_US"), u = c("uiMode"), e = i, f = c("apUpload"), g = s(() => e.disabled), C = s(() => e.color ? e.color : u.value === "aplus" ? "#0070FF" : "#1890FF"), _ = s(() => e.size), { wrapperStyle: y, getWrapperClass: w, getInnerWrapperClass: z } = x(
26
- C,
27
- _,
28
- g
29
- ), N = s(() => {
39
+ setup(c) {
40
+ const { lang: r } = M(), p = h(), d = t(() => r.value === "zh-cn" ? "zh_CN" : "en_US"), m = i("uiMode"), e = c, u = i("apUpload"), n = t(() => e.disabled), f = t(() => e.color ? e.color : m.value === "aplus" ? "#0070FF" : "#1890FF"), g = t(() => e.size), { getInnerWrapperClass: y } = I(f, g, n), C = t(() => {
30
41
  var o;
31
- return e.getOssAccess || ((o = f.value) == null ? void 0 : o.getOssAccess);
32
- }), S = async () => {
33
- e.disabled || await (await v(
34
- N.value,
35
- t(m)
36
- )).downloadFile(B(e.needName, e.fileName));
42
+ return e.getOssAccess || ((o = u.value) == null ? void 0 : o.getOssAccess);
43
+ }), _ = async () => {
44
+ e.disabled || await (await A(
45
+ C.value,
46
+ s(d)
47
+ )).downloadFile(S(e.needName, e.fileName));
37
48
  };
38
- return (o, E) => (n(), a("span", {
39
- style: O(t(y)),
40
- class: l(t(w)),
41
- onClick: S
42
- }, [
43
- r("span", {
44
- class: l(t(z))
45
- }, [
46
- t(d).icon ? (n(), a("span", U, [
47
- h(o.$slots, "icon")
48
- ])) : A("", !0),
49
- r("span", D, k(o.text), 1)
50
- ], 2)
51
- ], 6));
49
+ return (o, D) => (l(), B(s(x), z(e, {
50
+ type: e.type,
51
+ size: e.size,
52
+ disabled: n.value,
53
+ onClick: _
54
+ }), {
55
+ default: k(() => [
56
+ a("div", {
57
+ class: w(s(y))
58
+ }, [
59
+ s(p).icon ? (l(), N("span", U, [
60
+ O(o.$slots, "icon")
61
+ ])) : v("", !0),
62
+ a("span", j, F(o.text), 1)
63
+ ], 2)
64
+ ]),
65
+ _: 3
66
+ }, 16, ["type", "size", "disabled"]));
52
67
  }
53
68
  });
54
69
  export {
@@ -1,9 +1,10 @@
1
1
  import { accessCreate } from '@aplus-frontend/oss';
2
+ import { ButtonProps } from 'ant-design-vue/es/Button';
2
3
  /**
3
4
  * 类型转换为单例和数组
4
5
  */
5
6
  type TypeToSingleAndArray<Type = any> = Type extends any ? Type | Type[] : never;
6
- export interface ApDownLoadProps<FileNameType extends Record<string, string> = Record<string, string>> {
7
+ export type ApDownLoadProps<FileNameType extends Record<string, string> = Record<string, string>> = ButtonProps & {
7
8
  /**
8
9
  * 标签内容
9
10
  */
@@ -12,15 +13,6 @@ export interface ApDownLoadProps<FileNameType extends Record<string, string> = R
12
13
  * 标签颜色
13
14
  */
14
15
  color?: string;
15
- /**
16
- * 标签大小
17
- */
18
- size?: 'small' | 'middle' | 'large';
19
- /**
20
- * 是否禁用
21
- * @default false
22
- */
23
- disabled?: boolean;
24
16
  fileName: TypeToSingleAndArray<string | FileNameType>;
25
17
  /**
26
18
  * 是否需要fileName别名
@@ -30,7 +22,7 @@ export interface ApDownLoadProps<FileNameType extends Record<string, string> = R
30
22
  */
31
23
  needName?: ApDownLoadNeedNameModel;
32
24
  getOssAccess?: () => Promise<accessCreate>;
33
- }
25
+ };
34
26
  /**
35
27
  * 别名配置项
36
28
  */
@@ -14,6 +14,9 @@
14
14
  font-size: 18px;
15
15
  margin-right: 5px;
16
16
  }
17
+ .aplus-ap-download-inner-wrapper .text {
18
+ color: var(--download-main-color);
19
+ }
17
20
  .aplus-ap-download-inner-wrapper:hover {
18
21
  color: var(--download-main-color-opacity);
19
22
  }
@@ -1,15 +1,15 @@
1
- import { defineComponent as $, useSlots as j, ref as f, onMounted as q, computed as B, unref as l, watch as E, cloneVNode as K, openBlock as g, createBlock as C, mergeProps as Q, createSlots as U, withCtx as i, resolveDynamicComponent as G, createCommentVNode as H, createElementVNode as V, normalizeClass as J, createVNode as k, normalizeStyle as M, toDisplayString as W, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as ee } from "vue";
1
+ import { defineComponent as $, useSlots as j, ref as f, onMounted as q, computed as B, unref as l, watch as E, cloneVNode as K, openBlock as g, createBlock as V, mergeProps as Q, createSlots as U, withCtx as i, resolveDynamicComponent as G, createCommentVNode as H, createElementVNode as C, normalizeClass as J, createVNode as k, normalizeStyle as M, toDisplayString as W, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as ee } from "vue";
2
2
  import { Form as oe, Tooltip as le } from "ant-design-vue";
3
3
  import { useToken as te } from "ant-design-vue/es/theme/internal";
4
- import { isFunction as ae, isArray as re, omit as N } from "lodash-unified";
5
- import { apFormItemColPropKeys as ne } from "./constant.mjs";
6
- import { QuestionCircleOutlined as ie } from "@ant-design/icons-vue";
4
+ import { isFunction as ae, cloneDeep as re, isArray as ne, omit as N } from "lodash-unified";
5
+ import { apFormItemColPropKeys as ie } from "./constant.mjs";
6
+ import { QuestionCircleOutlined as ue } from "@ant-design/icons-vue";
7
7
  import "../config-provider/index.mjs";
8
- import { useInjectForm as ue } from "./context.mjs";
8
+ import { useInjectForm as se } from "./context.mjs";
9
9
  import "./style/ap-form-item.css";
10
- import { isPromise as se } from "@fruits-chain/utils";
11
- import { useNamespace as de } from "../config-provider/hooks/use-namespace.mjs";
12
- const me = ["title"], Ve = /* @__PURE__ */ $({
10
+ import { isPromise as de } from "@fruits-chain/utils";
11
+ import { useNamespace as me } from "../config-provider/hooks/use-namespace.mjs";
12
+ const fe = ["title"], ke = /* @__PURE__ */ $({
13
13
  name: "ApFormItem",
14
14
  __name: "ap-form-item",
15
15
  props: {
@@ -54,15 +54,15 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
54
54
  },
55
55
  setup(P, { expose: S }) {
56
56
  var b, F;
57
- const o = P, t = j(), { model: u, updateModel: s, internalInstance: d } = ue(), { m: p, b: w } = de("ap-form-item"), m = f(!1), a = f(), [, x] = te();
57
+ const o = P, t = j(), { model: u, updateModel: s, internalInstance: d } = se(), { m: p, b: w } = me("ap-form-item"), m = f(!1), a = f(), [, x] = te();
58
58
  q(async () => {
59
59
  let e = ae(o.initialValue) ? o.initialValue() : o.initialValue;
60
- se(e) && (e = await e), d == null || d.registerField({
60
+ de(e) && (e = await e), d == null || d.registerField({
61
61
  name: o.name,
62
- initialValue: e
62
+ initialValue: re(e)
63
63
  });
64
64
  });
65
- const c = B(() => o.name ? re(o.name) ? o.name.reduce((e, r) => e == null ? void 0 : e[r], l(u)) : u == null ? void 0 : u.value[o.name] : null), v = f((F = (b = t.default) == null ? void 0 : b.call(t)) == null ? void 0 : F[0]);
65
+ const c = B(() => o.name ? ne(o.name) ? o.name.reduce((e, r) => e == null ? void 0 : e[r], l(u)) : u == null ? void 0 : u.value[o.name] : null), v = f((F = (b = t.default) == null ? void 0 : b.call(t)) == null ? void 0 : F[0]);
66
66
  E(
67
67
  () => {
68
68
  var e;
@@ -98,15 +98,15 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
98
98
  var e;
99
99
  (e = a.value) == null || e.onFieldBlur();
100
100
  }
101
- function R() {
101
+ function D() {
102
102
  var e;
103
103
  (e = a.value) == null || e.onFieldChange();
104
104
  }
105
- function T() {
105
+ function R() {
106
106
  var e;
107
107
  (e = a.value) == null || e.clearValidate();
108
108
  }
109
- function D() {
109
+ function T() {
110
110
  var e;
111
111
  (e = a.value) == null || e.resetField();
112
112
  }
@@ -115,14 +115,14 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
115
115
  }
116
116
  return S({
117
117
  onFieldBlur: A,
118
- onFieldChange: R,
119
- clearValidate: T,
120
- resetField: D,
118
+ onFieldChange: D,
119
+ clearValidate: R,
120
+ resetField: T,
121
121
  getFieldValue: L
122
- }), (e, r) => (g(), C(l(oe).Item, Q({
122
+ }), (e, r) => (g(), V(l(oe).Item, Q({
123
123
  ref_key: "formItemRef",
124
124
  ref: a
125
- }, l(N)(o, [...l(ne), "tooltip", "label"]), {
125
+ }, l(N)(o, [...l(ie), "tooltip", "label"]), {
126
126
  class: {
127
127
  [l(p)("bordered")]: e.bordered,
128
128
  [l(p)("focused")]: e.bordered && m.value,
@@ -131,21 +131,21 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
131
131
  colon: e.bordered ? !1 : o.colon
132
132
  }), U({
133
133
  default: i(() => [
134
- y.value ? (g(), C(G(y.value), { key: 0 })) : H("", !0)
134
+ y.value ? (g(), V(G(y.value), { key: 0 })) : H("", !0)
135
135
  ]),
136
136
  _: 2
137
137
  }, [
138
138
  o.tooltip ? {
139
139
  name: "tooltip",
140
140
  fn: i(({ class: n }) => [
141
- V("span", {
141
+ C("span", {
142
142
  class: J(n)
143
143
  }, [
144
144
  k(l(le), {
145
145
  title: o.tooltip
146
146
  }, {
147
147
  default: i(() => [
148
- k(l(ie), {
148
+ k(l(ue), {
149
149
  style: M({ color: l(x).colorPrimary })
150
150
  }, null, 8, ["style"])
151
151
  ]),
@@ -158,14 +158,14 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
158
158
  e.label ? {
159
159
  name: "label",
160
160
  fn: i(() => [
161
- V("span", {
161
+ C("span", {
162
162
  title: e.label,
163
163
  style: {
164
164
  whiteSpace: "nowrap",
165
165
  overflow: "hidden",
166
166
  textOverflow: "ellipsis"
167
167
  }
168
- }, W(e.label), 9, me)
168
+ }, W(e.label), 9, fe)
169
169
  ]),
170
170
  key: "1"
171
171
  } : void 0,
@@ -179,5 +179,5 @@ const me = ["title"], Ve = /* @__PURE__ */ $({
179
179
  }
180
180
  });
181
181
  export {
182
- Ve as default
182
+ ke as default
183
183
  };