@envisiongroup/porygon 0.1.0-rc.2 → 0.1.0-rc.4

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 (41) hide show
  1. package/dist/react-components/fields/EFWAttachments/EFWAttachments.js +68 -67
  2. package/dist/react-components/fields/EFWAttachments/EFWAttachments.types.d.ts +8 -2
  3. package/dist/react-components/fields/EFWAttachmentsField/EFWAttachmentsField.js +18 -16
  4. package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.js +79 -100
  5. package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.types.d.ts +6 -1
  6. package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.utils.d.ts +2 -0
  7. package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.utils.js +33 -19
  8. package/dist/react-components/fields/EFWDatePickerField/EFWDatePickerField.js +35 -33
  9. package/dist/react-components/fields/EFWField/EFWField.d.ts +2 -1
  10. package/dist/react-components/fields/EFWField/EFWField.js +39 -33
  11. package/dist/react-components/fields/EFWInput/EFWInput.js +86 -67
  12. package/dist/react-components/fields/EFWInput/EFWInput.types.d.ts +13 -1
  13. package/dist/react-components/fields/EFWInput/EFWInput.utils.js +32 -33
  14. package/dist/react-components/fields/EFWInputField/EFWInputField.js +33 -31
  15. package/dist/react-components/fields/EFWNumberInput/EFWNumberInput.js +136 -121
  16. package/dist/react-components/fields/EFWNumberInput/EFWNumberInput.types.d.ts +12 -0
  17. package/dist/react-components/fields/EFWNumberInputField/EFWNumberInputField.js +31 -29
  18. package/dist/react-components/fields/EFWSwitch/EFWSwitch.js +36 -35
  19. package/dist/react-components/fields/EFWSwitch/EFWSwitch.types.d.ts +6 -0
  20. package/dist/react-components/fields/EFWSwitchField/EFWSwitchField.js +24 -22
  21. package/dist/react-components/fields/EFWSwitchField/EFWSwitchField.types.d.ts +1 -1
  22. package/dist/react-components/fields/EFWTagPicker/EFWTagPicker.js +122 -113
  23. package/dist/react-components/fields/EFWTagPicker/EFWTagPicker.types.d.ts +7 -2
  24. package/dist/react-components/fields/EFWTagPickerField/EFWTagPickerField.js +31 -29
  25. package/dist/react-components/fields/EFWTextArea/EFWTextArea.js +59 -57
  26. package/dist/react-components/fields/EFWTextArea/EFWTextArea.types.d.ts +6 -2
  27. package/dist/react-components/fields/EFWTextAreaField/EFWTextAreaField.js +31 -29
  28. package/dist/react-components/forms/EFWForm/EFWForm.d.ts +2 -1
  29. package/dist/react-components/forms/EFWForm/EFWForm.js +245 -210
  30. package/dist/react-components/forms/EFWForm/EFWForm.types.d.ts +13 -8
  31. package/dist/react-components/forms/EFWForm/EFWForm.utils.js +212 -179
  32. package/dist/react-components/tables/EFWTable/EFWTable.d.ts +1 -1
  33. package/dist/react-components/tables/EFWTable/EFWTable.js +473 -392
  34. package/dist/react-components/tables/EFWTable/EFWTable.types.d.ts +21 -0
  35. package/dist/react-components/tables/EFWTable/components/EFWTableCell/EFWTableCell.js +1 -1
  36. package/dist/react-components/tables/EFWTable/components/EFWTableCommandBar/EFWTableCommandBar.js +68 -77
  37. package/dist/react-components/tables/EFWTable/components/EFWTableHeader/EFWTableHeader.js +4 -4
  38. package/dist/react-components/tables/EFWTable/hooks/useDefaultDeleteButton/useDefaultDeleteButton.js +33 -30
  39. package/dist/react-components/tables/EFWTable/hooks/useDefaultUpdateButton/useDefaultUpdateButton.js +1 -1
  40. package/dist/react-components/tables/EFWTable/hooks/useTableController/useTableController.js +1 -1
  41. package/package.json +1 -1
@@ -1,252 +1,285 @@
1
1
  import { jsx as m, jsxs as g } from "react/jsx-runtime";
