@caipira/tamandua 0.0.100 → 0.0.102
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-DdpepOBn.js +24 -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-BULzzlLD.js +89 -0
- package/dist/components.js +92 -88
- package/dist/composables.js +11 -9
- package/dist/{plugin-CPpRqUnI.js → plugin-BbE8ivq1.js} +1 -1
- package/dist/{plugin-TMApjjiI.js → plugin-BeifNbnf.js} +1 -1
- package/dist/plugin-NlTwzbQb.js +10 -0
- package/dist/plugin-W9_PLHv4.js +10 -0
- package/dist/plugins-iuR3SgQL.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/Dropdown/Dropdown.vue.d.ts +1 -1
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +14 -12
- 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.story.d.ts +21 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +19 -9
- package/dist/types/components/Modal/types.d.ts +24 -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 +471 -0
- package/dist/useDialog-BOJPIAnz.js +42 -0
- package/package.json +1 -1
- package/volar.d.ts +46 -44
- package/dist/Modal.vue_vue_type_script_setup_true_lang-60BGY-iH.js +0 -81
- package/dist/plugins-CyxTeM7y.js +0 -116
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, ref as y, onMounted as b, resolveComponent as h, openBlock as o, createElementBlock as s, normalizeClass as a, withKeys as _, createBlock as k, createCommentVNode as l, createElementVNode as c, createVNode as v, toDisplayString as w, renderSlot as n } from "vue";
|
|
2
|
-
import { _ as S } from "./Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js";
|
|
3
|
-
const B = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "p-4 border-b border-color"
|
|
6
|
-
}, x = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "block font-semibold uppercase"
|
|
9
|
-
}, C = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "flex flex-row items-center justify-between p-4 border-t border-color"
|
|
12
|
-
}, g = /* @__PURE__ */ m({
|
|
13
|
-
name: "TModal",
|
|
14
|
-
__name: "Modal",
|
|
15
|
-
props: {
|
|
16
|
-
title: { default: "" },
|
|
17
|
-
showHeader: { type: Boolean, default: !0 },
|
|
18
|
-
injectStyle: { default: () => ({ wrapper: "", body: "", container: "" }) },
|
|
19
|
-
hasBackdrop: { type: Boolean, default: !0 },
|
|
20
|
-
disableStyle: { type: Boolean, default: !1 }
|
|
21
|
-
},
|
|
22
|
-
emits: ["closed"],
|
|
23
|
-
setup(d, { emit: u }) {
|
|
24
|
-
const e = d, f = u, i = y(null), r = (t) => {
|
|
25
|
-
t.stopPropagation(), f("closed");
|
|
26
|
-
};
|
|
27
|
-
return b(() => {
|
|
28
|
-
i.value?.focus();
|
|
29
|
-
}), (t, j) => {
|
|
30
|
-
const p = h("t-button");
|
|
31
|
-
return o(), s("div", {
|
|
32
|
-
class: a(["fixed inset-0 focus-visible:outline-hidden z-10", {
|
|
33
|
-
"flex items-center": !e.disableStyle,
|
|
34
|
-
[e.injectStyle.wrapper]: !0
|
|
35
|
-
}]),
|
|
36
|
-
tabindex: "-1",
|
|
37
|
-
ref_key: "modal",
|
|
38
|
-
ref: i,
|
|
39
|
-
onKeyup: _(r, ["esc"])
|
|
40
|
-
}, [
|
|
41
|
-
e.hasBackdrop ? (o(), k(S, {
|
|
42
|
-
key: 0,
|
|
43
|
-
class: "z-10",
|
|
44
|
-
onClick: r
|
|
45
|
-
})) : l("", !0),
|
|
46
|
-
c("div", {
|
|
47
|
-
class: a(["z-10 w-full md:w-[36rem] mx-auto", {
|
|
48
|
-
"relative floatable": !e.disableStyle,
|
|
49
|
-
[e.injectStyle.container]: !0
|
|
50
|
-
}])
|
|
51
|
-
}, [
|
|
52
|
-
v(p, {
|
|
53
|
-
variant: "transparent",
|
|
54
|
-
icon: "close",
|
|
55
|
-
size: "",
|
|
56
|
-
class: "absolute justify-center top-0 right-0 h-14 w-14",
|
|
57
|
-
onClick: r
|
|
58
|
-
}),
|
|
59
|
-
e.showHeader ? (o(), s("div", B, [
|
|
60
|
-
e.title ? (o(), s("span", x, w(e.title), 1)) : l("", !0),
|
|
61
|
-
t.$slots.header ? n(t.$slots, "header", { key: 1 }) : l("", !0)
|
|
62
|
-
])) : l("", !0),
|
|
63
|
-
c("div", {
|
|
64
|
-
class: a(["flex flex-col flex-1 overflow-y-auto scrollbar", {
|
|
65
|
-
[e.injectStyle.body]: !0
|
|
66
|
-
}]),
|
|
67
|
-
style: { "max-height": "80vh" }
|
|
68
|
-
}, [
|
|
69
|
-
n(t.$slots, "default")
|
|
70
|
-
], 2),
|
|
71
|
-
t.$slots.footer ? (o(), s("div", C, [
|
|
72
|
-
n(t.$slots, "footer")
|
|
73
|
-
])) : l("", !0)
|
|
74
|
-
], 2)
|
|
75
|
-
], 34);
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
export {
|
|
80
|
-
g as _
|
|
81
|
-
};
|
package/dist/plugins-CyxTeM7y.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import "./Avatar.vue_vue_type_script_setup_true_lang-ruTtveHD.js";
|
|
2
|
-
import { p } from "./plugin-BFtH9rXg.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import { p as i } from "./plugin-AU2qI2I9.js";
|
|
5
|
-
import "./Button.vue_vue_type_script_setup_true_lang-zvMC7Ucn.js";
|
|
6
|
-
import { p as r } from "./plugin-kF7YISaJ.js";
|
|
7
|
-
import "./transform-DSaNEFMr.js";
|
|
8
|
-
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
9
|
-
import { p as o } from "./plugin-DDXOF4cU.js";
|
|
10
|
-
import { p as n } from "./plugin-CyDnzy2n.js";
|
|
11
|
-
import "./Drawer-y5xBARd2.js";
|
|
12
|
-
import { p as m } from "./plugin-JMSzJgz5.js";
|
|
13
|
-
import "./Dropdown.vue_vue_type_script_setup_true_lang-BSnpkGOU.js";
|
|
14
|
-
import { p as t } from "./plugin-C9FfiHWW.js";
|
|
15
|
-
import { p as u } from "./plugin-43q0Kzto.js";
|
|
16
|
-
import "./Form.vue_vue_type_script_setup_true_lang-BYcaoapl.js";
|
|
17
|
-
import { p as l } from "./plugin-DJDKTDU5.js";
|
|
18
|
-
import { p as g } from "./plugin-DPmbkjJ9.js";
|
|
19
|
-
import { p as a } from "./plugin-Buc7eEox.js";
|
|
20
|
-
import { p as s } from "./plugin-CC97Vx-s.js";
|
|
21
|
-
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-CxZPQgww.js";
|
|
22
|
-
import { p as P } from "./plugin-DfvNQ9ml.js";
|
|
23
|
-
import { p as f } from "./plugin-F3dxY_wr.js";
|
|
24
|
-
import { p as e } from "./plugin-DOeDaXWj.js";
|
|
25
|
-
import "./Icon.vue_vue_type_script_setup_true_lang-BrByMh2e.js";
|
|
26
|
-
import { p as $ } from "./plugin-C8hu3J0w.js";
|
|
27
|
-
import { p as I } from "./plugin--F5QK2vy.js";
|
|
28
|
-
import "./InputCheckbox.vue_vue_type_style_index_0_lang-XU9rYa47.js";
|
|
29
|
-
import { p as c } from "./plugin-BemLz7kA.js";
|
|
30
|
-
import { p as h } from "./plugin-Bq4nQPd4.js";
|
|
31
|
-
import { p as y } from "./plugin-D9KHvOM3.js";
|
|
32
|
-
import { p as b } from "./plugin-CLPYJfBT.js";
|
|
33
|
-
import "./InputMultiplier.vue_vue_type_script_setup_true_lang-BUbpeN-i.js";
|
|
34
|
-
import { p as d } from "./plugin-BkDzEYgS.js";
|
|
35
|
-
import "./InputText.vue_vue_type_script_setup_true_lang-D2cGaq7X.js";
|
|
36
|
-
import { p as T } from "./plugin-Cbz7TWzB.js";
|
|
37
|
-
import { p as C } from "./plugin-CXTwBekr.js";
|
|
38
|
-
import { p as S } from "./plugin-Co9LymNO.js";
|
|
39
|
-
import "./InputRadio.vue_vue_type_style_index_0_lang-DG-7xEeZ.js";
|
|
40
|
-
import { p as v } from "./plugin-B578b4C_.js";
|
|
41
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-CkW6maZO.js";
|
|
42
|
-
import { p as G } from "./plugin-TMApjjiI.js";
|
|
43
|
-
import { p as k } from "./plugin-hQ-aWPlo.js";
|
|
44
|
-
import { p as w } from "./plugin-cOJ_nFaw.js";
|
|
45
|
-
import { p as x } from "./plugin-Clp0zNY0.js";
|
|
46
|
-
import "./Link.vue_vue_type_script_setup_true_lang-BFFw1dPV.js";
|
|
47
|
-
import { p as D } from "./plugin-bSqyo8FU.js";
|
|
48
|
-
import { p as F } from "./plugin-CPpRqUnI.js";
|
|
49
|
-
import { p as L } from "./plugin-uxc8N8iO.js";
|
|
50
|
-
import { p as M } from "./plugin-jyvJNavM.js";
|
|
51
|
-
import "./Popconfirm.vue_vue_type_script_setup_true_lang-CR0OJ8Ao.js";
|
|
52
|
-
import { p as _ } from "./plugin-Bhokj2iJ.js";
|
|
53
|
-
import "./Popover-Bhp8FUMn.js";
|
|
54
|
-
import { p as j } from "./plugin-D9O3FCPm.js";
|
|
55
|
-
import "./ProgressCircle-C5CnEEoe.js";
|
|
56
|
-
import { p as A } from "./plugin-CV6IjnsL.js";
|
|
57
|
-
import "./ProgressLine-WECUkWks.js";
|
|
58
|
-
import { p as B } from "./plugin-DJYF3-VD.js";
|
|
59
|
-
import { p as z } from "./plugin-BWfDY9pB.js";
|
|
60
|
-
import { p as E } from "./plugin-DYHfPgzY.js";
|
|
61
|
-
import { p as O } from "./plugin-CbBSU30O.js";
|
|
62
|
-
import "./Table-maK98cK_.js";
|
|
63
|
-
import { p as q } from "./plugin-C9PvjtX8.js";
|
|
64
|
-
import "./Tag.vue_vue_type_script_setup_true_lang-BjEz0tFc.js";
|
|
65
|
-
import { p as H } from "./plugin-64nFhMok.js";
|
|
66
|
-
import { p as R } from "./plugin-sv4IwCLZ.js";
|
|
67
|
-
const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68
|
-
__proto__: null,
|
|
69
|
-
AvatarPlugin: p,
|
|
70
|
-
BackdropPlugin: i,
|
|
71
|
-
ButtonPlugin: r,
|
|
72
|
-
ChartLinePlugin: o,
|
|
73
|
-
ChartTreemapPlugin: n,
|
|
74
|
-
DrawerPlugin: m,
|
|
75
|
-
DropdownPlugin: t,
|
|
76
|
-
FileDropPlugin: u,
|
|
77
|
-
FormItemPlugin: g,
|
|
78
|
-
FormPlugin: l,
|
|
79
|
-
GraphyEmptyPlugin: a,
|
|
80
|
-
GraphyLabelPlugin: s,
|
|
81
|
-
GraphyPricePlugin: P,
|
|
82
|
-
GraphySubtitlePlugin: f,
|
|
83
|
-
GraphyTitlePlugin: e,
|
|
84
|
-
IconPlugin: $,
|
|
85
|
-
InputAvatarPlugin: I,
|
|
86
|
-
InputCheckboxPlugin: c,
|
|
87
|
-
InputColorPlugin: y,
|
|
88
|
-
InputCryptoCurrencyPlugin: h,
|
|
89
|
-
InputDatePlugin: b,
|
|
90
|
-
InputMultiplierPlugin: d,
|
|
91
|
-
InputPasswordPlugin: T,
|
|
92
|
-
InputPhonePlugin: C,
|
|
93
|
-
InputPricePlugin: S,
|
|
94
|
-
InputRadioPlugin: v,
|
|
95
|
-
InputSelectPlugin: G,
|
|
96
|
-
InputSwitchPlugin: k,
|
|
97
|
-
InputTextPlugin: w,
|
|
98
|
-
InputTextareaPlugin: x,
|
|
99
|
-
LinkPlugin: D,
|
|
100
|
-
ModalFormPlugin: L,
|
|
101
|
-
ModalPlugin: F,
|
|
102
|
-
PaginationPlugin: M,
|
|
103
|
-
PopconfirmPlugin: _,
|
|
104
|
-
PopoverPlugin: j,
|
|
105
|
-
ProgressCirclePlugin: A,
|
|
106
|
-
ProgressLinePlugin: B,
|
|
107
|
-
SensitiveInfoPlugin: z,
|
|
108
|
-
SkeletonPlugin: E,
|
|
109
|
-
TabPlugin: O,
|
|
110
|
-
TablePlugin: q,
|
|
111
|
-
TagPlugin: H,
|
|
112
|
-
ToastPlugin: R
|
|
113
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
114
|
-
export {
|
|
115
|
-
ri as p
|
|
116
|
-
};
|