@keyblade/pro-components 1.13.8-alpha.34 → 1.13.8-alpha.36

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 (87) hide show
  1. package/es/components.d.ts +2 -0
  2. package/es/global-props.d.ts +12 -6
  3. package/es/index.d.ts +2 -0
  4. package/es/index.js +46 -38
  5. package/es/inerface.d.ts +4 -2
  6. package/es/pro-calendar/calendar.vue.d.ts +4 -4
  7. package/es/pro-calendar/header.vue.d.ts +1 -1
  8. package/es/pro-calendar/index.d.ts +21 -21
  9. package/es/pro-calendar/month.vue.d.ts +1 -1
  10. package/es/pro-calendar/week.vue.d.ts +1 -1
  11. package/es/pro-calendar/year.vue.d.ts +1 -1
  12. package/es/pro-date-range-picker/index.d.ts +12 -11
  13. package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +3 -2
  14. package/es/pro-date-range-picker/pro-date-range-picker.vue.js +2 -2
  15. package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +68 -64
  16. package/es/pro-dates-picker/index.d.ts +6 -6
  17. package/es/pro-dates-picker/index.vue.d.ts +2 -2
  18. package/es/pro-find-password/enum.d.ts +8 -0
  19. package/es/pro-find-password/enum.js +4 -0
  20. package/es/pro-find-password/index.d.ts +9 -0
  21. package/es/pro-find-password/index.js +12 -0
  22. package/es/pro-find-password/index.vue.d.ts +3695 -0
  23. package/es/pro-find-password/index.vue.js +178 -0
  24. package/es/pro-find-password/index.vue3.js +5 -0
  25. package/es/pro-find-password/interface.d.ts +45 -0
  26. package/es/pro-find-password/reset-password.vue.d.ts +400 -0
  27. package/es/pro-find-password/reset-password.vue.js +181 -0
  28. package/es/pro-find-password/reset-password.vue2.js +4 -0
  29. package/es/pro-find-password/verify-user-name.vue.d.ts +413 -0
  30. package/es/pro-find-password/verify-user-name.vue.js +114 -0
  31. package/es/pro-find-password/verify-user-name.vue3.js +5 -0
  32. package/es/pro-footer-bar/index.d.ts +3 -3
  33. package/es/pro-footer-bar/index.vue.d.ts +1 -1
  34. package/es/pro-footer-bar/index.vue.js +2 -2
  35. package/es/pro-form-group/index.d.ts +6 -6
  36. package/es/pro-form-group/index.vue.d.ts +2 -2
  37. package/es/pro-form-group/index.vue.js +1 -1
  38. package/es/pro-image-upload/image-upload.vue.d.ts +1 -1
  39. package/es/pro-image-upload/index.d.ts +3 -3
  40. package/es/pro-layout/index.d.ts +5 -3
  41. package/es/pro-layout/pro-layout.vue.d.ts +3 -1
  42. package/es/pro-layout/pro-layout.vue.js +92 -89
  43. package/es/pro-loader/index.d.ts +3 -3
  44. package/es/pro-loader/index.vue.d.ts +1 -1
  45. package/es/pro-login/enum.d.ts +6 -0
  46. package/es/pro-login/enum.js +4 -0
  47. package/es/pro-login/form-mobile.vue.d.ts +415 -0
  48. package/es/pro-login/form-mobile.vue.js +148 -0
  49. package/es/pro-login/form-mobile.vue2.js +4 -0
  50. package/es/pro-login/form-password.vue.d.ts +393 -0
  51. package/es/pro-login/form-password.vue.js +101 -0
  52. package/es/pro-login/form-password.vue2.js +4 -0
  53. package/es/pro-login/index.d.ts +9 -0
  54. package/es/pro-login/index.js +12 -0
  55. package/es/pro-login/index.vue.d.ts +3665 -0
  56. package/es/pro-login/index.vue.js +107 -0
  57. package/es/pro-login/index.vue3.js +5 -0
  58. package/es/pro-login/interface.d.ts +72 -0
  59. package/es/pro-login/regexp.d.ts +17 -0
  60. package/es/pro-login/regexp.js +28 -0
  61. package/es/pro-page-container/constant.d.ts +2 -0
  62. package/es/pro-page-container/constant.js +9 -0
  63. package/es/pro-page-container/index.d.ts +6 -33
  64. package/es/pro-page-container/interface.d.ts +12 -0
  65. package/es/pro-page-container/pro-page-container.vue.d.ts +4 -19
  66. package/es/pro-page-container/pro-page-container.vue.js +51 -38
  67. package/es/pro-page-header/constant.d.ts +2 -0
  68. package/es/pro-page-header/constant.js +13 -0
  69. package/es/pro-page-header/index.d.ts +3 -153
  70. package/es/pro-page-header/interface.d.ts +21 -0
  71. package/es/pro-page-header/pro-page-header.vue.d.ts +2 -105
  72. package/es/pro-page-header/pro-page-header.vue.js +140 -126
  73. package/es/pro-reuse-tabs/index.d.ts +3 -3
  74. package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +1 -1
  75. package/es/pro-table/index.d.ts +9 -9
  76. package/es/pro-table/index.vue.d.ts +3 -3
  77. package/es/pro-textarea/index.d.ts +4 -4
  78. package/es/pro-textarea/index.vue.d.ts +1 -1
  79. package/es/pro-textarea/index.vue.js +2 -2
  80. package/es/pro-textarea/{inerface.d.ts → interface.d.ts} +19 -18
  81. package/es/style.css +1 -1
  82. package/package.json +2 -1
  83. package/es/pro-page-container/inerface.d.ts +0 -12
  84. /package/es/pro-calendar/{inerface.d.ts → interface.d.ts} +0 -0
  85. /package/es/pro-date-range-picker/{inerface.d.ts → interface.d.ts} +0 -0
  86. /package/es/pro-dates-picker/{inerface.d.ts → interface.d.ts} +0 -0
  87. /package/es/pro-footer-bar/{inerface.d.ts → interface.d.ts} +0 -0
