@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.mjs CHANGED
@@ -835,6 +835,7 @@ var require_build2 = __commonJS({
835
835
  CalendarInputFieldComponent: () => CalendarInput_default,
836
836
  DecoratedInput: () => DecoratedInput,
837
837
  DynamicRowInput: () => DynamicRowInput_default,
838
+ DynamicRowInputFieldComponent: () => DynamicRowInputFieldComponent,
838
839
  EmailInput: () => EmailInput,
839
840
  EmailListInputFieldComponent: () => EmailInput_default,
840
841
  EndpointInput: () => EndpointInput_default,
@@ -4917,6 +4918,23 @@ ${error.message}`
4917
4918
  )
4918
4919
  ] }) });
4919
4920
  };
4921
+ var DynamicRowInputFieldComponent = {
4922
+ render: ({ field, value, onChange, canAccess }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4923
+ DynamicRowInput,
4924
+ {
4925
+ keyName: field.key,
4926
+ template: field.template,
4927
+ value: Array.isArray(value) ? value : [],
4928
+ onChange,
4929
+ addLabel: field.addLabel,
4930
+ emptyText: field.emptyText,
4931
+ canAccess
4932
+ }
4933
+ ),
4934
+ validate: () => {
4935
+ return null;
4936
+ }
4937
+ };
4920
4938
  var DynamicRowInput_default = DynamicRowInput;
4921
4939
  var import_react15 = __toESM2(__require("react"));
4922
4940
  var import_core13 = require_build();
@@ -6823,7 +6841,7 @@ ${error.message}`
6823
6841
  if (!field) {
6824
6842
  return;
6825
6843
  }
6826
- if (field.type === "nested") {
6844
+ if (field.type === "nested" || field.type === "dynamic-row") {
6827
6845
  updateSetting(key, value);
6828
6846
  return;
6829
6847
  }
@@ -16313,6 +16331,7 @@ var require_build5 = __commonJS({
16313
16331
  preposttext: import_inputs9.AffixTextInputFieldComponent,
16314
16332
  button: import_inputs9.ButtonInputFieldComponent,
16315
16333
  nested: import_inputs9.NestedInputFieldComponent,
16334
+ "dynamic-row": import_inputs9.DynamicRowInputFieldComponent,
16316
16335
  section: import_components10.SectionFieldComponent,
16317
16336
  "setting-row": import_components10.SettingRowFieldComponent,
16318
16337
  "multi-checkbox-table": import_inputs9.TableInputFieldComponent,