@caipira/tamandua 0.0.66 → 0.0.68
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/Backdrop.js +2 -2
- package/dist/Backdrop.vue_vue_type_script_setup_true_lang-Dyo6_-EM.js +22 -0
- package/dist/Button.js +2 -2
- package/dist/{Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js → Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js} +29 -29
- package/dist/ChartLine.css +1 -1
- package/dist/{Drawer-Cl9_4uHA.js → Drawer-y5xBARd2.js} +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.js +2 -2
- package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-DeY4vid5.js → Dropdown.vue_vue_type_script_setup_true_lang-MuajPvzR.js} +24 -24
- package/dist/FileDrop.js +2 -2
- package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js → FileDrop.vue_vue_type_script_setup_true_lang-Bq0lAgZ7.js} +1 -1
- package/dist/InputCheckbox.js +2 -2
- package/dist/{InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js → InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js} +4 -4
- package/dist/InputDate.js +2 -2
- package/dist/{InputDate.vue_vue_type_script_setup_true_lang-BdELykj8.js → InputDate.vue_vue_type_script_setup_true_lang-BUEAELkk.js} +2 -2
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js → InputPassword.vue_vue_type_script_setup_true_lang-ChHDOnS8.js} +35 -35
- package/dist/InputPrice.js +2 -2
- package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js → InputPrice.vue_vue_type_script_setup_true_lang-9UZ7YqAf.js} +12 -12
- package/dist/InputRadio.js +2 -2
- package/dist/InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js +35 -0
- package/dist/InputSelect.js +2 -2
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js +232 -0
- package/dist/InputSwitch.js +2 -2
- package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js → InputSwitch.vue_vue_type_script_setup_true_lang-BVGfQFZh.js} +10 -9
- package/dist/Modal.js +2 -2
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js → Modal.vue_vue_type_script_setup_true_lang-BvUk8ebI.js} +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-BCQUrEVO.js +110 -0
- package/dist/Popover-Bq_SpOWb.js +73 -0
- package/dist/Popover.css +1 -0
- package/dist/Popover.js +2 -2
- package/dist/{ProgressCircle-Cpmi2CpO.js → ProgressCircle-C5CnEEoe.js} +14 -14
- package/dist/ProgressCircle.css +1 -1
- package/dist/ProgressCircle.js +2 -2
- package/dist/{ProgressLine-CTS0VOAI.js → ProgressLine-BqINh5jh.js} +13 -13
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/Skeleton.js +2 -2
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-Dsy_4Ftz.js +18 -0
- package/dist/Tab.js +2 -2
- package/dist/{Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js → Tab.vue_vue_type_script_setup_true_lang-OuqLqd04.js} +16 -16
- package/dist/components.js +19 -19
- package/dist/index.css +62 -41
- package/dist/{plugin-BJyDH94F.js → plugin-3Ql4s0Jh.js} +1 -1
- package/dist/{plugin-CJ6sqqaI.js → plugin-43q0Kzto.js} +1 -1
- package/dist/{plugin-C-iGigb_.js → plugin-AU2qI2I9.js} +1 -1
- package/dist/{plugin-MAzqwXys.js → plugin-CV6IjnsL.js} +1 -1
- package/dist/{plugin-Cr3oXX-8.js → plugin-CV_fI920.js} +1 -1
- package/dist/{plugin-RM2wZuwL.js → plugin-Co9LymNO.js} +1 -1
- package/dist/{plugin-DrKx8l8j.js → plugin-CzRCyET3.js} +1 -1
- package/dist/{plugin-wVt0wQNv.js → plugin-DBDBJ5_6.js} +1 -1
- package/dist/{plugin-BVJKxqmv.js → plugin-DIj5ypE6.js} +1 -1
- package/dist/{plugin-CZ2rAHjJ.js → plugin-DMGSStZm.js} +1 -1
- package/dist/{plugin-DPAnsB4s.js → plugin-DNJyBcDk.js} +1 -1
- package/dist/{plugin-Ch67LOIy.js → plugin-DSHWwE9A.js} +1 -1
- package/dist/{plugin-Do2-cqMT.js → plugin-DXPEO1fb.js} +1 -1
- package/dist/{plugin-C1kAmMfE.js → plugin-DYHfPgzY.js} +1 -1
- package/dist/{plugin-CNwzCYlr.js → plugin-JMSzJgz5.js} +1 -1
- package/dist/plugin-RTst32IC.js +10 -0
- package/dist/{plugin-B63n9_uc.js → plugin-hQ-aWPlo.js} +1 -1
- package/dist/{plugin-DxG6Hhao.js → plugin-jyvJNavM.js} +1 -1
- package/dist/{plugin-dX-bbpm5.js → plugin-n_PnyR3n.js} +1 -1
- package/dist/{plugins-BFVTdy-_.js → plugins-CEGTMSZE.js} +27 -27
- package/dist/plugins.js +27 -27
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Pagination/Pagination.vue.d.ts +9 -0
- package/dist/types/components/Pagination/types.d.ts +1 -0
- package/dist/types/components/Skeleton/Skeleton.vue.d.ts +29 -7
- package/dist/types/components/Skeleton/types.d.ts +4 -1
- package/package.json +1 -1
- package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +0 -22
- package/dist/InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js +0 -35
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BuO105oW.js +0 -227
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-BB6dLKpi.js +0 -106
- package/dist/Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js +0 -71
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js +0 -11
- package/dist/plugin-ColpxTKB.js +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r } from "./register-component-B-fdqewb.js";
|
|
2
|
-
import { _ as s } from "./Pagination.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "./Pagination.vue_vue_type_script_setup_true_lang-BCQUrEVO.js";
|
|
3
3
|
const m = {
|
|
4
4
|
install(o) {
|
|
5
5
|
r(o, s);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js";
|
|
2
2
|
import { p } from "./plugin-DNwjBl_u.js";
|
|
3
3
|
import "vue";
|
|
4
|
-
import { p as i } from "./plugin-
|
|
5
|
-
import "./Button.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { p as r } from "./plugin-
|
|
4
|
+
import { p as i } from "./plugin-AU2qI2I9.js";
|
|
5
|
+
import "./Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js";
|
|
6
|
+
import { p as r } from "./plugin-CV_fI920.js";
|
|
7
7
|
import "./transform-DSaNEFMr.js";
|
|
8
8
|
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
9
9
|
import { p as o } from "./plugin-DDXOF4cU.js";
|
|
10
10
|
import { p as n } from "./plugin-CyDnzy2n.js";
|
|
11
|
-
import "./Drawer-
|
|
12
|
-
import { p as m } from "./plugin-
|
|
13
|
-
import { p as u } from "./plugin-
|
|
14
|
-
import { p as l } from "./plugin-
|
|
11
|
+
import "./Drawer-y5xBARd2.js";
|
|
12
|
+
import { p as m } from "./plugin-JMSzJgz5.js";
|
|
13
|
+
import { p as u } from "./plugin-CzRCyET3.js";
|
|
14
|
+
import { p as l } from "./plugin-43q0Kzto.js";
|
|
15
15
|
import "./Form.vue_vue_type_script_setup_true_lang-CNGNCak7.js";
|
|
16
16
|
import { p as t } from "./plugin-BuU0zOfE.js";
|
|
17
17
|
import { p as g } from "./plugin-CvohbpUQ.js";
|
|
@@ -24,38 +24,38 @@ import { p as e } from "./plugin-DOeDaXWj.js";
|
|
|
24
24
|
import "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
|
|
25
25
|
import { p as $ } from "./plugin-BShPzL82.js";
|
|
26
26
|
import { p as I } from "./plugin--F5QK2vy.js";
|
|
27
|
-
import "./InputCheckbox.vue_vue_type_style_index_0_lang-
|
|
28
|
-
import { p as c } from "./plugin-
|
|
27
|
+
import "./InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js";
|
|
28
|
+
import { p as c } from "./plugin-DIj5ypE6.js";
|
|
29
29
|
import { p as h } from "./plugin-Bq4nQPd4.js";
|
|
30
30
|
import { p as y } from "./plugin-D9KHvOM3.js";
|
|
31
|
-
import { p as b } from "./plugin-
|
|
31
|
+
import { p as b } from "./plugin-DSHWwE9A.js";
|
|
32
32
|
import { p as d } from "./plugin-Br-QOjhk.js";
|
|
33
|
-
import { p as T } from "./plugin-
|
|
33
|
+
import { p as T } from "./plugin-3Ql4s0Jh.js";
|
|
34
34
|
import { p as C } from "./plugin-CrHDShgh.js";
|
|
35
|
-
import { p as S } from "./plugin-
|
|
36
|
-
import "./InputRadio.vue_vue_type_style_index_0_lang-
|
|
37
|
-
import { p as v } from "./plugin-
|
|
38
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
39
|
-
import { p as G } from "./plugin-
|
|
40
|
-
import { p as k } from "./plugin-
|
|
35
|
+
import { p as S } from "./plugin-Co9LymNO.js";
|
|
36
|
+
import "./InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js";
|
|
37
|
+
import { p as v } from "./plugin-DXPEO1fb.js";
|
|
38
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js";
|
|
39
|
+
import { p as G } from "./plugin-DNJyBcDk.js";
|
|
40
|
+
import { p as k } from "./plugin-hQ-aWPlo.js";
|
|
41
41
|
import { p as w } from "./plugin-lYDlOt8p.js";
|
|
42
42
|
import { p as x } from "./plugin-C8Z-XgLn.js";
|
|
43
43
|
import "./Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js";
|
|
44
44
|
import { p as D } from "./plugin-CEByTREY.js";
|
|
45
|
-
import { p as F } from "./plugin-
|
|
45
|
+
import { p as F } from "./plugin-n_PnyR3n.js";
|
|
46
46
|
import { p as L } from "./plugin-DNXazWwT.js";
|
|
47
|
-
import { p as M } from "./plugin-
|
|
47
|
+
import { p as M } from "./plugin-jyvJNavM.js";
|
|
48
48
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-C37pLEUq.js";
|
|
49
49
|
import { p as _ } from "./plugin-2Cr_XUjp.js";
|
|
50
|
-
import "./Popover
|
|
51
|
-
import { p as j } from "./plugin-
|
|
52
|
-
import "./ProgressCircle-
|
|
53
|
-
import { p as A } from "./plugin-
|
|
54
|
-
import "./ProgressLine-
|
|
55
|
-
import { p as B } from "./plugin-
|
|
50
|
+
import "./Popover-Bq_SpOWb.js";
|
|
51
|
+
import { p as j } from "./plugin-RTst32IC.js";
|
|
52
|
+
import "./ProgressCircle-C5CnEEoe.js";
|
|
53
|
+
import { p as A } from "./plugin-CV6IjnsL.js";
|
|
54
|
+
import "./ProgressLine-BqINh5jh.js";
|
|
55
|
+
import { p as B } from "./plugin-DMGSStZm.js";
|
|
56
56
|
import { p as z } from "./plugin-BWfDY9pB.js";
|
|
57
|
-
import { p as E } from "./plugin-
|
|
58
|
-
import { p as O } from "./plugin-
|
|
57
|
+
import { p as E } from "./plugin-DYHfPgzY.js";
|
|
58
|
+
import { p as O } from "./plugin-DBDBJ5_6.js";
|
|
59
59
|
import "./Table-vjjmPzlZ.js";
|
|
60
60
|
import { p as q } from "./plugin-6KewRQ9w.js";
|
|
61
61
|
import "./Tag.vue_vue_type_script_setup_true_lang-CKzb-As0.js";
|
package/dist/plugins.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "./Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js";
|
|
2
2
|
import { p as C } from "./plugin-DNwjBl_u.js";
|
|
3
3
|
import "vue";
|
|
4
|
-
import { p as b } from "./plugin-
|
|
5
|
-
import "./Button.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { p as S } from "./plugin-
|
|
4
|
+
import { p as b } from "./plugin-AU2qI2I9.js";
|
|
5
|
+
import "./Button.vue_vue_type_script_setup_true_lang-DW0Q2Ut2.js";
|
|
6
|
+
import { p as S } from "./plugin-CV_fI920.js";
|
|
7
7
|
import "./transform-DSaNEFMr.js";
|
|
8
8
|
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
9
9
|
import { p as v } from "./plugin-DDXOF4cU.js";
|
|
10
10
|
import { p as D } from "./plugin-CyDnzy2n.js";
|
|
11
|
-
import "./Drawer-
|
|
12
|
-
import { p as L } from "./plugin-
|
|
13
|
-
import { p as A } from "./plugin-
|
|
14
|
-
import { p as E } from "./plugin-
|
|
11
|
+
import "./Drawer-y5xBARd2.js";
|
|
12
|
+
import { p as L } from "./plugin-JMSzJgz5.js";
|
|
13
|
+
import { p as A } from "./plugin-CzRCyET3.js";
|
|
14
|
+
import { p as E } from "./plugin-43q0Kzto.js";
|
|
15
15
|
import "./Form.vue_vue_type_script_setup_true_lang-CNGNCak7.js";
|
|
16
16
|
import { p as j } from "./plugin-BuU0zOfE.js";
|
|
17
17
|
import { p as z } from "./plugin-CvohbpUQ.js";
|
|
@@ -24,38 +24,38 @@ import { p as X } from "./plugin-DOeDaXWj.js";
|
|
|
24
24
|
import "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
|
|
25
25
|
import { p as Z } from "./plugin-BShPzL82.js";
|
|
26
26
|
import { p as $ } from "./plugin--F5QK2vy.js";
|
|
27
|
-
import "./InputCheckbox.vue_vue_type_style_index_0_lang-
|
|
28
|
-
import { p as or } from "./plugin-
|
|
27
|
+
import "./InputCheckbox.vue_vue_type_style_index_0_lang-DqRzwkVN.js";
|
|
28
|
+
import { p as or } from "./plugin-DIj5ypE6.js";
|
|
29
29
|
import { p as tr } from "./plugin-Bq4nQPd4.js";
|
|
30
30
|
import { p as er } from "./plugin-D9KHvOM3.js";
|
|
31
|
-
import { p as nr } from "./plugin-
|
|
31
|
+
import { p as nr } from "./plugin-DSHWwE9A.js";
|
|
32
32
|
import { p as ur } from "./plugin-Br-QOjhk.js";
|
|
33
|
-
import { p as Pr } from "./plugin-
|
|
33
|
+
import { p as Pr } from "./plugin-3Ql4s0Jh.js";
|
|
34
34
|
import { p as gr } from "./plugin-CrHDShgh.js";
|
|
35
|
-
import { p as fr } from "./plugin-
|
|
36
|
-
import "./InputRadio.vue_vue_type_style_index_0_lang-
|
|
37
|
-
import { p as cr } from "./plugin-
|
|
38
|
-
import "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
39
|
-
import { p as yr } from "./plugin-
|
|
40
|
-
import { p as Cr } from "./plugin-
|
|
35
|
+
import { p as fr } from "./plugin-Co9LymNO.js";
|
|
36
|
+
import "./InputRadio.vue_vue_type_style_index_0_lang-DlTO78_z.js";
|
|
37
|
+
import { p as cr } from "./plugin-DXPEO1fb.js";
|
|
38
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-Dy5fjzHK.js";
|
|
39
|
+
import { p as yr } from "./plugin-DNJyBcDk.js";
|
|
40
|
+
import { p as Cr } from "./plugin-hQ-aWPlo.js";
|
|
41
41
|
import { p as br } from "./plugin-lYDlOt8p.js";
|
|
42
42
|
import { p as Sr } from "./plugin-C8Z-XgLn.js";
|
|
43
43
|
import "./Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js";
|
|
44
44
|
import { p as vr } from "./plugin-CEByTREY.js";
|
|
45
|
-
import { p as Dr } from "./plugin-
|
|
45
|
+
import { p as Dr } from "./plugin-n_PnyR3n.js";
|
|
46
46
|
import { p as Lr } from "./plugin-DNXazWwT.js";
|
|
47
|
-
import { p as Ar } from "./plugin-
|
|
47
|
+
import { p as Ar } from "./plugin-jyvJNavM.js";
|
|
48
48
|
import "./Popconfirm.vue_vue_type_script_setup_true_lang-C37pLEUq.js";
|
|
49
49
|
import { p as Er } from "./plugin-2Cr_XUjp.js";
|
|
50
|
-
import "./Popover
|
|
51
|
-
import { p as jr } from "./plugin-
|
|
52
|
-
import "./ProgressCircle-
|
|
53
|
-
import { p as zr } from "./plugin-
|
|
54
|
-
import "./ProgressLine-
|
|
55
|
-
import { p as Jr } from "./plugin-
|
|
50
|
+
import "./Popover-Bq_SpOWb.js";
|
|
51
|
+
import { p as jr } from "./plugin-RTst32IC.js";
|
|
52
|
+
import "./ProgressCircle-C5CnEEoe.js";
|
|
53
|
+
import { p as zr } from "./plugin-CV6IjnsL.js";
|
|
54
|
+
import "./ProgressLine-BqINh5jh.js";
|
|
55
|
+
import { p as Jr } from "./plugin-DMGSStZm.js";
|
|
56
56
|
import { p as Nr } from "./plugin-BWfDY9pB.js";
|
|
57
|
-
import { p as Qr } from "./plugin-
|
|
58
|
-
import { p as Vr } from "./plugin-
|
|
57
|
+
import { p as Qr } from "./plugin-DYHfPgzY.js";
|
|
58
|
+
import { p as Vr } from "./plugin-DBDBJ5_6.js";
|
|
59
59
|
import "./Table-vjjmPzlZ.js";
|
|
60
60
|
import { p as Xr } from "./plugin-6KewRQ9w.js";
|
|
61
61
|
import "./Tag.vue_vue_type_script_setup_true_lang-CKzb-As0.js";
|
package/dist/tamandua.js
CHANGED
|
@@ -6,6 +6,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
6
6
|
type: import("vue").PropType<boolean>;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
+
displayClass: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
9
13
|
hasPageSize: {
|
|
10
14
|
type: import("vue").PropType<boolean>;
|
|
11
15
|
default: boolean;
|
|
@@ -25,6 +29,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
25
29
|
type: import("vue").PropType<boolean>;
|
|
26
30
|
default: boolean;
|
|
27
31
|
};
|
|
32
|
+
displayClass: {
|
|
33
|
+
type: import("vue").PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
28
36
|
hasPageSize: {
|
|
29
37
|
type: import("vue").PropType<boolean>;
|
|
30
38
|
default: boolean;
|
|
@@ -40,6 +48,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
40
48
|
};
|
|
41
49
|
}>>, {
|
|
42
50
|
disabled: boolean;
|
|
51
|
+
displayClass: string;
|
|
43
52
|
hasPageSize: boolean;
|
|
44
53
|
pageLengths: Array<number>;
|
|
45
54
|
showDescription: boolean;
|
|
@@ -1,8 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { SkeletonProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkeletonProps>, {
|
|
4
|
+
marginClass: string;
|
|
5
|
+
sizeClass: string;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkeletonProps>, {
|
|
7
|
+
marginClass: string;
|
|
8
|
+
sizeClass: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
marginClass: string;
|
|
11
|
+
sizeClass: string;
|
|
12
|
+
}, {}>;
|
|
8
13
|
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, openBlock as s, createElementBlock as c, normalizeClass as p } from "vue";
|
|
2
|
-
const k = /* @__PURE__ */ i({
|
|
3
|
-
name: "TBackdrop",
|
|
4
|
-
__name: "Backdrop",
|
|
5
|
-
props: {
|
|
6
|
-
isTransparent: { type: Boolean, default: !1 }
|
|
7
|
-
},
|
|
8
|
-
emits: ["click"],
|
|
9
|
-
setup(t, { emit: n }) {
|
|
10
|
-
const o = t, r = n;
|
|
11
|
-
return (l, e) => (s(), c("div", {
|
|
12
|
-
class: p(["fixed inset-0", {
|
|
13
|
-
"bg-caipira-tertiary opacity-80": !o.isTransparent
|
|
14
|
-
}]),
|
|
15
|
-
role: "button",
|
|
16
|
-
onClick: e[0] || (e[0] = (a) => r("click", a))
|
|
17
|
-
}, null, 2));
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
export {
|
|
21
|
-
k as _
|
|
22
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import './InputRadio.css';
|
|
2
|
-
import { defineComponent as p, inject as r, openBlock as u, createElementBlock as m, createElementVNode as o, unref as a, toDisplayString as b } from "vue";
|
|
3
|
-
const h = { class: "h-9 inline-flex items-center" }, v = ["value", "name", "disabled", "checked"];
|
|
4
|
-
let f = 0;
|
|
5
|
-
const g = /* @__PURE__ */ p({
|
|
6
|
-
name: "TInputRadio",
|
|
7
|
-
__name: "InputRadio",
|
|
8
|
-
props: {
|
|
9
|
-
value: {},
|
|
10
|
-
label: {}
|
|
11
|
-
},
|
|
12
|
-
setup(t) {
|
|
13
|
-
const n = `radio_${++f}`, c = r("name", ""), e = t, l = r("model", ""), d = r("change", () => {
|
|
14
|
-
}), s = r("disabled", !1);
|
|
15
|
-
return (_, i) => (u(), m("div", h, [
|
|
16
|
-
o("input", {
|
|
17
|
-
value: e.value,
|
|
18
|
-
name: a(c),
|
|
19
|
-
id: n,
|
|
20
|
-
disabled: a(s),
|
|
21
|
-
checked: e.value === a(l),
|
|
22
|
-
type: "radio",
|
|
23
|
-
class: "form-radio w-5 h-5 border input-border checked:hover:border-caipira-primary-inverted checked:focus:border-caipira-primary-inverted checked:border-caipira-primary-inverted input-outline focus:input-outline bg-caipira-primary color-caipira-primary",
|
|
24
|
-
onChange: i[0] || (i[0] = (k) => a(d)(e.value))
|
|
25
|
-
}, null, 40, v),
|
|
26
|
-
o("label", {
|
|
27
|
-
class: "cursor-pointer pl-2 mr-3 input-label",
|
|
28
|
-
for: n
|
|
29
|
-
}, b(e.label), 1)
|
|
30
|
-
]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
g as _
|
|
35
|
-
};
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ue, mergeModels as O, useModel as ne, ref as d, computed as I, onBeforeMount as oe, watch as D, resolveComponent as k, openBlock as o, createBlock as z, normalizeClass as x, withCtx as R, createElementVNode as se, createVNode as K, createElementBlock as p, renderSlot as g, normalizeProps as _, mergeProps as M, Fragment as V, renderList as N, guardReactiveProps as U, toDisplayString as q, createCommentVNode as T, withDirectives as ie, vModelText as re, createSlots as ce, createTextVNode as pe, nextTick as de } from "vue";
|
|
2
|
-
import { a as fe, E as ve } from "./ui-J-lhC9qd.js";
|
|
3
|
-
const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "inline-flex w-full justify-between items-center"
|
|
6
|
-
}, be = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "inline-flex items-center"
|
|
9
|
-
}, ge = /* @__PURE__ */ ue({
|
|
10
|
-
name: "TInputSelect",
|
|
11
|
-
__name: "InputSelect",
|
|
12
|
-
props: /* @__PURE__ */ O({
|
|
13
|
-
size: { default: fe.Default },
|
|
14
|
-
options: { default: () => [] },
|
|
15
|
-
mapper: { type: Function, default: (f) => ({
|
|
16
|
-
value: f.id ?? f.uuid,
|
|
17
|
-
label: f
|
|
18
|
-
}) },
|
|
19
|
-
filter: { type: Function, default: (f, B) => B.label.toLowerCase().indexOf(f.toLowerCase()) >= 0 },
|
|
20
|
-
tooltip: { default: "" },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
resource: {},
|
|
23
|
-
multiple: { type: Boolean, default: !1 },
|
|
24
|
-
placeholder: { default: "" },
|
|
25
|
-
initialValue: {},
|
|
26
|
-
isSearchable: { type: Boolean, default: !1 },
|
|
27
|
-
dropdownPlacement: { default: ve.BOTTOM_START },
|
|
28
|
-
widthClass: { default: "w-full" },
|
|
29
|
-
borderClass: { default: "border input-border" },
|
|
30
|
-
roundnessClass: { default: "input-roundness" }
|
|
31
|
-
}, {
|
|
32
|
-
modelValue: {},
|
|
33
|
-
modelModifiers: {}
|
|
34
|
-
}),
|
|
35
|
-
emits: /* @__PURE__ */ O(["update:model-value"], ["update:modelValue"]),
|
|
36
|
-
setup(f, { emit: B }) {
|
|
37
|
-
const l = f;
|
|
38
|
-
let $ = !1, C, j = "";
|
|
39
|
-
const G = B, s = ne(f, "modelValue"), u = d([]), c = d(""), P = d(null), F = d(), i = d(!1), L = d(null), a = d([]), A = d(!1), v = d(null), h = I(() => a.value.length > 0), m = I(() => l.isSearchable && i.value), b = I(() => typeof l.resource == "function"), H = (e) => !l.multiple || !s.value || !Array.isArray(s.value) ? !1 : s.value.includes(e.value), J = (e = s.value) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), Q = (e) => {
|
|
40
|
-
G("update:model-value", e);
|
|
41
|
-
}, y = (e = s.value) => {
|
|
42
|
-
if (J(e))
|
|
43
|
-
if (l.multiple)
|
|
44
|
-
Array.isArray(e) && (a.value = e.map(
|
|
45
|
-
(t) => E(t)
|
|
46
|
-
).filter((t) => t > -1));
|
|
47
|
-
else {
|
|
48
|
-
const t = E(e);
|
|
49
|
-
~t && (a.value = [t]);
|
|
50
|
-
}
|
|
51
|
-
}, W = (e) => {
|
|
52
|
-
i.value = !i.value, i.value && m.value && de(() => {
|
|
53
|
-
P.value?.focus();
|
|
54
|
-
});
|
|
55
|
-
}, E = (e) => u.value.findIndex(
|
|
56
|
-
(t) => t.value === e
|
|
57
|
-
), S = async (e = !1) => {
|
|
58
|
-
if (!l.resource)
|
|
59
|
-
return;
|
|
60
|
-
A.value = !0;
|
|
61
|
-
const t = {
|
|
62
|
-
t: c.value,
|
|
63
|
-
r: "option"
|
|
64
|
-
};
|
|
65
|
-
e && v.value && v.value.pages > v.value.page ? t.page = v.value.page + 1 : e = !1, !c.value && s.value && (t.i = s.value);
|
|
66
|
-
const r = await l.resource(t);
|
|
67
|
-
e ? u.value.push(...r.items.map(l.mapper)) : u.value = r.items.map(l.mapper), v.value = r.pagination, !b.value && c.value && y(c.value), A.value = !1;
|
|
68
|
-
}, X = () => {
|
|
69
|
-
!c.value || j === c.value || (C && (clearTimeout(C), C = null), C = setTimeout(() => {
|
|
70
|
-
j = c.value, b.value ? (i.value || (i.value = !0), S()) : l.isSearchable && (u.value = l.options.filter(
|
|
71
|
-
(e) => l.filter(c.value, e)
|
|
72
|
-
));
|
|
73
|
-
}, 500));
|
|
74
|
-
}, Y = ({
|
|
75
|
-
index: e,
|
|
76
|
-
hold: t
|
|
77
|
-
}) => {
|
|
78
|
-
if ($ = !0, l.multiple) {
|
|
79
|
-
const r = a.value.findIndex(
|
|
80
|
-
(w) => w === e
|
|
81
|
-
);
|
|
82
|
-
~r ? a.value.splice(r, 1) : a.value.push(e);
|
|
83
|
-
} else
|
|
84
|
-
a.value = [e];
|
|
85
|
-
(!l.multiple || !t) && (i.value = !1);
|
|
86
|
-
}, Z = () => {
|
|
87
|
-
b.value && v.value && v.value.pages > v.value.page && S(!0);
|
|
88
|
-
}, ee = async (e) => {
|
|
89
|
-
switch (e.key) {
|
|
90
|
-
case "ArrowDown":
|
|
91
|
-
L.value?.move(e);
|
|
92
|
-
break;
|
|
93
|
-
case "Escape":
|
|
94
|
-
i.value = !1;
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
return oe(async () => {
|
|
99
|
-
b.value ? (await S(), y()) : l.options.length > 0 && (u.value = l.options), !s.value && l.initialValue ? y(l.initialValue) : y(s.value);
|
|
100
|
-
}), D(
|
|
101
|
-
() => s.value,
|
|
102
|
-
async (e) => {
|
|
103
|
-
e && (E(e) < 0 && b.value && await S(), y(e));
|
|
104
|
-
}
|
|
105
|
-
), D(
|
|
106
|
-
a,
|
|
107
|
-
(e) => {
|
|
108
|
-
const t = l.multiple ? u.value.filter(
|
|
109
|
-
(r, w) => a.value.includes(w)
|
|
110
|
-
).map((r) => r.value) : u.value[a.value[0]].value;
|
|
111
|
-
$ && ($ = !1, Q(t));
|
|
112
|
-
},
|
|
113
|
-
{ deep: !0 }
|
|
114
|
-
), D(
|
|
115
|
-
() => l.options,
|
|
116
|
-
(e) => {
|
|
117
|
-
e.length > 0 && (u.value = e, s.value && a.value.length === 0 && y(s.value));
|
|
118
|
-
}
|
|
119
|
-
), (e, t) => {
|
|
120
|
-
const r = k("t-tag"), w = k("t-button"), le = k("t-icon"), te = k("t-dropdown"), ae = k("t-popover");
|
|
121
|
-
return o(), z(ae, {
|
|
122
|
-
open: i.value,
|
|
123
|
-
"onUpdate:open": t[1] || (t[1] = (n) => i.value = n),
|
|
124
|
-
placement: l.dropdownPlacement,
|
|
125
|
-
class: x([l.widthClass]),
|
|
126
|
-
ref_key: "popoverRef",
|
|
127
|
-
ref: F
|
|
128
|
-
}, {
|
|
129
|
-
default: R(() => [
|
|
130
|
-
se("div", {
|
|
131
|
-
class: x([{
|
|
132
|
-
"h-9": !l.multiple,
|
|
133
|
-
"h-full *:min-h-9": l.multiple,
|
|
134
|
-
[l.borderClass]: !0,
|
|
135
|
-
[l.roundnessClass]: !0
|
|
136
|
-
}, "flex justify-between items-center w-full max-w-96 input-text-color select-none input-bg-color"])
|
|
137
|
-
}, [
|
|
138
|
-
K(w, {
|
|
139
|
-
variant: "transparent",
|
|
140
|
-
size: "",
|
|
141
|
-
class: x(["h-full", {
|
|
142
|
-
"w-full justify-end pr-2": !m.value && !h.value,
|
|
143
|
-
"w-full justify-between pr-2": !m.value && h.value,
|
|
144
|
-
"w-10 justify-center": m.value
|
|
145
|
-
}]),
|
|
146
|
-
"aria-describedby": F.value?.name,
|
|
147
|
-
icon: i.value === !0 ? "chevron-up" : "chevron-down",
|
|
148
|
-
onClick: W
|
|
149
|
-
}, {
|
|
150
|
-
default: R(() => [
|
|
151
|
-
m.value ? T("", !0) : (o(), p("div", {
|
|
152
|
-
key: 0,
|
|
153
|
-
class: x(["inline-flex items-center ml-2 max-w-[calc(100%-2.5rem)]", {
|
|
154
|
-
"overflow-hidden whitespace-nowrap": !l.multiple,
|
|
155
|
-
"flex-wrap gap-2 py-1": l.multiple
|
|
156
|
-
}])
|
|
157
|
-
}, [
|
|
158
|
-
e.$slots.selection && h.value ? g(e.$slots, "selection", _(M({ key: 0 }, u.value[a.value[0]]))) : e.$slots.default && h.value ? (o(), p(V, { key: 1 }, [
|
|
159
|
-
l.multiple ? (o(!0), p(V, { key: 0 }, N(a.value, (n) => g(e.$slots, "default", _(U(u.value[n])))), 256)) : g(e.$slots, "default", _(M({ key: 1 }, u.value[a.value[0]])))
|
|
160
|
-
], 64)) : h.value ? (o(), p(V, { key: 2 }, [
|
|
161
|
-
l.multiple ? (o(!0), p(V, { key: 0 }, N(a.value, (n) => (o(), z(r, {
|
|
162
|
-
key: n,
|
|
163
|
-
text: u.value[n].label,
|
|
164
|
-
color: "#6e6e6e"
|
|
165
|
-
}, null, 8, ["text"]))), 128)) : (o(), p("span", me, q(u.value[a.value[0]]?.label), 1))
|
|
166
|
-
], 64)) : T("", !0)
|
|
167
|
-
], 2))
|
|
168
|
-
]),
|
|
169
|
-
_: 3
|
|
170
|
-
}, 8, ["aria-describedby", "class", "icon"]),
|
|
171
|
-
m.value ? ie((o(), p("input", {
|
|
172
|
-
key: 0,
|
|
173
|
-
"onUpdate:modelValue": t[0] || (t[0] = (n) => c.value = n),
|
|
174
|
-
type: "text",
|
|
175
|
-
ref_key: "inputRef",
|
|
176
|
-
ref: P,
|
|
177
|
-
placeholder: l.placeholder,
|
|
178
|
-
disabled: l.disabled,
|
|
179
|
-
readonly: !l.isSearchable,
|
|
180
|
-
class: "h-9 bg-transparent input-padding input-roundness input-outline w-full",
|
|
181
|
-
onInput: X,
|
|
182
|
-
onKeydown: ee
|
|
183
|
-
}, null, 40, ye)), [
|
|
184
|
-
[re, c.value]
|
|
185
|
-
]) : T("", !0)
|
|
186
|
-
], 2)
|
|
187
|
-
]),
|
|
188
|
-
content: R(() => [
|
|
189
|
-
K(te, {
|
|
190
|
-
ref_key: "dropdownRef",
|
|
191
|
-
ref: L,
|
|
192
|
-
items: u.value,
|
|
193
|
-
"is-visible": i.value,
|
|
194
|
-
multiple: l.multiple,
|
|
195
|
-
loading: A.value,
|
|
196
|
-
onChange: Y,
|
|
197
|
-
onEndReached: Z
|
|
198
|
-
}, ce({ _: 2 }, [
|
|
199
|
-
e.$slots.default || l.multiple ? {
|
|
200
|
-
name: "default",
|
|
201
|
-
fn: R((n) => [
|
|
202
|
-
l.multiple ? (o(), p("div", he, [
|
|
203
|
-
e.$slots.default ? g(e.$slots, "default", _(M({ key: 0 }, n))) : (o(), p(V, { key: 1 }, [
|
|
204
|
-
pe(q(n.label), 1)
|
|
205
|
-
], 64)),
|
|
206
|
-
H(n) ? (o(), z(le, {
|
|
207
|
-
key: 2,
|
|
208
|
-
icon: "check",
|
|
209
|
-
size: "sm",
|
|
210
|
-
class: "float-right ml-2"
|
|
211
|
-
})) : T("", !0)
|
|
212
|
-
])) : (o(), p("div", be, [
|
|
213
|
-
g(e.$slots, "default", _(U(n)))
|
|
214
|
-
]))
|
|
215
|
-
]),
|
|
216
|
-
key: "0"
|
|
217
|
-
} : void 0
|
|
218
|
-
]), 1032, ["items", "is-visible", "multiple", "loading"])
|
|
219
|
-
]),
|
|
220
|
-
_: 3
|
|
221
|
-
}, 8, ["open", "placement", "class"]);
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
export {
|
|
226
|
-
ge as _
|
|
227
|
-
};
|