@dczy/tie-mobile 0.1.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 (88) hide show
  1. package/dist/base/DCell/index.d.ts +198 -0
  2. package/dist/base/DCell/index.d.ts.map +1 -0
  3. package/dist/base/DCell/index.vue.d.ts +118 -0
  4. package/dist/base/DCell/index.vue.d.ts.map +1 -0
  5. package/dist/base/DCell/type.d.ts +12 -0
  6. package/dist/base/DCell/type.d.ts.map +1 -0
  7. package/dist/base/DInput/index.d.ts +12 -0
  8. package/dist/base/DInput/index.d.ts.map +1 -0
  9. package/dist/base/DInput/index.vue.d.ts +11 -0
  10. package/dist/base/DInput/index.vue.d.ts.map +1 -0
  11. package/dist/base/DSearch/index.d.ts +340 -0
  12. package/dist/base/DSearch/index.d.ts.map +1 -0
  13. package/dist/base/DSearch/index.vue.d.ts +195 -0
  14. package/dist/base/DSearch/index.vue.d.ts.map +1 -0
  15. package/dist/base/DSearch/type.d.ts +12 -0
  16. package/dist/base/DSearch/type.d.ts.map +1 -0
  17. package/dist/base/DTab/index.d.ts +85 -0
  18. package/dist/base/DTab/index.d.ts.map +1 -0
  19. package/dist/base/DTab/index.vue.d.ts +53 -0
  20. package/dist/base/DTab/index.vue.d.ts.map +1 -0
  21. package/dist/base/DTab/type.d.ts +7 -0
  22. package/dist/base/DTab/type.d.ts.map +1 -0
  23. package/dist/base/DTabs/index.d.ts +277 -0
  24. package/dist/base/DTabs/index.d.ts.map +1 -0
  25. package/dist/base/DTabs/index.vue.d.ts +158 -0
  26. package/dist/base/DTabs/index.vue.d.ts.map +1 -0
  27. package/dist/base/DTabs/type.d.ts +7 -0
  28. package/dist/base/DTabs/type.d.ts.map +1 -0
  29. package/dist/base/DczyCard/DczyCard.vue.d.ts +29 -0
  30. package/dist/base/DczyCard/DczyCard.vue.d.ts.map +1 -0
  31. package/dist/base/DczyCard/index.d.ts +3 -0
  32. package/dist/base/DczyCard/index.d.ts.map +1 -0
  33. package/dist/base/DczyCard/types.d.ts +9 -0
  34. package/dist/base/DczyCard/types.d.ts.map +1 -0
  35. package/dist/base/index.d.ts +13 -0
  36. package/dist/base/index.d.ts.map +1 -0
  37. package/dist/business/DDateSelect/index.d.ts +3 -0
  38. package/dist/business/DDateSelect/index.d.ts.map +1 -0
  39. package/dist/business/DDateSelect/index.vue.d.ts +3 -0
  40. package/dist/business/DDateSelect/index.vue.d.ts.map +1 -0
  41. package/dist/business/index.d.ts +2 -0
  42. package/dist/business/index.d.ts.map +1 -0
  43. package/dist/index.d.ts +12 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/install.d.ts +1015 -0
  46. package/dist/install.d.ts.map +1 -0
  47. package/dist/provider/DThemeProvider/index.vue.d.ts +13 -0
  48. package/dist/provider/DThemeProvider/index.vue.d.ts.map +1 -0
  49. package/dist/provider/index.d.ts +3 -0
  50. package/dist/provider/index.d.ts.map +1 -0
  51. package/dist/store/modules/useHostStore.d.ts +6 -0
  52. package/dist/store/modules/useHostStore.d.ts.map +1 -0
  53. package/dist/store/modules/useThemeStore.d.ts +6 -0
  54. package/dist/store/modules/useThemeStore.d.ts.map +1 -0
  55. package/dist/store/piniaHelper.d.ts +6 -0
  56. package/dist/store/piniaHelper.d.ts.map +1 -0
  57. package/dist/store/type.d.ts +16 -0
  58. package/dist/store/type.d.ts.map +1 -0
  59. package/dist/tie-mobile.css +1 -0
  60. package/dist/tie-mobile.js +578 -0
  61. package/dist/tie-mobile.umd.cjs +1 -0
  62. package/dist/ui/DCard/index.d.ts +62 -0
  63. package/dist/ui/DCard/index.d.ts.map +1 -0
  64. package/dist/ui/DCard/index.vue.d.ts +31 -0
  65. package/dist/ui/DCard/index.vue.d.ts.map +1 -0
  66. package/dist/ui/DCard/types.d.ts +14 -0
  67. package/dist/ui/DCard/types.d.ts.map +1 -0
  68. package/dist/ui/DNoData/index.d.ts +58 -0
  69. package/dist/ui/DNoData/index.d.ts.map +1 -0
  70. package/dist/ui/DNoData/index.vue.d.ts +29 -0
  71. package/dist/ui/DNoData/index.vue.d.ts.map +1 -0
  72. package/dist/ui/DNoData/type.d.ts +14 -0
  73. package/dist/ui/DNoData/type.d.ts.map +1 -0
  74. package/dist/ui/DcAliIcon/index.d.ts +9 -0
  75. package/dist/ui/DcAliIcon/index.d.ts.map +1 -0
  76. package/dist/ui/DcAliIcon/index.vue.d.ts +9 -0
  77. package/dist/ui/DcAliIcon/index.vue.d.ts.map +1 -0
  78. package/dist/ui/DcAliIcon/type.d.ts +15 -0
  79. package/dist/ui/DcAliIcon/type.d.ts.map +1 -0
  80. package/dist/ui/index.d.ts +6 -0
  81. package/dist/ui/index.d.ts.map +1 -0
  82. package/dist/utils/index.d.ts +2 -0
  83. package/dist/utils/index.d.ts.map +1 -0
  84. package/dist/utils/typescript.d.ts +23 -0
  85. package/dist/utils/typescript.d.ts.map +1 -0
  86. package/dist/utils/withInstall.d.ts +9 -0
  87. package/dist/utils/withInstall.d.ts.map +1 -0
  88. package/package.json +58 -0
