infinity-forge 1.8.0 → 1.8.1

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.
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.MessageCard = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
- var ui_1 = require("../../../../../../../../../../ui/index.js");
40
- var system_1 = require("../../../../../../../../../../system/index.js");
41
- var S = __importStar(require("./styles.js"));
39
+ var ui_1 = require("../../../../../../../../../../ui");
40
+ var system_1 = require("../../../../../../../../../../system");
41
+ var S = __importStar(require("./styles"));
42
42
  function MessageCard(_a) {
43
43
  var title = _a.title, status = _a.status, date = _a.date, name = _a.name, description = _a.description, url = _a.url;
44
44
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MessageCard', children: (0, jsx_runtime_1.jsxs)(S.MessageCard, { href: url, children: [(0, jsx_runtime_1.jsxs)("div", { className: 'top', children: [(0, jsx_runtime_1.jsx)("h5", { className: 'title font-16-bold', children: title }), (0, jsx_runtime_1.jsx)(system_1.HighlightText, __assign({}, status)), (0, jsx_runtime_1.jsx)("span", { className: 'days font-12-regular', children: date })] }), (0, jsx_runtime_1.jsxs)("p", { className: 'description font-16-regular', children: [(0, jsx_runtime_1.jsxs)("strong", { className: '-bold', children: [name, ": "] }), " ", description] })] }) }));
45
45
  }
46
- exports.Mess
46
+ exports.MessageCard = MessageCard;
47
+ //# sourceMappingURL=index.js.map
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Content = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
- var ui_1 = require("../../../../../../../../../ui/index.js");
40
- var card_1 = require("./card/index.js");
41
- var S = __importStar(require("./styles.js"));
39
+ var ui_1 = require("../../../../../../../../../ui");
40
+ var card_1 = require("./card");
41
+ var S = __importStar(require("./styles"));
42
42
  function Content() {
43
43
  var messages = [
44
44
  {
@@ -89,4 +89,4 @@ function Content() {
89
89
  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)("div", { className: 'cards-box', children: messages.map(function (item) { return ((0, jsx_runtime_1.jsx)(card_1.MessageCard, __assign({}, item), 'message-card' + item.title)); }) }) }) }));
90
90
  }
91
91
  exports.Content = Content;
92
- //# sour
92
+ //# sourceMappingURL=index.js.mapppingURL=index.js.map
@@ -25,11 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Content = void 0;
27
27
  var jsx_runtime_1 = require("react/jsx-runtime");
28
- var ui_1 = require("../../../../../../../../../ui/index.js");
29
- var system_1 = require("../../../../../../../../../system/index.js");
30
- var S = __importStar(require("./styles.js"));
28
+ var ui_1 = require("../../../../../../../../../ui");
29
+ var system_1 = require("../../../../../../../../../system");
30
+ var S = __importStar(require("./styles"));
31
31
  function Content() {
32
32
  var _a = (0, system_1.useAuthAdmin)(), user = _a.user, signOut = _a.signOut;
33
33
  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 === null || user === void 0 ? void 0 : user.firstName }), (0, jsx_runtime_1.jsx)("p", { className: 'font-14-regular email', children: user === null || user === void 0 ? void 0 : user.emailAddress })] }) }), (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: function () { return signOut(); }, children: "Sair" }) })] }) }));
34
34
  }
35
- exports.Co
35
+ exports.Content = Content;
36
+ //# sourceMappingURL=index.js.mapppingURL=index.js.map
@@ -103,4 +103,4 @@ function CreateAction(_a) {
103
103
  return ((0, jsx_runtime_1.jsx)(S.Create, { children: ((_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.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(ui_1.Modal, { styles: { width: '100vw', maxWidth: '512px', borderRadius: 10 }, open: open, onClose: function () { return setOpen(false); }, children: (0, jsx_runtime_1.jsx)(ui_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: onSuccessCreate })) }), (0, jsx_runtime_1.jsxs)("button", { className: 'create-button font-14-regular', type: 'button', onClick: function () { return setOpen(true); }, 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] })] })) }));
104
104
  }
105
105
  exports.CreateAction = CreateAction;
106
- //# sourceM
106
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
1
  import { ExportTable } from '../../../../../../../../system/domain/index.js';
2
2
  export declare function Export({ exports }: {
3
3
  exports: ExportTable[];
4
- }): import("react/jsx-r
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -32,4 +32,4 @@ function Export(_a) {
32
32
  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"] }) }));
33
33
  }
34
34
  exports.Export = Export;
35
- //# sourceM
35
+ //# sourceMappingURL=index.js.map
@@ -135,4 +135,5 @@ function Filters(_a) {
135
135
  });
136
136
  }); }, options: filter.options.map(function (op) { return ({ label: op.text, value: op.value }); }) }, filter.data)); }), (0, jsx_runtime_1.jsx)(system_1.InputSearch, { onChange: function (value) { return (0, ui_1.updateRoute)({ params: { search: value, page: 1 }, router: router }); } })] }) }) }) }));
137
137
  }
138
- exports.Filters
138
+ exports.Filters = Filters;
139
+ //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
1
  import { PaginationModel } from '../../../../../../../../system/index.js';
2
- export declare function PaginationTable({ page, endPage, pages, pageSize, totalItems, hasNextPage, hasPreviousPage }: PaginationModel): import("react/jsx-r
2
+ export declare function PaginationTable({ page, endPage, pages, pageSize, totalItems, hasNextPage, hasPreviousPage }: PaginationModel): import("react/jsx-runtime").JSX.Element;
@@ -53,4 +53,4 @@ function PaginationTable(_a) {
53
53
  }, onClick: function () { return onSelect(pagination.page + 1); }, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconKeyboardRightArrow' }) }))] }));
54
54
  }
55
55
  exports.PaginationTable = PaginationTable;
56
- //# sourceM
56
+ //# sourceMappingURL=index.js.map
@@ -31,4 +31,4 @@ function SkeletonTable() {
31
31
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'skeleton', children: (0, jsx_runtime_1.jsxs)(S.SkeletonCustom, { "data-testid": 'skeleton', children: [(0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } }), (0, jsx_runtime_1.jsx)(ui_1.Skeleton, { type: 'line', size: { height: '60px', width: '100%', margin: "0" } })] }) }));
32
32
  }
33
33
  exports.SkeletonTable = SkeletonTable;
34
- //# sourceM
34
+ //# sourceMappingURL=index.js.map
@@ -47,4 +47,4 @@ function THeadItem(_a) {
47
47
  return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'thead-item', children: (0, jsx_runtime_1.jsx)("th", { style: { width: colunm.width + 'px' }, children: (0, jsx_runtime_1.jsxs)(S.THeadItem, { style: { width: colunm.width + 'px' }, onClick: handleOrd, children: [(0, jsx_runtime_1.jsx)("span", { className: 'font-12-bold uppercase', children: colunm.label }), !disableOrdenationTable && colunm.hasAsc && ((0, jsx_runtime_1.jsx)("div", { className: 'ord-actions', children: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: (0, jsx_runtime_1.jsx)("svg", { style: { transform: rotateArrow ? 'rotate(180deg)' : 'rotate(0deg)' }, xmlns: 'http://www.w3.org/2000/svg', width: '11', height: '6', viewBox: '0 0 11 6', fill: 'none', children: (0, jsx_runtime_1.jsx)("path", { d: 'M5.75 5.5L0.75 0.5H10.75L5.75 5.5Z', fill: ascIsActive ? '#1ABB64' : '#828282' }) }) }) }))] }) }) }));
48
48
  }
49
49
  exports.THeadItem = THeadItem;
50
- //# sourceM
50
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",