infinity-forge 0.31.2 → 0.31.3

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 (87) hide show
  1. package/dist/sites/components/brands-carousel/styles.d.ts +0 -1
  2. package/dist/sites/components/counter/versions/version-01/box/styles.d.ts +0 -1
  3. package/dist/sites/components/counter/versions/version-01/styles.d.ts +0 -1
  4. package/dist/sites/components/header-link/versions/version-01/styles.d.ts +0 -1
  5. package/dist/sites/components/mvv/versions/version-01/styles.d.ts +0 -1
  6. package/dist/sites/context/configs/interfaces.d.ts +0 -1
  7. package/dist/sites/context/configs/scripts/acept-cookies/styles.d.ts +0 -1
  8. package/dist/sites/context/configs/scripts/acept-ratedr/styles.d.ts +0 -1
  9. package/dist/sites/context/configs/scripts/whatsapp-fixed/styles.d.ts +0 -1
  10. package/dist/system/container/main.d.ts +1 -1
  11. package/dist/system/infra/http/axios-http-client.js +1 -0
  12. package/dist/system/infra/http/axios-http-client.js.map +1 -1
  13. package/dist/system/presentation/components/data/chat/card-message/styles.d.ts +0 -1
  14. package/dist/system/presentation/components/data/chat/loader/styles.d.ts +0 -1
  15. package/dist/system/presentation/components/data/chat/styles.d.ts +0 -1
  16. package/dist/system/presentation/components/data/highlight-text/styles.d.ts +0 -1
  17. package/dist/system/presentation/components/data/input-search/styles.d.ts +0 -1
  18. package/dist/system/presentation/components/data/logo/styles.d.ts +0 -1
  19. package/dist/system/presentation/components/data/overlay/styles.d.ts +0 -1
  20. package/dist/system/presentation/components/data/page-wrapper/styles.d.ts +0 -1
  21. package/dist/system/presentation/components/data/sign-up/styles.d.ts +0 -1
  22. package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.d.ts +0 -1
  23. package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.d.ts +0 -1
  24. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/card/styles.d.ts +0 -1
  25. package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +0 -1
  26. package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.d.ts +0 -1
  27. package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.d.ts +0 -1
  28. package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.d.ts +0 -1
  29. package/dist/system/presentation/components/layout/header/components/menu-right/styles.d.ts +0 -1
  30. package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.d.ts +0 -1
  31. package/dist/system/presentation/components/layout/header/components/search-modal/styles.d.ts +0 -1
  32. package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.d.ts +0 -1
  33. package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +0 -1
  34. package/dist/system/presentation/components/layout/menu/components/menu/styles.d.ts +0 -1
  35. package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +0 -1
  36. package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +0 -1
  37. package/dist/system/presentation/components/layout/styles.d.ts +0 -1
  38. package/dist/system/presentation/components/pages/menus/table/icon/style.d.ts +0 -1
  39. package/dist/system/presentation/context/auth/context.js +3 -0
  40. package/dist/system/presentation/context/auth/context.js.map +1 -1
  41. package/dist/system/presentation/context/auth/login/styles.d.ts +0 -1
  42. package/dist/system/presentation/hooks/menu/use-load-menu.d.ts +1 -1
  43. package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +1 -1
  44. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +3 -1
  45. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js.map +1 -1
  46. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/styles.js +1 -1
  47. package/dist/system/presentation/hooks/ui/use-table/components/table/actions/styles.js.map +1 -1
  48. package/dist/system/presentation/hooks/ui/use-table/components/table/create/styles.d.ts +0 -1
  49. package/dist/system/presentation/hooks/ui/use-table/components/table/export/styles.d.ts +0 -1
  50. package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.d.ts +0 -1
  51. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +9 -5
  52. package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -1
  53. package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/styles.d.ts +0 -1
  54. package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/styles.d.ts +0 -1
  55. package/dist/system/presentation/hooks/ui/use-table/components/table/styles.d.ts +0 -1
  56. package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.d.ts +0 -1
  57. package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +2 -0
  58. package/dist/tsconfig.tsbuildinfo +1 -0
  59. package/dist/ui/components/accordion/styles.d.ts +0 -1
  60. package/dist/ui/components/breadcrumb/styles.d.ts +0 -1
  61. package/dist/ui/components/button/styles.d.ts +0 -1
  62. package/dist/ui/components/form/checkbox/styles.d.ts +0 -1
  63. package/dist/ui/components/form/handler/dynamic_form_handler/component.js +1 -1
  64. package/dist/ui/components/form/handler/dynamic_form_handler/styles.d.ts +0 -1
  65. package/dist/ui/components/form/handler/styles.d.ts +0 -1
  66. package/dist/ui/components/form/input-control/error/styles.d.ts +0 -1
  67. package/dist/ui/components/form/input-control/label/styles.d.ts +0 -1
  68. package/dist/ui/components/form/input-control/loader-input/styles.d.ts +0 -1
  69. package/dist/ui/components/form/input-control/styles.d.ts +0 -1
  70. package/dist/ui/components/form/input-date/styles.d.ts +0 -1
  71. package/dist/ui/components/form/input-file/file-card/styles.d.ts +0 -1
  72. package/dist/ui/components/form/input-file/styles.d.ts +0 -1
  73. package/dist/ui/components/form/input-password/styles.d.ts +0 -1
  74. package/dist/ui/components/form/radio/styles.d.ts +0 -1
  75. package/dist/ui/components/form/select/styles.d.ts +0 -1
  76. package/dist/ui/components/loading-screen/styles.d.ts +0 -1
  77. package/dist/ui/components/menu-mobile/components/nav-links/styles.d.ts +0 -1
  78. package/dist/ui/components/menu-mobile/styles.d.ts +0 -1
  79. package/dist/ui/components/menu-mobile/top/styles.d.ts +0 -1
  80. package/dist/ui/components/next-image/styles.d.ts +0 -1
  81. package/dist/ui/components/sidebar/styles.d.ts +0 -1
  82. package/dist/ui/contexts/toast/styles.d.ts +0 -1
  83. package/dist/ui/contexts/toast/toast-item/styles.d.ts +0 -1
  84. package/dist/ui/utils/file/load-file.js +1 -1
  85. package/dist/ui/utils/file/upload-file.js +5 -5
  86. package/dist/ui/utils/file/upload-file.js.map +1 -1
  87. package/package.json +1 -1
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const BrandsCarousel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Box: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Counter: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const HeaderLink: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const MVV: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react/experimental" />
2
1
  import { ReactNode } from 'react';
