@digigov/form 2.0.0-b3ec0588 → 2.0.0-cbc56209
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/FieldObject/index.js +1 -1
- package/MultiplicityField/index.js +6 -1
- package/cjs/FieldObject/index.js +2 -2
- package/cjs/MultiplicityField/index.js +10 -5
- package/cjs/inputs/AutoCompleteInput/index.js +2 -2
- package/cjs/inputs/Checkboxes/index.js +2 -2
- package/cjs/inputs/Input/index.js +2 -2
- package/cjs/inputs/Radio/index.js +2 -2
- package/cjs/lazy/index.js +517 -0
- package/index.js +1 -1
- package/inputs/AutoCompleteInput/index.js +1 -1
- package/inputs/Checkboxes/index.js +1 -1
- package/inputs/Input/index.js +1 -1
- package/inputs/Radio/index.js +1 -1
- package/lazy/index.js +395 -0
- package/lazy/package.json +6 -0
- package/lazy.d.ts +69 -0
- package/package.json +4 -4
- package/src/FieldObject/index.tsx +1 -1
- package/src/MultiplicityField/index.tsx +7 -8
- package/src/inputs/AutoCompleteInput/index.tsx +1 -1
- package/src/inputs/Checkboxes/index.tsx +1 -1
- package/src/inputs/Input/index.tsx +1 -1
- package/src/inputs/Radio/index.tsx +1 -1
- package/src/lazy.js +60 -0
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != (0, _typeof2["default"])(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports["default"] = {
|
|
13
|
+
'FieldBase': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
14
|
+
return Promise.resolve().then(function () {
|
|
15
|
+
return _interopRequireWildcard(require('@digigov/form/Field/FieldBase'));
|
|
16
|
+
}).then(function (module) {
|
|
17
|
+
return {
|
|
18
|
+
"default": module['FieldBase']
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
}),
|
|
22
|
+
'FieldBaseContainer': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
23
|
+
return Promise.resolve().then(function () {
|
|
24
|
+
return _interopRequireWildcard(require('@digigov/form/Field/FieldBaseContainer'));
|
|
25
|
+
}).then(function (module) {
|
|
26
|
+
return {
|
|
27
|
+
"default": module['FieldBaseContainer']
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
}),
|
|
31
|
+
'FieldConditional': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
32
|
+
return Promise.resolve().then(function () {
|
|
33
|
+
return _interopRequireWildcard(require('@digigov/form/Field/FieldConditional'));
|
|
34
|
+
}).then(function (module) {
|
|
35
|
+
return {
|
|
36
|
+
"default": module['FieldConditional']
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}),
|
|
40
|
+
'Field': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
41
|
+
return Promise.resolve().then(function () {
|
|
42
|
+
return _interopRequireWildcard(require('@digigov/form/internal'));
|
|
43
|
+
}).then(function (module) {
|
|
44
|
+
return {
|
|
45
|
+
"default": module['Field']
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
}),
|
|
49
|
+
'FieldArray': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
50
|
+
return Promise.resolve().then(function () {
|
|
51
|
+
return _interopRequireWildcard(require('@digigov/form/FieldArray'));
|
|
52
|
+
}).then(function (module) {
|
|
53
|
+
return {
|
|
54
|
+
"default": module['FieldArray']
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
}),
|
|
58
|
+
'FieldObject': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
59
|
+
return Promise.resolve().then(function () {
|
|
60
|
+
return _interopRequireWildcard(require('@digigov/form/FieldObject'));
|
|
61
|
+
}).then(function (module) {
|
|
62
|
+
return {
|
|
63
|
+
"default": module['FieldObject']
|
|
64
|
+
};
|
|
65
|
+
});
|
|
66
|
+
}),
|
|
67
|
+
'FieldsetWithContext': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
68
|
+
return Promise.resolve().then(function () {
|
|
69
|
+
return _interopRequireWildcard(require('@digigov/form/Fieldset/FieldsetWithContext'));
|
|
70
|
+
}).then(function (module) {
|
|
71
|
+
return {
|
|
72
|
+
"default": module['FieldsetWithContext']
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
}),
|
|
76
|
+
'Fieldset': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
77
|
+
return Promise.resolve().then(function () {
|
|
78
|
+
return _interopRequireWildcard(require('@digigov/form/Fieldset'));
|
|
79
|
+
}).then(function (module) {
|
|
80
|
+
return {
|
|
81
|
+
"default": module['Fieldset']
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
}),
|
|
85
|
+
'FieldsetBody': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
86
|
+
return Promise.resolve().then(function () {
|
|
87
|
+
return _interopRequireWildcard(require('@digigov/form/Fieldset'));
|
|
88
|
+
}).then(function (module) {
|
|
89
|
+
return {
|
|
90
|
+
"default": module['FieldsetBody']
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
}),
|
|
94
|
+
'FieldsetCaption': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
95
|
+
return Promise.resolve().then(function () {
|
|
96
|
+
return _interopRequireWildcard(require('@digigov/form/Fieldset'));
|
|
97
|
+
}).then(function (module) {
|
|
98
|
+
return {
|
|
99
|
+
"default": module['FieldsetCaption']
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
}),
|
|
103
|
+
'FieldsetLabel': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
104
|
+
return Promise.resolve().then(function () {
|
|
105
|
+
return _interopRequireWildcard(require('@digigov/form/Fieldset'));
|
|
106
|
+
}).then(function (module) {
|
|
107
|
+
return {
|
|
108
|
+
"default": module['FieldsetLabel']
|
|
109
|
+
};
|
|
110
|
+
});
|
|
111
|
+
}),
|
|
112
|
+
'FormBase': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
113
|
+
return Promise.resolve().then(function () {
|
|
114
|
+
return _interopRequireWildcard(require('@digigov/form/FormBuilder/FormBuilder'));
|
|
115
|
+
}).then(function (module) {
|
|
116
|
+
return {
|
|
117
|
+
"default": module['FormBase']
|
|
118
|
+
};
|
|
119
|
+
});
|
|
120
|
+
}),
|
|
121
|
+
'FormBuilder': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
122
|
+
return Promise.resolve().then(function () {
|
|
123
|
+
return _interopRequireWildcard(require('@digigov/form/FormBuilder/FormBuilder'));
|
|
124
|
+
}).then(function (module) {
|
|
125
|
+
return {
|
|
126
|
+
"default": module['FormBuilder']
|
|
127
|
+
};
|
|
128
|
+
});
|
|
129
|
+
}),
|
|
130
|
+
'FormContext': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
131
|
+
return Promise.resolve().then(function () {
|
|
132
|
+
return _interopRequireWildcard(require('@digigov/form/FormContext'));
|
|
133
|
+
}).then(function (module) {
|
|
134
|
+
return {
|
|
135
|
+
"default": module['FormContext']
|
|
136
|
+
};
|
|
137
|
+
});
|
|
138
|
+
}),
|
|
139
|
+
'Checkboxes': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
140
|
+
return Promise.resolve().then(function () {
|
|
141
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/Checkboxes'));
|
|
142
|
+
}).then(function (module) {
|
|
143
|
+
return {
|
|
144
|
+
"default": module['Checkboxes']
|
|
145
|
+
};
|
|
146
|
+
});
|
|
147
|
+
}),
|
|
148
|
+
'DateInput': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
149
|
+
return Promise.resolve().then(function () {
|
|
150
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/DateInput'));
|
|
151
|
+
}).then(function (module) {
|
|
152
|
+
return {
|
|
153
|
+
"default": module['DateInput']
|
|
154
|
+
};
|
|
155
|
+
});
|
|
156
|
+
}),
|
|
157
|
+
'FileInput': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
158
|
+
return Promise.resolve().then(function () {
|
|
159
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/FileInput'));
|
|
160
|
+
}).then(function (module) {
|
|
161
|
+
return {
|
|
162
|
+
"default": module['FileInput']
|
|
163
|
+
};
|
|
164
|
+
});
|
|
165
|
+
}),
|
|
166
|
+
'Input': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
167
|
+
return Promise.resolve().then(function () {
|
|
168
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/Input'));
|
|
169
|
+
}).then(function (module) {
|
|
170
|
+
return {
|
|
171
|
+
"default": module['Input']
|
|
172
|
+
};
|
|
173
|
+
});
|
|
174
|
+
}),
|
|
175
|
+
'Label': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
176
|
+
return Promise.resolve().then(function () {
|
|
177
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/Label'));
|
|
178
|
+
}).then(function (module) {
|
|
179
|
+
return {
|
|
180
|
+
"default": module['Label']
|
|
181
|
+
};
|
|
182
|
+
});
|
|
183
|
+
}),
|
|
184
|
+
'Questions': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
185
|
+
return Promise.resolve().then(function () {
|
|
186
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Questions'));
|
|
187
|
+
}).then(function (module) {
|
|
188
|
+
return {
|
|
189
|
+
"default": module['Questions']
|
|
190
|
+
};
|
|
191
|
+
});
|
|
192
|
+
}),
|
|
193
|
+
'Radio': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
194
|
+
return Promise.resolve().then(function () {
|
|
195
|
+
return _interopRequireWildcard(require('@digigov/form/internal'));
|
|
196
|
+
}).then(function (module) {
|
|
197
|
+
return {
|
|
198
|
+
"default": module['Radio']
|
|
199
|
+
};
|
|
200
|
+
});
|
|
201
|
+
}),
|
|
202
|
+
'Select': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
203
|
+
return Promise.resolve().then(function () {
|
|
204
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/Select'));
|
|
205
|
+
}).then(function (module) {
|
|
206
|
+
return {
|
|
207
|
+
"default": module['Select']
|
|
208
|
+
};
|
|
209
|
+
});
|
|
210
|
+
}),
|
|
211
|
+
'Step': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
212
|
+
return Promise.resolve().then(function () {
|
|
213
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/Step'));
|
|
214
|
+
}).then(function (module) {
|
|
215
|
+
return {
|
|
216
|
+
"default": module['Step']
|
|
217
|
+
};
|
|
218
|
+
});
|
|
219
|
+
}),
|
|
220
|
+
'ReviewStep': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
221
|
+
return Promise.resolve().then(function () {
|
|
222
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/ReviewStep'));
|
|
223
|
+
}).then(function (module) {
|
|
224
|
+
return {
|
|
225
|
+
"default": module['ReviewStep']
|
|
226
|
+
};
|
|
227
|
+
});
|
|
228
|
+
}),
|
|
229
|
+
'StepArrayReview': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
230
|
+
return Promise.resolve().then(function () {
|
|
231
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepArrayReview'));
|
|
232
|
+
}).then(function (module) {
|
|
233
|
+
return {
|
|
234
|
+
"default": module['StepArrayReview']
|
|
235
|
+
};
|
|
236
|
+
});
|
|
237
|
+
}),
|
|
238
|
+
'StepContext': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
239
|
+
return Promise.resolve().then(function () {
|
|
240
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepContext'));
|
|
241
|
+
}).then(function (module) {
|
|
242
|
+
return {
|
|
243
|
+
"default": module['StepContext']
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
}),
|
|
247
|
+
'StepDescription': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
248
|
+
return Promise.resolve().then(function () {
|
|
249
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepDescription'));
|
|
250
|
+
}).then(function (module) {
|
|
251
|
+
return {
|
|
252
|
+
"default": module['StepDescription']
|
|
253
|
+
};
|
|
254
|
+
});
|
|
255
|
+
}),
|
|
256
|
+
'StepDescriptionBase': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
257
|
+
return Promise.resolve().then(function () {
|
|
258
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepDescription'));
|
|
259
|
+
}).then(function (module) {
|
|
260
|
+
return {
|
|
261
|
+
"default": module['StepDescriptionBase']
|
|
262
|
+
};
|
|
263
|
+
});
|
|
264
|
+
}),
|
|
265
|
+
'StepForm': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
266
|
+
return Promise.resolve().then(function () {
|
|
267
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepForm'));
|
|
268
|
+
}).then(function (module) {
|
|
269
|
+
return {
|
|
270
|
+
"default": module['StepForm']
|
|
271
|
+
};
|
|
272
|
+
});
|
|
273
|
+
}),
|
|
274
|
+
'StepQuote': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
275
|
+
return Promise.resolve().then(function () {
|
|
276
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepQuote'));
|
|
277
|
+
}).then(function (module) {
|
|
278
|
+
return {
|
|
279
|
+
"default": module['StepQuote']
|
|
280
|
+
};
|
|
281
|
+
});
|
|
282
|
+
}),
|
|
283
|
+
'StepTitle': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
284
|
+
return Promise.resolve().then(function () {
|
|
285
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepTitle'));
|
|
286
|
+
}).then(function (module) {
|
|
287
|
+
return {
|
|
288
|
+
"default": module['StepTitle']
|
|
289
|
+
};
|
|
290
|
+
});
|
|
291
|
+
}),
|
|
292
|
+
'StepTitleBase': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
293
|
+
return Promise.resolve().then(function () {
|
|
294
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepTitle'));
|
|
295
|
+
}).then(function (module) {
|
|
296
|
+
return {
|
|
297
|
+
"default": module['StepTitleBase']
|
|
298
|
+
};
|
|
299
|
+
});
|
|
300
|
+
}),
|
|
301
|
+
'StepTitleHeading': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
302
|
+
return Promise.resolve().then(function () {
|
|
303
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/Step/StepTitle'));
|
|
304
|
+
}).then(function (module) {
|
|
305
|
+
return {
|
|
306
|
+
"default": module['StepTitleHeading']
|
|
307
|
+
};
|
|
308
|
+
});
|
|
309
|
+
}),
|
|
310
|
+
'RadioButtonsGroup': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
311
|
+
return Promise.resolve().then(function () {
|
|
312
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/Radio'));
|
|
313
|
+
}).then(function (module) {
|
|
314
|
+
return {
|
|
315
|
+
"default": module['RadioButtonsGroup']
|
|
316
|
+
};
|
|
317
|
+
});
|
|
318
|
+
}),
|
|
319
|
+
'ImageInput': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
320
|
+
return Promise.resolve().then(function () {
|
|
321
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/ImageInput'));
|
|
322
|
+
}).then(function (module) {
|
|
323
|
+
return {
|
|
324
|
+
"default": module['ImageInput']
|
|
325
|
+
};
|
|
326
|
+
});
|
|
327
|
+
}),
|
|
328
|
+
'OtpInput': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
329
|
+
return Promise.resolve().then(function () {
|
|
330
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/OtpInput'));
|
|
331
|
+
}).then(function (module) {
|
|
332
|
+
return {
|
|
333
|
+
"default": module['OtpInput']
|
|
334
|
+
};
|
|
335
|
+
});
|
|
336
|
+
}),
|
|
337
|
+
'AutoCompleteInput': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
338
|
+
return Promise.resolve().then(function () {
|
|
339
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/AutoCompleteInput'));
|
|
340
|
+
}).then(function (module) {
|
|
341
|
+
return {
|
|
342
|
+
"default": module['AutoCompleteInput']
|
|
343
|
+
};
|
|
344
|
+
});
|
|
345
|
+
}),
|
|
346
|
+
'Image': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
347
|
+
return Promise.resolve().then(function () {
|
|
348
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/ImageInput'));
|
|
349
|
+
}).then(function (module) {
|
|
350
|
+
return {
|
|
351
|
+
"default": module['Image']
|
|
352
|
+
};
|
|
353
|
+
});
|
|
354
|
+
}),
|
|
355
|
+
'REMOVE_SPACES': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
356
|
+
return Promise.resolve().then(function () {
|
|
357
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/OtpInput'));
|
|
358
|
+
}).then(function (module) {
|
|
359
|
+
return {
|
|
360
|
+
"default": module['REMOVE_SPACES']
|
|
361
|
+
};
|
|
362
|
+
});
|
|
363
|
+
}),
|
|
364
|
+
'RE_DIGIT': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
365
|
+
return Promise.resolve().then(function () {
|
|
366
|
+
return _interopRequireWildcard(require('@digigov/form/inputs/OtpInput'));
|
|
367
|
+
}).then(function (module) {
|
|
368
|
+
return {
|
|
369
|
+
"default": module['RE_DIGIT']
|
|
370
|
+
};
|
|
371
|
+
});
|
|
372
|
+
}),
|
|
373
|
+
'AddObjects': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
374
|
+
return Promise.resolve().then(function () {
|
|
375
|
+
return _interopRequireWildcard(require('@digigov/form/MultiplicityField/add-objects'));
|
|
376
|
+
}).then(function (module) {
|
|
377
|
+
return {
|
|
378
|
+
"default": module['AddObjects']
|
|
379
|
+
};
|
|
380
|
+
});
|
|
381
|
+
}),
|
|
382
|
+
'ListObject': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
383
|
+
return Promise.resolve().then(function () {
|
|
384
|
+
return _interopRequireWildcard(require('@digigov/form/MultiplicityField'));
|
|
385
|
+
}).then(function (module) {
|
|
386
|
+
return {
|
|
387
|
+
"default": module['ListObject']
|
|
388
|
+
};
|
|
389
|
+
});
|
|
390
|
+
}),
|
|
391
|
+
'Multiplicity': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
392
|
+
return Promise.resolve().then(function () {
|
|
393
|
+
return _interopRequireWildcard(require('@digigov/form/MultiplicityField'));
|
|
394
|
+
}).then(function (module) {
|
|
395
|
+
return {
|
|
396
|
+
"default": module['Multiplicity']
|
|
397
|
+
};
|
|
398
|
+
});
|
|
399
|
+
}),
|
|
400
|
+
'QuestionsContext': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
401
|
+
return Promise.resolve().then(function () {
|
|
402
|
+
return _interopRequireWildcard(require('@digigov/form/Questions/QuestionsContext'));
|
|
403
|
+
}).then(function (module) {
|
|
404
|
+
return {
|
|
405
|
+
"default": module['QuestionsContext']
|
|
406
|
+
};
|
|
407
|
+
});
|
|
408
|
+
}),
|
|
409
|
+
'AFM_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
410
|
+
return Promise.resolve().then(function () {
|
|
411
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/afm'));
|
|
412
|
+
}).then(function (module) {
|
|
413
|
+
return {
|
|
414
|
+
"default": module['AFM_VALIDATOR']
|
|
415
|
+
};
|
|
416
|
+
});
|
|
417
|
+
}),
|
|
418
|
+
'FILE_MAX_SIZE_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
419
|
+
return Promise.resolve().then(function () {
|
|
420
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/file'));
|
|
421
|
+
}).then(function (module) {
|
|
422
|
+
return {
|
|
423
|
+
"default": module['FILE_MAX_SIZE_VALIDATOR']
|
|
424
|
+
};
|
|
425
|
+
});
|
|
426
|
+
}),
|
|
427
|
+
'IBAN_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
428
|
+
return Promise.resolve().then(function () {
|
|
429
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/iban'));
|
|
430
|
+
}).then(function (module) {
|
|
431
|
+
return {
|
|
432
|
+
"default": module['IBAN_VALIDATOR']
|
|
433
|
+
};
|
|
434
|
+
});
|
|
435
|
+
}),
|
|
436
|
+
'IMAGE_DIMENSION_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
437
|
+
return Promise.resolve().then(function () {
|
|
438
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/image'));
|
|
439
|
+
}).then(function (module) {
|
|
440
|
+
return {
|
|
441
|
+
"default": module['IMAGE_DIMENSION_VALIDATOR']
|
|
442
|
+
};
|
|
443
|
+
});
|
|
444
|
+
}),
|
|
445
|
+
'OTP_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
446
|
+
return Promise.resolve().then(function () {
|
|
447
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/otp'));
|
|
448
|
+
}).then(function (module) {
|
|
449
|
+
return {
|
|
450
|
+
"default": module['OTP_VALIDATOR']
|
|
451
|
+
};
|
|
452
|
+
});
|
|
453
|
+
}),
|
|
454
|
+
'MOBILE_PHONE_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
455
|
+
return Promise.resolve().then(function () {
|
|
456
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/phone'));
|
|
457
|
+
}).then(function (module) {
|
|
458
|
+
return {
|
|
459
|
+
"default": module['MOBILE_PHONE_VALIDATOR']
|
|
460
|
+
};
|
|
461
|
+
});
|
|
462
|
+
}),
|
|
463
|
+
'PHONE_NUMBER_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
464
|
+
return Promise.resolve().then(function () {
|
|
465
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/phone'));
|
|
466
|
+
}).then(function (module) {
|
|
467
|
+
return {
|
|
468
|
+
"default": module['PHONE_NUMBER_VALIDATOR']
|
|
469
|
+
};
|
|
470
|
+
});
|
|
471
|
+
}),
|
|
472
|
+
'POSTALCODE_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
473
|
+
return Promise.resolve().then(function () {
|
|
474
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/postal_code'));
|
|
475
|
+
}).then(function (module) {
|
|
476
|
+
return {
|
|
477
|
+
"default": module['POSTALCODE_VALIDATOR']
|
|
478
|
+
};
|
|
479
|
+
});
|
|
480
|
+
}),
|
|
481
|
+
'UUID4_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
482
|
+
return Promise.resolve().then(function () {
|
|
483
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/uuid4'));
|
|
484
|
+
}).then(function (module) {
|
|
485
|
+
return {
|
|
486
|
+
"default": module['UUID4_VALIDATOR']
|
|
487
|
+
};
|
|
488
|
+
});
|
|
489
|
+
}),
|
|
490
|
+
'TEXT_LIMIT_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
491
|
+
return Promise.resolve().then(function () {
|
|
492
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/text_limit'));
|
|
493
|
+
}).then(function (module) {
|
|
494
|
+
return {
|
|
495
|
+
"default": module['TEXT_LIMIT_VALIDATOR']
|
|
496
|
+
};
|
|
497
|
+
});
|
|
498
|
+
}),
|
|
499
|
+
'INT_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
500
|
+
return Promise.resolve().then(function () {
|
|
501
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/int'));
|
|
502
|
+
}).then(function (module) {
|
|
503
|
+
return {
|
|
504
|
+
"default": module['INT_VALIDATOR']
|
|
505
|
+
};
|
|
506
|
+
});
|
|
507
|
+
}),
|
|
508
|
+
'NUMBER_VALIDATOR': /*#__PURE__*/(0, _react.lazy)(function () {
|
|
509
|
+
return Promise.resolve().then(function () {
|
|
510
|
+
return _interopRequireWildcard(require('@digigov/form/validators/utils/number'));
|
|
511
|
+
}).then(function (module) {
|
|
512
|
+
return {
|
|
513
|
+
"default": module['NUMBER_VALIDATOR']
|
|
514
|
+
};
|
|
515
|
+
});
|
|
516
|
+
})
|
|
517
|
+
};
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["name", "extra", "onChange", "value"];
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
5
|
-
import { Hint } from '@digigov/react-core';
|
|
5
|
+
import { Hint } from '@digigov/react-core/Hint';
|
|
6
6
|
import UIAutoComplete from '@digigov/ui/form/AutoComplete';
|
|
7
7
|
export var AutoCompleteInput = function AutoCompleteInput(_ref) {
|
|
8
8
|
var name = _ref.name,
|
|
@@ -5,7 +5,7 @@ var _excluded = ["name", "onChange", "value", "extra", "disabled"],
|
|
|
5
5
|
_excluded2 = ["label", "value", "show", "disabled", "selected"];
|
|
6
6
|
import React, { useState } from 'react';
|
|
7
7
|
import { Field } from '@digigov/form';
|
|
8
|
-
import { CheckboxConditional } from '@digigov/react-core';
|
|
8
|
+
import { CheckboxConditional } from '@digigov/react-core/CheckboxConditional';
|
|
9
9
|
import CoreCheckboxes from '@digigov/react-core/Checkbox';
|
|
10
10
|
import CheckboxItem from '@digigov/react-core/CheckboxItem';
|
|
11
11
|
import Hint from '@digigov/react-core/Hint';
|
package/inputs/Input/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["name", "control", "type", "extra"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useWatch } from 'react-hook-form';
|
|
6
|
-
import { Hint } from '@digigov/react-core';
|
|
6
|
+
import { Hint } from '@digigov/react-core/Hint';
|
|
7
7
|
import TextArea from '@digigov/react-core/TextArea';
|
|
8
8
|
import TextInput from '@digigov/react-core/TextInput';
|
|
9
9
|
import { useTranslation } from '@digigov/ui/i18n';
|
package/inputs/Radio/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _excluded = ["name", "control", "register", "extra", "disabled"],
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { useWatch } from 'react-hook-form';
|
|
7
7
|
import { Field } from '@digigov/form';
|
|
8
|
-
import { RadioConditional } from '@digigov/react-core';
|
|
8
|
+
import { RadioConditional } from '@digigov/react-core/RadioConditional';
|
|
9
9
|
import Hint from '@digigov/react-core/Hint';
|
|
10
10
|
import RadioContainer from '@digigov/react-core/RadioContainer';
|
|
11
11
|
import RadioItem from '@digigov/react-core/RadioItem';
|