infinity-forge 0.46.8 → 0.46.9
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/select-workspace/index.js +1 -1
- package/dist/system/presentation/components/data/select-workspace/index.js.map +1 -1
- package/dist/system/presentation/components/data/select-workspace/styles.js +1 -1
- package/dist/system/presentation/components/data/select-workspace/styles.js.map +1 -1
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ function SelectWorkSpace(_a) {
|
|
|
63
63
|
var optionIsActive = isOption && workspaces.activeWorkspace === data.value;
|
|
64
64
|
return ((0, jsx_runtime_1.jsxs)(S.Item, __assign({ className: "item ".concat(optionIsActive ? "active" : "") }, props.innerProps, { "$isOption": isOption, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content_option', 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.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-14-regular title_workspace', 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 subtitle', style: { color: isOption ? "#828282" : "#fff" }, children: data.subtitle })] })] }), isOption && (0, jsx_runtime_1.jsx)("div", { className: 'active_workspace', children: (0, jsx_runtime_1.jsx)("div", {}) })] })));
|
|
65
65
|
}
|
|
66
|
-
return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: (workspaces === null || workspaces === void 0 ? void 0 : workspaces.onChangeWorkSpace) && { callbackResult: workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { name: 'workspace', menuPlacement: 'auto', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, placeholder: 'Selecione a empresa', value: workspaces.activeWorkspace }) }) }));
|
|
66
|
+
return ((0, jsx_runtime_1.jsx)(S.SelectWorkSpace, { children: (0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: (workspaces === null || workspaces === void 0 ? void 0 : workspaces.onChangeWorkSpace) && { callbackResult: workspaces.onChangeWorkSpace }, initialData: { workspace: workspaces.activeWorkspace }, children: (0, jsx_runtime_1.jsx)(ui_1.Select, { forceOpenToDevelop: true, name: 'workspace', menuPlacement: 'auto', options: workspaces.list, onlyOneValue: true, customStlyes: custom_styles_1.customStyles, CustomOption: Item, isSearchable: false, placeholder: 'Selecione a empresa', value: workspaces.activeWorkspace }) }) }));
|
|
67
67
|
}
|
|
68
68
|
exports.SelectWorkSpace = SelectWorkSpace;
|
|
69
69
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/select-workspace/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAiC;AACjC,2BAA0C;AAI1C,0CAA6B;AAC7B,iDAA8C;AAE9C,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,SAAS,IAAI,CAAC,EAAkB;;QAAhB,IAAA,IAAI,UAAA,EAAK,KAAK,cAAhB,QAAkB,CAAF;QAC5B,IAAM,QAAQ,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,0CAAE,EAAE,0CAAE,QAAQ,CAAC,QAAQ,CAAC,CAAE;QAC5D,IAAM,cAAc,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BAAJ,IAAI,CAAE,KAAK,GAAQ,EAErE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,iCAAM,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,YAAG,IAAI,CAAC,QAAQ,GAAQ,IACjI,IACF,EAEL,QAAQ,IAAI,gCAAK,SAAS,EAAC,kBAAkB,YAAC,iCAAW,GAAM,KACzD,CACV,CAAA;IACH,CAAC;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,eAAe,cAChB,uBAAC,gBAAW,IACV,YAAY,EAAE,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,iBAAiB,KAAI,EAAE,cAAc,EAAE,UAAU,CAAC,iBAAiB,EAAE,EAC/F,WAAW,EAAE,EAAE,SAAS,EAAE,UAAU,CAAC,eAAe,EAAE,YAEtD,uBAAC,WAAM,IACP,kBAAkB,QAChB,IAAI,EAAC,WAAW,EAChB,aAAa,EAAC,MAAM,EACpB,OAAO,EAAE,UAAU,CAAC,IAAI,EACxB,YAAY,QACZ,YAAY,EAAE,4BAAY,EAC1B,YAAY,EAAE,IAAI,EAClB,YAAY,EAAE,KAAK,EACnB,WAAW,EAAC,qBAAqB,EACjC,KAAK,EAAE,UAAU,CAAC,eAAe,GACjC,GACU,GACI,CACrB,CAAA;AACH,CAAC;AAlDD,0CAkDC"}
|
|
@@ -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: 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
|
|
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: 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 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: 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,+5BAAwB,4nBAiCjC,EAA4E,
|
|
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,+5BAAwB,4nBAiCjC,EAA4E,8NAenG,KAfuB,UAAC,KAAK,IAAK,OAAA,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAjE,CAAiE,EAenG"}
|