@@ -0,0 +1,21 @@
1
+ export interface PageHeaderProps {
2
+ /** 标题,不传默认展示面包屑标题最后一项 */
3
+ title?: string;
4
+ /** 副标题,不传默认不展示 */
5
+ subTitle?: string;
6
+ /** 标题位置 */
7
+ titlePosition?: 'top' | 'bottom';
8
+ /** 是否隐藏标题 */
9
+ hideTitle?: boolean;
10
+ /** 是否隐藏返回按钮 */
11
+ hideBackButton?: boolean;
12
+ /** 面包屑路由模式 */
13
+ breadcrumbRouterMode?: boolean;
14
+ /** 面包屑前缀图标 */
15
+ breadcrumbPrefixIcon?: boolean | string;
16
+ /** 面包屑项 */
17
+ breadcrumbItems?: {
18
+ label: string;
19
+ path?: string;
20
+ }[];
21
+ }
@@ -1,106 +1,3 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- /** 标题,不传默认展示面包屑标题最后一项 */
4
- title: {
5
- type: PropType<string>;
6
- required: false;
7
- default: string;
8
- };
9
- /** 副标题,不传默认不展示 */
10
- subTitle: {
11
- type: PropType<string>;
12
- required: false;
13
- default: string;
14
- };
15
- /** 标题位置 */
16
- titlePosition: {
17
- type: PropType<"top" | "bottom">;
18
- required: false;
19
- default: string;
20
- };
21
- /** 是否隐藏标题 */
22
- hideTitle: {
23
- type: PropType<boolean>;
24
- required: false;
25
- default: boolean;
26
- };
27
- /** 面包屑路由模式 */
28
- breadcrumbRouterMode: {
29
- type: PropType<boolean>;
30
- required: false;
31
- default: boolean;
32
- };
33
- /** 面包屑前缀图标 */
34
- breadcrumbPrefixIcon: {
35
- type: PropType<boolean | string>;
36
- required: false;
37
- default: string;
38
- };
39
- /** 面包屑项 */
40
- breadcrumbItems: {
41
- type: PropType<{
42
- path?: string;
43
- label: string;
44
- }[]>;
45
- required: false;
46
- default: () => never[];
47
- };
48
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
49
- /** 标题,不传默认展示面包屑标题最后一项 */
50
- title: {
51
- type: PropType<string>;
52
- required: false;
53
- default: string;
54
- };
55
- /** 副标题,不传默认不展示 */
56
- subTitle: {
57
- type: PropType<string>;
58
- required: false;
59
- default: string;
60
- };
61
- /** 标题位置 */
62
- titlePosition: {
63
- type: PropType<"top" | "bottom">;
64
- required: false;
65
- default: string;
66
- };
67
- /** 是否隐藏标题 */
68
- hideTitle: {
69
- type: PropType<boolean>;
70
- required: false;
71
- default: boolean;
72
- };
73
- /** 面包屑路由模式 */
74
- breadcrumbRouterMode: {
75
- type: PropType<boolean>;
76
- required: false;
77
- default: boolean;
78
- };
79
- /** 面包屑前缀图标 */
80
- breadcrumbPrefixIcon: {
81
- type: PropType<boolean | string>;
82
- required: false;
83
- default: string;
84
- };
85
- /** 面包屑项 */
86
- breadcrumbItems: {
87
- type: PropType<{
88
- path?: string;
89
- label: string;
90
- }[]>;
91
- required: false;
92
- default: () => never[];
93
- };
94
- }>> & Readonly<{}>, {
95
- title: string;
96
- subTitle: string;
97
- titlePosition: "top" | "bottom";
98
- hideTitle: boolean;
99
- breadcrumbRouterMode: boolean;
100
- breadcrumbPrefixIcon: string | boolean;
101
- breadcrumbItems: {
102
- path?: string;
103
- label: string;
104
- }[];
105
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1
+ import { PageHeaderProps } from './interface.ts';
2
+ declare const _default: import('vue').DefineComponent<PageHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PageHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
106
3
  export default _default;
@@ -1,144 +1,158 @@
1
- import { defineComponent as S, inject as N, computed as V, resolveComponent as n, createElementBlock as u, openBlock as a, normalizeClass as s, createVNode as r, createCommentVNode as d, unref as c, withCtx as l, createBlock as i, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as A, Fragment as _, renderList as D } from "vue";
2
- import { createReusableTemplate as x } from "@vueuse/core";
3
- const M = { key: 1 }, b = "keyblade-pro-page-header", F = /* @__PURE__ */ S({
1
+ var K = Object.defineProperty;
2
+ var N = Object.getOwnPropertySymbols;
3
+ var O = Object.prototype.hasOwnProperty, Q = Object.prototype.propertyIsEnumerable;
4
+ var V = (l, r, e) => r in l ? K(l, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[r] = e, j = (l, r) => {
5
+ for (var e in r || (r = {}))
6
+ O.call(r, e) && V(l, e, r[e]);
7
+ if (N)
8
+ for (var e of N(r))
9
+ Q.call(r, e) && V(l, e, r[e]);
10
+ return l;
11
+ };
12
+ import { defineComponent as U, computed as w, inject as W, resolveComponent as u, createElementBlock as d, openBlock as a, normalizeClass as _, createVNode as n, createCommentVNode as p, unref as s, withCtx as o, createBlock as m, createTextVNode as k, toDisplayString as g, createElementVNode as X, resolveDynamicComponent as Y, Fragment as T, renderList as Z } from "vue";
13
+ import { createReusableTemplate as D } from "@vueuse/core";
14
+ import { useRouter as ee } from "vue-router";
15
+ import { merge as E } from "es-toolkit/object";
16
+ import { globalProps as te } from "../global-props.js";
17
+ import { defaultPageHeaderProps as re } from "./constant.js";
18
+ const ae = { style: { display: "flex", "justify-content": "space-between", "align-items": "center" } }, oe = { key: 1 }, y = "keyblade-pro-page-header", me = /* @__PURE__ */ U({
4
19
  __name: "pro-page-header",
5
20
  props: {
6
- /** 标题,不传默认展示面包屑标题最后一项 */
7
- title: {
8
- type: String,
9
- required: !1,
10
- default: ""
11
- },
12
- /** 副标题,不传默认不展示 */
13
- subTitle: {
14
- type: String,
15
- required: !1,
16
- default: ""
17
- },
18
- /** 标题位置 */
19
- titlePosition: {
20
- type: String,
21
- required: !1,
22
- default: "top"
23
- },
24
- /** 是否隐藏标题 */
25
- hideTitle: {
26
- type: Boolean,
27
- required: !1,
28
- default: !1
29
- },
30
- /** 面包屑路由模式 */
31
- breadcrumbRouterMode: {
32
- type: Boolean,
33
- required: !1,
34
- default: !1
35
- },
36
- /** 面包屑前缀图标 */
37
- breadcrumbPrefixIcon: {
38
- type: [Boolean, String],
39
- required: !1,
40
- default: "icon-apps"
41
- },
42
- /** 面包屑项 */
43
- breadcrumbItems: {
44
- type: Array,
45
- required: !1,
46
- default: () => []
47
- }
21
+ title: {},
22
+ subTitle: {},
23
+ titlePosition: {},
24
+ hideTitle: { type: Boolean },
25
+ hideBackButton: { type: Boolean },
26
+ breadcrumbRouterMode: { type: Boolean },
27
+ breadcrumbPrefixIcon: { type: [Boolean, String] },
28
+ breadcrumbItems: {}
48
29
  },
49
- setup(o) {
50
- const e = o, [I, k] = x(), [B, g] = x(), v = N("ProBreadcrumbItems", []), y = V(() => e.breadcrumbItems instanceof Array && e.breadcrumbItems.length === 0 || !e.breadcrumbItems ? v.value : e.breadcrumbItems || []);
51
- return (j, w) => {
52
- const q = n("a-typography-title"), C = n("a-typography-text"), h = n("a-breadcrumb-item"), P = n("a-link"), $ = n("router-link"), R = n("a-breadcrumb");
53
- return a(), u("div", {
54
- class: s(b)
30
+ setup(l) {
31
+ const r = l, e = w(() => {
32
+ var h;
33
+ return E(j({}, re), E(((h = te) == null ? void 0 : h.pageHeader) || {}, r || {}));
34
+ }), [H, x] = D(), [M, I] = D(), S = ee(), z = W("ProBreadcrumbItems", []), B = w(() => e.value.breadcrumbItems instanceof Array && e.value.breadcrumbItems.length === 0 || !e.value.breadcrumbItems ? z.value : e.value.breadcrumbItems || []);
35
+ return (h, f) => {
36
+ var C, $;
37
+ const A = u("a-typography-title"), F = u("a-typography-text"), P = u("a-breadcrumb-item"), L = u("a-link"), q = u("router-link"), G = u("a-breadcrumb"), J = u("a-button");
38
+ return a(), d("div", {
39
+ class: _(y)
55
40
  }, [
56
- r(c(B), null, {
57
- default: l(() => [
58
- o.hideTitle ? d("", !0) : (a(), u("div", {
59
- key: 0,
60
- class: s(`${b}-section-title`)
61
- }, [
62
- r(q, {
63
- heading: 6,
64
- class: s(`${b}-title`)
65
- }, {
66
- default: l(() => {
67
- var t, m, T;
68
- return [
69
- p(f((e == null ? void 0 : e.title) || ((T = (m = y.value) == null ? void 0 : m[((t = y.value) == null ? void 0 : t.length) - 1]) == null ? void 0 : T.label)), 1)
70
- ];
71
- }),
72
- _: 1
73
- }, 8, ["class"]),
74
- e != null && e.subTitle ? (a(), i(C, {
41
+ n(s(M), null, {
42
+ default: o(() => {
43
+ var i, c;
44
+ return [
45
+ (i = e.value) != null && i.hideTitle ? p("", !0) : (a(), d("div", {
75
46
  key: 0,
76
- type: "secondary",
77
- class: s(`${b}-subtitle`)
78
- }, {
79
- default: l(() => [
80
- p(f(e == null ? void 0 : e.subTitle), 1)
81
- ]),
82
- _: 1
83
- }, 8, ["class"])) : d("", !0)
84
- ], 2))
85
- ]),
47
+ class: _(`${y}-section-title`)
48
+ }, [
49
+ n(A, {
50
+ heading: 6,
51
+ class: _(`${y}-title`)
52
+ }, {
53
+ default: o(() => {
54
+ var t, v, b, R;
55
+ return [
56
+ k(g(((t = e.value) == null ? void 0 : t.title) || ((R = (b = B.value) == null ? void 0 : b[((v = B.value) == null ? void 0 : v.length) - 1]) == null ? void 0 : R.label)), 1)
57
+ ];
58
+ }),
59
+ _: 1
60
+ }, 8, ["class"]),
61
+ (c = e.value) != null && c.subTitle ? (a(), m(F, {
62
+ key: 0,
63
+ type: "secondary",
64
+ class: _(`${y}-subtitle`)
65
+ }, {
66
+ default: o(() => {
67
+ var t;
68
+ return [
69
+ k(g((t = e.value) == null ? void 0 : t.subTitle), 1)
70
+ ];
71
+ }),
72
+ _: 1
73
+ }, 8, ["class"])) : p("", !0)
74
+ ], 2))
75
+ ];
76
+ }),
86
77
  _: 1
87
78
  }),
88
- r(c(I), null, {
89
- default: l(() => [
90
- r(R, {
91
- class: s(`${b}-section-breadcrumb`)
92
- }, {
93
- default: l(() => [
94
- o.breadcrumbPrefixIcon ? (a(), i(h, {
95
- key: 0,
96
- style: { cursor: "text" }
79
+ n(s(H), null, {
80
+ default: o(() => {
81
+ var i;
82
+ return [
83
+ X("div", ae, [
84
+ n(G, {
85
+ class: _(`${y}-section-breadcrumb`)
97
86
  }, {
98
- default: l(() => [
99
- (a(), i(A(o.breadcrumbPrefixIcon)))
100
- ]),
87
+ default: o(() => {
88
+ var c;
89
+ return [
90
+ (c = e.value) != null && c.breadcrumbPrefixIcon ? (a(), m(P, {
91
+ key: 0,
92
+ style: { cursor: "text" }
93
+ }, {
94
+ default: o(() => {
95
+ var t;
96
+ return [
97
+ (a(), m(Y((t = e.value) == null ? void 0 : t.breadcrumbPrefixIcon)))
98
+ ];
99
+ }),
100
+ _: 1
101
+ })) : p("", !0),
102
+ (a(!0), d(T, null, Z(B.value, (t, v) => (a(), m(P, {
103
+ key: `${t}-${v}`
104
+ }, {
105
+ default: o(() => {
106
+ var b;
107
+ return [
108
+ (b = e.value) != null && b.breadcrumbRouterMode ? (a(), m(q, {
109
+ key: 0,
110
+ to: (t == null ? void 0 : t.path) || ""
111
+ }, {
112
+ default: o(() => [
113
+ n(L, null, {
114
+ default: o(() => [
115
+ k(g(t == null ? void 0 : t.label), 1)
116
+ ]),
117
+ _: 2
118
+ }, 1024)
119
+ ]),
120
+ _: 2
121
+ }, 1032, ["to"])) : (a(), d("span", oe, g(t == null ? void 0 : t.label), 1))
122
+ ];
123
+ }),
124
+ _: 2
125
+ }, 1024))), 128))
126
+ ];
127
+ }),
101
128
  _: 1
102
- })) : d("", !0),
103
- (a(!0), u(_, null, D(y.value, (t, m) => (a(), i(h, {
104
- key: `${t}-${m}`
129
+ }, 8, ["class"]),
130
+ (i = e.value) != null && i.hideBackButton ? p("", !0) : (a(), m(J, {
131
+ key: 0,
132
+ onClick: f[0] || (f[0] = (c) => s(S).back())
105
133
  }, {
106
- default: l(() => [
107
- o.breadcrumbRouterMode ? (a(), i($, {
108
- key: 0,
109
- to: (t == null ? void 0 : t.path) || ""
110
- }, {
111
- default: l(() => [
112
- r(P, null, {
113
- default: l(() => [
114
- p(f(t == null ? void 0 : t.label), 1)
115
- ]),
116
- _: 2
117
- }, 1024)
118
- ]),
119
- _: 2
120
- }, 1032, ["to"])) : (a(), u("span", M, f(t == null ? void 0 : t.label), 1))
121
- ]),
122
- _: 2
123
- }, 1024))), 128))
124
- ]),
125
- _: 1
126
- }, 8, ["class"])
127
- ]),
134
+ default: o(() => f[1] || (f[1] = [
135
+ k("返回")
136
+ ])),
137
+ _: 1
138
+ }))
139
+ ])
140
+ ];
141
+ }),
128
142
  _: 1
129
143
  }),
130
- o.titlePosition === "top" ? (a(), u(_, { key: 0 }, [
131
- r(c(g)),
132
- r(c(k))
133
- ], 64)) : d("", !0),
134
- o.titlePosition === "bottom" ? (a(), u(_, { key: 1 }, [
135
- r(c(k)),
136
- r(c(g))
137
- ], 64)) : d("", !0)
144
+ ((C = e.value) == null ? void 0 : C.titlePosition) === "top" ? (a(), d(T, { key: 0 }, [
145
+ n(s(I)),
146
+ n(s(x))
147
+ ], 64)) : p("", !0),
148
+ (($ = e.value) == null ? void 0 : $.titlePosition) === "bottom" ? (a(), d(T, { key: 1 }, [
149
+ n(s(x)),
150
+ n(s(I))
151
+ ], 64)) : p("", !0)
138
152
  ]);
139
153
  };
140
154
  }
141
155
  });
142
156
  export {
143
- F as default
157
+ me as default
144
158
  };
@@ -29,7 +29,7 @@ declare const ProReuseTabs: {
29
29
  "tab-delete": (_key: string) => void;
30
30
  }, import('vue').PublicProps, {
31
31
  tabs: import('./interface').IProTab[];
32
- tabsSize: "small" | "mini" | "medium" | "large";
32
+ tabsSize: "small" | "medium" | "mini" | "large";
33
33
  tabsType: "line" | "text" | "card" | "card-gutter" | "rounded" | "capsule";
34
34
  tabsHeaderPadding: boolean;
35
35
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -65,7 +65,7 @@ declare const ProReuseTabs: {
65
65
  "onTab-delete"?: ((_key: string) => any) | undefined;
66
66
  }>, {}, {}, {}, {}, {
67
67
  tabs: import('./interface').IProTab[];
68
- tabsSize: "small" | "mini" | "medium" | "large";
68
+ tabsSize: "small" | "medium" | "mini" | "large";
69
69
  tabsType: "line" | "text" | "card" | "card-gutter" | "rounded" | "capsule";
70
70
  tabsHeaderPadding: boolean;
71
71
  }>;
@@ -101,7 +101,7 @@ declare const ProReuseTabs: {
101
101
  "tab-delete": (_key: string) => void;
102
102
  }, string, {
103
103
  tabs: import('./interface').IProTab[];
104
- tabsSize: "small" | "mini" | "medium" | "large";
104
+ tabsSize: "small" | "medium" | "mini" | "large";
105
105
  tabsType: "line" | "text" | "card" | "card-gutter" | "rounded" | "capsule";
106
106
  tabsHeaderPadding: boolean;
107
107
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
52
52
  "onTab-delete"?: ((_key: string) => any) | undefined;
53
53
  }>, {
54
54
  tabs: IProTab[];
55
- tabsSize: "small" | "mini" | "medium" | "large";
55
+ tabsSize: "small" | "medium" | "mini" | "large";
56
56
  tabsType: "line" | "text" | "card" | "card-gutter" | "rounded" | "capsule";
57
57
  tabsHeaderPadding: boolean;
58
58
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -1,11 +1,11 @@
1
1
  import { App } from 'vue';
2
2
  declare const ProTable: {
3
3
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./interface').IProTable> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
- data: any[];
5
- hoverable: boolean;
6
- loading: boolean | Record<string, any>;
7
4
  size: "mini" | "medium" | "large" | "small";
5
+ data: any[];
8
6
  bordered: boolean | import('@arco-design/web-vue').TableBorder;
7
+ loading: boolean | Record<string, any>;
8
+ hoverable: boolean;
9
9
  scrollbar: boolean | any;
10
10
  columns: Partial<import('./interface').IProTableColumn>[];
11
11
  pagination: boolean | import('@arco-design/web-vue').PaginationProps;
@@ -30,11 +30,11 @@ declare const ProTable: {
30
30
  M: {};
31
31
  Defaults: {};
32
32
  }, Readonly<import('./interface').IProTable> & Readonly<{}>, {}, {}, {}, {}, {
33
- data: any[];
34
- hoverable: boolean;
35
- loading: boolean | Record<string, any>;
36
33
  size: "mini" | "medium" | "large" | "small";
34
+ data: any[];
37
35
  bordered: boolean | import('@arco-design/web-vue').TableBorder;
36
+ loading: boolean | Record<string, any>;
37
+ hoverable: boolean;
38
38
  scrollbar: boolean | any;
39
39
  columns: Partial<import('./interface').IProTableColumn>[];
40
40
  pagination: boolean | import('@arco-design/web-vue').PaginationProps;
@@ -56,11 +56,11 @@ declare const ProTable: {
56
56
  __isTeleport?: never;
57
57
  __isSuspense?: never;
58
58
  } & import('vue').ComponentOptionsBase<Readonly<import('./interface').IProTable> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
59
- data: any[];
60
- hoverable: boolean;
61
- loading: boolean | Record<string, any>;
62
59
  size: "mini" | "medium" | "large" | "small";
60
+ data: any[];
63
61
  bordered: boolean | import('@arco-design/web-vue').TableBorder;
62
+ loading: boolean | Record<string, any>;
63
+ hoverable: boolean;
64
64
  scrollbar: boolean | any;
65
65
  columns: Partial<import('./interface').IProTableColumn>[];
66
66
  pagination: boolean | import('@arco-design/web-vue').PaginationProps;
@@ -10,11 +10,11 @@ declare function __VLS_template(): {
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: import('vue').DefineComponent<IProTable, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProTable> & Readonly<{}>, {
13
- data: any[];
14
- hoverable: boolean;
15
- loading: boolean | Record<string, any>;
16
13
  size: "mini" | "medium" | "large" | "small";
14
+ data: any[];
17
15
  bordered: boolean | import('@arco-design/web-vue').TableBorder;
16
+ loading: boolean | Record<string, any>;
17
+ hoverable: boolean;
18
18
  scrollbar: boolean | any;
19
19
  columns: Partial<import('./interface').IProTableColumn>[];
20
20
  pagination: boolean | PaginationProps;
@@ -1,7 +1,7 @@
1
1
  import { App } from 'vue';
2
- import { ProTextareaProps } from './inerface';
2
+ import { ProTextareaProps } from './interface.ts';
3
3
  declare const ProTextarea: {
4
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('./inerface').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('./interface.ts').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
5
5
  showWordLimit: boolean;
6
6
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
7
7
  P: {};
@@ -10,13 +10,13 @@ declare const ProTextarea: {
10
10
  C: {};
11
11
  M: {};
12
12
  Defaults: {};
13
- }, Readonly<Partial<import('./inerface').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, {
13
+ }, Readonly<Partial<import('./interface.ts').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, {
14
14
  showWordLimit: boolean;
15
15
  }>;
16
16
  __isFragment?: never;
17
17
  __isTeleport?: never;
18
18
  __isSuspense?: never;
19
- } & import('vue').ComponentOptionsBase<Readonly<Partial<import('./inerface').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
19
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<import('./interface.ts').IProTextarea>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
20
20
  showWordLimit: boolean;
21
21
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
22
22
  install: (app: App) => void;
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<Partial<import('./inerface').IProTextarea>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<import('./inerface').IProTextarea>> & Readonly<{}>, {
1
+ declare const _default: import('vue').DefineComponent<Partial<import('./interface.ts').IProTextarea>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<import('./interface.ts').IProTextarea>> & Readonly<{}>, {
2
2
  showWordLimit: boolean;
3
3
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
4
  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-8721e63b"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b6ad24b1"]]);
5
5
  export {
6
- _ as default
6
+ e as default
7
7
  };
@@ -1,43 +1,44 @@
1
- export interface IProTextarea {
1
+ export type IProTextarea = {
2
2
  /** 是否禁用 */
3
- 'disabled'?: boolean;
3
+ disabled?: boolean;
4
4
  /** 是否为错误状态 */
5
- 'error'?: boolean;
5
+ error?: boolean;
6
6
  /** 是否允许清空输入框 */
7
- 'allowClear'?: boolean;
7
+ allowClear?: boolean;
8
8
  /** 默认值 */
9
- 'defaultValue'?: string;
9
+ defaultValue?: string;
10
10
  /** 最大长度,可以设置为数字或对象 */
11
- 'maxLength'?: number | {
11
+ maxLength?: number | {
12
12
  length: number;
13
13
  errorOnly?: boolean;
14
14
  };
15
15
  /** 是否显示字数统计 */
16
- 'showWordLimit'?: boolean;
16
+ showWordLimit?: boolean;
17
17
  /** 自适应内容高度,可设置为 true 或配置对象 */
18
- 'autoSize'?: boolean | {
18
+ autoSize?: boolean | {
19
19
  minRows?: number;
20
20
  maxRows?: number;
21
21
  };
22
22
  /** 输入框占位符 */
23
- 'placeholder'?: string;
23
+ placeholder?: string;
24
24
  /** 绑定值,使用 v-model */
25
- 'modelValue'?: string;
25
+ modelValue?: string;
26
26
  /** 自定义字数计算方法 */
27
- 'wordLength'?: (value: string) => number;
27
+ wordLength?: (value: string) => number;
28
28
  /** 自定义超出最大长度时的截取方法 */
29
- 'wordSlice'?: (value: string, maxLength: number) => string;
29
+ wordSlice?: (value: string, maxLength: number) => string;
30
30
  /** 输入框获取焦点时触发 */
31
- 'onFocus'?: (ev: FocusEvent) => void;
31
+ onFocus?: (ev: FocusEvent) => void;
32
32
  /** 输入框失去焦点时触发 */
33
- 'onBlur'?: (ev: FocusEvent) => void;
33
+ onBlur?: (ev: FocusEvent) => void;
34
34
  /** 输入框值变化时触发(仅在输入框失去焦点或用户按回车时触发) */
35
- 'onChange'?: (value: string, ev: Event) => void;
35
+ onChange?: (value: string, ev: Event) => void;
36
36
  /** 输入框输入时触发 */
37
- 'onInput'?: (value: string, ev: Event) => void;
37
+ onInput?: (value: string, ev: Event) => void;
38
38
  /** 点击清空按钮时触发 */
39
- 'onClear'?: (ev: MouseEvent) => void;
39
+ onClear?: (ev: MouseEvent) => void;
40
+ } & {
40
41
  /** 用于 v-model 更新 */
41
42
  'onUpdate:modelValue'?: (value: string) => void;
42
- }
43
+ };
43
44
  export type ProTextareaProps = Partial<IProTextarea>;