infinity-forge 3.2.6 → 3.2.7

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 (130) hide show
  1. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +0 -6
  2. package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +0 -42
  3. package/dist/system/presentation/components/data/menu/components/menu-item/index.js +0 -80
  4. package/dist/system/presentation/components/data/menu/components/menu-item/index.js.map +1 -1
  5. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +0 -44
  6. package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +0 -15
  7. package/dist/system/presentation/components/data/menu/modes/opened/index.js +0 -51
  8. package/dist/system/presentation/components/data/menu/modes/opened/styles.js +0 -15
  9. package/dist/system/presentation/components/data/tab/component.js +4 -4
  10. package/dist/system/presentation/components/data/tab/interfaces.d.ts +1 -3
  11. package/dist/system/presentation/components/layout/header/components/menu-right/component.d.ts +0 -6
  12. package/dist/system/presentation/components/layout/header/components/menu-right/component.js +0 -35
  13. package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +0 -3
  14. package/dist/system/presentation/components/layout/header/components/menu-right/index.js +3 -3
  15. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -1
  16. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +3 -3
  17. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
  18. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
  19. package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +4 -4
  20. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +3 -3
  21. package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +4 -4
  22. package/dist/system/presentation/components/layout/header/components/search-modal/index.js +5 -5
  23. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
  24. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +2 -2
  25. package/dist/system/presentation/components/layout/header/index.js +2 -2
  26. package/dist/system/presentation/components/pages/menus/page.js +4 -4
  27. package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
  28. package/dist/system/presentation/components/pages/users/page.js +4 -4
  29. package/dist/system/presentation/context/auth/components/login/form-login/index.js +3 -3
  30. package/dist/system/presentation/hooks/notifications/use-load-all/index.d.ts +1 -2
  31. package/dist/system/presentation/hooks/notifications/use-load-all/index.js +3 -3
  32. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +2 -3
  33. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +3 -3
  34. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.d.ts +1 -1
  35. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.js +2 -2
  36. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +1 -1
  37. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +4 -4
  38. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -1
  39. package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +2 -2
  40. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +1 -1
  41. package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +3 -3
  42. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +1 -1
  43. package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +2 -2
  44. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
  45. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +3 -3
  46. package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
  47. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +11 -11
  48. package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +3 -3
  49. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
  50. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +3 -3
  51. package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +2 -2
  52. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
  53. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +2 -2
  54. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
  55. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +2 -3
  56. package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
  57. package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
  58. package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +0 -81
  59. package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +0 -21
  60. package/dist/ui/components/carousel/carousel-lib/core/update/index.js +0 -26
  61. package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +0 -125
  62. package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +0 -45
  63. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +0 -306
  64. package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +0 -69
  65. package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +0 -6
  66. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +3 -2
  67. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +2 -2
  68. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
  69. package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
  70. package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +0 -1
  71. package/dist/ui/components/form/input-cep/use-cep/providers/index.js +0 -18
  72. package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +0 -8
  73. package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +0 -62
  74. package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +0 -49
  75. package/dist/ui/components/form/input-currency/components/utils/formatValue.js +0 -132
  76. package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +0 -13
  77. package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +0 -12
  78. package/dist/ui/components/form/input-currency/components/utils/index.d.ts +0 -8
  79. package/dist/ui/components/form/input-currency/components/utils/index.js +0 -25
  80. package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +0 -40
  81. package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +0 -14
  82. package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +0 -14
  83. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +0 -2
  84. package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +0 -62
  85. package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +0 -2
  86. package/dist/ui/components/form/input-date-picker/calendar/days/index.js +0 -87
  87. package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +0 -2
  88. package/dist/ui/components/form/input-date-picker/calendar/months/index.js +0 -66
  89. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +2 -2
  90. package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +2 -2
  91. package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +0 -3
  92. package/dist/ui/components/form/input-file/render-files/file-item/index.js +0 -49
  93. package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
  94. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
  95. package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
  96. package/dist/ui/components/form/input-mask/lib/core/index.d.ts +0 -5
  97. package/dist/ui/components/form/input-mask/lib/core/index.js +0 -15
  98. package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
  99. package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +0 -6
  100. package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +0 -44
  101. package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +0 -5
  102. package/dist/ui/components/form/input-mask/lib/mask/index.js +0 -26
  103. package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +0 -61
  104. package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +0 -3
  105. package/dist/ui/components/form/input-mask/lib/mask/useMask.js +0 -150
  106. package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
  107. package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
  108. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
  109. package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
  110. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
  111. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
  112. package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +2 -2
  113. package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
  114. package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +1 -1
  115. package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +0 -63
  116. package/dist/ui/components/form/input-mask/lib/mask/utils.js +0 -114
  117. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +0 -6
  118. package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +0 -58
  119. package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +0 -4
  120. package/dist/ui/components/form/input-mask/lib/number-format/index.js +0 -11
  121. package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +0 -26
  122. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +0 -3
  123. package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +0 -208
  124. package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
  125. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
  126. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
  127. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
  128. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
  129. package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +2 -2
  130. package/package.json +1 -1
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.useLoadAllNotifications = void 0;
40
- var ui_1 = require("../../../../../ui");
41
- var system_1 = require("../../../../../system");
40
+ var ui_1 = require("../../../../../ui/index.js");
41
+ var system_1 = require("../../../../../system/index.js");
42
42
  function useLoadAllNotifications() {
43
43
  var Configurations = (0, system_1.useInfraInjection)().Configurations;
44
44
  var isEnable = Configurations.notification.enable;
@@ -73,4 +73,4 @@ function useLoadAllNotifications() {
73
73
  });
