infinity-forge 0.12.0 → 0.12.2

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.
Files changed (25) hide show
  1. package/dist/system/presentation/components/data/input-search/index.d.ts +2 -3
  2. package/dist/system/presentation/components/data/input-search/index.js +24 -2
  3. package/dist/system/presentation/components/data/input-search/index.js.map +1 -1
  4. package/dist/system/presentation/components/data/input-search/interfaces.d.ts +5 -0
  5. package/dist/system/presentation/components/data/input-search/interfaces.js +3 -0
  6. package/dist/system/presentation/components/data/input-search/interfaces.js.map +1 -0
  7. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +1 -17
  8. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js.map +1 -1
  9. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +1 -1
  10. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js.map +1 -1
  11. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js +1 -1
  12. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js.map +1 -1
  13. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +1 -11
  14. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js.map +1 -1
  15. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js +1 -1
  16. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js.map +1 -1
  17. package/dist/system/presentation/components/layout/menu/components/menu/styles.js +1 -1
  18. package/dist/system/presentation/components/layout/menu/components/menu/styles.js.map +1 -1
  19. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +1 -1
  20. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js.map +1 -1
  21. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +1 -1
  22. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js.map +1 -1
  23. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/select/index.js +1 -1
  24. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/select/index.js.map +1 -1
  25. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
- export declare function InputSearch({ onChange }: {
2
- onChange: any;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { IInputSearch } from './interfaces.js';
2
+ export declare function InputSearch({ onChange, ...props }: IInputSearch): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
2
13
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
14
  if (k2 === undefined) k2 = k;
4
15
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -22,14 +33,25 @@ var __importStar = (this && this.__importStar) || function (mod) {
22
33
  __setModuleDefault(result, mod);
23
34
  return result;
24
35
  };
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
25
47
  Object.defineProperty(exports, "__esModule", { value: true });
26
48
  exports.InputSearch = void 0;
27
49
  var jsx_runtime_1 = require("react/jsx-runtime");
28
50
  var ui_1 = require("../../../../../ui/index.js");
29
51
  var S = __importStar(require("./styles.js"));
30
52
  function InputSearch(_a) {
31
- var onChange = _a.onChange;
32
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.jsxs)(S.SearchInput, { children: [(0, jsx_runtime_1.jsx)("label", { htmlFor: 'search', className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'LupaIcon' }) }), (0, jsx_runtime_1.jsx)("input", { id: 'search', type: 'text', onChange: onChange, placeholder: 'Pesquisar...' })] }) }));
53
+ var onChange = _a.onChange, props = __rest(_a, ["onChange"]);
54
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.jsxs)(S.SearchInput, { children: [(0, jsx_runtime_1.jsx)("label", { htmlFor: 'search', className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'LupaIcon' }) }), (0, jsx_runtime_1.jsx)("input", __assign({}, props, { className: 'font-14-regular', id: 'search', type: 'text', onChange: onChange, placeholder: 'Pesquisar...' }))] }) }));
33
55
  }
34
56
  exports.InputSearch = InputSearch;
35
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAElC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAAY;QAAV,QAAQ,cAAA;IACpC,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,aAAa,YACvB,wBAAC,CAAC,CAAC,WAAW,eACZ,kCAAO,OAAO,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,YACtC,uBAAC,SAAI,IAAC,IAAI,EAAC,UAAU,GAAG,GAClB,EAER,kCAAO,EAAE,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAC,cAAc,GAAG,IAClE,GACV,CACT,CAAA;AACH,CAAC;AAZD,kCAYC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAIlC,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAAoC;IAAlC,IAAA,QAAQ,cAAA,EAAK,KAAK,cAApB,YAAsB,CAAF;IAC9C,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,aAAa,YACvB,wBAAC,CAAC,CAAC,WAAW,eACZ,kCAAO,OAAO,EAAC,QAAQ,EAAC,SAAS,EAAC,MAAM,YACtC,uBAAC,SAAI,IAAC,IAAI,EAAC,UAAU,GAAG,GAClB,EAER,6CACM,KAAK,IACT,SAAS,EAAC,iBAAiB,EAC3B,EAAE,EAAC,QAAQ,EACX,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAC,cAAc,IAC1B,IACY,GACV,CACT,CAAA;AACH,CAAC;AAnBD,kCAmBC"}
@@ -0,0 +1,5 @@
1
+ import { MutableRefObject } from 'react';
2
+ export interface IInputSearch {
3
+ onChange: (e: any) => void;
4
+ ref?: MutableRefObject<any>;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../src/system/presentation/components/data/input-search/interfaces.ts"],"names":[],"mappings":""}
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
3
  if (k2 === undefined) k2 = k;
15
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -33,22 +22,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
33
22
  __setModuleDefault(result, mod);
34
23
  return result;
35
24
  };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
25
  Object.defineProperty(exports, "__esModule", { value: true });
40
26
  exports.Content = void 0;
41
27
  var jsx_runtime_1 = require("react/jsx-runtime");
42
- var link_1 = __importDefault(require("next/link"));
43
28
  var ui_1 = require("../../../../../../../../../ui/index.js");
44
- var system_1 = require("../../../../../../../../../system/index.js");
45
29
  var S = __importStar(require("./styles.js"));
46
30
  function Content(_a) {
47
31
  var setVisible = _a.setVisible, messages = _a.messages;
48
32
  if (!messages && messages.length > 0) {
49
33
  return;
50
34
  }
51
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'font-18-semibold', children: "Mensagens" }), (0, jsx_runtime_1.jsx)(link_1.default, { href: system_1.routes.support.inbox, onClick: function () { return setVisible(false); }, className: 'font-16-regular', children: "View all" })] }), (0, jsx_runtime_1.jsx)("div", { className: 'cards-box', children: messages.map(function (item) { return ((0, jsx_runtime_1.jsx)(system_1.MessageCard, __assign({}, item), 'message-card' + item.id)); }) })] }) }));
35
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsx)(S.Content, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}) }) }));
52
36
  }
53
37
  exports.Content = Content;
