@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.
- package/dist/react-components/fields/EFWAttachments/EFWAttachments.js +68 -67
- package/dist/react-components/fields/EFWAttachments/EFWAttachments.types.d.ts +8 -2
- package/dist/react-components/fields/EFWAttachmentsField/EFWAttachmentsField.js +18 -16
- package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.js +79 -100
- package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.types.d.ts +6 -1
- package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.utils.d.ts +2 -0
- package/dist/react-components/fields/EFWDatePicker/EFWDatePicker.utils.js +33 -19
- package/dist/react-components/fields/EFWDatePickerField/EFWDatePickerField.js +35 -33
- package/dist/react-components/fields/EFWField/EFWField.d.ts +2 -1
- package/dist/react-components/fields/EFWField/EFWField.js +39 -33
- package/dist/react-components/fields/EFWInput/EFWInput.js +86 -67
- package/dist/react-components/fields/EFWInput/EFWInput.types.d.ts +13 -1
- package/dist/react-components/fields/EFWInput/EFWInput.utils.js +32 -33
- package/dist/react-components/fields/EFWInputField/EFWInputField.js +33 -31
- package/dist/react-components/fields/EFWNumberInput/EFWNumberInput.js +136 -121
- package/dist/react-components/fields/EFWNumberInput/EFWNumberInput.types.d.ts +12 -0
- package/dist/react-components/fields/EFWNumberInputField/EFWNumberInputField.js +31 -29
- package/dist/react-components/fields/EFWSwitch/EFWSwitch.js +36 -35
- package/dist/react-components/fields/EFWSwitch/EFWSwitch.types.d.ts +6 -0
- package/dist/react-components/fields/EFWSwitchField/EFWSwitchField.js +24 -22
- package/dist/react-components/fields/EFWSwitchField/EFWSwitchField.types.d.ts +1 -1
- package/dist/react-components/fields/EFWTagPicker/EFWTagPicker.js +122 -113
- package/dist/react-components/fields/EFWTagPicker/EFWTagPicker.types.d.ts +7 -2
- package/dist/react-components/fields/EFWTagPickerField/EFWTagPickerField.js +31 -29
- package/dist/react-components/fields/EFWTextArea/EFWTextArea.js +59 -57
- package/dist/react-components/fields/EFWTextArea/EFWTextArea.types.d.ts +6 -2
- package/dist/react-components/fields/EFWTextAreaField/EFWTextAreaField.js +31 -29
- package/dist/react-components/forms/EFWForm/EFWForm.d.ts +2 -1
- package/dist/react-components/forms/EFWForm/EFWForm.js +245 -210
- package/dist/react-components/forms/EFWForm/EFWForm.types.d.ts +13 -8
- package/dist/react-components/forms/EFWForm/EFWForm.utils.js +212 -179
- package/dist/react-components/tables/EFWTable/EFWTable.d.ts +1 -1
- package/dist/react-components/tables/EFWTable/EFWTable.js +473 -392
- package/dist/react-components/tables/EFWTable/EFWTable.types.d.ts +21 -0
- package/dist/react-components/tables/EFWTable/components/EFWTableCell/EFWTableCell.js +1 -1
- package/dist/react-components/tables/EFWTable/components/EFWTableCommandBar/EFWTableCommandBar.js +68 -77
- package/dist/react-components/tables/EFWTable/components/EFWTableHeader/EFWTableHeader.js +4 -4
- package/dist/react-components/tables/EFWTable/hooks/useDefaultDeleteButton/useDefaultDeleteButton.js +33 -30
- package/dist/react-components/tables/EFWTable/hooks/useDefaultUpdateButton/useDefaultUpdateButton.js +1 -1
- package/dist/react-components/tables/EFWTable/hooks/useTableController/useTableController.js +1 -1
- 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
|
|
3
|
-
import { EFWInputField as
|
|
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
|
|
6
|
-
import { EFWSwitchField as
|
|
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
|
|
9
|
-
import { EFWAttachmentsField as
|
|
10
|
-
const
|
|
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:
|
|
15
|
-
return
|
|
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
|
-
},
|
|
18
|
+
}, O = ({
|
|
19
19
|
field: t,
|
|
20
20
|
initialValue: e,
|
|
21
|
-
onValueChange:
|
|
22
|
-
registerUpdateProps:
|
|
23
|
-
fieldLogic:
|
|
24
|
-
getAllValues:
|
|
25
|
-
updateFieldProps:
|
|
26
|
-
onValidationChange:
|
|
21
|
+
onValueChange: a,
|
|
22
|
+
registerUpdateProps: i,
|
|
23
|
+
fieldLogic: l,
|
|
24
|
+
getAllValues: n,
|
|
25
|
+
updateFieldProps: u,
|
|
26
|
+
onValidationChange: c
|
|
27
27
|
}) => {
|
|
28
|
-
const [
|
|
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
|
-
}),
|
|
36
|
-
(
|
|
37
|
-
console.log("handleChange:",
|
|
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,
|
|
40
|
-
),
|
|
41
|
-
x((
|
|
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(() =>
|
|
44
|
-
const
|
|
43
|
+
h(() => i(t.internalName, S), [t.internalName, i, S])();
|
|
44
|
+
const s = L(
|
|
45
45
|
() => ({
|
|
46
46
|
...t,
|
|
47
|
-
...
|
|
47
|
+
...b
|
|
48
48
|
}),
|
|
49
|
-
[t,
|
|
49
|
+
[t, b]
|
|
50
50
|
);
|
|
51
51
|
return t.typeAsString === "Text" ? /* @__PURE__ */ m(
|
|
52
|
-
|
|
52
|
+
q,
|
|
53
53
|
{
|
|
54
|
-
...
|
|
54
|
+
...E(
|
|
55
55
|
t,
|
|
56
|
-
|
|
57
|
-
r,
|
|
56
|
+
s,
|
|
58
57
|
o,
|
|
59
|
-
|
|
58
|
+
r,
|
|
59
|
+
c
|
|
60
60
|
)
|
|
61
61
|
}
|
|
62
62
|
) : t.typeAsString === "Number" ? /* @__PURE__ */ m(
|
|
63
63
|
A,
|
|
64
64
|
{
|
|
65
|
-
...
|
|
65
|
+
...W(
|
|
66
66
|
t,
|
|
67
|
-
|
|
68
|
-
r,
|
|
67
|
+
s,
|
|
69
68
|
o,
|
|
70
|
-
|
|
69
|
+
r,
|
|
70
|
+
c
|
|
71
71
|
)
|
|
72
72
|
}
|
|
73
73
|
) : t.typeAsString === "Note" ? /* @__PURE__ */ m(
|
|
74
|
-
|
|
74
|
+
M,
|
|
75
75
|
{
|
|
76
|
-
...
|
|
76
|
+
...k(
|
|
77
77
|
t,
|
|
78
|
-
|
|
79
|
-
r,
|
|
78
|
+
s,
|
|
80
79
|
o,
|
|
81
|
-
|
|
80
|
+
r,
|
|
81
|
+
c
|
|
82
82
|
)
|
|
83
83
|
}
|
|
84
84
|
) : t.typeAsString === "Boolean" ? /* @__PURE__ */ m(
|
|
85
|
-
|
|
85
|
+
y,
|
|
86
86
|
{
|
|
87
|
-
|
|
87
|
+
...$(
|
|
88
88
|
t,
|
|
89
|
-
|
|
90
|
-
r,
|
|
89
|
+
s,
|
|
91
90
|
o,
|
|
92
|
-
|
|
91
|
+
r,
|
|
92
|
+
c
|
|
93
93
|
)
|
|
94
94
|
}
|
|
95
95
|
) : t.typeAsString === "Choice" || t.typeAsString === "MultiChoice" ? /* @__PURE__ */ m(
|
|
96
96
|
T,
|
|
97
97
|
{
|
|
98
|
-
...
|
|
98
|
+
...N(
|
|
99
99
|
t,
|
|
100
|
-
|
|
101
|
-
r,
|
|
100
|
+
s,
|
|
102
101
|
o,
|
|
103
|
-
|
|
102
|
+
r,
|
|
103
|
+
c
|
|
104
104
|
)
|
|
105
105
|
}
|
|
106
106
|
) : t.typeAsString === "Date" ? /* @__PURE__ */ m(
|
|
107
|
-
|
|
107
|
+
V,
|
|
108
108
|
{
|
|
109
|
-
|
|
109
|
+
...R(
|
|
110
110
|
t,
|
|
111
|
-
|
|
112
|
-
r,
|
|
111
|
+
s,
|
|
113
112
|
o,
|
|
114
|
-
|
|
113
|
+
r,
|
|
114
|
+
c
|
|
115
115
|
)
|
|
116
116
|
}
|
|
117
117
|
) : t.typeAsString === "Attachments" ? /* @__PURE__ */ m(
|
|
118
|
-
|
|
118
|
+
P,
|
|
119
119
|
{
|
|
120
|
-
...
|
|
120
|
+
...B(
|
|
121
121
|
t,
|
|
122
|
-
|
|
123
|
-
r,
|
|
122
|
+
s,
|
|
124
123
|
o,
|
|
125
|
-
|
|
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
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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
|
-
|
|
251
|
-
|
|
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:
|
|
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;
|