infinity-forge 0.17.2 → 0.17.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.
- package/dist/system/domain/generics/table-configuration.d.ts +1 -0
- package/dist/system/presentation/components/layout/component.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +2 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,mCAAiC;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,mCAAiC;AAGjC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,EAA+E;QAA7E,QAAQ,cAAA,EAAE,UAAU,gBAAA;IAC3C,OAAO,CACL,wBAAC,CAAC,CAAC,MAAM,eACP,uBAAC,eAAM,KAAG,EAEV,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,gCAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAI,EAExD,uBAAC,WAAI,IAAC,UAAU,EAAE,UAAU,GAAI,EAEhC,2CAAO,QAAQ,GAAQ,IACnB,IACG,CACZ,CAAA;AACH,CAAC;AAdD,wBAcC"}
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js
CHANGED
|
@@ -31,7 +31,8 @@ var system_1 = require("../../../../../../../../system/index.js");
|
|
|
31
31
|
var content_1 = require("./content/index.js");
|
|
32
32
|
var S = __importStar(require("./styles.js"));
|
|
33
33
|
function Profile() {
|
|
34
|
-
var
|
|
34
|
+
var user = (0, system_1.useAuthAdmin)().user;
|
|
35
|
+
var avatarImage = (user === null || user === void 0 ? void 0 : user.avatar) || '/images/avatar-default.png';
|
|
35
36
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsx)(S.Profile, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { style: { padding: '0' }, trigger: (0, jsx_runtime_1.jsx)(system_1.Avatar, { image: avatarImage }), on: 'click', content: (0, jsx_runtime_1.jsx)(content_1.Content, {}), position: 'bottom right' }) }) }));
|
|
36
37
|
}
|
|
37
38
|
exports.Profile = Profile;
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,2BAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,2BAA4B;AAC5B,mCAA+C;AAE/C,qCAAmC;AAEnC,0CAA6B;AAE7B,SAAgB,OAAO;IACb,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAE/B,IAAM,WAAW,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,KAAI,4BAA4B,CAAA;IAChE,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,uBAAC,CAAC,CAAC,OAAO,cACR,uBAAC,yBAAK,IACJ,KAAK,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,EACvB,OAAO,EAAE,uBAAC,eAAM,IAAC,KAAK,EAAE,WAAW,GAAI,EACvC,EAAE,EAAC,OAAO,EACV,OAAO,EAAE,uBAAC,iBAAO,KAAG,EACpB,QAAQ,EAAC,cAAc,GACvB,GACQ,GACN,CACT,CAAA;AACH,CAAC;AAjBD,0BAiBC"}
|
|
@@ -100,7 +100,7 @@ function Filters(_a) {
|
|
|
100
100
|
function updateFilters(filters) {
|
|
101
101
|
(0, ui_1.updateRoute)({ params: { filters: (0, ui_1.toBase64)({ filters: filters }) }, router: router });
|
|
102
102
|
}
|
|
103
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Filters', children: (0, jsx_runtime_1.jsx)(S.Filters, { children: (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { initialData: initialData, children: [filters === null || filters === void 0 ? void 0 : filters.map(function (filter) { return ((0, jsx_runtime_1.jsx)(ui_1.Select, { name: filter.data, onlyOneValue: true, onChangeSelect: function (value) { return __awaiter(_this, void 0, void 0, function () {
|
|
103
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Filters', children: (0, jsx_runtime_1.jsx)(S.Filters, { children: (0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { initialData: initialData, children: [filters === null || filters === void 0 ? void 0 : filters.map(function (filter) { return ((0, jsx_runtime_1.jsx)(ui_1.Select, { name: filter.data, placeholder: filter.label, onlyOneValue: true, onChangeSelect: function (value) { return __awaiter(_this, void 0, void 0, function () {
|
|
104
104
|
var filterSelected, filterAlredyExist, remapedFilters;
|
|
105
105
|
var _a, _b;
|
|
106
106
|
return __generator(this, function (_c) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,mCAA0D;AAC1D,2BAA4F;AAE5F,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAuD;IAA/E,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,mCAA0D;AAC1D,2BAA4F;AAE5F,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAuD;IAA/E,iBAwDC;;QAxDyB,OAAO,aAAA;IAC/B,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAC1B,IAAM,YAAY,GAAG,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,0CAAE,OAAO,CAAA;IAC3C,IAAM,oBAAoB,GAAG,IAAA,uBAAkB,EAAC,YAAY,CAAC,CAAA;IAE7D,IAAM,kBAAkB,GAAG,CAAA,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,OAAO,KAAI,KAAK,CAAC,OAAO,CAAC,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,OAAO,CAAC,CAAA;IAExG,IAAM,WAAW,GAAG,kBAAkB,KAAI,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,OAAO,CAAC,MAAM,CAAC,UAAC,OAAO,EAAE,MAAM;;QAC7F,6BAAY,OAAO,gBAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,IAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,OAAE;IACvD,CAAC,EAAE,EAAE,CAAC,CAAA,CAAA;IAEN,SAAS,aAAa,CAAC,OAAc;QACnC,IAAA,gBAAW,EAAC,EA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