54
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAA4B;AAC5B,mCAA8C;AAI9C,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAA8C;QAA5C,UAAU,gBAAA,EAAE,QAAQ,cAAA;IAC5C,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrC,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,iCAAK,SAAS,EAAC,KAAK,aAClB,+BAAI,SAAS,EAAC,kBAAkB,0BAAe,EAE/C,uBAAC,cAAI,IAAC,IAAI,EAAE,eAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,EAAjB,CAAiB,EAAE,SAAS,EAAC,iBAAiB,yBAExF,IACH,EAEN,gCAAK,SAAS,EAAC,WAAW,YACvB,QAAQ,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACtB,uBAAC,oBAAW,eAAoC,IAAI,GAAlC,cAAc,GAAG,IAAI,CAAC,EAAE,CAAc,CACzD,EAFuB,CAEvB,CAAC,GACE,IACI,GACN,CACT,CAAA;AACH,CAAC;AAxBD,0BAwBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/messages/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,2BAA4B;AAK5B,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAA8C;QAA5C,UAAU,gBAAA,EAAE,QAAQ,cAAA;IAC5C,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrC,OAAM;IACR,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,uBAAC,CAAC,CAAC,OAAO,cACR,kDAAK,GAcK,GACN,CACT,CAAA;AACH,CAAC;AAzBD,0BAyBC"}
@@ -48,7 +48,7 @@ function Content() {
48
48
  href: system_1.routes.user.activityLog,
49
49
  },
50
50
  ];
51
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'user-profile', children: (0, jsx_runtime_1.jsxs)("div", { className: 'user-info', children: [(0, jsx_runtime_1.jsx)("h6", { className: 'font-16-semibold', children: user.firstName }), (0, jsx_runtime_1.jsx)("p", { className: 'font-14-regular', children: user.emailAddress })] }) }), (0, jsx_runtime_1.jsx)("div", { className: 'menu', children: menuItems.map(function (item) { return ((0, jsx_runtime_1.jsx)(link_1.default, { className: 'font-14-regular', href: item.href, children: (0, jsx_runtime_1.jsx)("span", { className: 'menu-item', children: item.name }) }, item.name)); }) }), (0, jsx_runtime_1.jsx)("div", { className: 'divider', children: (0, jsx_runtime_1.jsx)("button", { className: 'sign-out-button font-14-regular', type: 'button', onClick: signOut, children: "Sign Out" }) })] }) }));
51
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Content', children: (0, jsx_runtime_1.jsxs)(S.Content, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'user-profile', children: (0, jsx_runtime_1.jsxs)("div", { className: 'user-info', children: [(0, jsx_runtime_1.jsx)("h6", { className: 'font-16-semibold', children: user.firstName }), (0, jsx_runtime_1.jsx)("p", { className: 'font-14-regular email', children: user.emailAddress })] }) }), (0, jsx_runtime_1.jsx)("div", { className: 'menu', children: menuItems.map(function (item) { return ((0, jsx_runtime_1.jsx)(link_1.default, { className: 'font-14-regular', href: item.href, children: (0, jsx_runtime_1.jsx)("span", { className: 'menu-item', children: item.name }) }, item.name)); }) }), (0, jsx_runtime_1.jsx)("div", { className: 'divider', children: (0, jsx_runtime_1.jsx)("button", { className: 'sign-out-button font-14-regular', type: 'button', onClick: signOut, children: "Sign Out" }) })] }) }));
52
52
  }
53
53
  exports.Content = Content;
