@tsed/react-formio 2.3.0 → 2.3.1
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/index.js +65 -65
- package/dist/index.modern.js +65 -65
- package/dist/package.json +3 -0
- package/package.json +7 -3
package/dist/index.js
CHANGED
|
@@ -1309,24 +1309,24 @@ function Form(props) {
|
|
|
1309
1309
|
Form.propTypes = {
|
|
1310
1310
|
name: PropTypes__default["default"].string,
|
|
1311
1311
|
className: PropTypes__default["default"].string,
|
|
1312
|
-
/**
|
|
1313
|
-
*
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
1314
|
*/
|
|
1315
1315
|
src: PropTypes__default["default"].string,
|
|
1316
|
-
/**
|
|
1317
|
-
* url to fetch form
|
|
1316
|
+
/**
|
|
1317
|
+
* url to fetch form
|
|
1318
1318
|
*/
|
|
1319
1319
|
url: PropTypes__default["default"].string,
|
|
1320
|
-
/**
|
|
1321
|
-
* Raw form object
|
|
1320
|
+
/**
|
|
1321
|
+
* Raw form object
|
|
1322
1322
|
*/
|
|
1323
1323
|
form: PropTypes__default["default"].object,
|
|
1324
|
-
/**
|
|
1325
|
-
* Data submission
|
|
1324
|
+
/**
|
|
1325
|
+
* Data submission
|
|
1326
1326
|
*/
|
|
1327
1327
|
submission: PropTypes__default["default"].object,
|
|
1328
|
-
/**
|
|
1329
|
-
* Configuration option
|
|
1328
|
+
/**
|
|
1329
|
+
* Configuration option
|
|
1330
1330
|
*/
|
|
1331
1331
|
options: PropTypes__default["default"].shape({
|
|
1332
1332
|
readOnly: PropTypes__default["default"].bool,
|
|
@@ -7357,12 +7357,12 @@ function RemoveModal(_ref2) {
|
|
|
7357
7357
|
|
|
7358
7358
|
var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
7359
7359
|
_inheritsLoose(ReactComponent, _Components$component);
|
|
7360
|
-
/**
|
|
7361
|
-
* This is the first phase of component building where the component is instantiated.
|
|
7362
|
-
*
|
|
7363
|
-
* @param component - The component definition created from the settings form.
|
|
7364
|
-
* @param options - Any options passed into the renderer.
|
|
7365
|
-
* @param data - The submission data where this component's data exists.
|
|
7360
|
+
/**
|
|
7361
|
+
* This is the first phase of component building where the component is instantiated.
|
|
7362
|
+
*
|
|
7363
|
+
* @param component - The component definition created from the settings form.
|
|
7364
|
+
* @param options - Any options passed into the renderer.
|
|
7365
|
+
* @param data - The submission data where this component's data exists.
|
|
7366
7366
|
*/
|
|
7367
7367
|
// eslint-disable-next-line no-useless-constructor,import/no-anonymous-default-export
|
|
7368
7368
|
function ReactComponent(component, options, data) {
|
|
@@ -7371,11 +7371,11 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7371
7371
|
_this.reactInstance = void 0;
|
|
7372
7372
|
_this.shouldSetValue = void 0;
|
|
7373
7373
|
_this.dataForSetting = void 0;
|
|
7374
|
-
/**
|
|
7375
|
-
* The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
|
|
7376
|
-
*
|
|
7377
|
-
* @param value
|
|
7378
|
-
* @param flags
|
|
7374
|
+
/**
|
|
7375
|
+
* The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
|
|
7376
|
+
*
|
|
7377
|
+
* @param value
|
|
7378
|
+
* @param flags
|
|
7379
7379
|
*/
|
|
7380
7380
|
_this.updateValue = function (value, flags) {
|
|
7381
7381
|
flags = flags || {};
|
|
@@ -7388,37 +7388,37 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7388
7388
|
return _this;
|
|
7389
7389
|
}
|
|
7390
7390
|
var _proto = ReactComponent.prototype;
|
|
7391
|
-
/**
|
|
7392
|
-
* This method is called any time the component needs to be rebuilt. It is most frequently used to listen to other
|
|
7393
|
-
* components using the this.on() function.
|
|
7391
|
+
/**
|
|
7392
|
+
* This method is called any time the component needs to be rebuilt. It is most frequently used to listen to other
|
|
7393
|
+
* components using the this.on() function.
|
|
7394
7394
|
*/
|
|
7395
7395
|
_proto.init = function init() {
|
|
7396
7396
|
return _Components$component.prototype.init.call(this);
|
|
7397
7397
|
}
|
|
7398
|
-
/**
|
|
7399
|
-
* This method is called before the component is going to be destroyed, which is when the component instance is
|
|
7400
|
-
* destroyed. This is different from detach which is when the component instance still exists but the dom instance is
|
|
7401
|
-
* removed.
|
|
7398
|
+
/**
|
|
7399
|
+
* This method is called before the component is going to be destroyed, which is when the component instance is
|
|
7400
|
+
* destroyed. This is different from detach which is when the component instance still exists but the dom instance is
|
|
7401
|
+
* removed.
|
|
7402
7402
|
*/;
|
|
7403
7403
|
_proto.destroy = function destroy() {
|
|
7404
7404
|
return _Components$component.prototype.destroy.call(this);
|
|
7405
7405
|
}
|
|
7406
|
-
/**
|
|
7407
|
-
* The second phase of component building where the component is rendered as an HTML string.
|
|
7408
|
-
*
|
|
7409
|
-
* @returns {string} - The return is the full string of the component
|
|
7406
|
+
/**
|
|
7407
|
+
* The second phase of component building where the component is rendered as an HTML string.
|
|
7408
|
+
*
|
|
7409
|
+
* @returns {string} - The return is the full string of the component
|
|
7410
7410
|
*/;
|
|
7411
7411
|
_proto.render = function render() {
|
|
7412
7412
|
// For react components, we simply render as a div which will become the react instance.
|
|
7413
7413
|
// By calling super.render(string) it will wrap the component with the needed wrappers to make it a full component.
|
|
7414
7414
|
return _Components$component.prototype.render.call(this, "<div ref=\"react-" + this.id + "\"></div>");
|
|
7415
7415
|
}
|
|
7416
|
-
/**
|
|
7417
|
-
* The third phase of component building where the component has been attached to the DOM as 'element' and is ready
|
|
7418
|
-
* to have its javascript events attached.
|
|
7419
|
-
*
|
|
7420
|
-
* @param element
|
|
7421
|
-
* @returns {Promise<void>} - Return a promise that resolves when the attach is complete.
|
|
7416
|
+
/**
|
|
7417
|
+
* The third phase of component building where the component has been attached to the DOM as 'element' and is ready
|
|
7418
|
+
* to have its javascript events attached.
|
|
7419
|
+
*
|
|
7420
|
+
* @param element
|
|
7421
|
+
* @returns {Promise<void>} - Return a promise that resolves when the attach is complete.
|
|
7422
7422
|
*/;
|
|
7423
7423
|
_proto.attach = function attach(element) {
|
|
7424
7424
|
try {
|
|
@@ -7442,9 +7442,9 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7442
7442
|
return Promise.reject(e);
|
|
7443
7443
|
}
|
|
7444
7444
|
}
|
|
7445
|
-
/**
|
|
7446
|
-
* The fourth phase of component building where the component is being removed from the page. This could be a redraw
|
|
7447
|
-
* or it is being removed from the form.
|
|
7445
|
+
/**
|
|
7446
|
+
* The fourth phase of component building where the component is being removed from the page. This could be a redraw
|
|
7447
|
+
* or it is being removed from the form.
|
|
7448
7448
|
*/
|
|
7449
7449
|
;
|
|
7450
7450
|
_proto.detach = function detach() {
|
|
@@ -7455,16 +7455,16 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7455
7455
|
}
|
|
7456
7456
|
_Components$component.prototype.detach.call(this);
|
|
7457
7457
|
}
|
|
7458
|
-
/**
|
|
7459
|
-
* Override this function to render a react component.
|
|
7458
|
+
/**
|
|
7459
|
+
* Override this function to render a react component.
|
|
7460
7460
|
*/;
|
|
7461
7461
|
_proto.renderReact = function renderReact() {
|
|
7462
7462
|
return null;
|
|
7463
7463
|
}
|
|
7464
|
-
/**
|
|
7465
|
-
* Override this function to insert your custom component.
|
|
7466
|
-
*
|
|
7467
|
-
* @param element
|
|
7464
|
+
/**
|
|
7465
|
+
* Override this function to insert your custom component.
|
|
7466
|
+
*
|
|
7467
|
+
* @param element
|
|
7468
7468
|
*/
|
|
7469
7469
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7470
7470
|
;
|
|
@@ -7472,8 +7472,8 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7472
7472
|
// eslint-disable-next-line react/no-render-return-value
|
|
7473
7473
|
return ReactDOM__default["default"].render(this.renderReact(), element);
|
|
7474
7474
|
}
|
|
7475
|
-
/**
|
|
7476
|
-
* Override this function.
|
|
7475
|
+
/**
|
|
7476
|
+
* Override this function.
|
|
7477
7477
|
*/
|
|
7478
7478
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7479
7479
|
;
|
|
@@ -7482,11 +7482,11 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7482
7482
|
ReactDOM__default["default"].unmountComponentAtNode(element);
|
|
7483
7483
|
}
|
|
7484
7484
|
}
|
|
7485
|
-
/**
|
|
7486
|
-
* Something external has set a value and our component needs to be updated to reflect that. For example, loading a submission.
|
|
7487
|
-
*
|
|
7488
|
-
* @param value
|
|
7489
|
-
* @param flags
|
|
7485
|
+
/**
|
|
7486
|
+
* Something external has set a value and our component needs to be updated to reflect that. For example, loading a submission.
|
|
7487
|
+
*
|
|
7488
|
+
* @param value
|
|
7489
|
+
* @param flags
|
|
7490
7490
|
*/;
|
|
7491
7491
|
_proto.setValue = function setValue(value, flags) {
|
|
7492
7492
|
if (this.reactInstance) {
|
|
@@ -7500,10 +7500,10 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7500
7500
|
}
|
|
7501
7501
|
return false;
|
|
7502
7502
|
};
|
|
7503
|
-
/**
|
|
7504
|
-
* Get the current value of the component. Should return the value set in the react component.
|
|
7505
|
-
*
|
|
7506
|
-
* @returns {*}
|
|
7503
|
+
/**
|
|
7504
|
+
* Get the current value of the component. Should return the value set in the react component.
|
|
7505
|
+
*
|
|
7506
|
+
* @returns {*}
|
|
7507
7507
|
*/
|
|
7508
7508
|
_proto.getValue = function getValue() {
|
|
7509
7509
|
if (this.reactInstance) {
|
|
@@ -7511,13 +7511,13 @@ var ReactComponent = /*#__PURE__*/function (_Components$component) {
|
|
|
7511
7511
|
}
|
|
7512
7512
|
return this.defaultValue;
|
|
7513
7513
|
}
|
|
7514
|
-
/**
|
|
7515
|
-
* Override normal validation check to insert custom validation in react component.
|
|
7516
|
-
*
|
|
7517
|
-
* @param data
|
|
7518
|
-
* @param dirty
|
|
7519
|
-
* @param rowData
|
|
7520
|
-
* @returns {boolean}
|
|
7514
|
+
/**
|
|
7515
|
+
* Override normal validation check to insert custom validation in react component.
|
|
7516
|
+
*
|
|
7517
|
+
* @param data
|
|
7518
|
+
* @param dirty
|
|
7519
|
+
* @param rowData
|
|
7520
|
+
* @returns {boolean}
|
|
7521
7521
|
*/;
|
|
7522
7522
|
_proto.checkValidity = function checkValidity(data, dirty, rowData) {
|
|
7523
7523
|
var valid = _Components$component.prototype.checkValidity.call(this, data, dirty, rowData);
|
package/dist/index.modern.js
CHANGED
|
@@ -1167,24 +1167,24 @@ function Form(props) {
|
|
|
1167
1167
|
Form.propTypes = {
|
|
1168
1168
|
name: PropTypes.string,
|
|
1169
1169
|
className: PropTypes.string,
|
|
1170
|
-
/**
|
|
1171
|
-
*
|
|
1170
|
+
/**
|
|
1171
|
+
*
|
|
1172
1172
|
*/
|
|
1173
1173
|
src: PropTypes.string,
|
|
1174
|
-
/**
|
|
1175
|
-
* url to fetch form
|
|
1174
|
+
/**
|
|
1175
|
+
* url to fetch form
|
|
1176
1176
|
*/
|
|
1177
1177
|
url: PropTypes.string,
|
|
1178
|
-
/**
|
|
1179
|
-
* Raw form object
|
|
1178
|
+
/**
|
|
1179
|
+
* Raw form object
|
|
1180
1180
|
*/
|
|
1181
1181
|
form: PropTypes.object,
|
|
1182
|
-
/**
|
|
1183
|
-
* Data submission
|
|
1182
|
+
/**
|
|
1183
|
+
* Data submission
|
|
1184
1184
|
*/
|
|
1185
1185
|
submission: PropTypes.object,
|
|
1186
|
-
/**
|
|
1187
|
-
* Configuration option
|
|
1186
|
+
/**
|
|
1187
|
+
* Configuration option
|
|
1188
1188
|
*/
|
|
1189
1189
|
options: PropTypes.shape({
|
|
1190
1190
|
readOnly: PropTypes.bool,
|
|
@@ -7114,23 +7114,23 @@ function RemoveModal(_ref) {
|
|
|
7114
7114
|
}
|
|
7115
7115
|
|
|
7116
7116
|
class ReactComponent extends Components.components.field {
|
|
7117
|
-
/**
|
|
7118
|
-
* This is the first phase of component building where the component is instantiated.
|
|
7119
|
-
*
|
|
7120
|
-
* @param component - The component definition created from the settings form.
|
|
7121
|
-
* @param options - Any options passed into the renderer.
|
|
7122
|
-
* @param data - The submission data where this component's data exists.
|
|
7117
|
+
/**
|
|
7118
|
+
* This is the first phase of component building where the component is instantiated.
|
|
7119
|
+
*
|
|
7120
|
+
* @param component - The component definition created from the settings form.
|
|
7121
|
+
* @param options - Any options passed into the renderer.
|
|
7122
|
+
* @param data - The submission data where this component's data exists.
|
|
7123
7123
|
*/ // eslint-disable-next-line no-useless-constructor,import/no-anonymous-default-export
|
|
7124
7124
|
constructor(component, options, data) {
|
|
7125
7125
|
super(component, options, data);
|
|
7126
7126
|
this.reactInstance = void 0;
|
|
7127
7127
|
this.shouldSetValue = void 0;
|
|
7128
7128
|
this.dataForSetting = void 0;
|
|
7129
|
-
/**
|
|
7130
|
-
* The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
|
|
7131
|
-
*
|
|
7132
|
-
* @param value
|
|
7133
|
-
* @param flags
|
|
7129
|
+
/**
|
|
7130
|
+
* The user has changed the value in the component and the value needs to be updated on the main submission object and other components notified of a change event.
|
|
7131
|
+
*
|
|
7132
|
+
* @param value
|
|
7133
|
+
* @param flags
|
|
7134
7134
|
*/
|
|
7135
7135
|
this.updateValue = (value, flags) => {
|
|
7136
7136
|
flags = flags || {};
|
|
@@ -7144,37 +7144,37 @@ class ReactComponent extends Components.components.field {
|
|
|
7144
7144
|
get $reactNode() {
|
|
7145
7145
|
return this.refs[`react-${this.id}`];
|
|
7146
7146
|
}
|
|
7147
|
-
/**
|
|
7148
|
-
* This method is called any time the component needs to be rebuilt. It is most frequently used to listen to other
|
|
7149
|
-
* components using the this.on() function.
|
|
7147
|
+
/**
|
|
7148
|
+
* This method is called any time the component needs to be rebuilt. It is most frequently used to listen to other
|
|
7149
|
+
* components using the this.on() function.
|
|
7150
7150
|
*/
|
|
7151
7151
|
init() {
|
|
7152
7152
|
return super.init();
|
|
7153
7153
|
}
|
|
7154
|
-
/**
|
|
7155
|
-
* This method is called before the component is going to be destroyed, which is when the component instance is
|
|
7156
|
-
* destroyed. This is different from detach which is when the component instance still exists but the dom instance is
|
|
7157
|
-
* removed.
|
|
7154
|
+
/**
|
|
7155
|
+
* This method is called before the component is going to be destroyed, which is when the component instance is
|
|
7156
|
+
* destroyed. This is different from detach which is when the component instance still exists but the dom instance is
|
|
7157
|
+
* removed.
|
|
7158
7158
|
*/
|
|
7159
7159
|
destroy() {
|
|
7160
7160
|
return super.destroy();
|
|
7161
7161
|
}
|
|
7162
|
-
/**
|
|
7163
|
-
* The second phase of component building where the component is rendered as an HTML string.
|
|
7164
|
-
*
|
|
7165
|
-
* @returns {string} - The return is the full string of the component
|
|
7162
|
+
/**
|
|
7163
|
+
* The second phase of component building where the component is rendered as an HTML string.
|
|
7164
|
+
*
|
|
7165
|
+
* @returns {string} - The return is the full string of the component
|
|
7166
7166
|
*/
|
|
7167
7167
|
render() {
|
|
7168
7168
|
// For react components, we simply render as a div which will become the react instance.
|
|
7169
7169
|
// By calling super.render(string) it will wrap the component with the needed wrappers to make it a full component.
|
|
7170
7170
|
return super.render(`<div ref="react-${this.id}"></div>`);
|
|
7171
7171
|
}
|
|
7172
|
-
/**
|
|
7173
|
-
* The third phase of component building where the component has been attached to the DOM as 'element' and is ready
|
|
7174
|
-
* to have its javascript events attached.
|
|
7175
|
-
*
|
|
7176
|
-
* @param element
|
|
7177
|
-
* @returns {Promise<void>} - Return a promise that resolves when the attach is complete.
|
|
7172
|
+
/**
|
|
7173
|
+
* The third phase of component building where the component has been attached to the DOM as 'element' and is ready
|
|
7174
|
+
* to have its javascript events attached.
|
|
7175
|
+
*
|
|
7176
|
+
* @param element
|
|
7177
|
+
* @returns {Promise<void>} - Return a promise that resolves when the attach is complete.
|
|
7178
7178
|
*/
|
|
7179
7179
|
async attach(element) {
|
|
7180
7180
|
super.attach(element);
|
|
@@ -7193,9 +7193,9 @@ class ReactComponent extends Components.components.field {
|
|
|
7193
7193
|
}
|
|
7194
7194
|
}
|
|
7195
7195
|
}
|
|
7196
|
-
/**
|
|
7197
|
-
* The fourth phase of component building where the component is being removed from the page. This could be a redraw
|
|
7198
|
-
* or it is being removed from the form.
|
|
7196
|
+
/**
|
|
7197
|
+
* The fourth phase of component building where the component is being removed from the page. This could be a redraw
|
|
7198
|
+
* or it is being removed from the form.
|
|
7199
7199
|
*/
|
|
7200
7200
|
detach() {
|
|
7201
7201
|
// @ts-ignore
|
|
@@ -7205,24 +7205,24 @@ class ReactComponent extends Components.components.field {
|
|
|
7205
7205
|
}
|
|
7206
7206
|
super.detach();
|
|
7207
7207
|
}
|
|
7208
|
-
/**
|
|
7209
|
-
* Override this function to render a react component.
|
|
7208
|
+
/**
|
|
7209
|
+
* Override this function to render a react component.
|
|
7210
7210
|
*/
|
|
7211
7211
|
renderReact() {
|
|
7212
7212
|
return null;
|
|
7213
7213
|
}
|
|
7214
|
-
/**
|
|
7215
|
-
* Override this function to insert your custom component.
|
|
7216
|
-
*
|
|
7217
|
-
* @param element
|
|
7214
|
+
/**
|
|
7215
|
+
* Override this function to insert your custom component.
|
|
7216
|
+
*
|
|
7217
|
+
* @param element
|
|
7218
7218
|
*/
|
|
7219
7219
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7220
7220
|
attachReact(element) {
|
|
7221
7221
|
// eslint-disable-next-line react/no-render-return-value
|
|
7222
7222
|
return ReactDOM.render(this.renderReact(), element);
|
|
7223
7223
|
}
|
|
7224
|
-
/**
|
|
7225
|
-
* Override this function.
|
|
7224
|
+
/**
|
|
7225
|
+
* Override this function.
|
|
7226
7226
|
*/
|
|
7227
7227
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
7228
7228
|
detachReact(element) {
|
|
@@ -7230,11 +7230,11 @@ class ReactComponent extends Components.components.field {
|
|
|
7230
7230
|
ReactDOM.unmountComponentAtNode(element);
|
|
7231
7231
|
}
|
|
7232
7232
|
}
|
|
7233
|
-
/**
|
|
7234
|
-
* Something external has set a value and our component needs to be updated to reflect that. For example, loading a submission.
|
|
7235
|
-
*
|
|
7236
|
-
* @param value
|
|
7237
|
-
* @param flags
|
|
7233
|
+
/**
|
|
7234
|
+
* Something external has set a value and our component needs to be updated to reflect that. For example, loading a submission.
|
|
7235
|
+
*
|
|
7236
|
+
* @param value
|
|
7237
|
+
* @param flags
|
|
7238
7238
|
*/
|
|
7239
7239
|
setValue(value, flags) {
|
|
7240
7240
|
if (this.reactInstance) {
|
|
@@ -7248,10 +7248,10 @@ class ReactComponent extends Components.components.field {
|
|
|
7248
7248
|
}
|
|
7249
7249
|
return false;
|
|
7250
7250
|
}
|
|
7251
|
-
/**
|
|
7252
|
-
* Get the current value of the component. Should return the value set in the react component.
|
|
7253
|
-
*
|
|
7254
|
-
* @returns {*}
|
|
7251
|
+
/**
|
|
7252
|
+
* Get the current value of the component. Should return the value set in the react component.
|
|
7253
|
+
*
|
|
7254
|
+
* @returns {*}
|
|
7255
7255
|
*/
|
|
7256
7256
|
getValue() {
|
|
7257
7257
|
if (this.reactInstance) {
|
|
@@ -7259,13 +7259,13 @@ class ReactComponent extends Components.components.field {
|
|
|
7259
7259
|
}
|
|
7260
7260
|
return this.defaultValue;
|
|
7261
7261
|
}
|
|
7262
|
-
/**
|
|
7263
|
-
* Override normal validation check to insert custom validation in react component.
|
|
7264
|
-
*
|
|
7265
|
-
* @param data
|
|
7266
|
-
* @param dirty
|
|
7267
|
-
* @param rowData
|
|
7268
|
-
* @returns {boolean}
|
|
7262
|
+
/**
|
|
7263
|
+
* Override normal validation check to insert custom validation in react component.
|
|
7264
|
+
*
|
|
7265
|
+
* @param data
|
|
7266
|
+
* @param dirty
|
|
7267
|
+
* @param rowData
|
|
7268
|
+
* @returns {boolean}
|
|
7269
7269
|
*/
|
|
7270
7270
|
checkValidity(data, dirty, rowData) {
|
|
7271
7271
|
const valid = super.checkValidity(data, dirty, rowData);
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/react-formio",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Provide a react formio wrapper. Written in TypeScript.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
"import": "dist/index.modern.js",
|
|
9
|
+
"require": "dist/index.js"
|
|
10
|
+
},
|
|
7
11
|
"source": "src/index.ts",
|
|
8
12
|
"scripts": {
|
|
9
13
|
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
|
@@ -31,8 +35,8 @@
|
|
|
31
35
|
"tooltip.js": ">=1.3.3"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
|
-
"@tsed/tailwind": "2.3.
|
|
35
|
-
"@tsed/tailwind-formio": "2.3.
|
|
38
|
+
"@tsed/tailwind": "2.3.1",
|
|
39
|
+
"@tsed/tailwind-formio": "2.3.1"
|
|
36
40
|
},
|
|
37
41
|
"repository": "https://github.com/TypedProject/tsed-formio",
|
|
38
42
|
"bugs": {
|