@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260425055809 → 0.8.1-dev.20260425060911

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 CHANGED
@@ -6519,36 +6519,39 @@ var DataForm = (props) => {
6519
6519
  );
6520
6520
  }
6521
6521
  return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react56.default.Fragment, { children: isVisible && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
6522
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6522
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6523
6523
  "div",
6524
6524
  {
6525
6525
  className: sectionRow.grow ? "grow" : "",
6526
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6527
- InputControl_default,
6528
- {
6529
- name: field.name,
6530
- controlType: (
6531
- // @ts-ignore
6532
- InputControlType_default[field.controlType]
6533
- ),
6534
- value: getNestedProperty2(
6535
- formState.inputValues,
6536
- field.name
6537
- ),
6538
- callback: handleInputChange,
6539
- dataSourceDependsOn: field.dataSourceDependsOn,
6540
- dependentValue: field.dataSourceDependsOn ? formState.inputValues[field.dataSourceDependsOn] : "",
6541
- dataSource: field.dataSource,
6542
- dataset: field.dataset,
6543
- dataKeyFieldName: field.dataKeyFieldName,
6544
- dataTextFieldName: field.dataTextFieldName,
6545
- attributes: field.attributes,
6546
- serviceClient: props.serviceClient,
6547
- assetsUploadPath: props.dataItem ? props.dataItem["assetsUploadPath"] : null,
6548
- entityType: field.entityType,
6549
- uploadInSharedLocation: field.uploadInSharedLocation
6550
- }
6551
- )
6526
+ children: [
6527
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_jsx_runtime75.Fragment, { children: field }),
6528
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6529
+ InputControl_default,
6530
+ {
6531
+ name: field.name,
6532
+ controlType: (
6533
+ // @ts-ignore
6534
+ InputControlType_default[field.controlType]
6535
+ ),
6536
+ value: getNestedProperty2(
6537
+ formState.inputValues,
6538
+ field.name
6539
+ ),
6540
+ callback: handleInputChange,
6541
+ dataSourceDependsOn: field.dataSourceDependsOn,
6542
+ dependentValue: field.dataSourceDependsOn ? formState.inputValues[field.dataSourceDependsOn] : "",
6543
+ dataSource: field.dataSource,
6544
+ dataset: field.dataset,
6545
+ dataKeyFieldName: field.dataKeyFieldName,
6546
+ dataTextFieldName: field.dataTextFieldName,
6547
+ attributes: field.attributes,
6548
+ serviceClient: props.serviceClient,
6549
+ assetsUploadPath: props.dataItem ? props.dataItem["assetsUploadPath"] : null,
6550
+ entityType: field.entityType,
6551
+ uploadInSharedLocation: field.uploadInSharedLocation
6552
+ }
6553
+ )
6554
+ ]
6552
6555
  },
6553
6556
  field.name
6554
6557
  );
package/dist/index.mjs CHANGED
@@ -5103,7 +5103,7 @@ var DataFormChildSection = (props) => {
5103
5103
  var DataFormChildSection_default = DataFormChildSection;
5104
5104
 
5105
5105
  // src/components/dataForm/DataForm.tsx
5106
- import { jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
5106
+ import { Fragment as Fragment11, jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
5107
5107
  var DataForm = (props) => {
5108
5108
  const formRef = useRef4(null);
5109
5109
  console.log(props.dataItem, "dssads");
@@ -5369,36 +5369,39 @@ var DataForm = (props) => {
5369
5369
  );
5370
5370
  }
5371
5371
  return /* @__PURE__ */ jsx66(React48.Fragment, { children: isVisible && /* @__PURE__ */ jsx66("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
5372
- return /* @__PURE__ */ jsx66(
5372
+ return /* @__PURE__ */ jsxs38(
5373
5373
  "div",
5374
5374
  {
5375
5375
  className: sectionRow.grow ? "grow" : "",
5376
- children: /* @__PURE__ */ jsx66(
5377
- InputControl_default,
5378
- {
5379
- name: field.name,
5380
- controlType: (
5381
- // @ts-ignore
5382
- InputControlType_default[field.controlType]
5383
- ),
5384
- value: getNestedProperty2(
5385
- formState.inputValues,
5386
- field.name
5387
- ),
5388
- callback: handleInputChange,
5389
- dataSourceDependsOn: field.dataSourceDependsOn,
5390
- dependentValue: field.dataSourceDependsOn ? formState.inputValues[field.dataSourceDependsOn] : "",
5391
- dataSource: field.dataSource,
5392
- dataset: field.dataset,
5393
- dataKeyFieldName: field.dataKeyFieldName,
5394
- dataTextFieldName: field.dataTextFieldName,
5395
- attributes: field.attributes,
5396
- serviceClient: props.serviceClient,
5397
- assetsUploadPath: props.dataItem ? props.dataItem["assetsUploadPath"] : null,
5398
- entityType: field.entityType,
5399
- uploadInSharedLocation: field.uploadInSharedLocation
5400
- }
5401
- )
5376
+ children: [
5377
+ /* @__PURE__ */ jsx66(Fragment11, { children: field }),
5378
+ /* @__PURE__ */ jsx66(
5379
+ InputControl_default,
5380
+ {
5381
+ name: field.name,
5382
+ controlType: (
5383
+ // @ts-ignore
5384
+ InputControlType_default[field.controlType]
5385
+ ),
5386
+ value: getNestedProperty2(
5387
+ formState.inputValues,
5388
+ field.name
5389
+ ),
5390
+ callback: handleInputChange,
5391
+ dataSourceDependsOn: field.dataSourceDependsOn,
5392
+ dependentValue: field.dataSourceDependsOn ? formState.inputValues[field.dataSourceDependsOn] : "",
5393
+ dataSource: field.dataSource,
5394
+ dataset: field.dataset,
5395
+ dataKeyFieldName: field.dataKeyFieldName,
5396
+ dataTextFieldName: field.dataTextFieldName,
5397
+ attributes: field.attributes,
5398
+ serviceClient: props.serviceClient,
5399
+ assetsUploadPath: props.dataItem ? props.dataItem["assetsUploadPath"] : null,
5400
+ entityType: field.entityType,
5401
+ uploadInSharedLocation: field.uploadInSharedLocation
5402
+ }
5403
+ )
5404
+ ]
5402
5405
  },
5403
5406
  field.name
5404
5407
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260425055809",
3
+ "version": "0.8.1-dev.20260425060911",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",