54
54
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA4B;AAE5B,2BAA4B;AAC5B,mCAA+C;AAE/C,0CAA6B;AAE7B,SAAgB,OAAO;IACf,IAAA,KAAoB,IAAA,qBAAY,GAAE,EAAhC,IAAI,UAAA,EAAE,OAAO,aAAmB,CAAA;IAExC,IAAM,SAAS,GAAG;QAChB;YACE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,OAAO;SAC1B;QACD;YACE,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,QAAQ;SAC3B;QACD;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,WAAW;SAC9B;KACF,CAAA;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,gCAAK,SAAS,EAAC,cAAc,YAG3B,iCAAK,SAAS,EAAC,WAAW,aACxB,+BAAI,SAAS,EAAC,kBAAkB,YAAE,IAAI,CAAC,SAAS,GAAM,EAEtD,8BAAG,SAAS,EAAC,iBAAiB,YAAE,IAAI,CAAC,YAAY,GAAK,IAClD,GACF,EAEN,gCAAK,SAAS,EAAC,MAAM,YAClB,SAAS,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACvB,uBAAC,cAAI,IAAC,SAAS,EAAC,iBAAiB,EAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,YAC/D,iCAAM,SAAS,EAAC,WAAW,YAAE,IAAI,CAAC,IAAI,GAAQ,IADT,IAAI,CAAC,IAAI,CAEzC,CACR,EAJwB,CAIxB,CAAC,GACE,EAEN,gCAAK,SAAS,EAAC,SAAS,YACtB,mCAAQ,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,yBAEzE,GACL,IACI,GACN,CACT,CAAA;AACH,CAAC;AA/CD,0BA+CC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/content/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,mDAA4B;AAI5B,2BAA4B;AAC5B,mCAA+C;AAE/C,0CAA6B;AAE7B,SAAgB,OAAO;IACf,IAAA,KAAoB,IAAA,qBAAY,GAAE,EAAhC,IAAI,UAAA,EAAE,OAAO,aAAmB,CAAA;IAExC,IAAM,SAAS,GAAG;QAChB;YACE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,OAAO;SAC1B;QACD;YACE,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,QAAQ;SAC3B;QACD;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,eAAM,CAAC,IAAI,CAAC,WAAW;SAC9B;KACF,CAAA;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,eACR,gCAAK,SAAS,EAAC,cAAc,YAG3B,iCAAK,SAAS,EAAC,WAAW,aACxB,+BAAI,SAAS,EAAC,kBAAkB,YAAE,IAAI,CAAC,SAAS,GAAM,EAEtD,8BAAG,SAAS,EAAC,uBAAuB,YAAE,IAAI,CAAC,YAAY,GAAK,IACxD,GACF,EAEN,gCAAK,SAAS,EAAC,MAAM,YAClB,SAAS,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACvB,uBAAC,cAAI,IAAC,SAAS,EAAC,iBAAiB,EAAiB,IAAI,EAAE,IAAI,CAAC,IAAI,YAC/D,iCAAM,SAAS,EAAC,WAAW,YAAE,IAAI,CAAC,IAAI,GAAQ,IADT,IAAI,CAAC,IAAI,CAEzC,CACR,EAJwB,CAIxB,CAAC,GACE,EAEN,gCAAK,SAAS,EAAC,SAAS,YACtB,mCAAQ,SAAS,EAAC,iCAAiC,EAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,yBAEzE,GACL,IACI,GACN,CACT,CAAA;AACH,CAAC;AA/CD,0BA+CC"}
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.Content = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Content = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\n }\n"], ["\n width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\n }\n"])));
12
+ exports.Content = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n min-width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n\n .email {\n max-width: 260px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\n }\n"], ["\n width: 100%;\n min-width: 22rem;\n text-align: left;\n direction: ltr;\n\n .rtl & {\n direction: rtl;\n text-align: right;\n }\n\n .user-profile {\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d1d5db;\n padding: 1.5rem 1.5rem 1.25rem;\n gap: 1rem;\n }\n\n .user-info {\n h6 {\n font-weight: 600;\n margin: 0 0 2px 0;\n }\n\n p {\n color: #4b5563;\n }\n\n .email {\n max-width: 260px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n }\n }\n\n .menu {\n display: grid;\n padding: 0.875rem;\n font-weight: 500;\n color: #374151;\n\n a {\n color: #333333;\n }\n }\n\n .menu-item {\n margin: 0.125rem 0;\n display: flex;\n align-items: center;\n border-radius: 0.375rem;\n padding: 1rem;\n text-decoration: none;\n color: inherit;\n\n &:hover,\n &:focus {\n background-color: #f3f4f6;\n }\n }\n\n .sign-out-button {\n width: 100%;\n justify-content: start;\n padding: 0;\n font-weight: 500;\n color: #374151;\n background: none;\n border: none;\n text-align: left;\n\n &:hover,\n &:focus-within {\n color: #1f2937;\n }\n }\n\n .divider {\n border-top: 1px solid #d1d5db;\n transition: background 0.1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #e72e3f;\n\n button {\n color: #fff;\n }\n }\n\n button {\n cursor: pointer;\n padding: 1.25rem 1.5rem;\n }\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/menu-right/profile/content/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,27CAAA,w3CAyFhC,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/content/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,2BAAM,CAAC,GAAG,0jDAAA,u/CAgGhC,KAAA"}
@@ -41,7 +41,6 @@ exports.SearchList = void 0;
41
41
  var jsx_runtime_1 = require("react/jsx-runtime");
42
42
  var react_1 = require("react");
43
43
  var link_1 = __importDefault(require("next/link"));
44
- var semantic_ui_react_1 = require("semantic-ui-react");
45
44
  var ui_1 = require("../../../../../../../../ui/index.js");
46
45
  var system_1 = require("../../../../../../../../system/index.js");
47
46
  var S = __importStar(require("./styles.js"));
@@ -49,7 +48,6 @@ function SearchList(_a) {
49
48
  var setOpen = _a.setOpen;
50
49
  var data = (0, system_1.useLoadMenu)().data;
51
50
  var newData = [{ title: 'Menu', icon: 'IconBox', items: data === null || data === void 0 ? void 0 : data.items }];
52
- var inputRef = (0, react_1.useRef)(null);
53
51
  var _b = (0, react_1.useState)(''), searchText = _b[0], setSearchText = _b[1];
54
52
  var menuItemsFiltered = newData;
55
53
  if (searchText.length > 0) {
@@ -65,15 +63,7 @@ function SearchList(_a) {
65
63
  return [];
66
64
  });
67
65
  }
68
- (0, react_1.useEffect)(function () {
69
- if (inputRef.current) {
70
- inputRef.current.focus();
71
- }
72
- return function () {
73
- inputRef.current = null;
74
- };
75
- }, []);
76
- 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)(semantic_ui_react_1.Input, { onChange: function (e) { return setSearchText(e.target.value); }, size: 'massive', icon: 'search', ref: inputRef, iconPosition: 'left', placeholder: 'Buscar p\u00E1ginas...' }), (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) {
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)(system_1.InputSearch, { onChange: function (e) { return setSearchText(e.target.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) {
77
67
  var _a;
78
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) {
79
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;
@@ -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,+BAAuF;AACvF,mDAA4B;AAC5B,uDAAyC;AACzC,2BAAkC;AAClC,mCAAsC;AACtC,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;IAExE,IAAM,QAAQ,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAA;IACvB,IAAA,KAA8B,IAAA,gBAAQ,EAAC,EAAE,CAAC,EAAzC,UAAU,QAAA,EAAE,aAAa,QAAgB,CAAA;IAEhD,IAAI,iBAAiB,GAAG,OAAO,CAAA;IAE/B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,CACT,KAdY,IAAI,CAAC,KAAK,GAAG,GAAG,GAAG,KAAK,CAe5B,CACZ,CAAA;qBAAA,CAAC,CACH,GACG,IACO,GACT,CACT,CAAA;AACH,CAAC;AArFD,gCAqFC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/search-list/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA4E;AAC5E,mDAA4B;AAC5B,2BAAkC;AAClC,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,OAAO,CAAA;IAE/B,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC,UAAC,IAAI;;YACvC,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,IAAI,KAAE,KAAK,EAAE,aAAa,IAAG,CA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AC,CAAC,CACd,wBAAC,cAAI,IAAC,IAAI,EAAE,OAAO,CAAC,KAAK,EAAsB,SAAS,EAAC,MAAM,aAC7D,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAE,OAAO,CAAC,IAAI,GAAI,GACxB,EACN,kCAAM,SAAS,EAAC,0BAA0B,aACxC,iCAAM,SAAS,EAAC,MAAM,YAAE,OAAO,CAAC,KAAK,GAAQ,EAC7C,iCAAM,SAAS,EAAC,MAAM,YAAE,OAAO,CAAC,KAAK,GAAQ,IACxC,KAPuB,OAAO,CAAC,KAAK,CAQtC,CACR,CAAC,CAAC,CAAC,IAAI;gCAVR,CAUQ,CACT,KAdY,IAAI,CAAC,KAAK,GAAG,GAAG,GAAG,KAAK,CAe5B,CACZ,CAAA;qBAAA,CAAC,CACH,GACG,IACO,GACT,CACT,CAAA;AACH,CAAC;AApED,gCAoEC"}
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SearchList = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.SearchList = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n\n .header {\n width: 100%;\n display: flex; /* flex */\n align-items: center; /* items-center */\n justify-content: space-between;\n padding: 16px 20px;\n gap: 20px;\n\n > div {\n width: 100%;\n\n .icon {\n color: #484848;\n }\n\n input {\n width: 100%;\n height: 40px;\n background: #ebebeb;\n border-radius: 6px;\n opacity: 1;\n\n &::placeholder {\n color: #9b9b9b;\n }\n }\n }\n\n .close {\n padding: 0;\n background: none;\n border: 0;\n display: flex;\n width: 20px;\n height: 20px;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n .list {\n max-height: 60vh; /* max-h-[60vh] */\n overflow-y: auto; /* overflow-y-auto */\n border-top: 1px solid rgba(209, 213, 219, 1); /* border-t border-gray-300 */\n padding: 1rem 0.5rem; /* px-2 py-4 */\n\n h6 {\n margin: 0;\n margin-bottom: 4px; /* mb-1 */\n padding: 0 12px; /* px-3 */\n letter-spacing: 0.05em; /* tracking-widest */\n color: #666666; /* text-gray-500 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(107, 114, 128, 1); /* dark:text-gray-500 */\n }\n\n &.last {\n margin-top: 1.5rem; /* mt-6 */\n @media (min-width: 1920px) {\n /* 4xl */\n margin-top: 1.75rem; /* 4xl:mt-7 */\n }\n }\n }\n\n .not-found {\n width: 100%;\n text-align: center;\n transform: scale(0.75);\n\n .icon {\n margin: 0 auto;\n width: 40px;\n height: 40px;\n display: flex;\n margin-bottom: 20px;\n\n g {\n fill: currentColor !important;\n }\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n\n p {\n color: #484848;\n }\n }\n\n .item {\n position: relative; /* relative */\n margin: 2px 0; /* my-0.5 */\n display: flex; /* flex */\n align-items: center; /* items-center */\n border-radius: 0.5rem; /* rounded-lg */\n padding: 8px 12px; /* px-3 py-2 */\n outline: none; /* focus:outline-none */\n\n > .icon {\n display: inline-flex; /* inline-flex */\n align-items: center; /* items-center */\n justify-content: center; /* justify-center */\n border-radius: 0.375rem; /* rounded-md */\n border: 1px solid rgba(209, 213, 219, 1); /* border border-gray-300 */\n padding: 8px; /* p-2 */\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n\n svg {\n width: 20px;\n height: 20px;\n }\n }\n\n > .text-box {\n margin-left: 12px; /* ms-3 */\n display: grid; /* grid */\n gap: 0.125rem; /* gap-0.5 */\n\n .name {\n text-transform: capitalize; /* capitalize */\n color: rgba(17, 24, 39, 1); /* text-gray-900 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(55, 65, 81, 1); /* dark:text-gray-700 */\n }\n }\n\n .href {\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n }\n }\n\n &:hover {\n background-color: rgba(229, 231, 235, 1); /* hover:bg-gray-100 */\n }\n\n &:focus-visible {\n background-color: rgba(229, 231, 235, 1); /* focus-visible:bg-gray-100 */\n }\n\n @media (prefers-color-scheme: dark) {\n &:hover {\n background-color: rgba(156, 163, 175, 0.5); /* dark:hover:bg-gray-50/50 */\n backdrop-filter: blur(12px); /* dark:hover:backdrop-blur-lg */\n }\n }\n }\n }\n"], ["\n width: 100%;\n\n .header {\n width: 100%;\n display: flex; /* flex */\n align-items: center; /* items-center */\n justify-content: space-between;\n padding: 16px 20px;\n gap: 20px;\n\n > div {\n width: 100%;\n\n .icon {\n color: #484848;\n }\n\n input {\n width: 100%;\n height: 40px;\n background: #ebebeb;\n border-radius: 6px;\n opacity: 1;\n\n &::placeholder {\n color: #9b9b9b;\n }\n }\n }\n\n .close {\n padding: 0;\n background: none;\n border: 0;\n display: flex;\n width: 20px;\n height: 20px;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n .list {\n max-height: 60vh; /* max-h-[60vh] */\n overflow-y: auto; /* overflow-y-auto */\n border-top: 1px solid rgba(209, 213, 219, 1); /* border-t border-gray-300 */\n padding: 1rem 0.5rem; /* px-2 py-4 */\n\n h6 {\n margin: 0;\n margin-bottom: 4px; /* mb-1 */\n padding: 0 12px; /* px-3 */\n letter-spacing: 0.05em; /* tracking-widest */\n color: #666666; /* text-gray-500 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(107, 114, 128, 1); /* dark:text-gray-500 */\n }\n\n &.last {\n margin-top: 1.5rem; /* mt-6 */\n @media (min-width: 1920px) {\n /* 4xl */\n margin-top: 1.75rem; /* 4xl:mt-7 */\n }\n }\n }\n\n .not-found {\n width: 100%;\n text-align: center;\n transform: scale(0.75);\n\n .icon {\n margin: 0 auto;\n width: 40px;\n height: 40px;\n display: flex;\n margin-bottom: 20px;\n\n g {\n fill: currentColor !important;\n }\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n\n p {\n color: #484848;\n }\n }\n\n .item {\n position: relative; /* relative */\n margin: 2px 0; /* my-0.5 */\n display: flex; /* flex */\n align-items: center; /* items-center */\n border-radius: 0.5rem; /* rounded-lg */\n padding: 8px 12px; /* px-3 py-2 */\n outline: none; /* focus:outline-none */\n\n > .icon {\n display: inline-flex; /* inline-flex */\n align-items: center; /* items-center */\n justify-content: center; /* justify-center */\n border-radius: 0.375rem; /* rounded-md */\n border: 1px solid rgba(209, 213, 219, 1); /* border border-gray-300 */\n padding: 8px; /* p-2 */\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n\n svg {\n width: 20px;\n height: 20px;\n }\n }\n\n > .text-box {\n margin-left: 12px; /* ms-3 */\n display: grid; /* grid */\n gap: 0.125rem; /* gap-0.5 */\n\n .name {\n text-transform: capitalize; /* capitalize */\n color: rgba(17, 24, 39, 1); /* text-gray-900 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(55, 65, 81, 1); /* dark:text-gray-700 */\n }\n }\n\n .href {\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n }\n }\n\n &:hover {\n background-color: rgba(229, 231, 235, 1); /* hover:bg-gray-100 */\n }\n\n &:focus-visible {\n background-color: rgba(229, 231, 235, 1); /* focus-visible:bg-gray-100 */\n }\n\n @media (prefers-color-scheme: dark) {\n &:hover {\n background-color: rgba(156, 163, 175, 0.5); /* dark:hover:bg-gray-50/50 */\n backdrop-filter: blur(12px); /* dark:hover:backdrop-blur-lg */\n }\n }\n }\n }\n"])));
12
+ exports.SearchList = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n\n .header {\n width: 100%;\n display: flex; /* flex */\n align-items: center; /* items-center */\n justify-content: space-between;\n padding: 16px 20px;\n gap: 20px;\n\n > div {\n width: 100%;\n\n .icon {\n color: #484848;\n }\n\n input {\n width: 100%;\n height: 40px;\n background: #ebebeb;\n border-radius: 6px;\n opacity: 1;\n\n &::placeholder {\n color: #9b9b9b;\n }\n }\n }\n\n .close {\n padding: 0;\n background: none;\n border: 0;\n display: flex;\n width: 20px;\n height: 20px;\n align-items: center;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n .list {\n max-height: 60vh; /* max-h-[60vh] */\n overflow-y: auto; /* overflow-y-auto */\n border-top: 1px solid rgba(209, 213, 219, 1); /* border-t border-gray-300 */\n padding: 1rem 0.5rem; /* px-2 py-4 */\n\n h6 {\n margin: 0;\n margin-bottom: 4px; /* mb-1 */\n padding: 0 12px; /* px-3 */\n letter-spacing: 0.05em; /* tracking-widest */\n color: #666666; /* text-gray-500 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(107, 114, 128, 1); /* dark:text-gray-500 */\n }\n\n &.last {\n margin-top: 1.5rem; /* mt-6 */\n @media (min-width: 1920px) {\n /* 4xl */\n margin-top: 1.75rem; /* 4xl:mt-7 */\n }\n }\n }\n\n .not-found {\n width: 100%;\n text-align: center;\n transform: scale(0.75);\n\n .icon {\n margin: 0 auto;\n width: 40px;\n height: 40px;\n display: flex;\n margin-bottom: 20px;\n\n g {\n fill: currentColor !important;\n }\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n\n p {\n color: #484848;\n }\n }\n\n .item {\n position: relative; /* relative */\n margin: 2px 0; /* my-0.5 */\n display: flex; /* flex */\n align-items: center; /* items-center */\n border-radius: 0.5rem; /* rounded-lg */\n padding: 8px 12px; /* px-3 py-2 */\n outline: none; /* focus:outline-none */\n\n > .icon {\n display: inline-flex; /* inline-flex */\n align-items: center; /* items-center */\n justify-content: center; /* justify-center */\n border-radius: 0.375rem; /* rounded-md */\n border: 1px solid rgba(209, 213, 219, 1); /* border border-gray-300 */\n padding: 8px; /* p-2 */\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n\n svg {\n width: 20px;\n height: 20px;\n }\n }\n\n > .text-box {\n margin-left: 12px; /* ms-3 */\n display: grid; /* grid */\n gap: 0.125rem; /* gap-0.5 */\n\n .name {\n text-transform: capitalize; /* capitalize */\n color: rgba(17, 24, 39, 1); /* text-gray-900 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(55, 65, 81, 1); /* dark:text-gray-700 */\n }\n }\n\n .href {\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n }\n }\n\n &:hover {\n background-color: rgba(229, 231, 235, 1); /* hover:bg-gray-100 */\n }\n\n &:focus-visible {\n background-color: rgba(229, 231, 235, 1); /* focus-visible:bg-gray-100 */\n }\n\n @media (prefers-color-scheme: dark) {\n &:hover {\n background-color: rgba(156, 163, 175, 0.5); /* dark:hover:bg-gray-50/50 */\n backdrop-filter: blur(12px); /* dark:hover:backdrop-blur-lg */\n }\n }\n }\n }\n"], ["\n width: 100%;\n\n .header {\n width: 100%;\n display: flex; /* flex */\n align-items: center; /* items-center */\n justify-content: space-between;\n padding: 16px 20px;\n gap: 20px;\n\n > div {\n width: 100%;\n\n .icon {\n color: #484848;\n }\n\n input {\n width: 100%;\n height: 40px;\n background: #ebebeb;\n border-radius: 6px;\n opacity: 1;\n\n &::placeholder {\n color: #9b9b9b;\n }\n }\n }\n\n .close {\n padding: 0;\n background: none;\n border: 0;\n display: flex;\n width: 20px;\n height: 20px;\n align-items: center;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n }\n\n .list {\n max-height: 60vh; /* max-h-[60vh] */\n overflow-y: auto; /* overflow-y-auto */\n border-top: 1px solid rgba(209, 213, 219, 1); /* border-t border-gray-300 */\n padding: 1rem 0.5rem; /* px-2 py-4 */\n\n h6 {\n margin: 0;\n margin-bottom: 4px; /* mb-1 */\n padding: 0 12px; /* px-3 */\n letter-spacing: 0.05em; /* tracking-widest */\n color: #666666; /* text-gray-500 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(107, 114, 128, 1); /* dark:text-gray-500 */\n }\n\n &.last {\n margin-top: 1.5rem; /* mt-6 */\n @media (min-width: 1920px) {\n /* 4xl */\n margin-top: 1.75rem; /* 4xl:mt-7 */\n }\n }\n }\n\n .not-found {\n width: 100%;\n text-align: center;\n transform: scale(0.75);\n\n .icon {\n margin: 0 auto;\n width: 40px;\n height: 40px;\n display: flex;\n margin-bottom: 20px;\n\n g {\n fill: currentColor !important;\n }\n\n svg {\n width: 100%;\n height: auto;\n }\n }\n\n p {\n color: #484848;\n }\n }\n\n .item {\n position: relative; /* relative */\n margin: 2px 0; /* my-0.5 */\n display: flex; /* flex */\n align-items: center; /* items-center */\n border-radius: 0.5rem; /* rounded-lg */\n padding: 8px 12px; /* px-3 py-2 */\n outline: none; /* focus:outline-none */\n\n > .icon {\n display: inline-flex; /* inline-flex */\n align-items: center; /* items-center */\n justify-content: center; /* justify-center */\n border-radius: 0.375rem; /* rounded-md */\n border: 1px solid rgba(209, 213, 219, 1); /* border border-gray-300 */\n padding: 8px; /* p-2 */\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n\n svg {\n width: 20px;\n height: 20px;\n }\n }\n\n > .text-box {\n margin-left: 12px; /* ms-3 */\n display: grid; /* grid */\n gap: 0.125rem; /* gap-0.5 */\n\n .name {\n text-transform: capitalize; /* capitalize */\n color: rgba(17, 24, 39, 1); /* text-gray-900 */\n\n @media (prefers-color-scheme: dark) {\n color: rgba(55, 65, 81, 1); /* dark:text-gray-700 */\n }\n }\n\n .href {\n color: rgba(107, 114, 128, 1); /* text-gray-500 */\n }\n }\n\n &:hover {\n background-color: rgba(229, 231, 235, 1); /* hover:bg-gray-100 */\n }\n\n &:focus-visible {\n background-color: rgba(229, 231, 235, 1); /* focus-visible:bg-gray-100 */\n }\n\n @media (prefers-color-scheme: dark) {\n &:hover {\n background-color: rgba(156, 163, 175, 0.5); /* dark:hover:bg-gray-50/50 */\n backdrop-filter: blur(12px); /* dark:hover:backdrop-blur-lg */\n }\n }\n }\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/search-list/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,ktHAAA,+oHA+JnC,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/search-modal/search-list/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,UAAU,GAAG,2BAAM,CAAC,GAAG,8uHAAA,2qHAgKnC,KAAA"}
@@ -9,7 +9,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.SubMenu = exports.Menu = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Menu = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n position: relative;\n z-index: 999;\n\n padding-right: 15px;\n\n ul {\n list-style-type: none;\n padding: 0;\n margin-top: 0;\n }\n\n li {\n position: relative !important;\n z-index: 9999;\n width: 100%;\n }\n\n .title {\n color: #828282;\n margin-bottom: 10px;\n padding-left: 15px;\n\n .dark & {\n color: #4b5563;\n }\n }\n\n .item-title {\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: transform 0.1s ease-in-out;\n font-weight: 400;\n padding: 0 15px;\n height: 40px;\n display: flex;\n position: relative;\n z-index: 2222;\n\n &.active {\n background-color: #3872fa;\n color: #fff;\n }\n\n &:hover {\n transform: scale(1.01);\n background-color: ", ";\n\n > span {\n color: #fff;\n\n .icon {\n > svg {\n fill: #fff !important;\n }\n }\n }\n }\n\n > span {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n color: ", ";\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n > svg {\n width: 100%;\n height: auto;\n fill: #828282;\n }\n }\n }\n }\n\n .arrow {\n width: 7px;\n margin: 0 0 0 auto;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n"], ["\n width: 100%;\n position: relative;\n z-index: 999;\n\n padding-right: 15px;\n\n ul {\n list-style-type: none;\n padding: 0;\n margin-top: 0;\n }\n\n li {\n position: relative !important;\n z-index: 9999;\n width: 100%;\n }\n\n .title {\n color: #828282;\n margin-bottom: 10px;\n padding-left: 15px;\n\n .dark & {\n color: #4b5563;\n }\n }\n\n .item-title {\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: transform 0.1s ease-in-out;\n font-weight: 400;\n padding: 0 15px;\n height: 40px;\n display: flex;\n position: relative;\n z-index: 2222;\n\n &.active {\n background-color: #3872fa;\n color: #fff;\n }\n\n &:hover {\n transform: scale(1.01);\n background-color: ", ";\n\n > span {\n color: #fff;\n\n .icon {\n > svg {\n fill: #fff !important;\n }\n }\n }\n }\n\n > span {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n color: ", ";\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n > svg {\n width: 100%;\n height: auto;\n fill: #828282;\n }\n }\n }\n }\n\n .arrow {\n width: 7px;\n margin: 0 0 0 auto;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n"])), function (props) { return props.theme.darkColor; }, function (props) { return props.theme.darkColor; });
12
+ exports.Menu = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n position: relative;\n z-index: 999;\n padding-right: 15px;\n\n a {\n text-decoration: none;\n }\n\n ul {\n list-style-type: none;\n padding: 0;\n margin-top: 0;\n }\n\n li {\n position: relative !important;\n z-index: 9999;\n width: 100%;\n }\n\n .title {\n color: #828282;\n margin-bottom: 10px;\n padding-left: 15px;\n\n .dark & {\n color: #4b5563;\n }\n }\n\n .item-title {\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: transform 0.1s ease-in-out;\n font-weight: 400;\n padding: 0 15px;\n height: 40px;\n display: flex;\n position: relative;\n z-index: 2222;\n\n &.active {\n background-color: #3872fa;\n color: #fff;\n }\n\n &:hover {\n transform: scale(1.01);\n background-color: ", ";\n\n > span {\n color: #fff;\n\n .icon {\n > svg {\n fill: #fff !important;\n }\n }\n }\n }\n\n > span {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n color: ", ";\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n > svg {\n width: 100%;\n height: auto;\n fill: #828282;\n }\n }\n }\n }\n\n .arrow {\n width: 7px;\n margin: 0 0 0 auto;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n"], ["\n width: 100%;\n position: relative;\n z-index: 999;\n padding-right: 15px;\n\n a {\n text-decoration: none;\n }\n\n ul {\n list-style-type: none;\n padding: 0;\n margin-top: 0;\n }\n\n li {\n position: relative !important;\n z-index: 9999;\n width: 100%;\n }\n\n .title {\n color: #828282;\n margin-bottom: 10px;\n padding-left: 15px;\n\n .dark & {\n color: #4b5563;\n }\n }\n\n .item-title {\n border-radius: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: transform 0.1s ease-in-out;\n font-weight: 400;\n padding: 0 15px;\n height: 40px;\n display: flex;\n position: relative;\n z-index: 2222;\n\n &.active {\n background-color: #3872fa;\n color: #fff;\n }\n\n &:hover {\n transform: scale(1.01);\n background-color: ", ";\n\n > span {\n color: #fff;\n\n .icon {\n > svg {\n fill: #fff !important;\n }\n }\n }\n }\n\n > span {\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n color: ", ";\n\n .icon {\n width: 20px;\n height: 20px;\n display: flex;\n\n > svg {\n width: 100%;\n height: auto;\n fill: #828282;\n }\n }\n }\n }\n\n .arrow {\n width: 7px;\n margin: 0 0 0 auto;\n display: flex;\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n }\n"])), function (props) { return props.theme.darkColor; }, function (props) { return props.theme.darkColor; });
13
13
  exports.SubMenu = styled_components_1.default.ul(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 5px;\n padding: 12px 8px;\n z-index: 24;\n position: absolute;\n top: 0;\n left: 100%;\n z-index: 9999;\n background-color: #ffffff;\n border: 1px solid #d1d5db;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n transition: background-color 0.3s, border-color 0.3s;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n\n li {\n &:hover {\n background-color: #f3f4f6;\n }\n }\n"], ["\n border-radius: 5px;\n padding: 12px 8px;\n z-index: 24;\n position: absolute;\n top: 0;\n left: 100%;\n z-index: 9999;\n background-color: #ffffff;\n border: 1px solid #d1d5db;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);\n transition: background-color 0.3s, border-color 0.3s;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n\n li {\n &:hover {\n background-color: #f3f4f6;\n }\n }\n"])));
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/layout/menu/components/menu/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,IAAI,GAAG,2BAAM,CAAC,GAAG,gkDAAA,m2BAkDJ,EAAgC,oRAkB3C,EAAgC,kYA2B9C,KA7CyB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAkB3C,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EA2B9C;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,EAAE,ijBAAA,8eAsB/B,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/components/layout/menu/components/menu/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,IAAI,GAAG,2BAAM,CAAC,GAAG,wmDAAA,24BAqDJ,EAAgC,oRAkB3C,EAAgC,kYA2B9C,KA7CyB,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EAkB3C,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,SAAS,EAArB,CAAqB,EA2B9C;AAEY,QAAA,OAAO,GAAG,2BAAM,CAAC,EAAE,ijBAAA,8eAsB/B,KAAA"}
@@ -99,7 +99,7 @@ function CreateAction(_a) {
99
99
  });
100
100
  }
101
101
  return ((0, jsx_runtime_1.jsx)(S.Create, { children: actions.create &&
102
- (((_b = actions.create) === null || _b === void 0 ? void 0 : _b.link) ? ((0, jsx_runtime_1.jsxs)(link_1.default, { className: 'create-button', href: actions.create.link.href, children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: ((_c = actions === null || actions === void 0 ? void 0 : actions.create) === null || _c === void 0 ? void 0 : _c.icon) || 'IconPlusSharp' }) }), actions.create.text] })) : ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openCreate, onClose: function () { return setOpenCreate(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsxs)("button", { className: 'create-button', type: 'button', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: (actions === null || actions === void 0 ? void 0 : actions.create.icon) || 'IconPlusSharp' }) }), actions.create.text] }), content: (0, jsx_runtime_1.jsx)(component_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: onSuccessCreate })), onOpen: function () { return setOpenCreate(true); } }))) }));
102
+ (((_b = actions.create) === null || _b === void 0 ? void 0 : _b.link) ? ((0, jsx_runtime_1.jsxs)(link_1.default, { className: 'create-button font-14-regular', href: actions.create.link.href, children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: ((_c = actions === null || actions === void 0 ? void 0 : actions.create) === null || _c === void 0 ? void 0 : _c.icon) || 'IconPlusSharp' }) }), actions.create.text] })) : ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openCreate, onClose: function () { return setOpenCreate(false); }, style: { maxWidth: 512, borderRadius: 10 }, trigger: (0, jsx_runtime_1.jsxs)("button", { className: 'create-button font-14-regular', type: 'button', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: (actions === null || actions === void 0 ? void 0 : actions.create.icon) || 'IconPlusSharp' }) }), actions.create.text] }), content: (0, jsx_runtime_1.jsx)(component_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: onSuccessCreate })), onOpen: function () { return setOpenCreate(true); } }))) }));
103
103
  }
