@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260425061813 → 0.8.1-dev.20260425114015

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.
@@ -3,7 +3,7 @@ import {
3
3
  Button_default,
4
4
  ServiceClient_default,
5
5
  ToastService_default
6
- } from "./chunk-WMUACDXV.mjs";
6
+ } from "./chunk-MCGXO6OE.mjs";
7
7
 
8
8
  // src/components/pageRenderingEngine/nodes/LinkNodeButton.tsx
9
9
  import { useCallback, useState } from "react";
@@ -274,10 +274,6 @@ var ServiceClient = class {
274
274
  }
275
275
  handleFetchError(error) {
276
276
  console.log(error);
277
- const serverApiError = error;
278
- if (serverApiError) {
279
- return serverApiError.data;
280
- }
281
277
  return {
282
278
  message: "There is some error. Please try after sometime.",
283
279
  isSuccessful: false
package/dist/index.js CHANGED
@@ -631,10 +631,6 @@ var init_ServiceClient = __esm({
631
631
  }
632
632
  handleFetchError(error) {
633
633
  console.log(error);
634
- const serverApiError = error;
635
- if (serverApiError) {
636
- return serverApiError.data;
637
- }
638
634
  return {
639
635
  message: "There is some error. Please try after sometime.",
640
636
  isSuccessful: false
@@ -6197,7 +6193,7 @@ var DataFormChildSection = (props) => {
6197
6193
  {
6198
6194
  index: filteredIndex,
6199
6195
  name: field.name,
6200
- controlType: InputControlType_default[field.controlType],
6196
+ controlType: field.controlType,
6201
6197
  value: item[field.name],
6202
6198
  dataset: field.dataset,
6203
6199
  dataKeyFieldName: field.dataKeyFieldName,
@@ -6529,10 +6525,7 @@ var DataForm = (props) => {
6529
6525
  InputControl_default,
6530
6526
  {
6531
6527
  name: field.name,
6532
- controlType: (
6533
- // @ts-ignore
6534
- InputControlType_default[field.controlType]
6535
- ),
6528
+ controlType: field.controlType,
6536
6529
  value: getNestedProperty2(
6537
6530
  formState.inputValues,
6538
6531
  field.name
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  ServiceClient_default,
8
8
  ToastService_default,
9
9
  buttonClasses
10
- } from "./chunk-WMUACDXV.mjs";
10
+ } from "./chunk-MCGXO6OE.mjs";
11
11
 
12
12
  // src/components/controls/view/ViewControl.tsx
13
13
  import React10 from "react";
@@ -2051,7 +2051,7 @@ function Hyperlink(props) {
2051
2051
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
2052
2052
  import dynamic2 from "next/dynamic";
2053
2053
  import { Fragment as Fragment3, jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
2054
- var LinkNodeButton = dynamic2(() => import("./LinkNodeButton-3AK5H5ZU.mjs"), {
2054
+ var LinkNodeButton = dynamic2(() => import("./LinkNodeButton-SSV4NINC.mjs"), {
2055
2055
  ssr: false
2056
2056
  });
2057
2057
  var LinkNode = (props) => {
@@ -5047,7 +5047,7 @@ var DataFormChildSection = (props) => {
5047
5047
  {
5048
5048
  index: filteredIndex,
5049
5049
  name: field.name,
5050
- controlType: InputControlType_default[field.controlType],
5050
+ controlType: field.controlType,
5051
5051
  value: item[field.name],
5052
5052
  dataset: field.dataset,
5053
5053
  dataKeyFieldName: field.dataKeyFieldName,
@@ -5379,10 +5379,7 @@ var DataForm = (props) => {
5379
5379
  InputControl_default,
5380
5380
  {
5381
5381
  name: field.name,
5382
- controlType: (
5383
- // @ts-ignore
5384
- InputControlType_default[field.controlType]
5385
- ),
5382
+ controlType: field.controlType,
5386
5383
  value: getNestedProperty2(
5387
5384
  formState.inputValues,
5388
5385
  field.name
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.20260425061813",
3
+ "version": "0.8.1-dev.20260425114015",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",