infinity-forge 0.13.9 → 0.14.1
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/system/presentation/components/data/chat/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +1 -1
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.js +19 -13
- package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/index.js +2 -1
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/chat/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/chat/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAgD;AAEhD,mCAAqC;AACrC,+CAA4C;AAI5C,0CAA6B;AAE7B,SAAgB,IAAI,CAAC,EAAgD;QAA9C,QAAQ,cAAA,EAAE,SAAS,eAAA,EAAE,WAAW,iBAAA;IACrD,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,YAAY,YACtB,wBAAC,CAAC,CAAC,IAAI,eACL,gCAAK,SAAS,EAAC,UAAU,YACvB,kDAAa,GACT,EAEN,iCAAK,SAAS,EAAC,cAAc,aAC3B,iCAAK,SAAS,EAAC,MAAM,aAClB,SAAS,IAAI,uBAAC,mBAAU,KAAG,EAE3B,CAAC,SAAS,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,IAAI,wFAA6B,EAEnF,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,CAC1B,uBAAC,0BAAW,IAA2B,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,IAAzD,OAAO,CAAC,WAAW,CAA0C,CAChF,EAF2B,CAE3B,CAAC,IACE,EAEN,uBAAC,gBAAW,IAAC,MAAM,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,EAAE,QAAQ,EAAE,WAAW,YACpE,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,WAAW,EAAC,qBAAqB,GAAG,GAC1D,IACV,IACC,GACH,CACT,CAAA;AACH,CAAC;AA1BD,oBA0BC"}
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js
CHANGED
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SelectWorkSpace = void 0;
|
|
11
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*='-Svg'] {\n transition: 0.2s;\n transform: rotate(0);\n fill: #2b2b2b;\n width: 18px;\n }\n\n [class*='
|
|
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*='-Svg'] {\n transition: 0.2s;\n transform: rotate(0);\n fill: #2b2b2b;\n width: 18px;\n }\n\n [class*='indicatorContainer'],\n [class*='-1wy0on6'] {\n padding-right: 15px !important;\n }\n\n [class*='ValueContainer'],\n [class*='-hlgwow'] {\n height: 60px;\n overflow: visible;\n padding-left: 15px !important;\n display: flex;\n }\n\n [class*='indicatorSeparator'] {\n display: none;\n }\n\n [class*='-placeholder'] {\n color: #2b2b2b;\n font-size: 14px;\n font-weight: 400;\n }\n\n [class*='-menu'] {\n width: 100%;\n max-width: 400px;\n z-index: 9999;\n\n .item {\n padding: 5px 15px;\n transition: background 0.2s;\n\n &:hover {\n background: #e1e1e1;\n }\n }\n }\n\n [class*='-MenuList'] {\n display: flex;\n flex-direction: column;\n }\n\n .css-13cymwt-control {\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n cursor: pointer;\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 max-width: 139px;\n overflow-x: hidden;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\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 width: 100%;\n padding: 20px 15px 0 0;\n\n [class*='-Svg'] {\n transition: 0.2s;\n transform: rotate(0);\n fill: #2b2b2b;\n width: 18px;\n }\n\n [class*='indicatorContainer'],\n [class*='-1wy0on6'] {\n padding-right: 15px !important;\n }\n\n [class*='ValueContainer'],\n [class*='-hlgwow'] {\n height: 60px;\n overflow: visible;\n padding-left: 15px !important;\n display: flex;\n }\n\n [class*='indicatorSeparator'] {\n display: none;\n }\n\n [class*='-placeholder'] {\n color: #2b2b2b;\n font-size: 14px;\n font-weight: 400;\n }\n\n [class*='-menu'] {\n width: 100%;\n max-width: 400px;\n z-index: 9999;\n\n .item {\n padding: 5px 15px;\n transition: background 0.2s;\n\n &:hover {\n background: #e1e1e1;\n }\n }\n }\n\n [class*='-MenuList'] {\n display: flex;\n flex-direction: column;\n }\n\n .css-13cymwt-control {\n border: 1px solid #e1e1e1;\n border-radius: 5px;\n cursor: pointer;\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 max-width: 139px;\n overflow-x: hidden;\n\n > span {\n text-overflow: ellipsis;\n overflow-x: hidden;\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"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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
|
|
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,44DAAA,y0DA4GxC,KAAA"}
|
|
@@ -31,19 +31,25 @@ var S = __importStar(require("./styles.js"));
|
|
|
31
31
|
function MenuVersion01(_a) {
|
|
32
32
|
var workspaces = _a.workspaces;
|
|
33
33
|
var headerHeight = (0, hook_1.useHeader)().headerHeight;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
// const test: WorkSpace = {
|
|
35
|
+
// list: [
|
|
36
|
+
// {
|
|
37
|
+
// img: '',
|
|
38
|
+
// label: 'lucas',
|
|
39
|
+
// value: 'lucas',
|
|
40
|
+
// subtitle: 'lucas',
|
|
41
|
+
// },
|
|
42
|
+
// {
|
|
43
|
+
// img: '',
|
|
44
|
+
// label: 'lucas',
|
|
45
|
+
// value: 'lucas',
|
|
46
|
+
// subtitle: 'lucas',
|
|
47
|
+
// },
|
|
48
|
+
// ],
|
|
49
|
+
// activeWorkspace: '',
|
|
50
|
+
// onChangeWorkSpace: () => null,
|
|
51
|
+
// }
|
|
52
|
+
return ((0, jsx_runtime_1.jsxs)(S.MenuVersion01, { style: { height: "calc(100vh - ".concat(headerHeight + 'px', ")") }, id: 'left-menu', children: [(0, jsx_runtime_1.jsx)(components_1.SelectWorkSpace, { workspaces: workspaces }), (0, jsx_runtime_1.jsx)(components_1.Menu, {})] }));
|
|
47
53
|
}
|
|
48
54
|
exports.MenuVersion01 = MenuVersion01;
|
|
49
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAwC;AAExC,4CAAgE;AAEhE,0CAA6B;AAE7B,SAAgB,aAAa,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAChC,IAAA,YAAY,GAAK,IAAA,gBAAS,GAAE,aAAhB,CAAgB;IAEpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAwC;AAExC,4CAAgE;AAEhE,0CAA6B;AAE7B,SAAgB,aAAa,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAChC,IAAA,YAAY,GAAK,IAAA,gBAAS,GAAE,aAAhB,CAAgB;IAEpC,4BAA4B;IAC5B,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,wBAAwB;IACxB,wBAAwB;IACxB,2BAA2B;IAC3B,SAAS;IACT,QAAQ;IACR,iBAAiB;IACjB,wBAAwB;IACxB,wBAAwB;IACxB,2BAA2B;IAC3B,SAAS;IACT,OAAO;IACP,yBAAyB;IACzB,mCAAmC;IACnC,IAAI;IAEJ,OAAO,CACL,wBAAC,CAAC,CAAC,aAAa,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,uBAAgB,YAAY,GAAG,IAAI,MAAG,EAAE,EAAE,EAAE,EAAC,WAAW,aACxF,uBAAC,4BAAe,IAAC,UAAU,EAAE,UAAU,GAAI,EAE3C,uBAAC,iBAAI,KAAG,IACQ,CACnB,CAAA;AACH,CAAC;AA7BD,sCA6BC"}
|
|
@@ -89,7 +89,7 @@ var S = __importStar(require("../styles.js"));
|
|
|
89
89
|
function FormElement(_a) {
|
|
90
90
|
var button = _a.button, children = _a.children, onSucess = _a.onSucess, customSubmit = _a.customSubmit, onChangeForm = _a.onChangeForm, schema = _a.schema;
|
|
91
91
|
var _b = (0, react_1.useState)({ state: '', message: '' }), stateForm = _b[0], setStateForm = _b[1];
|
|
92
|
-
var _c = (0, formik_1.useFormikContext)(), values = _c.values, setErrors = _c.setErrors, setFieldError = _c.setFieldError, setFieldValue = _c.setFieldValue, validateForm = _c.validateForm;
|
|
92
|
+
var _c = (0, formik_1.useFormikContext)(), values = _c.values, setErrors = _c.setErrors, setFieldError = _c.setFieldError, setFieldValue = _c.setFieldValue, validateForm = _c.validateForm, resetForm = _c.resetForm;
|
|
93
93
|
function onSubmit(action) {
|
|
94
94
|
return __awaiter(this, void 0, void 0, function () {
|
|
95
95
|
var _a, err_1, validationErrors_1;
|
|
@@ -109,6 +109,7 @@ function FormElement(_a) {
|
|
|
109
109
|
_a;
|
|
110
110
|
!action && setStateForm({ state: 'send', message: '' });
|
|
111
111
|
action && action(values, setStateForm);
|
|
112
|
+
resetForm({ values: '' });
|
|
112
113
|
return [3 /*break*/, 4];
|
|
113
114
|
case 3:
|
|
114
115
|
err_1 = _b.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/handler/form-handler/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAC3C,iCAA+C;AAE/C,2BAA6B;AAC7B,kDAAyE;AACzE,mCAA0E;AAI1E,2CAA8B;AAE9B,SAAwB,WAAW,CAAC,EAAgF;QAA9E,MAAM,YAAA,EAAE,QAAQ,cAAA,EAAE,QAAQ,cAAA,EAAE,YAAY,kBAAA,EAAE,YAAY,kBAAA,EAAE,MAAM,YAAA;IAC5F,IAAA,KAA4B,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,EAA/D,SAAS,QAAA,EAAE,YAAY,QAAwC,CAAA;IAEhE,IAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/handler/form-handler/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAC3C,iCAA+C;AAE/C,2BAA6B;AAC7B,kDAAyE;AACzE,mCAA0E;AAI1E,2CAA8B;AAE9B,SAAwB,WAAW,CAAC,EAAgF;QAA9E,MAAM,YAAA,EAAE,QAAQ,cAAA,EAAE,QAAQ,cAAA,EAAE,YAAY,kBAAA,EAAE,YAAY,kBAAA,EAAE,MAAM,YAAA;IAC5F,IAAA,KAA4B,IAAA,gBAAQ,EAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE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