infinity-forge 0.19.2 → 0.19.6
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/data/use-cases/menu/remote-get-menu.d.ts +6 -2
- package/dist/system/data/use-cases/menu/remote-get-menu.js +69 -2
- package/dist/system/data/use-cases/menu/remote-get-menu.js.map +1 -1
- package/dist/system/domain/use-cases/menu/create.d.ts +8 -0
- package/dist/system/domain/use-cases/menu/create.js +3 -0
- package/dist/system/domain/use-cases/menu/create.js.map +1 -0
- package/dist/system/domain/use-cases/menu/delete.d.ts +9 -0
- package/dist/system/domain/use-cases/menu/delete.js +3 -0
- package/dist/system/domain/use-cases/menu/delete.js.map +1 -0
- package/dist/system/domain/use-cases/menu/detail.d.ts +8 -0
- package/dist/system/domain/use-cases/menu/detail.js +3 -0
- package/dist/system/domain/use-cases/menu/detail.js.map +1 -0
- package/dist/system/domain/use-cases/menu/index.d.ts +6 -1
- package/dist/system/domain/use-cases/menu/index.js +6 -1
- package/dist/system/domain/use-cases/menu/index.js.map +1 -1
- package/dist/system/domain/use-cases/menu/load-all.d.ts +12 -0
- package/dist/system/domain/use-cases/menu/load-all.js +3 -0
- package/dist/system/domain/use-cases/menu/load-all.js.map +1 -0
- package/dist/system/domain/use-cases/menu/menu.d.ts +8 -0
- package/dist/system/domain/use-cases/menu/menu.js +3 -0
- package/dist/system/domain/use-cases/menu/menu.js.map +1 -0
- package/dist/system/domain/use-cases/menu/update.d.ts +8 -0
- package/dist/system/domain/use-cases/menu/update.js +3 -0
- package/dist/system/domain/use-cases/menu/update.js.map +1 -0
- package/dist/system/presentation/components/data/chat/index.js +1 -1
- package/dist/system/presentation/components/data/chat/index.js.map +1 -1
- package/dist/system/presentation/components/data/chat/styles.js +1 -1
- package/dist/system/presentation/components/data/chat/styles.js.map +1 -1
- package/dist/system/presentation/components/data/highlight-text/index.d.ts +2 -0
- package/dist/system/presentation/components/data/highlight-text/index.js +43 -0
- package/dist/system/presentation/components/data/highlight-text/index.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-text/interfaces.d.ts +4 -0
- package/dist/system/presentation/components/data/highlight-text/interfaces.js +3 -0
- package/dist/system/presentation/components/data/highlight-text/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/highlight-text/styles.d.ts +6 -0
- package/dist/system/presentation/components/data/highlight-text/styles.js +15 -0
- package/dist/system/presentation/components/data/highlight-text/styles.js.map +1 -0
- package/dist/system/presentation/components/data/index.d.ts +2 -2
- package/dist/system/presentation/components/data/index.js +1 -1
- package/dist/system/presentation/components/data/index.js.map +1 -1
- package/dist/system/presentation/components/layout/component.js +1 -1
- package/dist/system/presentation/components/layout/component.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +35 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/styles.d.ts +4 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +14 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js +1 -1
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/components/menu/index.js +1 -1
- package/dist/system/presentation/components/layout/menu/components/menu/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/menu/index.js +5 -5
- package/dist/system/presentation/components/layout/menu/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/index.js +4 -4
- package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/menu/version-01/styles.js +2 -2
- package/dist/system/presentation/components/layout/menu/version-01/styles.js.map +1 -1
- package/dist/system/presentation/components/pages/index.d.ts +1 -0
- package/dist/system/presentation/components/pages/index.js +1 -0
- package/dist/system/presentation/components/pages/index.js.map +1 -1
- package/dist/system/presentation/components/pages/menus/index.d.ts +1 -0
- package/dist/system/presentation/components/pages/menus/index.js +18 -0
- package/dist/system/presentation/components/pages/menus/index.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/page.d.ts +1 -0
- package/dist/system/presentation/components/pages/menus/page.js +38 -0
- package/dist/system/presentation/components/pages/menus/page.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/columns.d.ts +3 -0
- package/dist/system/presentation/components/pages/menus/table/columns.js +21 -0
- package/dist/system/presentation/components/pages/menus/table/columns.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/create.d.ts +3 -0
- package/dist/system/presentation/components/pages/menus/table/create.js +72 -0
- package/dist/system/presentation/components/pages/menus/table/create.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/delete.d.ts +3 -0
- package/dist/system/presentation/components/pages/menus/table/delete.js +73 -0
- package/dist/system/presentation/components/pages/menus/table/delete.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/edit.d.ts +3 -0
- package/dist/system/presentation/components/pages/menus/table/edit.js +80 -0
- package/dist/system/presentation/components/pages/menus/table/edit.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/icon/index.d.ts +3 -0
- package/dist/system/presentation/components/pages/menus/table/icon/index.js +34 -0
- package/dist/system/presentation/components/pages/menus/table/icon/index.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/icon/style.d.ts +4 -0
- package/dist/system/presentation/components/pages/menus/table/icon/style.js +14 -0
- package/dist/system/presentation/components/pages/menus/table/icon/style.js.map +1 -0
- package/dist/system/presentation/components/pages/menus/table/index.d.ts +4 -0
- package/dist/system/presentation/components/pages/menus/table/index.js +21 -0
- package/dist/system/presentation/components/pages/menus/table/index.js.map +1 -0
- package/dist/system/presentation/components/pages/users/page.js +0 -1
- package/dist/system/presentation/components/pages/users/page.js.map +1 -1
- package/dist/system/presentation/context/auth/context.js +12 -5
- package/dist/system/presentation/context/auth/context.js.map +1 -1
- package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -1
- package/dist/system/presentation/hooks/menu/use-load-menu.js +2 -2
- package/dist/system/presentation/hooks/menu/use-load-menu.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/form/input-file/file-card/index.js +2 -1
- package/dist/ui/components/form/input-file/file-card/index.js.map +1 -1
- package/dist/ui/components/form/input-file/file-card/styles.js +1 -1
- package/dist/ui/components/form/input-file/file-card/styles.js.map +1 -1
- package/dist/ui/components/form/select/custom-styles.js +1 -0
- package/dist/ui/components/form/select/custom-styles.js.map +1 -1
- package/dist/ui/icons/index.d.ts +2 -1
- package/dist/ui/icons/index.js +1 -0
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/icons/render/message-balloon.d.ts +1 -0
- package/dist/ui/icons/render/message-balloon.js +9 -0
- package/dist/ui/icons/render/message-balloon.js.map +1 -0
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/settings/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/settings/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,uDAAiD;AAEjD,0CAA6B;AAC7B,2BAAsC;AACtC,oCAAqC;AAErC,SAAgB,QAAQ;IAChB,IAAA,KAAwB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAA;IAE7C,IAAM,eAAe,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,CAAA;IAE3G,SAAS,WAAW;QAClB,UAAU,CAAC,KAAK,CAAC,CAAA;QACjB,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,UAAU,YACpB,wBAAC,CAAC,CAAC,QAAQ,eACT,uBAAC,kBAAS,IAAC,OAAO,EAAE,cAAM,OAAA,UAAU,CAAC,IAAI,CAAC,EAAhB,CAAgB,EAAE,IAAI,EAAC,QAAQ,YACvD,uBAAC,aAAQ,KAAG,GACF,EAEZ,uBAAC,2BAAO,IACN,EAAE,EAAE,wBAAI,EACR,SAAS,EAAC,SAAS,EACnB,IAAI,EAAC,SAAS,EACd,MAAM,EAAE,WAAW,EACnB,QAAQ,QACR,SAAS,EAAC,OAAO,EACjB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,MAAM,EACZ,QAAQ,EAAE,WAAW,EACrB,KAAK,EAAE,eAAe,YAEtB,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,+BAAI,SAAS,EAAC,cAAc,wCAAmB,EAE/C,mCAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,WAAW,GAEjC,IACL,GAcE,IACC,GACP,CACT,CAAA;AACH,CAAC;AArDD,4BAqDC"}
|
|
@@ -47,9 +47,9 @@ var S = __importStar(require("./styles.js"));
|
|
|
47
47
|
function SearchList(_a) {
|
|
48
48
|
var setOpen = _a.setOpen;
|
|
49
49
|
var data = (0, system_1.useLoadMenu)().data;
|
|
50
|
-
|
|
50
|
+
var newData = [{ title: 'Menu', icon: 'IconBox', items: data === null || data === void 0 ? void 0 : data.items }];
|
|
51
51
|
var _b = (0, react_1.useState)(''), searchText = _b[0], setSearchText = _b[1];
|
|
52
|
-
var menuItemsFiltered = data
|
|
52
|
+
var menuItemsFiltered = data;
|
|
53
53
|
if (searchText.length > 0) {
|
|
54
54
|
menuItemsFiltered = data.flatMap(function (menu) {
|
|
55
55
|
var _a, _b;
|
|
@@ -65,7 +65,7 @@ function SearchList(_a) {
|
|
|
65
65
|
}
|
|
66
66
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SearchList', children: (0, jsx_runtime_1.jsxs)(S.SearchList, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'header', children: [(0, jsx_runtime_1.jsx)(ui_1.FormHandler, { children: (0, jsx_runtime_1.jsx)(system_1.InputSearch, { onChange: function (value) { return setSearchText(value); } }) }), (0, jsx_runtime_1.jsx)("button", { className: 'close', type: 'button', onClick: function () { return setOpen(false); }, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'CloseIcon' }) })] }), (0, jsx_runtime_1.jsx)("div", { className: 'list', children: menuItemsFiltered.length === 0 ? ((0, jsx_runtime_1.jsxs)("div", { className: 'not-found', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconNotFound' }) }), (0, jsx_runtime_1.jsx)("p", { className: 'font-20-regular', children: "Nenhum resultado encontrado" })] })) : (menuItemsFiltered.map(function (item, index) {
|
|
67
67
|
var _a;
|
|
68
|
-
return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("h6", { className: "font-12-bold uppercase ".concat(index !== 0 && 'last'), children: item.title }), (_a = item.items) === null || _a === void 0 ? void 0 : _a.map(function (subItem) {
|
|
68
|
+
return ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("h6", { className: "font-12-bold uppercase ".concat(index !== 0 && 'last'), children: item.title }), menuItemsFiltered[index].route && ((0, jsx_runtime_1.jsxs)(link_1.default, { href: menuItemsFiltered[index].route, className: 'item', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: menuItemsFiltered[index].icon }) }), (0, jsx_runtime_1.jsxs)("span", { className: 'text-box font-14-regular', children: [(0, jsx_runtime_1.jsx)("span", { className: 'name', children: menuItemsFiltered[index].title }), (0, jsx_runtime_1.jsx)("span", { className: 'href', children: menuItemsFiltered[index].route })] })] }, menuItemsFiltered[index].title)), (_a = item.items) === null || _a === void 0 ? void 0 : _a.map(function (subItem) {
|
|
69
69
|
return subItem.route ? ((0, jsx_runtime_1.jsxs)(link_1.default, { href: subItem.route, className: 'item', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: subItem.icon }) }), (0, jsx_runtime_1.jsxs)("span", { className: 'text-box font-14-regular', children: [(0, jsx_runtime_1.jsx)("span", { className: 'name', children: subItem.title }), (0, jsx_runtime_1.jsx)("span", { className: 'href', children: subItem.route })] })] }, subItem.title)) : null;
|
|
70
70
|
})] }, item.title + '-' + index));
|
|
71
71
|
})) })] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/search-list/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/search-list/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAoE;AACpE,mDAA4B;AAC5B,2BAA+C;AAC/C,mCAAmD;AAEnD,0CAA6B;AAE7B,SAAgB,UAAU,CAAC,EAA2D;QAAzD,OAAO,aAAA;IAC1B,IAAA,IAAI,GAAK,IAAA,oBAAW,GAAE,KAAlB,CAAkB;IAC9B,IAAM,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE,CAAC,CAAA;IAElE,IAAA,KAA8B,IAAA,gBAAQ,EAAC,EAAE,CAAC,EAAzC,UAAU,QAAA,EAAE,aAAa,QAAgB,CAAA;IAEhD,IAAI,iBAAiB,GAAG,IAAI,CAAA;IAE5B,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,iBAAiB,GAAG,IAAI,CAAC,OAAO,CAAC,UAAC,IAAI;;YACpC,IAAM,aAAa,GACjB,MAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,EAA3D,CAA2D,CAAC,mCAAI,EAAE,CAAA;YAEjG,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC7B,OAAO,uBAAM,I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&& this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SearchTrigger = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.SearchTrigger = (0, styled_components_1.default)(
|
|
12
|
+
exports.SearchTrigger = (0, styled_components_1.default)('div')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n max-width: 473px;\n height: 40px;\n padding: 0 16px;\n border: 0;\n border-radius: 5px;\n background: rgba(255, 255, 255, 0.2);\n font-weight: 400;\n color: #fff;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n cursor: pointer;\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n\n span {\n display: block;\n padding-top: 3px;\n }\n"], ["\n width: 100%;\n max-width: 473px;\n height: 40px;\n padding: 0 16px;\n border: 0;\n border-radius: 5px;\n background: rgba(255, 255, 255, 0.2);\n font-weight: 400;\n color: #fff;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n gap: 10px;\n cursor: pointer;\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n\n span {\n display: block;\n padding-top: 3px;\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/trigger/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/trigger/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,aAAa,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,glBAAA,6gBAgCzC,KAAA"}
|
|
@@ -30,10 +30,10 @@ exports.Menu = void 0;
|
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var react_1 = require("react");
|
|
32
32
|
var link_1 = __importDefault(require("next/link"));
|
|
33
|
+
var router_1 = require("next/router");
|
|
33
34
|
var ui_1 = require("../../../../../../../ui/index.js");
|
|
34
35
|
var system_1 = require("../../../../../../../system/index.js");
|
|
35
36
|
var S = __importStar(require("./styles.js"));
|
|
36
|
-
var router_1 = require("next/router");
|
|
37
37
|
function MenuItem(_a) {
|
|
38
38
|
var _b;
|
|
39
39
|
var item = _a.item;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA0C;AAE1C,mDAA4B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA0C;AAE1C,mDAA4B;AAC5B,sCAAuC;AAEvC,2BAAkC;AAClC,mCAAsC;AAEtC,0CAA6B;AAE7B,SAAS,QAAQ,CAAC,EAAuB;;QAArB,IAAI,UAAA;IACtB,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAC1B,IAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAA;IAE1B,IAAM,YAAY,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,KAAI,CAAA,MAAA,IAAI,CAAC,KAAK,0CAAE,MAAM,IAAG,CAAC,CAAA;IAE1D,SAAS,WAAW;;QAClB,OAAO,CACL,kCAAM,SA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C;AAxBD,oBAwBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function SideBarMenu(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,16 +11,16 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
14
|
+
exports.SideBarMenu = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
16
|
var version_01_1 = require("./version-01/index.js");
|
|
17
|
-
function
|
|
17
|
+
function SideBarMenu(props) {
|
|
18
18
|
var type = 'version01';
|
|
19
19
|
switch (type) {
|
|
20
20
|
case 'version01':
|
|
21
|
-
return (0, jsx_runtime_1.jsx)(version_01_1.
|
|
22
|
-
default: (0, jsx_runtime_1.jsx)(version_01_1.
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
22
|
+
default: (0, jsx_runtime_1.jsx)(version_01_1.SideBarMenuVersion01, __assign({}, props));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
exports.
|
|
25
|
+
exports.SideBarMenu = SideBarMenu;
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/layout/menu/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAmD;AAEnD,SAAgB,WAAW,CAAC,KAAK;IAC/B,IAAM,IAAI,GAAG,WAAW,CAAA;IAExB,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,WAAW;YACd,OAAO,uBAAC,iCAAoB,eAAK,KAAK,EAAI,CAAA;QAE5C,OAAO,CAAC,CAAC,uBAAC,iCAAoB,eAAK,KAAK,EAAI,CAAA;IAC9C,CAAC;AACH,CAAC;AATD,kCASC"}
|
|
@@ -23,13 +23,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.SideBarMenuVersion01 = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
var components_1 = require("../components/index.js");
|
|
29
29
|
var S = __importStar(require("./styles.js"));
|
|
30
|
-
function
|
|
30
|
+
function SideBarMenuVersion01(_a) {
|
|
31
31
|
var workspaces = _a.workspaces;
|
|
32
|
-
return ((0, jsx_runtime_1.jsxs)(S.
|
|
32
|
+
return ((0, jsx_runtime_1.jsxs)(S.SideBarMenuVersion01, { id: 'left-menu', children: [(0, jsx_runtime_1.jsx)(components_1.SelectWorkSpace, { workspaces: workspaces }), (0, jsx_runtime_1.jsx)(components_1.Menu, {})] }));
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
34
|
+
exports.SideBarMenuVersion01 = SideBarMenuVersion01;
|
|
35
35
|
//# 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,4CAAgE;AAEhE,0CAA6B;AAE7B,SAAgB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAgE;AAEhE,0CAA6B;AAE7B,SAAgB,oBAAoB,CAAC,EAA0C;QAAxC,UAAU,gBAAA;IAC/C,OAAO,CACL,wBAAC,CAAC,CAAC,oBAAoB,IAAC,EAAE,EAAC,WAAW,aACpC,uBAAC,4BAAe,IAAC,UAAU,EAAE,UAAU,GAAI,EAE3C,uBAAC,iBAAI,KAAG,IACe,CAC1B,CAAA;AACH,CAAC;AARD,oDAQC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const SideBarMenuVersion01: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
|
|
@@ -7,8 +7,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7
7
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.SideBarMenuVersion01 = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.
|
|
12
|
+
exports.SideBarMenuVersion01 = styled_components_1.default.aside(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n max-width: 285px;\n padding: 0 0 20px 15px;\n border-right: 1px solid #e1e1e1;\n z-index: 9999;\n display: flex;\n flex-direction: column;\n position: fixed;\n left: 0;\n height: calc(100vh - 80px);\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 5px;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-track {\n background: #ccc;\n border-radius: 10px;\n }\n\n .menu {\n margin-top: 20px;\n }\n"], ["\n width: 100%;\n max-width: 285px;\n padding: 0 0 20px 15px;\n border-right: 1px solid #e1e1e1;\n z-index: 9999;\n display: flex;\n flex-direction: column;\n position: fixed;\n left: 0;\n height: calc(100vh - 80px);\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 5px;\n border-radius: 10px;\n }\n\n &::-webkit-scrollbar-track {\n background: #ccc;\n border-radius: 10px;\n }\n\n .menu {\n margin-top: 20px;\n }\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/layout/menu/version-01/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,oBAAoB,GAAG,2BAAM,CAAC,KAAK,2gBAAA,wcA0B/C,KAAA"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./menus/index.js"), exports);
|
|
17
18
|
__exportStar(require("./users/index.js"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/pages/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/pages/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./page.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./page.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/menus/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MenusPageComponent(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MenusPageComponent = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var system_1 = require("../../../../../system/index.js");
|
|
6
|
+
var table_1 = require("./table/index.js");
|
|
7
|
+
var create_1 = require("./table/create.js");
|
|
8
|
+
function MenusPageComponent() {
|
|
9
|
+
var queryKey = 'RemoteMenu';
|
|
10
|
+
var user = (0, system_1.useAuthAdmin)().user;
|
|
11
|
+
var editTable = (0, table_1.useEditTable)(queryKey);
|
|
12
|
+
var createTable = (0, create_1.useCreateTable)(queryKey);
|
|
13
|
+
var executeDelete = (0, table_1.useDeleteTable)(queryKey).executeDelete;
|
|
14
|
+
var Table = (0, system_1.useTable)({
|
|
15
|
+
query: {
|
|
16
|
+
user: user,
|
|
17
|
+
Types: system_1.Types,
|
|
18
|
+
queryKey: queryKey,
|
|
19
|
+
container: system_1.container,
|
|
20
|
+
dynamicFiltersFromApi: true,
|
|
21
|
+
requireUser: true,
|
|
22
|
+
},
|
|
23
|
+
configs: {
|
|
24
|
+
errorMessage: 'Nenhum menu encontrado.',
|
|
25
|
+
},
|
|
26
|
+
columnsConfiguration: {
|
|
27
|
+
columns: table_1.columns,
|
|
28
|
+
actions: {
|
|
29
|
+
edit: editTable,
|
|
30
|
+
create: createTable,
|
|
31
|
+
delete: executeDelete,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
}).Table;
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(system_1.PrivatePageAdmin, { children: (0, jsx_runtime_1.jsx)(system_1.Layout, { children: (0, jsx_runtime_1.jsx)(system_1.PageWrapper, { title: 'Menus', children: Table }) }) }));
|
|
36
|
+
}
|
|
37
|
+
exports.MenusPageComponent = MenusPageComponent;
|
|
38
|
+
//# sourceMappingURL=page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/pages/menus/page.tsx"],"names":[],"mappings":";;;;AAEA,mCAAgH;AAChH,iCAA+D;AAC/D,yCAA+C;AAE/C,SAAgB,kBAAkB;IAChC,IAAM,QAAQ,GAAG,YAAY,CAAA;IAErB,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAC/B,IAAM,SAAS,GAAG,IAAA,oBAAY,EAAC,QAAQ,CAAC,CAAA;IACxC,IAAM,WAAW,GAAG,IAAA,uBAAc,EAAC,QAAQ,CAAC,CAAA;IACpC,IAAA,aAAa,GAAK,IAAA,sBAAc,EAAC,QAAQ,CAAC,cAA7B,CAA6B;IAE1C,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAA2B;QACnD,KAAK,EAAE;YACL,IAAI,MAAA;YACJ,KAAK,gBAAA;YACL,QAAQ,UAAA;YACR,SAAS,oBAAA;YACT,qBAAqB,EAAE,IAAI;YAC3B,WAAW,EAAE,IAAI;SAClB;QACD,OAAO,EAAE;YACP,YAAY,EAAE,yBAAyB;SACxC;QACD,oBAAoB,EAAE;YACpB,OAAO,iBAAA;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE,WAAW;gBACnB,MAAM,EAAE,aAAa;aACtB;SACF;KACF,CAAC,MApBW,CAoBX;IAEF,OAAO,CACL,uBAAC,yBAAgB,cACf,uBAAC,eAAM,cACL,uBAAC,oBAAW,IAAC,KAAK,EAAC,OAAO,YAAE,KAAK,GAAe,GACzC,GACQ,CACpB,CAAA;AACH,CAAC;AArCD,gDAqCC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.columns = void 0;
|
|
4
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
var icon_1 = require("./icon/index.js");
|
|
6
|
+
exports.columns = [
|
|
7
|
+
{
|
|
8
|
+
id: 'icon',
|
|
9
|
+
label: 'Icone',
|
|
10
|
+
hasAsc: true,
|
|
11
|
+
width: 150,
|
|
12
|
+
Component: {
|
|
13
|
+
Element: function (props) { return (0, jsx_runtime_1.jsx)(icon_1.IconMenu, { icon: props.icon }); },
|
|
14
|
+
allProps: true,
|
|
15
|
+
props: {},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
{ id: 'route', label: 'Url', width: 230 },
|
|
19
|
+
{ id: 'title', label: 'Titulo', width: 230 },
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=columns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/pages/menus/table/columns.tsx"],"names":[],"mappings":";;;;AAEA,+BAAiC;AAEpB,QAAA,OAAO,GAAmB;IACrC;QACE,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,IAAI;QACZ,KAAK,EAAE,GAAG;QACV,SAAS,EAAE;YACT,OAAO,EAAE,UAAC,KAAK,IAAK,OAAA,uBAAC,eAAQ,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAI,EAA9B,CAA8B;YAClD,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,EAAE;SACV;KACF;IACD,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;IACzC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE;CAC7C,CAAA"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.useCreateTable = void 0;
|
|
40
|
+
var swr_1 = require("swr");
|
|
41
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
42
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
43
|
+
function useCreateTable(queryKey) {
|
|
44
|
+
var _this = this;
|
|
45
|
+
var createToast = (0, ui_1.useToast)().createToast;
|
|
46
|
+
var createTable = {
|
|
47
|
+
title: 'Criar Menu',
|
|
48
|
+
button: { text: 'Criar' },
|
|
49
|
+
initialData: { isExternal: false },
|
|
50
|
+
onSucess: function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
51
|
+
return __generator(this, function (_a) {
|
|
52
|
+
switch (_a.label) {
|
|
53
|
+
case 0: return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteMenu).create(data)];
|
|
54
|
+
case 1:
|
|
55
|
+
_a.sent();
|
|
56
|
+
(0, swr_1.mutate)(queryKey);
|
|
57
|
+
createToast({ message: 'Criado com sucesso!', status: 'success' });
|
|
58
|
+
return [2 /*return*/];
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}); },
|
|
62
|
+
inputs: [
|
|
63
|
+
[{ InputComponent: 'Input', type: 'text', label: 'Icone', name: 'icon' }],
|
|
64
|
+
[{ name: 'route', InputComponent: 'Input', type: 'text', label: 'Url' }],
|
|
65
|
+
[{ name: 'title', InputComponent: 'Input', type: 'text', label: 'Titulo' }],
|
|
66
|
+
[{ name: 'items', InputComponent: 'Select', multiple: true, label: 'Menus', options: [] }],
|
|
67
|
+
],
|
|
68
|
+
};
|
|
69
|
+
return createTable;
|
|
70
|
+
}
|
|
71
|
+
exports.useCreateTable = useCreateTable;
|
|
72
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/pages/menus/table/create.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAE5B,2BAAwD;AACxD,mCAA6D;AAE7D,SAAgB,cAAc,CAAC,QAAgB;IAA/C,iBAuBC;IAtBS,IAAA,WAAW,GAAK,IAAA,aAAQ,GAAE,YAAf,CAAe;IAElC,IAAM,WAAW,GAAkC;QACjD,KAAK,EAAE,YAAY;QACnB,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;QACzB,WAAW,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE;QAClC,QAAQ,EAAE,UAAO,IAAI;;;4BACnB,qBAAM,kBAAS,CAAC,GAAG,CAAa,cAAK,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAA;;wBAA9D,SAA8D,CAAA;wBAE9D,IAAA,YAAM,EAAC,QAAQ,CAAC,CAAA;wBAEhB,WAAW,CAAC,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAA;;;;aACnE;QACD,MAAM,EAAE;YACN,CAAC,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;YACzE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;YACxE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;YAC3E,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;SAC3F;KACF,CAAA;IAED,OAAO,WAAW,CAAA;AACpB,CAAC;AAvBD,wCAuBC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.useDeleteTable = void 0;
|
|
40
|
+
var container_1 = require("../../../../../../system/container/index.js");
|
|
41
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
42
|
+
var swr_1 = require("swr");
|
|
43
|
+
function useDeleteTable(queryKey) {
|
|
44
|
+
var createToast = (0, ui_1.useToast)().createToast;
|
|
45
|
+
function executeDelete(tableItem) {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
47
|
+
var _a;
|
|
48
|
+
return __generator(this, function (_b) {
|
|
49
|
+
switch (_b.label) {
|
|
50
|
+
case 0:
|
|
51
|
+
_b.trys.push([0, 2, , 3]);
|
|
52
|
+
return [4 /*yield*/, container_1.container.get(container_1.Types.RemoteMenu).delete({ id: tableItem.id })];
|
|
53
|
+
case 1:
|
|
54
|
+
_b.sent();
|
|
55
|
+
createToast({ status: 'success', message: 'Menu deletado com sucesso.' });
|
|
56
|
+
(0, swr_1.mutate)(queryKey);
|
|
57
|
+
return [3 /*break*/, 3];
|
|
58
|
+
case 2:
|
|
59
|
+
_a = _b.sent();
|
|
60
|
+
createToast({
|
|
61
|
+
status: 'error',
|
|
62
|
+
message: 'Aconteceu um erro ao tentar deletar, tente novamente mais tarde.',
|
|
63
|
+
});
|
|
64
|
+
return [3 /*break*/, 3];
|
|
65
|
+
case 3: return [2 /*return*/];
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return { executeDelete: executeDelete };
|
|
71
|
+
}
|
|
72
|
+
exports.useDeleteTable = useDeleteTable;
|
|
73
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/pages/menus/table/delete.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAqD;AAErD,2BAA+B;AAC/B,2BAA6B;AAE7B,SAAgB,cAAc,CAAC,QAAgB;IACrC,IAAA,WAAW,GAAK,IAAA,aAAQ,GAAE,YAAf,CAAe;IAElC,SAAe,aAAa,CAAC,SAAS;;;;;;;wBAElC,qBAAM,qBAAS,CAAC,GAAG,CAAa,iBAAK,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,EAAA;;wBAA9E,SAA8E,CAAA;wBAE9E,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC,CAAA;wBAEzE,IAAA,YAAM,EAAC,QAAQ,CAAC,CAAA;;;;wBAGhB,WAAW,CAAC;4BACV,MAAM,EAAE,OAAO;4BACf,OAAO,EAAE,kEAAkE;yBAC5E,CAAC,CAAA;;;;;;KAEL;IAED,OAAO,EAAE,aAAa,eAAA,EAAE,CAAA;AAC1B,CAAC;AApBD,wCAoBC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.useEditTable = void 0;
|
|
40
|
+
var swr_1 = require("swr");
|
|
41
|
+
var ui_1 = require("../../../../../../ui/index.js");
|
|
42
|
+
var system_1 = require("../../../../../../system/index.js");
|
|
43
|
+
function useEditTable(queryKey) {
|
|
44
|
+
var _this = this;
|
|
45
|
+
var createToast = (0, ui_1.useToast)().createToast;
|
|
46
|
+
var editTable = {
|
|
47
|
+
title: 'Editar Menu',
|
|
48
|
+
button: { text: 'Editar' },
|
|
49
|
+
getDetails: {
|
|
50
|
+
key: function (tableItem) { return 'EditMenu' + tableItem.id; },
|
|
51
|
+
fetcher: function (tableItem) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
52
|
+
switch (_a.label) {
|
|
53
|
+
case 0: return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteMenu).getDetail({ id: tableItem.id })];
|
|
54
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
55
|
+
}
|
|
56
|
+
}); }); },
|
|
57
|
+
},
|
|
58
|
+
onSucess: function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
59
|
+
return __generator(this, function (_a) {
|
|
60
|
+
switch (_a.label) {
|
|
61
|
+
case 0: return [4 /*yield*/, system_1.container.get(system_1.Types.RemoteMenu).edit(data)];
|
|
62
|
+
case 1:
|
|
63
|
+
_a.sent();
|
|
64
|
+
(0, swr_1.mutate)(queryKey);
|
|
65
|
+
createToast({ message: 'Editado com sucesso!', status: 'success' });
|
|
66
|
+
return [2 /*return*/];
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
}); },
|
|
70
|
+
inputs: [
|
|
71
|
+
[{ InputComponent: 'Input', type: 'text', label: 'Icone', name: 'icon' }],
|
|
72
|
+
[{ name: 'items', InputComponent: 'Select', multiple: true, label: 'Primeiro Nome', options: [] }],
|
|
73
|
+
[{ name: 'route', InputComponent: 'Input', type: 'text', label: 'Url' }],
|
|
74
|
+
[{ name: 'title', InputComponent: 'Input', type: 'text', label: 'Titulo' }],
|
|
75
|
+
],
|
|
76
|
+
};
|
|
77
|
+
return editTable;
|
|
78
|
+
}
|
|
79
|
+
exports.useEditTable = useEditTable;
|
|
80
|
+
//# sourceMappingURL=edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.js","sourceRoot":"","sources":["../../../../../../../src/system/presentation/components/pages/menus/table/edit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA4B;AAE5B,2BAAwD;AACxD,mCAA6D;AAE7D,SAAgB,YAAY,CAAC,QAAgB;IAA7C,iBA0BC;IAzBS,IAAA,WAAW,GAAK,IAAA,aAAQ,GAAE,YAAf,CAAe;IAElC,IAAM,SAAS,GAAkC;QAC/C,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1B,UAAU,EAAE;YACV,GAAG,EAAE,UAAC,SAAS,IAAK,OAAA,UAAU,GAAG,SAAS,CAAC,EAAE,EAAzB,CAAyB;YAC7C,OAAO,EAAE,UAAO,SAAS;;4BAAK,qBAAM,kBAAS,CAAC,GAAG,CAAa,cAAK,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,EAAE,CAAC,EAAA;4BAAjF,sBAAA,SAAiF,EAAA;;qBAAA;SAChH;QACD,QAAQ,EAAE,UAAO,IAAI;;;4BACnB,qBAAM,kBAAS,CAAC,GAAG,CAAa,cAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA;;wBAA5D,SAA4D,CAAA;wBAE5D,IAAA,YAAM,EAAC,QAAQ,CAAC,CAAA;wBAEhB,WAAW,CAAC,E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