@zauru-sdk/components 1.0.25 → 1.0.27
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/CHANGELOG.md +16 -0
- package/dist/Alerts/index.d.ts +2 -2
- package/dist/Alerts/index.js +2 -2
- package/dist/BlockUI/index.d.ts +1 -1
- package/dist/BlockUI/index.js +1 -1
- package/dist/Buttons/index.d.ts +1 -1
- package/dist/Buttons/index.js +1 -1
- package/dist/Card/index.d.ts +1 -1
- package/dist/Card/index.js +1 -1
- package/dist/Chat/index.d.ts +2 -2
- package/dist/Chat/index.js +2 -2
- package/dist/ConnectionState/index.d.ts +1 -1
- package/dist/ConnectionState/index.js +1 -1
- package/dist/Containers/index.d.ts +7 -7
- package/dist/Containers/index.js +7 -7
- package/dist/DynamicTable/DynamicTable.d.ts +24 -0
- package/dist/DynamicTable/DynamicTable.js +192 -0
- package/dist/DynamicTable/index.d.ts +4 -24
- package/dist/DynamicTable/index.js +4 -193
- package/dist/Footer/index.d.ts +1 -1
- package/dist/Footer/index.js +1 -1
- package/dist/Form/FieldContainer/index.d.ts +3 -3
- package/dist/Form/FieldContainer/index.js +3 -3
- package/dist/Form/index.d.ts +13 -13
- package/dist/Form/index.js +13 -13
- package/dist/Labels/index.d.ts +1 -1
- package/dist/Labels/index.js +1 -1
- package/dist/Layouts/index.d.ts +1 -1
- package/dist/Layouts/index.js +1 -1
- package/dist/LineSeparator/index.d.ts +1 -1
- package/dist/LineSeparator/index.js +1 -1
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/NavBar/index.d.ts +3 -3
- package/dist/NavBar/index.js +3 -3
- package/dist/ProgressBar/index.d.ts +2 -2
- package/dist/ProgressBar/index.js +2 -2
- package/dist/Skeletons/index.d.ts +1 -1
- package/dist/Skeletons/index.js +1 -1
- package/dist/Tab/index.d.ts +1 -1
- package/dist/Tab/index.js +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/TaskList/index.d.ts +1 -1
- package/dist/TaskList/index.js +1 -1
- package/dist/Titles/index.d.ts +5 -5
- package/dist/Titles/index.js +5 -5
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/WithTooltip/index.d.ts +1 -1
- package/dist/WithTooltip/index.js +1 -1
- package/dist/Wizards/index.d.ts +1 -1
- package/dist/Wizards/index.js +1 -1
- package/dist/Zendesk/index.d.ts +2 -2
- package/dist/Zendesk/index.js +2 -2
- package/dist/index.d.ts +24 -23
- package/dist/index.js +24 -23
- package/package.json +6 -6
- package/src/Alerts/index.ts +2 -2
- package/src/BlockUI/index.tsx +1 -1
- package/src/Buttons/index.ts +1 -1
- package/src/Card/index.ts +1 -1
- package/src/Chat/index.ts +2 -2
- package/src/ConnectionState/index.tsx +1 -1
- package/src/Containers/index.ts +7 -7
- package/src/DynamicTable/DynamicTable.tsx +405 -0
- package/src/DynamicTable/index.tsx +4 -407
- package/src/Footer/index.tsx +1 -1
- package/src/Form/FieldContainer/index.ts +3 -3
- package/src/Form/index.ts +13 -13
- package/src/Labels/index.tsx +1 -1
- package/src/Layouts/index.ts +1 -1
- package/src/LineSeparator/index.tsx +1 -1
- package/src/Modal/index.tsx +1 -1
- package/src/NavBar/index.tsx +3 -3
- package/src/ProgressBar/index.tsx +2 -2
- package/src/Skeletons/index.ts +1 -1
- package/src/Tab/index.ts +1 -1
- package/src/Table/index.tsx +1 -1
- package/src/TaskList/index.ts +1 -1
- package/src/Titles/index.ts +5 -5
- package/src/Tooltip/index.ts +1 -1
- package/src/WithTooltip/index.tsx +1 -1
- package/src/Wizards/index.ts +1 -1
- package/src/Zendesk/index.ts +2 -2
- package/src/index.ts +24 -23
|
@@ -1,407 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
type Props = {
|
|
7
|
-
cellInputs?: boolean;
|
|
8
|
-
intersectionTitle?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
onChange?: (data: string) => void;
|
|
11
|
-
defaultValue?: string;
|
|
12
|
-
onValidate?: (headerValue: string, rowValue: string) => boolean;
|
|
13
|
-
onRemove?: () => void;
|
|
14
|
-
margins?: {
|
|
15
|
-
marginLeft?: number;
|
|
16
|
-
marginTop?: number;
|
|
17
|
-
verticalGap?: number;
|
|
18
|
-
horizontalGap?: number;
|
|
19
|
-
};
|
|
20
|
-
forwardedRef?: React.RefObject<{
|
|
21
|
-
getTotalForRows: () => number;
|
|
22
|
-
getTotalForColumns: () => number;
|
|
23
|
-
getColumnsCount: () => number;
|
|
24
|
-
getRowsCount: () => number;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const DynamicTable = (
|
|
29
|
-
{ forwardedRef, ...props }: Props,
|
|
30
|
-
ref: React.ForwardedRef<any>
|
|
31
|
-
) => {
|
|
32
|
-
const [tableData, setTableData] = useState<Record<string, any>>({});
|
|
33
|
-
|
|
34
|
-
const {
|
|
35
|
-
cellInputs,
|
|
36
|
-
intersectionTitle,
|
|
37
|
-
className,
|
|
38
|
-
onChange,
|
|
39
|
-
defaultValue,
|
|
40
|
-
margins,
|
|
41
|
-
} = props;
|
|
42
|
-
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
if (onChange) {
|
|
45
|
-
onChange(JSON.stringify(tableData));
|
|
46
|
-
}
|
|
47
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
48
|
-
}, [tableData]);
|
|
49
|
-
|
|
50
|
-
useEffect(() => {
|
|
51
|
-
if (defaultValue) {
|
|
52
|
-
initializeTable(defaultValue);
|
|
53
|
-
} else {
|
|
54
|
-
initializeTableWithDefaults();
|
|
55
|
-
}
|
|
56
|
-
}, [defaultValue]);
|
|
57
|
-
|
|
58
|
-
const getRows = () => {
|
|
59
|
-
const rowsIds = Object.keys(tableData)
|
|
60
|
-
.filter((key) => key.startsWith("row"))
|
|
61
|
-
.map((key) => parseInt(key.slice(3)));
|
|
62
|
-
return rowsIds.sort().map((id) => ({ id }));
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
const getCols = () => {
|
|
66
|
-
const colsIds = Object.keys(tableData)
|
|
67
|
-
.filter((key) => key.startsWith("column"))
|
|
68
|
-
.map((key) => parseInt(key.slice(6)));
|
|
69
|
-
return colsIds.sort().map((id) => ({ id }));
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
const addRow = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
|
|
73
|
-
event.stopPropagation();
|
|
74
|
-
event.preventDefault();
|
|
75
|
-
const rows = getRows();
|
|
76
|
-
const lastId = rows[rows.length - 1].id;
|
|
77
|
-
handleInputChange(`row${lastId + 1}`, 1);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const addCol = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {
|
|
81
|
-
event.stopPropagation();
|
|
82
|
-
event.preventDefault();
|
|
83
|
-
const cols = getCols();
|
|
84
|
-
const lastId = cols[cols.length - 1].id;
|
|
85
|
-
handleInputChange(`column${lastId + 1}`, 1);
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
const removeRow = (rowId: number) => {
|
|
89
|
-
const newRowData = { ...tableData };
|
|
90
|
-
for (const key in newRowData) {
|
|
91
|
-
if (key.startsWith(`row${rowId}`) || key.startsWith(`cell-${rowId}-`)) {
|
|
92
|
-
delete newRowData[key];
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
setTableData(newRowData);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
const removeCol = (colId: number) => {
|
|
99
|
-
const newRowData = { ...tableData };
|
|
100
|
-
for (const key in newRowData) {
|
|
101
|
-
if (key.startsWith(`column${colId}`) || key.endsWith(`-${colId}`)) {
|
|
102
|
-
delete newRowData[key];
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
setTableData(newRowData);
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
const getTotalForRow = (rowId: number) => {
|
|
109
|
-
return Number(tableData[`row${rowId}`] ?? 0) ?? 0;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
const getTotalForColumn = (colId: number) => {
|
|
113
|
-
return Number(tableData[`column${colId}`] ?? 0) ?? 0;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
const getTotalForRows = (): number => {
|
|
117
|
-
return getRows()
|
|
118
|
-
.map((row) => getTotalForRow(row.id))
|
|
119
|
-
.reduce((a, b) => a + b, 0);
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
const getTotalForColumns = (): number => {
|
|
123
|
-
return getCols()
|
|
124
|
-
.map((col) => getTotalForColumn(col.id))
|
|
125
|
-
.reduce((a, b) => a + b, 0);
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
const getRowsCount = (): number => {
|
|
129
|
-
return getRows().length;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
const getColumnsCount = (): number => {
|
|
133
|
-
return getCols().length;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
const handleInputChange = (name: string, value: any) => {
|
|
137
|
-
setTableData((prevData) => ({ ...prevData, [name]: value }));
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
const handleValidation = (
|
|
141
|
-
cellId: string,
|
|
142
|
-
colId: number,
|
|
143
|
-
rowId: number
|
|
144
|
-
): { stopUIChange: boolean } | void => {
|
|
145
|
-
const headerValue = tableData[`column${colId}`];
|
|
146
|
-
const rowValue = tableData[`row${rowId}`];
|
|
147
|
-
|
|
148
|
-
if (props.onValidate && props.onValidate(headerValue, rowValue)) {
|
|
149
|
-
return handleInputChange(cellId, true);
|
|
150
|
-
}
|
|
151
|
-
return { stopUIChange: true };
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
const handleRemoveValidation = (cellId: string) => {
|
|
155
|
-
handleInputChange(cellId, false);
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
const initializeTableWithDefaults = () => {
|
|
159
|
-
const initialData = { row0: 1, column0: 1 };
|
|
160
|
-
setTableData(initialData);
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
const initializeTable = (tableJson: string) => {
|
|
164
|
-
try {
|
|
165
|
-
const initialData = JSON.parse(tableJson);
|
|
166
|
-
setTableData(initialData);
|
|
167
|
-
} catch (error) {
|
|
168
|
-
console.error("Error al inicializar la tabla:", error);
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
const cellBordered = {
|
|
173
|
-
border: "1px solid #ccc",
|
|
174
|
-
} as React.CSSProperties;
|
|
175
|
-
|
|
176
|
-
const pastelGrayBackground = {
|
|
177
|
-
backgroundColor: "#B69E99",
|
|
178
|
-
} as React.CSSProperties;
|
|
179
|
-
|
|
180
|
-
const cellCenteredContent = {
|
|
181
|
-
textAlign: "center",
|
|
182
|
-
verticalAlign: "middle",
|
|
183
|
-
} as React.CSSProperties;
|
|
184
|
-
|
|
185
|
-
const renderTotalHeight = () => {
|
|
186
|
-
const sumaFilas = getRows()
|
|
187
|
-
.map((row) => getTotalForRow(row.id))
|
|
188
|
-
.reduce((a, b) => a + b, 0);
|
|
189
|
-
|
|
190
|
-
const sumTotalFilas =
|
|
191
|
-
sumaFilas +
|
|
192
|
-
(margins?.marginTop ?? 0) +
|
|
193
|
-
(getRows().length - 1) * (margins?.verticalGap ?? 0);
|
|
194
|
-
|
|
195
|
-
return (
|
|
196
|
-
<div className="ml-4 inline-block">
|
|
197
|
-
<strong>Total alto: {sumTotalFilas} </strong>
|
|
198
|
-
{margins && (
|
|
199
|
-
<>
|
|
200
|
-
(Celdas: {sumaFilas} + Márgen superior: {margins?.marginTop ?? 0} +{" "}
|
|
201
|
-
{getRows().length - 1} Brechas verticales:{" "}
|
|
202
|
-
{Math.round((getRows().length - 1) * (margins?.verticalGap ?? 0))})
|
|
203
|
-
</>
|
|
204
|
-
)}
|
|
205
|
-
</div>
|
|
206
|
-
);
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
const renderTotalWidth = () => {
|
|
210
|
-
const cols = getCols();
|
|
211
|
-
const sumaColumnas = cols
|
|
212
|
-
.map((col) => getTotalForColumn(col.id))
|
|
213
|
-
.reduce((a, b) => a + b, 0);
|
|
214
|
-
const sumaTotal =
|
|
215
|
-
sumaColumnas +
|
|
216
|
-
(margins?.marginLeft ?? 0) +
|
|
217
|
-
(getCols().length - 1) * (margins?.horizontalGap ?? 0);
|
|
218
|
-
return (
|
|
219
|
-
<div className="ml-4 inline-block">
|
|
220
|
-
<strong>Total ancho: {sumaTotal} </strong>
|
|
221
|
-
{margins && (
|
|
222
|
-
<>
|
|
223
|
-
(Celdas: {sumaColumnas} + Márgen izquierdo:{" "}
|
|
224
|
-
{margins?.marginLeft ?? 0} + {getCols().length - 1} Brechas
|
|
225
|
-
horizontales:{" "}
|
|
226
|
-
{Math.round((getCols().length - 1) * (margins?.horizontalGap ?? 0))}
|
|
227
|
-
)
|
|
228
|
-
</>
|
|
229
|
-
)}
|
|
230
|
-
</div>
|
|
231
|
-
);
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
const renderHeader = () => {
|
|
235
|
-
const cols = getCols();
|
|
236
|
-
return (
|
|
237
|
-
<tr>
|
|
238
|
-
<th
|
|
239
|
-
className="align-middle py-2 text-center"
|
|
240
|
-
style={{
|
|
241
|
-
...cellBordered,
|
|
242
|
-
...pastelGrayBackground,
|
|
243
|
-
}}
|
|
244
|
-
>
|
|
245
|
-
{intersectionTitle ?? ""}
|
|
246
|
-
</th>
|
|
247
|
-
{cols.map((col) => (
|
|
248
|
-
<th
|
|
249
|
-
key={col.id}
|
|
250
|
-
className="align-middle py-2 text-center"
|
|
251
|
-
style={{ ...cellBordered, ...pastelGrayBackground }}
|
|
252
|
-
>
|
|
253
|
-
<div className="inline-flex">
|
|
254
|
-
<TextFieldWithoutValidation
|
|
255
|
-
style={{ maxWidth: "45%", minWidth: "45%" }}
|
|
256
|
-
name={`column${col.id}`}
|
|
257
|
-
defaultValue={tableData[`column${col.id}`] || 1}
|
|
258
|
-
type="number"
|
|
259
|
-
onChange={(value) =>
|
|
260
|
-
handleInputChange(`column${col.id}`, value)
|
|
261
|
-
}
|
|
262
|
-
/>
|
|
263
|
-
{col.id > 0 && (
|
|
264
|
-
<button
|
|
265
|
-
className="bg-red-500 hover:bg-red-600 font-bold py-1 px-2 rounded ml-2"
|
|
266
|
-
onClick={() => removeCol(col.id)}
|
|
267
|
-
>
|
|
268
|
-
x
|
|
269
|
-
</button>
|
|
270
|
-
)}
|
|
271
|
-
</div>
|
|
272
|
-
</th>
|
|
273
|
-
))}
|
|
274
|
-
<th>
|
|
275
|
-
<button
|
|
276
|
-
className="bg-blue-500 hover:bg-blue-600 font-bold py-2 px-4 rounded"
|
|
277
|
-
onClick={addCol}
|
|
278
|
-
>
|
|
279
|
-
+
|
|
280
|
-
</button>
|
|
281
|
-
</th>
|
|
282
|
-
</tr>
|
|
283
|
-
);
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
const renderRow = (rowId: number) => {
|
|
287
|
-
const cols = getCols();
|
|
288
|
-
return (
|
|
289
|
-
<tr key={rowId}>
|
|
290
|
-
<td
|
|
291
|
-
className="align-middle"
|
|
292
|
-
style={{
|
|
293
|
-
...cellBordered,
|
|
294
|
-
...pastelGrayBackground,
|
|
295
|
-
textOverflow: "ellipsis",
|
|
296
|
-
msTextOverflow: "ellipsis",
|
|
297
|
-
maxWidth: "200px",
|
|
298
|
-
}}
|
|
299
|
-
>
|
|
300
|
-
<div className="inline-flex">
|
|
301
|
-
<TextFieldWithoutValidation
|
|
302
|
-
style={{ maxWidth: "45%", minWidth: "45%" }}
|
|
303
|
-
name={`row${rowId}`}
|
|
304
|
-
defaultValue={tableData[`row${rowId}`] || 1}
|
|
305
|
-
type="number"
|
|
306
|
-
onChange={(value) => handleInputChange(`row${rowId}`, value)}
|
|
307
|
-
/>
|
|
308
|
-
{rowId > 0 && (
|
|
309
|
-
<button
|
|
310
|
-
className="bg-red-500 hover:bg-red-600 font-bold py-1 px-2 rounded ml-2"
|
|
311
|
-
onClick={() => {
|
|
312
|
-
removeRow(rowId);
|
|
313
|
-
}}
|
|
314
|
-
>
|
|
315
|
-
x
|
|
316
|
-
</button>
|
|
317
|
-
)}
|
|
318
|
-
</div>
|
|
319
|
-
</td>
|
|
320
|
-
{cols.map((col) => {
|
|
321
|
-
const cellId = `cell-${rowId}-${col.id}`;
|
|
322
|
-
const cellValidation = tableData[cellId] === true;
|
|
323
|
-
if (!cellInputs) tableData[cellId] = cellValidation;
|
|
324
|
-
|
|
325
|
-
return (
|
|
326
|
-
<td
|
|
327
|
-
key={col.id}
|
|
328
|
-
id={cellId}
|
|
329
|
-
style={{ ...cellBordered, ...cellCenteredContent }}
|
|
330
|
-
>
|
|
331
|
-
{cellInputs ? (
|
|
332
|
-
<TextAreaWithoutValidation
|
|
333
|
-
name={cellId}
|
|
334
|
-
defaultValue={tableData[cellId] || ""}
|
|
335
|
-
onChange={(value) => handleInputChange(cellId, value)}
|
|
336
|
-
/>
|
|
337
|
-
) : (
|
|
338
|
-
<CheckboxWithoutValidation
|
|
339
|
-
name={cellId}
|
|
340
|
-
defaultValue={cellValidation}
|
|
341
|
-
onChange={(value) => {
|
|
342
|
-
if (value) {
|
|
343
|
-
return handleValidation(cellId, col.id, rowId);
|
|
344
|
-
} else {
|
|
345
|
-
handleRemoveValidation(cellId);
|
|
346
|
-
}
|
|
347
|
-
}}
|
|
348
|
-
/>
|
|
349
|
-
)}
|
|
350
|
-
</td>
|
|
351
|
-
);
|
|
352
|
-
})}
|
|
353
|
-
{rowId === 0 && (
|
|
354
|
-
<td rowSpan={getRows().length} style={{ maxWidth: "100px" }}>
|
|
355
|
-
{renderTotalHeight()}
|
|
356
|
-
</td>
|
|
357
|
-
)}
|
|
358
|
-
</tr>
|
|
359
|
-
);
|
|
360
|
-
};
|
|
361
|
-
|
|
362
|
-
const renderRows = () => {
|
|
363
|
-
const rows = getRows();
|
|
364
|
-
return rows.map((row) => renderRow(row.id));
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
// Use el "useImperativeHandle" para que el componente padre pueda acceder a los métodos deseados
|
|
368
|
-
React.useImperativeHandle(forwardedRef, () => ({
|
|
369
|
-
getTotalForRows,
|
|
370
|
-
getTotalForColumns,
|
|
371
|
-
getColumnsCount,
|
|
372
|
-
getRowsCount,
|
|
373
|
-
}));
|
|
374
|
-
|
|
375
|
-
return (
|
|
376
|
-
<div className={`${className}`}>
|
|
377
|
-
<table className="border-collapse">
|
|
378
|
-
<thead>{renderHeader()}</thead>
|
|
379
|
-
<tbody>{renderRows()}</tbody>
|
|
380
|
-
<tfoot>
|
|
381
|
-
<tr>
|
|
382
|
-
<td>
|
|
383
|
-
<button
|
|
384
|
-
className="bg-blue-500 hover:bg-blue-600 font-bold py-2 px-4 rounded"
|
|
385
|
-
onClick={addRow}
|
|
386
|
-
>
|
|
387
|
-
+
|
|
388
|
-
</button>
|
|
389
|
-
</td>
|
|
390
|
-
<td
|
|
391
|
-
colSpan={getCols().length + 1}
|
|
392
|
-
className="text-left align-middle"
|
|
393
|
-
style={{
|
|
394
|
-
textOverflow: "ellipsis",
|
|
395
|
-
msTextOverflow: "ellipsis",
|
|
396
|
-
}}
|
|
397
|
-
>
|
|
398
|
-
{renderTotalWidth()}
|
|
399
|
-
</td>
|
|
400
|
-
</tr>
|
|
401
|
-
</tfoot>
|
|
402
|
-
</table>
|
|
403
|
-
</div>
|
|
404
|
-
);
|
|
405
|
-
};
|
|
406
|
-
|
|
407
|
-
export default React.forwardRef(DynamicTable);
|
|
1
|
+
export * from "./BasicPrintDynamicTable.js";
|
|
2
|
+
export * from "./DynamicPrintTable.js";
|
|
3
|
+
export * from "./DynamicTable.js";
|
|
4
|
+
export * from "./GenericDynamicTable.js";
|
package/src/Footer/index.tsx
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Footer";
|
|
1
|
+
export * from "./Footer.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./DoubleFieldContainer";
|
|
2
|
-
export * from "./QuadrupleFieldContainer";
|
|
3
|
-
export * from "./TripleFieldContainer";
|
|
1
|
+
export * from "./DoubleFieldContainer.js";
|
|
2
|
+
export * from "./QuadrupleFieldContainer.js";
|
|
3
|
+
export * from "./TripleFieldContainer.js";
|
package/src/Form/index.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from "./Checkbox";
|
|
2
|
-
export * from "./Checklist";
|
|
3
|
-
export * from "./DatePicker";
|
|
4
|
-
export * from "./DynamicBaculoForm";
|
|
5
|
-
export * from "./FieldContainer";
|
|
6
|
-
export * from "./FileUpload";
|
|
7
|
-
export * from "./FormButtons";
|
|
8
|
-
export * from "./FormLayout";
|
|
9
|
-
export * from "./SelectField";
|
|
10
|
-
export * from "./TextArea";
|
|
11
|
-
export * from "./TextField";
|
|
12
|
-
export * from "./TimePicker";
|
|
13
|
-
export * from "./YesNo";
|
|
1
|
+
export * from "./Checkbox/index.js";
|
|
2
|
+
export * from "./Checklist/index.js";
|
|
3
|
+
export * from "./DatePicker/index.js";
|
|
4
|
+
export * from "./DynamicBaculoForm/index.js";
|
|
5
|
+
export * from "./FieldContainer/index.js";
|
|
6
|
+
export * from "./FileUpload/index.js";
|
|
7
|
+
export * from "./FormButtons/index.js";
|
|
8
|
+
export * from "./FormLayout/index.js";
|
|
9
|
+
export * from "./SelectField/index.js";
|
|
10
|
+
export * from "./TextArea/index.js";
|
|
11
|
+
export * from "./TextField/index.js";
|
|
12
|
+
export * from "./TimePicker/index.js";
|
|
13
|
+
export * from "./YesNo/index.js";
|
package/src/Labels/index.tsx
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./InfoLabel";
|
|
1
|
+
export * from "./InfoLabel/index.js";
|
package/src/Layouts/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./homeLayout";
|
|
1
|
+
export * from "./homeLayout/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./LineSeparator";
|
|
1
|
+
export * from "./LineSeparator.js";
|
package/src/Modal/index.tsx
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Modal";
|
|
1
|
+
export * from "./Modal.js";
|
package/src/NavBar/index.tsx
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./ProgressBar";
|
|
2
|
-
export * from "./ProgressCircle";
|
|
1
|
+
export * from "./ProgressBar.js";
|
|
2
|
+
export * from "./ProgressCircle.js";
|
package/src/Skeletons/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./LoadingInputSkeleton";
|
|
1
|
+
export * from "./LoadingInputSkeleton.js";
|
package/src/Tab/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Tab";
|
|
1
|
+
export * from "./Tab.js";
|
package/src/Table/index.tsx
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./ZauruTable";
|
|
1
|
+
export * from "./ZauruTable.js";
|
package/src/TaskList/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./TaskList";
|
|
1
|
+
export * from "./TaskList.js";
|
package/src/Titles/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./LabelArray";
|
|
2
|
-
export * from "./TableColumnTitle";
|
|
3
|
-
export * from "./TitleH1";
|
|
4
|
-
export * from "./TitleH2";
|
|
5
|
-
export * from "./TitleH3";
|
|
1
|
+
export * from "./LabelArray.js";
|
|
2
|
+
export * from "./TableColumnTitle.js";
|
|
3
|
+
export * from "./TitleH1.js";
|
|
4
|
+
export * from "./TitleH2.js";
|
|
5
|
+
export * from "./TitleH3.js";
|
package/src/Tooltip/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Tooltip";
|
|
1
|
+
export * from "./Tooltip.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./WithTooltip";
|
|
1
|
+
export * from "./WithTooltip.js";
|
package/src/Wizards/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./StepWizard";
|
|
1
|
+
export * from "./StepWizard.js";
|
package/src/Zendesk/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Chat";
|
|
2
|
-
export * from "./zendesk.config";
|
|
1
|
+
export * from "./Chat.js";
|
|
2
|
+
export * from "./zendesk.config.js";
|
package/src/index.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
export * from "./Alerts";
|
|
2
|
-
export * from "./BlockUI";
|
|
3
|
-
export * from "./Buttons";
|
|
4
|
-
export * from "./Card";
|
|
5
|
-
export * from "./ConnectionState";
|
|
6
|
-
export * from "./Chat";
|
|
7
|
-
export * from "./Containers";
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./
|
|
23
|
-
export * from "./
|
|
1
|
+
export * from "./Alerts/index.js";
|
|
2
|
+
export * from "./BlockUI/index.js";
|
|
3
|
+
export * from "./Buttons/index.js";
|
|
4
|
+
export * from "./Card/index.js";
|
|
5
|
+
export * from "./ConnectionState/index.js";
|
|
6
|
+
export * from "./Chat/index.js";
|
|
7
|
+
export * from "./Containers/index.js";
|
|
8
|
+
export * from "./DynamicTable/index.js";
|
|
9
|
+
export * from "./Footer/index.js";
|
|
10
|
+
export * from "./Form/index.js";
|
|
11
|
+
export * from "./Labels/index.js";
|
|
12
|
+
export * from "./Layouts/index.js";
|
|
13
|
+
export * from "./LineSeparator/index.js";
|
|
14
|
+
export * from "./Modal/index.js";
|
|
15
|
+
export * from "./NavBar/index.js";
|
|
16
|
+
export * from "./Skeletons/index.js";
|
|
17
|
+
export * from "./Tab/index.js";
|
|
18
|
+
export * from "./Table/index.js";
|
|
19
|
+
export * from "./TaskList/index.js";
|
|
20
|
+
export * from "./Titles/index.js";
|
|
21
|
+
export * from "./Tooltip/index.js";
|
|
22
|
+
export * from "./WithTooltip/index.js";
|
|
23
|
+
export * from "./Wizards/index.js";
|
|
24
|
+
export * from "./Zendesk/index.js";
|