@keyblade/pro-components 1.13.8-alpha.9 → 1.14.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 (156) hide show
  1. package/es/components.d.ts +7 -0
  2. package/es/global-props.d.ts +20 -3
  3. package/es/global-props.js +6 -2
  4. package/es/index.d.ts +7 -0
  5. package/es/index.js +47 -28
  6. package/es/inerface.d.ts +5 -2
  7. package/es/pro-calendar/calendar.vue.d.ts +75 -0
  8. package/es/pro-calendar/calendar.vue.js +159 -0
  9. package/es/pro-calendar/calendar.vue3.js +5 -0
  10. package/es/pro-calendar/enum.d.ts +6 -0
  11. package/es/pro-calendar/enum.js +4 -0
  12. package/es/pro-calendar/header.vue.d.ts +35 -0
  13. package/es/pro-calendar/header.vue.js +146 -0
  14. package/es/pro-calendar/header.vue2.js +4 -0
  15. package/es/pro-calendar/hooks/useCellClassName.d.ts +12 -0
  16. package/es/pro-calendar/hooks/useCellClassName.js +40 -0
  17. package/es/pro-calendar/index.d.ts +117 -0
  18. package/es/pro-calendar/index.js +12 -0
  19. package/es/pro-calendar/interface.d.ts +89 -0
  20. package/es/pro-calendar/month.d.ts +5 -0
  21. package/es/pro-calendar/month.js +53 -0
  22. package/es/pro-calendar/month.vue.d.ts +22 -0
  23. package/es/pro-calendar/month.vue.js +126 -0
  24. package/es/pro-calendar/month.vue2.js +4 -0
  25. package/es/pro-calendar/week.vue.d.ts +3 -0
  26. package/es/pro-calendar/week.vue.js +34 -0
  27. package/es/pro-calendar/week.vue2.js +4 -0
  28. package/es/pro-calendar/year.vue.d.ts +3 -0
  29. package/es/pro-calendar/year.vue.js +123 -0
  30. package/es/pro-calendar/year.vue2.js +4 -0
  31. package/es/pro-date-range-picker/index.d.ts +183 -13
  32. package/es/pro-date-range-picker/index.js +6 -7
  33. package/es/pro-date-range-picker/interface.d.ts +38 -0
  34. package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +173 -6
  35. package/es/pro-date-range-picker/pro-date-range-picker.vue.js +2 -2
  36. package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +124 -104
  37. package/es/pro-dates-picker/index.d.ts +49 -0
  38. package/es/pro-dates-picker/index.js +11 -0
  39. package/es/pro-dates-picker/index.vue.d.ts +29 -0
  40. package/es/pro-dates-picker/index.vue.js +135 -0
  41. package/es/pro-dates-picker/index.vue3.js +5 -0
  42. package/es/pro-dates-picker/interface.d.ts +38 -0
  43. package/es/pro-dates-picker/util.d.ts +12 -0
  44. package/es/pro-dates-picker/util.js +9 -0
  45. package/es/pro-find-password/enum.d.ts +8 -0
  46. package/es/pro-find-password/enum.js +4 -0
  47. package/es/pro-find-password/index.d.ts +11 -0
  48. package/es/pro-find-password/index.js +11 -0
  49. package/es/pro-find-password/index.vue.d.ts +4459 -0
  50. package/es/pro-find-password/index.vue.js +176 -0
  51. package/es/pro-find-password/index.vue3.js +5 -0
  52. package/es/pro-find-password/interface.d.ts +45 -0
  53. package/es/pro-find-password/reset-password.vue.d.ts +591 -0
  54. package/es/pro-find-password/reset-password.vue.js +179 -0
  55. package/es/pro-find-password/reset-password.vue2.js +4 -0
  56. package/es/pro-find-password/verify-user-name.vue.d.ts +795 -0
  57. package/es/pro-find-password/verify-user-name.vue.js +112 -0
  58. package/es/pro-find-password/verify-user-name.vue3.js +5 -0
  59. package/es/pro-footer-bar/index.d.ts +6 -3
  60. package/es/pro-footer-bar/index.js +6 -7
  61. package/es/pro-footer-bar/index.vue.d.ts +1 -1
  62. package/es/pro-footer-bar/index.vue.js +2 -2
  63. package/es/pro-footer-bar/index.vue2.js +24 -26
  64. package/es/pro-footer-bar/{inerface.d.ts → interface.d.ts} +1 -0
  65. package/es/pro-form-group/index.d.ts +7 -6
  66. package/es/pro-form-group/index.js +6 -8
  67. package/es/pro-form-group/index.vue.d.ts +2 -2
  68. package/es/pro-form-group/index.vue.js +1 -1
  69. package/es/pro-form-group/index.vue2.js +31 -32
  70. package/es/pro-image-upload/cropper.vue.js +2 -2
  71. package/es/pro-image-upload/cropper.vue2.js +200 -190
  72. package/es/pro-image-upload/image-upload.vue.d.ts +1124 -371
  73. package/es/pro-image-upload/image-upload.vue.js +178 -144
  74. package/es/pro-image-upload/index.d.ts +1727 -1001
  75. package/es/pro-image-upload/index.js +6 -8
  76. package/es/pro-keep-alive-router-view/index.d.ts +1 -0
  77. package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue.js +17 -18
  78. package/es/pro-layout/hooks.d.ts +80 -1
  79. package/es/pro-layout/hooks.js +133 -84
  80. package/es/pro-layout/index.d.ts +9 -6
  81. package/es/pro-layout/index.js +6 -11
  82. package/es/pro-layout/pro-layout.vue.d.ts +4 -2
  83. package/es/pro-layout/pro-layout.vue.js +220 -208
  84. package/es/pro-loader/index.d.ts +43 -0
  85. package/es/pro-loader/index.js +11 -0
  86. package/es/pro-loader/index.vue.d.ts +28 -0
  87. package/es/pro-loader/index.vue.js +112 -0
  88. package/es/pro-loader/index.vue3.js +5 -0
  89. package/es/pro-loader/interface.d.ts +16 -0
  90. package/es/pro-login/enum.d.ts +6 -0
  91. package/es/pro-login/enum.js +4 -0
  92. package/es/pro-login/form-mobile.vue.d.ts +797 -0
  93. package/es/pro-login/form-mobile.vue.js +146 -0
  94. package/es/pro-login/form-mobile.vue2.js +4 -0
  95. package/es/pro-login/form-password.vue.d.ts +584 -0
  96. package/es/pro-login/form-password.vue.js +99 -0
  97. package/es/pro-login/form-password.vue2.js +4 -0
  98. package/es/pro-login/index.d.ts +11 -0
  99. package/es/pro-login/index.js +11 -0
  100. package/es/pro-login/index.vue.d.ts +4429 -0
  101. package/es/pro-login/index.vue.js +105 -0
  102. package/es/pro-login/index.vue3.js +5 -0
  103. package/es/pro-login/interface.d.ts +72 -0
  104. package/es/pro-login/regexp.d.ts +17 -0
  105. package/es/pro-login/regexp.js +28 -0
  106. package/es/pro-menu/index.d.ts +18 -80
  107. package/es/pro-menu/index.js +6 -7
  108. package/es/pro-menu/interface.d.ts +31 -0
  109. package/es/pro-menu/menu-item.vue.d.ts +27 -0
  110. package/es/pro-menu/menu-item.vue.js +35 -0
  111. package/es/pro-menu/menu-item.vue2.js +4 -0
  112. package/es/pro-menu/pro-menu-item.vue.d.ts +9 -0
  113. package/es/pro-menu/pro-menu-item.vue.js +63 -0
  114. package/es/pro-menu/pro-menu-item.vue2.js +4 -0
  115. package/es/pro-menu/pro-menu.vue.d.ts +9 -55
  116. package/es/pro-menu/pro-menu.vue.js +36 -119
  117. package/es/pro-menu/sub-menu.vue.d.ts +22 -0
  118. package/es/pro-menu/sub-menu.vue.js +55 -0
  119. package/es/pro-menu/sub-menu.vue2.js +4 -0
  120. package/es/pro-menu/util.d.ts +9 -0
  121. package/es/pro-menu/util.js +7 -0
  122. package/es/pro-page-container/constant.d.ts +2 -0
  123. package/es/pro-page-container/constant.js +9 -0
  124. package/es/pro-page-container/index.d.ts +7 -21
  125. package/es/pro-page-container/index.js +6 -8
  126. package/es/pro-page-container/interface.d.ts +12 -0
  127. package/es/pro-page-container/pro-page-container.vue.d.ts +4 -15
  128. package/es/pro-page-container/pro-page-container.vue.js +58 -38
  129. package/es/pro-page-header/constant.d.ts +2 -0
  130. package/es/pro-page-header/constant.js +13 -0
  131. package/es/pro-page-header/index.d.ts +12 -146
  132. package/es/pro-page-header/index.js +6 -8
  133. package/es/pro-page-header/interface.d.ts +21 -0
  134. package/es/pro-page-header/pro-page-header.vue.d.ts +18 -103
  135. package/es/pro-page-header/pro-page-header.vue.js +141 -124
  136. package/es/pro-reuse-tabs/index.d.ts +8 -6
  137. package/es/pro-reuse-tabs/index.js +6 -7
  138. package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +2 -2
  139. package/es/pro-reuse-tabs/pro-reuse-tabs.vue.js +33 -35
  140. package/es/pro-table/index.d.ts +18 -18
  141. package/es/pro-table/index.js +6 -7
  142. package/es/pro-table/index.vue.d.ts +6 -6
  143. package/es/pro-table/index.vue.js +94 -39
  144. package/es/pro-table/interface.d.ts +73 -65
  145. package/es/pro-textarea/index.d.ts +7 -5
  146. package/es/pro-textarea/index.js +5 -6
  147. package/es/pro-textarea/index.vue.d.ts +1 -1
  148. package/es/pro-textarea/index.vue.js +1 -1
  149. package/es/pro-textarea/index.vue2.js +14 -16
  150. package/es/pro-textarea/{inerface.d.ts → interface.d.ts} +19 -18
  151. package/es/style.css +1 -1
  152. package/es/utils.d.ts +6 -0
  153. package/es/utils.js +7 -0
  154. package/package.json +5 -4
  155. package/es/pro-date-range-picker/inerface.d.ts +0 -26
  156. package/es/pro-page-container/inerface.d.ts +0 -12
