@agrotools1/at-components 2.0.19 → 2.0.21
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/changelog/versions/components/index.d.ts.map +1 -1
- package/dist/changelog/versions/components/v2.0.21.d.ts +4 -0
- package/dist/changelog/versions/components/v2.0.21.d.ts.map +1 -0
- package/dist/document-input/DocumentInput.vue.d.ts +57 -0
- package/dist/document-input/DocumentInput.vue.d.ts.map +1 -0
- package/dist/document-input/DocumentInput.vue.js +139 -0
- package/dist/document-input/DocumentInput.vue2.js +4 -0
- package/dist/document-input/index.d.ts +2 -0
- package/dist/document-input/index.d.ts.map +1 -0
- package/dist/document-input/index.js +4 -0
- package/dist/document-input/utils.d.ts +3 -0
- package/dist/document-input/utils.d.ts.map +1 -0
- package/dist/document-input/utils.js +33 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +311 -309
- package/dist/multi-select/MultiSelectTrigger.vue.js +1 -1
- package/dist/packages/at-icons/dist/AtCheckCircleRegularIcon/AtCheckCircleRegularIcon.vue.js +46 -0
- package/dist/packages/at-icons/dist/AtCheckCircleRegularIcon/index.js +5 -0
- package/dist/packages/at-icons/dist/AtCirclePlusSolidIcon/AtCirclePlusSolidIcon.vue.js +4 -4
- package/dist/packages/at-icons/dist/AtCircleXMarkRegularIcon/AtCircleXMarkRegularIcon.vue.js +46 -0
- package/dist/packages/at-icons/dist/AtCircleXMarkRegularIcon/index.js +5 -0
- package/dist/packages/at-icons/dist/AtCircleXMarkSolidIcon/AtCircleXMarkSolidIcon.vue.js +46 -0
- package/dist/packages/at-icons/dist/AtCircleXMarkSolidIcon/index.js +5 -0
- package/dist/packages/at-icons/dist/AtOrdenacaoRegularIcon/AtOrdenacaoRegularIcon.vue.js +4 -4
- package/dist/packages/at-icons/dist/components/IconWrapper/IconWrapper.vue.js +2 -2
- package/dist/packages/at-icons/dist/components/IconWrapper/IconWrapper.vue2.js +10 -8
- package/dist/select/SelectTrigger.vue.js +1 -1
- package/package.json +13 -12
|
@@ -31,7 +31,7 @@ const k = { class: "inline-flex gap-1" }, _ = { "aria-hidden": "true" }, j = /*
|
|
|
31
31
|
"hover:ring-ring/24 hover:ring-[2px]",
|
|
32
32
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none",
|
|
33
33
|
"aria-invalid:ring-destructive/20 aria-invalid:border-destructive",
|
|
34
|
-
"shadow-xs flex w-
|
|
34
|
+
"shadow-xs flex w-full h-10 items-center justify-between gap-2 whitespace-nowrap rounded-xl border bg-transparent p-2.5 text-sm transition-[color,box-shadow]",
|
|
35
35
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:!border-neutral-200 disabled:bg-gray-100 data-[disabled]:pointer-events-none",
|
|
36
36
|
"*:data-[slot=select-value]:line-clamp-1 *:data-[slot=multi-select-value]:flex *:data-[slot=multi-select-value]:items-stretch *:data-[slot=multi-select-value]:gap-2 [&_svg]:shrink-0",
|
|
37
37
|
n.class
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as c, createBlock as s, openBlock as i, normalizeProps as C, guardReactiveProps as n, withCtx as h, createElementBlock as p, normalizeStyle as m, normalizeClass as d, createElementVNode as t } from "vue";
|
|
2
|
+
import w from "../components/IconWrapper/IconWrapper.vue.js";
|
|
3
|
+
const f = ["width", "height"], k = /* @__PURE__ */ c({
|
|
4
|
+
__name: "AtCheckCircleRegularIcon",
|
|
5
|
+
props: {
|
|
6
|
+
size: {},
|
|
7
|
+
color: {},
|
|
8
|
+
class: {},
|
|
9
|
+
style: {},
|
|
10
|
+
onClickCallback: { type: Function }
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const r = o;
|
|
14
|
+
return (g, l) => (i(), s(w, C(n(r)), {
|
|
15
|
+
default: h(({ class: a, style: e }) => [
|
|
16
|
+
(i(), p("svg", {
|
|
17
|
+
class: d(a),
|
|
18
|
+
style: m(e),
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
width: e.width,
|
|
21
|
+
height: e.height,
|
|
22
|
+
viewBox: "0 0 28 28",
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, l[0] || (l[0] = [
|
|
25
|
+
t("g", { "clip-path": "url(#clip0_1779_6768)" }, [
|
|
26
|
+
t("path", { d: "M20.7318 10.8562C21.1511 11.283 21.1446 11.9688 20.7167 12.388L15.9218 17.0951C15.0736 17.9271 13.9816 18.342 12.8885 18.342C11.8073 18.342 10.7262 17.9347 9.88117 17.1189L7.82392 15.0963C7.39708 14.6771 7.39167 13.9913 7.81092 13.5645C8.22908 13.1366 8.917 13.1312 9.34275 13.5515L11.3935 15.5676C12.2342 16.3801 13.5613 16.3758 14.4063 15.5481L19.2 10.8421C19.6257 10.4218 20.3093 10.4293 20.7318 10.8562ZM27 14C27 21.1684 21.1684 27 14 27C6.83158 27 1 21.1684 1 14C1 6.83158 6.83158 1 14 1C21.1684 1 27 6.83158 27 14ZM24.8333 14C24.8333 8.0265 19.9735 3.16667 14 3.16667C8.0265 3.16667 3.16667 8.0265 3.16667 14C3.16667 19.9735 8.0265 24.8333 14 24.8333C19.9735 24.8333 24.8333 19.9735 24.8333 14Z" })
|
|
27
|
+
], -1),
|
|
28
|
+
t("defs", null, [
|
|
29
|
+
t("clipPath", { id: "clip0_1779_6768" }, [
|
|
30
|
+
t("rect", {
|
|
31
|
+
width: "26",
|
|
32
|
+
height: "26",
|
|
33
|
+
fill: "white",
|
|
34
|
+
transform: "translate(1 1)"
|
|
35
|
+
})
|
|
36
|
+
])
|
|
37
|
+
], -1)
|
|
38
|
+
]), 14, f))
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 16));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
k as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as s, createBlock as
|
|
1
|
+
import { defineComponent as s, createBlock as a, openBlock as C, normalizeProps as c, guardReactiveProps as n, withCtx as h, createElementBlock as p, normalizeStyle as d, normalizeClass as m, createElementVNode as t } from "vue";
|
|
2
2
|
import w from "../components/IconWrapper/IconWrapper.vue.js";
|
|
3
|
-
const
|
|
3
|
+
const f = ["width", "height"], k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "AtCirclePlusSolidIcon",
|
|
5
5
|
props: {
|
|
6
6
|
size: {},
|
|
@@ -11,7 +11,7 @@ const u = ["width", "height"], k = /* @__PURE__ */ s({
|
|
|
11
11
|
},
|
|
12
12
|
setup(o) {
|
|
13
13
|
const i = o;
|
|
14
|
-
return (
|
|
14
|
+
return (u, l) => (C(), a(w, c(n(i)), {
|
|
15
15
|
default: h(({ class: r, style: e }) => [
|
|
16
16
|
(C(), p("svg", {
|
|
17
17
|
class: m(r),
|
|
@@ -35,7 +35,7 @@ const u = ["width", "height"], k = /* @__PURE__ */ s({
|
|
|
35
35
|
})
|
|
36
36
|
])
|
|
37
37
|
], -1)
|
|
38
|
-
]), 14,
|
|
38
|
+
]), 14, f))
|
|
39
39
|
]),
|
|
40
40
|
_: 1
|
|
41
41
|
}, 16));
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as s, createBlock as C, openBlock as i, normalizeProps as c, guardReactiveProps as n, withCtx as h, createElementBlock as p, normalizeStyle as m, normalizeClass as d, createElementVNode as t } from "vue";
|
|
2
|
+
import w from "../components/IconWrapper/IconWrapper.vue.js";
|
|
3
|
+
const f = ["width", "height"], _ = /* @__PURE__ */ s({
|
|
4
|
+
__name: "AtCircleXMarkRegularIcon",
|
|
5
|
+
props: {
|
|
6
|
+
size: {},
|
|
7
|
+
color: {},
|
|
8
|
+
class: {},
|
|
9
|
+
style: {},
|
|
10
|
+
onClickCallback: { type: Function }
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const r = o;
|
|
14
|
+
return (g, l) => (i(), C(w, c(n(r)), {
|
|
15
|
+
default: h(({ class: a, style: e }) => [
|
|
16
|
+
(i(), p("svg", {
|
|
17
|
+
class: d(a),
|
|
18
|
+
style: m(e),
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
width: e.width,
|
|
21
|
+
height: e.height,
|
|
22
|
+
viewBox: "0 0 28 28",
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, l[0] || (l[0] = [
|
|
25
|
+
t("g", { "clip-path": "url(#clip0_1779_6799)" }, [
|
|
26
|
+
t("path", { d: "M18.0159 11.5159L15.5318 14L18.0159 16.4841C18.4395 16.9077 18.4395 17.5923 18.0159 18.0159C17.8047 18.2272 17.5273 18.3333 17.25 18.3333C16.9727 18.3333 16.6953 18.2272 16.4841 18.0159L14 15.5318L11.5159 18.0159C11.3047 18.2272 11.0273 18.3333 10.75 18.3333C10.4727 18.3333 10.1953 18.2272 9.98408 18.0159C9.5605 17.5923 9.5605 16.9077 9.98408 16.4841L12.4682 14L9.98408 11.5159C9.5605 11.0923 9.5605 10.4077 9.98408 9.98408C10.4077 9.5605 11.0923 9.5605 11.5159 9.98408L14 12.4682L16.4841 9.98408C16.9077 9.5605 17.5923 9.5605 18.0159 9.98408C18.4395 10.4077 18.4395 11.0923 18.0159 11.5159ZM27 14C27 21.1684 21.1684 27 14 27C6.83158 27 1 21.1684 1 14C1 6.83158 6.83158 1 14 1C21.1684 1 27 6.83158 27 14ZM24.8333 14C24.8333 8.0265 19.9735 3.16667 14 3.16667C8.0265 3.16667 3.16667 8.0265 3.16667 14C3.16667 19.9735 8.0265 24.8333 14 24.8333C19.9735 24.8333 24.8333 19.9735 24.8333 14Z" })
|
|
27
|
+
], -1),
|
|
28
|
+
t("defs", null, [
|
|
29
|
+
t("clipPath", { id: "clip0_1779_6799" }, [
|
|
30
|
+
t("rect", {
|
|
31
|
+
width: "26",
|
|
32
|
+
height: "26",
|
|
33
|
+
fill: "white",
|
|
34
|
+
transform: "translate(1 1)"
|
|
35
|
+
})
|
|
36
|
+
])
|
|
37
|
+
], -1)
|
|
38
|
+
]), 14, f))
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 16));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_ as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { defineComponent as s, createBlock as c, openBlock as i, normalizeProps as n, guardReactiveProps as C, withCtx as h, createElementBlock as p, normalizeStyle as d, normalizeClass as m, createElementVNode as t } from "vue";
|
|
2
|
+
import f from "../components/IconWrapper/IconWrapper.vue.js";
|
|
3
|
+
const w = ["width", "height"], _ = /* @__PURE__ */ s({
|
|
4
|
+
__name: "AtCircleXMarkSolidIcon",
|
|
5
|
+
props: {
|
|
6
|
+
size: {},
|
|
7
|
+
color: {},
|
|
8
|
+
class: {},
|
|
9
|
+
style: {},
|
|
10
|
+
onClickCallback: { type: Function }
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const r = o;
|
|
14
|
+
return (g, l) => (i(), c(f, n(C(r)), {
|
|
15
|
+
default: h(({ class: a, style: e }) => [
|
|
16
|
+
(i(), p("svg", {
|
|
17
|
+
class: m(a),
|
|
18
|
+
style: d(e),
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
width: e.width,
|
|
21
|
+
height: e.height,
|
|
22
|
+
viewBox: "0 0 28 28",
|
|
23
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
24
|
+
}, l[0] || (l[0] = [
|
|
25
|
+
t("g", { "clip-path": "url(#clip0_1779_6814)" }, [
|
|
26
|
+
t("path", { d: "M14 1C6.83158 1 1 6.83158 1 14C1 21.1684 6.83158 27 14 27C21.1684 27 27 21.1684 27 14C27 6.83158 21.1684 1 14 1ZM18.0159 16.4841C18.4395 16.9077 18.4395 17.5923 18.0159 18.0159C17.8047 18.2272 17.5273 18.3333 17.25 18.3333C16.9727 18.3333 16.6953 18.2272 16.4841 18.0159L14 15.5318L11.5159 18.0159C11.3047 18.2272 11.0273 18.3333 10.75 18.3333C10.4727 18.3333 10.1953 18.2272 9.98408 18.0159C9.5605 17.5923 9.5605 16.9077 9.98408 16.4841L12.4682 14L9.98408 11.5159C9.5605 11.0923 9.5605 10.4077 9.98408 9.98408C10.4077 9.5605 11.0923 9.5605 11.5159 9.98408L14 12.4682L16.4841 9.98408C16.9077 9.5605 17.5923 9.5605 18.0159 9.98408C18.4395 10.4077 18.4395 11.0923 18.0159 11.5159L15.5318 14L18.0159 16.4841Z" })
|
|
27
|
+
], -1),
|
|
28
|
+
t("defs", null, [
|
|
29
|
+
t("clipPath", { id: "clip0_1779_6814" }, [
|
|
30
|
+
t("rect", {
|
|
31
|
+
width: "26",
|
|
32
|
+
height: "26",
|
|
33
|
+
fill: "white",
|
|
34
|
+
transform: "translate(1 1)"
|
|
35
|
+
})
|
|
36
|
+
])
|
|
37
|
+
], -1)
|
|
38
|
+
]), 14, w))
|
|
39
|
+
]),
|
|
40
|
+
_: 1
|
|
41
|
+
}, 16));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
_ as default
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as a, createBlock as
|
|
1
|
+
import { defineComponent as a, createBlock as s, openBlock as o, normalizeProps as c, guardReactiveProps as n, withCtx as h, createElementBlock as p, normalizeStyle as d, normalizeClass as m, createElementVNode as t } from "vue";
|
|
2
2
|
import w from "../components/IconWrapper/IconWrapper.vue.js";
|
|
3
|
-
const
|
|
3
|
+
const f = ["width", "height"], _ = /* @__PURE__ */ a({
|
|
4
4
|
__name: "AtOrdenacaoRegularIcon",
|
|
5
5
|
props: {
|
|
6
6
|
size: {},
|
|
@@ -11,7 +11,7 @@ const g = ["width", "height"], _ = /* @__PURE__ */ a({
|
|
|
11
11
|
},
|
|
12
12
|
setup(C) {
|
|
13
13
|
const i = C;
|
|
14
|
-
return (
|
|
14
|
+
return (g, l) => (o(), s(w, c(n(i)), {
|
|
15
15
|
default: h(({ class: r, style: e }) => [
|
|
16
16
|
(o(), p("svg", {
|
|
17
17
|
class: m(r),
|
|
@@ -35,7 +35,7 @@ const g = ["width", "height"], _ = /* @__PURE__ */ a({
|
|
|
35
35
|
})
|
|
36
36
|
])
|
|
37
37
|
], -1)
|
|
38
|
-
]), 14,
|
|
38
|
+
]), 14, f))
|
|
39
39
|
]),
|
|
40
40
|
_: 1
|
|
41
41
|
}, 16));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "./IconWrapper.vue2.js";
|
|
2
2
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
const
|
|
3
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-43193bf7"]]);
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
a as default
|
|
6
6
|
};
|
|
@@ -9,16 +9,18 @@ const h = ["role"], g = "icon-wrapper", w = /* @__PURE__ */ u({
|
|
|
9
9
|
onClickCallback: { type: Function }
|
|
10
10
|
},
|
|
11
11
|
setup(r) {
|
|
12
|
-
const e = r, { class: s, style:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
const e = r, { class: s, style: t } = p(e), n = l(() => {
|
|
13
|
+
const o = {
|
|
14
|
+
width: e.size || "28",
|
|
15
|
+
height: e.size || "28"
|
|
16
|
+
};
|
|
17
|
+
return e.color && (o.color = e.color, o.fill = e.color), o;
|
|
18
|
+
}), a = m(), c = l(() => a.onClick ? "button" : "figure"), i = l(() => ({
|
|
17
19
|
...n.value,
|
|
18
|
-
...
|
|
20
|
+
...t == null ? void 0 : t.value
|
|
19
21
|
}));
|
|
20
|
-
return (
|
|
21
|
-
v(
|
|
22
|
+
return (o, S) => (f(), d("span", k(o.$attrs, { role: c.value }), [
|
|
23
|
+
v(o.$slots, "default", {
|
|
22
24
|
class: y([g, C(s)]),
|
|
23
25
|
style: z(i.value)
|
|
24
26
|
}, void 0, !0)
|
|
@@ -30,7 +30,7 @@ const N = { class: "flex items-center gap-2" }, I = /* @__PURE__ */ m({
|
|
|
30
30
|
"hover:ring-ring/24 hover:ring-[2px]",
|
|
31
31
|
"focus-visible:ring-ring/50 outline-none focus-visible:ring-[3px]",
|
|
32
32
|
"aria-invalid:ring-destructive/20 aria-invalid:border-destructive",
|
|
33
|
-
"flex w-
|
|
33
|
+
"flex w-full h-10 items-center justify-between gap-2 rounded-xl border bg-transparent p-2.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow]",
|
|
34
34
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:!border-neutral-200 disabled:bg-gray-100 data-[disabled]:pointer-events-none",
|
|
35
35
|
"*:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2",
|
|
36
36
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agrotools1/at-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.21",
|
|
5
5
|
"private": false,
|
|
6
|
+
"packageManager": "pnpm@9.1.0",
|
|
6
7
|
"description": "Componentes da Agrotools - Versão 2 (com re-export da V1)",
|
|
7
8
|
"author": "Agrotools",
|
|
8
9
|
"license": "MIT",
|
|
@@ -36,6 +37,13 @@
|
|
|
36
37
|
"dist",
|
|
37
38
|
"storybook-static"
|
|
38
39
|
],
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "vite build",
|
|
42
|
+
"test": "vitest run",
|
|
43
|
+
"test:watch": "vitest --watch",
|
|
44
|
+
"storybook": "storybook dev -p 6007",
|
|
45
|
+
"build:storybook": "storybook build"
|
|
46
|
+
},
|
|
39
47
|
"peerDependencies": {
|
|
40
48
|
"@internationalized/date": "^3.8.2",
|
|
41
49
|
"@tanstack/vue-table": "^8.21.3",
|
|
@@ -44,6 +52,8 @@
|
|
|
44
52
|
},
|
|
45
53
|
"dependencies": {
|
|
46
54
|
"@agrotools1/at-components1": "^1.1.2",
|
|
55
|
+
"@agrotools1/at-icons": "workspace:*",
|
|
56
|
+
"@agrotools1/at-tailwind-config": "workspace:*",
|
|
47
57
|
"@floating-ui/dom": "^1.4.2",
|
|
48
58
|
"@floating-ui/vue": "^1.0.1",
|
|
49
59
|
"@vueuse/core": "^13.4.0",
|
|
@@ -54,9 +64,7 @@
|
|
|
54
64
|
"reka-ui": "^2.5.0",
|
|
55
65
|
"tailwind-merge": "^3.3.1",
|
|
56
66
|
"tw-animate-css": "^1.3.4",
|
|
57
|
-
"vue-sonner": "^2.0.8"
|
|
58
|
-
"@agrotools1/at-icons": "1.0.8",
|
|
59
|
-
"@agrotools1/at-tailwind-config": "0.2.0"
|
|
67
|
+
"vue-sonner": "^2.0.8"
|
|
60
68
|
},
|
|
61
69
|
"devDependencies": {
|
|
62
70
|
"@internationalized/date": "^3.8.2",
|
|
@@ -78,12 +86,5 @@
|
|
|
78
86
|
},
|
|
79
87
|
"nx": {
|
|
80
88
|
"name": "at-components-v2"
|
|
81
|
-
},
|
|
82
|
-
"scripts": {
|
|
83
|
-
"build": "vite build",
|
|
84
|
-
"test": "vitest run",
|
|
85
|
-
"test:watch": "vitest --watch",
|
|
86
|
-
"storybook": "storybook dev -p 6007",
|
|
87
|
-
"build:storybook": "storybook build"
|
|
88
89
|
}
|
|
89
|
-
}
|
|
90
|
+
}
|