infinity-forge 0.35.9 → 0.36.2
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/sites/components/brands-carousel/styles.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/box/styles.d.ts +1 -1
- package/dist/sites/components/counter/versions/version-01/styles.d.ts +1 -1
- package/dist/sites/components/header-link/versions/version-01/styles.d.ts +1 -1
- package/dist/sites/components/mvv/versions/version-01/styles.d.ts +1 -1
- package/dist/sites/context/configs/scripts/acept-cookies/styles.d.ts +1 -1
- package/dist/sites/context/configs/scripts/acept-ratedr/styles.d.ts +1 -1
- package/dist/sites/context/configs/scripts/whatsapp-fixed/styles.d.ts +1 -1
- package/dist/system/presentation/components/data/avatar/styles.d.ts +1 -1
- package/dist/system/presentation/components/data/buttons/sidebar-button/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/chat/card-message/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/chat/loader/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/chat/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/detail-card/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/highlight-icon/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/highlight-text/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/input-search/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/logo/styles.d.ts +1 -1
- package/dist/system/presentation/components/data/overlay/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/page-wrapper/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/profile-infos/profile/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/profile-infos/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/select-workspace/styles.d.ts +1 -1
- package/dist/system/presentation/components/data/sign-up/styles.d.ts +2 -2
- package/dist/system/presentation/components/data/tab/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/menu/components/menu/styles.d.ts +2 -2
- package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/styles.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/icon/style.d.ts +2 -2
- package/dist/system/presentation/context/auth/login/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/styles.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/styles.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.d.ts +6 -6
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.d.ts +2 -2
- package/dist/ui/components/accordion/styles.d.ts +1 -1
- package/dist/ui/components/breadcrumb/styles.d.ts +2 -2
- package/dist/ui/components/button/styles.d.ts +1 -1
- package/dist/ui/components/form/checkbox/styles.d.ts +2 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/styles.d.ts +2 -2
- package/dist/ui/components/form/handler/styles.d.ts +2 -2
- package/dist/ui/components/form/input-control/error/styles.d.ts +2 -2
- package/dist/ui/components/form/input-control/label/styles.d.ts +2 -2
- package/dist/ui/components/form/input-control/loader-input/styles.d.ts +2 -2
- package/dist/ui/components/form/input-control/styles.d.ts +2 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.js +13 -13
- package/dist/ui/components/form/input-cpf-cnpj/index.js.map +1 -1
- package/dist/ui/components/form/input-date/styles.d.ts +2 -2
- package/dist/ui/components/form/input-date-picker/date_picket_lib_css.d.ts +2 -2
- package/dist/ui/components/form/input-date-picker/styles.d.ts +2 -2
- package/dist/ui/components/form/input-date-range/styles.d.ts +2 -2
- package/dist/ui/components/form/input-file/file-card/styles.d.ts +2 -2
- package/dist/ui/components/form/input-file/styles.d.ts +2 -2
- package/dist/ui/components/form/input-mask/index.js +12 -13
- package/dist/ui/components/form/input-mask/index.js.map +1 -1
- package/dist/ui/components/form/input-password/styles.d.ts +2 -2
- package/dist/ui/components/form/radio/styles.d.ts +2 -2
- package/dist/ui/components/form/select/styles.d.ts +2 -2
- package/dist/ui/components/loading-screen/styles.d.ts +2 -2
- package/dist/ui/components/menu-mobile/components/nav-links/styles.d.ts +1 -1
- package/dist/ui/components/menu-mobile/styles.d.ts +1 -1
- package/dist/ui/components/menu-mobile/top/styles.d.ts +1 -1
- package/dist/ui/components/next-image/styles.d.ts +1 -1
- package/dist/ui/components/sidebar/styles.d.ts +2 -2
- package/dist/ui/contexts/toast/styles.d.ts +2 -2
- package/dist/ui/contexts/toast/toast-item/styles.d.ts +2 -2
- package/package.json +1 -2
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.d.ts +0 -2
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js +0 -26
- package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js.map +0 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts +0 -17
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +0 -66
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +0 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +0 -2
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +0 -14
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +0 -1
- package/dist/system/presentation/context/system-configs/context.d.ts +0 -7
- package/dist/system/presentation/context/system-configs/context.js +0 -32
- package/dist/system/presentation/context/system-configs/context.js.map +0 -1
- package/dist/system/presentation/context/system-configs/index.d.ts +0 -2
- package/dist/system/presentation/context/system-configs/index.js +0 -19
- package/dist/system/presentation/context/system-configs/index.js.map +0 -1
- package/dist/system/presentation/context/system-configs/interfaces.d.ts +0 -4
- package/dist/system/presentation/context/system-configs/interfaces.js +0 -3
- package/dist/system/presentation/context/system-configs/interfaces.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/ui/contexts/theme/context.d.ts +0 -10
- package/dist/ui/contexts/theme/context.js +0 -21
- package/dist/ui/contexts/theme/context.js.map +0 -1
- package/dist/ui/contexts/theme/index.d.ts +0 -2
- package/dist/ui/contexts/theme/index.js +0 -19
- package/dist/ui/contexts/theme/index.js.map +0 -1
- package/dist/ui/contexts/theme/interfaces.d.ts +0 -10
- package/dist/ui/contexts/theme/interfaces.js +0 -9
- package/dist/ui/contexts/theme/interfaces.js.map +0 -1
|
@@ -6,7 +6,7 @@ interface IInputStyleProps {
|
|
|
6
6
|
$inputIconSize: number;
|
|
7
7
|
$inputIconDirection?: 'left' | 'right';
|
|
8
8
|
}
|
|
9
|
-
export declare const InputControl: import("styled-components").
|
|
9
|
+
export declare const InputControl: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
10
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
11
|
-
}, IInputStyleProps
|
|
11
|
+
}, IInputStyleProps>> & string;
|
|
12
12
|
export {};
|
|
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
exports.InputCpfCnpj = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
16
|
var formik_1 = require("formik");
|
|
17
|
-
|
|
17
|
+
// import { InputMask } from '@react-input/mask'
|
|
18
18
|
var input_control_1 = require("../input-control/index.js");
|
|
19
19
|
var react_1 = require("react");
|
|
20
20
|
function InputCpfCnpj(props) {
|
|
@@ -27,17 +27,17 @@ function InputCpfCnpj(props) {
|
|
|
27
27
|
var handleMask = function (value) {
|
|
28
28
|
return props.only ? masks[props.only] : (value === null || value === void 0 ? void 0 : value.length) > 11 ? masks['cnpj'] : masks['cpf'];
|
|
29
29
|
};
|
|
30
|
-
function modify(value) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
30
|
+
// function modify(value: string) {
|
|
31
|
+
// return {
|
|
32
|
+
// mask: handleMask(value),
|
|
33
|
+
// replacement: { _: /\d/ },
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
36
|
+
// const handleChange = (event) => {
|
|
37
|
+
// field.onChange(event)
|
|
38
|
+
// helpers.setValue(event.target.value)
|
|
39
|
+
// helpers.setTouched(true)
|
|
40
|
+
// }
|
|
41
41
|
(0, react_1.useEffect)(function () {
|
|
42
42
|
if (state.initialValue) {
|
|
43
43
|
ref.current.value = state.initialValue;
|
|
@@ -49,7 +49,7 @@ function InputCpfCnpj(props) {
|
|
|
49
49
|
ref.current.value = "";
|
|
50
50
|
}
|
|
51
51
|
}, [field.value]);
|
|
52
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props
|
|
52
|
+
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props)));
|
|
53
53
|
}
|
|
54
54
|
exports.InputCpfCnpj = InputCpfCnpj;
|
|
55
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-cpf-cnpj/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-cpf-cnpj/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC,gDAAgD;AAEhD,kDAA+C;AAG/C,+BAAyC;AAEzC,SAAgB,YAAY,CAAC,KAAiB;IACtC,IAAA,KAA0B,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAvD,KAAK,QAAA,EAAE,KAAK,QAAA,EAAE,OAAO,QAAkC,CAAA;IAE9D,IAAM,GAAG,GAAG,IAAA,cAAM,GAAO,CAAA;IAEzB,IAAM,KAAK,GAAG;QACZ,GAAG,EAAE,gBAAgB;QACrB,IAAI,EAAE,oBAAoB;KAC3B,CAAA;IAED,IAAM,UAAU,GAAG,UAAC,KAAK;QACvB,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,IAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAC3F,CAAC,CAAA;IAED,mCAAmC;IACnC,aAAa;IACb,+BAA+B;IAC/B,gCAAgC;IAChC,MAAM;IACN,IAAI;IAEJ,oCAAoC;IACpC,0BAA0B;IAC1B,yCAAyC;IACzC,6BAA6B;IAC7B,IAAI;IAEJ,IAAA,iBAAS,EAAC;QACR,IAAG,KAAK,CAAC,YAAY,EAAE,CAAC;YACtB,GAAG,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,YAAY,CAAA;QACxC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAA;IAExB,IAAA,iBAAS,EAAC;QACR,IAAG,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC7B,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;YACpB,GAAG,CAAC,OAAO,CAAC,KAAK,GAAG,EAAE,CAAA;QACxB,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IAEjB,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,EAER,CAChB,CAAA;AACH,CAAC;AA7CD,oCA6CC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputDate: import("styled-components").
|
|
3
|
+
export declare const InputDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputDatePickerCSS: import("styled-components").
|
|
3
|
+
export declare const InputDatePickerCSS: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputDatePicker: import("styled-components").
|
|
3
|
+
export declare const InputDatePicker: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputDateRange: import("styled-components").
|
|
3
|
+
export declare const InputDateRange: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const FileCard: import("styled-components").
|
|
3
|
+
export declare const FileCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputFile: import("styled-components").
|
|
3
|
+
export declare const InputFile: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -13,23 +13,22 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.InputMask = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var react_1 = require("react");
|
|
17
16
|
var formik_1 = require("formik");
|
|
18
|
-
|
|
17
|
+
// import { useMask } from '@react-input/mask'
|
|
19
18
|
var input_control_1 = require("../input-control/index.js");
|
|
20
19
|
function InputMask(props) {
|
|
21
20
|
var _a = (0, formik_1.useField)({ name: props.name }), field = _a[0], _ = _a[1], helpers = _a[2];
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}, [field.value])
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props
|
|
21
|
+
// const inputRef = useMask({
|
|
22
|
+
// mask: props.mask,
|
|
23
|
+
// replacement: { _: /\d/ },
|
|
24
|
+
// })
|
|
25
|
+
// useEffect(() => {
|
|
26
|
+
// if (field.value === undefined) {
|
|
27
|
+
// helpers.setValue('')
|
|
28
|
+
// inputRef.current.value = ''
|
|
29
|
+
// }
|
|
30
|
+
// }, [field.value])
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props)));
|
|
33
32
|
}
|
|
34
33
|
exports.InputMask = InputMask;
|
|
35
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-mask/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-mask/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,iCAAiC;AACjC,8CAA8C;AAE9C,kDAA+C;AAI/C,SAAgB,SAAS,CAAC,KAA0D;IAC5E,IAAA,KAAsB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAAnD,KAAK,QAAA,EAAE,CAAC,QAAA,EAAE,OAAO,QAAkC,CAAA;IAE1D,6BAA6B;IAC7B,sBAAsB;IACtB,8BAA8B;IAC9B,KAAK;IAEL,oBAAoB;IACpB,qCAAqC;IACrC,2BAA2B;IAC3B,kCAAkC;IAClC,MAAM;IACN,oBAAoB;IAEpB,OAAO,CACL,uBAAC,4BAAY,eAAK,KAAK,EAER,CAChB,CAAA;AACH,CAAC;AApBD,8BAoBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputPassword: import("styled-components").
|
|
3
|
+
export declare const InputPassword: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const InputRadio: import("styled-components").
|
|
3
|
+
export declare const InputRadio: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const SelectWrapper: import("styled-components").
|
|
3
|
+
export declare const SelectWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const LoadingScreen: import("styled-components").
|
|
3
|
+
export declare const LoadingScreen: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const NavLinks: import("styled-components").
|
|
3
|
+
export declare const NavLinks: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const MenuMobile: import("styled-components").
|
|
3
|
+
export declare const MenuMobile: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const Top: import("styled-components").
|
|
3
|
+
export declare const Top: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const Image: import("styled-components").
|
|
3
|
+
export declare const Image: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -6,7 +6,7 @@ interface IStyledSideBar {
|
|
|
6
6
|
$overlay?: boolean;
|
|
7
7
|
$direction?: 'left' | 'right';
|
|
8
8
|
}
|
|
9
|
-
export declare const SideBar: import("styled-components").
|
|
9
|
+
export declare const SideBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
10
10
|
ref?: import("react").Ref<HTMLElement>;
|
|
11
|
-
}, IStyledSideBar
|
|
11
|
+
}, IStyledSideBar>> & string;
|
|
12
12
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const Toast: import("styled-components").
|
|
3
|
+
export declare const Toast: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react/experimental" />
|
|
3
|
-
export declare const ToastItem: import("styled-components").
|
|
3
|
+
export declare const ToastItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
5
|
-
}, never
|
|
5
|
+
}, never>> & string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infinity-forge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.2",
|
|
4
4
|
"description": "codie Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"@internationalized/date": "^3.5.3",
|
|
48
48
|
"@nextui-org/react": "^2.3.6",
|
|
49
49
|
"@react-aria/i18n": "^3.11.0",
|
|
50
|
-
"@react-input/mask": "^1.2.4",
|
|
51
50
|
"aos": "^2.3.4",
|
|
52
51
|
"axios": "^1.4.0",
|
|
53
52
|
"chroma-js": "^2.4.2",
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/custom-styles.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.customStyles = void 0;
|
|
15
|
-
exports.customStyles = {
|
|
16
|
-
control: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px' })); },
|
|
17
|
-
menu: function (provided, state) { return (__assign(__assign({}, provided), { zIndex: '9999', padding: '5px 15px' })); },
|
|
18
|
-
placeholder: function (provided, state) { return (__assign(__assign({}, provided), { fontSize: '14px' })); },
|
|
19
|
-
valueContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px', padding: '0 15px' })); },
|
|
20
|
-
input: function (provided, state) { return (__assign(__assign({}, provided), { margin: '0px', padding: '0px', height: '60px', minHeight: '60px' })); },
|
|
21
|
-
indicatorSeparator: function (state) { return ({
|
|
22
|
-
display: 'none',
|
|
23
|
-
}); },
|
|
24
|
-
indicatorsContainer: function (provided, state) { return (__assign(__assign({}, provided), { minHeight: '60px', paddingRight: '15px' })); },
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=custom-styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/custom-styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAEa,QAAA,YAAY,GAAiB;IACxC,OAAO,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACzB,QAAQ,KACX,SAAS,EAAE,MAAM,IACjB,EAH4B,CAG5B;IAEF,IAAI,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACtB,QAAQ,KACX,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,UAAU,IACnB,EAJyB,CAIzB;IAEF,WAAW,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAC7B,QAAQ,KACX,QAAQ,EAAE,MAAM,IAChB,EAHgC,CAGhC;IAEF,cAAc,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBAChC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,QAAQ,IACjB,EAJmC,CAInC;IAEF,KAAK,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACvB,QAAQ,KACX,MAAM,EAAE,KAAK,EACb,OAAO,EAAE,KAAK,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,IACjB,EAN0B,CAM1B;IACF,kBAAkB,EAAE,UAAC,KAAK,IAAK,OAAA,CAAC;QAC9B,OAAO,EAAE,MAAM;KAChB,CAAC,EAF6B,CAE7B;IACF,mBAAmB,EAAE,UAAC,QAAQ,EAAE,KAAK,IAAK,OAAA,uBACrC,QAAQ,KACX,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,IACpB,EAJwC,CAIxC;CACH,CAAA"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
type WorkSpaceItem = {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
img: string;
|
|
5
|
-
subtitle?: string;
|
|
6
|
-
};
|
|
7
|
-
export type WorkSpace = {
|
|
8
|
-
list: WorkSpaceItem[];
|
|
9
|
-
onChangeWorkSpace?: (dataForm: {
|
|
10
|
-
workspace: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
activeWorkspace: WorkSpaceItem['value'];
|
|
13
|
-
};
|
|
14
|
-
export declare function SelectWorkSpace({ workspaces }: {
|
|
15
|
-
workspaces?: WorkSpace;
|
|
16
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.SelectWorkSpace = void 0;
|
|
49
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
50
|
-
var system_1 = require("../../../../../../../system/index.js");
|
|
51
|
-
var ui_1 = require("../../../../../../../ui/index.js");
|
|
52
|
-
var S = __importStar(require("./styles.js"));
|
|
53
|
-
var custom_styles_1 = require("./custom-styles.js");
|
|
54
|
-
function Item(_a) {
|
|
55
|
-
var data = _a.data, props = __rest(_a, ["data"]);
|
|
56
|
-
return ((0, jsx_runtime_1.jsxs)("button", __assign({ className: 'item' }, props.innerProps, { children: [(data === null || data === void 0 ? void 0 : data.img) ? (0, jsx_runtime_1.jsx)(system_1.Avatar, { className: 'avatar', image: data.img }) : (0, jsx_runtime_1.jsx)("div", { className: 'circle' }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-14-regular', children: data === null || data === void 0 ? void 0 : data.label }), (data === null || data === void 0 ? void 0 : data.subtitle) && (0, jsx_runtime_1.jsx)("span", { className: 'font-12-regular subtitulo', children: data.subtitle })] })] })));
|
|
57
|
-
}
|
|
58
|
-
function SelectWorkSpace(_a) {
|
|
59
|
-
var workspaces = _a.workspaces;
|
|
60
|
-
if (!(workspaces === null || workspaces === void 0 ? void 0 : workspaces.list) || workspaces.list.length === 0) {
|
|
61
|
-
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
62
|
-
}
|
|
63
|
-
return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: { callbackResult: workspaces.onChangeWorkSpace && workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { name: 'workspace', menuPlacement: 'bottom', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, value: workspaces.activeWorkspace }) }) }));
|
|
64
|
-
}
|
|
65
|
-
exports.SelectWorkSpace = SelectWorkSpace;
|
|
66
|
-
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAE1C,0CAA6B;AAC7B,iDAA8C;AAE9C,SAAS,IAAI,CAAC,EAAkB;IAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;IAC5B,OAAO,CACL,6CAAQ,SAAS,EAAC,MAAM,IAAK,KAAK,CAAC,UAAU,eAC1C,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,EAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,IAAI,CAAC,GAAG,GAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,QAAQ,GAAG,EAExF,4CACE,iCAAM,SAAS,EAAC,iBAAiB,YAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,GAAQ,EAErD,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,iCAAM,SAAS,EAAC,2BAA2B,YAAE,IAAI,CAAC,QAAQ,GAAQ,IACjF,KACC,CACV,CAAA;AACH,CAAC;AAeD,SAAgB,eAAe,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAC1C,IAAI,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,CAAA,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtD,OAAO,kDAAK,CAAA;IACd,CAAC;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,eAAe,cAChB,uBAAC,gBAAW,IACV,YAAY,EAAE,EAAE,cAAc,EAAE,UAAU,CAAC,iBAAiB,IAAI,UAAU,CAAC,iBAAiB,EAAE,EAC9F,WAAW,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,YAEtD,uBAAC,WAAM,IACL,IAAI,EAAC,WAAW,EAChB,aAAa,EAAC,QAAQ,EACtB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,YAAY,QACZ,YAAY,EAAE,4BAAY,EAC1B,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,UAAU,CAAC,eAAe,GACjC,GACU,GACI,CACrB,CAAA;AACH,CAAC;AAxBD,0CAwBC"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SelectWorkSpace: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.SelectWorkSpace = void 0;
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.SelectWorkSpace = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"], ["\n width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-DummyInput'],\n [id*='-input'],\n #react-select-2-input {\n position: absolute !important;\n top: 0 !important;\n left: 0 !important;\n width: 100% !important;\n }\n\n .item {\n background: none;\n padding: 0;\n border: 0;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n\n > div {\n display: flex;\n flex-direction: column;\n text-align: start;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\n white-space: nowrap;\n max-width: 139px;\n }\n\n .subtitulo {\n color: #828282;\n }\n }\n\n .circle {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 36px;\n height: 36px;\n min-width: 36px;\n min-height: 36px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
|
|
13
|
-
var templateObject_1;
|
|
14
|
-
//# sourceMappingURL=styles.js.map
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,2BAAM,CAAC,GAAG,2rCAAA,wnCAiExC,KAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SystemConfigContextType } from './interfaces.js';
|
|
3
|
-
declare const useSystemConfig: () => SystemConfigContextType;
|
|
4
|
-
declare const SystemConfigProvider: ({ children }: {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { useSystemConfig, SystemConfigProvider };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.SystemConfigProvider = exports.useSystemConfig = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
// src/contexts/SystemConfigContext.tsx
|
|
17
|
-
var react_1 = require("react");
|
|
18
|
-
var ui_1 = require("../../../../ui/index.js");
|
|
19
|
-
var defaultConfig = {
|
|
20
|
-
setConfig: function () { },
|
|
21
|
-
};
|
|
22
|
-
var SystemConfigContext = (0, react_1.createContext)(defaultConfig);
|
|
23
|
-
var useSystemConfig = function () { return (0, react_1.useContext)(SystemConfigContext); };
|
|
24
|
-
exports.useSystemConfig = useSystemConfig;
|
|
25
|
-
var SystemConfigProvider = function (_a) {
|
|
26
|
-
var children = _a.children;
|
|
27
|
-
var _b = (0, react_1.useState)({}), config = _b[0], setConfig = _b[1];
|
|
28
|
-
var value = __assign(__assign({}, config), { setConfig: setConfig });
|
|
29
|
-
return ((0, jsx_runtime_1.jsx)(SystemConfigContext.Provider, { value: value, children: (0, jsx_runtime_1.jsx)(ui_1.ThemeProvider, { children: children }) }));
|
|
30
|
-
};
|
|
31
|
-
exports.SystemConfigProvider = SystemConfigProvider;
|
|
32
|
-
//# sourceMappingURL=context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/system-configs/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,uCAAuC;AACvC,+BAAsE;AAEtE,2BAAoC;AAIpC,IAAM,aAAa,GAA4B;IAC7C,SAAS,EAAE,cAAO,CAAC;CACpB,CAAA;AAED,IAAM,mBAAmB,GAAG,IAAA,qBAAa,EAA0B,aAAa,CAAC,CAAA;AAEjF,IAAM,eAAe,GAAG,cAAM,OAAA,IAAA,kBAAU,EAAC,mBAAmB,CAAC,EAA/B,CAA+B,CAAA;AAiBpD,0CAAe;AAfxB,IAAM,oBAAoB,GAAG,UAAC,EAAqC;QAAnC,QAAQ,cAAA;IAChC,IAAA,KAAsB,IAAA,gBAAQ,EAAe,EAAE,CAAC,EAA/C,MAAM,QAAA,EAAE,SAAS,QAA8B,CAAA;IAEtD,IAAM,KAAK,yBACN,MAAM,KACT,SAAS,WAAA,GACV,CAAA;IAED,OAAO,CACL,uBAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACxC,uBAAC,kBAAa,cAAE,QAAQ,GAAiB,GACZ,CAChC,CAAA;AACH,CAAC,CAAA;AAEyB,oDAAoB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./context.js"), exports);
|
|
18
|
-
__exportStar(require("./interfaces.js"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/system-configs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/system-configs/interfaces.ts"],"names":[],"mappings":""}
|