@cst-ui/nano-buttons 0.5.2 → 0.6.1

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.
@@ -0,0 +1,692 @@
1
+ import { defineComponent as _, openBlock as o, createBlock as r, mergeProps as s, withCtx as c, renderSlot as f, createTextVNode as C, createElementVNode as v, normalizeProps as S, guardReactiveProps as A, useAttrs as N, computed as g, resolveComponent as h, unref as i } from "vue";
2
+ import { buttonProps as $ } from "element-plus";
3
+ import { _ as a } from "./NanoButton.vue_vue_type_script_setup_true_lang-DgnSKBXL.js";
4
+ const D = /* @__PURE__ */ _({
5
+ name: "NanoAddButton",
6
+ inheritAttrs: !1,
7
+ __name: "NanoAddButton",
8
+ props: $,
9
+ setup(m) {
10
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, {
11
+ type: "primary",
12
+ icon: "Plus"
13
+ }), {
14
+ default: c(() => [
15
+ f(t.$slots, "default", {}, () => [
16
+ n[0] || (n[0] = C("新增", -1))
17
+ ])
18
+ ]),
19
+ _: 3
20
+ }, 16));
21
+ }
22
+ }), E = /* @__PURE__ */ _({
23
+ name: "NanoBackTopButton",
24
+ inheritAttrs: !1,
25
+ __name: "NanoBackTopButton",
26
+ props: $,
27
+ setup(m) {
28
+ return (t, n) => t.$slots.default ? (o(), r(a, s({ key: 0 }, { ...t.$props, ...t.$attrs }, {
29
+ secondary: "",
30
+ class: "app-backtop-button"
31
+ }), {
32
+ default: c(() => [
33
+ f(t.$slots, "default")
34
+ ]),
35
+ _: 3
36
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...t.$props, ...t.$attrs }, {
37
+ secondary: "",
38
+ class: "app-backtop-button"
39
+ }), {
40
+ default: c(() => [...n[0] || (n[0] = [
41
+ v("svg", {
42
+ class: "app-backtop-icon",
43
+ viewBox: "0 0 24 24",
44
+ "aria-hidden": "true",
45
+ focusable: "false"
46
+ }, [
47
+ v("path", { d: "M6 5h12" }),
48
+ v("path", { d: "M12 19V9" }),
49
+ v("path", { d: "m8 13 4-4 4 4" })
50
+ ], -1)
51
+ ])]),
52
+ _: 1
53
+ }, 16));
54
+ }
55
+ }), V = /* @__PURE__ */ _({
56
+ name: "NanoCancelButton",
57
+ inheritAttrs: !1,
58
+ __name: "NanoCancelButton",
59
+ props: $,
60
+ setup(m) {
61
+ return (t, n) => (o(), r(a, S(A({ ...t.$props, ...t.$attrs })), {
62
+ default: c(() => [
63
+ f(t.$slots, "default", {}, () => [
64
+ n[0] || (n[0] = C("取消", -1))
65
+ ])
66
+ ]),
67
+ _: 3
68
+ }, 16));
69
+ }
70
+ }), M = /* @__PURE__ */ _({
71
+ name: "NanoCompleteButton",
72
+ inheritAttrs: !1,
73
+ __name: "NanoCompleteButton",
74
+ props: {
75
+ ...$,
76
+ confirmTitle: String,
77
+ confirmButtonText: String,
78
+ cancelButtonText: String
79
+ },
80
+ emits: ["click", "confirm", "cancel"],
81
+ setup(m, { emit: t }) {
82
+ const n = m, d = t, l = N(), u = g(() => {
83
+ const {
84
+ confirmTitle: e,
85
+ confirmButtonText: k,
86
+ cancelButtonText: B,
87
+ ...b
88
+ } = n;
89
+ return b;
90
+ }), p = (e) => {
91
+ d("click", e);
92
+ }, y = (e) => {
93
+ d("confirm", e);
94
+ }, T = (e) => {
95
+ d("cancel", e);
96
+ };
97
+ return (e, k) => {
98
+ const B = h("el-popconfirm");
99
+ return n.confirmTitle ? (o(), r(B, {
100
+ key: 0,
101
+ title: n.confirmTitle,
102
+ "confirm-button-text": n.confirmButtonText,
103
+ "cancel-button-text": n.cancelButtonText,
104
+ onConfirm: y,
105
+ onCancel: T
106
+ }, {
107
+ reference: c(() => [
108
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
109
+ type: "success",
110
+ icon: "CircleCheck",
111
+ onClick: p
112
+ }), {
113
+ default: c(() => [
114
+ f(e.$slots, "default")
115
+ ]),
116
+ _: 3
117
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
118
+ "aria-label": i(l)["aria-label"] ?? "完成",
119
+ type: "success",
120
+ icon: "CircleCheck",
121
+ onClick: p
122
+ }), null, 16, ["aria-label"]))
123
+ ]),
124
+ _: 3
125
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
126
+ type: "success",
127
+ icon: "CircleCheck",
128
+ onClick: p
129
+ }), {
130
+ default: c(() => [
131
+ f(e.$slots, "default")
132
+ ]),
133
+ _: 3
134
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
135
+ "aria-label": i(l)["aria-label"] ?? "完成",
136
+ type: "success",
137
+ icon: "CircleCheck",
138
+ onClick: p
139
+ }), null, 16, ["aria-label"]));
140
+ };
141
+ }
142
+ }), z = /* @__PURE__ */ _({
143
+ name: "NanoConfirmButton",
144
+ inheritAttrs: !1,
145
+ __name: "NanoConfirmButton",
146
+ props: {
147
+ ...$,
148
+ confirmTitle: String,
149
+ confirmButtonText: String,
150
+ cancelButtonText: String
151
+ },
152
+ emits: ["click", "confirm", "cancel"],
153
+ setup(m, { emit: t }) {
154
+ const n = m, d = t, l = N(), u = g(() => {
155
+ const {
156
+ confirmTitle: e,
157
+ confirmButtonText: k,
158
+ cancelButtonText: B,
159
+ ...b
160
+ } = n;
161
+ return b;
162
+ }), p = (e) => {
163
+ d("click", e);
164
+ }, y = (e) => {
165
+ d("confirm", e);
166
+ }, T = (e) => {
167
+ d("cancel", e);
168
+ };
169
+ return (e, k) => {
170
+ const B = h("el-popconfirm");
171
+ return n.confirmTitle ? (o(), r(B, {
172
+ key: 0,
173
+ title: n.confirmTitle,
174
+ "confirm-button-text": n.confirmButtonText,
175
+ "cancel-button-text": n.cancelButtonText,
176
+ onConfirm: y,
177
+ onCancel: T
178
+ }, {
179
+ reference: c(() => [
180
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
181
+ type: "primary",
182
+ icon: "Check",
183
+ onClick: p
184
+ }), {
185
+ default: c(() => [
186
+ f(e.$slots, "default")
187
+ ]),
188
+ _: 3
189
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
190
+ "aria-label": i(l)["aria-label"] ?? "确认",
191
+ type: "primary",
192
+ icon: "Check",
193
+ onClick: p
194
+ }), null, 16, ["aria-label"]))
195
+ ]),
196
+ _: 3
197
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
198
+ type: "primary",
199
+ icon: "Check",
200
+ onClick: p
201
+ }), {
202
+ default: c(() => [
203
+ f(e.$slots, "default")
204
+ ]),
205
+ _: 3
206
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
207
+ "aria-label": i(l)["aria-label"] ?? "确认",
208
+ type: "primary",
209
+ icon: "Check",
210
+ onClick: p
211
+ }), null, 16, ["aria-label"]));
212
+ };
213
+ }
214
+ }), R = /* @__PURE__ */ _({
215
+ name: "NanoConfirmedButton",
216
+ inheritAttrs: !1,
217
+ __name: "NanoConfirmedButton",
218
+ props: $,
219
+ setup(m) {
220
+ return (t, n) => t.$slots.default ? (o(), r(a, s({ key: 0 }, { ...t.$props, ...t.$attrs }, {
221
+ type: "success",
222
+ icon: "Check",
223
+ disabled: ""
224
+ }), {
225
+ default: c(() => [
226
+ f(t.$slots, "default")
227
+ ]),
228
+ _: 3
229
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...t.$props, ...t.$attrs }, {
230
+ "aria-label": t.$attrs["aria-label"] ?? "确认完成",
231
+ type: "success",
232
+ icon: "Check",
233
+ disabled: ""
234
+ }), null, 16, ["aria-label"]));
235
+ }
236
+ }), H = /* @__PURE__ */ _({
237
+ name: "NanoDeleteButton",
238
+ inheritAttrs: !1,
239
+ __name: "NanoDeleteButton",
240
+ props: {
241
+ ...$,
242
+ confirmTitle: String,
243
+ confirmButtonText: String,
244
+ cancelButtonText: String
245
+ },
246
+ emits: ["click", "confirm", "cancel"],
247
+ setup(m, { emit: t }) {
248
+ const n = m, d = t, l = N(), u = g(() => {
249
+ const {
250
+ confirmTitle: e,
251
+ confirmButtonText: k,
252
+ cancelButtonText: B,
253
+ ...b
254
+ } = n;
255
+ return b;
256
+ }), p = (e) => {
257
+ d("click", e);
258
+ }, y = (e) => {
259
+ d("confirm", e);
260
+ }, T = (e) => {
261
+ d("cancel", e);
262
+ };
263
+ return (e, k) => {
264
+ const B = h("el-popconfirm");
265
+ return n.confirmTitle ? (o(), r(B, {
266
+ key: 0,
267
+ title: n.confirmTitle,
268
+ "confirm-button-text": n.confirmButtonText,
269
+ "cancel-button-text": n.cancelButtonText,
270
+ onConfirm: y,
271
+ onCancel: T
272
+ }, {
273
+ reference: c(() => [
274
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
275
+ type: "danger",
276
+ icon: "Delete",
277
+ onClick: p
278
+ }), {
279
+ default: c(() => [
280
+ f(e.$slots, "default")
281
+ ]),
282
+ _: 3
283
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
284
+ type: "danger",
285
+ icon: "Delete",
286
+ onClick: p
287
+ }), null, 16))
288
+ ]),
289
+ _: 3
290
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
291
+ type: "danger",
292
+ icon: "Delete",
293
+ onClick: p
294
+ }), {
295
+ default: c(() => [
296
+ f(e.$slots, "default")
297
+ ]),
298
+ _: 3
299
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
300
+ type: "danger",
301
+ icon: "Delete",
302
+ onClick: p
303
+ }), null, 16));
304
+ };
305
+ }
306
+ }), I = /* @__PURE__ */ _({
307
+ name: "NanoEditButton",
308
+ inheritAttrs: !1,
309
+ __name: "NanoEditButton",
310
+ props: $,
311
+ setup(m) {
312
+ return (t, n) => t.$slots.default ? (o(), r(a, s({ key: 0 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), {
313
+ default: c(() => [
314
+ f(t.$slots, "default")
315
+ ]),
316
+ _: 3
317
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...t.$props, ...t.$attrs }, { icon: "Edit" }), null, 16));
318
+ }
319
+ }), U = /* @__PURE__ */ _({
320
+ name: "NanoExportButton",
321
+ inheritAttrs: !1,
322
+ __name: "NanoExportButton",
323
+ props: $,
324
+ setup(m) {
325
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, {
326
+ class: "app-button-export",
327
+ icon: "Download"
328
+ }), {
329
+ default: c(() => [
330
+ f(t.$slots, "default", {}, () => [
331
+ n[0] || (n[0] = C("导出", -1))
332
+ ])
333
+ ]),
334
+ _: 3
335
+ }, 16));
336
+ }
337
+ }), j = /* @__PURE__ */ _({
338
+ name: "NanoFreezeButton",
339
+ inheritAttrs: !1,
340
+ __name: "NanoFreezeButton",
341
+ props: {
342
+ ...$,
343
+ confirmTitle: String,
344
+ confirmButtonText: String,
345
+ cancelButtonText: String
346
+ },
347
+ emits: ["click", "confirm", "cancel"],
348
+ setup(m, { emit: t }) {
349
+ const n = m, d = t, l = N(), u = g(() => {
350
+ const {
351
+ confirmTitle: e,
352
+ confirmButtonText: k,
353
+ cancelButtonText: B,
354
+ ...b
355
+ } = n;
356
+ return b;
357
+ }), p = (e) => {
358
+ d("click", e);
359
+ }, y = (e) => {
360
+ d("confirm", e);
361
+ }, T = (e) => {
362
+ d("cancel", e);
363
+ };
364
+ return (e, k) => {
365
+ const B = h("el-popconfirm");
366
+ return n.confirmTitle ? (o(), r(B, {
367
+ key: 0,
368
+ title: n.confirmTitle,
369
+ "confirm-button-text": n.confirmButtonText,
370
+ "cancel-button-text": n.cancelButtonText,
371
+ onConfirm: y,
372
+ onCancel: T
373
+ }, {
374
+ reference: c(() => [
375
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
376
+ type: "danger",
377
+ icon: "Hide",
378
+ onClick: p
379
+ }), {
380
+ default: c(() => [
381
+ f(e.$slots, "default")
382
+ ]),
383
+ _: 3
384
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
385
+ type: "danger",
386
+ icon: "Hide",
387
+ onClick: p
388
+ }), null, 16))
389
+ ]),
390
+ _: 3
391
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
392
+ type: "danger",
393
+ icon: "Hide",
394
+ onClick: p
395
+ }), {
396
+ default: c(() => [
397
+ f(e.$slots, "default")
398
+ ]),
399
+ _: 3
400
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
401
+ type: "danger",
402
+ icon: "Hide",
403
+ onClick: p
404
+ }), null, 16));
405
+ };
406
+ }
407
+ }), F = /* @__PURE__ */ _({
408
+ name: "NanoImportButton",
409
+ inheritAttrs: !1,
410
+ __name: "NanoImportButton",
411
+ props: $,
412
+ setup(m) {
413
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, {
414
+ class: "app-button-import",
415
+ icon: "Upload"
416
+ }), {
417
+ default: c(() => [
418
+ f(t.$slots, "default", {}, () => [
419
+ n[0] || (n[0] = C("导入", -1))
420
+ ])
421
+ ]),
422
+ _: 3
423
+ }, 16));
424
+ }
425
+ }), q = /* @__PURE__ */ _({
426
+ name: "NanoInterruptButton",
427
+ inheritAttrs: !1,
428
+ __name: "NanoInterruptButton",
429
+ props: {
430
+ ...$,
431
+ confirmTitle: String,
432
+ confirmButtonText: String,
433
+ cancelButtonText: String
434
+ },
435
+ emits: ["click", "confirm", "cancel"],
436
+ setup(m, { emit: t }) {
437
+ const n = m, d = t, l = N(), u = g(() => {
438
+ const {
439
+ confirmTitle: e,
440
+ confirmButtonText: k,
441
+ cancelButtonText: B,
442
+ ...b
443
+ } = n;
444
+ return b;
445
+ }), p = (e) => {
446
+ d("click", e);
447
+ }, y = (e) => {
448
+ d("confirm", e);
449
+ }, T = (e) => {
450
+ d("cancel", e);
451
+ };
452
+ return (e, k) => {
453
+ const B = h("el-popconfirm");
454
+ return n.confirmTitle ? (o(), r(B, {
455
+ key: 0,
456
+ title: n.confirmTitle,
457
+ "confirm-button-text": n.confirmButtonText,
458
+ "cancel-button-text": n.cancelButtonText,
459
+ onConfirm: y,
460
+ onCancel: T
461
+ }, {
462
+ reference: c(() => [
463
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
464
+ type: "danger",
465
+ icon: "CircleClose",
466
+ onClick: p
467
+ }), {
468
+ default: c(() => [
469
+ f(e.$slots, "default")
470
+ ]),
471
+ _: 3
472
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
473
+ "aria-label": i(l)["aria-label"] ?? "中断",
474
+ type: "danger",
475
+ icon: "CircleClose",
476
+ onClick: p
477
+ }), null, 16, ["aria-label"]))
478
+ ]),
479
+ _: 3
480
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
481
+ type: "danger",
482
+ icon: "CircleClose",
483
+ onClick: p
484
+ }), {
485
+ default: c(() => [
486
+ f(e.$slots, "default")
487
+ ]),
488
+ _: 3
489
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
490
+ "aria-label": i(l)["aria-label"] ?? "中断",
491
+ type: "danger",
492
+ icon: "CircleClose",
493
+ onClick: p
494
+ }), null, 16, ["aria-label"]));
495
+ };
496
+ }
497
+ }), L = /* @__PURE__ */ _({
498
+ name: "NanoManageButton",
499
+ inheritAttrs: !1,
500
+ __name: "NanoManageButton",
501
+ props: $,
502
+ setup(m) {
503
+ return (t, n) => t.$slots.default ? (o(), r(a, s({ key: 0 }, { ...t.$props, ...t.$attrs }, {
504
+ type: "primary",
505
+ icon: "Setting"
506
+ }), {
507
+ default: c(() => [
508
+ f(t.$slots, "default")
509
+ ]),
510
+ _: 3
511
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...t.$props, ...t.$attrs }, {
512
+ type: "primary",
513
+ icon: "Setting"
514
+ }), null, 16));
515
+ }
516
+ }), G = /* @__PURE__ */ _({
517
+ name: "NanoMoveButton",
518
+ inheritAttrs: !1,
519
+ __name: "NanoMoveButton",
520
+ props: $,
521
+ setup(m) {
522
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, { icon: "Rank" }), {
523
+ default: c(() => [
524
+ f(t.$slots, "default", {}, () => [
525
+ n[0] || (n[0] = C("移动", -1))
526
+ ])
527
+ ]),
528
+ _: 3
529
+ }, 16));
530
+ }
531
+ }), J = /* @__PURE__ */ _({
532
+ name: "NanoResetButton",
533
+ inheritAttrs: !1,
534
+ __name: "NanoResetButton",
535
+ props: $,
536
+ setup(m) {
537
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, {
538
+ secondary: "",
539
+ icon: "RefreshLeft"
540
+ }), {
541
+ default: c(() => [
542
+ f(t.$slots, "default", {}, () => [
543
+ n[0] || (n[0] = C("重置", -1))
544
+ ])
545
+ ]),
546
+ _: 3
547
+ }, 16));
548
+ }
549
+ }), K = /* @__PURE__ */ _({
550
+ name: "NanoSendButton",
551
+ inheritAttrs: !1,
552
+ __name: "NanoSendButton",
553
+ props: $,
554
+ setup(m) {
555
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, {
556
+ type: "primary",
557
+ icon: "Promotion"
558
+ }), {
559
+ default: c(() => [
560
+ f(t.$slots, "default", {}, () => [
561
+ n[0] || (n[0] = C("发送", -1))
562
+ ])
563
+ ]),
564
+ _: 3
565
+ }, 16));
566
+ }
567
+ }), O = /* @__PURE__ */ _({
568
+ name: "NanoSubmitButton",
569
+ inheritAttrs: !1,
570
+ __name: "NanoSubmitButton",
571
+ props: $,
572
+ setup(m) {
573
+ return (t, n) => (o(), r(a, s({ ...t.$props, ...t.$attrs }, { type: "primary" }), {
574
+ default: c(() => [
575
+ f(t.$slots, "default", {}, () => [
576
+ n[0] || (n[0] = C("保存", -1))
577
+ ])
578
+ ]),
579
+ _: 3
580
+ }, 16));
581
+ }
582
+ }), Q = /* @__PURE__ */ _({
583
+ name: "NanoTextAddButton",
584
+ inheritAttrs: !1,
585
+ __name: "NanoTextAddButton",
586
+ props: $,
587
+ setup(m) {
588
+ return (t, n) => t.$slots.default ? (o(), r(a, s({ key: 0 }, { ...t.$props, ...t.$attrs }, {
589
+ text: "",
590
+ icon: "Plus"
591
+ }), {
592
+ default: c(() => [
593
+ f(t.$slots, "default")
594
+ ]),
595
+ _: 3
596
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...t.$props, ...t.$attrs }, {
597
+ text: "",
598
+ icon: "Plus"
599
+ }), null, 16));
600
+ }
601
+ }), W = /* @__PURE__ */ _({
602
+ name: "NanoUnfreezeButton",
603
+ inheritAttrs: !1,
604
+ __name: "NanoUnfreezeButton",
605
+ props: {
606
+ ...$,
607
+ confirmTitle: String,
608
+ confirmButtonText: String,
609
+ cancelButtonText: String
610
+ },
611
+ emits: ["click", "confirm", "cancel"],
612
+ setup(m, { emit: t }) {
613
+ const n = m, d = t, l = N(), u = g(() => {
614
+ const {
615
+ confirmTitle: e,
616
+ confirmButtonText: k,
617
+ cancelButtonText: B,
618
+ ...b
619
+ } = n;
620
+ return b;
621
+ }), p = (e) => {
622
+ d("click", e);
623
+ }, y = (e) => {
624
+ d("confirm", e);
625
+ }, T = (e) => {
626
+ d("cancel", e);
627
+ };
628
+ return (e, k) => {
629
+ const B = h("el-popconfirm");
630
+ return n.confirmTitle ? (o(), r(B, {
631
+ key: 0,
632
+ title: n.confirmTitle,
633
+ "confirm-button-text": n.confirmButtonText,
634
+ "cancel-button-text": n.cancelButtonText,
635
+ onConfirm: y,
636
+ onCancel: T
637
+ }, {
638
+ reference: c(() => [
639
+ e.$slots.default ? (o(), r(a, s({ key: 0 }, { ...u.value, ...i(l) }, {
640
+ type: "success",
641
+ icon: "View",
642
+ onClick: p
643
+ }), {
644
+ default: c(() => [
645
+ f(e.$slots, "default")
646
+ ]),
647
+ _: 3
648
+ }, 16)) : (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
649
+ type: "success",
650
+ icon: "View",
651
+ onClick: p
652
+ }), null, 16))
653
+ ]),
654
+ _: 3
655
+ }, 8, ["title", "confirm-button-text", "cancel-button-text"])) : e.$slots.default ? (o(), r(a, s({ key: 1 }, { ...u.value, ...i(l) }, {
656
+ type: "success",
657
+ icon: "View",
658
+ onClick: p
659
+ }), {
660
+ default: c(() => [
661
+ f(e.$slots, "default")
662
+ ]),
663
+ _: 3
664
+ }, 16)) : (o(), r(a, s({ key: 2 }, { ...u.value, ...i(l) }, {
665
+ type: "success",
666
+ icon: "View",
667
+ onClick: p
668
+ }), null, 16));
669
+ };
670
+ }
671
+ });
672
+ export {
673
+ D as _,
674
+ Q as a,
675
+ G as b,
676
+ F as c,
677
+ U as d,
678
+ I as e,
679
+ L as f,
680
+ z as g,
681
+ R as h,
682
+ q as i,
683
+ M as j,
684
+ K as k,
685
+ J as l,
686
+ H as m,
687
+ j as n,
688
+ W as o,
689
+ O as p,
690
+ V as q,
691
+ E as r
692
+ };