74
74
  }
75
75
  exports.useLoadAllNotifications = useLoadAllNotifications;
76
- //# sourceMappingURL=index.js.mapngURL=index.js.map
76
+ //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
- import { LoadNoReadNotifications } from '../../../../../system';
2
- export declare function useLoadNoReadNotifications(): Required<import("../../../../../ui").QueryState<LoadNoReadNotifications.Model>>;
3
- ications.Model>>;
1
+ import { LoadNoReadNotifications } from '../../../../../system/index.js';
2
+ export declare function useLoadNoReadNotifications(): Required<import("../../../../../ui/index.js").QueryState<LoadNoReadNotifications.Model>>;
@@ -37,8 +37,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.useLoadNoReadNotifications = void 0;
40
- var ui_1 = require("../../../../../ui");
41
- var system_1 = require("../../../../../system");
40
+ var ui_1 = require("../../../../../ui/index.js");
41
+ var system_1 = require("../../../../../system/index.js");
42
42
  function useLoadNoReadNotifications() {
43
43
  function fetcher() {
44
44
  return __awaiter(this, void 0, void 0, function () {
@@ -57,4 +57,4 @@ function useLoadNoReadNotifications() {
57
57
  return response;
58
58
  }
59
59
  exports.useLoadNoReadNotifications = useLoadNoReadNotifications;
60
- //# sourceMappingURL=index.js.mapngURL=index.js.map
60
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { TableActionDelete } from '../../../../../../../../../system/index.js';
1
+ import { TableActionDelete } from '../../../../../../../../../system';
2
2
  export declare function ActionDelete<T>({ action, table }: {
3
3
  action: TableActionDelete<T>;
4
4
  table: any;
@@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ActionDelete = void 0;
40
40
  var jsx_runtime_1 = require("react/jsx-runtime");
41
41
  var react_1 = require("react");
42
- var ui_1 = require("../../../../../../../../../ui/index.js");
43
- var system_1 = require("../../../../../../../../../system/index.js");
42
+ var ui_1 = require("../../../../../../../../../ui");
43
+ var system_1 = require("../../../../../../../../../system");
44
44
  function ActionDelete(_a) {
45
45
  var _b, _c;
46
46
  var action = _a.action, table = _a.table;
@@ -1,4 +1,4 @@
1
- import { ActionsTable } from '../../../interfaces.js';
1
+ import { ActionsTable } from '../../../interfaces';
2
2
  export declare function Actions({ actions, table }: {
3
3
  actions: ActionsTable;
4
4
  table: any;
@@ -77,10 +77,10 @@ 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/index.js");
81
- var delete_1 = require("./delete/index.js");
82
- var S = __importStar(require("./styles.js"));
83
- var context_1 = require("../../../../../../../../system/presentation/context/index.js");
80
+ var ui_1 = require("../../../../../../../../ui");
81
+ var delete_1 = require("./delete");
82
+ var S = __importStar(require("./styles"));
83
+ var context_1 = require("../../../../../../../../system/presentation/context");
84
84
  function Actions(_a) {
85
85
  var _this = this;
86
86
  var _b, _c, _d;
@@ -1,2 +1,2 @@
1
- import { ITableProps } from '../interfaces.js';
1
+ import { ITableProps } from '../interfaces';
2
2
  export declare function ActiveFilters({ configs, tableInformations }: ITableProps): import("react/jsx-runtime").JSX.Element;
@@ -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/index.js");
39
- var S = __importStar(require("./styles.js"));
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;
@@ -1,4 +1,4 @@
1
- import { ActionsTable } from '../../../interfaces.js';
1
+ import { ActionsTable } from '../../../interfaces';
2
2
  export declare function CreateAction({ actions }: {
3
3
  actions: ActionsTable;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -41,9 +41,9 @@ 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/index.js");
45
- var system_1 = require("../../../../../../../../system/index.js");
46
- var S = __importStar(require("./styles.js"));
44
+ var ui_1 = require("../../../../../../../../ui");
45
+ var system_1 = require("../../../../../../../../system");
46
+ var S = __importStar(require("./styles"));
47
47
  function CreateAction(_a) {
48
48
  var _b, _c, _d, _e;
49
49
  var actions = _a.actions;
@@ -1,4 +1,4 @@
1
- import { ExportTable } from '../../../../../../../../system/domain/index.js';
1
+ import { ExportTable } from '../../../../../../../../system/domain';
2
2
  export declare function Export({ exports }: {
3
3
  exports: ExportTable[];
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -25,8 +25,8 @@ 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/index.js");
29
- var S = __importStar(require("./styles.js"));
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"] }) }));
@@ -1,2 +1,2 @@
1
- import { ITableProps } from '../interfaces.js';
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/index.js");
86
- var ui_1 = require("../../../../../../../../ui/index.js");
87
- var S = __importStar(require("./styles.js"));
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 _b;
90
90
  var configs = _a.configs, tableInformations = _a.tableInformations;
@@ -1,2 +1,2 @@
1
- import { ITableProps } from './interfaces.js';
1
+ import { ITableProps } from './interfaces';
2
2
  export declare function Table(props: ITableProps): import("react/jsx-runtime").JSX.Element;
@@ -38,16 +38,16 @@ exports.Table = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
39
  var react_1 = require("react");
40
40
  var router_1 = require("next/router");
41
- var ui_1 = require("../../../../../../../ui/index.js");
42
- var export_1 = require("./export/index.js");
43
- var actions_1 = require("./actions/index.js");
44
- var filters_1 = require("./filters/index.js");
45
- var create_1 = require("./create/index.js");
46
- var thead_item_1 = require("./thead-item/index.js");
47
- var pagination_1 = require("./pagination/index.js");
48
- var skeleton_table_1 = require("./skeleton-table/index.js");
49
- var active_filters_1 = require("./active-filters/index.js");
50
- var S = __importStar(require("./styles.js"));
41
+ var ui_1 = require("../../../../../../../ui");
42
+ var export_1 = require("./export");
43
+ var actions_1 = require("./actions");
44
+ var filters_1 = require("./filters");
45
+ var create_1 = require("./create");
46
+ var thead_item_1 = require("./thead-item");
47
+ var pagination_1 = require("./pagination");
48
+ var skeleton_table_1 = require("./skeleton-table");
49
+ var active_filters_1 = require("./active-filters");
50
+ var S = __importStar(require("./styles"));
51
51
  function Table(props) {
52
52
  var _a, _b, _c, _d;
53
53
  var configs = props.configs, isFetching = props.isFetching, columnsConfiguration = props.columnsConfiguration, tableInformations = props.tableInformations;
@@ -102,4 +102,4 @@ function Table(props) {
102
102
  })), loadingTable && ((0, jsx_runtime_1.jsxs)("tr", { style: { height: 0 }, children: [columnsConfiguration.columns.map(function (c, index) { return ((0, jsx_runtime_1.jsx)("td", { children: (0, jsx_runtime_1.jsx)("div", { style: { width: c.width + 'px' } }) }, index)); }), columnsConfiguration.actions && ((0, jsx_runtime_1.jsx)("td", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' } }) }))] }))] })] }), !loadingTable && (tableData === null || tableData === void 0 ? void 0 : tableData.length) === 0 && ((0, jsx_runtime_1.jsxs)("div", { className: 'error_table', children: [(0, jsx_runtime_1.jsxs)("svg", { xmlns: 'http://www.w3.org/2000/svg', width: '60', height: '60', viewBox: '0 0 60 60', fill: 'none', children: [(0, jsx_runtime_1.jsx)("path", { d: 'M49.8 18.3301H24.02C23.05 18.3301 22.26 19.1201 22.26 20.0901C22.26 21.0601 23.05 21.8501 24.02 21.8501H49.8C50.77 21.8501 51.56 21.0601 51.56 20.0901C51.56 19.1201 50.77 18.3301 49.8 18.3301Z', fill: '#828282' }), (0, jsx_runtime_1.jsx)("path", { d: 'M19.85 47.7001C20.19 48.0401 20.64 48.2101 21.09 48.2101C21.54 48.2101 21.99 48.0401 22.33 47.7001C23.02 47.0101 23.02 45.9001 22.33 45.2101L18.3 41.1801L22.33 37.1501C23.02 36.4601 23.02 35.3501 22.33 34.6601C21.64 33.9701 20.53 33.9701 19.84 34.6601L15.81 38.6901L11.78 34.6601C11.09 33.9701 9.97996 33.9701 9.28996 34.6601C8.59996 35.3501 8.59996 36.4601 9.28996 37.1501L13.32 41.1801L9.28996 45.2101C8.59996 45.9001 8.59996 47.0101 9.28996 47.7001C9.62996 48.0401 10.08 48.2101 10.53 48.2101C10.98 48.2101 11.43 48.0401 11.77 47.7001L15.8 43.6701L19.83 47.7001H19.85Z', fill: '#828282' }), (0, jsx_runtime_1.jsx)("path", { d: 'M59.75 9.29004C59.75 6.38004 57.39 4.01004 54.48 4.01004H19.34C16.43 4.00004 14.07 6.36004 14.07 9.27004V25.45C6.17001 26.33 0.0100098 33.04 0.0100098 41.17C0.0100098 49.89 7.11001 56.99 15.83 56.99H54.5C57.41 56.99 59.77 54.62 59.77 51.72V9.29004H59.75ZM15.82 53.48C9.04001 53.48 3.52001 47.96 3.52001 41.18C3.52001 34.4 9.04001 28.88 15.82 28.88C22.6 28.88 28.12 34.4 28.12 41.18C28.12 47.96 22.6 53.48 15.82 53.48ZM54.49 53.48H25.75C28.91 50.92 31.07 47.18 31.54 42.93H49.8C50.77 42.93 51.56 42.14 51.56 41.17C51.56 40.2 50.77 39.41 49.8 39.41H31.54C31.25 36.83 30.34 34.43 28.97 32.38H49.81C50.78 32.38 51.57 31.59 51.57 30.62C51.57 29.65 50.78 28.86 49.81 28.86H25.76C23.47 27.01 20.66 25.78 17.59 25.44V9.27004C17.59 8.30004 18.38 7.51004 19.35 7.51004H54.49C55.46 7.52004 56.25 8.31004 56.25 9.28004V51.72C56.26 52.69 55.48 53.48 54.51 53.48H54.49Z', fill: '#828282' })] }), (0, jsx_runtime_1.jsx)("h3", { children: configs === null || configs === void 0 ? void 0 : configs.errorMessage })] })), loadingTable && (0, jsx_runtime_1.jsx)(skeleton_table_1.SkeletonTable, {})] }) }), !(configs === null || configs === void 0 ? void 0 : configs.disablePagination) && pagination && ((0, jsx_runtime_1.jsxs)(S.TableBottom, { className: 'table-bottom', children: [pagination && ((0, jsx_runtime_1.jsxs)("span", { children: ["Mostrando", ' ', (0, jsx_runtime_1.jsx)("strong", { children: pagination.pageSize > pagination.totalItems ? pagination.totalItems : pagination === null || pagination === void 0 ? void 0 : pagination.pageSize }), ' ', "de ", (0, jsx_runtime_1.jsx)("strong", { children: pagination === null || pagination === void 0 ? void 0 : pagination.totalItems }), " resultados"] })), pagination && (0, jsx_runtime_1.jsx)(pagination_1.PaginationTable, __assign({}, pagination))] }))] }));
103
103
  }
104
104
  exports.Table = Table;
105
- //# sourceMapp
105
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { List, Pagination, TableConfiguration } from '../../../../../../../system/index.js';
2
- import { IUseTableProps } from '../../interfaces.js';
1
+ import { List, Pagination, TableConfiguration } from '../../../../../../../system';
2
+ import { IUseTableProps } from '../../interfaces';
3
3
  type colunm = keyof any;
4
4
  interface IShowHiden {
5
5
  text: string;
@@ -11,4 +11,4 @@ type ITableProps = {
11
11
  isFetching: boolean;
12
12
  tableInformations?: TableConfiguration & List<any> & Pagination;
13
13
  } & IUseTableProps;
14
- export type { ITablePr
14
+ export type { ITableProps, IShowHiden };
@@ -1,2 +1,2 @@
1
- import { PaginationModel } from '../../../../../../../../system/index.js';
1
+ import { PaginationModel } from '../../../../../../../../system';
2
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/index.js");
30
- var service_1 = require("./service.js");
31
- var S = __importStar(require("./styles.js"));
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)();
@@ -25,8 +25,8 @@ 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/index.js");
29
- var S = __importStar(require("./styles.js"));
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
  }
@@ -1,2 +1,2 @@
1
- import { ITHeadItemProps } from './interfaces.js';
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/index.js");
30
- var S = __importStar(require("./styles.js"));
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)();
@@ -1,4 +1,4 @@
1
- import { Column } from "../../../interfaces.js";
1
+ import { Column } from "../../../interfaces";
2
2
  export interface ITHeadItemProps {
3
3
  index: number;
4
4
  colunm: Column;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { Filter, PaginationModel } from '../../../../../system';
3
- import { IconsNames, DynamicFormHandlerProps, QueryOptions } from '../../../../../ui';
2
+ import { Filter, PaginationModel } from '../../../../../system/index.js';
3
+ import { IconsNames, DynamicFormHandlerProps, QueryOptions } from '../../../../../ui/index.js';
4
4
  interface Column<T = any> {
5
5
  id: keyof T;
6
6
  label: string;
@@ -91,4 +91,3 @@ interface IUseTableProps<T = any, M = any> {
91
91
  columnsConfiguration: ColumnsConfiguration<T>;
92
92
  }
93
93
  export type { Column, QueryTable, FNComponent, ActionsTable, IParamsTable, IUseTableProps, TableActionEdit, TableActionCreate, TableActionDelete, IConfigurationsTable, ColumnsConfiguration, };
94
- Configuration, };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //@ts-nocheck
4
- var utils_1 = require("../../../shared/utils.js");
5
- var window_1 = require("../../../ssr-window/window.js");
4
+ var utils_1 = require("../../../shared/utils");
5
+ var window_1 = require("../../../ssr-window/window");
6
6
  function Observer(_a) {
7
7
  var swiper = _a.swiper, extendParams = _a.extendParams, on = _a.on, emit = _a.emit;
8
8
  var observers = [];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  //@ts-nocheck
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- var window_1 = require("../../../ssr-window/window.js");
4
+ var window_1 = require("../../../ssr-window/window");
5
5
  function Resize(_a) {
6
6
  var swiper = _a.swiper, on = _a.on, emit = _a.emit;
7
7
  var window = (0, window_1.getWindow)();
@@ -1,81 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var utils_1 = require("../../shared/utils.js");
4
- function translateTo(translate, speed, runCallbacks, translateBounds, internal) {
5
- var _a;
6
- if (translate === void 0) { translate = 0; }
7
- if (speed === void 0) { speed = this.params.speed; }
8
- if (runCallbacks === void 0) { runCallbacks = true; }
9
- if (translateBounds === void 0) { translateBounds = true; }
10
- var swiper = this;
11
- var params = swiper.params, wrapperEl = swiper.wrapperEl;
12
- if (swiper.animating && params.preventInteractionOnTransition) {
13
- return false;
14
- }
15
- var minTranslate = swiper.minTranslate();
16
- var maxTranslate = swiper.maxTranslate();
17
- var newTranslate;
18
- if (translateBounds && translate > minTranslate)
19
- newTranslate = minTranslate;
20
- else if (translateBounds && translate < maxTranslate)
21
- newTranslate = maxTranslate;
22
- else
23
- newTranslate = translate;
24
- // Update progress
25
- swiper.updateProgress(newTranslate);
26
- if (params.cssMode) {
27
- var isH = swiper.isHorizontal();
28
- if (speed === 0) {
29
- wrapperEl[isH ? 'scrollLeft' : 'scrollTop'] = -newTranslate;
30
- }
31
- else {
32
- if (!swiper.support.smoothScroll) {
33
- (0, utils_1.animateCSSModeScroll)({ swiper: swiper, targetPosition: -newTranslate, side: isH ? 'left' : 'top' });
34
- return true;
35
- }
36
- wrapperEl.scrollTo((_a = {},
37
- _a[isH ? 'left' : 'top'] = -newTranslate,
38
- _a.behavior = 'smooth',
39
- _a));
40
- }
41
- return true;
42
- }
43
- if (speed === 0) {
44
- swiper.setTransition(0);
45
- swiper.setTranslate(newTranslate);
46
- if (runCallbacks) {
47
- swiper.emit('beforeTransitionStart', speed, internal);
48
- swiper.emit('transitionEnd');
49
- }
50
- }
51
- else {
52
- swiper.setTransition(speed);
53
- swiper.setTranslate(newTranslate);
54
- if (runCallbacks) {
55
- swiper.emit('beforeTransitionStart', speed, internal);
56
- swiper.emit('transitionStart');
57
- }
58
- if (!swiper.animating) {
59
- swiper.animating = true;
60
- if (!swiper.onTranslateToWrapperTransitionEnd) {
61
- swiper.onTranslateToWrapperTransitionEnd = function transitionEnd(e) {
62
- if (!swiper || swiper.destroyed)
63
- return;
64
- if (e.target !== this)
65
- return;
66
- swiper.wrapperEl.removeEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);
67
- swiper.onTranslateToWrapperTransitionEnd = null;
68
- delete swiper.onTranslateToWrapperTransitionEnd;
69
- swiper.animating = false;
70
- if (runCallbacks) {
71
- swiper.emit('transitionEnd');
72
- }
73
- };
74
- }
75
- swiper.wrapperEl.addEventListener('transitionend', swiper.onTranslateToWrapperTransitionEnd);
76
- }
77
- }
78
- return true;
79
- }
80
- exports.default = translateTo;
81
- //# sourceMappingURL=translateTo.js.map
@@ -1,21 +0,0 @@
1
- import updateSize from './updateSize.js';
2
- import updateSlides from './updateSlides.js';
3
- import updateAutoHeight from './updateAutoHeight.js';
4
- import updateSlidesOffset from './updateSlidesOffset.js';
5
- import updateSlidesProgress from './updateSlidesProgress.js';
6
- import updateProgress from './updateProgress.js';
7
- import updateSlidesClasses from './updateSlidesClasses.js';
8
- import updateActiveIndex from './updateActiveIndex.js';
9
- import updateClickedSlide from './updateClickedSlide.js';
10
- declare const _default: {
11
- updateSize: typeof updateSize;
12
- updateSlides: typeof updateSlides;
13
- updateAutoHeight: typeof updateAutoHeight;
14
- updateSlidesOffset: typeof updateSlidesOffset;
15
- updateSlidesProgress: typeof updateSlidesProgress;
16
- updateProgress: typeof updateProgress;
17
- updateSlidesClasses: typeof updateSlidesClasses;
18
- updateActiveIndex: typeof updateActiveIndex;
19
- updateClickedSlide: typeof updateClickedSlide;
20
- };
21
- export default _default;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- var updateSize_1 = __importDefault(require("./updateSize.js"));
7
- var updateSlides_1 = __importDefault(require("./updateSlides.js"));
8
- var updateAutoHeight_1 = __importDefault(require("./updateAutoHeight.js"));
9
- var updateSlidesOffset_1 = __importDefault(require("./updateSlidesOffset.js"));
10
- var updateSlidesProgress_1 = __importDefault(require("./updateSlidesProgress.js"));
11
- var updateProgress_1 = __importDefault(require("./updateProgress.js"));
12
- var updateSlidesClasses_1 = __importDefault(require("./updateSlidesClasses.js"));
13
- var updateActiveIndex_1 = __importDefault(require("./updateActiveIndex.js"));
14
- var updateClickedSlide_1 = __importDefault(require("./updateClickedSlide.js"));
15
- exports.default = {
16
- updateSize: updateSize_1.default,
17
- updateSlides: updateSlides_1.default,
18
- updateAutoHeight: updateAutoHeight_1.default,
19
- updateSlidesOffset: updateSlidesOffset_1.default,
20
- updateSlidesProgress: updateSlidesProgress_1.default,
21
- updateProgress: updateProgress_1.default,
22
- updateSlidesClasses: updateSlidesClasses_1.default,
23
- updateActiveIndex: updateActiveIndex_1.default,
24
- updateClickedSlide: updateClickedSlide_1.default,
25
- };
26
- //# sourceMappingURL=index.js.map
@@ -1,125 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getActiveIndexByTranslate = void 0;
4
- var process_lazy_preloader_1 = require("../../shared/process-lazy-preloader.js");
5
- function getActiveIndexByTranslate(swiper) {
6
- var slidesGrid = swiper.slidesGrid, params = swiper.params;
7
- var translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;
8
- var activeIndex;
9
- for (var i = 0; i < slidesGrid.length; i += 1) {
10
- if (typeof slidesGrid[i + 1] !== 'undefined') {
11
- if (translate >= slidesGrid[i] &&
12
- translate < slidesGrid[i + 1] - (slidesGrid[i + 1] - slidesGrid[i]) / 2) {
13
- activeIndex = i;
14
- }
15
- else if (translate >= slidesGrid[i] && translate < slidesGrid[i + 1]) {
16
- activeIndex = i + 1;
17
- }
18
- }
19
- else if (translate >= slidesGrid[i]) {
20
- activeIndex = i;
21
- }
22
- }
23
- // Normalize slideIndex
24
- if (params.normalizeSlideIndex) {
25
- if (activeIndex < 0 || typeof activeIndex === 'undefined')
26
- activeIndex = 0;
27
- }
28
- return activeIndex;
29
- }
30
- exports.getActiveIndexByTranslate = getActiveIndexByTranslate;
31
- function updateActiveIndex(newActiveIndex) {
32
- var swiper = this;
33
- var translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate;
34
- var snapGrid = swiper.snapGrid, params = swiper.params, previousIndex = swiper.activeIndex, previousRealIndex = swiper.realIndex, previousSnapIndex = swiper.snapIndex;
35
- var activeIndex = newActiveIndex;
36
- var snapIndex;
37
- var getVirtualRealIndex = function (aIndex) {
38
- var realIndex = aIndex - swiper.virtual.slidesBefore;
39
- if (realIndex < 0) {
40
- realIndex = swiper.virtual.slides.length + realIndex;
41
- }
42
- if (realIndex >= swiper.virtual.slides.length) {
43
- realIndex -= swiper.virtual.slides.length;
44
- }
45
- return realIndex;
46
- };
47
- if (typeof activeIndex === 'undefined') {
48
- activeIndex = getActiveIndexByTranslate(swiper);
49
- }
50
- if (snapGrid.indexOf(translate) >= 0) {
51
- snapIndex = snapGrid.indexOf(translate);
52
- }
53
- else {
54
- var skip = Math.min(params.slidesPerGroupSkip, activeIndex);
55
- snapIndex = skip + Math.floor((activeIndex - skip) / params.slidesPerGroup);
56
- }
57
- if (snapIndex >= snapGrid.length)
58
- snapIndex = snapGrid.length - 1;
59
- if (activeIndex === previousIndex && !swiper.params.loop) {
60
- if (snapIndex !== previousSnapIndex) {
61
- swiper.snapIndex = snapIndex;
62
- swiper.emit('snapIndexChange');
63
- }
64
- return;
65
- }
66
- if (activeIndex === previousIndex &&
67
- swiper.params.loop &&
68
- swiper.virtual &&
69
- swiper.params.virtual.enabled) {
70
- swiper.realIndex = getVirtualRealIndex(activeIndex);
71
- return;
72
- }
73
- var gridEnabled = swiper.grid && params.grid && params.grid.rows > 1;
74
- var normalizeSlideIndexToColumn = function (index) {
75
- if (!gridEnabled)
76
- return index;
77
- return Math.floor(index / params.grid.rows);
78
- };
79
- // Get real index
80
- var realIndex;
81
- if (swiper.virtual && params.virtual.enabled && params.loop) {
82
- realIndex = getVirtualRealIndex(activeIndex);
83
- }
84
- else if (gridEnabled) {
85
- var firstSlideInColumn = swiper.slides.filter(function (slideEl) { return slideEl.column === activeIndex; })[0];
86
- var activeSlideIndex = parseInt(firstSlideInColumn.getAttribute('data-swiper-slide-index'), 10);
87
- if (Number.isNaN(activeSlideIndex)) {
88
- activeSlideIndex = Math.max(swiper.slides.indexOf(firstSlideInColumn), 0);
89
- }
90
- realIndex = Math.floor(activeSlideIndex / params.grid.rows);
91
- }
92
- else if (swiper.slides[activeIndex]) {
93
- var slideIndex = swiper.slides[activeIndex].getAttribute('data-swiper-slide-index');
94
- if (slideIndex) {
95
- realIndex = parseInt(slideIndex, 10);
96
- }
97
- else {
98
- realIndex = activeIndex;
99
- }
100
- }
101
- else {
102
- realIndex = activeIndex;
103
- }
104
- Object.assign(swiper, {
105
- previousSnapIndex: previousSnapIndex,
106
- snapIndex: snapIndex,
107
- previousRealIndex: previousRealIndex,
108
- realIndex: realIndex,
109
- previousIndex: previousIndex,
110
- activeIndex: activeIndex,
111
- });
112
- if (swiper.initialized) {
113
- (0, process_lazy_preloader_1.preload)(swiper);
114
- }
115
- swiper.emit('activeIndexChange');
116
- swiper.emit('snapIndexChange');
117
- if (swiper.initialized || swiper.params.runCallbacksOnInit) {
118
- if (previousRealIndex !== realIndex) {
119
- swiper.emit('realIndexChange');
120
- }
121
- swiper.emit('slideChange');
122
- }
123
- }
124
- exports.default = updateActiveIndex;
125
- //# sourceMappingURL=updateActiveIndex.js.map
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //@ts-nocheck
4
- var utils_1 = require("../../shared/utils.js");
5
- function updateSize() {
6
- var swiper = this;
7
- var width;
8
- var height;
9
- var el = swiper.el;
10
- if (typeof swiper.params.width !== 'undefined' && swiper.params.width !== null) {
11
- width = swiper.params.width;
12
- }
13
- else {
14
- width = el.clientWidth;
15
- }
16
- if (typeof swiper.params.height !== 'undefined' && swiper.params.height !== null) {
17
- height = swiper.params.height;
18
- }
19
- else {
20
- height = el.clientHeight;
21
- }
22
- if ((width === 0 && swiper.isHorizontal()) || (height === 0 && swiper.isVertical())) {
23
- return;
24
- }
25
- // Subtract paddings
26
- width =
27
- width -
28
- parseInt((0, utils_1.elementStyle)(el, 'padding-left') || 0, 10) -
29
- parseInt((0, utils_1.elementStyle)(el, 'padding-right') || 0, 10);
30
- height =
31
- height -
32
- parseInt((0, utils_1.elementStyle)(el, 'padding-top') || 0, 10) -
33
- parseInt((0, utils_1.elementStyle)(el, 'padding-bottom') || 0, 10);
34
- if (Number.isNaN(width))
35
- width = 0;
36
- if (Number.isNaN(height))
37
- height = 0;
38
- Object.assign(swiper, {
39
- width: width,
40
- height: height,
41
- size: swiper.isHorizontal() ? width : height,
42
- });
43
- }
44
- exports.default = updateSize;
45
- //# sourceMappingURL=updateSize.js.map