@@ -0,0 +1,112 @@
1
+ import { defineComponent as b, useSlots as N, ref as d, createBlock as h, openBlock as C, unref as o, normalizeClass as i, withCtx as s, createVNode as l, mergeProps as m, renderSlot as S, createCommentVNode as z, normalizeProps as k, guardReactiveProps as $, createTextVNode as w } from "vue";
2
+ import { testUserName as x } from "../pro-login/regexp.js";
3
+ import { Form as B, FormItem as u, Input as f, Button as R } from "@arco-design/web-vue";
4
+ const c = "keyblade-find-password", E = /* @__PURE__ */ b({
5
+ __name: "verify-user-name",
6
+ props: {
7
+ current: {},
8
+ phoneNum: {},
9
+ inputProps: { default: () => ({
10
+ size: "large"
11
+ }) },
12
+ countdown: {},
13
+ formItemProps: { default: () => ({
14
+ hideLabel: !0,
15
+ validateTrigger: []
16
+ }) },
17
+ onNext: {},
18
+ onSendSmsCode: {},
19
+ onEntry: {},
20
+ "update:current": {},
21
+ prefixClsName: {}
22
+ },
23
+ emits: ["submit"],
24
+ setup(U, { expose: v, emit: y }) {
25
+ const P = y, g = N(), n = d(), a = d({
26
+ username: "",
27
+ captcha: ""
28
+ }), V = {
29
+ username: [{
30
+ required: !0,
31
+ message: "请输入用户名或手机号"
32
+ }, {
33
+ validator: x
34
+ }],
35
+ captcha: [{
36
+ required: !0,
37
+ message: "请输入验证码"
38
+ }]
39
+ }, p = (r) => {
40
+ var e;
41
+ (e = n.value) == null || e.clearValidate(r);
42
+ }, I = () => {
43
+ P("submit", a.value);
44
+ };
45
+ return v({
46
+ formRef: n
47
+ }), (r, e) => (C(), h(o(B), {
48
+ ref_key: "formRef",
49
+ ref: n,
50
+ model: a.value,
51
+ rules: V,
52
+ class: i(`${c}-verify-user-name`),
53
+ onSubmitSuccess: I
54
+ }, {
55
+ default: s(() => [
56
+ l(o(u), m({ field: "username" }, r.formItemProps), {
57
+ default: s(() => [
58
+ l(o(f), m(r.inputProps, {
59
+ modelValue: a.value.username,
60
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => a.value.username = t),
61
+ "max-length": 16,
62
+ placeholder: "请输入用户名/手机号",
63
+ onInput: e[1] || (e[1] = (t) => p("username"))
64
+ }), null, 16, ["modelValue"])
65
+ ]),
66
+ _: 1
67
+ }, 16),
68
+ l(o(u), m({ field: "captcha" }, r.formItemProps), {
69
+ default: s(() => [
70
+ l(o(f), m(r.inputProps, {
71
+ modelValue: a.value.captcha,
72
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => a.value.captcha = t),
73
+ "max-length": 4,
74
+ placeholder: "请输入短信验证码",
75
+ onInput: e[3] || (e[3] = (t) => p("captcha"))
76
+ }), {
77
+ append: s(() => [
78
+ o(g)["verify-code"] ? S(r.$slots, "verify-code", { key: 0 }) : z("", !0)
79
+ ]),
80
+ _: 3
81
+ }, 16, ["modelValue"])
82
+ ]),
83
+ _: 3
84
+ }, 16),
85
+ l(o(u), k($(r.formItemProps)), {
86
+ default: s(() => {
87
+ var t;
88
+ return [
89
+ l(o(R), {
90
+ type: "primary",
91
+ long: "",
92
+ "html-type": "submit",
93
+ size: (t = r.inputProps) == null ? void 0 : t.size,
94
+ class: i(`${c}-verify-submit`)
95
+ }, {
96
+ default: s(() => e[4] || (e[4] = [
97
+ w(" 下一步 ")
98
+ ])),
99
+ _: 1
100
+ }, 8, ["size", "class"])
101
+ ];
102
+ }),
103
+ _: 1
104
+ }, 16)
105
+ ]),
106
+ _: 3
107
+ }, 8, ["model", "class"]));
108
+ }
109
+ });
110
+ export {
111
+ E as default
112
+ };
@@ -0,0 +1,5 @@
1
+ import o from "./verify-user-name.vue.js";
2
+ /* empty css */
3
+ export {
4
+ o as default
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { App } from 'vue';
2
2
  declare const ProFooterBar: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./inerface').ProFooterBarProps> & Readonly<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./interface').ProFooterBarProps> & Readonly<{
4
4
  onBack?: (() => any) | undefined;
5
5
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
6
6
  back: () => any;
@@ -13,7 +13,7 @@ declare const ProFooterBar: {
13
13
  C: {};
14
14
  M: {};
15
15
  Defaults: {};
16
- }, Readonly<import('./inerface').ProFooterBarProps> & Readonly<{
16
+ }, Readonly<import('./interface').ProFooterBarProps> & Readonly<{
17
17
  onBack?: (() => any) | undefined;
18
18
  }>, {}, {}, {}, {}, {
19
19
  backText: string;
@@ -21,7 +21,7 @@ declare const ProFooterBar: {
21
21
  __isFragment?: never;
22
22
  __isTeleport?: never;
23
23
  __isSuspense?: never;
24
- } & import('vue').ComponentOptionsBase<Readonly<import('./inerface').ProFooterBarProps> & Readonly<{
24
+ } & import('vue').ComponentOptionsBase<Readonly<import('./interface').ProFooterBarProps> & Readonly<{
25
25
  onBack?: (() => any) | undefined;
26
26
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
27
27
  back: () => any;
@@ -34,5 +34,8 @@ declare const ProFooterBar: {
34
34
  }) & {
35
35
  install: (app: App) => void;
36
36
  };
37
+ /** 导出类型 */
38
+ export * from './interface';
39
+ /** 导出组件 */
37
40
  export { ProFooterBar };
38
41
  export default ProFooterBar;
@@ -1,11 +1,10 @@
1
- import r from "./index.vue.js";
2
- import { Button as t, Space as e } from "@arco-design/web-vue";
3
- const n = Object.assign(r, {
4
- install: (o) => {
5
- o.use(t), o.use(e), o.component("KbProFooterBar", r);
1
+ import o from "./index.vue.js";
2
+ const a = Object.assign(o, {
3
+ install: (r) => {
4
+ r.component("KbProFooterBar", o);
6
5
  }
7
6
  });
8
7
  export {
9
- n as ProFooterBar,
10
- n as default
8
+ a as ProFooterBar,
9
+ a as default
11
10
  };
@@ -1,4 +1,4 @@
1
- import { ProFooterBarProps } from './inerface';
1
+ import { ProFooterBarProps } from './interface.ts';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f9d45b25"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-664c6218"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,6 +1,7 @@
1
- import { defineComponent as u, computed as f, resolveComponent as t, createElementBlock as B, openBlock as _, normalizeClass as b, createVNode as a, withCtx as n, withDirectives as h, renderSlot as v, createTextVNode as x, toDisplayString as C, vShow as g } from "vue";
1
+ import { defineComponent as m, computed as f, createElementBlock as k, openBlock as u, normalizeClass as B, createVNode as t, unref as a, withCtx as r, withDirectives as h, renderSlot as b, createTextVNode as x, toDisplayString as _, vShow as v } from "vue";
2
+ import { Space as C, Button as S } from "@arco-design/web-vue";
2
3
  import { globalProps as c } from "../global-props.js";
3
- const w = "keyblade-pro-footer-bar", S = /* @__PURE__ */ u({
4
+ const g = "keyblade-pro-footer-bar", T = /* @__PURE__ */ m({
4
5
  __name: "index",
5
6
  props: {
6
7
  hideBack: { type: Boolean },
@@ -8,37 +9,34 @@ const w = "keyblade-pro-footer-bar", S = /* @__PURE__ */ u({
8
9
  onBack: {}
9
10
  },
10
11
  emits: ["back"],
11
- setup(r, { emit: s }) {
12
- const l = r, i = s, p = () => {
12
+ setup(n, { emit: i }) {
13
+ const l = n, s = i, d = () => {
13
14
  var e, o;
14
- i("back"), (o = (e = c.footerBar) == null ? void 0 : e.onBack) == null || o.call(e);
15
- }, d = f(() => {
15
+ s("back"), (o = (e = c.footerBar) == null ? void 0 : e.onBack) == null || o.call(e);
16
+ }, p = f(() => {
16
17
  var e;
17
18
  return l.hideBack || ((e = c.footerBar) == null ? void 0 : e.hideBack);
18
19
  });
19
- return (e, o) => {
20
- const m = t("a-button"), k = t("a-space");
21
- return _(), B("div", {
22
- class: b(w)
23
- }, [
24
- a(k, null, {
25
- default: n(() => [
26
- h(a(m, { onClick: p }, {
27
- default: n(() => [
28
- x(C(e.backText), 1)
29
- ]),
30
- _: 1
31
- }, 512), [
32
- [g, !d.value]
20
+ return (e, o) => (u(), k("div", {
21
+ class: B(g)
22
+ }, [
23
+ t(a(C), null, {
24
+ default: r(() => [
25
+ h(t(a(S), { onClick: d }, {
26
+ default: r(() => [
27
+ x(_(e.backText), 1)
33
28
  ]),
34
- v(e.$slots, "default", {}, void 0, !0)
29
+ _: 1
30
+ }, 512), [
31
+ [v, !p.value]
35
32
  ]),
36
- _: 3
37
- })
38
- ]);
39
- };
33
+ b(e.$slots, "default", {}, void 0, !0)
34
+ ]),
35
+ _: 3
36
+ })
37
+ ]));
40
38
  }
41
39
  });
42
40
  export {
43
- S as default
41
+ T as default
44
42
  };
@@ -3,5 +3,6 @@ export interface ProFooterBarProps {
3
3
  hideBack?: boolean;
4
4
  /** 返回按钮文字 */
5
5
  backText?: string;
6
+ /** 返回方法 */
6
7
  onBack?: () => void;
7
8
  }
@@ -2,11 +2,11 @@ import { App } from 'vue';
2
2
  declare const ProFormGroup: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
4
  label: string;
5
- heading?: number | string;
5
+ heading?: 1 | 6 | 2 | 3 | 4 | 5;
6
6
  extra?: string;
7
7
  hideIcon?: boolean;
8
8
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
9
- heading: number | string;
9
+ heading: 1 | 6 | 2 | 3 | 4 | 5;
10
10
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
11
11
  P: {};
12
12
  B: {};
@@ -16,22 +16,22 @@ declare const ProFormGroup: {
16
16
  Defaults: {};
17
17
  }, Readonly<{
18
18
  label: string;
19
- heading?: number | string;
19
+ heading?: 1 | 6 | 2 | 3 | 4 | 5;
20
20
  extra?: string;
21
21
  hideIcon?: boolean;
22
22
  }> & Readonly<{}>, {}, {}, {}, {}, {
23
- heading: number | string;
23
+ heading: 1 | 6 | 2 | 3 | 4 | 5;
24
24
  }>;
25
25
  __isFragment?: never;
26
26
  __isTeleport?: never;
27
27
  __isSuspense?: never;
28
28
  } & import('vue').ComponentOptionsBase<Readonly<{
29
29
  label: string;
30
- heading?: number | string;
30
+ heading?: 1 | 6 | 2 | 3 | 4 | 5;
31
31
  extra?: string;
32
32
  hideIcon?: boolean;
33
33
  }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
34
- heading: number | string;
34
+ heading: 1 | 6 | 2 | 3 | 4 | 5;
35
35
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
36
36
  $slots: {
37
37
  default?(_: {}): any;
@@ -39,5 +39,6 @@ declare const ProFormGroup: {
39
39
  }) & {
40
40
  install: (app: App) => void;
41
41
  };
42
+ /** 导出组件 */
42
43
  export { ProFormGroup };
43
44
  export default ProFormGroup;
@@ -1,12 +1,10 @@
1
- import r from "./index.vue.js";
2
- import { Typography as m } from "@arco-design/web-vue";
3
- import { IconExclamationCircleFill as t } from "@arco-design/web-vue/es/icon";
4
- const n = Object.assign(r, {
5
- install: (o) => {
6
- o.use(m), o.use(t), o.component("KbProFormGroup", r);
1
+ import o from "./index.vue.js";
2
+ const m = Object.assign(o, {
3
+ install: (r) => {
4
+ r.component("KbProFormGroup", o);
7
5
  }
8
6
  });
9
7
  export {
10
- n as ProFormGroup,
11
- n as default
8
+ m as ProFormGroup,
9
+ m as default
12
10
  };
@@ -1,7 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  label: string;
3
3
  /** 标题大小 */
4
- heading?: number | string;
4
+ heading?: 1 | 6 | 2 | 3 | 4 | 5;
5
5
  /** 扩展提示 */
6
6
  extra?: string;
7
7
  /** 隐藏icon */
@@ -17,7 +17,7 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- heading: number | string;
20
+ heading: 1 | 6 | 2 | 3 | 4 | 5;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9f030479"]]);
4
+ const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ba9d734f"]]);
5
5
  export {
6
6
  _ as default
7
7
  };
@@ -1,5 +1,7 @@
1
- import { defineComponent as m, resolveComponent as o, createBlock as _, openBlock as n, normalizeClass as t, withCtx as l, createVNode as r, createElementBlock as h, createCommentVNode as f, renderSlot as u, createTextVNode as i, toDisplayString as c, withDirectives as y, vShow as g } from "vue";
2
- const a = "keyblade-pro-form-group", v = /* @__PURE__ */ m({
1
+ import { defineComponent as d, createBlock as p, openBlock as t, unref as o, normalizeClass as a, withCtx as l, createVNode as n, createElementBlock as c, createCommentVNode as m, renderSlot as f, createTextVNode as i, toDisplayString as s, withDirectives as u, vShow as h } from "vue";
2
+ import { Typography as g, TypographyTitle as y } from "@arco-design/web-vue";
3
+ import { IconExclamationCircleFill as C } from "@arco-design/web-vue/es/icon";
4
+ const r = "keyblade-pro-form-group", T = /* @__PURE__ */ d({
3
5
  __name: "index",
4
6
  props: {
5
7
  label: {},
@@ -7,37 +9,34 @@ const a = "keyblade-pro-form-group", v = /* @__PURE__ */ m({
7
9
  extra: {},
8
10
  hideIcon: { type: Boolean }
9
11
  },
10
- setup(x) {
11
- return (e, C) => {
12
- const p = o("a-typography-title"), s = o("icon-exclamation-circle-fill"), d = o("a-typography");
13
- return n(), _(d, {
14
- class: t(a)
15
- }, {
16
- default: l(() => [
17
- r(p, { heading: e.heading }, {
18
- default: l(() => [
19
- i(c(e.label), 1)
20
- ]),
21
- _: 1
22
- }, 8, ["heading"]),
23
- e.extra ? (n(), h("div", {
24
- key: 0,
25
- class: t(`${a}-extra`)
26
- }, [
27
- y(r(s, {
28
- class: t(`${a}-icon`)
29
- }, null, 8, ["class"]), [
30
- [g, !e.hideIcon]
31
- ]),
32
- i(" " + c(e.extra), 1)
33
- ], 2)) : f("", !0),
34
- u(e.$slots, "default", {}, void 0, !0)
35
- ]),
36
- _: 3
37
- });
38
- };
12
+ setup(k) {
13
+ return (e, x) => (t(), p(o(g), {
14
+ class: a(r)
15
+ }, {
16
+ default: l(() => [
17
+ n(o(y), { heading: e.heading }, {
18
+ default: l(() => [
19
+ i(s(e.label), 1)
20
+ ]),
21
+ _: 1
22
+ }, 8, ["heading"]),
23
+ e.extra ? (t(), c("div", {
24
+ key: 0,
25
+ class: a(`${r}-extra`)
26
+ }, [
27
+ u(n(o(C), {
28
+ class: a(`${r}-icon`)
29
+ }, null, 8, ["class"]), [
30
+ [h, !e.hideIcon]
31
+ ]),
32
+ i(" " + s(e.extra), 1)
33
+ ], 2)) : m("", !0),
34
+ f(e.$slots, "default", {}, void 0, !0)
35
+ ]),
36
+ _: 3
37
+ }));
39
38
  }
40
39
  });
41
40
  export {
42
- v as default
41
+ T as default
43
42
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./cropper.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1bddf267"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bf0218e0"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };