infinity-forge 2.3.8 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/system/data/use-cases/menu/remote-get-menu.d.ts +1 -2
- package/dist/system/data/use-cases/menu/remote-get-menu.js +1 -1
- package/dist/system/data/use-cases/notifications/remote-notifications.d.ts +1 -2
- package/dist/system/data/use-cases/notifications/remote-notifications.js +1 -1
- package/dist/system/data/use-cases/users/remote-load-user-admin.d.ts +1 -2
- package/dist/system/data/use-cases/users/remote-load-user-admin.js +1 -1
- package/dist/system/data/use-cases/users/remote-users.d.ts +1 -2
- package/dist/system/data/use-cases/users/remote-users.js +1 -1
- package/dist/system/domain/use-cases/dynamic-section/dynamic-section.d.ts +1 -2
- package/dist/system/domain/use-cases/menu/detail.d.ts +1 -2
- package/dist/system/domain/use-cases/menu/load-all.d.ts +1 -2
- package/dist/system/domain/use-cases/users/load-all-users.d.ts +1 -2
- package/dist/system/domain/use-cases/users/load-user-admin.d.ts +1 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +5 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +0 -36
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +5 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +0 -37
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +0 -42
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +5 -4
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +5 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +4 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +0 -24
- package/package.json +1 -1
|
@@ -8,5 +8,4 @@ export declare class RemoteMenu implements domain.LoadAllMenu, domain.CreateUser
|
|
|
8
8
|
create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
|
|
9
9
|
delete(params: domain.DeleteUser.Params): Promise<any>;
|
|
10
10
|
edit(params: domain.EditUser.Params): Promise<any>;
|
|
11
|
-
getDetail(params: domain.LoadDetailUser.Params):
|
|
12
|
-
}
|
|
11
|
+
getDetail(params: domain.LoadDetailUser.Params): Prom
|
|
@@ -7,5 +7,4 @@ export declare class RemoteNotifications implements domain.LoadNoReadNotificatio
|
|
|
7
7
|
loadAll(params: domain.LoadAllNotifications.Params): Promise<domain.LoadAllNotifications.Model>;
|
|
8
8
|
create(params: domain.CreateNotification.Params): Promise<domain.CreateNotification.Model>;
|
|
9
9
|
loadNoRead(): Promise<domain.LoadNoReadNotifications.Model>;
|
|
10
|
-
readAll(params: domain.ReadNotifications.Params): Promise<domain.
|
|
11
|
-
}
|
|
10
|
+
readAll(params: domain.ReadNotifications.Params): Promise<domain.ReadNoti
|
|
@@ -4,5 +4,4 @@ export declare class RemoteLoadUserAdmin implements domain.LoadUserAdmin {
|
|
|
4
4
|
private readonly makeApiURL;
|
|
5
5
|
private readonly httpClient;
|
|
6
6
|
constructor(makeApiURL: makeApiURL, httpClient: domain.HttpClient<domain.LoadUserAdmin.Model>);
|
|
7
|
-
load(): Promise<
|
|
8
|
-
}
|
|
7
|
+
load(): Promise<d
|
|
@@ -8,5 +8,4 @@ export declare class RemoteUsers implements domain.LoadAllUsers, domain.CreateUs
|
|
|
8
8
|
create(params: domain.CreateUser.Params): Promise<domain.CreateUser.Model>;
|
|
9
9
|
delete(params: domain.DeleteUser.Params): Promise<any>;
|
|
10
10
|
edit(params: domain.EditUser.Params): Promise<any>;
|
|
11
|
-
getDetail(params: domain.LoadDetailUser.
|
|
12
|
-
}
|
|
11
|
+
getDetail(params: domain.LoadDetailUser.Param
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IMessage } from './interfaces
|
|
1
|
+
import { IMessage } from './interfaces';
|
|
2
2
|
export declare function MessageCard({ title, status, date, name, description, url }: IMessage): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
|
40
|
-
var system_1 = require("../../../../../../../../../../system
|
|
41
|
-
var S = __importStar(require("./styles
|
|
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.
|
|
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
|
|
40
|
-
var card_1 = require("./card
|
|
41
|
-
var S = __importStar(require("./styles
|
|
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
|
-
//#
|
|
92
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js
CHANGED
|
@@ -1,36 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Messages = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
29
|
-
var S = __importStar(require("./styles.js"));
|
|
30
|
-
var styles_1 = require("../styles.js");
|
|
31
|
-
var content_1 = require("./content/index.js");
|
|
32
|
-
function Messages() {
|
|
33
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Messages', children: (0, jsx_runtime_1.jsx)(S.Messages, { id: 'messages-btn', children: (0, jsx_runtime_1.jsx)(ui_1.Tooltip, { idTooltip: 'Messages', enableArrow: true, bgColor: '#fff', enableHover: true, content: (0, jsx_runtime_1.jsx)(content_1.Content, {}), trigger: (0, jsx_runtime_1.jsx)(styles_1.ActionBox, { children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconFullFieldChat' }) }) }) }) }));
|
|
34
|
-
}
|
|
35
|
-
exports.Messages = Messages;
|
|
36
|
-
//# sourceM
|
|
@@ -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
|
|
29
|
-
var system_1 = require("../../../../../../../../../system
|
|
30
|
-
var S = __importStar(require("./styles
|
|
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.
|
|
35
|
+
exports.Content = Content;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Profile = void 0;
|
|
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 content_1 = require("./content/index.js");
|
|
31
|
-
var S = __importStar(require("./styles.js"));
|
|
32
|
-
function Profile() {
|
|
33
|
-
var user = (0, system_1.useAuthAdmin)().user;
|
|
34
|
-
var avatarImage = (user === null || user === void 0 ? void 0 : user.avatar) || '/images/default-profile.png';
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsx)(S.Profile, { id: 'profile-btn', children: (0, jsx_runtime_1.jsx)(ui_1.Tooltip, { idTooltip: 'Profile', bgColor: '#fff', trigger: (0, jsx_runtime_1.jsx)(system_1.Avatar, { image: avatarImage }), enableArrow: true, content: (0, jsx_runtime_1.jsx)(content_1.Content, {}) }) }) }));
|
|
36
|
-
}
|
|
37
|
-
exports.Profile
|
package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Settings = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var react_1 = require("react");
|
|
29
|
-
var ui_1 = require("../../../../../../../../ui/index.js");
|
|
30
|
-
var S = __importStar(require("./styles.js"));
|
|
31
|
-
var styles_1 = require("../styles.js");
|
|
32
|
-
function Settings() {
|
|
33
|
-
var _a = (0, react_1.useState)(false), visible = _a[0], setVisible = _a[1];
|
|
34
|
-
var fullHeightStyle = { minHeight: '100vh', position: 'absolute', top: 0, right: 0, zIndex: '999999999' };
|
|
35
|
-
function handleClose() {
|
|
36
|
-
setVisible(false);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Settings', children: (0, jsx_runtime_1.jsx)(S.Settings, { id: 'settings-btn', children: (0, jsx_runtime_1.jsx)(styles_1.ActionBox, { onClick: function () { return setVisible(true); }, children: (0, jsx_runtime_1.jsx)(ui_1.IconGear, {}) }) }) }));
|
|
40
|
-
}
|
|
41
|
-
exports.Settings = Settings;
|
|
42
|
-
//# sourceM
|
|
@@ -30,9 +30,9 @@ exports.SearchList = 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 system_1 = require("../../../../../../../../system
|
|
34
|
-
var ui_1 = require("../../../../../../../../ui
|
|
35
|
-
var S = __importStar(require("./styles
|
|
33
|
+
var system_1 = require("../../../../../../../../system");
|
|
34
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
35
|
+
var S = __importStar(require("./styles"));
|
|
36
36
|
function SearchList(_a) {
|
|
37
37
|
var _b;
|
|
38
38
|
var setOpen = _a.setOpen;
|
|
@@ -48,4 +48,5 @@ function SearchList(_a) {
|
|
|
48
48
|
})] }, item.title + '-' + index));
|
|
49
49
|
})) })] }) }));
|
|
50
50
|
}
|
|
51
|
-
exports.SearchList =
|
|
51
|
+
exports.SearchList = SearchList;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js
CHANGED
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SearchTrigger = void 0;
|
|
38
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
39
|
-
var ui_1 = require("../../../../../../../../ui
|
|
40
|
-
var S = __importStar(require("./styles
|
|
39
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
40
|
+
var S = __importStar(require("./styles"));
|
|
41
41
|
function SearchTrigger(props) {
|
|
42
42
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'SearchTrigger', children: (0, jsx_runtime_1.jsxs)(S.SearchTrigger, __assign({ "aria-label": 'Search' }, props, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'LupaIcon' }) }), (0, jsx_runtime_1.jsx)("span", { className: 'placeholder font-14-regular', children: "Pesquisar..." })] })) }));
|
|
43
43
|
}
|
|
44
44
|
exports.SearchTrigger = SearchTrigger;
|
|
45
|
-
//#
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -77,8 +77,8 @@ exports.Actions = void 0;
|
|
|
77
77
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
78
78
|
var react_1 = require("react");
|
|
79
79
|
var link_1 = __importDefault(require("next/link"));
|
|
80
|
-
var ui_1 = require("../../../../../../../../ui
|
|
81
|
-
var S = __importStar(require("./styles
|
|
80
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
81
|
+
var S = __importStar(require("./styles"));
|
|
82
82
|
function Actions(_a) {
|
|
83
83
|
var _this = this;
|
|
84
84
|
var _b;
|
|
@@ -103,4 +103,4 @@ function Actions(_a) {
|
|
|
103
103
|
actions.custom.map(function (Component, index) { return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Component, __assign({}, table)) }, 'custom' + index + Component.name)); })] }) }));
|
|
104
104
|
}
|
|
105
105
|
exports.Actions = Actions;
|
|
106
|
-
//#
|
|
106
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITableProps } from '../interfaces
|
|
1
|
+
import { ITableProps } from '../interfaces';
|
|
2
2
|
export declare function ActiveFilters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js
CHANGED
|
@@ -35,8 +35,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
35
35
|
exports.ActiveFilters = void 0;
|
|
36
36
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
37
37
|
var router_1 = require("next/router");
|
|
38
|
-
var ui_1 = require("../../../../../../../../ui
|
|
39
|
-
var S = __importStar(require("./styles
|
|
38
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
39
|
+
var S = __importStar(require("./styles"));
|
|
40
40
|
function ActiveFilters(_a) {
|
|
41
41
|
var _b, _c, _d;
|
|
42
42
|
var configs = _a.configs, tableInformations = _a.tableInformations;
|
|
@@ -75,4 +75,4 @@ function ActiveFilters(_a) {
|
|
|
75
75
|
}, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'CloseIcon' }) })] }))] }));
|
|
76
76
|
}
|
|
77
77
|
exports.ActiveFilters = ActiveFilters;
|
|
78
|
-
//#
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -41,8 +41,8 @@ exports.CreateAction = 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 ui_1 = require("../../../../../../../../ui
|
|
45
|
-
var S = __importStar(require("./styles
|
|
44
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
45
|
+
var S = __importStar(require("./styles"));
|
|
46
46
|
function CreateAction(_a) {
|
|
47
47
|
var _b, _c;
|
|
48
48
|
var actions = _a.actions;
|
|
@@ -53,4 +53,4 @@ function CreateAction(_a) {
|
|
|
53
53
|
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: __assign({ width: '100vw', maxWidth: '512px', borderRadius: 10 }, ((actions === null || actions === void 0 ? void 0 : actions.modalStyles) || {})), open: open, onClose: function () { return setOpen(false); }, children: (0, jsx_runtime_1.jsx)(ui_1.DynamicFormHandler, __assign({}, actions.create, { onSucess: actions.create.onSucess, onFinish: function () { return setOpen(false); } })) }), (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] })] })) }));
|
|
54
54
|
}
|
|
55
55
|
exports.CreateAction = CreateAction;
|
|
56
|
-
//#
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExportTable } from '../../../../../../../../system/domain
|
|
1
|
+
import { ExportTable } from '../../../../../../../../system/domain';
|
|
2
2
|
export declare function Export({ exports }: {
|
|
3
3
|
exports: ExportTable[];
|
|
4
|
-
}): import("react/jsx-
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,11 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.Export = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../../../ui
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
function Export(_a) {
|
|
31
31
|
var exports = _a.exports;
|
|
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
|
-
//#
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITableProps } from '../interfaces
|
|
1
|
+
import { ITableProps } from '../interfaces';
|
|
2
2
|
export declare function Filters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -82,9 +82,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
82
82
|
exports.Filters = void 0;
|
|
83
83
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
84
84
|
var router_1 = require("next/router");
|
|
85
|
-
var system_1 = require("../../../../../../../../system
|
|
86
|
-
var ui_1 = require("../../../../../../../../ui
|
|
87
|
-
var S = __importStar(require("./styles
|
|
85
|
+
var system_1 = require("../../../../../../../../system");
|
|
86
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
87
|
+
var S = __importStar(require("./styles"));
|
|
88
88
|
function Filters(_a) {
|
|
89
89
|
var _this = this;
|
|
90
90
|
var _b;
|
|
@@ -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
|
-
import { PaginationModel } from '../../../../../../../../system
|
|
2
|
-
export declare function PaginationTable({ page, endPage, pages, pageSize, totalItems, hasNextPage, hasPreviousPage }: PaginationModel): import("react/jsx-
|
|
1
|
+
import { PaginationModel } from '../../../../../../../../system';
|
|
2
|
+
export declare function PaginationTable({ page, endPage, pages, pageSize, totalItems, hasNextPage, hasPreviousPage }: PaginationModel): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,9 +26,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.PaginationTable = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
var router_1 = require("next/router");
|
|
29
|
-
var ui_1 = require("../../../../../../../../ui
|
|
30
|
-
var service_1 = require("./service
|
|
31
|
-
var S = __importStar(require("./styles
|
|
29
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
30
|
+
var service_1 = require("./service");
|
|
31
|
+
var S = __importStar(require("./styles"));
|
|
32
32
|
function PaginationTable(_a) {
|
|
33
33
|
var page = _a.page, endPage = _a.endPage, pages = _a.pages, pageSize = _a.pageSize, totalItems = _a.totalItems, hasNextPage = _a.hasNextPage, hasPreviousPage = _a.hasPreviousPage;
|
|
34
34
|
var router = (0, router_1.useRouter)();
|
|
@@ -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
|
-
//#
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js
CHANGED
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.SkeletonTable = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("../../../../../../../../ui
|
|
29
|
-
var S = __importStar(require("./styles
|
|
28
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
29
|
+
var S = __importStar(require("./styles"));
|
|
30
30
|
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
|
-
//#
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ITHeadItemProps } from './interfaces
|
|
1
|
+
import { ITHeadItemProps } from './interfaces';
|
|
2
2
|
export declare function THeadItem({ colunm, disableOrdenationTable }: ITHeadItemProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,8 +26,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.THeadItem = void 0;
|
|
27
27
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
var router_1 = require("next/router");
|
|
29
|
-
var ui_1 = require("../../../../../../../../ui
|
|
30
|
-
var S = __importStar(require("./styles
|
|
29
|
+
var ui_1 = require("../../../../../../../../ui");
|
|
30
|
+
var S = __importStar(require("./styles"));
|
|
31
31
|
function THeadItem(_a) {
|
|
32
32
|
var colunm = _a.colunm, disableOrdenationTable = _a.disableOrdenationTable;
|
|
33
33
|
var router = (0, router_1.useRouter)();
|
|
@@ -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
|
-
//#
|
|
50
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { LocalizedNumberFormatValues, ResolvedNumberFormatOptions } from '../types.js';
|
|
2
|
-
import type { InputType } from '../../core/index.js';
|
|
3
|
-
interface ResolveSelectionParam {
|
|
4
|
-
localizedValues: LocalizedNumberFormatValues;
|
|
5
|
-
previousLocalizedValues: LocalizedNumberFormatValues;
|
|
6
|
-
resolvedOptions: ResolvedNumberFormatOptions;
|
|
7
|
-
inputType: InputType;
|
|
8
|
-
addedValue: string;
|
|
9
|
-
previousValue: string;
|
|
10
|
-
nextValue: string;
|
|
11
|
-
changeStart: number;
|
|
12
|
-
changeEnd: number;
|
|
13
|
-
}
|
|
14
|
-
interface ResolveSelectionReturn {
|
|
15
|
-
start: number;
|
|
16
|
-
end: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Определяет позицию каретки для последующей установки
|
|
20
|
-
* @param param
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export default function resolveSelection({ localizedValues, previousLocalizedValues, resolvedOptions, inputType, previousValue, addedValue, nextValue, changeStart, changeEnd, }: ResolveSelectionParam): ResolveSelectionReturn;
|
|
24
|
-
export {};
|