@gustavo-valsechi/client 1.3.28 → 1.3.30
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/components/index.d.ts +3 -10
- package/dist/components/index.js +13 -3070
- package/dist/components/index.mjs +11 -3082
- package/dist/components/styles.d.ts +2 -0
- package/dist/components/styles.js +54 -0
- package/dist/components/styles.mjs +19 -0
- package/dist/components/types/avatar/index.d.ts +2 -0
- package/dist/components/types/avatar/index.js +63 -0
- package/dist/components/types/avatar/index.mjs +29 -0
- package/dist/components/types/avatar/styles.d.ts +1 -0
- package/dist/components/types/avatar/styles.js +93 -0
- package/dist/components/types/avatar/styles.mjs +59 -0
- package/dist/components/types/badge/index.d.ts +2 -0
- package/dist/components/types/badge/index.js +54 -0
- package/dist/components/types/badge/index.mjs +20 -0
- package/dist/components/types/badge/styles.d.ts +1 -0
- package/dist/components/types/badge/styles.js +71 -0
- package/dist/components/types/badge/styles.mjs +37 -0
- package/dist/components/types/block/index.d.ts +2 -0
- package/dist/components/types/block/index.js +44 -0
- package/dist/components/types/block/index.mjs +20 -0
- package/dist/components/types/block/styles.d.ts +2 -0
- package/dist/components/types/block/styles.js +65 -0
- package/dist/components/types/block/styles.mjs +30 -0
- package/dist/components/types/chart/index.d.ts +2 -0
- package/dist/components/types/chart/index.js +80 -0
- package/dist/components/types/chart/index.mjs +46 -0
- package/dist/components/types/chart/styles.d.ts +1 -0
- package/dist/components/types/chart/styles.js +42 -0
- package/dist/components/types/chart/styles.mjs +8 -0
- package/dist/components/types/credit-card/assets/index.d.ts +4 -0
- package/dist/components/types/credit-card/assets/index.js +41 -0
- package/dist/components/types/credit-card/assets/index.mjs +21 -0
- package/dist/components/types/credit-card/card/index.d.ts +2 -0
- package/dist/components/types/credit-card/card/index.js +67 -0
- package/dist/components/types/credit-card/card/index.mjs +37 -0
- package/dist/components/types/credit-card/card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/card/styles.js +170 -0
- package/dist/components/types/credit-card/card/styles.mjs +136 -0
- package/dist/components/types/credit-card/functions/index.d.ts +2 -0
- package/dist/components/types/credit-card/functions/index.js +52 -0
- package/dist/components/types/credit-card/functions/index.mjs +22 -0
- package/dist/components/types/credit-card/functions/styles.d.ts +1 -0
- package/dist/components/types/credit-card/functions/styles.js +75 -0
- package/dist/components/types/credit-card/functions/styles.mjs +41 -0
- package/dist/components/types/credit-card/index.d.ts +2 -0
- package/dist/components/types/credit-card/index.js +70 -0
- package/dist/components/types/credit-card/index.mjs +36 -0
- package/dist/components/types/credit-card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/styles.js +72 -0
- package/dist/components/types/credit-card/styles.mjs +38 -0
- package/dist/components/types/credit-card/tools/index.d.ts +6 -0
- package/dist/components/types/credit-card/tools/index.js +58 -0
- package/dist/components/types/credit-card/tools/index.mjs +23 -0
- package/dist/components/types/form/index.d.ts +3 -0
- package/dist/components/types/form/index.js +111 -0
- package/dist/components/types/form/index.mjs +75 -0
- package/dist/components/types/form/styles.d.ts +1 -0
- package/dist/components/types/form/styles.js +53 -0
- package/dist/components/types/form/styles.mjs +19 -0
- package/dist/components/types/form/types/button/index.d.ts +2 -0
- package/dist/components/types/form/types/button/index.js +58 -0
- package/dist/components/types/form/types/button/index.mjs +24 -0
- package/dist/components/types/form/types/button/loading/index.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/index.js +38 -0
- package/dist/components/types/form/types/button/loading/index.mjs +14 -0
- package/dist/components/types/form/types/button/loading/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/styles.js +126 -0
- package/dist/components/types/form/types/button/loading/styles.mjs +92 -0
- package/dist/components/types/form/types/button/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/styles.js +79 -0
- package/dist/components/types/form/types/button/styles.mjs +45 -0
- package/dist/components/types/form/types/datetime/index.d.ts +2 -0
- package/dist/components/types/form/types/datetime/index.js +72 -0
- package/dist/components/types/form/types/datetime/index.mjs +38 -0
- package/dist/components/types/form/types/datetime/styles.d.ts +1 -0
- package/dist/components/types/form/types/datetime/styles.js +78 -0
- package/dist/components/types/form/types/datetime/styles.mjs +44 -0
- package/dist/components/types/form/types/file/index.d.ts +2 -0
- package/dist/components/types/form/types/file/index.js +71 -0
- package/dist/components/types/form/types/file/index.mjs +47 -0
- package/dist/components/types/form/types/file/styles.d.ts +1 -0
- package/dist/components/types/form/types/file/styles.js +65 -0
- package/dist/components/types/form/types/file/styles.mjs +31 -0
- package/dist/components/types/form/types/index.d.ts +7 -0
- package/dist/components/types/form/types/index.js +35 -0
- package/dist/components/types/form/types/index.mjs +8 -0
- package/dist/components/types/form/types/input/index.d.ts +2 -0
- package/dist/components/types/form/types/input/index.js +84 -0
- package/dist/components/types/form/types/input/index.mjs +50 -0
- package/dist/components/types/form/types/input/styles.d.ts +1 -0
- package/dist/components/types/form/types/input/styles.js +84 -0
- package/dist/components/types/form/types/input/styles.mjs +50 -0
- package/dist/components/types/form/types/label/index.d.ts +2 -0
- package/dist/components/types/form/types/label/index.js +34 -0
- package/dist/components/types/form/types/label/index.mjs +10 -0
- package/dist/components/types/form/types/label/styles.d.ts +1 -0
- package/dist/components/types/form/types/label/styles.js +45 -0
- package/dist/components/types/form/types/label/styles.mjs +11 -0
- package/dist/components/types/form/types/select/index.d.ts +2 -0
- package/dist/components/types/form/types/select/index.js +90 -0
- package/dist/components/types/form/types/select/index.mjs +56 -0
- package/dist/components/types/form/types/select/styles.d.ts +1 -0
- package/dist/components/types/form/types/select/styles.js +90 -0
- package/dist/components/types/form/types/select/styles.mjs +56 -0
- package/dist/components/types/form/types/textarea/index.d.ts +2 -0
- package/dist/components/types/form/types/textarea/index.js +72 -0
- package/dist/components/types/form/types/textarea/index.mjs +38 -0
- package/dist/components/types/form/types/textarea/styles.d.ts +1 -0
- package/dist/components/types/form/types/textarea/styles.js +77 -0
- package/dist/components/types/form/types/textarea/styles.mjs +43 -0
- package/dist/components/types/index.d.ts +11 -0
- package/dist/components/types/index.js +43 -0
- package/dist/components/types/index.mjs +12 -0
- package/dist/components/types/loading/app/index.d.ts +2 -0
- package/dist/components/types/loading/app/index.js +35 -0
- package/dist/components/types/loading/app/index.mjs +11 -0
- package/dist/components/types/loading/app/styles.d.ts +1 -0
- package/dist/components/types/loading/app/styles.js +125 -0
- package/dist/components/types/loading/app/styles.mjs +91 -0
- package/dist/components/types/loading/bar/index.d.ts +2 -0
- package/dist/components/types/loading/bar/index.js +34 -0
- package/dist/components/types/loading/bar/index.mjs +10 -0
- package/dist/components/types/loading/bar/styles.d.ts +1 -0
- package/dist/components/types/loading/bar/styles.js +59 -0
- package/dist/components/types/loading/bar/styles.mjs +25 -0
- package/dist/components/types/loading/index.d.ts +2 -0
- package/dist/components/types/loading/index.js +25 -0
- package/dist/components/types/loading/index.mjs +3 -0
- package/dist/components/types/logo/index.d.ts +2 -0
- package/dist/components/types/logo/index.js +37 -0
- package/dist/components/types/logo/index.mjs +13 -0
- package/dist/components/types/logo/styles.d.ts +1 -0
- package/dist/components/types/logo/styles.js +57 -0
- package/dist/components/types/logo/styles.mjs +23 -0
- package/dist/components/types/lottie/animations/index.d.ts +293 -0
- package/dist/components/types/lottie/animations/index.js +36 -0
- package/dist/components/types/lottie/animations/index.mjs +6 -0
- package/dist/components/types/lottie/index.d.ts +2 -0
- package/dist/components/types/lottie/index.js +72 -0
- package/dist/components/types/lottie/index.mjs +38 -0
- package/dist/components/types/lottie/styles.d.ts +1 -0
- package/dist/components/types/lottie/styles.js +60 -0
- package/dist/components/types/lottie/styles.mjs +26 -0
- package/dist/components/types/modal/index.d.ts +2 -0
- package/dist/components/types/modal/index.js +66 -0
- package/dist/components/types/modal/index.mjs +32 -0
- package/dist/components/types/modal/styles.d.ts +1 -0
- package/dist/components/types/modal/styles.js +167 -0
- package/dist/components/types/modal/styles.mjs +133 -0
- package/dist/components/types/table/index.d.ts +3 -0
- package/dist/components/types/table/index.js +171 -0
- package/dist/components/types/table/index.mjs +135 -0
- package/dist/components/types/table/modal/actions.d.ts +10 -0
- package/dist/components/types/table/modal/actions.js +30 -0
- package/dist/components/types/table/modal/actions.mjs +10 -0
- package/dist/components/types/table/modal/index.d.ts +2 -0
- package/dist/components/types/table/modal/index.js +91 -0
- package/dist/components/types/table/modal/index.mjs +61 -0
- package/dist/components/types/table/modal/styles.d.ts +1 -0
- package/dist/components/types/table/modal/styles.js +90 -0
- package/dist/components/types/table/modal/styles.mjs +56 -0
- package/dist/components/types/table/paginate/index.d.ts +2 -0
- package/dist/components/types/table/paginate/index.js +92 -0
- package/dist/components/types/table/paginate/index.mjs +58 -0
- package/dist/components/types/table/paginate/styles.d.ts +1 -0
- package/dist/components/types/table/paginate/styles.js +74 -0
- package/dist/components/types/table/paginate/styles.mjs +40 -0
- package/dist/components/types/table/styles.d.ts +5 -0
- package/dist/components/types/table/styles.js +300 -0
- package/dist/components/types/table/styles.mjs +266 -0
- package/dist/contexts/icon/assets/brands/index.d.ts +2 -0
- package/dist/contexts/icon/assets/brands/index.js +31 -0
- package/dist/contexts/icon/assets/brands/index.mjs +11 -0
- package/dist/contexts/icon/assets/index.d.ts +6 -0
- package/dist/contexts/icon/assets/index.js +42 -0
- package/dist/contexts/icon/assets/index.mjs +12 -0
- package/dist/contexts/icon/assets/regular/index.d.ts +2 -0
- package/dist/contexts/icon/assets/regular/index.js +31 -0
- package/dist/contexts/icon/assets/regular/index.mjs +11 -0
- package/dist/contexts/icon/assets/solid/index.d.ts +2 -0
- package/dist/contexts/icon/assets/solid/index.js +31 -0
- package/dist/contexts/icon/assets/solid/index.mjs +11 -0
- package/dist/contexts/icon/index.d.ts +4 -0
- package/dist/contexts/icon/index.js +107 -0
- package/dist/contexts/icon/index.mjs +72 -0
- package/dist/contexts/icon/styles.d.ts +1 -0
- package/dist/contexts/icon/styles.js +42 -0
- package/dist/contexts/icon/styles.mjs +8 -0
- package/dist/contexts/index.d.ts +4 -20
- package/dist/contexts/index.js +9 -504
- package/dist/contexts/index.mjs +4 -486
- package/dist/contexts/modal/index.d.ts +4 -0
- package/dist/contexts/modal/index.js +92 -0
- package/dist/contexts/modal/index.mjs +57 -0
- package/dist/contexts/modal/styles.d.ts +1 -0
- package/dist/contexts/modal/styles.js +42 -0
- package/dist/contexts/modal/styles.mjs +8 -0
- package/dist/contexts/theme/content.d.ts +3 -0
- package/dist/contexts/theme/content.js +104 -0
- package/dist/contexts/theme/content.mjs +79 -0
- package/dist/contexts/theme/index.d.ts +4 -0
- package/dist/contexts/theme/index.js +68 -0
- package/dist/contexts/theme/index.mjs +43 -0
- package/dist/contexts/theme/styles.d.ts +1 -0
- package/dist/contexts/theme/styles.js +116 -0
- package/dist/contexts/theme/styles.mjs +82 -0
- package/dist/contexts/tooltip/index.d.ts +6 -0
- package/dist/contexts/tooltip/index.js +107 -0
- package/dist/contexts/tooltip/index.mjs +72 -0
- package/dist/contexts/tooltip/styles.d.ts +1 -0
- package/dist/contexts/tooltip/styles.js +78 -0
- package/dist/contexts/tooltip/styles.mjs +44 -0
- package/dist/index.d.ts +4 -17
- package/dist/index.js +8 -3325
- package/dist/index.mjs +4 -3312
- package/dist/interfaces/components/avatar/index.d.ts +6 -0
- package/dist/interfaces/components/avatar/index.js +17 -0
- package/dist/interfaces/components/avatar/index.mjs +1 -0
- package/dist/interfaces/components/badge/index.d.ts +3 -0
- package/dist/interfaces/components/badge/index.js +17 -0
- package/dist/interfaces/components/badge/index.mjs +1 -0
- package/dist/interfaces/components/block/index.d.ts +16 -0
- package/dist/interfaces/components/block/index.js +17 -0
- package/dist/interfaces/components/block/index.mjs +1 -0
- package/dist/interfaces/components/chart/index.d.ts +9 -0
- package/dist/interfaces/components/chart/index.js +17 -0
- package/dist/interfaces/components/chart/index.mjs +1 -0
- package/dist/interfaces/components/credit-card/index.d.ts +16 -0
- package/dist/interfaces/components/credit-card/index.js +17 -0
- package/dist/interfaces/components/credit-card/index.mjs +1 -0
- package/dist/interfaces/components/form/button/index.d.ts +7 -0
- package/dist/interfaces/components/form/button/index.js +17 -0
- package/dist/interfaces/components/form/button/index.mjs +1 -0
- package/dist/interfaces/components/form/datetime/index.d.ts +15 -0
- package/dist/interfaces/components/form/datetime/index.js +17 -0
- package/dist/interfaces/components/form/datetime/index.mjs +1 -0
- package/dist/interfaces/components/form/file/index.d.ts +14 -0
- package/dist/interfaces/components/form/file/index.js +17 -0
- package/dist/interfaces/components/form/file/index.mjs +1 -0
- package/dist/interfaces/components/form/index.d.ts +16 -0
- package/dist/interfaces/components/form/index.js +35 -0
- package/dist/interfaces/components/form/index.mjs +8 -0
- package/dist/interfaces/components/form/input/index.d.ts +17 -0
- package/dist/interfaces/components/form/input/index.js +17 -0
- package/dist/interfaces/components/form/input/index.mjs +1 -0
- package/dist/interfaces/components/form/label/index.d.ts +5 -0
- package/dist/interfaces/components/form/label/index.js +17 -0
- package/dist/interfaces/components/form/label/index.mjs +1 -0
- package/dist/interfaces/components/form/select/index.d.ts +14 -0
- package/dist/interfaces/components/form/select/index.js +17 -0
- package/dist/interfaces/components/form/select/index.mjs +1 -0
- package/dist/interfaces/components/form/textarea/index.d.ts +16 -0
- package/dist/interfaces/components/form/textarea/index.js +17 -0
- package/dist/interfaces/components/form/textarea/index.mjs +1 -0
- package/dist/interfaces/components/index.d.ts +26 -0
- package/dist/interfaces/components/index.js +43 -0
- package/dist/interfaces/components/index.mjs +12 -0
- package/dist/interfaces/components/loading/app/index.d.ts +3 -0
- package/dist/interfaces/components/loading/app/index.js +17 -0
- package/dist/interfaces/components/loading/app/index.mjs +1 -0
- package/dist/interfaces/components/loading/bar/index.d.ts +7 -0
- package/dist/interfaces/components/loading/bar/index.js +17 -0
- package/dist/interfaces/components/loading/bar/index.mjs +1 -0
- package/dist/interfaces/components/loading/index.d.ts +2 -0
- package/dist/interfaces/components/loading/index.js +25 -0
- package/dist/interfaces/components/loading/index.mjs +3 -0
- package/dist/interfaces/components/logo/index.d.ts +6 -0
- package/dist/interfaces/components/logo/index.js +17 -0
- package/dist/interfaces/components/logo/index.mjs +1 -0
- package/dist/interfaces/components/lottie/index.d.ts +12 -0
- package/dist/interfaces/components/lottie/index.js +17 -0
- package/dist/interfaces/components/lottie/index.mjs +1 -0
- package/dist/interfaces/components/modal/index.d.ts +16 -0
- package/dist/interfaces/components/modal/index.js +17 -0
- package/dist/interfaces/components/modal/index.mjs +1 -0
- package/dist/interfaces/components/table/index.d.ts +46 -0
- package/dist/interfaces/components/table/index.js +23 -0
- package/dist/interfaces/components/table/index.mjs +2 -0
- package/dist/interfaces/components/table/paginate/index.d.ts +7 -0
- package/dist/interfaces/components/table/paginate/index.js +17 -0
- package/dist/interfaces/components/table/paginate/index.mjs +1 -0
- package/dist/interfaces/contexts/icon/index.d.ts +3 -0
- package/dist/interfaces/contexts/icon/index.js +17 -0
- package/dist/interfaces/contexts/icon/index.mjs +1 -0
- package/dist/interfaces/contexts/index.d.ts +8 -0
- package/dist/interfaces/contexts/index.js +29 -0
- package/dist/interfaces/contexts/index.mjs +5 -0
- package/dist/interfaces/contexts/modal/index.d.ts +16 -0
- package/dist/interfaces/contexts/modal/index.js +18 -0
- package/dist/interfaces/contexts/modal/index.mjs +2 -0
- package/dist/interfaces/contexts/theme/index.d.ts +42 -0
- package/dist/interfaces/contexts/theme/index.js +17 -0
- package/dist/interfaces/contexts/theme/index.mjs +1 -0
- package/dist/interfaces/contexts/tooltip/index.d.ts +3 -0
- package/dist/interfaces/contexts/tooltip/index.js +17 -0
- package/dist/interfaces/contexts/tooltip/index.mjs +1 -0
- package/dist/interfaces/index.d.ts +2 -12
- package/dist/interfaces/index.js +8 -2
- package/dist/interfaces/index.mjs +2 -0
- package/dist/styled.d.ts +6 -0
- package/dist/tsup.config.d.ts +2 -0
- package/package.json +5 -5
- package/dist/components/index.d.mts +0 -10
- package/dist/contexts/index.d.mts +0 -20
- package/dist/index-BhaGW0O1.d.ts +0 -601
- package/dist/index-BxA8LyyD.d.mts +0 -68
- package/dist/index-DDi0w5pw.d.mts +0 -601
- package/dist/index-DT7VKE7H.d.ts +0 -68
- package/dist/index-Da-DtPS-.d.mts +0 -29
- package/dist/index-Da-DtPS-.d.ts +0 -29
- package/dist/index.d.mts +0 -17
- package/dist/interfaces/index.d.mts +0 -12
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var loading_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(loading_exports);
|
|
19
|
+
__reExport(loading_exports, require("./bar"), module.exports);
|
|
20
|
+
__reExport(loading_exports, require("./app"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("./bar"),
|
|
24
|
+
...require("./app")
|
|
25
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var logo_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(logo_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import animations from "@components/types/lottie/animations";
|
|
2
|
+
interface IBase {
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
export type ILottie = (IBase & {
|
|
6
|
+
src: string;
|
|
7
|
+
animation?: never;
|
|
8
|
+
}) | (IBase & {
|
|
9
|
+
animation: keyof typeof animations;
|
|
10
|
+
src?: never;
|
|
11
|
+
});
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var lottie_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(lottie_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IButton } from "@interfaces";
|
|
3
|
+
export interface IModal {
|
|
4
|
+
toggle: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
title?: string;
|
|
7
|
+
header?: {
|
|
8
|
+
title: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
buttons?: Array<IButton>;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
position?: "center" | "right" | "left";
|
|
14
|
+
noCloseIcon?: boolean;
|
|
15
|
+
content?: any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var modal_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(modal_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export * from "./paginate";
|
|
3
|
+
export interface ITableAction {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
position?: string;
|
|
6
|
+
function: (data?: any) => any;
|
|
7
|
+
icon?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ITableColumn {
|
|
12
|
+
name?: string;
|
|
13
|
+
style?: object;
|
|
14
|
+
action?: ITableAction;
|
|
15
|
+
}
|
|
16
|
+
export interface ITableRow {
|
|
17
|
+
actions?: Array<ITableAction>;
|
|
18
|
+
image?: any;
|
|
19
|
+
icon?: any;
|
|
20
|
+
style?: any;
|
|
21
|
+
mask?: any;
|
|
22
|
+
custom?: (data: any) => React.ReactNode;
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ITable {
|
|
26
|
+
content: Array<any>;
|
|
27
|
+
loading?: boolean | {
|
|
28
|
+
is?: boolean;
|
|
29
|
+
items?: Array<any>;
|
|
30
|
+
};
|
|
31
|
+
options: Array<{
|
|
32
|
+
column: ITableColumn | string;
|
|
33
|
+
row: ITableRow | string;
|
|
34
|
+
}>;
|
|
35
|
+
notFound?: {
|
|
36
|
+
title: string;
|
|
37
|
+
message: string;
|
|
38
|
+
};
|
|
39
|
+
paginate?: {
|
|
40
|
+
total: number;
|
|
41
|
+
page: {
|
|
42
|
+
value: number;
|
|
43
|
+
set: (value: number) => any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var table_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(table_exports);
|
|
19
|
+
__reExport(table_exports, require("./paginate"), module.exports);
|
|
20
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
21
|
+
0 && (module.exports = {
|
|
22
|
+
...require("./paginate")
|
|
23
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var paginate_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(paginate_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var icon_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(icon_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var contexts_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(contexts_exports);
|
|
19
|
+
__reExport(contexts_exports, require("./icon"), module.exports);
|
|
20
|
+
__reExport(contexts_exports, require("./theme"), module.exports);
|
|
21
|
+
__reExport(contexts_exports, require("./tooltip"), module.exports);
|
|
22
|
+
__reExport(contexts_exports, require("./modal"), module.exports);
|
|
23
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
24
|
+
0 && (module.exports = {
|
|
25
|
+
...require("./icon"),
|
|
26
|
+
...require("./theme"),
|
|
27
|
+
...require("./tooltip"),
|
|
28
|
+
...require("./modal")
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Modal } from "@components";
|
|
2
|
+
import { IModal, IBaseProvider } from "../..";
|
|
3
|
+
export interface IModalProvider extends IBaseProvider {
|
|
4
|
+
}
|
|
5
|
+
export interface IModalConfig {
|
|
6
|
+
component: typeof Modal;
|
|
7
|
+
name: string;
|
|
8
|
+
props?: IModal;
|
|
9
|
+
type?: "fixed" | "dinamic";
|
|
10
|
+
}
|
|
11
|
+
export interface IModalContext {
|
|
12
|
+
value: Array<IModalConfig>;
|
|
13
|
+
add: (value: IModalConfig) => void;
|
|
14
|
+
remove: (modalName: string) => void;
|
|
15
|
+
setProps: (modalName: string, props: IModal) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
"use client";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
12
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
|
+
var modal_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(modal_exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IBaseProvider } from "../..";
|
|
2
|
+
export interface IThemeProvider extends IBaseProvider {
|
|
3
|
+
theme?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ICommonTheme {
|
|
6
|
+
secondary: string;
|
|
7
|
+
tertiary: string;
|
|
8
|
+
positive: string;
|
|
9
|
+
negative: string;
|
|
10
|
+
mobileMaxWidth: string;
|
|
11
|
+
mobileMinWidth: string;
|
|
12
|
+
}
|
|
13
|
+
export interface IThemeContent extends ICommonTheme {
|
|
14
|
+
primary: string;
|
|
15
|
+
reverse: string;
|
|
16
|
+
tooltip: string;
|
|
17
|
+
t8: string;
|
|
18
|
+
t7: string;
|
|
19
|
+
t6: string;
|
|
20
|
+
t5: string;
|
|
21
|
+
t4: string;
|
|
22
|
+
t3: string;
|
|
23
|
+
t2: string;
|
|
24
|
+
t1: string;
|
|
25
|
+
t08: string;
|
|
26
|
+
t05: string;
|
|
27
|
+
t03: string;
|
|
28
|
+
t02: string;
|
|
29
|
+
t01: string;
|
|
30
|
+
lgrad: string;
|
|
31
|
+
maingrad: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ITheme {
|
|
34
|
+
light: IThemeContent;
|
|
35
|
+
dark: IThemeContent;
|
|
36
|
+
}
|
|
37
|
+
export interface IThemeContext {
|
|
38
|
+
theme: keyof ITheme;
|
|
39
|
+
setTheme: (theme: keyof ITheme) => void;
|
|
40
|
+
content: IThemeContent;
|
|
41
|
+
Switcher: any;
|
|
42
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var theme_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(theme_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from))
|
|
10
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
11
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var tooltip_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(tooltip_exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
export { d as ICommonTheme, b as IIconProvider, h as IModalConfig, i as IModalContext, g as IModalProvider, e as ITheme, I as IThemeContent, f as IThemeContext, c as IThemeProvider } from '../index-DT7VKE7H.js';
|
|
4
|
-
export { a as IButton, I as IModal } from '../index-Da-DtPS-.js';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react/jsx-runtime';
|
|
7
|
-
import 'react-hook-form';
|
|
8
|
-
|
|
9
|
-
interface ITooltipProvider extends IBaseProvider {
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { IBaseProvider, type ITooltipProvider };
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export * from "./contexts";
|
package/dist/interfaces/index.js
CHANGED
|
@@ -12,8 +12,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
12
12
|
}
|
|
13
13
|
return to;
|
|
14
14
|
};
|
|
15
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
16
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// interfaces/index.tsx
|
|
18
17
|
var interfaces_exports = {};
|
|
19
18
|
module.exports = __toCommonJS(interfaces_exports);
|
|
19
|
+
__reExport(interfaces_exports, require("./components"), module.exports);
|
|
20
|
+
__reExport(interfaces_exports, require("./contexts"), module.exports);
|
|
21
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
22
|
+
0 && (module.exports = {
|
|
23
|
+
...require("./components"),
|
|
24
|
+
...require("./contexts")
|
|
25
|
+
});
|
package/dist/styled.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gustavo-valsechi/client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
7
|
+
"files": ["dist"],
|
|
10
8
|
"license": "UNLICENSED",
|
|
11
9
|
"scripts": {
|
|
12
10
|
"clean": "rimraf dist && rimraf node_modules/.cache",
|
|
13
|
-
"build": "
|
|
11
|
+
"build:types": "tsc -p tsconfig.json",
|
|
12
|
+
"build:js": "tsup",
|
|
13
|
+
"build": "npm run clean && npm run build:js && npm run build:types"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "18.3.1",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { p as IComponent } from '../index-DDi0w5pw.mjs';
|
|
3
|
-
export { A as Avatar, B as Badge, k as Block, f as Button, C as Chart, j as CreditCard, F as Form, g as InputDateTime, I as InputFile, c as InputLabel, e as InputSelect, d as InputText, h as InputTextarea, a as LoadingApp, L as LoadingBar, b as Logo, i as Lottie, P as Paginate, T as Table } from '../index-DDi0w5pw.mjs';
|
|
4
|
-
export { M as Modal } from '../index-Da-DtPS-.mjs';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'react-hook-form';
|
|
7
|
-
|
|
8
|
-
declare function Component(props: IComponent): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { Component };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { b as IIconProvider, c as IThemeProvider, f as IThemeContext, g as IModalProvider, i as IModalContext } from '../index-BxA8LyyD.mjs';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import '../index-Da-DtPS-.mjs';
|
|
5
|
-
|
|
6
|
-
declare const IconProviderContainer: ({ children }: IIconProvider) => react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare const useIcon: () => any;
|
|
8
|
-
|
|
9
|
-
declare const ThemeProviderContainer: (props: IThemeProvider) => react_jsx_runtime.JSX.Element;
|
|
10
|
-
declare const useTheme: () => IThemeContext;
|
|
11
|
-
|
|
12
|
-
declare const TooltipProviderContainer: ({ children }: {
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
15
|
-
declare const useTooltip: () => any;
|
|
16
|
-
|
|
17
|
-
declare const ModalProviderContainer: ({ children }: IModalProvider) => react_jsx_runtime.JSX.Element;
|
|
18
|
-
declare const useModal: () => IModalContext;
|
|
19
|
-
|
|
20
|
-
export { IconProviderContainer as IconProvider, ModalProviderContainer as ModalProvider, ThemeProviderContainer as ThemeProvider, TooltipProviderContainer as TooltipProvider, useIcon, useModal, useTheme, useTooltip };
|