@tsed/react-formio 1.10.10 → 1.10.11
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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +4 -4
- package/src/components/actions-table/actionsTable.component.spec.tsx +15 -17
- package/src/components/actions-table/actionsTable.component.tsx +1 -0
- package/src/components/form-settings/formSettings.component.tsx +1 -0
- package/src/components/input-text/inputText.component.tsx +1 -1
- package/src/components/loader/loader.component.spec.tsx +2 -2
- package/src/components/loader/loader.component.tsx +1 -1
- package/src/components/select/select.component.tsx +1 -1
- package/src/components/table/filters/defaultColumnFilter.component.spec.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -1767,7 +1767,7 @@ function Select(_ref) {
|
|
|
1767
1767
|
}, React__default['default'].createElement("select", Object.assign({
|
|
1768
1768
|
ref: ref
|
|
1769
1769
|
}, props, {
|
|
1770
|
-
"data-testid": "
|
|
1770
|
+
"data-testid": "select_" + name,
|
|
1771
1771
|
className: classnames("form-control", size && "form-control-" + size),
|
|
1772
1772
|
name: name,
|
|
1773
1773
|
id: name,
|
|
@@ -2024,7 +2024,7 @@ function InputText(_ref) {
|
|
|
2024
2024
|
}, React__default['default'].createElement("input", Object.assign({
|
|
2025
2025
|
type: type || "text"
|
|
2026
2026
|
}, props, {
|
|
2027
|
-
"data-testid": "
|
|
2027
|
+
"data-testid": "input_" + name,
|
|
2028
2028
|
className: classnames("form-control", size && "form-control-" + size),
|
|
2029
2029
|
id: name,
|
|
2030
2030
|
required: required,
|
|
@@ -2399,7 +2399,8 @@ function ActionsTable(_ref) {
|
|
|
2399
2399
|
className: "btn btn-success",
|
|
2400
2400
|
onClick: function onClick() {
|
|
2401
2401
|
return currentAction && onAddAction(currentAction);
|
|
2402
|
-
}
|
|
2402
|
+
},
|
|
2403
|
+
type: "submit"
|
|
2403
2404
|
}, React__default['default'].createElement("i", {
|
|
2404
2405
|
className: classnames(iconClass(undefined, "plus"), "mr-1")
|
|
2405
2406
|
}), " ", i18n("Add action")))));
|
|
@@ -3886,7 +3887,8 @@ function FormSettings(props) {
|
|
|
3886
3887
|
"data-testid": 'submit',
|
|
3887
3888
|
disabled: !isValid,
|
|
3888
3889
|
className: "mt-5 btn btn-primary",
|
|
3889
|
-
onClick: onSubmit
|
|
3890
|
+
onClick: onSubmit,
|
|
3891
|
+
type: "submit"
|
|
3890
3892
|
}, i18n("Save settings")));
|
|
3891
3893
|
}
|
|
3892
3894
|
|
|
@@ -22929,7 +22931,7 @@ function Loader(_ref) {
|
|
|
22929
22931
|
return React__default['default'].createElement("div", {
|
|
22930
22932
|
className: classnames("opacity-85 z-20 flex items-center justify-center p-5 absolute top-0 right-0 left-0 bottom-0 bg-white", className)
|
|
22931
22933
|
}, React__default['default'].createElement("span", {
|
|
22932
|
-
"data-testid": "icon
|
|
22934
|
+
"data-testid": "icon_" + icon,
|
|
22933
22935
|
color: color,
|
|
22934
22936
|
className: "text-11xl " + iconClass(undefined, icon, true)
|
|
22935
22937
|
}));
|