@m4l/components 9.24.1-beta-feature-731-code-editor.1 → 9.25.0

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 (83) hide show
  1. package/@types/types.d.ts +0 -11
  2. package/components/MFIsolationApp/MFIsolationApp.d.ts.map +1 -1
  3. package/components/MFIsolationApp/MFIsolationApp.js +76 -80
  4. package/components/datagrids/Datagrid.styles.d.ts.map +1 -1
  5. package/components/datagrids/Datagrid.styles.js +25 -0
  6. package/components/datagrids/slots/DataGridEnum.d.ts +3 -1
  7. package/components/datagrids/slots/DataGridEnum.d.ts.map +1 -1
  8. package/components/datagrids/slots/DataGridEnum.js +1 -1
  9. package/components/datagrids/slots/DataGridSlot.d.ts +6 -0
  10. package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
  11. package/components/datagrids/slots/DataGridSlot.js +73 -65
  12. package/components/datagrids/views/CardsView/CardsView.d.ts +2 -1
  13. package/components/datagrids/views/CardsView/CardsView.d.ts.map +1 -1
  14. package/components/datagrids/views/CardsView/CardsView.js +96 -76
  15. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/index.d.ts +2 -0
  16. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/index.d.ts.map +1 -0
  17. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/useCardsPerRow.d.ts +9 -0
  18. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/useCardsPerRow.d.ts.map +1 -0
  19. package/components/datagrids/views/CardsView/hooks/useCardsPerRow/useCardsPerRow.js +19 -0
  20. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/index.d.ts +3 -0
  21. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/index.d.ts.map +1 -0
  22. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/types.d.ts +26 -0
  23. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/types.d.ts.map +1 -0
  24. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/useCardsVirtualizer.d.ts +17 -0
  25. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/useCardsVirtualizer.d.ts.map +1 -0
  26. package/components/datagrids/views/CardsView/hooks/useCardsVirtualizer/useCardsVirtualizer.js +23 -0
  27. package/components/datagrids/views/CardsView/subcomponents/CardRow/CardRow.d.ts +1 -1
  28. package/components/datagrids/views/CardsView/subcomponents/CardRow/CardRow.d.ts.map +1 -1
  29. package/components/datagrids/views/CardsView/subcomponents/CardRow/CardRow.js +49 -50
  30. package/components/datagrids/views/CardsView/subcomponents/CardRow/types.d.ts +4 -2
  31. package/components/datagrids/views/CardsView/subcomponents/CardRow/types.d.ts.map +1 -1
  32. package/components/extended/index.d.ts +0 -1
  33. package/components/extended/index.d.ts.map +1 -1
  34. package/components/hook-form/index.d.ts +0 -1
  35. package/components/hook-form/index.d.ts.map +1 -1
  36. package/index.js +559 -572
  37. package/package.json +8 -11
  38. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts +0 -5
  39. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.d.ts.map +0 -1
  40. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.js +0 -14
  41. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts +0 -2
  42. package/components/MFIsolationApp/subcomponents/ThemeSettingsHostToolsBridge/index.d.ts.map +0 -1
  43. package/components/datagrids/helpers/shared/scrollToRowElement/scrollToRowElement.js +0 -24
  44. package/components/datagrids/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/LazyLoadCard.js +0 -33
  45. package/components/datagrids/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/IntersectCard.js +0 -36
  46. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts +0 -6
  47. package/components/extended/ReactSimpleCodeEditor/CodeEditor.d.ts.map +0 -1
  48. package/components/extended/ReactSimpleCodeEditor/CodeEditor.js +0 -405
  49. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts +0 -3
  50. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.d.ts.map +0 -1
  51. package/components/extended/ReactSimpleCodeEditor/CodeEditor.styles.js +0 -371
  52. package/components/extended/ReactSimpleCodeEditor/constants.d.ts +0 -83
  53. package/components/extended/ReactSimpleCodeEditor/constants.d.ts.map +0 -1
  54. package/components/extended/ReactSimpleCodeEditor/constants.js +0 -149
  55. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts +0 -11
  56. package/components/extended/ReactSimpleCodeEditor/dictionary.d.ts.map +0 -1
  57. package/components/extended/ReactSimpleCodeEditor/dictionary.js +0 -7
  58. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts +0 -58
  59. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.d.ts.map +0 -1
  60. package/components/extended/ReactSimpleCodeEditor/helpers/highlighting.js +0 -1063
  61. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts +0 -6
  62. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.d.ts.map +0 -1
  63. package/components/extended/ReactSimpleCodeEditor/helpers/languageIcon.js +0 -7
  64. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts +0 -6
  65. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.d.ts.map +0 -1
  66. package/components/extended/ReactSimpleCodeEditor/helpers/resolveEditorComponent.js +0 -9
  67. package/components/extended/ReactSimpleCodeEditor/index.d.ts +0 -4
  68. package/components/extended/ReactSimpleCodeEditor/index.d.ts.map +0 -1
  69. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts +0 -19
  70. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.d.ts.map +0 -1
  71. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorEnum.js +0 -4
  72. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +0 -88
  73. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts.map +0 -1
  74. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.js +0 -70
  75. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts +0 -3
  76. package/components/extended/ReactSimpleCodeEditor/slots/index.d.ts.map +0 -1
  77. package/components/extended/ReactSimpleCodeEditor/types.d.ts +0 -459
  78. package/components/extended/ReactSimpleCodeEditor/types.d.ts.map +0 -1
  79. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts +0 -7
  80. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.d.ts.map +0 -1
  81. package/components/hook-form/RHFCodeEditor/RHFCodeEditor.js +0 -6
  82. package/components/hook-form/RHFCodeEditor/index.d.ts +0 -3
  83. package/components/hook-form/RHFCodeEditor/index.d.ts.map +0 -1