104
104
  exports.CreateAction = CreateAction;
105
105
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/create/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAEhC,uDAAyC;AAEzC,2BAA2B;AAC3B,yFAAgG;AAIhG,mDAA4B;AAE5B,0CAA6B;AAE7B,SAAgB,YAAY,CAAC,EAAsC;;QAApC,OAAO,aAAA;IAC9B,IAAA,KAA8B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA5C,UAAU,QAAA,EAAE,aAAa,QAAmB,CAAA;IAEnD,SAAe,eAAe,CAAC,IAAI;;;;4BACjC,qBAAM,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA;;wBAAnC,SAAmC,CAAA;wBAEnC,aAAa,CAAC,KAAK,CAAC,CAAA;;;;;KACrB;IAED,OAAO,CACL,uBAAC,CAAC,CAAC,MAAM,cACN,OAAO,CAAC,MAAM;YACb,CAAC,CAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,IAAI,EAAC,CAAC,CAAC,CACtB,wBAAC,cAAI,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,aAC5D,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAE,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,IAAI,KAAI,eAAe,GAAI,GACpD,EAEL,OAAO,CAAC,MAAM,CAAC,IAAI,IACf,CACR,CAAC,CAAC,CAAC,CACF,uBAAC,yBAAK,IACJ,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,cAAM,OAAA,aAAa,CAAC,KAAK,CAAC,EAApB,CAAoB,EACnC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,EAC1C,OAAO,EACL,oCAAQ,SAAS,EAAC,eAAe,EAAC,IAAI,EAAC,QAAQ,aAC7C,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,IAAI,KAAI,eAAe,GAAI,GACnD,EAEL,OAAO,CAAC,MAAM,CAAC,IAAI,IACb,EAEX,OAAO,EAAE,uBAAC,8BAAkB,eAAK,OAAO,CAAC,MAAM,IAAE,QAAQ,EAAE,eAAe,IAAI,EAC9E,MAAM,EAAE,cAAM,OAAA,aAAa,CAAC,IAAI,CAAC,EAAnB,CAAmB,GACjC,CACH,CAAC,GACK,CACZ,CAAA;AACH,CAAC;AAxCD,oCAwCC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/create/index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AAC,IAAI,EAAC,QAAQ,aAC7D,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,IAAI,KAAI,eAAe,GAAI,GACnD,EAEL,OAAO,CAAC,MAAM,CAAC,IAAI,IACb,EAEX,OAAO,EAAE,uBAAC,8BAAkB,eAAK,OAAO,CAAC,MAAM,IAAE,QAAQ,EAAE,eAAe,IAAI,EAC9E,MAAM,EAAE,cAAM,OAAA,aAAa,CAAC,IAAI,CAAC,EAAnB,CAAmB,GACjC,CACH,CAAC,GACK,CACZ,CAAA;AACH,CAAC;AAxCD,oCAwCC"}
@@ -28,7 +28,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
28
28
  var ui_1 = require("../../../../../../../../ui/index.js");
