@m4l/components 9.4.45 → 9.4.46

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 (146) hide show
  1. package/components/datagrids/Datagrid.styles.d.ts.map +1 -1
  2. package/components/datagrids/Datagrid.styles.js +358 -272
  3. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.d.ts.map +1 -1
  4. package/components/datagrids/components/BaseDataGrid/BaseDataGrid.js +47 -45
  5. package/components/datagrids/contexts/DataGridContext/DataGridContext.d.ts.map +1 -1
  6. package/components/datagrids/contexts/DataGridContext/DataGridContext.js +237 -178
  7. package/components/datagrids/contexts/DataGridContext/types.d.ts +13 -4
  8. package/components/datagrids/contexts/DataGridContext/types.d.ts.map +1 -1
  9. package/components/datagrids/dictionary.d.ts +1 -0
  10. package/components/datagrids/dictionary.d.ts.map +1 -1
  11. package/components/datagrids/dictionary.js +1 -0
  12. package/components/datagrids/formatters/ColumnImageFormatter/ImageFormatterCell.d.ts.map +1 -1
  13. package/components/datagrids/formatters/ColumnImageFormatter/ImageFormatterCell.js +14 -14
  14. package/components/datagrids/helpers/persistence/getViewMode/getViewMode.d.ts.map +1 -1
  15. package/components/datagrids/helpers/persistence/getViewMode/getViewMode.js +8 -8
  16. package/components/datagrids/helpers/shared/getAllViewModes/getAllViewModes.d.ts +2 -1
  17. package/components/datagrids/helpers/shared/getAllViewModes/getAllViewModes.d.ts.map +1 -1
  18. package/components/datagrids/helpers/shared/getAllViewModes/getAllViewModes.js +1 -1
  19. package/components/datagrids/helpers/shared/getViewSpecificConfig/getViewSpecificConfig.d.ts +2 -1
  20. package/components/datagrids/helpers/shared/getViewSpecificConfig/getViewSpecificConfig.d.ts.map +1 -1
  21. package/components/datagrids/helpers/shared/getViewSpecificConfig/getViewSpecificConfig.js +11 -4
  22. package/components/datagrids/helpers/shared/getViewSuffix/getViewSuffix.d.ts +3 -2
  23. package/components/datagrids/helpers/shared/getViewSuffix/getViewSuffix.d.ts.map +1 -1
  24. package/components/datagrids/helpers/shared/getViewSuffix/getViewSuffix.js +1 -1
  25. package/components/datagrids/helpers/shared/scrollToRowElement/index.d.ts +2 -0
  26. package/components/datagrids/helpers/shared/scrollToRowElement/index.d.ts.map +1 -0
  27. package/components/datagrids/helpers/shared/scrollToRowElement/scrollToRowElement.d.ts +10 -0
  28. package/components/datagrids/helpers/shared/scrollToRowElement/scrollToRowElement.d.ts.map +1 -0
  29. package/components/datagrids/helpers/shared/scrollToRowElement/scrollToRowElement.js +24 -0
  30. package/components/datagrids/hooks/useViewConfig/useViewConfig.d.ts.map +1 -1
  31. package/components/datagrids/hooks/useViewConfig/useViewConfig.js +11 -10
  32. package/components/datagrids/shared/LazyLoadItem/LazyLoadItem.d.ts +7 -0
  33. package/components/datagrids/shared/LazyLoadItem/LazyLoadItem.d.ts.map +1 -0
  34. package/components/datagrids/shared/LazyLoadItem/index.d.ts +3 -0
  35. package/components/datagrids/shared/LazyLoadItem/index.d.ts.map +1 -0
  36. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/IntersectItem.d.ts +7 -0
  37. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/IntersectItem.d.ts.map +1 -0
  38. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/index.d.ts +3 -0
  39. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/index.d.ts.map +1 -0
  40. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/types.d.ts +13 -0
  41. package/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/types.d.ts.map +1 -0
  42. package/components/datagrids/shared/LazyLoadItem/types.d.ts +12 -0
  43. package/components/datagrids/shared/LazyLoadItem/types.d.ts.map +1 -0
  44. package/components/datagrids/slots/DataGridEnum.d.ts +5 -1
  45. package/components/datagrids/slots/DataGridEnum.d.ts.map +1 -1
  46. package/components/datagrids/slots/DataGridEnum.js +3 -3
  47. package/components/datagrids/slots/DataGridSlot.d.ts +12 -0
  48. package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
  49. package/components/datagrids/slots/DataGridSlot.js +105 -89
  50. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.d.ts +3 -10
  51. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.d.ts.map +1 -1
  52. package/components/datagrids/subcomponents/HeaderActions/HeaderActions.js +34 -33
  53. package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.d.ts +1 -13
  54. package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.d.ts.map +1 -1
  55. package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.js +27 -26
  56. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.d.ts +3 -4
  57. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.d.ts.map +1 -1
  58. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +77 -47
  59. package/components/datagrids/tests/helpers/useListViewConfig.d.ts +12 -0
  60. package/components/datagrids/tests/helpers/useListViewConfig.d.ts.map +1 -0
  61. package/components/datagrids/types.d.ts +58 -0
  62. package/components/datagrids/types.d.ts.map +1 -1
  63. package/components/datagrids/views/CardsView/CardsView.js +14 -14
  64. package/components/datagrids/views/ListView/ListView.d.ts +8 -0
  65. package/components/datagrids/views/ListView/ListView.d.ts.map +1 -0
  66. package/components/datagrids/views/ListView/ListView.js +98 -0
  67. package/components/datagrids/views/ListView/hooks/useListContent/index.d.ts +2 -0
  68. package/components/datagrids/views/{CardsView/helpers/scrollToCardElement → ListView/hooks/useListContent}/index.d.ts.map +1 -1
  69. package/components/datagrids/views/ListView/hooks/useListContent/useListContent.d.ts +10 -0
  70. package/components/datagrids/views/ListView/hooks/useListContent/useListContent.d.ts.map +1 -0
  71. package/components/datagrids/views/ListView/hooks/useListContent/useListContent.js +112 -0
  72. package/components/datagrids/views/ListView/hooks/useListVirtualizer/index.d.ts +3 -0
  73. package/components/datagrids/views/ListView/hooks/useListVirtualizer/index.d.ts.map +1 -0
  74. package/components/datagrids/views/ListView/hooks/useListVirtualizer/types.d.ts +27 -0
  75. package/components/datagrids/views/ListView/hooks/useListVirtualizer/types.d.ts.map +1 -0
  76. package/components/datagrids/views/ListView/hooks/useListVirtualizer/useListVirtualizer.d.ts +19 -0
  77. package/components/datagrids/views/ListView/hooks/useListVirtualizer/useListVirtualizer.d.ts.map +1 -0
  78. package/components/datagrids/views/ListView/hooks/useListVirtualizer/useListVirtualizer.js +23 -0
  79. package/components/datagrids/views/ListView/hooks/useModalDetail/index.d.ts +3 -0
  80. package/components/datagrids/views/ListView/hooks/useModalDetail/index.d.ts.map +1 -0
  81. package/components/datagrids/views/ListView/hooks/useModalDetail/types.d.ts +20 -0
  82. package/components/datagrids/views/ListView/hooks/useModalDetail/types.d.ts.map +1 -0
  83. package/components/datagrids/views/ListView/hooks/useModalDetail/useModalDetail.d.ts +7 -0
  84. package/components/datagrids/views/ListView/hooks/useModalDetail/useModalDetail.d.ts.map +1 -0
  85. package/components/datagrids/views/ListView/hooks/useModalDetail/useModalDetail.js +72 -0
  86. package/components/datagrids/views/ListView/hooks/useProcessedColumns/index.d.ts +3 -0
  87. package/components/datagrids/views/ListView/hooks/useProcessedColumns/index.d.ts.map +1 -0
  88. package/components/datagrids/views/ListView/hooks/useProcessedColumns/types.d.ts +13 -0
  89. package/components/datagrids/views/ListView/hooks/useProcessedColumns/types.d.ts.map +1 -0
  90. package/components/datagrids/views/ListView/hooks/useProcessedColumns/useProcessedColumns.d.ts +49 -0
  91. package/components/datagrids/views/ListView/hooks/useProcessedColumns/useProcessedColumns.d.ts.map +1 -0
  92. package/components/datagrids/views/ListView/hooks/useProcessedColumns/useProcessedColumns.js +30 -0
  93. package/components/datagrids/views/ListView/index.d.ts +3 -0
  94. package/components/datagrids/views/ListView/index.d.ts.map +1 -0
  95. package/components/datagrids/views/ListView/subcomponents/ListDetail/ListDetail.d.ts +9 -0
  96. package/components/datagrids/views/ListView/subcomponents/ListDetail/ListDetail.d.ts.map +1 -0
  97. package/components/datagrids/views/ListView/subcomponents/ListDetail/ListDetail.js +113 -0
  98. package/components/datagrids/views/ListView/subcomponents/ListDetail/index.d.ts +3 -0
  99. package/components/datagrids/views/ListView/subcomponents/ListDetail/index.d.ts.map +1 -0
  100. package/components/datagrids/views/ListView/subcomponents/ListDetail/types.d.ts +39 -0
  101. package/components/datagrids/views/ListView/subcomponents/ListDetail/types.d.ts.map +1 -0
  102. package/components/datagrids/views/ListView/subcomponents/ListRow/ListRow.d.ts +12 -0
  103. package/components/datagrids/views/ListView/subcomponents/ListRow/ListRow.d.ts.map +1 -0
  104. package/components/datagrids/views/ListView/subcomponents/ListRow/ListRow.js +96 -0
  105. package/components/datagrids/views/ListView/subcomponents/ListRow/index.d.ts +3 -0
  106. package/components/datagrids/views/ListView/subcomponents/ListRow/index.d.ts.map +1 -0
  107. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/ListHeader.d.ts +8 -0
  108. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/ListHeader.d.ts.map +1 -0
  109. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/ListHeader.js +83 -0
  110. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/index.d.ts +3 -0
  111. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/index.d.ts.map +1 -0
  112. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/types.d.ts +14 -0
  113. package/components/datagrids/views/ListView/subcomponents/ListRow/subcomponents/ListHeader/types.d.ts.map +1 -0
  114. package/components/datagrids/views/ListView/subcomponents/ListRow/types.d.ts +81 -0
  115. package/components/datagrids/views/ListView/subcomponents/ListRow/types.d.ts.map +1 -0
  116. package/components/datagrids/views/ListView/subcomponents/Settings/Settings.d.ts +7 -0
  117. package/components/datagrids/views/ListView/subcomponents/Settings/Settings.d.ts.map +1 -0
  118. package/components/datagrids/views/ListView/subcomponents/Settings/Settings.js +24 -0
  119. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/index.d.ts +3 -0
  120. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/index.d.ts.map +1 -0
  121. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/types.d.ts +5 -0
  122. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/types.d.ts.map +1 -0
  123. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.d.ts +7 -0
  124. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.d.ts.map +1 -0
  125. package/components/datagrids/views/ListView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js +62 -0
  126. package/components/datagrids/views/ListView/subcomponents/Settings/index.d.ts +3 -0
  127. package/components/datagrids/views/ListView/subcomponents/Settings/index.d.ts.map +1 -0
  128. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.d.ts +3 -0
  129. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.d.ts.map +1 -0
  130. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +253 -0
  131. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +3 -0
  132. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts.map +1 -0
  133. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +32 -0
  134. package/components/datagrids/views/ListView/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts.map +1 -0
  135. package/components/datagrids/views/ListView/subcomponents/Settings/types.d.ts +5 -0
  136. package/components/datagrids/views/ListView/subcomponents/Settings/types.d.ts.map +1 -0
  137. package/components/datagrids/views/ListView/types.d.ts +7 -0
  138. package/components/datagrids/views/ListView/types.d.ts.map +1 -0
  139. package/components/datagrids/views/adapters/RenderContent/RenderContent.d.ts +2 -1
  140. package/components/datagrids/views/adapters/RenderContent/RenderContent.d.ts.map +1 -1
  141. package/components/datagrids/views/adapters/RenderContent/RenderContent.js +7 -6
  142. package/package.json +7 -6
  143. package/components/datagrids/views/CardsView/helpers/scrollToCardElement/index.d.ts +0 -2
  144. package/components/datagrids/views/CardsView/helpers/scrollToCardElement/scrollToCardElement.d.ts +0 -10
  145. package/components/datagrids/views/CardsView/helpers/scrollToCardElement/scrollToCardElement.d.ts.map +0 -1
  146. package/components/datagrids/views/CardsView/helpers/scrollToCardElement/scrollToCardElement.js +0 -24
