@caipira/tamandua 0.0.46 → 0.0.48
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/{Drawer-CKfQZ6rv.js → Drawer-Cl9_4uHA.js} +7 -7
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-35_V6mw8.js → Form.vue_vue_type_script_setup_true_lang-DfBtuwm7.js} +2 -2
- package/dist/InputCryptoCurrency.js +6 -0
- package/dist/InputCryptoCurrency.vue_vue_type_script_setup_true_lang-BIUT5eCh.js +757 -0
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js → InputSelect.vue_vue_type_script_setup_true_lang-BDqMGvuy.js} +16 -24
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-B4dU1AzJ.js → ModalForm.vue_vue_type_script_setup_true_lang-RfK0Mn81.js} +13 -13
- package/dist/components.js +62 -60
- package/dist/{plugin-DcQ8tvKe.js → plugin-BJJ1-Os1.js} +1 -1
- package/dist/plugin-Bq4nQPd4.js +10 -0
- package/dist/{plugin-BV0OSVIw.js → plugin-CNwzCYlr.js} +1 -1
- package/dist/{plugin-DmPqmScT.js → plugin-DNXazWwT.js} +1 -1
- package/dist/{plugin-cVdTR_s6.js → plugin-XDIORJya.js} +1 -1
- package/dist/{plugins-8zKsGUYL.js → plugins-CfuHgVBl.js} +49 -47
- package/dist/plugins.js +61 -59
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Form/Form.vue.d.ts +3 -3
- package/dist/types/components/Form/types.d.ts +1 -1
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.story.d.ts +14 -0
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.vue.d.ts +14 -0
- package/dist/types/components/InputCryptoCurrency/currencies.d.ts +8 -0
- package/dist/types/components/InputCryptoCurrency/index.d.ts +5 -0
- package/dist/types/components/InputCryptoCurrency/plugin.d.ts +4 -0
- package/dist/types/components/InputCryptoCurrency/types.d.ts +8 -0
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +31 -2
- package/dist/types/components/ModalForm/{model-form.story.d.ts → ModalForm.story.d.ts} +1 -1
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/plugins.d.ts +2 -1
- package/package.json +2 -2
- package/volar.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './Drawer.css';
|
|
2
|
-
import { defineComponent as _, ref as b, onMounted as v, resolveComponent as y, openBlock as t, createElementBlock as r, withKeys as h, createVNode as i, createElementVNode as
|
|
2
|
+
import { defineComponent as _, ref as b, onMounted as v, resolveComponent as y, openBlock as t, createElementBlock as r, withKeys as h, createVNode as i, createElementVNode as d, normalizeClass as c, toDisplayString as k, createCommentVNode as s, renderSlot as a } from "vue";
|
|
3
3
|
import { _ as w } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
|
|
4
4
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const C = {
|
|
@@ -36,8 +36,8 @@ const C = {
|
|
|
36
36
|
onKeyup: h(l, ["esc"])
|
|
37
37
|
}, [
|
|
38
38
|
i(w, { onClick: l }),
|
|
39
|
-
|
|
40
|
-
class:
|
|
39
|
+
d("div", {
|
|
40
|
+
class: c(["w-[38rem] absolute inset-y-0 z-10 flex flex-col bg-caipira-primary drawer", {
|
|
41
41
|
"right-0 drop-shadow-lg": o.direction === "ltr",
|
|
42
42
|
"left-0": o.direction === "rtl"
|
|
43
43
|
}])
|
|
@@ -46,19 +46,19 @@ const C = {
|
|
|
46
46
|
variant: "transparent",
|
|
47
47
|
size: "lg",
|
|
48
48
|
icon: "close",
|
|
49
|
-
class: "absolute top-
|
|
49
|
+
class: "absolute top-1 right-0",
|
|
50
50
|
onClick: l
|
|
51
51
|
}),
|
|
52
52
|
o.showHeader ? (t(), r("div", C, [
|
|
53
53
|
o.title ? (t(), r("span", $, k(o.title), 1)) : s("", !0),
|
|
54
54
|
e.$slots.header ? a(e.$slots, "header", { key: 1 }, void 0, !0) : s("", !0)
|
|
55
55
|
])) : s("", !0),
|
|
56
|
-
|
|
56
|
+
d("div", x, [
|
|
57
57
|
a(e.$slots, "default", {}, void 0, !0)
|
|
58
58
|
]),
|
|
59
59
|
e.$slots.footer ? (t(), r("div", {
|
|
60
60
|
key: 1,
|
|
61
|
-
class:
|
|
61
|
+
class: c(["p-4 border-t border-color", {
|
|
62
62
|
[e.style.footer]: !0
|
|
63
63
|
}])
|
|
64
64
|
}, [
|
|
@@ -68,7 +68,7 @@ const C = {
|
|
|
68
68
|
], 544);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
}), E = /* @__PURE__ */ g(D, [["__scopeId", "data-v-
|
|
71
|
+
}), E = /* @__PURE__ */ g(D, [["__scopeId", "data-v-dd2ff7d0"]]);
|
|
72
72
|
export {
|
|
73
73
|
E as D
|
|
74
74
|
};
|
package/dist/Drawer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.drawer[data-v-
|
|
1
|
+
.drawer[data-v-dd2ff7d0]{box-shadow:#0003 0 8px 10px -5px,#00000024 0 16px 24px 2px,#0000001f 0 6px 30px 5px}
|
package/dist/Drawer.js
CHANGED
package/dist/Form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-DfBtuwm7.js";
|
|
2
|
+
import { p as a } from "./plugin-BJJ1-Os1.js";
|
|
3
3
|
export {
|
|
4
4
|
m as Form,
|
|
5
5
|
a as FormPlugin
|
|
@@ -157,10 +157,10 @@ const X = /* @__PURE__ */ C({
|
|
|
157
157
|
name: "TForm",
|
|
158
158
|
__name: "Form",
|
|
159
159
|
props: {
|
|
160
|
-
id: { default: "" },
|
|
161
160
|
schema: { default: () => ({}) },
|
|
162
161
|
layout: { default: "horizontal" },
|
|
163
162
|
formStyle: { default: () => ({}) },
|
|
163
|
+
identifier: { default: "" },
|
|
164
164
|
showSubmit: { type: Boolean, default: !1 },
|
|
165
165
|
buttonProps: {},
|
|
166
166
|
submissionFormat: { default: f.FormData },
|
|
@@ -169,7 +169,7 @@ const X = /* @__PURE__ */ C({
|
|
|
169
169
|
emits: ["submit", "change"],
|
|
170
170
|
setup(e, { expose: t, emit: r }) {
|
|
171
171
|
const s = e, c = r, a = _(), { form: m, getValue: o, setValue: d, setValues: b, reset: y, submit: g } = K({
|
|
172
|
-
id: N(() => s.
|
|
172
|
+
id: N(() => s.identifier),
|
|
173
173
|
schema: s.schema,
|
|
174
174
|
format: s.submissionFormat
|
|
175
175
|
}), w = async () => {
|