infinity-forge 0.58.2 → 0.58.4

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.
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.Item = exports.SelectWorkSpace = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  exports.SelectWorkSpace = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n box-shadow: 0px 0px 5px 0px #00000033;\n\n .input_control {\n margin-bottom: 0 !important;\n }\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 [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n [id*='-listbox'] {\n > div {\n padding: 2px 10px;\n }\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 .title_workspace {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitle {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\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 box-shadow: 0px 0px 5px 0px #00000033;\n\n .input_control {\n margin-bottom: 0 !important;\n }\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 [class*='-indicatorContainer'] {\n padding: 0;\n }\n\n [class*='-control'] {\n * {\n color: #fff;\n font-weight: 700;\n }\n }\n\n [id*='-listbox'] {\n > div {\n padding: 2px 10px;\n }\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 .title_workspace {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n max-width: 100%;\n }\n\n .subtitle {\n color: #828282;\n }\n }\n\n .circle {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n border-radius: 100rem;\n background-color: #444444;\n }\n\n .avatar {\n width: 30px;\n height: 30px;\n min-width: 30px;\n min-height: 30px;\n\n img {\n object-fit: cover !important;\n }\n }\n }\n\n .item + .item {\n margin-top: 10px;\n }\n"])));
13
- exports.Item = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n > div {\n display: flex;\n flex-direction: row;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n min-height: 10px;\n min-width: 10px;\n max-width: 10px;\n max-width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", ";\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n background-color: #6d6b6b;\n\n > div {\n height: 100%;\n width: 100%;\n }\n }\n }\n"], ["\n align-items: center;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n > div {\n display: flex;\n flex-direction: row;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n min-height: 10px;\n min-width: 10px;\n max-width: 10px;\n max-width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", ";\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n background-color: #6d6b6b;\n\n > div {\n height: 100%;\n width: 100%;\n }\n }\n }\n"])), function (props) { return (props.$isOption ? 'rgb(245 245 245 / 29%) !important' : 'unset'); });
13
+ exports.Item = (0, styled_components_1.default)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n width: calc(100% - 10px);\n \n > div {\n display: flex;\n flex-direction: column;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n min-height: 10px;\n min-width: 10px;\n max-width: 10px;\n max-width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", ";\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n background-color: #6d6b6b;\n\n > div {\n height: 100%;\n width: 100%;\n }\n }\n }\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row !important;\n justify-content: space-between;\n margin-top: 0 !important;\n margin-bottom: -2px;\n padding: 5px 12px !important;\n\n .content_option {\n width: calc(100% - 10px);\n \n > div {\n display: flex;\n flex-direction: column;\n gap: 3px;\n\n span {\n line-height: 1;\n display: flex;\n }\n }\n }\n\n .active_workspace {\n min-height: 10px;\n min-width: 10px;\n max-width: 10px;\n max-width: 10px;\n border-radius: 100%;\n border: 1px solid #6d6b6b;\n overflow: hidden;\n }\n\n &:hover {\n transition: 0.2s;\n background-color: ", ";\n }\n\n &.active {\n background: rgb(239 236 236 / 50%) !important;\n\n .active_workspace {\n background-color: #6d6b6b;\n\n > div {\n height: 100%;\n width: 100%;\n }\n }\n }\n"])), function (props) { return (props.$isOption ? 'rgb(245 245 245 / 29%) !important' : 'unset'); });
14
14
  var templateObject_1, templateObject_2;
15
15
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,yjDAAA,s/CAwF3C,KAAA;AACY,QAAA,IAAI,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,45BAAwB,ynBAiCjC,EAA4E,8NAenG,KAfuB,UAAC,KAAK,IAAK,OAAA,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAjE,CAAiE,EAenG"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,eAAe,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,yjDAAA,s/CAwF3C,KAAA;AACY,QAAA,IAAI,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,s9BAAwB,mrBAoCjC,EAA4E,8NAenG,KAfuB,UAAC,KAAK,IAAK,OAAA,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAjE,CAAiE,EAenG"}
@@ -29,8 +29,7 @@ var ui_1 = require("../../../../../ui/index.js");
29
29
  var form_login_1 = require("./form-login/index.js");
30
30
  var S = __importStar(require("./styles.js"));
31
31
  function Login() {
32
- var _a = (0, ui_1.useQueryClient)(function (state) { return state; }), cache = _a.cache, clearCache = _a.clearCache;
33
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.Login, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: 'empty' }), (0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () { return clearCache(); } }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-logo.png', alt: ' ' }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'text', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-20-bold', children: "Seja bem vindo!" }), (0, jsx_runtime_1.jsx)("p", { className: 'font-16-medium', children: "Ao seu portal de gest\u00E3o" })] }), (0, jsx_runtime_1.jsx)(form_login_1.FormLogin, {})] }), (0, jsx_runtime_1.jsx)("div", { className: 'contact-footer', children: (0, jsx_runtime_1.jsxs)("span", { children: ["Powered by", ' ', (0, jsx_runtime_1.jsx)("a", { target: '_blank', href: 'https://codie.digital/', children: "Codie." }), ' ', "Todos os direitos reservados."] }) })] }), (0, jsx_runtime_1.jsx)("div", { className: 'image', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-left.png', alt: 'Imagem de login' }) })] }) }));
32
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'login', children: (0, jsx_runtime_1.jsxs)(S.Login, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: 'empty' }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: 'logo', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-logo.png', alt: ' ' }) }), (0, jsx_runtime_1.jsxs)("div", { className: 'text', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-20-bold', children: "Seja bem vindo!" }), (0, jsx_runtime_1.jsx)("p", { className: 'font-16-medium', children: "Ao seu portal de gest\u00E3o" })] }), (0, jsx_runtime_1.jsx)(form_login_1.FormLogin, {})] }), (0, jsx_runtime_1.jsx)("div", { className: 'contact-footer', children: (0, jsx_runtime_1.jsxs)("span", { children: ["Powered by", ' ', (0, jsx_runtime_1.jsx)("a", { target: '_blank', href: 'https://codie.digital/', children: "Codie." }), ' ', "Todos os direitos reservados."] }) })] }), (0, jsx_runtime_1.jsx)("div", { className: 'image', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/login-left.png', alt: 'Imagem de login' }) })] }) }));
34
33
  }
35
34
  exports.Login = Login;
36
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/login/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAuD;AAEvD,2CAAwC;AAExC,0CAA6B;AAE7B,SAAgB,KAAK;IACb,IAAA,KAAsB,IAAA,mBAAc,EAAC,UAAA,KAAK,IAAI,OAAA,KAAK,EAAL,CAAK,CAAC,EAAnD,KAAK,WAAA,EAAE,UAAU,gBAAkC,CAAA;IAC1D,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,YACjB,wBAAC,CAAC,CAAC,KAAK,eACN,iCAAK,SAAS,EAAC,SAAS,aACtB,gCAAK,SAAS,EAAC,OAAO,GAAO,EAC7B,mCAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,cAAM,OAAA,UAAU,EAAE,EAAZ,CAAY,GAAW,EAC5D,4CACE,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,GAAG,GAAG,GAC9C,EAEN,iCAAK,SAAS,EAAC,MAAM,aACnB,+BAAI,SAAS,EAAC,cAAc,gCAAqB,EAEjD,8BAAG,SAAS,EAAC,gBAAgB,6CAA4B,IACrD,EAEN,uBAAC,sBAAS,KAAG,IACT,EAEN,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,2DACa,GAAG,EACd,8BAAG,MAAM,EAAC,QAAQ,EAAC,IAAI,EAAC,wBAAwB,uBAE5C,EAAC,GAAG,qCAEH,GACH,IACF,EAEN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,iBAAiB,GAAG,GAC5D,IACE,GACJ,CACT,CAAA;AACH,CAAC;AAvCD,sBAuCC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/context/auth/login/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAuD;AAEvD,2CAAwC;AAExC,0CAA6B;AAE7B,SAAgB,KAAK;IACnB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,YACjB,wBAAC,CAAC,CAAC,KAAK,eACN,iCAAK,SAAS,EAAC,SAAS,aACtB,gCAAK,SAAS,EAAC,OAAO,GAAO,EAC7B,4CACE,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,GAAG,GAAG,GAC9C,EAEN,iCAAK,SAAS,EAAC,MAAM,aACnB,+BAAI,SAAS,EAAC,cAAc,gCAAqB,EAEjD,8BAAG,SAAS,EAAC,gBAAgB,6CAA4B,IACrD,EAEN,uBAAC,sBAAS,KAAG,IACT,EAEN,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,2DACa,GAAG,EACd,8BAAG,MAAM,EAAC,QAAQ,EAAC,IAAI,EAAC,wBAAwB,uBAE5C,EAAC,GAAG,qCAEH,GACH,IACF,EAEN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,cAAS,IAAC,GAAG,EAAC,wBAAwB,EAAC,GAAG,EAAC,iBAAiB,GAAG,GAC5D,IACE,GACJ,CACT,CAAA;AACH,CAAC;AArCD,sBAqCC"}
@@ -11,7 +11,7 @@ function HomePage() {
11
11
  // },
12
12
  // enableCache: true,
13
13
  // })
14
- return ((0, jsx_runtime_1.jsx)(index_1.Layout, { children: (0, jsx_runtime_1.jsx)(index_1.FormHandler, { children: (0, jsx_runtime_1.jsx)(index_1.Select, { onlyOneValue: true, name: 'Test', creatableSelect: true, options: [
14
+ return ((0, jsx_runtime_1.jsx)(index_1.Layout, { workspaces: { activeWorkspace: "1", list: [{ img: "", label: "Ts", subtitle: "Test", value: "1" }, { img: "", label: "222", value: "2333" }] }, children: (0, jsx_runtime_1.jsx)(index_1.FormHandler, { children: (0, jsx_runtime_1.jsx)(index_1.Select, { onlyOneValue: true, name: 'Test', creatableSelect: true, options: [
15
15
  { label: 'Test', value: 'Test1' },
16
16
  { label: 'Test2', value: 'Test2' },
17
17
  ] }) }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;;AAAA,kCAAyG;AAEzG,SAAgB,QAAQ;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,qBAAqB;IACrB,oBAAoB;IACpB,OAAO;IACP,uBAAuB;IACvB,KAAK;IAEL,OAAO,CACL,uBAAC,cAAM,cACL,uBAAC,mBAAW,cACV,uBAAC,cAAM,IACL,YAAY,QACZ,IAAI,EAAC,MAAM,EACX,eAAe,QACf,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE;oBACjC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;iBACnC,GACD,GACU,GACP,CACV,CAAA;AACH,CAAC;AAxBD,4BAwBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;;AAAA,kCAAyG;AAEzG,SAAgB,QAAQ;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,qBAAqB;IACrB,oBAAoB;IACpB,OAAO;IACP,uBAAuB;IACvB,KAAK;IAEL,OAAO,CACL,uBAAC,cAAM,IAAC,UAAU,EAAE,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAG,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,YACpJ,uBAAC,mBAAW,cACV,uBAAC,cAAM,IACL,YAAY,QACZ,IAAI,EAAC,MAAM,EACX,eAAe,QACf,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE;oBACjC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;iBACnC,GACD,GACU,GACP,CACV,CAAA;AACH,CAAC;AAxBD,4BAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.58.2",
3
+ "version": "0.58.4",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",