@@ -1,22 +1,22 @@
1
- import { jsx as s, Fragment as g } from "@emotion/react/jsx-runtime";
2
- import { useContext as x } from "react";
1
+ import { jsx as c, Fragment as x } from "@emotion/react/jsx-runtime";
2
+ import { useContext as u } from "react";
3
3
  import { getPropertyByString as a } from "@m4l/core";
4
- import { IMAGE_SIZES as m } from "./constants.js";
5
- import { DataGridContext as u } from "../../contexts/DataGridContext/DataGridContext.js";
6
- import { ImageFormatter as w } from "../../../formatters/ImageFormatter/ImageFormatter.js";
7
- function G(f) {
8
- const { formatterProps: r, fieldValue: h, fieldText: e, width: i, height: d, cover: v } = f, t = x(u)?.viewMode ?? "cards", c = i !== void 0 && d !== void 0, l = t === "cards" && c ? i : t === "cards" ? m.cards : void 0, p = t === "cards" && c ? d : t === "cards" ? m.cards : void 0, o = a(r.row, h) ?? void 0, n = e ? a(r.row, e) ?? void 0 : void 0;
9
- return o ? /* @__PURE__ */ s(
10
- w,
4
+ import { IMAGE_SIZES as f } from "./constants.js";
5
+ import { DataGridContext as w } from "../../contexts/DataGridContext/DataGridContext.js";
6
+ import { ImageFormatter as I } from "../../../formatters/ImageFormatter/ImageFormatter.js";
7
+ function G(h) {
8
+ const { formatterProps: o, fieldValue: l, fieldText: r, width: e, height: i, cover: v } = h, n = u(w)?.viewMode ?? "cards", d = e !== void 0 && i !== void 0, s = n === "cards" || n === "list", g = s ? d ? e : f.cards : void 0, p = s ? d ? i : f.cards : void 0, t = a(o.row, l) ?? void 0, m = r ? a(o.row, r) ?? void 0 : void 0;
9
+ return t ? /* @__PURE__ */ c(
10
+ I,
11
11
  {
12
- src: o,
13
- alt: n || o,
14
- width: l,
12
+ src: t,
13
+ alt: m || t,
14
+ width: g,
15
15
  height: p,
16
- text: n,
16
+ text: m,
17
17
  cover: v
18
18
  }
19
- ) : /* @__PURE__ */ s(g, { children: "-" });
19
+ ) : /* @__PURE__ */ c(x, { children: "-" });
20
20
  }
21
21
  export {
22
22
  G as ImageFormatterCell
@@ -1 +1 @@
1
- {"version":3,"file":"getViewMode.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/persistence/getViewMode/getViewMode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,WAAW,CACzB,EAAE,EAAE,MAAM,EACV,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,EACzC,eAAe,CAAC,EAAE,QAAQ,GACzB,QAAQ,GAAG,SAAS,CAsBtB"}
1
+ {"version":3,"file":"getViewMode.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/persistence/getViewMode/getViewMode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,WAAW,CACzB,EAAE,EAAE,MAAM,EACV,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,EACzC,eAAe,CAAC,EAAE,QAAQ,GACzB,QAAQ,GAAG,SAAS,CA0BtB"}
@@ -1,15 +1,15 @@
1
- function i(o, r, t) {
2
- if (r?.viewMode)
3
- return r.viewMode;
1
+ function o(i, t, r) {
2
+ if (t?.viewMode)
3
+ return t.viewMode;
4
4
  try {
5
- const e = window.localStorage.getItem(`${o}_view_mode`);
6
- if (e === "cards" || e === "table")
5
+ const e = window.localStorage.getItem(`${i}_view_mode`);
6
+ if (e === "cards" || e === "table" || e === "list")
7
7
  return e;
8
8
  } catch {
9
9
  }
10
- if (t)
11
- return t;
10
+ if (r)
11
+ return r;
12
12
  }
13
13
  export {
14
- i as getViewMode
14
+ o as getViewMode
15
15
  };
@@ -6,6 +6,7 @@ import { ViewMode } from '../../../contexts/DataGridContext/types';
6
6
  *
7
7
  * - `table`: Vista de tabla tradicional con filas y columnas
8
8
  * - `cards`: Vista de tarjetas para visualización compacta
9
+ * - `list`: List view (full-width rows, virtualized; columnsConfig or customRender)
9
10
  *
10
11
  * ## Uso
11
12
  *
@@ -14,7 +15,7 @@ import { ViewMode } from '../../../contexts/DataGridContext/types';
14
15
  * @returns Array con los modos de vista disponibles
15
16
  * @example
16
17
  * const modes = getAllViewModes();
17
- * // ['table', 'cards']
18
+ * // ['table', 'cards', 'list']
18
19
  */
19
20
  export declare const getAllViewModes: () => ViewMode[];
20
21
  //# sourceMappingURL=getAllViewModes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAllViewModes.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getAllViewModes/getAllViewModes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAEnE;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,eAAe,QAAO,QAAQ,EAE1C,CAAC"}
1
+ {"version":3,"file":"getAllViewModes.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getAllViewModes/getAllViewModes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAEnE;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,QAAO,QAAQ,EAE1C,CAAC"}
@@ -1,4 +1,4 @@
1
- const e = () => ["table", "cards"];
1
+ const e = () => ["table", "cards", "list"];
2
2
  export {
3
3
  e as getAllViewModes
4
4
  };
@@ -10,13 +10,14 @@ import { ViewSpecificConfig } from './types';
10
10
  *
11
11
  * - **table**: `frozen` (columnas fijas)
12
12
  * - **cards**: `showTitle` (mostrar título en tarjetas)
13
+ * - **list**: same as cards (showTitle; used for ListView with columnsConfig or customRender)
13
14
  *
14
15
  * ## Estructura de retorno
15
16
  *
16
17
  * - `defaults`: Valores por defecto para nuevas columnas
17
18
  * - `originalDefaults`: Valores originales para tracking
18
19
  * - `dynamicOriginalProperty`: Función para extraer propiedades originales de items existentes
19
- * @param viewMode - Modo de vista ('table' | 'cards')
20
+ * @param viewMode - Modo de vista ('table' | 'cards' | 'list')
20
21
  * @returns Configuración específica del modo de vista
21
22
  * @example
22
23
  * const tableConfig = getViewSpecificConfig('table');
@@ -1 +1 @@
1
- {"version":3,"file":"getViewSpecificConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getViewSpecificConfig/getViewSpecificConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,qBAAqB,GAAI,UAAU,QAAQ,KAAG,kBA0B1D,CAAC"}
1
+ {"version":3,"file":"getViewSpecificConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getViewSpecificConfig/getViewSpecificConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,qBAAqB,GAAI,UAAU,QAAQ,KAAG,kBAmC1D,CAAC"}
@@ -1,5 +1,5 @@
1
- const o = (i) => {
2
- const e = {
1
+ const l = (e) => {
2
+ const i = {
3
3
  table: {
4
4
  defaults: { frozen: !1, grouped: !1, groupOrder: 0 },
5
5
  originalDefaults: { originalFrozen: !1, originalGrouped: !1, originalGroupOrder: 0 },
@@ -20,10 +20,17 @@ const o = (i) => {
20
20
  dynamicOriginalProperty: (r) => ({
21
21
  originalShowTitle: r?.showTitle ?? !0
22
22
  })
23
+ },
24
+ list: {
25
+ defaults: { showTitle: !0 },
26
+ originalDefaults: { originalShowTitle: !0 },
27
+ dynamicOriginalProperty: (r) => ({
28
+ originalShowTitle: r?.showTitle ?? !0
29
+ })
23
30
  }
24
31
  };
25
- return e[i] || e.table;
32
+ return i[e] || i.table;
26
33
  };
27
34
  export {
28
- o as getViewSpecificConfig
35
+ l as getViewSpecificConfig
29
36
  };
@@ -15,11 +15,12 @@ import { ViewMode } from '../../../contexts/DataGridContext/types';
15
15
  * table: `${id}_columns_config`
16
16
  * cards: `${id}_columns_config_cards`
17
17
  * ```
18
- * @param viewMode - Modo de vista ('table' | 'cards')
19
- * @returns Sufijo para la key de localStorage ('' para table, '_cards' para cards)
18
+ * @param viewMode - Modo de vista ('table' | 'cards' | 'list')
19
+ * @returns Sufijo para la key de localStorage ('' para table, '_cards' para cards, '_list' para list)
20
20
  * @example
21
21
  * getViewSuffix('table'); // ''
22
22
  * getViewSuffix('cards'); // '_cards'
23
+ * getViewSuffix('list'); // '_list'
23
24
  */
24
25
  export declare const getViewSuffix: (viewMode: ViewMode) => string;
25
26
  //# sourceMappingURL=getViewSuffix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getViewSuffix.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getViewSuffix/getViewSuffix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,QAAQ,KAAG,MAKlD,CAAC"}
1
+ {"version":3,"file":"getViewSuffix.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/getViewSuffix/getViewSuffix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,QAAQ,KAAG,MAQlD,CAAC"}
@@ -1,4 +1,4 @@
1
- const r = (t) => t === "table" ? "" : `_${t}`;
1
+ const r = (t) => t === "table" ? "" : t === "list" ? "_list" : `_${t}`;
2
2
  export {
3
3
  r as getViewSuffix
4
4
  };
@@ -0,0 +1,2 @@
1
+ export * from './scrollToRowElement';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/scrollToRowElement/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Shared helper to scroll to a row/card element by its key.
3
+ * Used by ListView and CardsView. Finds the element in the DOM via querySelector and calls scrollIntoView.
4
+ * @param containerElement - Scrollable container element
5
+ * @param rowKey - Row key to scroll to
6
+ * @param selectorType - 'class' or 'data-attribute'
7
+ * @param selectorName - Class name prefix or attribute name (default data-row-key)
8
+ */
9
+ export declare function scrollToRowElement(containerElement: HTMLElement | null, rowKey: string | number, selectorType?: 'class' | 'data-attribute', selectorName?: string): void;
10
+ //# sourceMappingURL=scrollToRowElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollToRowElement.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/datagrids/helpers/shared/scrollToRowElement/scrollToRowElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,gBAAgB,EAAE,WAAW,GAAG,IAAI,EACpC,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,YAAY,GAAE,OAAO,GAAG,gBAAmC,EAC3D,YAAY,SAAiB,GAC5B,IAAI,CA4BN"}
@@ -0,0 +1,24 @@
1
+ function c(e, r, n = "data-attribute", l = "data-row-key") {
2
+ if (!e) {
3
+ console.warn("scrollToRowElement: containerElement is null");
4
+ return;
5
+ }
6
+ try {
7
+ const o = n === "class" ? `.${l}-${r}` : `[${l}="${r}"]`, t = e.querySelector(o);
8
+ if (!t) {
9
+ console.warn(
10
+ `scrollToRowElement: No element found with selector "${o}"`
11
+ );
12
+ return;
13
+ }
14
+ t.scrollIntoView({
15
+ behavior: "smooth",
16
+ block: "end"
17
+ });
18
+ } catch (o) {
19
+ console.error("scrollToRowElement: Error scrolling", o);
20
+ }
21
+ }
22
+ export {
23
+ c as scrollToRowElement
24
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"useViewConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/datagrids/hooks/useViewConfig/useViewConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,QAAO,mBAoChC,CAAC"}
1
+ {"version":3,"file":"useViewConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/datagrids/hooks/useViewConfig/useViewConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,QAAO,mBAqChC,CAAC"}
@@ -1,22 +1,23 @@
1
- import { useState as C, useCallback as t } from "react";
1
+ import { useState as C, useCallback as o } from "react";
2
2
  const c = () => {
3
- const [e, n] = C(() => ({
3
+ const [t, n] = C(() => ({
4
4
  table: [],
5
- cards: []
6
- })), s = t(
7
- (o) => e[o],
8
- [e]
9
- ), i = t(
10
- (o, r) => {
5
+ cards: [],
6
+ list: []
7
+ })), s = o(
8
+ (e) => t[e],
9
+ [t]
10
+ ), i = o(
11
+ (e, r) => {
11
12
  n((u) => ({
12
13
  ...u,
13
- [o]: r
14
+ [e]: r
14
15
  }));
15
16
  },
16
17
  []
17
18
  );
18
19
  return {
19
- viewConfig: e,
20
+ viewConfig: t,
20
21
  getConfigColumns: s,
21
22
  updateConfigColumns: i
22
23
  };
@@ -0,0 +1,7 @@
1
+ import { LazyLoadItemProps } from './types';
2
+ /**
3
+ * Wrapper that lazy-renders content when it enters the viewport (IntersectionObserver).
4
+ * Shared by CardsView and ListView so changes in one view do not affect the other.
5
+ */
6
+ export declare function LazyLoadItem(props: LazyLoadItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=LazyLoadItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LazyLoadItem.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/LazyLoadItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAcjD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,oDA2BpD"}
@@ -0,0 +1,3 @@
1
+ export * from './LazyLoadItem';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { IntersectItemProps } from './types';
2
+ /**
3
+ * Sentinel component that detects when an item should be rendered (IntersectionObserver).
4
+ * Used by LazyLoadItem for both CardsView and ListView.
5
+ */
6
+ export declare function IntersectItem(props: IntersectItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=IntersectItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntersectItem.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/IntersectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAoB,MAAM,SAAS,CAAC;AAmCpE;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,oDA6BtD"}
@@ -0,0 +1,3 @@
1
+ export * from './IntersectItem';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Props for the IntersectItem sentinel component (used by LazyLoadItem).
3
+ */
4
+ export interface IntersectItemProps {
5
+ setIsVisible: (visible: boolean) => void;
6
+ threshold: number;
7
+ minHeight?: number;
8
+ rowKey?: string | number;
9
+ }
10
+ export type IntersectItemRef = HTMLDivElement & {
11
+ setIsVisible?: (visible: boolean) => void;
12
+ };
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/subcomponents/IntersectItem/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAAG;IAC9C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Props for LazyLoadItem. Shared by CardsView and ListView.
4
+ */
5
+ export interface LazyLoadItemProps {
6
+ children: ReactNode;
7
+ enableIntersectionObserver?: boolean;
8
+ threshold?: number;
9
+ minHeight?: number;
10
+ rowKey?: string | number;
11
+ }
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/datagrids/shared/LazyLoadItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B"}
@@ -56,7 +56,11 @@ export declare enum TableSlots {
56
56
  iconButtonEdit = "iconButtonEdit",
57
57
  defaultRenderGroupCellRoot = "defaultRenderGroupCellRoot",
58
58
  defaultRenderGroupCellText = "defaultRenderGroupCellText",
59
- cellBackgroundWrapper = "cellBackgroundWrapper"
59
+ cellBackgroundWrapper = "cellBackgroundWrapper",
60
+ listContainer = "listContainer",
61
+ list = "list",
62
+ listRowVirtualizedItem = "listRowVirtualizedItem",
63
+ listVirtualContainer = "listVirtualContainer"
60
64
  }
61
65
  export declare enum TextEditorSlots {
62
66
  inputTexEditor = "inputTexEditor"
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/datagrids/slots/DataGridEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;CAC9B;AAED,oBAAY,YAAY;IACtB,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,sBAAsB,2BAA2B;CAClD;AAED,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;CAClC;AAED,oBAAY,UAAU;IACpB,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,mBAAmB,wBAAwB;IAC3C,UAAU,eAAe;IACzB,yBAAyB,8BAA8B;IACvD,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,QAAQ,aAAa;IACrB,mBAAmB,wBAAwB;IAC3C,cAAc,mBAAmB;IACjC,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;IAC7C,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,yBAAyB,8BAA8B;IACvD,oBAAoB,yBAAyB;IAC7C,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAE3B,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,0BAA0B,+BAA+B;IACzD,0BAA0B,+BAA+B;IACzD,qBAAqB,0BAA0B;CAChD;AAED,oBAAY,eAAe;IACzB,cAAc,mBAAmB;CAClC;AAED,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;IAC7C,uBAAuB,4BAA4B;IACnD,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;CAC5C;AAED,oBAAY,oBAAoB;IAC9B,eAAe,oBAAoB;CACpC;AAED,oBAAY,wBAAwB;IAClC,mBAAmB,wBAAwB;CAC5C"}
1
+ {"version":3,"file":"DataGridEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/datagrids/slots/DataGridEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;CAC9B;AAED,oBAAY,YAAY;IACtB,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,sBAAsB,2BAA2B;CAClD;AAED,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;CAClC;AAED,oBAAY,UAAU;IACpB,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,mBAAmB,wBAAwB;IAC3C,UAAU,eAAe;IACzB,yBAAyB,8BAA8B;IACvD,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,mBAAmB,wBAAwB;IAC3C,iBA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=> (r.actionsRoot = "actionsRoot", r.containerLeftActions = "containerLeftActions", r.containerRightActions = "containerRightActions", r.actionsConfigContainer = "actionsConfigContainer", r))(n || {}), a = /* @__PURE__ */ ((r) => (r.rowsCountRoot = "rowsCountRoot", r.rowsCountLabel = "rowsCountLabel", r.rowsCountValue = "rowsCountValue", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.tableContaniner = "tableContaniner", r.tableWrapperDataGrid = "tableWrapperDataGrid", r.draggableHeaderRoot = "draggableHeaderRoot", r.iconSearch = "iconSearch", r.draggableWrapperInputBase = "draggableWrapperInputBase", r.headerInputBase = "headerInputBase", r.wrapperSkeleton = "wrapperSkeleton", r.contentModalSetting = "contentModalSetting", r.headerRenderClick = "headerRenderClick", r.menuList = "menuList", r.buttonHeaderActions = "buttonHeaderActions", r.nameColumnIcon = "nameColumnIcon", r.iconColumn = "iconColumn", r.nameColumn = "nameColumn", r.containerToggleCards = "containerToggleCards", r.cardToggleCardButton = "cardToggleCardButton", r.textToggleCardButton = "textToggleCardButton", r.card = "card", r.cardsContainer = "cardsContainer", r.cardContentWrapper = "cardContentWrapper", r.cardHeader = "cardHeader", r.cardHeaderLeft = "cardHeaderLeft", r.cardHeaderRight = "cardHeaderRight", r.cardContent = "cardContent", r.containerLabelValueColumn = "containerLabelValueColumn", r.contentWrapperColumn = "contentWrapperColumn", r.cardDetailContainer = "cardDetailContainer", r.labelHeaderColumn = "labelHeaderColumn", r.valueColumn = "valueColumn", r.customCardHeader = "customCardHeader", r.customCardAvatar = "customCardAvatar", r.customCardNameEmail = "customCardNameEmail", r.customCardFieldWithIcon = "customCardFieldWithIcon", r.customCardFieldContent = "customCardFieldContent", r.customCardIconContainer = "customCardIconContainer", r.checkboxCellWrapper = "checkboxCellWrapper", r.editorCellWrapper = "editorCellWrapper", r.editablePlaceholder = "editablePlaceholder", r.editLabel = "editLabel", r.iconButtonEdit = "iconButtonEdit", r.defaultRenderGroupCellRoot = "defaultRenderGroupCellRoot", r.defaultRenderGroupCellText = "defaultRenderGroupCellText", r.cellBackgroundWrapper = "cellBackgroundWrapper", r))(t || {}), o = /* @__PURE__ */ ((r) => (r.inputTexEditor = "inputTexEditor", r))(o || {}), d = /* @__PURE__ */ ((r) => (r.columnsConfigWrapper = "columnsConfigWrapper", r.columnsConfigSelColumns = "columnsConfigSelColumns", r.columnsConfigDataGrid = "columnsConfigDataGrid", r.columnsConfigActios = "columnsConfigActios", r))(d || {}), c = /* @__PURE__ */ ((r) => (r.controlNavigate = "controlNavigate", r))(c || {}), u = /* @__PURE__ */ ((r) => (r.columnIconFormatter = "columnIconFormatter", r))(u || {});
1
+ var e = /* @__PURE__ */ ((r) => (r.datagridRoot = "datagridRoot", r.customHeader = "customHeader", r))(e || {}), n = /* @__PURE__ */ ((r) => (r.actionsRoot = "actionsRoot", r.containerLeftActions = "containerLeftActions", r.containerRightActions = "containerRightActions", r.actionsConfigContainer = "actionsConfigContainer", r))(n || {}), a = /* @__PURE__ */ ((r) => (r.rowsCountRoot = "rowsCountRoot", r.rowsCountLabel = "rowsCountLabel", r.rowsCountValue = "rowsCountValue", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.tableContaniner = "tableContaniner", r.tableWrapperDataGrid = "tableWrapperDataGrid", r.draggableHeaderRoot = "draggableHeaderRoot", r.iconSearch = "iconSearch", r.draggableWrapperInputBase = "draggableWrapperInputBase", r.headerInputBase = "headerInputBase", r.wrapperSkeleton = "wrapperSkeleton", r.contentModalSetting = "contentModalSetting", r.headerRenderClick = "headerRenderClick", r.menuList = "menuList", r.buttonHeaderActions = "buttonHeaderActions", r.nameColumnIcon = "nameColumnIcon", r.iconColumn = "iconColumn", r.nameColumn = "nameColumn", r.containerToggleCards = "containerToggleCards", r.cardToggleCardButton = "cardToggleCardButton", r.textToggleCardButton = "textToggleCardButton", r.card = "card", r.cardsContainer = "cardsContainer", r.cardContentWrapper = "cardContentWrapper", r.cardHeader = "cardHeader", r.cardHeaderLeft = "cardHeaderLeft", r.cardHeaderRight = "cardHeaderRight", r.cardContent = "cardContent", r.containerLabelValueColumn = "containerLabelValueColumn", r.contentWrapperColumn = "contentWrapperColumn", r.cardDetailContainer = "cardDetailContainer", r.labelHeaderColumn = "labelHeaderColumn", r.valueColumn = "valueColumn", r.customCardHeader = "customCardHeader", r.customCardAvatar = "customCardAvatar", r.customCardNameEmail = "customCardNameEmail", r.customCardFieldWithIcon = "customCardFieldWithIcon", r.customCardFieldContent = "customCardFieldContent", r.customCardIconContainer = "customCardIconContainer", r.checkboxCellWrapper = "checkboxCellWrapper", r.editorCellWrapper = "editorCellWrapper", r.editablePlaceholder = "editablePlaceholder", r.editLabel = "editLabel", r.iconButtonEdit = "iconButtonEdit", r.defaultRenderGroupCellRoot = "defaultRenderGroupCellRoot", r.defaultRenderGroupCellText = "defaultRenderGroupCellText", r.cellBackgroundWrapper = "cellBackgroundWrapper", r.listContainer = "listContainer", r.list = "list", r.listRowVirtualizedItem = "listRowVirtualizedItem", r.listVirtualContainer = "listVirtualContainer", r))(t || {}), o = /* @__PURE__ */ ((r) => (r.inputTexEditor = "inputTexEditor", r))(o || {}), d = /* @__PURE__ */ ((r) => (r.columnsConfigWrapper = "columnsConfigWrapper", r.columnsConfigSelColumns = "columnsConfigSelColumns", r.columnsConfigDataGrid = "columnsConfigDataGrid", r.columnsConfigActios = "columnsConfigActios", r))(d || {}), i = /* @__PURE__ */ ((r) => (r.controlNavigate = "controlNavigate", r))(i || {}), c = /* @__PURE__ */ ((r) => (r.columnIconFormatter = "columnIconFormatter", r))(c || {});
2
2
  export {
3
3
  n as ActionsSlots,
4
- u as ColumnIconFormatterSlots,
4
+ c as ColumnIconFormatterSlots,
5
5
  d as ColumnsConfigSlots,
6
- c as ControlNavigateSlots,
6
+ i as ControlNavigateSlots,
7
7
  e as DataGridSlots,
8
8
  a as RowsCountSlots,
9
9
  t as TableSlots,
@@ -95,6 +95,18 @@ export declare const CardContentStyled: import('@emotion/styled').StyledComponen
95
95
  export declare const CardsContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
96
96
  ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
97
97
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
98
+ export declare const ListContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
99
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
100
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
101
+ export declare const ListStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Card/types').CardProps, keyof import('../../Card/types').CardProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
102
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
103
+ }, {}, {}>;
104
+ export declare const ListRowVirtualizedItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
105
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
106
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
107
+ export declare const ListVirtualContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
108
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
109
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
98
110
  export declare const ContainerLabelValueColumnStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
99
111
  ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
100
112
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"DataGridSlot.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/datagrids/slots/DataGridSlot.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;6NAGA,CAAC;AAEhC,eAAO,MAAM,kBAAkB;;6NAGA,CAAC;AAEhC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;6NAGA,CAAC;AAE/B,eAAO,MAAM,0BAA0B;;6NAGA,CAAC;AAExC,eAAO,MAAM,2BAA2B;;6NAGA,CAAC;AAEzC,eAAO,MAAM,4BAA4B;;6NAGA,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;6NAGA,CAAC;AAEjC,eAAO,MAAM,oBAAoB;;6NAGA,CAAC;AAElC,eAAO,MAAM,oBAAoB;;6NAGA,CAAC;AAElC;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;6NAG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C;AAEvC,eAAO,MAAM,gBAAgB;;UAGA,CAAC;AAE9B,eAAO,MAAM,+BAA+B;;6NAGA,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;UAGA,CAAC;AAEnC,eAAO,MAAM,qBAAqB;;6NAGA,CAAC;AAEnC,eAAO,MAAM,yBAAyB;;6NAGA,CAAC;AAEvC,eAAO,MAAM,uBAAuB;;6NAGA,CAAC;AAErC,eAAO,MAAM,cAAc;;UAGA,CAAC;AAE5B,eAAO,MAAM,yBAAyB;;6NAGA,CAAC;AAEvC,eAAO,MAAM,oBAAoB;;6NAGA,CAAC;AAElC,eAAO,MAAM,gBAAgB;;6NAGA,CAAC;AAE9B,eAAO,MAAM,gBAAgB;;6NAGA,CAAC;AAC9B,eAAO,MAAM,yBAAyB;;6NAGA,CAAC;AACvC,eAAO,MAAM,eAAe;;UAGA,CAAC;AAC7B,eAAO,MAAM,oBAAoB;;UAGA,CAAC;AAClC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;+OAGD,CAAC;AAElC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;6NAGA,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;;6NAGA,CAAC;AAEvC,eAAO,MAAM,gCAAgC;;iOAGA,CAAC;AAE9C,eAAO,MAAM,gCAAgC;;iOAGA,CAAC;AAE9C,eAAO,MAAM,2BAA2B;;iOAGA,CAAC"}
1
+ {"version":3,"file":"DataGridSlot.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/datagrids/slots/DataGridSlot.ts"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;6NAGA,CAAC;AAEhC,eAAO,MAAM,kBAAkB;;6NAGA,CAAC;AAEhC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;6NAGA,CAAC;AAE/B,eAAO,MAAM,0BAA0B;;6NAGA,CAAC;AAExC,eAAO,MAAM,2BAA2B;;6NAGA,CAAC;AAEzC,eAAO,MA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