3
2
  import { IStyledComponent } from 'styled-components';
4
3
  interface IConfigsSiteContext {
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const AceptCookies: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const AceptCookies: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Whattsapp: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,4 +1,4 @@
1
1
  import 'reflect-metadata';
2
2
  import { Types } from './types.js';
3
- declare const container: import("inversify").interfaces.Container;
3
+ declare const container: import("inversify/lib/interfaces/interfaces").interfaces.Container;
4
4
  export { container, Types };
@@ -91,6 +91,7 @@ var AxiosHttpClient = /** @class */ (function () {
91
91
  })
92
92
  .catch(function (error) {
93
93
  var _a, _b;
94
+ console.log(error);
94
95
  if (!(error === null || error === void 0 ? void 0 : error.response)) {
95
96
  return {
96
97
  status: '500',
@@ -1 +1 @@
1
- {"version":3,"file":"axios-http-client.js","sourceRoot":"","sources":["../../../../src/system/infra/http/axios-http-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAsC;AAEtC,gDAAyB;AAEzB,0CAQwB;AACxB,mGAAgG;AAGhG;IAAA;IAqEA,CAAC;IApEO,iCAAO,GAAb,UAAc,OAAoB;;;;;;wB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AAO,IAAI,EAAA;4BAEb,KAAK,uBAAc,CAAC,SAAS;gCAC3B,sBAAO,IAAI,EAAA;4BAEb,KAAK,uBAAc,CAAC,YAAY;gCAC9B,MAAM,IAAI,0BAAiB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;4BAE3D,KAAK,uBAAc,CAAC,mBAAmB;gCACrC,MAAM,IAAI,wBAAe,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;4BAElD,KAAK,uBAAc,CAAC,QAAQ;gCAC1B,MAAM,IAAI,8BAAa,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAEjE,KAAK,uBAAc,CAAC,UAAU;gCAC5B,MAAM,IAAI,wBAAe,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAEnE,OAAO,CAAC,CAAC,CAAC;gCACR,MAAM,IAAI,wBAAe,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAA;4BAC9E,CAAC;wBACH,CAAC;;;;;KACF;IArEU,eAAe;QAD3B,IAAA,sBAAU,GAAE;OACA,eAAe,CAsE3B;IAAD,sBAAC;CAAA,AAtED,IAsEC;AAtEY,0CAAe"}
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const CardMessage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Skeleton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Chat: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Highlight: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, {
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SearchInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Logo: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  interface IOverlayStyleProps {
4
3
  $state: boolean;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const PageWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SignUp: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Content: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Messages: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const NotificationCard: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Notifications: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Content: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Profile: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Settings: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const MenuRight: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
3
  export declare const ActionBox: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SearchList: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SearchModal: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SearchTrigger: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const HeaderVersion01: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Menu: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
4
3
  export declare const SubMenu: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SelectWorkSpace: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SideBarMenuVersion01: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Layout: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const IconMenu: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -121,6 +121,9 @@ function AuthAdminProvider(_a) {
121
121
  axios_1.default.interceptors.response.use(function (r) { return r; }, function (err) {
122
122
  var _a, _b;
123
123
  if (err instanceof axios_1.AxiosError) {
124
+ if (err.code === 'ERR_NETWORK') {
125
+ signOut();
126
+ }
124
127
  if (((_a = err === null || err === void 0 ? void 0 : err.response) === null || _a === void 0 ? void 0 : _a.status) === 401) {
125
128
  signOut();
126
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/system/presentation/context/auth/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAsE;AAEtE,yCAAoC;AACpC,sCAAuC;AACvC,6CAAyC;AAEzC,mCASiB;AAIjB,IAAM,WAAW,GAAG,IAAA,qBAAa,EAAC,EAAsB,CAAC,CAAA;AAEzD,SAAS,iBAAiB,CAAC,EAA8E;QAA5E,QAAQ,cAAA,EAAE,SAAS,eAAA;IACxC,IAAA,KAAkB,IAAA,gBAAQ,EAA+B,SAAS,CAAC,EAAlE,IAAI,QAAA,EAAE,OAAO,QAAqD,CAAA;IAEzE,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,SAAe,QAAQ;;;;;;;wBAEN,qBAAM,kBAAS,CAAC,GAAG,CAAsB,cAAK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AC,IAAI,KAAK,aAAa,EAAE,CAAC;oBAC/B,OAAO,EAAE,CAAA;gBACX,CAAC;gBAED,IAAI,CAAA,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,QAAQ,0CAAE,MAAM,MAAK,GAAG,EAAE,CAAC;oBAClC,OAAO,EAAE,CAAA;gBACX,CAAC;gBAED,IAAI,CAAA,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,QAAQ,0CAAE,MAAM,MAAK,GAAG,EAAE,CAAC;oBAClC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;gBACrB,CAAC;YACH,CAAC;YAED,MAAM,GAAG,CAAA;QACX,CAAC,CACF,CAAA;IACH,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,OAAO,uBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IAAI,MAAA,EAAE,MAAM,QAAA,EAAE,OAAO,SAAA,EAAE,OAAO,SAAA,EAAE,YAAG,QAAQ,GAAwB,CAAA;AAC3G,CAAC;AAWQ,8CAAiB;AAT1B,SAAS,YAAY;IACnB,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,WAAW,CAAC,CAAA;IAEvC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;IACtE,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC;AAE2B,oCAAY"}
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Login: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,4 +1,4 @@
1
- export declare function useLoadMenu(): import("swr").SWRResponse<import("../../../../system/index.js").LoadAllMenu.Model, any, {
1
+ export declare function useLoadMenu(): import("swr/dist/_internal").SWRResponse<import("../../../../system/index.js").LoadAllMenu.Model, any, {
2
2
  revalidateIfStale: false;
3
3
  revalidateOnFocus: false;
4
4
  revalidateOnReconnect: false;
@@ -1,2 +1,2 @@
1
1
  import { LoadNoReadNotifications } from '../../../../../system/domain/index.js';
2
- export declare function useLoadNoReadNotifications(): import("swr").SWRResponse<LoadNoReadNotifications.Model, any, any>;
2
+ export declare function useLoadNoReadNotifications(): import("swr/dist/_internal").SWRResponse<LoadNoReadNotifications.Model, any, any>;
@@ -101,7 +101,9 @@ function Actions(_a) {
101
101
  return ((0, jsx_runtime_1.jsx)(S.Actions, { children: (0, jsx_runtime_1.jsxs)("div", { children: [actions.edit &&
102
102
  (((_b = actions.edit) === null || _b === void 0 ? void 0 : _b.link) ? ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Editar', trigger: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'action-button', href: actions.edit.link.href(table), children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEdit' }) }) })) : ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Modal, { open: openEdit, onClose: function () { return setOpenEdit(false); }, style: { maxWidth: 512, borderRadius: 5 }, trigger: (0, jsx_runtime_1.jsx)("span", { className: 'action-button', children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Editar', trigger: (0, jsx_runtime_1.jsx)("button", { type: 'button', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEdit' }) }) }) }), content: openEdit && (0, jsx_runtime_1.jsx)(ui_1.DynamicFormHandler, __assign({}, payload, { onSucess: onSuccessEdit })), onOpen: function () {
103
103
  setOpenEdit(true);
104
- } }))), actions.detail && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Detalhe', trigger: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'action-button', href: actions.detail(table), children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEye' }) }) })), actions.delete && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Excluir', trigger: (0, jsx_runtime_1.jsx)("button", { className: 'action-button', onClick: function () { return actions.delete(table); }, type: 'button', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconDelete' }) }) }))] }) }));
104
+ } }))), actions.detail && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Detalhe', trigger: (0, jsx_runtime_1.jsx)(link_1.default, { className: 'action-button', href: actions.detail(table), children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconEye' }) }) })), actions.delete && ((0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { content: 'Excluir', trigger: (0, jsx_runtime_1.jsx)("button", { className: 'action-button', onClick: function () { return actions.delete(table); }, type: 'button', children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconDelete' }) }) })), actions.custom &&
105
+ actions.custom.length > 0 &&
106
+ 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)); })] }) }));
105
107
  }