29
29
  var S = __importStar(require("./styles.js"));
30
30
  function Export() {
31
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Export', children: (0, jsx_runtime_1.jsxs)(S.Export, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconUpload' }) }), "Exportar"] }) }));
31
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Export', children: (0, jsx_runtime_1.jsxs)(S.Export, { className: 'font-14-regular', children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconUpload' }) }), "Exportar"] }) }));
32
32
  }
33
33
  exports.Export = Export;
34
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/export/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAElC,0CAA6B;AAE7B,SAAgB,MAAM;IACpB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,QAAQ,YAClB,wBAAC,CAAC,CAAC,MAAM,eACP,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAC,YAAY,GAAG,GACtB,gBAEG,GACL,CACT,CAAA;AACH,CAAC;AAXD,wBAWC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/export/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAAkC;AAElC,0CAA6B;AAE7B,SAAgB,MAAM;IACpB,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,QAAQ,YAClB,wBAAC,CAAC,CAAC,MAAM,IAAC,SAAS,EAAC,iBAAiB,aACnC,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,SAAI,IAAC,IAAI,EAAC,YAAY,GAAG,GACtB,gBAEG,GACL,CACT,CAAA;AACH,CAAC;AAXD,wBAWC"}
@@ -36,7 +36,7 @@ function SelectFilter(_a) {
36
36
  query: newQuery,
37
37
  });