@@ -0,0 +1,578 @@
1
+ import { defineComponent as v, computed as b, openBlock as f, createElementBlock as D, normalizeClass as I, createElementVNode as y, renderSlot as i, createTextVNode as _, toDisplayString as $, createCommentVNode as w, useModel as N, createBlock as k, unref as g, normalizeStyle as B, withCtx as u, useSlots as L, createVNode as x, normalizeProps as W, guardReactiveProps as q, createSlots as K, onBeforeMount as J, useAttrs as G, shallowRef as M, mergeProps as R, mergeModels as T, ref as Q } from "vue";
2
+ import { defineStore as j, getActivePinia as X, createPinia as A } from "pinia";
3
+ import { Field as Y, ConfigProvider as Z, cellProps as ee, Cell as te, Icon as U, Search as se, searchProps as ae, tabProps as oe, Tab as ne, Tabs as le, tabsProps as re, Divider as V, Image as ce } from "vant";
4
+ const ie = ["tabindex", "role"], de = { class: "dczy-card__header" }, ue = { class: "dczy-card__title" }, me = {
5
+ key: 0,
6
+ class: "dczy-card__description"
7
+ }, fe = {
8
+ key: 1,
9
+ class: "dczy-card__footer"
10
+ }, Qe = /* @__PURE__ */ v({
11
+ __name: "DczyCard",
12
+ props: {
13
+ title: {},
14
+ description: { default: "" },
15
+ status: { default: void 0 },
16
+ statusText: { default: "" },
17
+ clickable: { type: Boolean, default: !1 }
18
+ },
19
+ emits: ["click"],
20
+ setup(e, { emit: t }) {
21
+ const o = e, s = t, a = b(() => [
22
+ "dczy-card",
23
+ {
24
+ "dczy-card--clickable": o.clickable
25
+ }
26
+ ]), m = b(() => [
27
+ "dczy-card__status",
28
+ o.status ? `dczy-card__status--${o.status}` : ""
29
+ ]);
30
+ function r(c) {
31
+ o.clickable && s("click", c);
32
+ }
33
+ function d(c) {
34
+ o.clickable && (c.key === "Enter" || c.key === " ") && (c.preventDefault(), s("click", c));
35
+ }
36
+ return (c, n) => (f(), D("article", {
37
+ class: I(a.value),
38
+ tabindex: e.clickable ? 0 : void 0,
39
+ role: e.clickable ? "button" : void 0,
40
+ onClick: r,
41
+ onKeydown: d
42
+ }, [
43
+ y("header", de, [
44
+ y("h3", ue, [
45
+ i(c.$slots, "title", {}, () => [
46
+ _($(e.title), 1)
47
+ ])
48
+ ]),
49
+ e.status && e.statusText ? (f(), D("span", {
50
+ key: 0,
51
+ class: I(m.value)
52
+ }, [
53
+ i(c.$slots, "status", {}, () => [
54
+ _($(e.statusText), 1)
55
+ ])
56
+ ], 2)) : w("", !0)
57
+ ]),
58
+ e.description ? (f(), D("p", me, [
59
+ i(c.$slots, "default", {}, () => [
60
+ _($(e.description), 1)
61
+ ])
62
+ ])) : w("", !0),
63
+ c.$slots.footer ? (f(), D("footer", fe, [
64
+ i(c.$slots, "footer")
65
+ ])) : w("", !0)
66
+ ], 42, ie));
67
+ }
68
+ }), pe = j("dcMobileUIHostStore", {
69
+ state: () => ({
70
+ base_url: "https://gateway.daochen.com",
71
+ file_url: "https://gateway.daochen.com/api/files/static",
72
+ login_url: "https://gateway.daochen.com",
73
+ getfile_url: "https://gateway.daochen.com",
74
+ tokenName: "JsToken",
75
+ useCrypto: !0,
76
+ cryptoType: 1
77
+ }),
78
+ actions: {
79
+ initState(e) {
80
+ this.base_url = e.base_url, this.file_url = e.file_url, this.login_url = e.login_url, this.getfile_url = e.getfile_url, this.tokenName = e.tokenName, this.useCrypto = e.useCrypto, this.cryptoType = e.cryptoType;
81
+ }
82
+ }
83
+ }), F = j("dcMobileUIThemeStore", {
84
+ state: () => ({
85
+ primary: "#007bff",
86
+ success: "#28a745",
87
+ danger: "#dc3545",
88
+ error: "#dc3545"
89
+ }),
90
+ actions: {
91
+ initState(e) {
92
+ this.primary = e.primary, this.success = e.success, this.danger = e.danger, this.error = e.error;
93
+ }
94
+ }
95
+ }), he = () => {
96
+ const e = X();
97
+ return e || (console.warn("未找到活跃的 Pinia 实例,正在创建新实例"), A());
98
+ };
99
+ function ye(e) {
100
+ he(), pe().initState(e.request), F().initState(e.theme);
101
+ }
102
+ const C = (e, t) => (e.install = (o) => {
103
+ for (const s of [e, ...Object.values({})])
104
+ o.component(s.name, s);
105
+ }, e), ge = (e = []) => ({
106
+ // version,
107
+ install: (o, s) => {
108
+ if (e.forEach((a) => o.use(a)), s) {
109
+ const a = A();
110
+ o.config.globalProperties.$pinia || o.use(a), ye(s);
111
+ }
112
+ }
113
+ }), ve = /* @__PURE__ */ v({
114
+ name: "DInput",
115
+ __name: "index",
116
+ props: {
117
+ modelValue: {
118
+ type: String,
119
+ default: ""
120
+ },
121
+ modelModifiers: {}
122
+ },
123
+ emits: ["update:modelValue"],
124
+ setup(e) {
125
+ const t = N(e, "modelValue");
126
+ return (o, s) => (f(), k(g(Y), {
127
+ modelValue: t.value,
128
+ "onUpdate:modelValue": s[0] || (s[0] = (a) => t.value = a)
129
+ }, null, 8, ["modelValue"]));
130
+ }
131
+ }), be = C(ve), P = /* @__PURE__ */ v({
132
+ __name: "index",
133
+ setup(e) {
134
+ const t = F(), o = b(() => ({
135
+ primaryColor: t.primary,
136
+ successColor: t.success,
137
+ dangerColor: t.danger
138
+ })), s = b(() => ({
139
+ "--dc-primary": t.primary,
140
+ "--dc-success": t.success,
141
+ "--dc-danger": t.danger,
142
+ "--dc-error": t.error
143
+ }));
144
+ return (a, m) => (f(), k(g(Z), {
145
+ "theme-vars": o.value,
146
+ style: B(s.value),
147
+ class: "dc-component"
148
+ }, {
149
+ default: u(() => [
150
+ i(a.$slots, "default")
151
+ ]),
152
+ _: 3
153
+ }, 8, ["theme-vars", "style"]));
154
+ }
155
+ }), ke = { class: "dc-overflow-hidden dc-whitespace-nowrap dc-text-ellipsis dc-max-w-80% dc-c-#999999 dc-font-size-13px dc-font-weight-500" }, we = /* @__PURE__ */ v({
156
+ name: "DCell",
157
+ __name: "index",
158
+ props: {
159
+ ...ee,
160
+ valueLayout: {
161
+ type: String,
162
+ default: "right"
163
+ },
164
+ cellWarpClass: {
165
+ type: [String, Array],
166
+ default: ""
167
+ }
168
+ },
169
+ emits: ["click", "titleClick", "valueClick"],
170
+ setup(e, { emit: t }) {
171
+ const o = e, s = L(), a = t, m = () => {
172
+ a("click");
173
+ };
174
+ return (r, d) => (f(), k(P, null, {
175
+ default: u(() => [
176
+ y("div", {
177
+ class: I(["dc-flex dc-items-baseline dc-py-8px bg-white dc-cell-wrap", e.cellWarpClass]),
178
+ onClick: d[0] || (d[0] = (c) => m())
179
+ }, [
180
+ x(g(te), W(q(o)), K({
181
+ title: u(() => [
182
+ i(r.$slots, "title", {}, () => [
183
+ y("p", ke, $(r.title), 1)
184
+ ], !0)
185
+ ]),
186
+ value: u(() => [
187
+ i(r.$slots, "value", {}, () => [
188
+ y("p", {
189
+ class: "dc-c-#333333 dc-font-size-13px dc-font-weight-500",
190
+ style: B({
191
+ "text-align": e.valueLayout
192
+ })
193
+ }, [
194
+ y("span", null, $(r.value), 1),
195
+ r.isLink ? (f(), k(g(U), {
196
+ key: 0,
197
+ name: "arrow"
198
+ })) : w("", !0)
199
+ ], 4)
200
+ ], !0)
201
+ ]),
202
+ icon: u(() => [
203
+ i(r.$slots, "icon", {}, void 0, !0)
204
+ ]),
205
+ "right-icon": u(() => [
206
+ i(r.$slots, "right-icon", {}, void 0, !0)
207
+ ]),
208
+ extra: u(() => [
209
+ i(r.$slots, "extra", {}, void 0, !0)
210
+ ]),
211
+ _: 2
212
+ }, [
213
+ s.label ? {
214
+ name: "label",
215
+ fn: u(() => [
216
+ i(r.$slots, "label", {}, void 0, !0)
217
+ ]),
218
+ key: "0"
219
+ } : void 0
220
+ ]), 1040)
221
+ ], 2)
222
+ ]),
223
+ _: 3
224
+ }));
225
+ }
226
+ }), z = (e, t) => {
227
+ const o = e.__vccOpts || e;
228
+ for (const [s, a] of t)
229
+ o[s] = a;
230
+ return o;
231
+ }, Ce = /* @__PURE__ */ z(we, [["__scopeId", "data-v-5b99a74e"]]), De = C(Ce), $e = ["width", "height"], xe = ["href"], Se = /* @__PURE__ */ v({
232
+ name: "DcAliIcon",
233
+ __name: "index",
234
+ props: {
235
+ prefixCls: { default: "icon" },
236
+ iconName: { default: "" },
237
+ width: { default: "22px" },
238
+ height: { default: "22px" }
239
+ },
240
+ setup(e) {
241
+ const t = e, o = b(() => typeof t.width == "number" || /^-?\d+(\.\d+)?$/.test(t.width) ? `${t.width}px` : t.width), s = b(() => typeof t.height == "number" || /^-?\d+(\.\d+)?$/.test(t.height) ? `${t.height}px` : t.height), a = b(() => `#icon-${t.iconName}`);
242
+ return J(() => {
243
+ if (!document.querySelector(".dczy-mobile-iconfont")) {
244
+ const r = "https://gateway.daochen.com/api/abp/minio/wechat/icon/dczy-mobile-iconfont.js", d = document.createElement("script");
245
+ d.className = "dczy-mobile-iconfont", d.src = r, document.head.appendChild(d);
246
+ }
247
+ }), (r, d) => (f(), D("svg", {
248
+ class: I(["", e.prefixCls]),
249
+ "aria-hidden": "true",
250
+ width: o.value,
251
+ height: s.value
252
+ }, [
253
+ y("use", { href: a.value }, null, 8, xe)
254
+ ], 10, $e));
255
+ }
256
+ }), E = /* @__PURE__ */ z(Se, [["__scopeId", "data-v-a2485b9a"]]), Ie = { class: "d-search" }, Pe = { class: "dc-flex dc-items-center dc-justify-center" }, Te = /* @__PURE__ */ v({
257
+ name: "DSearch",
258
+ __name: "index",
259
+ props: /* @__PURE__ */ T({
260
+ ...ae,
261
+ showSearch: {
262
+ type: Boolean,
263
+ default: !0
264
+ }
265
+ }, {
266
+ modelValue: {
267
+ type: String,
268
+ default: ""
269
+ },
270
+ modelModifiers: {}
271
+ }),
272
+ emits: /* @__PURE__ */ T(["search", "update:model-value", "focus", "blur", "click-input", "click-left-icon", "click-right-icon", "clear", "cancel"], ["update:modelValue"]),
273
+ setup(e, { expose: t, emit: o }) {
274
+ const s = e, a = o, m = G(), r = N(e, "modelValue"), d = M();
275
+ return t(
276
+ new Proxy({}, {
277
+ get(c, n) {
278
+ var l;
279
+ return (l = d.value) == null ? void 0 : l[n];
280
+ },
281
+ has(c, n) {
282
+ var l;
283
+ return (l = d.value) == null ? void 0 : l[n];
284
+ }
285
+ })
286
+ ), (c, n) => (f(), k(P, null, {
287
+ default: u(() => [
288
+ y("div", Ie, [
289
+ x(g(se), R({ ...g(m), ...s }, {
290
+ modelValue: r.value,
291
+ "onUpdate:modelValue": n[1] || (n[1] = (l) => r.value = l),
292
+ onBlur: n[2] || (n[2] = (l) => a("blur", l)),
293
+ onSearch: n[3] || (n[3] = (l) => a("search", l)),
294
+ onFocus: n[4] || (n[4] = (l) => a("focus", l)),
295
+ onClickInput: n[5] || (n[5] = (l) => a("click-input", l)),
296
+ onClickLeftIcon: n[6] || (n[6] = (l) => a("click-left-icon", l)),
297
+ onClickRightIcon: n[7] || (n[7] = (l) => a("click-right-icon", l)),
298
+ onClear: n[8] || (n[8] = (l) => a("clear", l)),
299
+ onCancel: n[9] || (n[9] = () => a("cancel")),
300
+ ref_key: "SearchRef",
301
+ ref: d
302
+ }), {
303
+ "left-icon": u(() => [
304
+ i(c.$slots, "left-icon", {}, () => [
305
+ y("span", Pe, [
306
+ x(E, {
307
+ "icon-name": "a-sousuoliebiaoicon2",
308
+ width: "16",
309
+ height: "16"
310
+ })
311
+ ])
312
+ ], !0)
313
+ ]),
314
+ "right-icon": u(() => [
315
+ i(c.$slots, "right-icon", {}, () => [
316
+ e.showSearch ? (f(), D("span", {
317
+ key: 0,
318
+ onClick: n[0] || (n[0] = (l) => a("search", r.value)),
319
+ class: "dc-c-white dc-bg-primary dc-px-14px dc-py-7px dc-rounded-7px dc-font-size-12px"
320
+ }, "搜索")) : w("", !0)
321
+ ], !0)
322
+ ]),
323
+ _: 3
324
+ }, 16, ["modelValue"])
325
+ ])
326
+ ]),
327
+ _: 3
328
+ }));
329
+ }
330
+ }), ze = /* @__PURE__ */ z(Te, [["__scopeId", "data-v-88092f27"]]), _e = C(ze), Ve = /* @__PURE__ */ v({
331
+ name: "DTab",
332
+ __name: "index",
333
+ props: oe,
334
+ setup(e) {
335
+ const t = e, o = M();
336
+ return (s, a) => (f(), k(P, null, {
337
+ default: u(() => [
338
+ x(g(ne), R(t, {
339
+ ref_key: "TabRef",
340
+ ref: o
341
+ }), {
342
+ title: u(() => [
343
+ i(s.$slots, "title", {}, () => [
344
+ y("span", null, $(s.title), 1)
345
+ ])
346
+ ]),
347
+ default: u(() => [
348
+ i(s.$slots, "default")
349
+ ]),
350
+ _: 3
351
+ }, 16)
352
+ ]),
353
+ _: 3
354
+ }));
355
+ }
356
+ }), Ne = C(Ve), Be = /* @__PURE__ */ v({
357
+ name: "DTabs",
358
+ __name: "index",
359
+ props: /* @__PURE__ */ T({
360
+ ...re,
361
+ transparent: {
362
+ type: Boolean,
363
+ default: !0
364
+ },
365
+ customClass: {
366
+ type: String,
367
+ default: ""
368
+ }
369
+ }, {
370
+ active: {
371
+ type: String,
372
+ default: ""
373
+ },
374
+ activeModifiers: {}
375
+ }),
376
+ emits: /* @__PURE__ */ T(["click-tab", "change", "rendered", "scroll"], ["update:active"]),
377
+ setup(e, { expose: t, emit: o }) {
378
+ const s = e, a = o, m = N(e, "active");
379
+ L();
380
+ const r = b(() => Array.isArray(s.customClass) ? s.customClass.join(" ") : s.customClass), d = F(), c = b(() => d.primary ? d.primary : "#1989fa"), n = M();
381
+ return t(
382
+ new Proxy({}, {
383
+ get(l, h) {
384
+ var p;
385
+ return (p = n.value) == null ? void 0 : p[h];
386
+ },
387
+ has(l, h) {
388
+ var p;
389
+ return (p = n.value) == null ? void 0 : p[h];
390
+ }
391
+ })
392
+ ), (l, h) => (f(), k(P, null, {
393
+ default: u(() => [
394
+ x(g(le), R(s, {
395
+ active: m.value,
396
+ "onUpdate:active": h[0] || (h[0] = (p) => m.value = p),
397
+ class: [r.value, e.transparent ? "d-tabs-transparent-bg" : ""],
398
+ style: {
399
+ "--dc-tabs-line-bg": c.value
400
+ },
401
+ ref_key: "tabsRef",
402
+ ref: n,
403
+ onClickTab: h[1] || (h[1] = (p, S, O, H) => a("click-tab", p, S, O, H)),
404
+ onChange: h[2] || (h[2] = (p, S) => a("change", p, S)),
405
+ onRendered: h[3] || (h[3] = (p, S) => a("rendered", p, S)),
406
+ onScroll: h[4] || (h[4] = (p, S) => a("scroll", p, S))
407
+ }), {
408
+ "nav-left": u(() => [
409
+ i(l.$slots, "navLeft", {}, void 0, !0)
410
+ ]),
411
+ "nav-right": u(() => [
412
+ i(l.$slots, "navRight", {}, void 0, !0)
413
+ ]),
414
+ "nav-bottom": u(() => [
415
+ i(l.$slots, "navBottom", {}, void 0, !0)
416
+ ]),
417
+ default: u(() => [
418
+ i(l.$slots, "default", {}, void 0, !0)
419
+ ]),
420
+ _: 3
421
+ }, 16, ["active", "class", "style"])
422
+ ]),
423
+ _: 3
424
+ }));
425
+ }
426
+ }), Le = /* @__PURE__ */ z(Be, [["__scopeId", "data-v-7a4ecb2b"]]), Me = C(Le), Re = { key: 2 }, Fe = /* @__PURE__ */ v({
427
+ name: "DCard",
428
+ __name: "index",
429
+ props: {
430
+ dividerDashed: { type: Boolean, default: !1 },
431
+ footerLayout: { default: "between" },
432
+ isShowCollapse: { type: Boolean, default: !1 },
433
+ shadow: { type: Boolean, default: !1 },
434
+ footerTitle: { default: "查看更多信息" },
435
+ customClass: { default: "" },
436
+ showFooter: { type: Boolean, default: !0 }
437
+ },
438
+ emits: ["clickFooter", "clickHeader"],
439
+ setup(e, { emit: t }) {
440
+ const o = e, s = t, a = L(), m = Q(!1), r = () => {
441
+ s("clickFooter"), o.isShowCollapse && (m.value = !m.value);
442
+ };
443
+ return (d, c) => (f(), k(P, null, {
444
+ default: u(() => [
445
+ y("div", {
446
+ class: I(["dc-bg-white dc-rounded-7px dc-p-10px", e.customClass]),
447
+ style: B({
448
+ boxShadow: e.shadow ? "rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;" : ""
449
+ })
450
+ }, [
451
+ i(d.$slots, "header"),
452
+ a.header ? (f(), k(g(V), {
453
+ key: 0,
454
+ dashed: e.dividerDashed,
455
+ style: { margin: "8px 0" }
456
+ }, null, 8, ["dashed"])) : w("", !0),
457
+ i(d.$slots, "default"),
458
+ e.showFooter ? (f(), k(g(V), {
459
+ key: 1,
460
+ dashed: e.dividerDashed,
461
+ style: { margin: "8px 0" }
462
+ }, null, 8, ["dashed"])) : w("", !0),
463
+ m.value ? (f(), D("div", Re, [
464
+ i(d.$slots, "more"),
465
+ x(g(V), {
466
+ dashed: e.dividerDashed,
467
+ style: { margin: "8px 0" }
468
+ }, null, 8, ["dashed"])
469
+ ])) : w("", !0),
470
+ e.showFooter ? i(d.$slots, "footer", { key: 3 }, () => [
471
+ y("div", {
472
+ class: I(["dc-font-size-12px dc-flex dc-items-center", {
473
+ "dc-justify-between": e.footerLayout === "between",
474
+ "dc-justify-center": e.footerLayout === "center",
475
+ "dc-justify-end": e.footerLayout === "right"
476
+ }]),
477
+ onClick: r
478
+ }, [
479
+ y("span", null, $(m.value ? "收起" : e.footerTitle), 1),
480
+ x(g(U), {
481
+ name: m.value ? "arrow-up" : "arrow-down"
482
+ }, null, 8, ["name"])
483
+ ], 2)
484
+ ]) : w("", !0)
485
+ ], 6)
486
+ ]),
487
+ _: 3
488
+ }));
489
+ }
490
+ }), je = C(Fe), Ae = { class: "dc-font-size-14px dc-text-center dc-c-#666 dc-mt--14px dc-text-ellipsis dc-line-clamp-2 dc-w-full dc-mb-0 dc-px-6px dc-box-border" }, Ue = /* @__PURE__ */ v({
491
+ name: "DNoData",
492
+ __name: "index",
493
+ props: {
494
+ layout: { default: "vertical" },
495
+ type: { default: "noSearch" },
496
+ errImg: { default: "" },
497
+ tips: { default: "暂无数据" },
498
+ className: { default: "" }
499
+ },
500
+ emits: ["clickTips", "clickImages", "click"],
501
+ setup(e, { emit: t }) {
502
+ const o = /* @__PURE__ */ new Map([
503
+ [
504
+ "noSearch",
505
+ "https://gateway.daochen.com/api/abp/minio/wechat/images/DcComponentNoSearch.png"
506
+ ],
507
+ [
508
+ "noData",
509
+ "https://gateway.daochen.com/api/abp/minio/wechat/images/DcComponentsNoData.png"
510
+ ]
511
+ ]), s = e, a = t, m = b(() => s.errImg ? s.errImg : o.get(s.type) || o.get("noSearch")), r = () => {
512
+ a("click");
513
+ };
514
+ return (d, c) => (f(), D("div", {
515
+ class: I(["dc-flex dc-items-center dc-justify-center dc-h-190px dc-bg-white dc-rounded-7px dc-box-border dc-px-98px dc-overflow-hidden", {
516
+ "dc-flex-col": e.layout === "vertical"
517
+ }]),
518
+ onClick: c[0] || (c[0] = (n) => r())
519
+ }, [
520
+ i(d.$slots, "default", {}, () => [
521
+ x(g(ce), {
522
+ src: m.value,
523
+ width: "146",
524
+ height: "94",
525
+ fit: "contain"
526
+ }, null, 8, ["src"]),
527
+ y("div", Ae, $(e.tips), 1)
528
+ ])
529
+ ], 2));
530
+ }
531
+ }), Ee = C(Ue), Oe = C(E), He = /* @__PURE__ */ v({
532
+ name: "DDateSelect",
533
+ __name: "index",
534
+ setup(e) {
535
+ return (t, o) => null;
536
+ }
537
+ }), We = C(He), qe = [
538
+ be,
539
+ De,
540
+ _e,
541
+ Ne,
542
+ Me,
543
+ je,
544
+ Ee,
545
+ Oe,
546
+ We
547
+ ], Xe = ge(qe);
548
+ export {
549
+ je as DCard,
550
+ je as DCardPlugin,
551
+ De as DCell,
552
+ De as DCellPlugin,
553
+ We as DDateSelect,
554
+ We as DDateSelectPlugin,
555
+ be as DInput,
556
+ be as DInputPlugin,
557
+ Ee as DNoData,
558
+ Ee as DNoDataPlugin,
559
+ _e as DSearch,
560
+ _e as DSearchPlugin,
561
+ Ne as DTab,
562
+ Ne as DTabPlugin,
563
+ Me as DTabs,
564
+ Me as DTabsPlugin,
565
+ P as DThemeProvider,
566
+ Oe as DcIcon,
567
+ Oe as DcIconPlugin,
568
+ Oe as DczyAliIcon,
569
+ Qe as DczyCard,
570
+ De as DczyCell,
571
+ be as DczyInput,
572
+ Ee as DczyNoData,
573
+ _e as DczySearch,
574
+ Ne as DczyTab,
575
+ Me as DczyTabs,
576
+ P as DczyThemeProvider,
577
+ Xe as default
578
+ };
@@ -0,0 +1 @@
1
+ (function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("pinia"),require("vant")):typeof define=="function"&&define.amd?define(["exports","vue","pinia","vant"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.DczyTieMobile={},n.Vue,n.Pinia,n.vant))})(this,(function(n,e,k,p){"use strict";const P=["tabindex","role"],I={class:"dczy-card__header"},E={class:"dczy-card__title"},M={key:0,class:"dczy-card__description"},R={key:1,class:"dczy-card__footer"},j=e.defineComponent({__name:"DczyCard",props:{title:{},description:{default:""},status:{default:void 0},statusText:{default:""},clickable:{type:Boolean,default:!1}},emits:["click"],setup(t,{emit:o}){const r=t,l=o,a=e.computed(()=>["dczy-card",{"dczy-card--clickable":r.clickable}]),f=e.computed(()=>["dczy-card__status",r.status?`dczy-card__status--${r.status}`:""]);function i(d){r.clickable&&l("click",d)}function m(d){r.clickable&&(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),l("click",d))}return(d,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass(a.value),tabindex:t.clickable?0:void 0,role:t.clickable?"button":void 0,onClick:i,onKeydown:m},[e.createElementVNode("header",I,[e.createElementVNode("h3",E,[e.renderSlot(d.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])]),t.status&&t.statusText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(f.value)},[e.renderSlot(d.$slots,"status",{},()=>[e.createTextVNode(e.toDisplayString(t.statusText),1)])],2)):e.createCommentVNode("",!0)]),t.description?(e.openBlock(),e.createElementBlock("p",M,[e.renderSlot(d.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.description),1)])])):e.createCommentVNode("",!0),d.$slots.footer?(e.openBlock(),e.createElementBlock("footer",R,[e.renderSlot(d.$slots,"footer")])):e.createCommentVNode("",!0)],42,P))}}),L=k.defineStore("dcMobileUIHostStore",{state:()=>({base_url:"https://gateway.daochen.com",file_url:"https://gateway.daochen.com/api/files/static",login_url:"https://gateway.daochen.com",getfile_url:"https://gateway.daochen.com",tokenName:"JsToken",useCrypto:!0,cryptoType:1}),actions:{initState(t){this.base_url=t.base_url,this.file_url=t.file_url,this.login_url=t.login_url,this.getfile_url=t.getfile_url,this.tokenName=t.tokenName,this.useCrypto=t.useCrypto,this.cryptoType=t.cryptoType}}}),B=k.defineStore("dcMobileUIThemeStore",{state:()=>({primary:"#007bff",success:"#28a745",danger:"#dc3545",error:"#dc3545"}),actions:{initState(t){this.primary=t.primary,this.success=t.success,this.danger=t.danger,this.error=t.error}}}),F=()=>{const t=k.getActivePinia();return t||(console.warn("未找到活跃的 Pinia 实例,正在创建新实例"),k.createPinia())};function A(t){F(),L().initState(t.request),B().initState(t.theme)}const y=(t,o)=>(t.install=r=>{for(const l of[t,...Object.values({})])r.component(l.name,l)},t),U=(t=[])=>({install:(r,l)=>{if(t.forEach(a=>r.use(a)),l){const a=k.createPinia();r.config.globalProperties.$pinia||r.use(a),A(l)}}}),S=y(e.defineComponent({name:"DInput",__name:"index",props:{modelValue:{type:String,default:""},modelModifiers:{}},emits:["update:modelValue"],setup(t){const o=e.useModel(t,"modelValue");return(r,l)=>(e.openBlock(),e.createBlock(e.unref(p.Field),{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=a=>o.value=a)},null,8,["modelValue"]))}})),g=e.defineComponent({__name:"index",setup(t){const o=B(),r=e.computed(()=>({primaryColor:o.primary,successColor:o.success,dangerColor:o.danger})),l=e.computed(()=>({"--dc-primary":o.primary,"--dc-success":o.success,"--dc-danger":o.danger,"--dc-error":o.error}));return(a,f)=>(e.openBlock(),e.createBlock(e.unref(p.ConfigProvider),{"theme-vars":r.value,style:e.normalizeStyle(l.value),class:"dc-component"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["theme-vars","style"]))}}),q={class:"dc-overflow-hidden dc-whitespace-nowrap dc-text-ellipsis dc-max-w-80% dc-c-#999999 dc-font-size-13px dc-font-weight-500"},O=e.defineComponent({name:"DCell",__name:"index",props:{...p.cellProps,valueLayout:{type:String,default:"right"},cellWarpClass:{type:[String,Array],default:""}},emits:["click","titleClick","valueClick"],setup(t,{emit:o}){const r=t,l=e.useSlots(),a=o,f=()=>{a("click")};return(i,m)=>(e.openBlock(),e.createBlock(g,null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["dc-flex dc-items-baseline dc-py-8px bg-white dc-cell-wrap",t.cellWarpClass]),onClick:m[0]||(m[0]=d=>f())},[e.createVNode(e.unref(p.Cell),e.normalizeProps(e.guardReactiveProps(r)),e.createSlots({title:e.withCtx(()=>[e.renderSlot(i.$slots,"title",{},()=>[e.createElementVNode("p",q,e.toDisplayString(i.title),1)],!0)]),value:e.withCtx(()=>[e.renderSlot(i.$slots,"value",{},()=>[e.createElementVNode("p",{class:"dc-c-#333333 dc-font-size-13px dc-font-weight-500",style:e.normalizeStyle({"text-align":t.valueLayout})},[e.createElementVNode("span",null,e.toDisplayString(i.value),1),i.isLink?(e.openBlock(),e.createBlock(e.unref(p.Icon),{key:0,name:"arrow"})):e.createCommentVNode("",!0)],4)],!0)]),icon:e.withCtx(()=>[e.renderSlot(i.$slots,"icon",{},void 0,!0)]),"right-icon":e.withCtx(()=>[e.renderSlot(i.$slots,"right-icon",{},void 0,!0)]),extra:e.withCtx(()=>[e.renderSlot(i.$slots,"extra",{},void 0,!0)]),_:2},[l.label?{name:"label",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"label",{},void 0,!0)]),key:"0"}:void 0]),1040)],2)]),_:3}))}}),w=(t,o)=>{const r=t.__vccOpts||t;for(const[l,a]of o)r[l]=a;return r},b=y(w(O,[["__scopeId","data-v-5b99a74e"]])),H=["width","height"],W=["href"],_=w(e.defineComponent({name:"DcAliIcon",__name:"index",props:{prefixCls:{default:"icon"},iconName:{default:""},width:{default:"22px"},height:{default:"22px"}},setup(t){const o=t,r=e.computed(()=>typeof o.width=="number"||/^-?\d+(\.\d+)?$/.test(o.width)?`${o.width}px`:o.width),l=e.computed(()=>typeof o.height=="number"||/^-?\d+(\.\d+)?$/.test(o.height)?`${o.height}px`:o.height),a=e.computed(()=>`#icon-${o.iconName}`),f=()=>{if(!document.querySelector(".dczy-mobile-iconfont")){const i="https://gateway.daochen.com/api/abp/minio/wechat/icon/dczy-mobile-iconfont.js",m=document.createElement("script");m.className="dczy-mobile-iconfont",m.src=i,document.head.appendChild(m)}};return e.onBeforeMount(f),(i,m)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["",t.prefixCls]),"aria-hidden":"true",width:r.value,height:l.value},[e.createElementVNode("use",{href:a.value},null,8,W)],10,H))}}),[["__scopeId","data-v-a2485b9a"]]),K={class:"d-search"},J={class:"dc-flex dc-items-center dc-justify-center"},G=e.defineComponent({name:"DSearch",__name:"index",props:e.mergeModels({...p.searchProps,showSearch:{type:Boolean,default:!0}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:e.mergeModels(["search","update:model-value","focus","blur","click-input","click-left-icon","click-right-icon","clear","cancel"],["update:modelValue"]),setup(t,{expose:o,emit:r}){const l=t,a=r,f=e.useAttrs(),i=e.useModel(t,"modelValue"),m=e.shallowRef();return o(new Proxy({},{get(d,s){var c;return(c=m.value)==null?void 0:c[s]},has(d,s){var c;return(c=m.value)==null?void 0:c[s]}})),(d,s)=>(e.openBlock(),e.createBlock(g,null,{default:e.withCtx(()=>[e.createElementVNode("div",K,[e.createVNode(e.unref(p.Search),e.mergeProps({...e.unref(f),...l},{modelValue:i.value,"onUpdate:modelValue":s[1]||(s[1]=c=>i.value=c),onBlur:s[2]||(s[2]=c=>a("blur",c)),onSearch:s[3]||(s[3]=c=>a("search",c)),onFocus:s[4]||(s[4]=c=>a("focus",c)),onClickInput:s[5]||(s[5]=c=>a("click-input",c)),onClickLeftIcon:s[6]||(s[6]=c=>a("click-left-icon",c)),onClickRightIcon:s[7]||(s[7]=c=>a("click-right-icon",c)),onClear:s[8]||(s[8]=c=>a("clear",c)),onCancel:s[9]||(s[9]=()=>a("cancel")),ref_key:"SearchRef",ref:m}),{"left-icon":e.withCtx(()=>[e.renderSlot(d.$slots,"left-icon",{},()=>[e.createElementVNode("span",J,[e.createVNode(_,{"icon-name":"a-sousuoliebiaoicon2",width:"16",height:"16"})])],!0)]),"right-icon":e.withCtx(()=>[e.renderSlot(d.$slots,"right-icon",{},()=>[t.showSearch?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:s[0]||(s[0]=c=>a("search",i.value)),class:"dc-c-white dc-bg-primary dc-px-14px dc-py-7px dc-rounded-7px dc-font-size-12px"},"搜索")):e.createCommentVNode("",!0)],!0)]),_:3},16,["modelValue"])])]),_:3}))}}),D=y(w(G,[["__scopeId","data-v-88092f27"]])),Q=e.defineComponent({name:"DTab",__name:"index",props:p.tabProps,setup(t){const o=t,r=e.shallowRef();return(l,a)=>(e.openBlock(),e.createBlock(g,null,{default:e.withCtx(()=>[e.createVNode(e.unref(p.Tab),e.mergeProps(o,{ref_key:"TabRef",ref:r}),{title:e.withCtx(()=>[e.renderSlot(l.$slots,"title",{},()=>[e.createElementVNode("span",null,e.toDisplayString(l.title),1)])]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16)]),_:3}))}}),$=y(Q),X=e.defineComponent({name:"DTabs",__name:"index",props:e.mergeModels({...p.tabsProps,transparent:{type:Boolean,default:!0},customClass:{type:String,default:""}},{active:{type:String,default:""},activeModifiers:{}}),emits:e.mergeModels(["click-tab","change","rendered","scroll"],["update:active"]),setup(t,{expose:o,emit:r}){const l=t,a=r,f=e.useModel(t,"active");e.useSlots();const i=e.computed(()=>Array.isArray(l.customClass)?l.customClass.join(" "):l.customClass),m=B(),d=e.computed(()=>m.primary?m.primary:"#1989fa"),s=e.shallowRef();return o(new Proxy({},{get(c,u){var h;return(h=s.value)==null?void 0:h[u]},has(c,u){var h;return(h=s.value)==null?void 0:h[u]}})),(c,u)=>(e.openBlock(),e.createBlock(g,null,{default:e.withCtx(()=>[e.createVNode(e.unref(p.Tabs),e.mergeProps(l,{active:f.value,"onUpdate:active":u[0]||(u[0]=h=>f.value=h),class:[i.value,t.transparent?"d-tabs-transparent-bg":""],style:{"--dc-tabs-line-bg":d.value},ref_key:"tabsRef",ref:s,onClickTab:u[1]||(u[1]=(h,C,ee,te)=>a("click-tab",h,C,ee,te)),onChange:u[2]||(u[2]=(h,C)=>a("change",h,C)),onRendered:u[3]||(u[3]=(h,C)=>a("rendered",h,C)),onScroll:u[4]||(u[4]=(h,C)=>a("scroll",h,C))}),{"nav-left":e.withCtx(()=>[e.renderSlot(c.$slots,"navLeft",{},void 0,!0)]),"nav-right":e.withCtx(()=>[e.renderSlot(c.$slots,"navRight",{},void 0,!0)]),"nav-bottom":e.withCtx(()=>[e.renderSlot(c.$slots,"navBottom",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{},void 0,!0)]),_:3},16,["active","class","style"])]),_:3}))}}),V=y(w(X,[["__scopeId","data-v-7a4ecb2b"]])),Y={key:2},z=y(e.defineComponent({name:"DCard",__name:"index",props:{dividerDashed:{type:Boolean,default:!1},footerLayout:{default:"between"},isShowCollapse:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},footerTitle:{default:"查看更多信息"},customClass:{default:""},showFooter:{type:Boolean,default:!0}},emits:["clickFooter","clickHeader"],setup(t,{emit:o}){const r=t,l=o,a=e.useSlots(),f=e.ref(!1),i=()=>{l("clickFooter"),r.isShowCollapse&&(f.value=!f.value)};return(m,d)=>(e.openBlock(),e.createBlock(g,null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["dc-bg-white dc-rounded-7px dc-p-10px",t.customClass]),style:e.normalizeStyle({boxShadow:t.shadow?"rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;":""})},[e.renderSlot(m.$slots,"header"),a.header?(e.openBlock(),e.createBlock(e.unref(p.Divider),{key:0,dashed:t.dividerDashed,style:{margin:"8px 0"}},null,8,["dashed"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default"),t.showFooter?(e.openBlock(),e.createBlock(e.unref(p.Divider),{key:1,dashed:t.dividerDashed,style:{margin:"8px 0"}},null,8,["dashed"])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createElementBlock("div",Y,[e.renderSlot(m.$slots,"more"),e.createVNode(e.unref(p.Divider),{dashed:t.dividerDashed,style:{margin:"8px 0"}},null,8,["dashed"])])):e.createCommentVNode("",!0),t.showFooter?e.renderSlot(m.$slots,"footer",{key:3},()=>[e.createElementVNode("div",{class:e.normalizeClass(["dc-font-size-12px dc-flex dc-items-center",{"dc-justify-between":t.footerLayout==="between","dc-justify-center":t.footerLayout==="center","dc-justify-end":t.footerLayout==="right"}]),onClick:i},[e.createElementVNode("span",null,e.toDisplayString(f.value?"收起":t.footerTitle),1),e.createVNode(e.unref(p.Icon),{name:f.value?"arrow-up":"arrow-down"},null,8,["name"])],2)]):e.createCommentVNode("",!0)],6)]),_:3}))}})),Z={class:"dc-font-size-14px dc-text-center dc-c-#666 dc-mt--14px dc-text-ellipsis dc-line-clamp-2 dc-w-full dc-mb-0 dc-px-6px dc-box-border"},N=y(e.defineComponent({name:"DNoData",__name:"index",props:{layout:{default:"vertical"},type:{default:"noSearch"},errImg:{default:""},tips:{default:"暂无数据"},className:{default:""}},emits:["clickTips","clickImages","click"],setup(t,{emit:o}){const r=new Map([["noSearch","https://gateway.daochen.com/api/abp/minio/wechat/images/DcComponentNoSearch.png"],["noData","https://gateway.daochen.com/api/abp/minio/wechat/images/DcComponentsNoData.png"]]),l=t,a=o,f=e.computed(()=>l.errImg?l.errImg:r.get(l.type)||r.get("noSearch")),i=()=>{a("click")};return(m,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["dc-flex dc-items-center dc-justify-center dc-h-190px dc-bg-white dc-rounded-7px dc-box-border dc-px-98px dc-overflow-hidden",{"dc-flex-col":t.layout==="vertical"}]),onClick:d[0]||(d[0]=s=>i())},[e.renderSlot(m.$slots,"default",{},()=>[e.createVNode(e.unref(p.Image),{src:f.value,width:"146",height:"94",fit:"contain"},null,8,["src"]),e.createElementVNode("div",Z,e.toDisplayString(t.tips),1)])],2))}})),x=y(_),T=y(e.defineComponent({name:"DDateSelect",__name:"index",setup(t){return(o,r)=>null}})),v=U([S,b,D,$,V,z,N,x,T]);n.DCard=z,n.DCardPlugin=z,n.DCell=b,n.DCellPlugin=b,n.DDateSelect=T,n.DDateSelectPlugin=T,n.DInput=S,n.DInputPlugin=S,n.DNoData=N,n.DNoDataPlugin=N,n.DSearch=D,n.DSearchPlugin=D,n.DTab=$,n.DTabPlugin=$,n.DTabs=V,n.DTabsPlugin=V,n.DThemeProvider=g,n.DcIcon=x,n.DcIconPlugin=x,n.DczyAliIcon=x,n.DczyCard=j,n.DczyCell=b,n.DczyInput=S,n.DczyNoData=N,n.DczySearch=D,n.DczyTab=$,n.DczyTabs=V,n.DczyThemeProvider=g,n.default=v,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
@@ -0,0 +1,62 @@
1
+ export declare const DCard: import("../../utils/typescript").SFCWithInstall<{
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types").DCardProps> & Readonly<{
3
+ onClickFooter?: (() => any) | undefined;
4
+ onClickHeader?: (() => any) | undefined;
5
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ clickFooter: () => any;
7
+ clickHeader: () => any;
8
+ }, import("vue").PublicProps, {
9
+ customClass: string | string[];
10
+ dividerDashed: boolean;
11
+ footerLayout: "between" | "center" | "right";
12
+ isShowCollapse: boolean;
13
+ shadow: boolean;
14
+ footerTitle: string;
15
+ showFooter: boolean;
16
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
17
+ P: {};
18
+ B: {};
19
+ D: {};
20
+ C: {};
21
+ M: {};
22
+ Defaults: {};
23
+ }, Readonly<import("./types").DCardProps> & Readonly<{
24
+ onClickFooter?: (() => any) | undefined;
25
+ onClickHeader?: (() => any) | undefined;
26
+ }>, {}, {}, {}, {}, {
27
+ customClass: string | string[];
28
+ dividerDashed: boolean;
29
+ footerLayout: "between" | "center" | "right";
30
+ isShowCollapse: boolean;
31
+ shadow: boolean;
32
+ footerTitle: string;
33
+ showFooter: boolean;
34
+ }>;
35
+ __isFragment?: never;
36
+ __isTeleport?: never;
37
+ __isSuspense?: never;
38
+ } & import("vue").ComponentOptionsBase<Readonly<import("./types").DCardProps> & Readonly<{
39
+ onClickFooter?: (() => any) | undefined;
40
+ onClickHeader?: (() => any) | undefined;
41
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
+ clickFooter: () => any;
43
+ clickHeader: () => any;
44
+ }, string, {
45
+ customClass: string | string[];
46
+ dividerDashed: boolean;
47
+ footerLayout: "between" | "center" | "right";
48
+ isShowCollapse: boolean;
49
+ shadow: boolean;
50
+ footerTitle: string;
51
+ showFooter: boolean;
52
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
53
+ $slots: {
54
+ header?: () => any;
55
+ footer?: () => any;
56
+ default?: () => any;
57
+ more?: () => any;
58
+ };
59
+ })> & Record<string, any>;
60
+ export default DCard;
61
+ export * from "./index.vue";
62
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/DCard/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAoB,CAAC;AACvC,eAAe,KAAK,CAAC;AAErB,cAAc,aAAa,CAAC"}