@multivendorx/zyra 1.0.49 → 1.0.50
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/build/index.js +20 -1
- package/build/index.js.map +1 -1
- package/build/index.mjs +20 -1
- package/build/index.mjs.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -831,6 +831,7 @@ var require_build2 = __commonJS({
|
|
|
831
831
|
CalendarInputFieldComponent: () => CalendarInput_default,
|
|
832
832
|
DecoratedInput: () => DecoratedInput,
|
|
833
833
|
DynamicRowInput: () => DynamicRowInput_default,
|
|
834
|
+
DynamicRowInputFieldComponent: () => DynamicRowInputFieldComponent,
|
|
834
835
|
EmailInput: () => EmailInput,
|
|
835
836
|
EmailListInputFieldComponent: () => EmailInput_default,
|
|
836
837
|
EndpointInput: () => EndpointInput_default,
|
|
@@ -4913,6 +4914,23 @@ ${error.message}`
|
|
|
4913
4914
|
)
|
|
4914
4915
|
] }) });
|
|
4915
4916
|
};
|
|
4917
|
+
var DynamicRowInputFieldComponent = {
|
|
4918
|
+
render: ({ field, value, onChange, canAccess }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
4919
|
+
DynamicRowInput,
|
|
4920
|
+
{
|
|
4921
|
+
keyName: field.key,
|
|
4922
|
+
template: field.template,
|
|
4923
|
+
value: Array.isArray(value) ? value : [],
|
|
4924
|
+
onChange,
|
|
4925
|
+
addLabel: field.addLabel,
|
|
4926
|
+
emptyText: field.emptyText,
|
|
4927
|
+
canAccess
|
|
4928
|
+
}
|
|
4929
|
+
),
|
|
4930
|
+
validate: () => {
|
|
4931
|
+
return null;
|
|
4932
|
+
}
|
|
4933
|
+
};
|
|
4916
4934
|
var DynamicRowInput_default = DynamicRowInput;
|
|
4917
4935
|
var import_react15 = __toESM2(require("react"));
|
|
4918
4936
|
var import_core13 = require_build();
|
|
@@ -6819,7 +6837,7 @@ ${error.message}`
|
|
|
6819
6837
|
if (!field) {
|
|
6820
6838
|
return;
|
|
6821
6839
|
}
|
|
6822
|
-
if (field.type === "nested") {
|
|
6840
|
+
if (field.type === "nested" || field.type === "dynamic-row") {
|
|
6823
6841
|
updateSetting(key, value);
|
|
6824
6842
|
return;
|
|
6825
6843
|
}
|
|
@@ -16309,6 +16327,7 @@ var require_build5 = __commonJS({
|
|
|
16309
16327
|
preposttext: import_inputs9.AffixTextInputFieldComponent,
|
|
16310
16328
|
button: import_inputs9.ButtonInputFieldComponent,
|
|
16311
16329
|
nested: import_inputs9.NestedInputFieldComponent,
|
|
16330
|
+
"dynamic-row": import_inputs9.DynamicRowInputFieldComponent,
|
|
16312
16331
|
section: import_components10.SectionFieldComponent,
|
|
16313
16332
|
"setting-row": import_components10.SettingRowFieldComponent,
|
|
16314
16333
|
"multi-checkbox-table": import_inputs9.TableInputFieldComponent,
|