2
- import { memo as q, useState as S, useCallback as h, useMemo as L } from "react";
3
- import { EFWInputField as M } from "../../fields/EFWInputField/EFWInputField.js";
2
+ import { memo as D, useState as F, useCallback as h, useMemo as L } from "react";
3
+ import { EFWInputField as q } from "../../fields/EFWInputField/EFWInputField.js";
4
4
  import { EFWNumberInputField as A } from "../../fields/EFWNumberInputField/EFWNumberInputField.js";
5
- import { EFWTextAreaField as y } from "../../fields/EFWTextAreaField/EFWTextAreaField.js";
6
- import { EFWSwitchField as P } from "../../fields/EFWSwitchField/EFWSwitchField.js";
5
+ import { EFWTextAreaField as M } from "../../fields/EFWTextAreaField/EFWTextAreaField.js";
6
+ import { EFWSwitchField as y } from "../../fields/EFWSwitchField/EFWSwitchField.js";
7
7
  import { EFWTagPickerField as T } from "../../fields/EFWTagPickerField/EFWTagPickerField.js";
8
- import { EFWDatePickerField as E } from "../../fields/EFWDatePickerField/EFWDatePickerField.js";
9
- import { EFWAttachmentsField as W } from "../../fields/EFWAttachmentsField/EFWAttachmentsField.js";
10
- const Y = (t) => {
8
+ import { EFWDatePickerField as V } from "../../fields/EFWDatePickerField/EFWDatePickerField.js";
9
+ import { EFWAttachmentsField as P } from "../../fields/EFWAttachmentsField/EFWAttachmentsField.js";
10
+ const X = (t) => {
11
11
  if (typeof t == "number")
12
12
  return t > 1 ? `repeat(${t}, 1fr)` : "1fr";
13
13
  if (t?.autoFit) {
14
- const { minColumnWidth: e, maxColumns: i } = t.autoFit;
15
- return i ? `repeat(auto-fit, minmax(clamp(${e}, 100% / ${i + 1}, 100% / 1), 1fr))` : `repeat(auto-fit, minmax(${e}, 1fr))`;
14
+ const { minColumnWidth: e, maxColumns: a } = t.autoFit;
15
+ return a ? `repeat(auto-fit, minmax(clamp(${e}, 100% / ${a + 1}, 100% / 1), 1fr))` : `repeat(auto-fit, minmax(${e}, 1fr))`;
16
16
  }
17
17
  return "1fr";
18
- }, k = ({
18
+ }, O = ({
19
19
  field: t,
20
20
  initialValue: e,
21
- onValueChange: i,
22
- registerUpdateProps: l,
23
- fieldLogic: n,
24
- getAllValues: f,
25
- updateFieldProps: s,
26
- onValidationChange: d
21
+ onValueChange: a,
22
+ registerUpdateProps: i,
23
+ fieldLogic: l,
24
+ getAllValues: n,
25
+ updateFieldProps: u,
26
+ onValidationChange: c
27
27
  }) => {
28
- const [r, u] = S(e), [v, x] = S({
28
+ const [o, f] = F(e), [b, x] = F({
29
29
  title: t.title,
30
30
  required: t.required,
31
31
  editable: t.editable,
32
32
  disabled: t.disabled,
33
33
  validationState: t.validationState,
34
34
  validationMessage: t.validationMessage
35
- }), o = h(
36
- (a, b) => {
37
- console.log("handleChange:", a, b), u(a), n && n(a, f(), s), i(t.internalName, a);
35
+ }), r = h(
36
+ (d, v) => {
37
+ console.log("handleChange:", d, v), f(d), l && l(d, n(), u), a(t.internalName, d);
38
38
  },
39
- [t.internalName, i, n, f, s]
40
- ), F = h((a) => {
41
- x((b) => ({ ...b, ...a })), "value" in a && a.value !== void 0 ? u(a.value) : "selectedOptions" in a && a.selectedOptions !== void 0 ? u(a.selectedOptions) : "selectedDates" in a && a.selectedDates !== void 0 ? u(a.selectedDates) : "files" in a && a.files !== void 0 && u(a.files);
39
+ [t.internalName, a, l, n, u]
40
+ ), S = h((d) => {
41
+ x((v) => ({ ...v, ...d })), "value" in d ? f(d.value) : "selectedOptions" in d && d.selectedOptions !== void 0 ? f(d.selectedOptions) : "selectedDates" in d ? f(d.selectedDates) : "files" in d && d.files !== void 0 && f(d.files);
42
42
  }, []);
43
- h(() => l(t.internalName, F), [t.internalName, l, F])();
44
- const c = L(
43
+ h(() => i(t.internalName, S), [t.internalName, i, S])();
44
+ const s = L(
45
45
  () => ({
46
46
  ...t,
47
- ...v
47
+ ...b
48
48
  }),
49
- [t, v]
49
+ [t, b]
50
50
  );
51
51
  return t.typeAsString === "Text" ? /* @__PURE__ */ m(
52
- M,
52
+ q,
53
53
  {
54
- ...N(
54
+ ...E(
55
55
  t,
56
- c,
57
- r,
56
+ s,
58
57
  o,
59
- d
58
+ r,
59
+ c
60
60
  )
61
61
  }
62
62
  ) : t.typeAsString === "Number" ? /* @__PURE__ */ m(
63
63
  A,
64
64
  {
65
- ...D(
65
+ ...W(
66
66
  t,
67
- c,
68
- r,
67
+ s,
69
68
  o,
70
- d
69
+ r,
70
+ c
71
71
  )
72
72
  }
73
73
  ) : t.typeAsString === "Note" ? /* @__PURE__ */ m(
74
- y,
74
+ M,
75
75
  {
76
- ...B(
76
+ ...k(
77
77
  t,
78
- c,
79
- r,
78
+ s,
80
79
  o,
81
- d
80
+ r,
81
+ c
82
82
  )
83
83
  }
84
84
  ) : t.typeAsString === "Boolean" ? /* @__PURE__ */ m(
85
- P,
85
+ y,
86
86
  {
87
- ...I(
87
+ ...$(
88
88
  t,
89
- c,
90
- r,
89
+ s,
91
90
  o,
92
- d
91
+ r,
92
+ c
93
93
  )
94
94
  }
95
95
  ) : t.typeAsString === "Choice" || t.typeAsString === "MultiChoice" ? /* @__PURE__ */ m(
96
96
  T,
97
97
  {
98
- ...O(
98
+ ...N(
99
99
  t,
100
- c,
101
- r,
100
+ s,
102
101
  o,
103
- d
102
+ r,
103
+ c
104
104
  )
105
105
  }
106
106
  ) : t.typeAsString === "Date" ? /* @__PURE__ */ m(
107
- E,
107
+ V,
108
108
  {
109
- ...$(
109
+ ...R(
110
110
  t,
111
- c,
112
- r,
111
+ s,
113
112
  o,
114
- d
113
+ r,
114
+ c
115
115
  )
116
116
  }
117
117
  ) : t.typeAsString === "Attachments" ? /* @__PURE__ */ m(
118
- W,
118
+ P,
119
119
  {
120
- ...j(
120
+ ...B(
121
121
  t,
122
- c,
123
- r,
122
+ s,
124
123
  o,
125
- d
124
+ r,
125
+ c
126
126
  )
127
127
  }
128
128
  ) : /* @__PURE__ */ g("div", { children: [
129
129
  "Tipo de campo no soportado: ",
130
130
  t
131
131
  ] });
132
- }, Z = q(k), N = (t, e, i, l, n) => ({
133
- title: e.title || t.title,
134
- type: "text",
135
- formatType: e.formatType,
136
- formatPattern: e.formatPattern,
137
- value: i || "",
138
- contentAfter: e.contentAfter,
139
- contentBefore: e.contentBefore,
140
- onChange: l,
141
- onValidationChange: n,
142
- infoLabel: e.infoLabel,
143
- hint: e.hint,
144
- hidden: e.hidden || !1,
145
- minLength: e.minLength || 0,
146
- maxLength: e.maxLength || 250,
147
- placeholder: e.placeholder ? e.placeholder : e.formatType == "chileanRut" ? "Ej: 11.111.111-1" : "Escriba aquí el texto",
148
- required: e.required || !1,
149
- editable: e.editable !== void 0 ? e.editable : !0,
150
- disabled: e.disabled || !1,
151
- validationState: e.validationState || "none",
152
- validationMessage: e.validationMessage || "",
153
- formatFunction: e.formatFunction
154
- }), D = (t, e, i, l, n) => ({
155
- title: e.title || t.title,
156
- contentAfter: e.contentAfter,
157
- contentBefore: e.contentBefore,
158
- minValue: e.minValue,
159
- maxValue: e.maxValue,
160
- thousandSeparator: e.thousandSeparator,
161
- decimalSeparator: e.decimalSeparator,
162
- value: i,
163
- onChange: l,
164
- onValidationChange: n,
165
- infoLabel: e.infoLabel,
166
- hint: e.hint,
167
- placeholder: e.placeholder || "Escriba aquí el número",
168
- hidden: e.hidden || !1,
169
- required: e.required || !1,
170
- editable: e.editable !== void 0 ? e.editable : !0,
171
- disabled: e.disabled || !1,
172
- validationState: e.validationState || "none",
173
- validationMessage: e.validationMessage || ""
174
- }), B = (t, e, i, l, n) => ({
175
- title: e.title || t.title,
176
- value: i || "",
177
- onChange: l,
178
- onValidationChange: n,
179
- infoLabel: e.infoLabel,
180
- hint: e.hint,
181
- maxLength: e.maxLength || 3e3,
182
- placeholder: e.placeholder ? e.placeholder : "Escriba aquí el texto",
183
- hidden: e.hidden || !1,
184
- required: e.required || !1,
185
- editable: e.editable !== void 0 ? e.editable : !0,
186
- disabled: e.disabled || !1,
187
- validationState: e.validationState || "none",
188
- validationMessage: e.validationMessage || "",
189
- formatFunction: e.formatFunction
190
- }), O = (t, e, i, l, n) => ({
191
- title: e.title || t.title,
192
- onChange: l,
193
- onValidationChange: n,
194
- infoLabel: e.infoLabel,
195
- hint: e.hint,
196
- placeholder: e.placeholder,
197
- hidden: e.hidden || !1,
198
- required: e.required || !1,
199
- editable: e.editable !== void 0 ? e.editable : !0,
200
- disabled: e.disabled || !1,
201
- validationState: e.validationState || "none",
202
- validationMessage: e.validationMessage || "",
203
- multiple: e.multiple ?? t.multiple,
204
- options: e.options || t.options || [],
205
- selectedOptions: i || t.selectedOptions || []
206
- }), $ = (t, e, i, l, n) => ({
207
- title: e.title || t.title,
208
- onChange: l,
209
- onValidationChange: n,
210
- infoLabel: e.infoLabel,
211
- hint: e.hint,
212
- placeholder: e.placeholder,
213
- hidden: e.hidden || !1,
214
- required: e.required || !1,
215
- editable: e.editable !== void 0 ? e.editable : !0,
216
- disabled: e.disabled || !1,
217
- validationState: e.validationState || "none",
218
- validationMessage: e.validationMessage || "",
219
- selectedDates: i || []
220
- }), j = (t, e, i, l, n) => ({
221
- title: e.title || t.title,
222
- onChange: l,
223
- onValidationChange: n,
224
- infoLabel: e.infoLabel,
225
- hint: e.hint,
226
- hidden: e.hidden || !1,
227
- required: e.required || !1,
228
- editable: e.editable !== void 0 ? e.editable : !0,
229
- disabled: e.disabled || !1,
230
- validationState: e.validationState || "none",
231
- validationMessage: e.validationMessage || "",
232
- files: i || []
233
- }), I = (t, e, i, l, n) => ({
234
- title: e.title || t.title,
235
- value: i || !1,
236
- onChange: l,
237
- checkedText: e.checkedText || "",
238
- uncheckedText: e.uncheckedText || "No",
239
- onValidationChange: n,
240
- infoLabel: e.infoLabel,
241
- hint: e.hint,
242
- hidden: e.hidden || !1,
243
- required: e.required || !1,
244
- editable: e.editable !== void 0 ? e.editable : !0,
245
- disabled: e.disabled || !1,
246
- validationState: e.validationState || "none",
247
- validationMessage: e.validationMessage || ""
248
- });
132
+ }, Y = D(O), E = (t, e, a, i, l) => {
133
+ const n = a !== void 0 ? a : e.value, u = e.defaultValue !== void 0 ? e.defaultValue : t.defaultValue;
134
+ return {
135
+ title: e.title || t.title,
136
+ type: "text",
137
+ formatType: e.formatType,
138
+ formatPattern: e.formatPattern,
139
+ value: n,
140
+ defaultValue: u,
141
+ contentAfter: e.contentAfter,
142
+ contentBefore: e.contentBefore,
143
+ onChange: i,
144
+ onValidationChange: l,
145
+ infoLabel: e.infoLabel,
146
+ hint: e.hint,
147
+ hidden: e.hidden || !1,
148
+ minLength: e.minLength || 0,
149
+ maxLength: e.maxLength || 250,
150
+ placeholder: e.placeholder ? e.placeholder : e.formatType == "chileanRut" ? "Ej: 11.111.111-1" : "Escriba aquí el texto",
151
+ required: e.required || !1,
152
+ editable: e.editable !== void 0 ? e.editable : !0,
153
+ disabled: e.disabled || !1,
154
+ validationState: e.validationState || "none",
155
+ validationMessage: e.validationMessage || "",
156
+ formatFunction: e.formatFunction
157
+ };
158
+ }, W = (t, e, a, i, l) => {
159
+ const n = e.defaultValue !== void 0 ? e.defaultValue : t.defaultValue;
160
+ return {
161
+ title: e.title || t.title,
162
+ contentAfter: e.contentAfter,
163
+ contentBefore: e.contentBefore,
164
+ minValue: e.minValue,
165
+ maxValue: e.maxValue,
166
+ thousandSeparator: e.thousandSeparator,
167
+ decimalSeparator: e.decimalSeparator,
168
+ value: a,
169
+ defaultValue: n,
170
+ onChange: i,
171
+ onValidationChange: l,
172
+ infoLabel: e.infoLabel,
173
+ hint: e.hint,
174
+ placeholder: e.placeholder || "Escriba aquí el número",
175
+ hidden: e.hidden || !1,
176
+ required: e.required || !1,
177
+ editable: e.editable !== void 0 ? e.editable : !0,
178
+ disabled: e.disabled || !1,
179
+ validationState: e.validationState || "none",
180
+ validationMessage: e.validationMessage || ""
181
+ };
182
+ }, k = (t, e, a, i, l) => {
183
+ const n = a !== void 0 ? a : e.value, u = e.defaultValue !== void 0 ? e.defaultValue : t.defaultValue, c = e.maxLength ?? t.maxLength ?? 3e3, o = e.placeholder ?? t.placeholder ?? "Escriba aquí el texto";
184
+ return {
185
+ title: e.title || t.title,
186
+ value: n,
187
+ defaultValue: u,
188
+ onChange: i,
189
+ onValidationChange: l,
190
+ infoLabel: e.infoLabel,
191
+ hint: e.hint,
192
+ maxLength: c,
193
+ placeholder: o,
194
+ hidden: e.hidden || !1,
195
+ required: e.required || !1,
196
+ editable: e.editable !== void 0 ? e.editable : !0,
197
+ disabled: e.disabled || !1,
198
+ validationState: e.validationState || "none",
199
+ validationMessage: e.validationMessage || "",
200
+ formatFunction: e.formatFunction
201
+ };
202
+ }, N = (t, e, a, i, l) => {
203
+ const n = a ?? e.selectedOptions ?? t.selectedOptions ?? [], u = e.defaultSelectedOptions ?? t.defaultSelectedOptions ?? [];
204
+ return {
205
+ title: e.title || t.title,
206
+ onChange: i,
207
+ onValidationChange: l,
208
+ infoLabel: e.infoLabel,
209
+ hint: e.hint,
210
+ placeholder: e.placeholder,
211
+ hidden: e.hidden || !1,
212
+ required: e.required || !1,
213
+ editable: e.editable !== void 0 ? e.editable : !0,
214
+ disabled: e.disabled || !1,
215
+ validationState: e.validationState || "none",
216
+ validationMessage: e.validationMessage || "",
217
+ multiple: e.multiple ?? t.multiple,
218
+ options: e.options ?? t.options ?? [],
219
+ selectedOptions: n,
220
+ defaultSelectedOptions: u,
221
+ beforeRenderOptions: e.beforeRenderOptions ?? t.beforeRenderOptions
222
+ };
223
+ }, R = (t, e, a, i, l) => {
224
+ const n = a !== void 0 ? a : e.selectedDates !== void 0 ? e.selectedDates : void 0, u = e.defaultSelectedDates ?? t.defaultSelectedDates ?? [];
225
+ return {
226
+ title: e.title || t.title,
227
+ onChange: i,
228
+ onValidationChange: l,
229
+ infoLabel: e.infoLabel,
230
+ hint: e.hint,
231
+ placeholder: e.placeholder,
232
+ hidden: e.hidden || !1,
233
+ required: e.required || !1,
234
+ editable: e.editable !== void 0 ? e.editable : !0,
235
+ disabled: e.disabled || !1,
236
+ validationState: e.validationState || "none",
237
+ validationMessage: e.validationMessage || "",
238
+ selectedDates: n ?? [],
239
+ defaultSelectedDates: u
240
+ };
241
+ }, B = (t, e, a, i, l) => {
242
+ const n = e.files !== void 0 ? e.files : a, u = e.defaultFiles ?? t.defaultFiles;
243
+ return {
244
+ title: e.title || t.title,
245
+ onChange: i,
246
+ onValidationChange: l,
247
+ infoLabel: e.infoLabel,
248
+ hint: e.hint,
249
+ hidden: e.hidden || !1,
250
+ required: e.required || !1,
251
+ editable: e.editable !== void 0 ? e.editable : !0,
252
+ disabled: e.disabled || !1,
253
+ validationState: e.validationState || "none",
254
+ validationMessage: e.validationMessage || "",
255
+ files: n ?? [],
256
+ defaultFiles: u ?? [],
257
+ multiple: e.multiple ?? t.multiple,
258
+ acceptedTypes: e.acceptedTypes ?? t.acceptedTypes,
259
+ maxFileSize: e.maxFileSize ?? t.maxFileSize,
260
+ onRemoveAttachment: e.onRemoveAttachment ?? t.onRemoveAttachment
261
+ };
262
+ }, $ = (t, e, a, i, l) => {
263
+ const n = a !== void 0 ? a : e.value, u = e.defaultValue !== void 0 ? e.defaultValue : t.defaultValue;
264
+ return {
265
+ title: e.title || t.title,
266
+ value: n,
267
+ defaultValue: u,
268
+ onChange: i,
269
+ checkedText: e.checkedText || "Sí",
270
+ uncheckedText: e.uncheckedText || "No",
271
+ onValidationChange: l,
272
+ infoLabel: e.infoLabel,
273
+ hint: e.hint,
274
+ hidden: e.hidden || !1,
275
+ required: e.required || !1,
276
+ editable: e.editable !== void 0 ? e.editable : !0,
277
+ disabled: e.disabled || !1,
278
+ validationState: e.validationState || "none",
279
+ validationMessage: e.validationMessage || ""
280
+ };
281
+ };
249
282
  export {
250
- Z as EFWFormFieldWrapper,
251
- Y as generateGridTemplateColumns
283
+ Y as EFWFormFieldWrapper,
284
+ X as generateGridTemplateColumns
252
285
  };
@@ -5,4 +5,4 @@ export declare const COLS_MIN_WIDTH = 80;
5
5
  export declare const COLS_MAX_WIDTH = 2500;
6
6
  export declare const SELECTOR_CELL_WIDTH = 48;
7
7
  export declare const SELECTOR_CELL_HEIGHT = 48;
8
- export declare const EFWTable: ({ appearance, style, className, fields, items: initialItems, height, itemSize, enableSelection, enableCommandBar, defaultSelectedItems, onSelectionChange, onRowClick, resizableColumns, columnSizing: columnSizingOptions, useVirtualization, autoSizeColumns, tableRef: externalTableRef, onItemsChange, onScroll, addButtonConfig, updateButtonConfig, deleteButtonConfig, alwaysButtons, noSelectionButtons, singleSelectionButtons, multiSelectionButtons, beforeAddItems, beforeUpdateItems, beforeDeleteItems, columnRenderers, useDefaultRendererAsFallback, }: EFWTableProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const EFWTable: ({ appearance, style, className, fields, items: itemsProp, defaultItems, height, itemSize, enableSelection, enableCommandBar, defaultSelectedItems, onSelectionChange, onRowClick, resizableColumns, columnSizing: columnSizingOptions, useVirtualization, autoSizeColumns, tableRef: externalTableRef, onItemsChange, onScroll, addButtonConfig, updateButtonConfig, deleteButtonConfig, alwaysButtons, noSelectionButtons, singleSelectionButtons, multiSelectionButtons, beforeAddItems, beforeUpdateItems, beforeDeleteItems, columnRenderers, useDefaultRendererAsFallback, }: EFWTableProps) => import("react/jsx-runtime").JSX.Element;