38
38
  }
39
- return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SelectFilter - ' + queryName, children: (0, jsx_runtime_1.jsx)(react_select_1.default, { onChange: handleChange, options: options, placeholder: placeHolder }) }));
39
+ return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SelectFilter - ' + queryName, children: (0, jsx_runtime_1.jsx)(react_select_1.default, { className: 'font-14-regular', onChange: handleChange, options: options, placeholder: placeHolder }) }));
40
40
  }
41
41
  exports.SelectFilter = SelectFilter;
42
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,8DAAiC;AAEjC,2BAA4B;AAE5B,SAAgB,YAAY,CAAC,EAAmC;QAAjC,OAAO,aAAA,EAAE,SAAS,eAAA,EAAE,WAAW,iBAAA;IAC5D,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,SAAS,YAAY,CAAC,EAAE;QACtB,IAAM,KAAK,GAAG,EAAE,CAAC,KAAK,CAAA;QAEtB,IAAM,QAAQ,gBAAQ,MAAM,CAAC,KAAK,CAAE,CAAA;QACpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAA;QAC5B,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,SAAS,CAAC,GAAG,KAAK,CAAA;QAC7B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC;YACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,EAAE,QAAQ;SAChB,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,YACxC,uBAAC,sBAAM,IAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,GAAI,GACxE,CACT,CAAA;AACH,CAAC;AAxBD,oCAwBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/filters/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,8DAAiC;AAEjC,2BAA4B;AAE5B,SAAgB,YAAY,CAAC,EAAmC;QAAjC,OAAO,aAAA,EAAE,SAAS,eAAA,EAAE,WAAW,iBAAA;IAC5D,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,SAAS,YAAY,CAAC,EAAE;QACtB,IAAM,KAAK,GAAG,EAAE,CAAC,KAAK,CAAA;QAEtB,IAAM,QAAQ,gBAAQ,MAAM,CAAC,KAAK,CAAE,CAAA;QACpC,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAA;QAC5B,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,SAAS,CAAC,GAAG,KAAK,CAAA;QAC7B,CAAC;QAED,MAAM,CAAC,IAAI,CAAC;YACV,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,EAAE,QAAQ;SAChB,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,YACxC,uBAAC,sBAAM,IAAC,SAAS,EAAC,iBAAiB,EAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,GAAI,GACpG,CACT,CAAA;AACH,CAAC;AAxBD,oCAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",