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

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.d.mts CHANGED
@@ -495,7 +495,7 @@ interface AdditionalActions {
495
495
  title: string;
496
496
  onClick?: (formState: FormState<any>) => Promise<ActionResponse$1<any>>;
497
497
  }
498
- declare const DataForm2: React.FC<DataFormConfiguration>;
498
+ declare const DataForm: React.FC<DataFormConfiguration>;
499
499
 
500
500
  interface ActionResponse<T> {
501
501
  isSuccessful: boolean;
@@ -531,4 +531,4 @@ interface DataFormRendererProps {
531
531
  }
532
532
  declare const DataFormRenderer: ({ formDefinition, dataItem, params, tabs, apiBaseUrl, session, widgetProps, onSave, onDelete, onCancelAdd, isAddPage, entityId, }: DataFormRendererProps) => react_jsx_runtime.JSX.Element | null;
533
533
 
534
- export { type ActionResponse$1 as ActionResponse, BooleanSelect, CheckboxInput, ColorInput, DataForm2 as DataForm, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps$1 as InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };
534
+ export { type ActionResponse$1 as ActionResponse, BooleanSelect, CheckboxInput, ColorInput, DataForm, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps$1 as InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };
package/dist/index.d.ts CHANGED
@@ -495,7 +495,7 @@ interface AdditionalActions {
495
495
  title: string;
496
496
  onClick?: (formState: FormState<any>) => Promise<ActionResponse$1<any>>;
497
497
  }
498
- declare const DataForm2: React.FC<DataFormConfiguration>;
498
+ declare const DataForm: React.FC<DataFormConfiguration>;
499
499
 
500
500
  interface ActionResponse<T> {
501
501
  isSuccessful: boolean;
@@ -531,4 +531,4 @@ interface DataFormRendererProps {
531
531
  }
532
532
  declare const DataFormRenderer: ({ formDefinition, dataItem, params, tabs, apiBaseUrl, session, widgetProps, onSave, onDelete, onCancelAdd, isAddPage, entityId, }: DataFormRendererProps) => react_jsx_runtime.JSX.Element | null;
533
533
 
534
- export { type ActionResponse$1 as ActionResponse, BooleanSelect, CheckboxInput, ColorInput, DataForm2 as DataForm, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps$1 as InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };
534
+ export { type ActionResponse$1 as ActionResponse, BooleanSelect, CheckboxInput, ColorInput, DataForm, DataFormRenderer, DataList, DataListRenderer, DateTimeInput, EmailInput, InputControl, type InputControlProps$1 as InputControlProps, InputControlType, LineTextInput, MoneyInput, MultilineTextInput, NavigationTabsV2, NumberInput, OtpInput, PageBodyRenderer, PercentageInput, PhoneInput, TimeInput, Toast, ToastService, ViewControl, type ViewControlProps, ViewControlTypes };
package/dist/index.js CHANGED
@@ -6197,7 +6197,7 @@ var DataFormChildSection = (props) => {
6197
6197
  {
6198
6198
  index: filteredIndex,
6199
6199
  name: field.name,
6200
- controlType: field.controlType,
6200
+ controlType: InputControlType_default[field.controlType],
6201
6201
  value: item[field.name],
6202
6202
  dataset: field.dataset,
6203
6203
  dataKeyFieldName: field.dataKeyFieldName,
@@ -6254,7 +6254,7 @@ var DataFormChildSection_default = DataFormChildSection;
6254
6254
 
6255
6255
  // src/components/dataForm/DataForm.tsx
6256
6256
  var import_jsx_runtime75 = require("react/jsx-runtime");
6257
- var DataForm2 = (props) => {
6257
+ var DataForm = (props) => {
6258
6258
  const formRef = (0, import_react56.useRef)(null);
6259
6259
  console.log(props.dataItem, "dssads");
6260
6260
  const initialState = {
@@ -6527,7 +6527,10 @@ var DataForm2 = (props) => {
6527
6527
  InputControl_default,
6528
6528
  {
6529
6529
  name: field.name,
6530
- controlType: field.controlType,
6530
+ controlType: (
6531
+ // @ts-ignore
6532
+ InputControlType_default[field.controlType]
6533
+ ),
6531
6534
  value: getNestedProperty2(
6532
6535
  formState.inputValues,
6533
6536
  field.name
@@ -6606,7 +6609,7 @@ var DataForm2 = (props) => {
6606
6609
  ] })
6607
6610
  ] }) });
6608
6611
  };
6609
- var DataForm_default = DataForm2;
6612
+ var DataForm_default = DataForm;
6610
6613
 
6611
6614
  // src/components/dataForm/DataFormRenderer.tsx
6612
6615
  init_ServiceClient();
package/dist/index.mjs CHANGED
@@ -5047,7 +5047,7 @@ var DataFormChildSection = (props) => {
5047
5047
  {
5048
5048
  index: filteredIndex,
5049
5049
  name: field.name,
5050
- controlType: field.controlType,
5050
+ controlType: InputControlType_default[field.controlType],
5051
5051
  value: item[field.name],
5052
5052
  dataset: field.dataset,
5053
5053
  dataKeyFieldName: field.dataKeyFieldName,
@@ -5104,7 +5104,7 @@ var DataFormChildSection_default = DataFormChildSection;
5104
5104
 
5105
5105
  // src/components/dataForm/DataForm.tsx
5106
5106
  import { jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
5107
- var DataForm2 = (props) => {
5107
+ var DataForm = (props) => {
5108
5108
  const formRef = useRef4(null);
5109
5109
  console.log(props.dataItem, "dssads");
5110
5110
  const initialState = {
@@ -5377,7 +5377,10 @@ var DataForm2 = (props) => {
5377
5377
  InputControl_default,
5378
5378
  {
5379
5379
  name: field.name,
5380
- controlType: field.controlType,
5380
+ controlType: (
5381
+ // @ts-ignore
5382
+ InputControlType_default[field.controlType]
5383
+ ),
5381
5384
  value: getNestedProperty2(
5382
5385
  formState.inputValues,
5383
5386
  field.name
@@ -5456,7 +5459,7 @@ var DataForm2 = (props) => {
5456
5459
  ] })
5457
5460
  ] }) });
5458
5461
  };
5459
- var DataForm_default = DataForm2;
5462
+ var DataForm_default = DataForm;
5460
5463
 
5461
5464
  // src/components/dataForm/DataFormRenderer.tsx
5462
5465
  import { jsx as jsx67, jsxs as jsxs39 } from "react/jsx-runtime";
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.20260425052557",
3
+ "version": "0.8.1-dev.20260425055809",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",