@caipira/tamandua 0.0.18 → 0.0.19
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/InputMultiplier.js +2 -2
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-DlITLRxb.js +74 -0
- package/dist/InputPhone.js +2 -2
- package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js → InputPhone.vue_vue_type_script_setup_true_lang-DvSNQmar.js} +13 -13
- package/dist/InputText.js +2 -2
- package/dist/{InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js → InputText.vue_vue_type_script_setup_true_lang-BWM3bHKU.js} +5 -5
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js → ModalForm.vue_vue_type_script_setup_true_lang-BaYQDOnJ.js} +11 -13
- package/dist/{ProgressLine-1ZHGvPsm.js → ProgressLine-B_Teev3n.js} +25 -19
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/components.js +5 -5
- package/dist/index.css +0 -6
- package/dist/{plugin-CwJMh4ht.js → plugin-5nhQC5Ck.js} +1 -1
- package/dist/{plugin-CCH1Q2cN.js → plugin-BGWPliCj.js} +1 -1
- package/dist/{plugin-DBSBNsHg.js → plugin-DEybStkj.js} +1 -1
- package/dist/{plugin-CGg5IOSy.js → plugin-hr8-EXeF.js} +1 -1
- package/dist/{plugin-BRY5cGCc.js → plugin-xaGfuM5Z.js} +1 -1
- package/dist/{plugins-DGJaL8lf.js → plugins-C0eAws64.js} +6 -6
- package/dist/plugins.js +6 -6
- package/dist/tamandua.js +1 -1
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +0 -3
- package/dist/types/components/InputMultiplier/types.d.ts +4 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/types/website.d.ts +1 -5
- package/package.json +1 -1
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-DUKWtKSy.js +0 -83
package/dist/InputMultiplier.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as t } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as l } from "./plugin-
|
|
1
|
+
import { _ as t } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-DlITLRxb.js";
|
|
2
|
+
import { p as l } from "./plugin-DEybStkj.js";
|
|
3
3
|
export {
|
|
4
4
|
t as InputMultiplier,
|
|
5
5
|
l as InputMultiplierPlugin
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as y, ref as h, watch as r, resolveComponent as m, openBlock as n, createElementBlock as o, createElementVNode as k, createBlock as c, createCommentVNode as C, createVNode as i, Fragment as g, renderList as I, resolveDynamicComponent as N, mergeProps as $, toHandlers as w } from "vue";
|
|
2
|
+
const B = { class: "inline-flex w-full items-center my-3" }, P = ["label"], j = /* @__PURE__ */ y({
|
|
3
|
+
name: "TInputMultiplier",
|
|
4
|
+
__name: "InputMultiplier",
|
|
5
|
+
props: {
|
|
6
|
+
component: { default: "t-input-text" },
|
|
7
|
+
inputProps: { default: () => ({}) },
|
|
8
|
+
label: { default: "" },
|
|
9
|
+
listeners: { default: () => ({}) },
|
|
10
|
+
modelValue: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:model-value"],
|
|
13
|
+
setup(p, { emit: d }) {
|
|
14
|
+
const a = p, v = d, l = h([]), _ = () => {
|
|
15
|
+
l.value.push("");
|
|
16
|
+
}, b = (e) => {
|
|
17
|
+
l.value = e;
|
|
18
|
+
}, f = (e) => {
|
|
19
|
+
l.value.splice(e, 1);
|
|
20
|
+
};
|
|
21
|
+
return r(
|
|
22
|
+
l,
|
|
23
|
+
(e) => {
|
|
24
|
+
v("update:model-value", e);
|
|
25
|
+
},
|
|
26
|
+
{ deep: !0 }
|
|
27
|
+
), r(
|
|
28
|
+
() => a.modelValue,
|
|
29
|
+
(e) => {
|
|
30
|
+
b(e ?? []);
|
|
31
|
+
},
|
|
32
|
+
{ immediate: !0 }
|
|
33
|
+
), (e, E) => {
|
|
34
|
+
const V = m("t-graphy-label"), s = m("t-button");
|
|
35
|
+
return n(), o("div", null, [
|
|
36
|
+
k("div", B, [
|
|
37
|
+
e.label ? (n(), c(V, {
|
|
38
|
+
key: 0,
|
|
39
|
+
text: e.label,
|
|
40
|
+
class: "text-right"
|
|
41
|
+
}, null, 8, ["text"])) : C("", !0),
|
|
42
|
+
i(s, {
|
|
43
|
+
label: `Add ${e.label}`,
|
|
44
|
+
variant: "primary",
|
|
45
|
+
"is-outline": !0,
|
|
46
|
+
icon: "plus",
|
|
47
|
+
size: "sm",
|
|
48
|
+
onClick: _
|
|
49
|
+
}, null, 8, ["label"])
|
|
50
|
+
]),
|
|
51
|
+
(n(!0), o(g, null, I(l.value, (M, t) => (n(), o("div", {
|
|
52
|
+
key: t,
|
|
53
|
+
label: `${e.label} ${t + 1}`,
|
|
54
|
+
class: "flex items-center justify-start mt-1 ml-2"
|
|
55
|
+
}, [
|
|
56
|
+
(n(), c(N(a.component), $(a.inputProps, w(a.listeners), {
|
|
57
|
+
modelValue: l.value[t],
|
|
58
|
+
"onUpdate:modelValue": (u) => l.value[t] = u,
|
|
59
|
+
class: "my-1"
|
|
60
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue"])),
|
|
61
|
+
i(s, {
|
|
62
|
+
variant: "transparent",
|
|
63
|
+
icon: "close",
|
|
64
|
+
class: "ml-2",
|
|
65
|
+
onClick: (u) => f(t)
|
|
66
|
+
}, null, 8, ["onClick"])
|
|
67
|
+
], 8, P))), 128))
|
|
68
|
+
]);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
j as _
|
|
74
|
+
};
|
package/dist/InputPhone.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./InputPhone.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as r } from "./plugin-
|
|
1
|
+
import { _ as p } from "./InputPhone.vue_vue_type_script_setup_true_lang-DvSNQmar.js";
|
|
2
|
+
import { p as r } from "./plugin-hr8-EXeF.js";
|
|
3
3
|
export {
|
|
4
4
|
p as InputPhone,
|
|
5
5
|
r as InputPhonePlugin
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, ref as
|
|
1
|
+
import { defineComponent as w, ref as r, inject as I, onBeforeMount as h, watch as j, resolveComponent as c, openBlock as B, createElementBlock as S, normalizeClass as k, unref as E, createVNode as m, withCtx as f, createElementVNode as b, toDisplayString as l } from "vue";
|
|
2
2
|
const P = /* @__PURE__ */ w({
|
|
3
3
|
name: "TInputPhone",
|
|
4
4
|
__name: "InputPhone",
|
|
@@ -8,31 +8,31 @@ const P = /* @__PURE__ */ w({
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:model-value"],
|
|
10
10
|
setup(v, { emit: C }) {
|
|
11
|
-
const
|
|
11
|
+
const u = v, V = C, a = r(""), o = r(), s = r([]), i = r([]), _ = I("formStyle", { label: "", input: "" }), d = () => {
|
|
12
12
|
if (!o.value)
|
|
13
13
|
return;
|
|
14
|
-
const e =
|
|
14
|
+
const e = i.value.find(
|
|
15
15
|
(n) => n.dialCode === o.value
|
|
16
16
|
);
|
|
17
17
|
e && V("update:model-value", {
|
|
18
18
|
iso2: e.iso2,
|
|
19
19
|
dialCode: e.dialCode,
|
|
20
|
-
number:
|
|
20
|
+
number: a.value ?? ""
|
|
21
21
|
});
|
|
22
22
|
}, y = async () => {
|
|
23
|
-
|
|
23
|
+
u.resource && (i.value = await u.resource(), s.value = i.value.map(
|
|
24
24
|
(e) => ({
|
|
25
25
|
label: e,
|
|
26
26
|
value: e.dialCode
|
|
27
27
|
})
|
|
28
|
-
) ?? [];
|
|
28
|
+
) ?? []);
|
|
29
29
|
}, p = async (e) => {
|
|
30
|
-
e && typeof e == "object" && (o.value = e.dialCode, "number" in e && (
|
|
30
|
+
e && typeof e == "object" && (o.value = e.dialCode, "number" in e && (a.value = e.number));
|
|
31
31
|
};
|
|
32
32
|
return h(async () => {
|
|
33
|
-
await y(), p(
|
|
33
|
+
await y(), p(u.modelValue);
|
|
34
34
|
}), j(
|
|
35
|
-
() =>
|
|
35
|
+
() => u.modelValue,
|
|
36
36
|
(e) => {
|
|
37
37
|
p(e);
|
|
38
38
|
},
|
|
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ w({
|
|
|
40
40
|
), (e, n) => {
|
|
41
41
|
const x = c("t-input-select"), g = c("t-input-text");
|
|
42
42
|
return B(), S("div", {
|
|
43
|
-
class: k(["
|
|
43
|
+
class: k(["h-9 flex input-bg-color input-text-color border input-border input-roundness", { [E(_).input]: !0 }])
|
|
44
44
|
}, [
|
|
45
45
|
m(x, {
|
|
46
46
|
modelValue: o.value,
|
|
@@ -50,7 +50,7 @@ const P = /* @__PURE__ */ w({
|
|
|
50
50
|
],
|
|
51
51
|
options: s.value,
|
|
52
52
|
"disable-style": !0,
|
|
53
|
-
class: "border-r w-
|
|
53
|
+
class: "border-r min-w-20 flex justify-center items-center input-border"
|
|
54
54
|
}, {
|
|
55
55
|
default: f((t) => [
|
|
56
56
|
b("span", null, l(t.flag) + " " + l(t.name) + " +" + l(t.dialCode), 1)
|
|
@@ -61,8 +61,8 @@ const P = /* @__PURE__ */ w({
|
|
|
61
61
|
_: 1
|
|
62
62
|
}, 8, ["modelValue", "options"]),
|
|
63
63
|
m(g, {
|
|
64
|
-
modelValue:
|
|
65
|
-
"onUpdate:modelValue": n[1] || (n[1] = (t) =>
|
|
64
|
+
modelValue: a.value,
|
|
65
|
+
"onUpdate:modelValue": n[1] || (n[1] = (t) => a.value = t),
|
|
66
66
|
"disable-style": !0,
|
|
67
67
|
class: "w-full input-bg-color input-text-color input-outline input-roundness input-padding",
|
|
68
68
|
onInput: d
|
package/dist/InputText.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./InputText.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as r } from "./plugin-
|
|
1
|
+
import { _ as e } from "./InputText.vue_vue_type_script_setup_true_lang-BWM3bHKU.js";
|
|
2
|
+
import { p as r } from "./plugin-5nhQC5Ck.js";
|
|
3
3
|
export {
|
|
4
4
|
e as InputText,
|
|
5
5
|
r as InputTextPlugin
|
|
@@ -11,18 +11,18 @@ const S = ["type", "id", "placeholder", "autocomplete", "disabled"], B = /* @__P
|
|
|
11
11
|
disableStyle: { type: Boolean, default: !1 }
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:model-value", "keyup.enter"],
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
14
|
+
setup(u, { emit: p }) {
|
|
15
|
+
const e = u, r = l("id", ""), s = p, d = l("invalid", !1), c = l("formStyle", { input: "w-full" }), a = l("validated", !1), n = v({
|
|
16
16
|
get: () => e.modelValue,
|
|
17
17
|
set: (o) => {
|
|
18
18
|
s("update:model-value", o);
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
|
-
return (o,
|
|
22
|
-
"onUpdate:modelValue":
|
|
21
|
+
return (o, i) => y((b(), h("input", _({
|
|
22
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => n.value = m),
|
|
23
23
|
type: e.type,
|
|
24
24
|
class: {
|
|
25
|
-
"h-9 input-bg-color input-text-color input-outline border input-border input-
|
|
25
|
+
"h-9 input-bg-color input-text-color input-outline border input-border input-roundness input-padding": !e.disableStyle,
|
|
26
26
|
[t(c).input]: !e.disableStyle,
|
|
27
27
|
"border-red-500": !t(a) && t(d),
|
|
28
28
|
"border-emerald-500": t(a) && !t(d)
|
package/dist/ModalForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as l } from "./plugin-
|
|
1
|
+
import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-BaYQDOnJ.js";
|
|
2
|
+
import { p as l } from "./plugin-BGWPliCj.js";
|
|
3
3
|
export {
|
|
4
4
|
a as ModalForm,
|
|
5
5
|
l as ModalFormPlugin
|
|
@@ -23,8 +23,8 @@ const $ = {
|
|
|
23
23
|
e.value?.close(), p("closed");
|
|
24
24
|
};
|
|
25
25
|
return C({ open: g, delete: x }), (r, t) => {
|
|
26
|
-
const V = o("t-input-switch"),
|
|
27
|
-
return e.value?.visible ? (l(), a(
|
|
26
|
+
const V = o("t-input-switch"), D = o("t-icon"), E = o("t-dropdown"), B = o("t-popover"), _ = o("t-button"), h = o("t-popconfirm"), z = o("t-modal");
|
|
27
|
+
return e.value?.visible ? (l(), a(z, {
|
|
28
28
|
key: 0,
|
|
29
29
|
title: e.value?.title,
|
|
30
30
|
onClosed: S
|
|
@@ -40,14 +40,14 @@ const $ = {
|
|
|
40
40
|
]),
|
|
41
41
|
footer: n(() => [
|
|
42
42
|
i.options.length ? (l(), M("div", $, [
|
|
43
|
-
c(
|
|
43
|
+
c(B, { placement: "bottom-start" }, {
|
|
44
44
|
content: n(() => [
|
|
45
|
-
c(
|
|
45
|
+
c(E, {
|
|
46
46
|
items: i.options
|
|
47
47
|
}, null, 8, ["items"])
|
|
48
48
|
]),
|
|
49
49
|
default: n(() => [
|
|
50
|
-
c(
|
|
50
|
+
c(D, {
|
|
51
51
|
icon: "dots-vertical",
|
|
52
52
|
class: "text-lg mr-6",
|
|
53
53
|
size: "xs",
|
|
@@ -57,7 +57,7 @@ const $ = {
|
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
})
|
|
60
|
-
])) : (l(), a(
|
|
60
|
+
])) : (l(), a(h, {
|
|
61
61
|
key: 1,
|
|
62
62
|
message: `Are you sure you want to delete this ${s.value?.title}?`,
|
|
63
63
|
onConfirm: t[2] || (t[2] = () => e.value?.delete())
|
|
@@ -65,12 +65,11 @@ const $ = {
|
|
|
65
65
|
default: n(() => [
|
|
66
66
|
e.value?.isEditing ? (l(), a(_, {
|
|
67
67
|
key: 0,
|
|
68
|
-
"is-disabled": e.value?.isLoading,
|
|
69
68
|
variant: "danger",
|
|
70
69
|
icon: "trash-can-outline",
|
|
71
70
|
label: "Delete",
|
|
72
|
-
|
|
73
|
-
"
|
|
71
|
+
"aria-describedby": "tooltip",
|
|
72
|
+
"is-disabled": e.value?.isLoading
|
|
74
73
|
}, null, 8, ["is-disabled"])) : d("", !0)
|
|
75
74
|
]),
|
|
76
75
|
_: 1
|
|
@@ -78,14 +77,13 @@ const $ = {
|
|
|
78
77
|
c(_, {
|
|
79
78
|
variant: "success",
|
|
80
79
|
icon: "save",
|
|
80
|
+
label: "Save",
|
|
81
|
+
"is-disabled": e.value?.isLoading,
|
|
81
82
|
class: b({
|
|
82
83
|
"ml-auto": !e.value?.isEditing
|
|
83
84
|
}),
|
|
84
|
-
size: "sm",
|
|
85
|
-
label: "Save",
|
|
86
|
-
"is-disabled": e.value?.isLoading,
|
|
87
85
|
onClick: t[3] || (t[3] = () => e.value?.save())
|
|
88
|
-
}, null, 8, ["
|
|
86
|
+
}, null, 8, ["is-disabled", "class"])
|
|
89
87
|
]),
|
|
90
88
|
default: n(() => [
|
|
91
89
|
s.value ? (l(), a(N(s.value.component), {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './ProgressLine.css';
|
|
2
|
-
import { defineComponent as d, ref as
|
|
3
|
-
import { _ as
|
|
4
|
-
const m =
|
|
2
|
+
import { defineComponent as d, ref as u, watch as c, computed as h, openBlock as o, createElementBlock as l, normalizeClass as t, createElementVNode as s, renderSlot as f, toDisplayString as v, createCommentVNode as p } from "vue";
|
|
3
|
+
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "rx", "fill"], w = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "text-sm"
|
|
7
|
-
},
|
|
7
|
+
}, x = /* @__PURE__ */ d({
|
|
8
8
|
name: "TProgressLine",
|
|
9
9
|
__name: "ProgressLine",
|
|
10
10
|
props: {
|
|
@@ -20,43 +20,49 @@ const m = { class: "flex items-center" }, _ = ["height"], C = ["rx", "fill"], b
|
|
|
20
20
|
backgroundColor: { default: "var(--caipira-tertiary)" }
|
|
21
21
|
},
|
|
22
22
|
setup(i) {
|
|
23
|
-
const e = i,
|
|
24
|
-
|
|
23
|
+
const e = i, a = u(0);
|
|
24
|
+
c(
|
|
25
25
|
() => e.value,
|
|
26
26
|
(r) => {
|
|
27
|
-
r && (
|
|
27
|
+
r && (a.value = Math.round(r));
|
|
28
28
|
},
|
|
29
29
|
{ immediate: !0 }
|
|
30
30
|
);
|
|
31
|
-
const n = h(() =>
|
|
32
|
-
return (r,
|
|
33
|
-
|
|
31
|
+
const n = h(() => a.value === 100 ? e.finishedColor : a.value > 100 ? e.overColor : e.progressColor);
|
|
32
|
+
return (r, k) => (o(), l("div", {
|
|
33
|
+
class: "flex items-center",
|
|
34
|
+
role: "progressbar",
|
|
35
|
+
"aria-valuemax": "100",
|
|
36
|
+
"aria-valuemin": "0",
|
|
37
|
+
"aria-valuenow": a.value
|
|
38
|
+
}, [
|
|
39
|
+
(o(), l("svg", {
|
|
34
40
|
width: "100%",
|
|
35
41
|
height: e.height,
|
|
36
|
-
class:
|
|
42
|
+
class: t(["inline-block flex-grow", e.svgClass])
|
|
37
43
|
}, [
|
|
38
|
-
|
|
44
|
+
s("rect", {
|
|
39
45
|
width: "100%",
|
|
40
46
|
height: "100%",
|
|
41
47
|
rx: e.borderRadius,
|
|
42
48
|
fill: e.backgroundColor
|
|
43
49
|
}, null, 8, C),
|
|
44
|
-
|
|
50
|
+
s("rect", {
|
|
45
51
|
height: "100%",
|
|
46
52
|
width: `${e.value}%`,
|
|
47
53
|
rx: e.borderRadius,
|
|
48
54
|
fill: n.value
|
|
49
55
|
}, null, 8, b)
|
|
50
56
|
], 10, _)),
|
|
51
|
-
e.showPercentage ? (
|
|
57
|
+
e.showPercentage ? (o(), l("div", {
|
|
52
58
|
key: 0,
|
|
53
|
-
class:
|
|
59
|
+
class: t(["flex-none ml-2", r.labelClass])
|
|
54
60
|
}, [
|
|
55
|
-
r.$slots.label ? f(r.$slots, "label", { key: 0 }, void 0, !0) : (
|
|
56
|
-
], 2)) :
|
|
57
|
-
]));
|
|
61
|
+
r.$slots.label ? f(r.$slots, "label", { key: 0 }, void 0, !0) : (o(), l("span", w, v(a.value) + "% ", 1))
|
|
62
|
+
], 2)) : p("", !0)
|
|
63
|
+
], 8, m));
|
|
58
64
|
}
|
|
59
|
-
}), B = /* @__PURE__ */
|
|
65
|
+
}), B = /* @__PURE__ */ g(x, [["__scopeId", "data-v-e2eba543"]]);
|
|
60
66
|
export {
|
|
61
67
|
B as P
|
|
62
68
|
};
|
package/dist/ProgressLine.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
svg rect[data-v-
|
|
1
|
+
svg rect[data-v-e2eba543]{transition:width .3s linear}
|
package/dist/ProgressLine.js
CHANGED
package/dist/components.js
CHANGED
|
@@ -19,24 +19,24 @@ import { _ as R } from "./InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH
|
|
|
19
19
|
import { _ as q } from "./InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js";
|
|
20
20
|
import { _ as H } from "./InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js";
|
|
21
21
|
import { _ as K } from "./InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js";
|
|
22
|
-
import { _ as O } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-
|
|
22
|
+
import { _ as O } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-DlITLRxb.js";
|
|
23
23
|
import { _ as U } from "./InputPassword.vue_vue_type_script_setup_true_lang-D_xGJ0Ci.js";
|
|
24
|
-
import { _ as W } from "./InputPhone.vue_vue_type_script_setup_true_lang-
|
|
24
|
+
import { _ as W } from "./InputPhone.vue_vue_type_script_setup_true_lang-DvSNQmar.js";
|
|
25
25
|
import { _ as Y } from "./InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js";
|
|
26
26
|
import { _ as $ } from "./InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js";
|
|
27
27
|
import "vue";
|
|
28
28
|
import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js";
|
|
29
29
|
import { _ as ar } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js";
|
|
30
|
-
import { _ as pr } from "./InputText.vue_vue_type_script_setup_true_lang-
|
|
30
|
+
import { _ as pr } from "./InputText.vue_vue_type_script_setup_true_lang-BWM3bHKU.js";
|
|
31
31
|
import { _ as sr } from "./InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js";
|
|
32
32
|
import { _ as fr } from "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
33
33
|
import { _ as nr } from "./Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js";
|
|
34
|
-
import { _ as ur } from "./ModalForm.vue_vue_type_script_setup_true_lang-
|
|
34
|
+
import { _ as ur } from "./ModalForm.vue_vue_type_script_setup_true_lang-BaYQDOnJ.js";
|
|
35
35
|
import { _ as lr } from "./Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js";
|
|
36
36
|
import { _ as hr } from "./Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js";
|
|
37
37
|
import { _ as Tr } from "./Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js";
|
|
38
38
|
import { P as dr } from "./ProgressCircle-BY2eeyGY.js";
|
|
39
|
-
import { P as br } from "./ProgressLine-
|
|
39
|
+
import { P as br } from "./ProgressLine-B_Teev3n.js";
|
|
40
40
|
import { _ as Gr } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js";
|
|
41
41
|
import { _ as vr } from "./Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js";
|
|
42
42
|
import { T as Br } from "./Table-CYnCf_CG.js";
|
package/dist/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r } from "./register-component-B-fdqewb.js";
|
|
2
|
-
import { _ as s } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-DlITLRxb.js";
|
|
3
3
|
const m = {
|
|
4
4
|
install(o) {
|
|
5
5
|
r(o, s);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r } from "./register-component-B-fdqewb.js";
|
|
2
|
-
import { _ as s } from "./InputPhone.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "./InputPhone.vue_vue_type_script_setup_true_lang-DvSNQmar.js";
|
|
3
3
|
const m = {
|
|
4
4
|
install(o) {
|
|
5
5
|
r(o, s);
|
|
@@ -28,20 +28,20 @@ import { p as c } from "./plugin--F5QK2vy.js";
|
|
|
28
28
|
import { p as h } from "./plugin-DaibhM02.js";
|
|
29
29
|
import { p as y } from "./plugin-DppW8rQi.js";
|
|
30
30
|
import { p as b } from "./plugin-DkDbha5K.js";
|
|
31
|
-
import { p as d } from "./plugin-
|
|
31
|
+
import { p as d } from "./plugin-DEybStkj.js";
|
|
32
32
|
import { p as T } from "./plugin-CXsVFJPx.js";
|
|
33
|
-
import { p as C } from "./plugin-
|
|
33
|
+
import { p as C } from "./plugin-hr8-EXeF.js";
|
|
34
34
|
import { p as v } from "./plugin-C3tFXHbZ.js";
|
|
35
35
|
import { p as G } from "./plugin-BrwUi1gG.js";
|
|
36
36
|
import "./InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js";
|
|
37
37
|
import { p as S } from "./plugin-DK-_BDxt.js";
|
|
38
38
|
import { p as w } from "./plugin-DT7LVAli.js";
|
|
39
|
-
import { p as x } from "./plugin-
|
|
39
|
+
import { p as x } from "./plugin-5nhQC5Ck.js";
|
|
40
40
|
import { p as D } from "./plugin-CqcxTgW6.js";
|
|
41
41
|
import "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
42
42
|
import { p as F } from "./plugin-dL6oP11N.js";
|
|
43
43
|
import { p as k } from "./plugin-BZC231Oj.js";
|
|
44
|
-
import { p as B } from "./plugin-
|
|
44
|
+
import { p as B } from "./plugin-BGWPliCj.js";
|
|
45
45
|
import { p as L } from "./plugin-YUomn9tF.js";
|
|
46
46
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js";
|
|
47
47
|
import { p as M } from "./plugin-Bt6de9ZA.js";
|
|
@@ -49,8 +49,8 @@ import "./Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js";
|
|
|
49
49
|
import { p as _ } from "./plugin-Dp-F27SY.js";
|
|
50
50
|
import "./ProgressCircle-BY2eeyGY.js";
|
|
51
51
|
import { p as j } from "./plugin-DXSsGfRI.js";
|
|
52
|
-
import "./ProgressLine-
|
|
53
|
-
import { p as A } from "./plugin-
|
|
52
|
+
import "./ProgressLine-B_Teev3n.js";
|
|
53
|
+
import { p as A } from "./plugin-xaGfuM5Z.js";
|
|
54
54
|
import { p as z } from "./plugin-cvHKUGjm.js";
|
|
55
55
|
import { p as E } from "./plugin-5vn4G57V.js";
|
|
56
56
|
import "./Table-CYnCf_CG.js";
|
package/dist/plugins.js
CHANGED
|
@@ -28,20 +28,20 @@ import { p as $ } from "./plugin--F5QK2vy.js";
|
|
|
28
28
|
import { p as or } from "./plugin-DaibhM02.js";
|
|
29
29
|
import { p as tr } from "./plugin-DppW8rQi.js";
|
|
30
30
|
import { p as ar } from "./plugin-DkDbha5K.js";
|
|
31
|
-
import { p as nr } from "./plugin-
|
|
31
|
+
import { p as nr } from "./plugin-DEybStkj.js";
|
|
32
32
|
import { p as ur } from "./plugin-CXsVFJPx.js";
|
|
33
|
-
import { p as Pr } from "./plugin-
|
|
33
|
+
import { p as Pr } from "./plugin-hr8-EXeF.js";
|
|
34
34
|
import { p as gr } from "./plugin-C3tFXHbZ.js";
|
|
35
35
|
import { p as fr } from "./plugin-BrwUi1gG.js";
|
|
36
36
|
import "./InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js";
|
|
37
37
|
import { p as hr } from "./plugin-DK-_BDxt.js";
|
|
38
38
|
import { p as Tr } from "./plugin-DT7LVAli.js";
|
|
39
|
-
import { p as dr } from "./plugin-
|
|
39
|
+
import { p as dr } from "./plugin-5nhQC5Ck.js";
|
|
40
40
|
import { p as br } from "./plugin-CqcxTgW6.js";
|
|
41
41
|
import "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
42
42
|
import { p as vr } from "./plugin-dL6oP11N.js";
|
|
43
43
|
import { p as Dr } from "./plugin-BZC231Oj.js";
|
|
44
|
-
import { p as Lr } from "./plugin-
|
|
44
|
+
import { p as Lr } from "./plugin-BGWPliCj.js";
|
|
45
45
|
import { p as kr } from "./plugin-YUomn9tF.js";
|
|
46
46
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js";
|
|
47
47
|
import { p as Mr } from "./plugin-Bt6de9ZA.js";
|
|
@@ -49,8 +49,8 @@ import "./Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js";
|
|
|
49
49
|
import { p as Er } from "./plugin-Dp-F27SY.js";
|
|
50
50
|
import "./ProgressCircle-BY2eeyGY.js";
|
|
51
51
|
import { p as jr } from "./plugin-DXSsGfRI.js";
|
|
52
|
-
import "./ProgressLine-
|
|
53
|
-
import { p as zr } from "./plugin-
|
|
52
|
+
import "./ProgressLine-B_Teev3n.js";
|
|
53
|
+
import { p as zr } from "./plugin-xaGfuM5Z.js";
|
|
54
54
|
import { p as Jr } from "./plugin-cvHKUGjm.js";
|
|
55
55
|
import { p as Nr } from "./plugin-5vn4G57V.js";
|
|
56
56
|
import "./Table-CYnCf_CG.js";
|
package/dist/tamandua.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
|
|
3
|
+
type ComponentType = "t-input-text" | "t-input-phone" | Component;
|
|
2
4
|
export type InputMultiplierProps = {
|
|
3
5
|
component?: ComponentType;
|
|
4
6
|
inputProps?: any;
|
|
5
|
-
label
|
|
7
|
+
label: string;
|
|
6
8
|
listeners?: {
|
|
7
9
|
[key: string]: (...args: any[]) => void;
|
|
8
10
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,14 +2,10 @@ export type Website = {
|
|
|
2
2
|
url: string;
|
|
3
3
|
uri?: string;
|
|
4
4
|
www?: boolean;
|
|
5
|
-
|
|
5
|
+
https?: boolean;
|
|
6
6
|
title?: string;
|
|
7
7
|
updatedAt?: string;
|
|
8
8
|
favicon?: string;
|
|
9
9
|
faviconCache?: string;
|
|
10
10
|
faviconLink?: string;
|
|
11
11
|
};
|
|
12
|
-
export type WebsiteMinified = {
|
|
13
|
-
f: string;
|
|
14
|
-
u: string;
|
|
15
|
-
};
|
package/package.json
CHANGED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, ref as w, inject as I, watch as m, resolveComponent as c, openBlock as o, createElementBlock as a, createElementVNode as i, createBlock as p, createCommentVNode as N, createVNode as d, Fragment as B, renderList as P, normalizeClass as j, unref as z, resolveDynamicComponent as E, mergeProps as M, toHandlers as S } from "vue";
|
|
2
|
-
const U = { class: "inline-flex w-full items-center my-3" }, A = ["label"], F = /* @__PURE__ */ $({
|
|
3
|
-
name: "TInputMultiplier",
|
|
4
|
-
__name: "InputMultiplier",
|
|
5
|
-
props: {
|
|
6
|
-
component: {},
|
|
7
|
-
inputProps: { default: () => ({}) },
|
|
8
|
-
label: { default: "" },
|
|
9
|
-
listeners: { default: () => ({}) },
|
|
10
|
-
modelValue: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:model-value"],
|
|
13
|
-
setup(v, { emit: f }) {
|
|
14
|
-
const t = v, b = f, l = w([]), _ = I("formStyle", { label: "", input: "" }), y = () => {
|
|
15
|
-
l.value.push({});
|
|
16
|
-
}, V = (e) => {
|
|
17
|
-
l.value = e;
|
|
18
|
-
}, h = (e) => {
|
|
19
|
-
l.value.splice(e, 1);
|
|
20
|
-
}, k = (e, s) => {
|
|
21
|
-
switch (t.type) {
|
|
22
|
-
case "social":
|
|
23
|
-
return `${e.network}-${e.profile}`;
|
|
24
|
-
default:
|
|
25
|
-
return s;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
return m(
|
|
29
|
-
l,
|
|
30
|
-
(e) => {
|
|
31
|
-
b("update:model-value", e);
|
|
32
|
-
},
|
|
33
|
-
{ deep: !0 }
|
|
34
|
-
), m(
|
|
35
|
-
() => t.modelValue,
|
|
36
|
-
(e) => {
|
|
37
|
-
V(e ?? []);
|
|
38
|
-
},
|
|
39
|
-
{ immediate: !0 }
|
|
40
|
-
), (e, s) => {
|
|
41
|
-
const C = c("t-graphy-label"), r = c("t-button");
|
|
42
|
-
return o(), a("div", null, [
|
|
43
|
-
i("div", U, [
|
|
44
|
-
e.label ? (o(), p(C, {
|
|
45
|
-
key: 0,
|
|
46
|
-
text: e.label,
|
|
47
|
-
class: "text-right"
|
|
48
|
-
}, null, 8, ["text"])) : N("", !0),
|
|
49
|
-
d(r, {
|
|
50
|
-
label: `Add ${e.label}`,
|
|
51
|
-
variant: "primary",
|
|
52
|
-
"is-outline": !0,
|
|
53
|
-
icon: "plus",
|
|
54
|
-
size: "sm",
|
|
55
|
-
onClick: y
|
|
56
|
-
}, null, 8, ["label"])
|
|
57
|
-
]),
|
|
58
|
-
(o(!0), a(B, null, P(l.value, (g, n) => (o(), a("div", {
|
|
59
|
-
key: k(g, n),
|
|
60
|
-
label: `${e.label} ${n + 1}`,
|
|
61
|
-
class: "flex items-center justify-start mt-1 ml-2"
|
|
62
|
-
}, [
|
|
63
|
-
i("div", {
|
|
64
|
-
class: j({ [z(_).label]: !0 })
|
|
65
|
-
}, null, 2),
|
|
66
|
-
(o(), p(E(t.component), M({
|
|
67
|
-
modelValue: l.value[n],
|
|
68
|
-
"onUpdate:modelValue": (u) => l.value[n] = u
|
|
69
|
-
}, t.inputProps, S(t.listeners), { class: "my-1" }), null, 16, ["modelValue", "onUpdate:modelValue"])),
|
|
70
|
-
d(r, {
|
|
71
|
-
variant: "transparent",
|
|
72
|
-
icon: "close",
|
|
73
|
-
class: "ml-2",
|
|
74
|
-
onClick: (u) => h(n)
|
|
75
|
-
}, null, 8, ["onClick"])
|
|
76
|
-
], 8, A))), 128))
|
|
77
|
-
]);
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
export {
|
|
82
|
-
F as _
|
|
83
|
-
};
|