package/@types/types.d.ts CHANGED
@@ -373,10 +373,6 @@ import {
373
373
  ReactJsonViewerOwnerState,
374
374
  ReactJsonViewerSlotsType,
375
375
  } from '../components/extended/React-Json-Viewer/types';
376
- import {
377
- CodeEditorOwnerState,
378
- CodeEditorSlotsType,
379
- } from '../components/extended/ReactSimpleCodeEditor/types';
380
376
  import {
381
377
  ResizableOwnerState as ReactResizableOwnerState,
382
378
  ResizableSlotsType,
@@ -503,7 +499,6 @@ declare module '@mui/material/styles' {
503
499
  M4LFixedSizeList: FixedSizeListSlotsType;
504
500
  M4LVariableSizeList: VariableSizeListSlotsType;
505
501
  M4LReactJsonViewer: ReactJsonViewerSlotsType;
506
- M4LCodeEditor: CodeEditorSlotsType;
507
502
  M4LResizable: ResizableSlotsType;
508
503
  M4LResizableBox: ResizableBoxSlotsType;
509
504
  M4LImageSelector: ImageSelectorSlotsType;
@@ -619,7 +614,6 @@ declare module '@mui/material/styles' {
619
614
  M4LFixedSizeList: Partial<FixedSizeListOwnerState>;
620
615
  M4LVariableSizeList: Partial<VariableSizeListOwnerState>;
621
616
  M4LReactJsonViewer: Partial<ReactJsonViewerOwnerState>;
622
- M4LCodeEditor: Partial<CodeEditorOwnerState>;
623
617
  M4LResizable: Partial<ReactResizableOwnerState>;
624
618
  M4LResizableBox: Partial<ResizableBoxOwnerState>;
625
619
  M4LImageSelector: Partial<ImageSelectorOwnerState>;
@@ -1174,11 +1168,6 @@ declare module '@mui/material/styles' {
1174
1168
  styleOverrides?: ComponentsOverrides<Theme>['M4LReactJsonViewer'];
1175
1169
  variants?: ComponentsVariants['M4LReactJsonViewer'];
1176
1170
  };
1177
- M4LCodeEditor?: {
1178
- defaultProps?: ComponentsPropsList['M4LCodeEditor'];
1179
- styleOverrides?: ComponentsOverrides<Theme>['M4LCodeEditor'];
1180
- variants?: ComponentsVariants['M4LCodeEditor'];
1181
- };
1182
1171
  M4LResizable?: {
1183
1172
  defaultProps?: ComponentsPropsList['M4LResizable'];
1184
1173
  styleOverrides?: ComponentsOverrides<Theme>['M4LResizable'];
@@ -1 +1 @@
1
- {"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAqEjB;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,oDAkLxD"}
1
+ {"version":3,"file":"MFIsolationApp.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/MFIsolationApp/MFIsolationApp.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AAoEjB;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,oDAiLxD"}
@@ -1,9 +1,9 @@
1
- import { jsx as o, jsxs as A } from "@emotion/react/jsx-runtime";
2
- import { useMemo as h, useCallback as _, useId as X } from "react";
1
+ import { jsx as o, jsxs as g } from "@emotion/react/jsx-runtime";
2
+ import { useMemo as h, useCallback as A, useId as X } from "react";
3
3
  import { unstable_HistoryRouter as Y } from "react-router-dom";
4
4
  import { createBrowserHistory as oo } from "history";
5
5
  import eo from "eventemitter3";
6
- import P from "nprogress";
6
+ import _ from "nprogress";
7
7
  import { DeviceTypeProvider as to, ThemeSettingsProvider as ro, LocalesProvider as so, getLocaleFromNetwork as io, AppearanceComponentProvider as no } from "@m4l/graphics";
8
8
  import { axiosOperation as ao, EnvironmentProvider as mo, HostToolsProvider as lo, NetworkProvider as po, AuthProvider as co, useAuth as ho, useEnvironment as uo, useNetwork as vo } from "@m4l/core";
9
9
  import { WrapperAppBarContentChildrenStyled as fo, WrapperContentChildrenStyled as Ao } from "./slots/MFIsolationAppSlots.js";
@@ -11,15 +11,14 @@ import { MFIsolationAppErrorBoundary as _o } from "./MFIsolationAppErrorBoundary
11
11
  import Po from "../ToastContainer/helpers/toaster.js";
12
12
  import { ShellObservabilityProvider as Io } from "../../contexts/ShellObservabilityContext/ShellObservabilityContext.js";
13
13
  import { MFAuthApp as bo } from "./subcomponents/MFAuthApp/MFAuthApp.js";
14
- import { ThemeSettingsHostToolsBridge as yo } from "./subcomponents/ThemeSettingsHostToolsBridge/ThemeSettingsHostToolsBridge.js";
15
- import { BaseModule as go } from "../BaseModule/BaseModule.js";
14
+ import { BaseModule as yo } from "../BaseModule/BaseModule.js";
16
15
  import { SettingsLayout as ko } from "../SettingsLayout/SettingsLayout.js";
17
16
  import { ToastContainer as wo } from "../ToastContainer/ToastContainer.js";
18
- import { PopupsProvider as Ro } from "../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
19
- import { AreasProvider as Fo } from "../areas/contexts/AreasContext/index.js";
20
- import { AppBarSettings as Lo } from "./subcomponents/AppBarSettings/AppBarSettings.js";
21
- import { HostRuntimeProvider as So } from "../../contexts/HostRuntimeContext/HostRuntimeContext.js";
22
- import { MFObservabilityProvider as To } from "../WindowBase/contexts/MFObservabilityContext/MFObservabilityContext.js";
17
+ import { PopupsProvider as go } from "../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
18
+ import { AreasProvider as Ro } from "../areas/contexts/AreasContext/index.js";
19
+ import { AppBarSettings as Fo } from "./subcomponents/AppBarSettings/AppBarSettings.js";
20
+ import { HostRuntimeProvider as Lo } from "../../contexts/HostRuntimeContext/HostRuntimeContext.js";
21
+ import { MFObservabilityProvider as So } from "../WindowBase/contexts/MFObservabilityContext/MFObservabilityContext.js";
23
22
  const R = oo({ window });
24
23
  function Co(u) {
25
24
  const { children: v, hostRuntime: s, resolveHostRuntime: i } = u, { user: n } = ho(), {
@@ -44,9 +43,9 @@ function Co(u) {
44
43
  i,
45
44
  n?.sessionId
46
45
  ]);
47
- return /* @__PURE__ */ o(So, { value: f, children: v });
46
+ return /* @__PURE__ */ o(Lo, { value: f, children: v });
48
47
  }
49
- function oe(u) {
48
+ function Xo(u) {
50
49
  const {
51
50
  children: v,
52
51
  user: s,
@@ -61,31 +60,31 @@ function oe(u) {
61
60
  host_api_remote: f,
62
61
  host_static_assets: F,
63
62
  environment_assets: L,
64
- moduleId: I,
63
+ moduleId: P,
65
64
  skeletonFlags: S,
66
- moduleNameField: T,
67
- privileges: C,
68
- componentsDictionary: E,
69
- onLoad: H,
70
- activeAreasNetwork: M = !1,
71
- activeCookiesFromNetwork: x = !1,
65
+ moduleNameField: C,
66
+ privileges: E,
67
+ componentsDictionary: M,
68
+ onLoad: T,
69
+ activeAreasNetwork: x = !1,
70
+ activeCookiesFromNetwork: H = !1,
72
71
  // observedDivRef,
73
- moduleDictionaryLoaded: B,
74
- forcedDeviceType: N,
75
- areasStoreId: b,
76
- areasStoreDevtoolsEnabled: y,
72
+ moduleDictionaryLoaded: N,
73
+ forcedDeviceType: B,
74
+ areasStoreId: I,
75
+ areasStoreDevtoolsEnabled: b,
77
76
  appBarSettings: D = !0,
78
77
  axiosOperation: O = ao,
79
78
  googleMapsApiKey: j,
80
79
  hostRuntime: W,
81
- observability: g,
80
+ observability: y,
82
81
  resolveHostRuntime: $
83
- } = u, k = a ?? m ?? "", c = d ?? f ?? "", K = l ?? p ?? `${c}/main/icons`, e = h(() => new eo(), []), Z = _(
82
+ } = u, k = a ?? m ?? "", c = d ?? f ?? "", K = l ?? p ?? `${c}/main/icons`, e = h(() => new eo(), []), Z = A(
84
83
  (t, r) => {
85
84
  e.on(t, r);
86
85
  },
87
86
  [e]
88
- ), q = _(
87
+ ), q = A(
89
88
  (t, r) => {
90
89
  if (r === null) {
91
90
  e.removeListener(t);
@@ -94,17 +93,17 @@ function oe(u) {
94
93
  e.removeListener(t, r);
95
94
  },
96
95
  [e]
97
- ), z = _(
96
+ ), z = A(
98
97
  (t, r) => {
99
98
  e.emit(t, r);
100
99
  },
101
100
  [e]
102
101
  ), G = () => {
103
- P.configure({
102
+ _.configure({
104
103
  showSpinner: !0
105
- }), P.start();
104
+ }), _.start();
106
105
  }, J = () => {
107
- P.done();
106
+ _.done();
108
107
  }, Q = h(
109
108
  () => ({
110
109
  host: "",
@@ -137,62 +136,59 @@ function oe(u) {
137
136
  // eslint-disable-next-line react-hooks/exhaustive-deps
138
137
  []
139
138
  );
140
- return /* @__PURE__ */ o(mo, { ...Q, children: /* @__PURE__ */ o(lo, { ...V, children: /* @__PURE__ */ o(po, { axiosOperation: O, children: /* @__PURE__ */ o(Io, { value: g, children: /* @__PURE__ */ o(To, { value: g, children: /* @__PURE__ */ o(
139
+ return /* @__PURE__ */ o(mo, { ...Q, children: /* @__PURE__ */ o(lo, { ...V, children: /* @__PURE__ */ o(po, { axiosOperation: O, children: /* @__PURE__ */ o(Io, { value: y, children: /* @__PURE__ */ o(So, { value: y, children: /* @__PURE__ */ o(
141
140
  Y,
142
141
  {
143
142
  history: R,
144
143
  future: { v7_startTransition: !0, v7_relativeSplatPath: !0 },
145
- children: /* @__PURE__ */ o(to, { forcedDeviceType: N, children: /* @__PURE__ */ o(co, { children: /* @__PURE__ */ o(bo, { user: s, pwd: i, children: /* @__PURE__ */ A(ro, { children: [
146
- /* @__PURE__ */ o(yo, {}),
147
- /* @__PURE__ */ o(so, { isMicroFrontEnd: !1, getLocaleFromNetwork: io, children: /* @__PURE__ */ o(
148
- go,
149
- {
150
- moduleId: I,
151
- privileges: C,
152
- skeletonFlags: S,
153
- componentsDictionary: E,
154
- moduleNameField: T,
155
- moduleDictionaryLoaded: B,
156
- children: /* @__PURE__ */ o(_o, { moduleId: I, children: /* @__PURE__ */ A(no, { children: [
157
- /* @__PURE__ */ o(ko, {}),
158
- /* @__PURE__ */ o(wo, { containerId: w }),
159
- " ",
160
- /* @__PURE__ */ o(
161
- Co,
162
- {
163
- hostRuntime: W,
164
- resolveHostRuntime: $,
165
- children: /* @__PURE__ */ o(
166
- Ro,
167
- {
168
- baseZindex: 1e3,
169
- storeId: b,
170
- storeDevtoolsEnabled: y,
171
- children: /* @__PURE__ */ o(
172
- Fo,
173
- {
174
- storeId: b,
175
- storeDevtoolsEnabled: y,
176
- onLoad: H,
177
- loadAreasFromNetwork: M,
178
- loadCookiesFromNetwork: x,
179
- children: /* @__PURE__ */ A(fo, { children: [
180
- D && /* @__PURE__ */ o(Lo, {}),
181
- /* @__PURE__ */ o(Ao, { children: v })
182
- ] })
183
- }
184
- )
185
- }
186
- )
187
- }
188
- )
189
- ] }) })
190
- }
191
- ) })
192
- ] }) }) }) })
144
+ children: /* @__PURE__ */ o(to, { forcedDeviceType: B, children: /* @__PURE__ */ o(co, { children: /* @__PURE__ */ o(bo, { user: s, pwd: i, children: /* @__PURE__ */ o(ro, { children: /* @__PURE__ */ o(so, { isMicroFrontEnd: !1, getLocaleFromNetwork: io, children: /* @__PURE__ */ o(
145
+ yo,
146
+ {
147
+ moduleId: P,
148
+ privileges: E,
149
+ skeletonFlags: S,
150
+ componentsDictionary: M,
151
+ moduleNameField: C,
152
+ moduleDictionaryLoaded: N,
153
+ children: /* @__PURE__ */ o(_o, { moduleId: P, children: /* @__PURE__ */ g(no, { children: [
154
+ /* @__PURE__ */ o(ko, {}),
155
+ /* @__PURE__ */ o(wo, { containerId: w }),
156
+ " ",
157
+ /* @__PURE__ */ o(
158
+ Co,
159
+ {
160
+ hostRuntime: W,
161
+ resolveHostRuntime: $,
162
+ children: /* @__PURE__ */ o(
163
+ go,
164
+ {
165
+ baseZindex: 1e3,
166
+ storeId: I,
167
+ storeDevtoolsEnabled: b,
168
+ children: /* @__PURE__ */ o(
169
+ Ro,
170
+ {
171
+ storeId: I,
172
+ storeDevtoolsEnabled: b,
173
+ onLoad: T,
174
+ loadAreasFromNetwork: x,
175
+ loadCookiesFromNetwork: H,
176
+ children: /* @__PURE__ */ g(fo, { children: [
177
+ D && /* @__PURE__ */ o(Fo, {}),
178
+ /* @__PURE__ */ o(Ao, { children: v })
179
+ ] })
180
+ }
181
+ )
182
+ }
183
+ )
184
+ }
185
+ )
186
+ ] }) })
187
+ }
188
+ ) }) }) }) }) })
193
189
  }
194
190
  ) }) }) }) }) });
195
191
  }
196
192
  export {
197
- oe as MFIsolationApp
193
+ Xo as MFIsolationApp
198
194
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Datagrid.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/datagrids/Datagrid.styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,eAAO,MAAM,cAAc,EAAE,cAs4C5B,CAAC"}
1
+ {"version":3,"file":"Datagrid.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/datagrids/Datagrid.styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,eAAO,MAAM,cAAc,EAAE,cAi6C5B,CAAC"}
@@ -847,6 +847,31 @@ const d = {
847
847
  position: "relative",
848
848
  height: `${r.totalSize ?? 0}px`
849
849
  }),
850
+ /**
851
+ * Container that holds the total virtualized height for TanStack Virtual in CardsView.
852
+ * This element defines the scrollable area; its height equals the sum of all card heights.
853
+ */
854
+ cardsVirtualContainer: ({ ownerState: r }) => ({
855
+ width: "100%",
856
+ position: "relative",
857
+ height: `${r.totalSize ?? 0}px`
858
+ }),
859
+ /**
860
+ * Wrapper for each virtualized card row (receives style from TanStack Virtual).
861
+ * Uses CSS Grid with explicit column count so cards in incomplete rows (last row)
862
+ * get the same width as cards in full rows. gap and paddingBottom match ContainerFlow (16px).
863
+ */
864
+ cardsVirtualRowItem: ({ ownerState: r }) => ({
865
+ position: "absolute",
866
+ top: 0,
867
+ left: 0,
868
+ width: "100%",
869
+ transform: `translateY(${r.offsetTop ?? 0}px)`,
870
+ display: "grid",
871
+ gridTemplateColumns: `repeat(${r.cardsPerRow ?? 1}, 1fr)`,
872
+ gap: "16px",
873
+ paddingBottom: "16px"
874
+ }),
850
875
  /**
851
876
  * Estilos para cada tarjeta individual en CardsView.
852
877
  */
@@ -60,7 +60,9 @@ export declare enum TableSlots {
60
60
  listContainer = "listContainer",
61
61
  list = "list",
62
62
  listRowVirtualizedItem = "listRowVirtualizedItem",
63
- listVirtualContainer = "listVirtualContainer"
63
+ listVirtualContainer = "listVirtualContainer",
64
+ cardsVirtualContainer = "cardsVirtualContainer",
65
+ cardsVirtualRowItem = "cardsVirtualRowItem"
64
66
  }
65
67
  export declare enum TextEditorSlots {
66
68
  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,U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B,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,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;IAC/C,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,sBAAsB,2BAA2B;IACjD,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;CAC5C;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,4 +1,4 @@
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 || {});
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.cardsVirtualContainer = "cardsVirtualContainer", r.cardsVirtualRowItem = "cardsVirtualRowItem", 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
4
  c as ColumnIconFormatterSlots,
@@ -107,6 +107,12 @@ export declare const ListRowVirtualizedItemStyled: import('@emotion/styled').Sty
107
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
108
  ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
109
109
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
110
+ export declare const CardsVirtualContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
111
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
112
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
113
+ export declare const CardsVirtualRowItemStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown> & {
114
+ ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
115
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
110
116
  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> & {
111
117
  ownerState: Partial<import('../types').DataGridOwnerState<unknown, unknown>> & Record<string, unknown>;
112
118
  }, 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":"AAiBA;;;;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;;6NAG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AAM,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"}
@@ -21,22 +21,22 @@ const L = t("div", {
21
21
  })(o.containerLeftActions), A = t("div", {
22
22
  name: e,
23
23
  slot: a.containerRightActions
24
- })(o.containerRightActions), D = t("div", {
24
+ })(o.containerRightActions), V = t("div", {
25
25
  name: e,
26
26
  slot: a.actionsConfigContainer
27
- })(o.actionsConfigContainer), G = t("div", {
27
+ })(o.actionsConfigContainer), w = t("div", {
28
28
  name: e,
29
29
  slot: d.rowsCountRoot
30
- })(o.rowsCountRoot), w = t("div", {
30
+ })(o.rowsCountRoot), D = t("div", {
31
31
  name: e,
32
32
  slot: d.rowsCountLabel
33
- })(o.rowsCountLabel), x = t("div", {
33
+ })(o.rowsCountLabel), G = t("div", {
34
34
  name: e,
35
35
  slot: d.rowsCountValue
36
- })(o.rowsCountValue), E = t("div", {
36
+ })(o.rowsCountValue), x = t("div", {
37
37
  name: e,
38
38
  slot: l.columnsConfigWrapper
39
- })(o.columnsConfigWrapper), V = t("div", {
39
+ })(o.columnsConfigWrapper), E = t("div", {
40
40
  name: e,
41
41
  slot: l.columnsConfigSelColumns
42
42
  })(o.columnsConfigSelColumns), k = t("div", {
@@ -91,24 +91,30 @@ const L = t("div", {
91
91
  name: e,
92
92
  slot: n.listVirtualContainer
93
93
  })(o.listVirtualContainer), $ = t("div", {
94
+ name: e,
95
+ slot: n.cardsVirtualContainer
96
+ })(o.cardsVirtualContainer), tt = t("div", {
97
+ name: e,
98
+ slot: n.cardsVirtualRowItem
99
+ })(o.cardsVirtualRowItem), et = t("div", {
94
100
  name: e,
95
101
  slot: n.containerLabelValueColumn
96
- })(o.containerLabelValueColumn), tt = t("div", {
102
+ })(o.containerLabelValueColumn), ot = t("div", {
97
103
  name: e,
98
104
  slot: n.contentWrapperColumn
99
- })(o.contentWrapperColumn), et = t("div", {
105
+ })(o.contentWrapperColumn), nt = t("div", {
100
106
  name: e,
101
107
  slot: n.cardDetailContainer
102
- })(o.cardDetailContainer), ot = t(r, {
108
+ })(o.cardDetailContainer), at = t(r, {
103
109
  name: e,
104
110
  slot: n.labelHeaderColumn
105
- })(o.labelHeaderColumn), nt = t(r, {
111
+ })(o.labelHeaderColumn), lt = t(r, {
106
112
  name: e,
107
113
  slot: n.valueColumn
108
- })(o.valueColumn), at = t("div", {
114
+ })(o.valueColumn), rt = t("div", {
109
115
  name: e,
110
116
  slot: n.checkboxCellWrapper
111
- })(o.checkboxCellWrapper), lt = t("div", {
117
+ })(o.checkboxCellWrapper), dt = t("div", {
112
118
  name: e,
113
119
  slot: n.editorCellWrapper
114
120
  })(o.editorCellWrapper);
@@ -136,46 +142,46 @@ t("div", {
136
142
  name: e,
137
143
  slot: n.customCardIconContainer
138
144
  })(o.customCardIconContainer);
139
- const rt = t("div", {
145
+ const st = t("div", {
140
146
  name: e,
141
147
  slot: n.tableWrapperDataGrid
142
- })(o.tableWrapperDataGrid), dt = t("div", {
148
+ })(o.tableWrapperDataGrid), it = t("div", {
143
149
  name: e,
144
150
  slot: n.draggableHeaderRoot
145
- })(o.draggableHeaderRoot), st = t(S, {
151
+ })(o.draggableHeaderRoot), ct = t(S, {
146
152
  name: e,
147
153
  slot: n.iconSearch
148
- })(o.iconSearch), it = t("div", {
154
+ })(o.iconSearch), mt = t("div", {
149
155
  name: e,
150
156
  slot: n.draggableWrapperInputBase
151
- })(o.draggableWrapperInputBase), ct = t(m, {
157
+ })(o.draggableWrapperInputBase), Ct = t(m, {
152
158
  name: e,
153
159
  slot: n.headerInputBase
154
- })(o.headerInputBase), mt = t("div", {
160
+ })(o.headerInputBase), ut = t("div", {
155
161
  name: e,
156
162
  slot: n.wrapperSkeleton
157
- })(o.wrapperSkeleton), Ct = t("div", {
163
+ })(o.wrapperSkeleton), pt = t("div", {
158
164
  name: e,
159
165
  slot: n.contentModalSetting
160
- })(o.contentModalSetting), ut = t("div", {
166
+ })(o.contentModalSetting), St = t("div", {
161
167
  name: e,
162
168
  slot: n.headerRenderClick
163
- })(o.headerRenderClick), pt = t(c, {
169
+ })(o.headerRenderClick), gt = t(c, {
164
170
  name: e,
165
171
  slot: n.menuList
166
- })(o.menuList), St = t("div", {
172
+ })(o.menuList), yt = t("div", {
167
173
  name: e,
168
174
  slot: n.buttonHeaderActions
169
- })(o.buttonHeaderActions), gt = t("div", {
175
+ })(o.buttonHeaderActions), vt = t("div", {
170
176
  name: e,
171
177
  slot: n.nameColumnIcon
172
- })(o.nameColumnIcon), yt = t("div", {
178
+ })(o.nameColumnIcon), Rt = t("div", {
173
179
  name: e,
174
180
  slot: n.iconColumn
175
- })(o.iconColumn), vt = t("div", {
181
+ })(o.iconColumn), ft = t("div", {
176
182
  name: e,
177
183
  slot: n.nameColumn
178
- })(o.nameColumn), Rt = t("div", {
184
+ })(o.nameColumn), bt = t("div", {
179
185
  name: e,
180
186
  slot: n.editablePlaceholder
181
187
  })(o.editablePlaceholder);
@@ -183,13 +189,13 @@ t(r, {
183
189
  name: e,
184
190
  slot: n.editLabel
185
191
  })(o.editLabel);
186
- const ft = t(g, {
192
+ const It = t(g, {
187
193
  name: e,
188
194
  slot: n.iconButtonEdit
189
- })(o.iconButtonEdit), bt = t("input", {
195
+ })(o.iconButtonEdit), Wt = t("input", {
190
196
  name: e,
191
197
  slot: C.inputTexEditor
192
- })(o.inputTexEditor), It = t("div", {
198
+ })(o.inputTexEditor), Ht = t("div", {
193
199
  name: e,
194
200
  slot: u.controlNavigate
195
201
  })(o.controlNavigate);
@@ -197,70 +203,72 @@ t("div", {
197
203
  name: e,
198
204
  slot: p.columnIconFormatter
199
205
  })(o.columnIconFormatter);
200
- const Wt = t("span", {
206
+ const Lt = t("span", {
201
207
  name: e,
202
208
  slot: n.defaultRenderGroupCellRoot
203
- })(o.defaultRenderGroupCellRoot), Ht = t("span", {
209
+ })(o.defaultRenderGroupCellRoot), ht = t("span", {
204
210
  name: e,
205
211
  slot: n.defaultRenderGroupCellText
206
- })(o.defaultRenderGroupCellText), Lt = t("span", {
212
+ })(o.defaultRenderGroupCellText), Tt = t("span", {
207
213
  name: e,
208
214
  slot: n.cellBackgroundWrapper
209
215
  })(o.cellBackgroundWrapper);
210
216
  export {
211
- D as ActionsConfigContainerStyled,
217
+ V as ActionsConfigContainerStyled,
212
218
  T as ActionsRootStyled,
213
- St as ButtonHeaderActionsStyled,
219
+ yt as ButtonHeaderActionsStyled,
214
220
  K as CardContentStyled,
215
221
  J as CardContentWrapperStyled,
216
- et as CardDetailContainerStyled,
222
+ nt as CardDetailContainerStyled,
217
223
  j as CardHeaderLeftStyled,
218
224
  q as CardHeaderRightStyled,
219
225
  X as CardHeaderStyled,
220
226
  _ as CardStyled,
221
227
  P as CardToggleButtonStyled,
222
228
  O as CardsContainerStyled,
223
- Lt as CellBackgroundWrapperStyled,
224
- at as CheckboxCellWrapperStyled,
229
+ $ as CardsVirtualContainerStyled,
230
+ tt as CardsVirtualRowItemStyled,
231
+ Tt as CellBackgroundWrapperStyled,
232
+ rt as CheckboxCellWrapperStyled,
225
233
  N as ColumnsConfigActiosStyled,
226
234
  k as ColumnsConfigDataGridStyled,
227
- V as ColumnsConfigSelColumnsStyled,
228
- E as ColumnsConfigWrapperStyled,
229
- $ as ContainerLabelValueColumnStyled,
235
+ E as ColumnsConfigSelColumnsStyled,
236
+ x as ColumnsConfigWrapperStyled,
237
+ et as ContainerLabelValueColumnStyled,
230
238
  B as ContainerLeftActionsStyled,
231
239
  A as ContainerRightActionsStyled,
232
240
  M as ContainerToggleCardsStyled,
233
- Ct as ContentModalSettingStyled,
234
- tt as ContentWrapperColumnStyled,
235
- It as ControlNavigateStyled,
241
+ pt as ContentModalSettingStyled,
242
+ ot as ContentWrapperColumnStyled,
243
+ Ht as ControlNavigateStyled,
236
244
  h as CustomHeaderStyled,
237
245
  L as DataGridRootStyled,
238
- Wt as DefaultRenderGroupCellRootStyled,
239
- Ht as DefaultRenderGroupCellTextStyled,
240
- dt as DraggableHeaderRootStyled,
241
- it as DraggableWrapperInputBaseStyled,
242
- Rt as EditablePlaceholderStyled,
243
- lt as EditorCellWrapperStyled,
244
- ct as HeaderInputBaseStyled,
245
- ut as HeaderRenderClickStyled,
246
- ft as IconButtonEditStyled,
247
- yt as IconColumnStyled,
248
- st as IconSearchStyled,
249
- bt as InputTextEditorStyled,
250
- ot as LabelHeaderColumnStyled,
246
+ Lt as DefaultRenderGroupCellRootStyled,
247
+ ht as DefaultRenderGroupCellTextStyled,
248
+ it as DraggableHeaderRootStyled,
249
+ mt as DraggableWrapperInputBaseStyled,
250
+ bt as EditablePlaceholderStyled,
251
+ dt as EditorCellWrapperStyled,
252
+ Ct as HeaderInputBaseStyled,
253
+ St as HeaderRenderClickStyled,
254
+ It as IconButtonEditStyled,
255
+ Rt as IconColumnStyled,
256
+ ct as IconSearchStyled,
257
+ Wt as InputTextEditorStyled,
258
+ at as LabelHeaderColumnStyled,
251
259
  Q as ListContainerStyled,
252
260
  Y as ListRowVirtualizedItemStyled,
253
261
  U as ListStyled,
254
262
  Z as ListVirtualContainerStyled,
255
- pt as MenuListStyled,
256
- gt as NameColumnIconStyled,
257
- vt as NameColumnStyled,
258
- w as RowsCountLabelStyled,
259
- G as RowsCountRootStyled,
260
- x as RowsCountValueStyled,
263
+ gt as MenuListStyled,
264
+ vt as NameColumnIconStyled,
265
+ ft as NameColumnStyled,
266
+ D as RowsCountLabelStyled,
267
+ w as RowsCountRootStyled,
268
+ G as RowsCountValueStyled,
261
269
  F as TableContainerStyled,
262
- rt as TableWrapperDataGridStyled,
270
+ st as TableWrapperDataGridStyled,
263
271
  z as TextToggleCardButtonStyled,
264
- nt as ValueColumnStyled,
265
- mt as WrapperSkeletonStyled
272
+ lt as ValueColumnStyled,
273
+ ut as WrapperSkeletonStyled
266
274
  };
@@ -1,7 +1,8 @@
1
1
  import { RowKey } from '../../types';
2
2
  import { CardsViewProps } from './types';
3
3
  /**
4
- * Componente que muestra las filas del DataGrid en formato de tarjetas.
4
+ * Componente que muestra las filas del DataGrid en formato de tarjetas con virtualización TanStack.
5
+ * Solo se montan en el DOM las filas de tarjetas visibles en el viewport (más el overscan).
5
6
  */
6
7
  export declare function CardsView<TRow, TSummaryRow, TKey extends RowKey = RowKey>(props: CardsViewProps<TRow, TSummaryRow, TKey>): import("@emotion/react/jsx-runtime").JSX.Element | null;
7
8
  //# sourceMappingURL=CardsView.d.ts.map