106
108
  exports.Actions = Actions;
107
109
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/actions/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAChC,mDAA4B;AAE5B,uDAAgD;AAEhD,2BAA+C;AAI/C,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAyD;;QAAvD,OAAO,aAAA,EAAE,KAAK,WAAA;IAChC,IAAA,KAA0B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAxC,QAAQ,QAAA,EAAE,WAAW,QAAmB,CAAA;IA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N,WAAW,CAAC,IAAI,CAAC,CAAA;wBACnB,CAAC,GACD,CACH,CAAC,EAEH,OAAO,CAAC,MAAM,IAAI,CACjB,uBAAC,yBAAK,IACJ,OAAO,EAAC,SAAS,EACjB,OAAO,EACL,uBAAC,cAAI,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,YACzD,uBAAC,SAAI,IAAC,IAAI,EAAC,SAAS,GAAG,GAClB,GAET,CACH,EAEA,OAAO,CAAC,MAAM,IAAI,CACjB,uBAAC,yBAAK,IACJ,OAAO,EAAC,SAAS,EACjB,OAAO,EACL,mCAAQ,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAArB,CAAqB,EAAE,IAAI,EAAC,QAAQ,YACnF,uBAAC,SAAI,IAAC,IAAI,EAAC,YAAY,GAAG,GACnB,GAEX,CACH,IACG,GACI,CACb,CAAA;AACH,CAAC;AA3ED,0BA2EC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/actions/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAAgC;AAChC,mDAA4B;AAE5B,uDAAgD;AAEhD,2BAA+C;AAI/C,0CAA6B;AAE7B,SAAgB,OAAO,CAAC,EAAyD;;QAAvD,OAAO,aAAA,EAAE,KAAK,WAAA;IAChC,IAAA,KAA0B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAxC,QAAQ,QAAA,EAAE,WAAW,QAAmB,CAAA;IAE/C,SAAe,aAAa,CAAC,IAAI;;;;4BAC/B,qBAAM,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,EAAA;;wBAAnD,SAAmD,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AO,EACL,uBAAC,cAAI,IAAC,SAAS,EAAC,eAAe,EAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,YACzD,uBAAC,SAAI,IAAC,IAAI,EAAC,SAAS,GAAG,GAClB,GAET,CACH,EAEA,OAAO,CAAC,MAAM,IAAI,CACjB,uBAAC,yBAAK,IACJ,OAAO,EAAC,SAAS,EACjB,OAAO,EACL,mCAAQ,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,cAAM,OAAA,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAArB,CAAqB,EAAE,IAAI,EAAC,QAAQ,YACnF,uBAAC,SAAI,IAAC,IAAI,EAAC,YAAY,GAAG,GACnB,GAEX,CACH,EAEA,OAAO,CAAC,MAAM;oBACb,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;oBACzB,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,UAAC,SAAS,EAAE,KAAK,IAAK,OAAA,CACvC,0CACE,uBAAC,SAAS,eAAK,KAAK,EAAI,IADhB,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC,IAAI,CAErC,CACP,EAJwC,CAIxC,CAAC,IACA,GACI,CACb,CAAA;AACH,CAAC;AAnFD,0BAmFC"}
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.Actions = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
- exports.Actions = (0, styled_components_1.default)('td')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n\n > div {\n display: flex;\n align-content: center;\n justify-content: flex-end;\n\n .action-button + .action-button {\n margin-left: 10px;\n }\n }\n\n .action-button {\n border: 0;\n padding: 0;\n background: #e1e1e1;\n color: #828282;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 5px;\n padding: 8px;\n cursor: pointer;\n\n button {\n background-color: transparent;\n border: 0;\n padding: 0;\n width: 100%;\n color: currentColor;\n }\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n\n & + & {\n margin-left: 10px;\n }\n }\n"], ["\n width: 100%;\n\n > div {\n display: flex;\n align-content: center;\n justify-content: flex-end;\n\n .action-button + .action-button {\n margin-left: 10px;\n }\n }\n\n .action-button {\n border: 0;\n padding: 0;\n background: #e1e1e1;\n color: #828282;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 5px;\n padding: 8px;\n cursor: pointer;\n\n button {\n background-color: transparent;\n border: 0;\n padding: 0;\n width: 100%;\n color: currentColor;\n }\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n\n & + & {\n margin-left: 10px;\n }\n }\n"])));
12
+ exports.Actions = (0, styled_components_1.default)('td')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n > div {\n display: flex;\n align-content: center;\n justify-content: flex-start;\n\n .action-button + .action-button {\n margin-left: 10px;\n }\n }\n\n .action-button {\n border: 0;\n padding: 0;\n background: #e1e1e1;\n color: #828282;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 5px;\n padding: 8px;\n cursor: pointer;\n\n button {\n background-color: transparent;\n border: 0;\n padding: 0;\n width: 100%;\n color: currentColor;\n }\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n\n & + & {\n margin-left: 10px;\n }\n }\n"], ["\n > div {\n display: flex;\n align-content: center;\n justify-content: flex-start;\n\n .action-button + .action-button {\n margin-left: 10px;\n }\n }\n\n .action-button {\n border: 0;\n padding: 0;\n background: #e1e1e1;\n color: #828282;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 5px;\n padding: 8px;\n cursor: pointer;\n\n button {\n background-color: transparent;\n border: 0;\n padding: 0;\n width: 100%;\n color: currentColor;\n }\n\n svg {\n width: 100%;\n height: auto;\n fill: currentColor;\n }\n\n & + & {\n margin-left: 10px;\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/hooks/ui/use-table/components/table/actions/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,IAAA,2BAAM,EAAC,IAAI,CAAC,2zBAAA,wvBA6ClC,KAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/actions/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAsC;AAEzB,QAAA,OAAO,GAAG,IAAA,2BAAM,EAAC,IAAI,CAAC,2yBAAA,wuBA2ClC,KAAA"}
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Create: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Export: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Filters: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.Table = void 0;
38
38
  var jsx_runtime_1 = require("react/jsx-runtime");
39
+ var react_1 = require("react");
39
40
  var router_1 = require("next/router");
40
41
  var ui_1 = require("../../../../../../../ui/index.js");
41
42
  var export_1 = require("./export/index.js");
@@ -64,14 +65,15 @@ function Table(_a) {
64
65
  : null
65
66
  : null;
66
67
  var tableData = tableFilered || tableItems || [];
67
- return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'table-component', children: [(0, jsx_runtime_1.jsxs)(S.TopActions, { className: 'top-actions', children: [(tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.filters) ? (0, jsx_runtime_1.jsx)(filters_1.Filters, { filters: tableInformations.filters }) : (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) && ((_d = tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) === null || _d === void 0 ? void 0 : _d.length) > 0 && ((0, jsx_runtime_1.jsx)(export_1.Export, { exports: tableInformations.exports })), (columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions) && (0, jsx_runtime_1.jsx)(create_1.CreateAction, { actions: columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions })] })] }), (0, jsx_runtime_1.jsx)(S.Table, { children: (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [(_e = columnsConfiguration.columns) === null || _e === void 0 ? void 0 : _e.map(function (colunm, index) {
68
+ var tableRef = (0, react_1.useRef)(null);
69
+ return ((0, jsx_runtime_1.jsxs)(ui_1.Error, { name: 'table-component', children: [(0, jsx_runtime_1.jsxs)(S.TopActions, { className: 'top-actions', children: [(tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.filters) ? (0, jsx_runtime_1.jsx)(filters_1.Filters, { filters: tableInformations.filters }) : (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsxs)("div", { className: 'right', children: [(tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) && ((_d = tableInformations === null || tableInformations === void 0 ? void 0 : tableInformations.exports) === null || _d === void 0 ? void 0 : _d.length) > 0 && ((0, jsx_runtime_1.jsx)(export_1.Export, { exports: tableInformations.exports })), (columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions) && (0, jsx_runtime_1.jsx)(create_1.CreateAction, { actions: columnsConfiguration === null || columnsConfiguration === void 0 ? void 0 : columnsConfiguration.actions })] })] }), (0, jsx_runtime_1.jsx)(S.Table, { children: (0, jsx_runtime_1.jsxs)("div", { ref: tableRef, children: [(0, jsx_runtime_1.jsxs)("table", { children: [(0, jsx_runtime_1.jsx)("thead", { children: (0, jsx_runtime_1.jsxs)("tr", { children: [columnsConfiguration.actions && (0, jsx_runtime_1.jsx)("th", { style: { width: '100px' } }), (_e = columnsConfiguration.columns) === null || _e === void 0 ? void 0 : _e.map(function (colunm, index) {
68
70
  return ((0, jsx_runtime_1.jsx)(thead_item_1.THeadItem, { index: index, colunm: colunm, disableOrdenationTable: configs === null || configs === void 0 ? void 0 : configs.disableOrdenationTable }, colunm.id + index));
69
- }), columnsConfiguration.actions && (0, jsx_runtime_1.jsx)("th", { style: { width: '100px' } })] }) }), (0, jsx_runtime_1.jsxs)("tbody", { children: [!loadingTable &&
71
+ })] }) }), (0, jsx_runtime_1.jsxs)("tbody", { children: [!loadingTable &&
70
72
  tableItems &&
71
73
  (tableItems === null || tableItems === void 0 ? void 0 : tableItems.length) !== 0 &&
72
74
  (tableData === null || tableData === void 0 ? void 0 : tableData.map(function (table, index) {
73
75
  var _a;
74
- return ((0, jsx_runtime_1.jsxs)("tr", { children: [(_a = columnsConfiguration.columns) === null || _a === void 0 ? void 0 : _a.map(function (e, i) {
76
+ return ((0, jsx_runtime_1.jsxs)("tr", { children: [columnsConfiguration.actions && (0, jsx_runtime_1.jsx)(actions_1.Actions, { actions: columnsConfiguration.actions, table: table }), (_a = columnsConfiguration.columns) === null || _a === void 0 ? void 0 : _a.map(function (e, i) {
75
77
  var _a, _b, _c, _d;
76
78
  function getProps() {
77
79
  var _a;
@@ -85,8 +87,10 @@ function Table(_a) {
85
87
  }
86
88
  var props = ((_a = e.Component) === null || _a === void 0 ? void 0 : _a.allProps) ? table : ((_b = e.Component) === null || _b === void 0 ? void 0 : _b.props) ? getProps() : {};
87
89
  var defaultProps = ((_c = e.Component) === null || _c === void 0 ? void 0 : _c.defaultProps) ? (_d = e.Component) === null || _d === void 0 ? void 0 : _d.defaultProps : {};
88
- return ((0, jsx_runtime_1.jsx)("td", { className: 'font-14-regular', children: e.Component ? (0, jsx_runtime_1.jsx)(e.Component.Element, __assign({}, props, defaultProps)) : table[e.id] }, String(index) + String(i)));
89
- }), columnsConfiguration.actions && (0, jsx_runtime_1.jsx)(actions_1.Actions, { actions: columnsConfiguration.actions, table: table })] }, table.id + String(index)));
90
+ var widthTable = tableRef.current;
91
+ var widthPercentage = (e.width * 100) / widthTable.offsetWidth;
92
+ return ((0, jsx_runtime_1.jsx)("td", { className: 'font-14-regular', style: { width: widthPercentage.toFixed(2) + '%' }, children: e.Component ? (0, jsx_runtime_1.jsx)(e.Component.Element, __assign({}, props, defaultProps)) : table[e.id] }, String(index) + String(i)));
93
+ })] }, table.id + String(index)));
90
94
  })), 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"] })), (0, jsx_runtime_1.jsx)(pagination_1.Pagination, __assign({}, pagination))] }))] }));
91
95
  }
92
96
  exports.Table = Table;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAAuC;AAEvC,2BAA4B;AAE5B,mCAAiC;AACjC,qCAAmC;AACnC,qCAAmC;AACnC,mCAAuC;AACvC,2CAAwC;AACxC,2CAAyC;AACzC,mDAAgD;AAIhD,0CAA6B;AAE7B,SAAgB,KAAK,CAAC,EAA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EAET,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,iBAAiB,CAAA,IAAI,UAAU,IAAI,CAC5C,wBAAC,CAAC,CAAC,WAAW,IAAC,SAAS,EAAC,cAAc,aACpC,UAAU,IAAI,CACb,0DACY,GAAG,EACb,6CACG,UAAU,CAAC,QAAQ,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,GACpF,EAAC,GAAG,SACV,6CAAS,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,GAAU,mBACvC,CACR,EAED,uBAAC,uBAAU,eAAK,UAAU,EAAI,IAChB,CACjB,IACK,CACT,CAAA;AACH,CAAC;AAvJD,sBAuJC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/presentation/hooks/ui/use-table/components/table/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAC9B,sCAAuC;AAEvC,2BAA4B;AAE5B,mCAAiC;AACjC,qCAAmC;AACnC,qCAAmC;AACnC,mCAAuC;AACvC,2CAAwC;AACxC,2CAAyC;AACzC,mDAAgD;AAIhD,0CAA6B;AAE7B,SAAgB,KAAK,CAAC,EAA6E;;QAA3E,OAAO,aAAA,EAAE,UAAU,gBAAA,EAAE,oBAAoB,0BAAA,EAAE,iBAAiB,uBAAA;IAClF,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,IAAM,YAAY,GAAG,OAAO,CAAC,SAAS,IAAI,UAAU,CAAA;IACpD,IAAM,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,iBAAiB,CAAC,UAAU,CAAA;IAErE,IAAM,aAAa,GAAG,CAAA,MAAA,CAAC,CAAC,MAAA,MAAM,CAAC,KAAK,0CAAE,MAAiB,KAAI,EAAE,CAAC,0CAA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CAAE,iBAAiB,CAAA,IAAI,UAAU,IAAI,CAC5C,wBAAC,CAAC,CAAC,WAAW,IAAC,SAAS,EAAC,cAAc,aACpC,UAAU,IAAI,CACb,0DACY,GAAG,EACb,6CACG,UAAU,CAAC,QAAQ,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,GACpF,EAAC,GAAG,SACV,6CAAS,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,GAAU,mBACvC,CACR,EAED,uBAAC,uBAAU,eAAK,UAAU,EAAI,IAChB,CACjB,IACK,CACT,CAAA;AACH,CAAC;AAjKD,sBAiKC"}
@@ -1,3 +1,2 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const PaginationStyle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const SkeletonCustom: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const Table: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react/experimental" />
3
2
  export declare const THeadItem: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
3
  ref?: import("react").Ref<HTMLDivElement>;
5
4
  }, never>>;
@@ -58,9 +58,11 @@ type TableActionEdit<T = any> = {
58
58
  icon?: IconsNames;
59
59
  };
60
60
  } & DynamicFormHandlerProps<T>;
61
+ export type FNComponent = (props: any) => JSX.Element;
61
62
  type ActionsTable<T = any> = {
62
63
  edit?: TableActionEdit<T>;
63
64
  create?: TableActionCreate<T>;
65
+ custom?: FNComponent[];
64
66
  delete?: (table: {
65
67
  [key in keyof T]: T[key];
66
68
  }) => void;