@aplus-frontend/ui 0.0.1-beta.21 → 0.0.1-beta.22

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 (35) hide show
  1. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -3
  2. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +12 -12
  3. package/es/src/ap-layout/interface.d.ts +1 -1
  4. package/es/src/base-button/index.d.ts +137 -0
  5. package/es/src/basic/index.d.ts +278 -0
  6. package/es/src/button/index.d.ts +51 -0
  7. package/es/src/config-provider/index.d.ts +691 -0
  8. package/es/src/container/index.d.ts +178 -0
  9. package/es/src/count-down/index.d.ts +150 -0
  10. package/es/src/description/index.d.ts +214 -0
  11. package/es/src/dropdown/index.d.ts +113 -0
  12. package/es/src/icon/index.d.ts +208 -0
  13. package/es/src/icon-picker/index.d.ts +190 -0
  14. package/es/src/scroll-bar/index.d.ts +177 -0
  15. package/es/src/strength-meter/index.d.ts +89 -0
  16. package/es/src/transition/index.d.ts +369 -0
  17. package/es/src/work-order-modal/work-order-modal.vue.mjs +24 -23
  18. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -3
  19. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -1
  20. package/lib/src/ap-layout/interface.d.ts +1 -1
  21. package/lib/src/base-button/index.d.ts +137 -0
  22. package/lib/src/basic/index.d.ts +278 -0
  23. package/lib/src/button/index.d.ts +51 -0
  24. package/lib/src/config-provider/index.d.ts +691 -0
  25. package/lib/src/container/index.d.ts +178 -0
  26. package/lib/src/count-down/index.d.ts +150 -0
  27. package/lib/src/description/index.d.ts +214 -0
  28. package/lib/src/dropdown/index.d.ts +113 -0
  29. package/lib/src/icon/index.d.ts +208 -0
  30. package/lib/src/icon-picker/index.d.ts +190 -0
  31. package/lib/src/scroll-bar/index.d.ts +177 -0
  32. package/lib/src/strength-meter/index.d.ts +89 -0
  33. package/lib/src/transition/index.d.ts +369 -0
  34. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  35. package/package.json +1 -1
