@gustavo-valsechi/client 1.3.28 → 1.3.29
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 +0 -1
- package/dist/components/index.mjs +0 -1
- package/dist/components/styles.d.ts +2 -0
- package/dist/components/styles.js +55 -0
- package/dist/components/styles.mjs +20 -0
- package/dist/components/types/avatar/index.d.ts +2 -0
- package/dist/components/types/avatar/index.js +121 -0
- package/dist/components/types/avatar/index.mjs +87 -0
- package/dist/components/types/avatar/styles.d.ts +1 -0
- package/dist/components/types/avatar/styles.js +94 -0
- package/dist/components/types/avatar/styles.mjs +60 -0
- package/dist/components/types/badge/index.d.ts +2 -0
- package/dist/components/types/badge/index.js +353 -0
- package/dist/components/types/badge/index.mjs +323 -0
- package/dist/components/types/badge/styles.d.ts +1 -0
- package/dist/components/types/badge/styles.js +72 -0
- package/dist/components/types/badge/styles.mjs +38 -0
- package/dist/components/types/block/index.d.ts +2 -0
- package/dist/components/types/block/index.js +3081 -0
- package/dist/components/types/block/index.mjs +3077 -0
- package/dist/components/types/block/styles.d.ts +2 -0
- package/dist/components/types/block/styles.js +66 -0
- package/dist/components/types/block/styles.mjs +31 -0
- package/dist/components/types/chart/index.d.ts +2 -0
- package/dist/components/types/chart/index.js +351 -0
- package/dist/components/types/chart/index.mjs +321 -0
- package/dist/components/types/chart/styles.d.ts +1 -0
- package/dist/components/types/chart/styles.js +43 -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 +42 -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 +739 -0
- package/dist/components/types/credit-card/card/index.mjs +731 -0
- package/dist/components/types/credit-card/card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/card/styles.js +171 -0
- package/dist/components/types/credit-card/card/styles.mjs +137 -0
- package/dist/components/types/credit-card/functions/index.d.ts +2 -0
- package/dist/components/types/credit-card/functions/index.js +92 -0
- package/dist/components/types/credit-card/functions/index.mjs +60 -0
- package/dist/components/types/credit-card/functions/styles.d.ts +1 -0
- package/dist/components/types/credit-card/functions/styles.js +76 -0
- package/dist/components/types/credit-card/functions/styles.mjs +42 -0
- package/dist/components/types/credit-card/index.d.ts +2 -0
- package/dist/components/types/credit-card/index.js +866 -0
- package/dist/components/types/credit-card/index.mjs +852 -0
- package/dist/components/types/credit-card/styles.d.ts +1 -0
- package/dist/components/types/credit-card/styles.js +73 -0
- package/dist/components/types/credit-card/styles.mjs +39 -0
- package/dist/components/types/credit-card/tools/index.d.ts +6 -0
- package/dist/components/types/credit-card/tools/index.js +578 -0
- package/dist/components/types/credit-card/tools/index.mjs +565 -0
- package/dist/components/types/form/index.d.ts +3 -0
- package/dist/components/types/form/index.js +746 -0
- package/dist/components/types/form/index.mjs +710 -0
- package/dist/components/types/form/styles.d.ts +1 -0
- package/dist/components/types/form/styles.js +54 -0
- package/dist/components/types/form/styles.mjs +20 -0
- package/dist/components/types/form/types/button/index.d.ts +2 -0
- package/dist/components/types/form/types/button/index.js +200 -0
- package/dist/components/types/form/types/button/index.mjs +164 -0
- package/dist/components/types/form/types/button/loading/index.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/index.js +139 -0
- package/dist/components/types/form/types/button/loading/index.mjs +103 -0
- package/dist/components/types/form/types/button/loading/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/loading/styles.js +127 -0
- package/dist/components/types/form/types/button/loading/styles.mjs +93 -0
- package/dist/components/types/form/types/button/styles.d.ts +1 -0
- package/dist/components/types/form/types/button/styles.js +80 -0
- package/dist/components/types/form/types/button/styles.mjs +46 -0
- package/dist/components/types/form/types/datetime/index.d.ts +2 -0
- package/dist/components/types/form/types/datetime/index.js +128 -0
- package/dist/components/types/form/types/datetime/index.mjs +92 -0
- package/dist/components/types/form/types/datetime/styles.d.ts +1 -0
- package/dist/components/types/form/types/datetime/styles.js +79 -0
- package/dist/components/types/form/types/datetime/styles.mjs +45 -0
- package/dist/components/types/form/types/file/index.d.ts +2 -0
- package/dist/components/types/form/types/file/index.js +124 -0
- package/dist/components/types/form/types/file/index.mjs +90 -0
- package/dist/components/types/form/types/file/styles.d.ts +1 -0
- package/dist/components/types/form/types/file/styles.js +66 -0
- package/dist/components/types/form/types/file/styles.mjs +32 -0
- package/dist/components/types/form/types/index.d.ts +7 -0
- package/dist/components/types/form/types/index.js +644 -0
- package/dist/components/types/form/types/index.mjs +601 -0
- package/dist/components/types/form/types/input/index.d.ts +2 -0
- package/dist/components/types/form/types/input/index.js +146 -0
- package/dist/components/types/form/types/input/index.mjs +112 -0
- package/dist/components/types/form/types/input/styles.d.ts +1 -0
- package/dist/components/types/form/types/input/styles.js +85 -0
- package/dist/components/types/form/types/input/styles.mjs +51 -0
- package/dist/components/types/form/types/label/index.d.ts +2 -0
- package/dist/components/types/form/types/label/index.js +54 -0
- package/dist/components/types/form/types/label/index.mjs +18 -0
- package/dist/components/types/form/types/label/styles.d.ts +1 -0
- package/dist/components/types/form/types/label/styles.js +46 -0
- package/dist/components/types/form/types/label/styles.mjs +12 -0
- package/dist/components/types/form/types/select/index.d.ts +2 -0
- package/dist/components/types/form/types/select/index.js +158 -0
- package/dist/components/types/form/types/select/index.mjs +124 -0
- package/dist/components/types/form/types/select/styles.d.ts +1 -0
- package/dist/components/types/form/types/select/styles.js +91 -0
- package/dist/components/types/form/types/select/styles.mjs +57 -0
- package/dist/components/types/form/types/textarea/index.d.ts +2 -0
- package/dist/components/types/form/types/textarea/index.js +127 -0
- package/dist/components/types/form/types/textarea/index.mjs +91 -0
- package/dist/components/types/form/types/textarea/styles.d.ts +1 -0
- package/dist/components/types/form/types/textarea/styles.js +78 -0
- package/dist/components/types/form/types/textarea/styles.mjs +44 -0
- package/dist/components/types/index.d.ts +11 -0
- package/dist/components/types/index.js +3091 -0
- package/dist/components/types/index.mjs +3093 -0
- package/dist/components/types/loading/app/index.d.ts +2 -0
- package/dist/components/types/loading/app/index.js +163 -0
- package/dist/components/types/loading/app/index.mjs +127 -0
- package/dist/components/types/loading/app/styles.d.ts +1 -0
- package/dist/components/types/loading/app/styles.js +126 -0
- package/dist/components/types/loading/app/styles.mjs +92 -0
- package/dist/components/types/loading/bar/index.d.ts +2 -0
- package/dist/components/types/loading/bar/index.js +68 -0
- package/dist/components/types/loading/bar/index.mjs +32 -0
- package/dist/components/types/loading/bar/styles.d.ts +1 -0
- package/dist/components/types/loading/bar/styles.js +60 -0
- package/dist/components/types/loading/bar/styles.mjs +26 -0
- package/dist/components/types/loading/index.d.ts +2 -0
- package/dist/components/types/loading/index.js +192 -0
- package/dist/components/types/loading/index.mjs +154 -0
- package/dist/components/types/logo/index.d.ts +2 -0
- package/dist/components/types/logo/index.js +69 -0
- package/dist/components/types/logo/index.mjs +33 -0
- package/dist/components/types/logo/styles.d.ts +1 -0
- package/dist/components/types/logo/styles.js +58 -0
- package/dist/components/types/logo/styles.mjs +24 -0
- package/dist/components/types/lottie/animations/index.d.ts +293 -0
- package/dist/components/types/lottie/animations/index.js +31 -0
- package/dist/components/types/lottie/animations/index.mjs +8 -0
- package/dist/components/types/lottie/index.d.ts +2 -0
- package/dist/components/types/lottie/index.js +104 -0
- package/dist/components/types/lottie/index.mjs +68 -0
- package/dist/components/types/lottie/styles.d.ts +1 -0
- package/dist/components/types/lottie/styles.js +61 -0
- package/dist/components/types/lottie/styles.mjs +27 -0
- package/dist/components/types/modal/index.d.ts +2 -0
- package/dist/components/types/modal/index.js +2331 -0
- package/dist/components/types/modal/index.mjs +2323 -0
- package/dist/components/types/modal/styles.d.ts +1 -0
- package/dist/components/types/modal/styles.js +168 -0
- package/dist/components/types/modal/styles.mjs +134 -0
- package/dist/components/types/table/index.d.ts +3 -0
- package/dist/components/types/table/index.js +3081 -0
- package/dist/components/types/table/index.mjs +3078 -0
- package/dist/components/types/table/modal/actions.d.ts +10 -0
- package/dist/components/types/table/modal/actions.js +108 -0
- package/dist/components/types/table/modal/actions.mjs +85 -0
- package/dist/components/types/table/modal/index.d.ts +2 -0
- package/dist/components/types/table/modal/index.js +3075 -0
- package/dist/components/types/table/modal/index.mjs +3075 -0
- package/dist/components/types/table/modal/styles.d.ts +1 -0
- package/dist/components/types/table/modal/styles.js +91 -0
- package/dist/components/types/table/modal/styles.mjs +57 -0
- package/dist/components/types/table/paginate/index.d.ts +2 -0
- package/dist/components/types/table/paginate/index.js +131 -0
- package/dist/components/types/table/paginate/index.mjs +95 -0
- package/dist/components/types/table/paginate/styles.d.ts +1 -0
- package/dist/components/types/table/paginate/styles.js +75 -0
- package/dist/components/types/table/paginate/styles.mjs +41 -0
- package/dist/components/types/table/styles.d.ts +5 -0
- package/dist/components/types/table/styles.js +301 -0
- package/dist/components/types/table/styles.mjs +267 -0
- package/dist/contexts/icon/assets/brands/index.d.ts +2 -0
- package/dist/contexts/icon/assets/brands/index.js +32 -0
- package/dist/contexts/icon/assets/brands/index.mjs +18 -0
- package/dist/contexts/icon/assets/index.d.ts +6 -0
- package/dist/contexts/icon/assets/index.js +59 -0
- package/dist/contexts/icon/assets/index.mjs +43 -0
- package/dist/contexts/icon/assets/regular/index.d.ts +2 -0
- package/dist/contexts/icon/assets/regular/index.js +32 -0
- package/dist/contexts/icon/assets/regular/index.mjs +18 -0
- package/dist/contexts/icon/assets/solid/index.d.ts +2 -0
- package/dist/contexts/icon/assets/solid/index.js +32 -0
- package/dist/contexts/icon/assets/solid/index.mjs +18 -0
- package/dist/contexts/icon/index.d.ts +4 -0
- package/dist/contexts/icon/index.js +309 -0
- package/dist/contexts/icon/index.mjs +280 -0
- package/dist/contexts/icon/styles.d.ts +1 -0
- package/dist/contexts/icon/styles.js +43 -0
- package/dist/contexts/icon/styles.mjs +8 -0
- package/dist/contexts/index.d.ts +4 -20
- package/dist/contexts/index.js +0 -1
- package/dist/contexts/index.mjs +0 -1
- package/dist/contexts/modal/index.d.ts +4 -0
- package/dist/contexts/modal/index.js +100 -0
- package/dist/contexts/modal/index.mjs +65 -0
- package/dist/contexts/modal/styles.d.ts +1 -0
- package/dist/contexts/modal/styles.js +43 -0
- package/dist/contexts/modal/styles.mjs +8 -0
- package/dist/contexts/theme/content.d.ts +3 -0
- package/dist/contexts/theme/content.js +105 -0
- package/dist/contexts/theme/content.mjs +79 -0
- package/dist/contexts/theme/index.d.ts +4 -0
- package/dist/contexts/theme/index.js +235 -0
- package/dist/contexts/theme/index.mjs +200 -0
- package/dist/contexts/theme/styles.d.ts +1 -0
- package/dist/contexts/theme/styles.js +117 -0
- package/dist/contexts/theme/styles.mjs +82 -0
- package/dist/contexts/tooltip/index.d.ts +6 -0
- package/dist/contexts/tooltip/index.js +151 -0
- package/dist/contexts/tooltip/index.mjs +116 -0
- package/dist/contexts/tooltip/styles.d.ts +1 -0
- package/dist/contexts/tooltip/styles.js +79 -0
- package/dist/contexts/tooltip/styles.mjs +44 -0
- package/dist/index.d.ts +4 -17
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/dist/interfaces/components/avatar/index.d.ts +6 -0
- package/dist/interfaces/components/avatar/index.js +18 -0
- package/dist/interfaces/components/avatar/index.mjs +0 -0
- package/dist/interfaces/components/badge/index.d.ts +3 -0
- package/dist/interfaces/components/badge/index.js +18 -0
- package/dist/interfaces/components/badge/index.mjs +0 -0
- package/dist/interfaces/components/block/index.d.ts +16 -0
- package/dist/interfaces/components/block/index.js +18 -0
- package/dist/interfaces/components/block/index.mjs +0 -0
- package/dist/interfaces/components/chart/index.d.ts +9 -0
- package/dist/interfaces/components/chart/index.js +18 -0
- package/dist/interfaces/components/chart/index.mjs +0 -0
- package/dist/interfaces/components/credit-card/index.d.ts +16 -0
- package/dist/interfaces/components/credit-card/index.js +18 -0
- package/dist/interfaces/components/credit-card/index.mjs +0 -0
- package/dist/interfaces/components/form/button/index.d.ts +7 -0
- package/dist/interfaces/components/form/button/index.js +18 -0
- package/dist/interfaces/components/form/button/index.mjs +0 -0
- package/dist/interfaces/components/form/datetime/index.d.ts +15 -0
- package/dist/interfaces/components/form/datetime/index.js +18 -0
- package/dist/interfaces/components/form/datetime/index.mjs +0 -0
- package/dist/interfaces/components/form/file/index.d.ts +14 -0
- package/dist/interfaces/components/form/file/index.js +18 -0
- package/dist/interfaces/components/form/file/index.mjs +0 -0
- package/dist/interfaces/components/form/index.d.ts +16 -0
- package/dist/interfaces/components/form/index.js +18 -0
- package/dist/interfaces/components/form/index.mjs +0 -0
- package/dist/interfaces/components/form/input/index.d.ts +17 -0
- package/dist/interfaces/components/form/input/index.js +18 -0
- package/dist/interfaces/components/form/input/index.mjs +0 -0
- package/dist/interfaces/components/form/label/index.d.ts +5 -0
- package/dist/interfaces/components/form/label/index.js +18 -0
- package/dist/interfaces/components/form/label/index.mjs +0 -0
- package/dist/interfaces/components/form/select/index.d.ts +14 -0
- package/dist/interfaces/components/form/select/index.js +18 -0
- package/dist/interfaces/components/form/select/index.mjs +0 -0
- package/dist/interfaces/components/form/textarea/index.d.ts +16 -0
- package/dist/interfaces/components/form/textarea/index.js +18 -0
- package/dist/interfaces/components/form/textarea/index.mjs +0 -0
- package/dist/interfaces/components/index.d.ts +26 -0
- package/dist/interfaces/components/index.js +18 -0
- package/dist/interfaces/components/index.mjs +0 -0
- package/dist/interfaces/components/loading/app/index.d.ts +3 -0
- package/dist/interfaces/components/loading/app/index.js +18 -0
- package/dist/interfaces/components/loading/app/index.mjs +0 -0
- package/dist/interfaces/components/loading/bar/index.d.ts +7 -0
- package/dist/interfaces/components/loading/bar/index.js +18 -0
- package/dist/interfaces/components/loading/bar/index.mjs +0 -0
- package/dist/interfaces/components/loading/index.d.ts +2 -0
- package/dist/interfaces/components/loading/index.js +18 -0
- package/dist/interfaces/components/loading/index.mjs +0 -0
- package/dist/interfaces/components/logo/index.d.ts +6 -0
- package/dist/interfaces/components/logo/index.js +18 -0
- package/dist/interfaces/components/logo/index.mjs +0 -0
- package/dist/interfaces/components/lottie/index.d.ts +12 -0
- package/dist/interfaces/components/lottie/index.js +18 -0
- package/dist/interfaces/components/lottie/index.mjs +0 -0
- package/dist/interfaces/components/modal/index.d.ts +16 -0
- package/dist/interfaces/components/modal/index.js +18 -0
- package/dist/interfaces/components/modal/index.mjs +0 -0
- package/dist/interfaces/components/table/index.d.ts +46 -0
- package/dist/interfaces/components/table/index.js +18 -0
- package/dist/interfaces/components/table/index.mjs +0 -0
- package/dist/interfaces/components/table/paginate/index.d.ts +7 -0
- package/dist/interfaces/components/table/paginate/index.js +18 -0
- package/dist/interfaces/components/table/paginate/index.mjs +0 -0
- package/dist/interfaces/contexts/icon/index.d.ts +3 -0
- package/dist/interfaces/contexts/icon/index.js +18 -0
- package/dist/interfaces/contexts/icon/index.mjs +0 -0
- package/dist/interfaces/contexts/index.d.ts +8 -0
- package/dist/interfaces/contexts/index.js +18 -0
- package/dist/interfaces/contexts/index.mjs +0 -0
- package/dist/interfaces/contexts/modal/index.d.ts +16 -0
- package/dist/interfaces/contexts/modal/index.js +19 -0
- package/dist/interfaces/contexts/modal/index.mjs +1 -0
- package/dist/interfaces/contexts/theme/index.d.ts +42 -0
- package/dist/interfaces/contexts/theme/index.js +18 -0
- package/dist/interfaces/contexts/theme/index.mjs +0 -0
- package/dist/interfaces/contexts/tooltip/index.d.ts +3 -0
- package/dist/interfaces/contexts/tooltip/index.js +18 -0
- package/dist/interfaces/contexts/tooltip/index.mjs +0 -0
- package/dist/interfaces/index.d.ts +2 -12
- package/dist/interfaces/index.js +0 -1
- package/dist/interfaces/index.mjs +0 -1
- 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,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/badge/index.tsx
|
|
17
|
+
var badge_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(badge_exports);
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IComponentContent } from "@interfaces";
|
|
3
|
+
interface IBase {
|
|
4
|
+
icon?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
export type IBlock = (IBase & {
|
|
8
|
+
component: IComponentContent;
|
|
9
|
+
content?: never;
|
|
10
|
+
children?: never;
|
|
11
|
+
}) | (IBase & {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
component?: never;
|
|
14
|
+
content?: never;
|
|
15
|
+
});
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/block/index.tsx
|
|
17
|
+
var block_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(block_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/chart/index.tsx
|
|
17
|
+
var chart_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(chart_exports);
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ICreditCard {
|
|
2
|
+
cvc?: string;
|
|
3
|
+
name: string;
|
|
4
|
+
number: string;
|
|
5
|
+
expiry: string;
|
|
6
|
+
onEdit?: () => any;
|
|
7
|
+
onConfig?: () => any;
|
|
8
|
+
onRemove?: () => any;
|
|
9
|
+
focused?: "name" | "number" | "expiry" | "cvc" | "" | undefined;
|
|
10
|
+
functions?: Array<{
|
|
11
|
+
icon: string;
|
|
12
|
+
label: string;
|
|
13
|
+
function?: () => any;
|
|
14
|
+
hide?: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/credit-card/index.tsx
|
|
17
|
+
var credit_card_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(credit_card_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/button/index.tsx
|
|
17
|
+
var button_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(button_exports);
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseFormRegister } from "react-hook-form";
|
|
2
|
+
export interface IInputDateTime {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
mask?: (value: string) => void;
|
|
8
|
+
onFocus: (value: any) => void;
|
|
9
|
+
onChange: (event: any) => void;
|
|
10
|
+
maxLength?: number;
|
|
11
|
+
error: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
register?: UseFormRegister<any>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/datetime/index.tsx
|
|
17
|
+
var datetime_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(datetime_exports);
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseFormRegister } from "react-hook-form";
|
|
2
|
+
export interface IInputFile {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
onPreview?: (url: any) => void;
|
|
8
|
+
onChange: (event: any) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
error: string;
|
|
11
|
+
onFocus: (value: string) => void;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
register?: UseFormRegister<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/file/index.tsx
|
|
17
|
+
var file_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(file_exports);
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./file";
|
|
2
|
+
export * from "./label";
|
|
3
|
+
export * from "./input";
|
|
4
|
+
export * from "./select";
|
|
5
|
+
export * from "./button";
|
|
6
|
+
export * from "./datetime";
|
|
7
|
+
export * from "./textarea";
|
|
8
|
+
export interface IForm {
|
|
9
|
+
defaultValues?: any;
|
|
10
|
+
validation?: any;
|
|
11
|
+
formRef?: any;
|
|
12
|
+
onSubmit: (values: any, actions?: any) => void;
|
|
13
|
+
clearWhen?: boolean;
|
|
14
|
+
inputs: Array<any>;
|
|
15
|
+
buttons?: Array<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/index.tsx
|
|
17
|
+
var form_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(form_exports);
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseFormRegister } from "react-hook-form";
|
|
2
|
+
export interface IInputText {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
mask?: (value: string) => void;
|
|
10
|
+
onChange?: (event: any) => void;
|
|
11
|
+
maxLength?: number;
|
|
12
|
+
error?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onFocus?: (value: any) => void;
|
|
15
|
+
required?: boolean;
|
|
16
|
+
register?: UseFormRegister<any>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/input/index.tsx
|
|
17
|
+
var input_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(input_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/label/index.tsx
|
|
17
|
+
var label_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(label_exports);
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseFormRegister } from "react-hook-form";
|
|
2
|
+
export interface IInputSelect {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (event: any) => void;
|
|
8
|
+
options: Array<any>;
|
|
9
|
+
error: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
onFocus: (value: any) => void;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
register?: UseFormRegister<any>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/select/index.tsx
|
|
17
|
+
var select_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(select_exports);
|
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UseFormRegister } from "react-hook-form";
|
|
2
|
+
export interface IInputTextarea {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
mask?: (value: string) => void;
|
|
8
|
+
onChange: (event: any) => void;
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
rows?: number;
|
|
11
|
+
error: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
onFocus: (value: string) => void;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
register?: UseFormRegister<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/form/textarea/index.tsx
|
|
17
|
+
var textarea_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(textarea_exports);
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as Types from "@components/types";
|
|
3
|
+
export * from "./table";
|
|
4
|
+
export * from "./loading";
|
|
5
|
+
export * from "./modal";
|
|
6
|
+
export * from "./badge";
|
|
7
|
+
export * from "./logo";
|
|
8
|
+
export * from "./form";
|
|
9
|
+
export * from "./chart";
|
|
10
|
+
export * from "./avatar";
|
|
11
|
+
export * from "./lottie";
|
|
12
|
+
export * from "./credit-card";
|
|
13
|
+
export * from "./block";
|
|
14
|
+
export type IComponentMap = typeof Types;
|
|
15
|
+
export type IComponentConfigMap = {
|
|
16
|
+
[K in keyof IComponentMap]: {
|
|
17
|
+
type: K;
|
|
18
|
+
props?: React.ComponentProps<IComponentMap[K]>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type IComponentConfig = IComponentConfigMap[keyof IComponentMap];
|
|
22
|
+
export type IComponentContent = Array<IComponentConfig | Array<IComponentConfig>>;
|
|
23
|
+
export interface IComponent {
|
|
24
|
+
className?: string;
|
|
25
|
+
content: IComponentContent;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/index.tsx
|
|
17
|
+
var components_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(components_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/loading/app/index.tsx
|
|
17
|
+
var app_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(app_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/loading/bar/index.tsx
|
|
17
|
+
var bar_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(bar_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/loading/index.tsx
|
|
17
|
+
var loading_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(loading_exports);
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/logo/index.tsx
|
|
17
|
+
var logo_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(logo_exports);
|
|
File without changes
|
|
@@ -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,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// interfaces/components/lottie/index.tsx
|
|
17
|
+
var lottie_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(lottie_exports);
|
|
File without changes
|
|
@@ -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
|
+
}
|