@caipira/tamandua 0.0.100 → 0.0.101
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.
- package/dist/Alert.js +6 -0
- package/dist/Alert.vue_vue_type_script_setup_true_lang-CAGHRWvs.js +67 -0
- package/dist/DialogProvider.js +6 -0
- package/dist/DialogProvider.vue_vue_type_script_setup_true_lang-ejMXvlRv.js +21 -0
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-CkW6maZO.js → InputSelect.vue_vue_type_script_setup_true_lang-N2nSmX8r.js} +33 -33
- package/dist/Modal.js +2 -2
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-60BGY-iH.js → Modal.vue_vue_type_script_setup_true_lang-gKqoL70h.js} +25 -23
- package/dist/components.js +92 -88
- package/dist/composables.js +11 -9
- package/dist/{plugin-TMApjjiI.js → plugin-BeifNbnf.js} +1 -1
- package/dist/{plugin-CPpRqUnI.js → plugin-Cy5TXn1Y.js} +1 -1
- package/dist/plugin-DXPPWWyR.js +10 -0
- package/dist/plugin-W9_PLHv4.js +10 -0
- package/dist/plugins-C-OK-RIJ.js +121 -0
- package/dist/plugins.js +95 -90
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Alert/Alert.story.d.ts +19 -0
- package/dist/types/components/Alert/Alert.vue.d.ts +57 -0
- package/dist/types/components/Alert/index.d.ts +5 -0
- package/dist/types/components/Alert/plugin.d.ts +4 -0
- package/dist/types/components/Alert/types.d.ts +12 -0
- package/dist/types/components/Button/Button.vue.d.ts +9 -9
- package/dist/types/components/DialogProvider/DialogProvider.vue.d.ts +2 -0
- package/dist/types/components/DialogProvider/index.d.ts +4 -0
- package/dist/types/components/DialogProvider/plugin.d.ts +4 -0
- package/dist/types/components/Drawer/Drawer.vue.d.ts +1 -1
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2 -0
- package/dist/types/components/InputSelect/types.d.ts +1 -0
- package/dist/types/components/InputText/InputText.vue.d.ts +9 -9
- package/dist/types/components/Modal/Modal.vue.d.ts +3 -0
- package/dist/types/components/Modal/types.d.ts +1 -0
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -1
- package/dist/types/components/index.d.ts +4 -2
- package/dist/types/components/plugins.d.ts +8 -6
- package/dist/types/components/types.d.ts +2 -1
- package/dist/types/composables/index.d.ts +2 -1
- package/dist/types/composables/useDialog.d.ts +33 -0
- package/dist/useDialog-Cl-wVLea.js +28 -0
- package/package.json +1 -1
- package/volar.d.ts +46 -44
- package/dist/plugins-CyxTeM7y.js +0 -116
package/dist/composables.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as o, getCurrentInstance as l } from "vue";
|
|
2
2
|
import { u as O } from "./useClipboard-BHFD0Jvv.js";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { u as R } from "./useDialog-Cl-wVLea.js";
|
|
4
|
+
const f = 640, d = 768, c = 1024, n = o(window.innerWidth), s = o(!1), i = o(!1), a = o(!1), u = (e) => {
|
|
5
|
+
n.value = e ? e.target.innerWidth : window.innerWidth, s.value = n.value >= f, i.value = n.value >= d, a.value = n.value >= c;
|
|
5
6
|
};
|
|
6
7
|
window.addEventListener("resize", u);
|
|
7
8
|
function w() {
|
|
8
9
|
return u(), {
|
|
9
|
-
sm:
|
|
10
|
+
sm: s,
|
|
10
11
|
md: i,
|
|
11
12
|
lg: a
|
|
12
13
|
};
|
|
13
14
|
}
|
|
14
|
-
const p = (e,
|
|
15
|
+
const p = (e, r) => {
|
|
15
16
|
let t = e.target;
|
|
16
17
|
if (!t)
|
|
17
18
|
return !1;
|
|
18
19
|
do {
|
|
19
|
-
if (t ===
|
|
20
|
+
if (t === r)
|
|
20
21
|
return e.stopPropagation(), !1;
|
|
21
22
|
t = t?.parentNode;
|
|
22
23
|
} while (t);
|
|
@@ -28,12 +29,12 @@ function g() {
|
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
function v(e) {
|
|
31
|
-
const
|
|
32
|
-
if (!
|
|
32
|
+
const r = l();
|
|
33
|
+
if (!r)
|
|
33
34
|
throw new Error(
|
|
34
35
|
"[useRender] must be called from inside a setup function"
|
|
35
36
|
);
|
|
36
|
-
Object.defineProperty(
|
|
37
|
+
Object.defineProperty(r, "render", {
|
|
37
38
|
get: () => e,
|
|
38
39
|
set: () => {
|
|
39
40
|
}
|
|
@@ -42,6 +43,7 @@ function v(e) {
|
|
|
42
43
|
export {
|
|
43
44
|
w as useBreakpoints,
|
|
44
45
|
O as useClipboard,
|
|
46
|
+
R as useDialog,
|
|
45
47
|
g as useDomHelpers,
|
|
46
48
|
v as useRender
|
|
47
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r } from "./register-component-B-fdqewb.js";
|
|
2
|
-
import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "./InputSelect.vue_vue_type_script_setup_true_lang-N2nSmX8r.js";
|
|
3
3
|
const m = {
|
|
4
4
|
install(o) {
|
|
5
5
|
r(o, s);
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import "vue";
|
|
2
|
+
import { p } from "./plugin-W9_PLHv4.js";
|
|
3
|
+
import "./Avatar.vue_vue_type_script_setup_true_lang-ruTtveHD.js";
|
|
4
|
+
import { p as i } from "./plugin-BFtH9rXg.js";
|
|
5
|
+
import { p as r } from "./plugin-AU2qI2I9.js";
|
|
6
|
+
import "./Button.vue_vue_type_script_setup_true_lang-zvMC7Ucn.js";
|
|
7
|
+
import { p as o } from "./plugin-kF7YISaJ.js";
|
|
8
|
+
import "./transform-DSaNEFMr.js";
|
|
9
|
+
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
10
|
+
import { p as n } from "./plugin-DDXOF4cU.js";
|
|
11
|
+
import { p as m } from "./plugin-CyDnzy2n.js";
|
|
12
|
+
import "./useDialog-Cl-wVLea.js";
|
|
13
|
+
import { p as t } from "./plugin-DXPPWWyR.js";
|
|
14
|
+
import "./Drawer-y5xBARd2.js";
|
|
15
|
+
import { p as u } from "./plugin-JMSzJgz5.js";
|
|
16
|
+
import "./Dropdown.vue_vue_type_script_setup_true_lang-BSnpkGOU.js";
|
|
17
|
+
import { p as l } from "./plugin-C9FfiHWW.js";
|
|
18
|
+
import { p as g } from "./plugin-43q0Kzto.js";
|
|
19
|
+
import { p as a } from "./plugin-DPmbkjJ9.js";
|
|
20
|
+
import "./Form.vue_vue_type_script_setup_true_lang-BYcaoapl.js";
|
|
21
|
+
import { p as s } from "./plugin-DJDKTDU5.js";
|
|
22
|
+
import { p as P } from "./plugin-Buc7eEox.js";
|
|
23
|
+
import { p as f } from "./plugin-CC97Vx-s.js";
|
|
24
|
+
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-CxZPQgww.js";
|
|
25
|
+
import { p as e } from "./plugin-DfvNQ9ml.js";
|
|
26
|
+
import { p as $ } from "./plugin-F3dxY_wr.js";
|
|
27
|
+
import { p as I } from "./plugin-DOeDaXWj.js";
|
|
28
|
+
import "./Icon.vue_vue_type_script_setup_true_lang-BrByMh2e.js";
|
|
29
|
+
import { p as c } from "./plugin-C8hu3J0w.js";
|
|
30
|
+
import { p as h } from "./plugin--F5QK2vy.js";
|
|
31
|
+
import "./InputCheckbox.vue_vue_type_style_index_0_lang-XU9rYa47.js";
|
|
32
|
+
import { p as y } from "./plugin-BemLz7kA.js";
|
|
33
|
+
import { p as d } from "./plugin-D9KHvOM3.js";
|
|
34
|
+
import { p as b } from "./plugin-Bq4nQPd4.js";
|
|
35
|
+
import { p as T } from "./plugin-CLPYJfBT.js";
|
|
36
|
+
import "./InputMultiplier.vue_vue_type_script_setup_true_lang-BUbpeN-i.js";
|
|
37
|
+
import { p as C } from "./plugin-BkDzEYgS.js";
|
|
38
|
+
import "./InputText.vue_vue_type_script_setup_true_lang-D2cGaq7X.js";
|
|
39
|
+
import { p as v } from "./plugin-Cbz7TWzB.js";
|
|
40
|
+
import { p as S } from "./plugin-CXTwBekr.js";
|
|
41
|
+
import { p as D } from "./plugin-Co9LymNO.js";
|
|
42
|
+
import "./InputRadio.vue_vue_type_style_index_0_lang-DG-7xEeZ.js";
|
|
43
|
+
import { p as G } from "./plugin-B578b4C_.js";
|
|
44
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-N2nSmX8r.js";
|
|
45
|
+
import { p as k } from "./plugin-BeifNbnf.js";
|
|
46
|
+
import { p as w } from "./plugin-hQ-aWPlo.js";
|
|
47
|
+
import { p as x } from "./plugin-Clp0zNY0.js";
|
|
48
|
+
import { p as F } from "./plugin-cOJ_nFaw.js";
|
|
49
|
+
import "./Link.vue_vue_type_script_setup_true_lang-BFFw1dPV.js";
|
|
50
|
+
import { p as A } from "./plugin-bSqyo8FU.js";
|
|
51
|
+
import { p as L } from "./plugin-uxc8N8iO.js";
|
|
52
|
+
import { p as M } from "./plugin-Cy5TXn1Y.js";
|
|
53
|
+
import { p as _ } from "./plugin-jyvJNavM.js";
|
|
54
|
+
import "./Popconfirm.vue_vue_type_script_setup_true_lang-CR0OJ8Ao.js";
|
|
55
|
+
import { p as j } from "./plugin-Bhokj2iJ.js";
|
|
56
|
+
import "./Popover-Bhp8FUMn.js";
|
|
57
|
+
import { p as B } from "./plugin-D9O3FCPm.js";
|
|
58
|
+
import "./ProgressCircle-C5CnEEoe.js";
|
|
59
|
+
import { p as z } from "./plugin-CV6IjnsL.js";
|
|
60
|
+
import "./ProgressLine-WECUkWks.js";
|
|
61
|
+
import { p as E } from "./plugin-DJYF3-VD.js";
|
|
62
|
+
import { p as O } from "./plugin-BWfDY9pB.js";
|
|
63
|
+
import { p as q } from "./plugin-DYHfPgzY.js";
|
|
64
|
+
import "./Table-maK98cK_.js";
|
|
65
|
+
import { p as H } from "./plugin-C9PvjtX8.js";
|
|
66
|
+
import { p as J } from "./plugin-CbBSU30O.js";
|
|
67
|
+
import "./Tag.vue_vue_type_script_setup_true_lang-BjEz0tFc.js";
|
|
68
|
+
import { p as R } from "./plugin-64nFhMok.js";
|
|
69
|
+
import { p as K } from "./plugin-sv4IwCLZ.js";
|
|
70
|
+
const ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
71
|
+
__proto__: null,
|
|
72
|
+
AlertPlugin: p,
|
|
73
|
+
AvatarPlugin: i,
|
|
74
|
+
BackdropPlugin: r,
|
|
75
|
+
ButtonPlugin: o,
|
|
76
|
+
ChartLinePlugin: n,
|
|
77
|
+
ChartTreemapPlugin: m,
|
|
78
|
+
DialogProviderPlugin: t,
|
|
79
|
+
DrawerPlugin: u,
|
|
80
|
+
DropdownPlugin: l,
|
|
81
|
+
FileDropPlugin: g,
|
|
82
|
+
FormItemPlugin: a,
|
|
83
|
+
FormPlugin: s,
|
|
84
|
+
GraphyEmptyPlugin: P,
|
|
85
|
+
GraphyLabelPlugin: f,
|
|
86
|
+
GraphyPricePlugin: e,
|
|
87
|
+
GraphySubtitlePlugin: $,
|
|
88
|
+
GraphyTitlePlugin: I,
|
|
89
|
+
IconPlugin: c,
|
|
90
|
+
InputAvatarPlugin: h,
|
|
91
|
+
InputCheckboxPlugin: y,
|
|
92
|
+
InputColorPlugin: d,
|
|
93
|
+
InputCryptoCurrencyPlugin: b,
|
|
94
|
+
InputDatePlugin: T,
|
|
95
|
+
InputMultiplierPlugin: C,
|
|
96
|
+
InputPasswordPlugin: v,
|
|
97
|
+
InputPhonePlugin: S,
|
|
98
|
+
InputPricePlugin: D,
|
|
99
|
+
InputRadioPlugin: G,
|
|
100
|
+
InputSelectPlugin: k,
|
|
101
|
+
InputSwitchPlugin: w,
|
|
102
|
+
InputTextPlugin: F,
|
|
103
|
+
InputTextareaPlugin: x,
|
|
104
|
+
LinkPlugin: A,
|
|
105
|
+
ModalFormPlugin: L,
|
|
106
|
+
ModalPlugin: M,
|
|
107
|
+
PaginationPlugin: _,
|
|
108
|
+
PopconfirmPlugin: j,
|
|
109
|
+
PopoverPlugin: B,
|
|
110
|
+
ProgressCirclePlugin: z,
|
|
111
|
+
ProgressLinePlugin: E,
|
|
112
|
+
SensitiveInfoPlugin: O,
|
|
113
|
+
SkeletonPlugin: q,
|
|
114
|
+
TabPlugin: J,
|
|
115
|
+
TablePlugin: H,
|
|
116
|
+
TagPlugin: R,
|
|
117
|
+
ToastPlugin: K
|
|
118
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
119
|
+
export {
|
|
120
|
+
ui as p
|
|
121
|
+
};
|
package/dist/plugins.js
CHANGED
|
@@ -1,112 +1,117 @@
|
|
|
1
|
-
import "./Avatar.vue_vue_type_script_setup_true_lang-ruTtveHD.js";
|
|
2
|
-
import { p as G } from "./plugin-BFtH9rXg.js";
|
|
3
1
|
import "vue";
|
|
4
|
-
import { p as
|
|
2
|
+
import { p as D } from "./plugin-W9_PLHv4.js";
|
|
3
|
+
import "./Avatar.vue_vue_type_script_setup_true_lang-ruTtveHD.js";
|
|
4
|
+
import { p as S } from "./plugin-BFtH9rXg.js";
|
|
5
|
+
import { p as w } from "./plugin-AU2qI2I9.js";
|
|
5
6
|
import "./Button.vue_vue_type_script_setup_true_lang-zvMC7Ucn.js";
|
|
6
|
-
import { p as
|
|
7
|
+
import { p as L } from "./plugin-kF7YISaJ.js";
|
|
7
8
|
import "./transform-DSaNEFMr.js";
|
|
8
9
|
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
9
|
-
import { p as
|
|
10
|
-
import { p as
|
|
10
|
+
import { p as M } from "./plugin-DDXOF4cU.js";
|
|
11
|
+
import { p as E } from "./plugin-CyDnzy2n.js";
|
|
12
|
+
import "./useDialog-Cl-wVLea.js";
|
|
13
|
+
import { p as j } from "./plugin-DXPPWWyR.js";
|
|
11
14
|
import "./Drawer-y5xBARd2.js";
|
|
12
|
-
import { p as
|
|
15
|
+
import { p as z } from "./plugin-JMSzJgz5.js";
|
|
13
16
|
import "./Dropdown.vue_vue_type_script_setup_true_lang-BSnpkGOU.js";
|
|
14
|
-
import { p as
|
|
15
|
-
import { p as
|
|
17
|
+
import { p as J } from "./plugin-C9FfiHWW.js";
|
|
18
|
+
import { p as N } from "./plugin-43q0Kzto.js";
|
|
19
|
+
import { p as Q } from "./plugin-DPmbkjJ9.js";
|
|
16
20
|
import "./Form.vue_vue_type_script_setup_true_lang-BYcaoapl.js";
|
|
17
|
-
import { p as
|
|
18
|
-
import { p as
|
|
19
|
-
import { p as
|
|
20
|
-
import { p as U } from "./plugin-CC97Vx-s.js";
|
|
21
|
+
import { p as V } from "./plugin-DJDKTDU5.js";
|
|
22
|
+
import { p as X } from "./plugin-Buc7eEox.js";
|
|
23
|
+
import { p as Z } from "./plugin-CC97Vx-s.js";
|
|
21
24
|
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-CxZPQgww.js";
|
|
22
|
-
import { p as
|
|
23
|
-
import { p as
|
|
24
|
-
import { p as
|
|
25
|
+
import { p as $ } from "./plugin-DfvNQ9ml.js";
|
|
26
|
+
import { p as or } from "./plugin-F3dxY_wr.js";
|
|
27
|
+
import { p as tr } from "./plugin-DOeDaXWj.js";
|
|
25
28
|
import "./Icon.vue_vue_type_script_setup_true_lang-BrByMh2e.js";
|
|
26
|
-
import { p as
|
|
27
|
-
import { p as
|
|
29
|
+
import { p as er } from "./plugin-C8hu3J0w.js";
|
|
30
|
+
import { p as ar } from "./plugin--F5QK2vy.js";
|
|
28
31
|
import "./InputCheckbox.vue_vue_type_style_index_0_lang-XU9rYa47.js";
|
|
29
|
-
import { p as
|
|
30
|
-
import { p as
|
|
31
|
-
import { p as
|
|
32
|
-
import { p as
|
|
32
|
+
import { p as ur } from "./plugin-BemLz7kA.js";
|
|
33
|
+
import { p as Pr } from "./plugin-D9KHvOM3.js";
|
|
34
|
+
import { p as gr } from "./plugin-Bq4nQPd4.js";
|
|
35
|
+
import { p as fr } from "./plugin-CLPYJfBT.js";
|
|
33
36
|
import "./InputMultiplier.vue_vue_type_script_setup_true_lang-BUbpeN-i.js";
|
|
34
|
-
import { p as
|
|
37
|
+
import { p as cr } from "./plugin-BkDzEYgS.js";
|
|
35
38
|
import "./InputText.vue_vue_type_script_setup_true_lang-D2cGaq7X.js";
|
|
36
|
-
import { p as
|
|
37
|
-
import { p as
|
|
38
|
-
import { p as
|
|
39
|
+
import { p as yr } from "./plugin-Cbz7TWzB.js";
|
|
40
|
+
import { p as dr } from "./plugin-CXTwBekr.js";
|
|
41
|
+
import { p as br } from "./plugin-Co9LymNO.js";
|
|
39
42
|
import "./InputRadio.vue_vue_type_style_index_0_lang-DG-7xEeZ.js";
|
|
40
|
-
import { p as
|
|
41
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
42
|
-
import { p as
|
|
43
|
-
import { p as
|
|
44
|
-
import { p as
|
|
45
|
-
import { p as
|
|
43
|
+
import { p as Dr } from "./plugin-B578b4C_.js";
|
|
44
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-N2nSmX8r.js";
|
|
45
|
+
import { p as Sr } from "./plugin-BeifNbnf.js";
|
|
46
|
+
import { p as wr } from "./plugin-hQ-aWPlo.js";
|
|
47
|
+
import { p as Lr } from "./plugin-Clp0zNY0.js";
|
|
48
|
+
import { p as Mr } from "./plugin-cOJ_nFaw.js";
|
|
46
49
|
import "./Link.vue_vue_type_script_setup_true_lang-BFFw1dPV.js";
|
|
47
|
-
import { p as
|
|
48
|
-
import { p as
|
|
49
|
-
import { p as
|
|
50
|
-
import { p as
|
|
50
|
+
import { p as Er } from "./plugin-bSqyo8FU.js";
|
|
51
|
+
import { p as jr } from "./plugin-uxc8N8iO.js";
|
|
52
|
+
import { p as zr } from "./plugin-Cy5TXn1Y.js";
|
|
53
|
+
import { p as Jr } from "./plugin-jyvJNavM.js";
|
|
51
54
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-CR0OJ8Ao.js";
|
|
52
|
-
import { p as
|
|
55
|
+
import { p as Nr } from "./plugin-Bhokj2iJ.js";
|
|
53
56
|
import "./Popover-Bhp8FUMn.js";
|
|
54
|
-
import { p as
|
|
57
|
+
import { p as Qr } from "./plugin-D9O3FCPm.js";
|
|
55
58
|
import "./ProgressCircle-C5CnEEoe.js";
|
|
56
|
-
import { p as
|
|
59
|
+
import { p as Vr } from "./plugin-CV6IjnsL.js";
|
|
57
60
|
import "./ProgressLine-WECUkWks.js";
|
|
58
|
-
import { p as
|
|
59
|
-
import { p as
|
|
60
|
-
import { p as
|
|
61
|
-
import { p as Yr } from "./plugin-CbBSU30O.js";
|
|
61
|
+
import { p as Xr } from "./plugin-DJYF3-VD.js";
|
|
62
|
+
import { p as Zr } from "./plugin-BWfDY9pB.js";
|
|
63
|
+
import { p as $r } from "./plugin-DYHfPgzY.js";
|
|
62
64
|
import "./Table-maK98cK_.js";
|
|
63
|
-
import { p as
|
|
65
|
+
import { p as oo } from "./plugin-C9PvjtX8.js";
|
|
66
|
+
import { p as to } from "./plugin-CbBSU30O.js";
|
|
64
67
|
import "./Tag.vue_vue_type_script_setup_true_lang-BjEz0tFc.js";
|
|
65
|
-
import { p as
|
|
66
|
-
import { p as
|
|
68
|
+
import { p as eo } from "./plugin-64nFhMok.js";
|
|
69
|
+
import { p as ao } from "./plugin-sv4IwCLZ.js";
|
|
67
70
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
w as
|
|
71
|
-
|
|
72
|
-
M as
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
wr as
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
71
|
+
D as AlertPlugin,
|
|
72
|
+
S as AvatarPlugin,
|
|
73
|
+
w as BackdropPlugin,
|
|
74
|
+
L as ButtonPlugin,
|
|
75
|
+
M as ChartLinePlugin,
|
|
76
|
+
E as ChartTreemapPlugin,
|
|
77
|
+
j as DialogProviderPlugin,
|
|
78
|
+
z as DrawerPlugin,
|
|
79
|
+
J as DropdownPlugin,
|
|
80
|
+
N as FileDropPlugin,
|
|
81
|
+
Q as FormItemPlugin,
|
|
82
|
+
V as FormPlugin,
|
|
83
|
+
X as GraphyEmptyPlugin,
|
|
84
|
+
Z as GraphyLabelPlugin,
|
|
85
|
+
$ as GraphyPricePlugin,
|
|
86
|
+
or as GraphySubtitlePlugin,
|
|
87
|
+
tr as GraphyTitlePlugin,
|
|
88
|
+
er as IconPlugin,
|
|
89
|
+
ar as InputAvatarPlugin,
|
|
90
|
+
ur as InputCheckboxPlugin,
|
|
91
|
+
Pr as InputColorPlugin,
|
|
92
|
+
gr as InputCryptoCurrencyPlugin,
|
|
93
|
+
fr as InputDatePlugin,
|
|
94
|
+
cr as InputMultiplierPlugin,
|
|
95
|
+
yr as InputPasswordPlugin,
|
|
96
|
+
dr as InputPhonePlugin,
|
|
97
|
+
br as InputPricePlugin,
|
|
98
|
+
Dr as InputRadioPlugin,
|
|
99
|
+
Sr as InputSelectPlugin,
|
|
100
|
+
wr as InputSwitchPlugin,
|
|
101
|
+
Mr as InputTextPlugin,
|
|
102
|
+
Lr as InputTextareaPlugin,
|
|
103
|
+
Er as LinkPlugin,
|
|
104
|
+
jr as ModalFormPlugin,
|
|
105
|
+
zr as ModalPlugin,
|
|
106
|
+
Jr as PaginationPlugin,
|
|
107
|
+
Nr as PopconfirmPlugin,
|
|
108
|
+
Qr as PopoverPlugin,
|
|
109
|
+
Vr as ProgressCirclePlugin,
|
|
110
|
+
Xr as ProgressLinePlugin,
|
|
111
|
+
Zr as SensitiveInfoPlugin,
|
|
112
|
+
$r as SkeletonPlugin,
|
|
113
|
+
to as TabPlugin,
|
|
114
|
+
oo as TablePlugin,
|
|
115
|
+
eo as TagPlugin,
|
|
116
|
+
ao as ToastPlugin
|
|
112
117
|
};
|
package/dist/tamandua.js
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
args: {};
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Alert: (args: any) => {
|
|
7
|
+
setup(): {
|
|
8
|
+
args: any;
|
|
9
|
+
open: import('vue').Ref<boolean>;
|
|
10
|
+
title: import('vue').Ref<string>;
|
|
11
|
+
message: import('vue').Ref<string>;
|
|
12
|
+
alert: (options: import('./types.js').AlertProps & {
|
|
13
|
+
onConfirm?: () => void;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
}) => void;
|
|
16
|
+
confirm: import('vue').Ref<boolean>;
|
|
17
|
+
};
|
|
18
|
+
template: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AlertProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AlertProps>, {
|
|
7
|
+
title: string;
|
|
8
|
+
message: string;
|
|
9
|
+
confirm: boolean;
|
|
10
|
+
closeTitle: string;
|
|
11
|
+
cancelTitle: string;
|
|
12
|
+
confirmTitle: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
closed: (val?: any) => void;
|
|
15
|
+
confirmed: () => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AlertProps>, {
|
|
17
|
+
title: string;
|
|
18
|
+
message: string;
|
|
19
|
+
confirm: boolean;
|
|
20
|
+
closeTitle: string;
|
|
21
|
+
cancelTitle: string;
|
|
22
|
+
confirmTitle: string;
|
|
23
|
+
}>>> & {
|
|
24
|
+
onClosed?: ((val?: any) => any) | undefined;
|
|
25
|
+
onConfirmed?: (() => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
title: string;
|
|
28
|
+
message: string | string[];
|
|
29
|
+
confirm: boolean;
|
|
30
|
+
closeTitle: string;
|
|
31
|
+
cancelTitle: string;
|
|
32
|
+
confirmTitle: string;
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type AlertProps = {
|
|
2
|
+
title?: string;
|
|
3
|
+
message?: string | string[];
|
|
4
|
+
confirm?: boolean;
|
|
5
|
+
closeTitle?: string;
|
|
6
|
+
cancelTitle?: string;
|
|
7
|
+
confirmTitle?: string;
|
|
8
|
+
};
|
|
9
|
+
export type AlertEvents = {
|
|
10
|
+
(e: "closed", val?: any): void;
|
|
11
|
+
(e: "confirmed"): void;
|
|
12
|
+
};
|