@@ -0,0 +1,369 @@
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from '@vue/runtime-core';
2
+ export { default as CollapseTransition } from './collapse-transition.vue';
3
+ export declare const FadeTransition: DefineComponent<{
4
+ group: {
5
+ type: PropType<boolean>;
6
+ default: boolean;
7
+ };
8
+ mode: {
9
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
10
+ default: "default" | "in-out" | "out-in" | undefined;
11
+ };
12
+ origin: {
13
+ type: PropType<string>;
14
+ default: string;
15
+ };
16
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
17
+ group: {
18
+ type: PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ mode: {
22
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
23
+ default: "default" | "in-out" | "out-in" | undefined;
24
+ };
25
+ origin: {
26
+ type: PropType<string>;
27
+ default: string;
28
+ };
29
+ }>>, {
30
+ mode: "default" | "in-out" | "out-in" | undefined;
31
+ group: boolean;
32
+ origin: string;
33
+ }, {}>;
34
+ export declare const ScaleTransition: DefineComponent<{
35
+ group: {
36
+ type: PropType<boolean>;
37
+ default: boolean;
38
+ };
39
+ mode: {
40
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
41
+ default: "default" | "in-out" | "out-in" | undefined;
42
+ };
43
+ origin: {
44
+ type: PropType<string>;
45
+ default: string;
46
+ };
47
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
48
+ group: {
49
+ type: PropType<boolean>;
50
+ default: boolean;
51
+ };
52
+ mode: {
53
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
54
+ default: "default" | "in-out" | "out-in" | undefined;
55
+ };
56
+ origin: {
57
+ type: PropType<string>;
58
+ default: string;
59
+ };
60
+ }>>, {
61
+ mode: "default" | "in-out" | "out-in" | undefined;
62
+ group: boolean;
63
+ origin: string;
64
+ }, {}>;
65
+ export declare const SlideYTransition: DefineComponent<{
66
+ group: {
67
+ type: PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ mode: {
71
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
72
+ default: "default" | "in-out" | "out-in" | undefined;
73
+ };
74
+ origin: {
75
+ type: PropType<string>;
76
+ default: string;
77
+ };
78
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
79
+ group: {
80
+ type: PropType<boolean>;
81
+ default: boolean;
82
+ };
83
+ mode: {
84
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
85
+ default: "default" | "in-out" | "out-in" | undefined;
86
+ };
87
+ origin: {
88
+ type: PropType<string>;
89
+ default: string;
90
+ };
91
+ }>>, {
92
+ mode: "default" | "in-out" | "out-in" | undefined;
93
+ group: boolean;
94
+ origin: string;
95
+ }, {}>;
96
+ export declare const ScrollYTransition: DefineComponent<{
97
+ group: {
98
+ type: PropType<boolean>;
99
+ default: boolean;
100
+ };
101
+ mode: {
102
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
103
+ default: "default" | "in-out" | "out-in" | undefined;
104
+ };
105
+ origin: {
106
+ type: PropType<string>;
107
+ default: string;
108
+ };
109
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
110
+ group: {
111
+ type: PropType<boolean>;
112
+ default: boolean;
113
+ };
114
+ mode: {
115
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
116
+ default: "default" | "in-out" | "out-in" | undefined;
117
+ };
118
+ origin: {
119
+ type: PropType<string>;
120
+ default: string;
121
+ };
122
+ }>>, {
123
+ mode: "default" | "in-out" | "out-in" | undefined;
124
+ group: boolean;
125
+ origin: string;
126
+ }, {}>;
127
+ export declare const SlideYReverseTransition: DefineComponent<{
128
+ group: {
129
+ type: PropType<boolean>;
130
+ default: boolean;
131
+ };
132
+ mode: {
133
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
134
+ default: "default" | "in-out" | "out-in" | undefined;
135
+ };
136
+ origin: {
137
+ type: PropType<string>;
138
+ default: string;
139
+ };
140
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
141
+ group: {
142
+ type: PropType<boolean>;
143
+ default: boolean;
144
+ };
145
+ mode: {
146
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
147
+ default: "default" | "in-out" | "out-in" | undefined;
148
+ };
149
+ origin: {
150
+ type: PropType<string>;
151
+ default: string;
152
+ };
153
+ }>>, {
154
+ mode: "default" | "in-out" | "out-in" | undefined;
155
+ group: boolean;
156
+ origin: string;
157
+ }, {}>;
158
+ export declare const ScrollYReverseTransition: DefineComponent<{
159
+ group: {
160
+ type: PropType<boolean>;
161
+ default: boolean;
162
+ };
163
+ mode: {
164
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
165
+ default: "default" | "in-out" | "out-in" | undefined;
166
+ };
167
+ origin: {
168
+ type: PropType<string>;
169
+ default: string;
170
+ };
171
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
172
+ group: {
173
+ type: PropType<boolean>;
174
+ default: boolean;
175
+ };
176
+ mode: {
177
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
178
+ default: "default" | "in-out" | "out-in" | undefined;
179
+ };
180
+ origin: {
181
+ type: PropType<string>;
182
+ default: string;
183
+ };
184
+ }>>, {
185
+ mode: "default" | "in-out" | "out-in" | undefined;
186
+ group: boolean;
187
+ origin: string;
188
+ }, {}>;
189
+ export declare const SlideXTransition: DefineComponent<{
190
+ group: {
191
+ type: PropType<boolean>;
192
+ default: boolean;
193
+ };
194
+ mode: {
195
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
196
+ default: "default" | "in-out" | "out-in" | undefined;
197
+ };
198
+ origin: {
199
+ type: PropType<string>;
200
+ default: string;
201
+ };
202
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
203
+ group: {
204
+ type: PropType<boolean>;
205
+ default: boolean;
206
+ };
207
+ mode: {
208
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
209
+ default: "default" | "in-out" | "out-in" | undefined;
210
+ };
211
+ origin: {
212
+ type: PropType<string>;
213
+ default: string;
214
+ };
215
+ }>>, {
216
+ mode: "default" | "in-out" | "out-in" | undefined;
217
+ group: boolean;
218
+ origin: string;
219
+ }, {}>;
220
+ export declare const ScrollXTransition: DefineComponent<{
221
+ group: {
222
+ type: PropType<boolean>;
223
+ default: boolean;
224
+ };
225
+ mode: {
226
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
227
+ default: "default" | "in-out" | "out-in" | undefined;
228
+ };
229
+ origin: {
230
+ type: PropType<string>;
231
+ default: string;
232
+ };
233
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
234
+ group: {
235
+ type: PropType<boolean>;
236
+ default: boolean;
237
+ };
238
+ mode: {
239
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
240
+ default: "default" | "in-out" | "out-in" | undefined;
241
+ };
242
+ origin: {
243
+ type: PropType<string>;
244
+ default: string;
245
+ };
246
+ }>>, {
247
+ mode: "default" | "in-out" | "out-in" | undefined;
248
+ group: boolean;
249
+ origin: string;
250
+ }, {}>;
251
+ export declare const SlideXReverseTransition: DefineComponent<{
252
+ group: {
253
+ type: PropType<boolean>;
254
+ default: boolean;
255
+ };
256
+ mode: {
257
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
258
+ default: "default" | "in-out" | "out-in" | undefined;
259
+ };
260
+ origin: {
261
+ type: PropType<string>;
262
+ default: string;
263
+ };
264
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
265
+ group: {
266
+ type: PropType<boolean>;
267
+ default: boolean;
268
+ };
269
+ mode: {
270
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
271
+ default: "default" | "in-out" | "out-in" | undefined;
272
+ };
273
+ origin: {
274
+ type: PropType<string>;
275
+ default: string;
276
+ };
277
+ }>>, {
278
+ mode: "default" | "in-out" | "out-in" | undefined;
279
+ group: boolean;
280
+ origin: string;
281
+ }, {}>;
282
+ export declare const ScrollXReverseTransition: DefineComponent<{
283
+ group: {
284
+ type: PropType<boolean>;
285
+ default: boolean;
286
+ };
287
+ mode: {
288
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
289
+ default: "default" | "in-out" | "out-in" | undefined;
290
+ };
291
+ origin: {
292
+ type: PropType<string>;
293
+ default: string;
294
+ };
295
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
296
+ group: {
297
+ type: PropType<boolean>;
298
+ default: boolean;
299
+ };
300
+ mode: {
301
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
302
+ default: "default" | "in-out" | "out-in" | undefined;
303
+ };
304
+ origin: {
305
+ type: PropType<string>;
306
+ default: string;
307
+ };
308
+ }>>, {
309
+ mode: "default" | "in-out" | "out-in" | undefined;
310
+ group: boolean;
311
+ origin: string;
312
+ }, {}>;
313
+ export declare const ScaleRotateTransition: DefineComponent<{
314
+ group: {
315
+ type: PropType<boolean>;
316
+ default: boolean;
317
+ };
318
+ mode: {
319
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
320
+ default: "default" | "in-out" | "out-in" | undefined;
321
+ };
322
+ origin: {
323
+ type: PropType<string>;
324
+ default: string;
325
+ };
326
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
327
+ group: {
328
+ type: PropType<boolean>;
329
+ default: boolean;
330
+ };
331
+ mode: {
332
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
333
+ default: "default" | "in-out" | "out-in" | undefined;
334
+ };
335
+ origin: {
336
+ type: PropType<string>;
337
+ default: string;
338
+ };
339
+ }>>, {
340
+ mode: "default" | "in-out" | "out-in" | undefined;
341
+ group: boolean;
342
+ origin: string;
343
+ }, {}>;
344
+ export declare const ExpandXTransition: DefineComponent<{
345
+ mode: {
346
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
347
+ default: "default" | "in-out" | "out-in";
348
+ };
349
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
350
+ mode: {
351
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
352
+ default: "default" | "in-out" | "out-in";
353
+ };
354
+ }>>, {
355
+ mode: "default" | "in-out" | "out-in" | undefined;
356
+ }, {}>;
357
+ export declare const ExpandTransition: DefineComponent<{
358
+ mode: {
359
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
360
+ default: "default" | "in-out" | "out-in";
361
+ };
362
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
363
+ mode: {
364
+ type: PropType<"default" | "in-out" | "out-in" | undefined>;
365
+ default: "default" | "in-out" | "out-in";
366
+ };
367
+ }>>, {
368
+ mode: "default" | "in-out" | "out-in" | undefined;
369
+ }, {}>;
@@ -1,14 +1,14 @@
1
- import { defineComponent as B, ref as m, openBlock as F, createElementBlock as h, createVNode as t, unref as e, mergeProps as T, withCtx as n, h as w } from "vue";
2
- import { message as O, Modal as A, Input as N, Textarea as q } from "ant-design-vue";
1
+ import { defineComponent as B, ref as m, openBlock as F, createElementBlock as h, createVNode as t, unref as e, mergeProps as T, withCtx as l, h as w } from "vue";
2
+ import { message as O, Modal as A, Input as L, Textarea as N } from "ant-design-vue";
3
3
  import { ApForm as r } from "../ap-form/index.mjs";
4
4
  import "./help-message.vue.mjs";
5
5
  import "../ap-upload/index.mjs";
6
6
  import { DictCode as g } from "./interfaces.mjs";
7
7
  import "../config-provider/index.mjs";
8
8
  import "./style/index.css";
9
- import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
10
- import { useLocale as P } from "../config-provider/hooks/use-locale.mjs";
11
- import L from "../ap-form/items/select/index.vue.mjs";
9
+ import { useGlobalConfig as q } from "../config-provider/hooks/use-global-config.mjs";
10
+ import { useLocale as I } from "../config-provider/hooks/use-locale.mjs";
11
+ import P from "../ap-form/items/select/index.vue.mjs";
12
12
  import R from "../ap-form/items/radio/index.vue.mjs";
13
13
  import S from "../ap-upload/apUpload.vue.mjs";
14
14
  import $ from "./help-message.vue2.mjs";
@@ -58,56 +58,57 @@ const Y = /* @__PURE__ */ B({
58
58
  },
59
59
  emits: ["modalClose"],
60
60
  setup(k, { emit: v }) {
61
- const c = m(), l = m(!1), p = m(!0), i = k, x = I("api"), { lang: C } = P(), _ = v, u = async (a) => {
61
+ const c = m(), a = m(!1), p = m(!0), i = k, x = q("api"), { lang: C } = I(), _ = v, u = async (n) => {
62
62
  var s, d;
63
63
  const o = await ((d = (s = x.value) == null ? void 0 : s.select) == null ? void 0 : d.call(s, {
64
- dictCode: a,
64
+ dictCode: n,
65
65
  locale: C.value
66
66
  }));
67
67
  return o == null ? void 0 : o.map((y) => ({ label: y.itemText, value: y.itemValue }));
68
68
  }, b = async () => {
69
- var a;
70
- if (!l.value)
69
+ var n;
70
+ if (!a.value)
71
71
  try {
72
- l.value = !0;
73
- const o = await ((a = c.value) == null ? void 0 : a.validateFields());
74
- console.log("params", o), await i.api(o), l.value = !1, O.success("操作成功"), f();
72
+ a.value = !0;
73
+ const o = await ((n = c.value) == null ? void 0 : n.validateFields());
74
+ console.log("params", o), await i.api(o), a.value = !1, O.success("操作成功"), f();
75
75
  } catch {
76
- l.value = !1;
76
+ a.value = !1;
77
77
  return;
78
78
  }
79
79
  }, f = () => {
80
80
  p.value = !1, _("modalClose");
81
81
  };
82
- return (a, o) => (F(), h("div", null, [
82
+ return (n, o) => (F(), h("div", null, [
83
83
  t(e(A), T(i, {
84
84
  open: p.value,
85
85
  title: "创建工单",
86
86
  "ok-text": "确认",
87
87
  "cancel-text": "取消",
88
88
  onOk: b,
89
+ confirmLoading: a.value,
89
90
  onCancel: f
90
91
  }), {
91
- default: n(() => [
92
+ default: l(() => [
92
93
  t(e(r), {
93
94
  ref_key: "formRef",
94
95
  ref: c
95
96
  }, {
96
- default: n(() => [
97
+ default: l(() => [
97
98
  t(e(r).FormItem, {
98
99
  label: "工单标题",
99
100
  name: "ticketsTitle",
100
101
  rules: [{ required: !0, message: "不可为空" }]
101
102
  }, {
102
- default: n(() => [
103
- t(e(N), {
103
+ default: l(() => [
104
+ t(e(L), {
104
105
  maxlength: 50,
105
106
  "show-count": !0
106
107
  })
107
108
  ]),
108
109
  _: 1
109
110
  }),
110
- t(e(L), {
111
+ t(e(P), {
111
112
  label: "工单类型",
112
113
  name: "ticketsType",
113
114
  rules: [{ required: !0, message: "不可为空" }],
@@ -120,8 +121,8 @@ const Y = /* @__PURE__ */ B({
120
121
  name: "ticketsContent",
121
122
  rules: [{ required: !0, message: "不可为空" }]
122
123
  }, {
123
- default: n(() => [
124
- t(e(q), {
124
+ default: l(() => [
125
+ t(e(N), {
125
126
  maxlength: 300,
126
127
  "show-count": !0
127
128
  })
@@ -137,7 +138,7 @@ const Y = /* @__PURE__ */ B({
137
138
  }
138
139
  }, null, 8, ["field"]),
139
140
  t(e(r).FormItem, { name: "files" }, {
140
- default: n(() => [
141
+ default: l(() => [
141
142
  t(e(S), {
142
143
  dirName: "WorkOrder",
143
144
  getOssAccess: i.getOssAccess,
@@ -159,7 +160,7 @@ const Y = /* @__PURE__ */ B({
159
160
  }, 512)
160
161
  ]),
161
162
  _: 1
162
- }, 16, ["open"])
163
+ }, 16, ["open", "confirmLoading"])
163
164
  ]));
164
165
  }
165
166
  });
@@ -3,13 +3,13 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
3
3
 
4
4
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<APInfoLayoutProps>, {
5
5
  toEl: string;
6
- disabled: boolean;
6
+ telDisabled: boolean;
7
7
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<APInfoLayoutProps>, {
8
8
  toEl: string;
9
- disabled: boolean;
9
+ telDisabled: boolean;
10
10
  }>>>, {
11
- disabled: boolean;
12
11
  toEl: string | HTMLElement;
12
+ telDisabled: boolean;
13
13
  }, {}>, {
14
14
  title?(_: {}): any;
15
15
  actions?(_: {}): any;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("ant-design-vue");require("../style/ap-info-layout.css");require("../../config-provider/index.js");const p=require("../../config-provider/hooks/use-namespace.js"),v=e.defineComponent({name:"ApInfoLayout",__name:"ap-info-layout",props:{toEl:{default:"#microapp-fixed-header"},disabled:{type:Boolean,default:!0}},setup(C){const{b:a,be:n,bem:o}=p.useNamespace("info-layout"),r=e.computed(()=>[a("container")]),l=e.computed(()=>[a("header")]),s=e.computed(()=>[a("divider")]),d=e.computed(()=>[a("contant")]),i=e.computed(()=>[n("header","contant")]),c=e.computed(()=>[o("header","contant","title")]),u=e.computed(()=>[o("header","contant","actions")]);return(t,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(r.value)},[(e.openBlock(),e.createBlock(e.Teleport,{to:t.toEl,disabled:t.disabled},[e.createElementVNode("div",{class:e.normalizeClass(`${l.value}`)},[e.createElementVNode("div",{class:e.normalizeClass(i.value)},[e.createElementVNode("div",{class:e.normalizeClass(c.value)},[e.renderSlot(t.$slots,"title")],2),e.createElementVNode("div",{class:e.normalizeClass(u.value)},[e.renderSlot(t.$slots,"actions")],2)],2)],2)],8,["to","disabled"])),e.createElementVNode("div",{class:e.normalizeClass(s.value)},[e.renderSlot(t.$slots,"divider",{},()=>[e.createVNode(e.unref(m.Divider),{class:"ap-info-layout-divider",dashed:""})])],2),e.createElementVNode("div",{class:e.normalizeClass(d.value)},[e.renderSlot(t.$slots,"content")],2)],2))}});exports.default=v;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("ant-design-vue");require("../style/ap-info-layout.css");require("../../config-provider/index.js");const p=require("../../config-provider/hooks/use-namespace.js"),v=e.defineComponent({name:"ApInfoLayout",__name:"ap-info-layout",props:{toEl:{default:"#microapp-fixed-header"},telDisabled:{type:Boolean,default:!1}},setup(C){const{b:a,be:n,bem:o}=p.useNamespace("info-layout"),l=e.computed(()=>[a("container")]),r=e.computed(()=>[a("header")]),s=e.computed(()=>[a("divider")]),d=e.computed(()=>[a("contant")]),i=e.computed(()=>[n("header","contant")]),c=e.computed(()=>[o("header","contant","title")]),u=e.computed(()=>[o("header","contant","actions")]);return(t,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(l.value)},[(e.openBlock(),e.createBlock(e.Teleport,{to:t.toEl,disabled:t.telDisabled},[e.createElementVNode("div",{class:e.normalizeClass(`${r.value}`)},[e.createElementVNode("div",{class:e.normalizeClass(i.value)},[e.createElementVNode("div",{class:e.normalizeClass(c.value)},[e.renderSlot(t.$slots,"title")],2),e.createElementVNode("div",{class:e.normalizeClass(u.value)},[e.renderSlot(t.$slots,"actions")],2)],2)],2)],8,["to","disabled"])),e.createElementVNode("div",{class:e.normalizeClass(s.value)},[e.renderSlot(t.$slots,"divider",{},()=>[e.createVNode(e.unref(m.Divider),{class:"ap-info-layout-divider",dashed:""})])],2),e.createElementVNode("div",{class:e.normalizeClass(d.value)},[e.renderSlot(t.$slots,"content")],2)],2))}});exports.default=v;
@@ -1,4 +1,4 @@
1
1
  export interface APInfoLayoutProps {
2
2
  toEl?: string | HTMLElement;
3
- disabled?: boolean;
3
+ telDisabled?: boolean;
4
4
  }
@@ -0,0 +1,137 @@
1
+ import { default as ModalButton } from './modal-button.vue';
2
+ import { default as PopConfirmButton } from './pop-confirm-button.vue';
3
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from '@vue/runtime-core';
4
+ export * from './interface';
5
+ export { ModalButton, PopConfirmButton };
6
+ export declare const BaseButton: {
7
+ new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
8
+ text: {
9
+ type: PropType<string>;
10
+ };
11
+ color: {
12
+ type: PropType<"primary" | "success" | "error" | "warning">;
13
+ };
14
+ disabled: {
15
+ type: PropType<boolean>;
16
+ };
17
+ onClick: {
18
+ type: PropType<() => void>;
19
+ };
20
+ loading: {
21
+ type: PropType<boolean>;
22
+ };
23
+ preIcon: {
24
+ type: PropType<string>;
25
+ };
26
+ postIcon: {
27
+ type: PropType<string>;
28
+ };
29
+ iconSize: {
30
+ type: PropType<number>;
31
+ default: number;
32
+ };
33
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
34
+ text: {
35
+ type: PropType<string>;
36
+ };
37
+ color: {
38
+ type: PropType<"primary" | "success" | "error" | "warning">;
39
+ };
40
+ disabled: {
41
+ type: PropType<boolean>;
42
+ };
43
+ onClick: {
44
+ type: PropType<() => void>;
45
+ };
46
+ loading: {
47
+ type: PropType<boolean>;
48
+ };
49
+ preIcon: {
50
+ type: PropType<string>;
51
+ };
52
+ postIcon: {
53
+ type: PropType<string>;
54
+ };
55
+ iconSize: {
56
+ type: PropType<number>;
57
+ default: number;
58
+ };
59
+ }>>, {
60
+ iconSize: number;
61
+ }, true, {}, {}, {
62
+ P: {};
63
+ B: {};
64
+ D: {};
65
+ C: {};
66
+ M: {};
67
+ Defaults: {};
68
+ }, Readonly< ExtractPropTypes<{
69
+ text: {
70
+ type: PropType<string>;
71
+ };
72
+ color: {
73
+ type: PropType<"primary" | "success" | "error" | "warning">;
74
+ };
75
+ disabled: {
76
+ type: PropType<boolean>;
77
+ };
78
+ onClick: {
79
+ type: PropType<() => void>;
80
+ };
81
+ loading: {
82
+ type: PropType<boolean>;
83
+ };
84
+ preIcon: {
85
+ type: PropType<string>;
86
+ };
87
+ postIcon: {
88
+ type: PropType<string>;
89
+ };
90
+ iconSize: {
91
+ type: PropType<number>;
92
+ default: number;
93
+ };
94
+ }>>, {}, {}, {}, {}, {
95
+ iconSize: number;
96
+ }>;
97
+ __isFragment?: undefined;
98
+ __isTeleport?: undefined;
99
+ __isSuspense?: undefined;
100
+ } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
101
+ text: {
102
+ type: PropType<string>;
103
+ };
104
+ color: {
105
+ type: PropType<"primary" | "success" | "error" | "warning">;
106
+ };
107
+ disabled: {
108
+ type: PropType<boolean>;
109
+ };
110
+ onClick: {
111
+ type: PropType<() => void>;
112
+ };
113
+ loading: {
114
+ type: PropType<boolean>;
115
+ };
116
+ preIcon: {
117
+ type: PropType<string>;
118
+ };
119
+ postIcon: {
120
+ type: PropType<string>;
121
+ };
122
+ iconSize: {
123
+ type: PropType<number>;
124
+ default: number;
125
+ };
126
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
127
+ iconSize: number;
128
+ }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
129
+ $slots: {
130
+ icon?(_: {}): any;
131
+ default?(_: any): any;
132
+ };
133
+ }) & Plugin<any[]> & (new (...args: any[]) => {
134
+ $props: {
135
+ onClick?: (() => void) | undefined;
136
+ };
137
+ });