@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260715103126 → 0.8.1-dev.20260720113207

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.
@@ -642,32 +642,32 @@ var SwitchInput_default = SwitchInput;
642
642
 
643
643
  // src/components/controls/edit/InputControlClient.tsx
644
644
  import { jsx as jsx5 } from "react/jsx-runtime";
645
- var InputControl = React5.forwardRef(
645
+ var ControlComponents = {
646
+ [InputControlType_default.lineTextInput]: LineTextInput_default,
647
+ [InputControlType_default.emailInput]: EmailInput_default,
648
+ [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
649
+ [InputControlType_default.moneyInput]: MoneyInput_default,
650
+ [InputControlType_default.select]: Select_default,
651
+ [InputControlType_default.percentageInput]: PercentageInput_default,
652
+ [InputControlType_default.phoneInput]: PhoneInput_default,
653
+ [InputControlType_default.numberInput]: NumberInput_default,
654
+ [InputControlType_default.checkboxInput]: CheckboxInput_default,
655
+ [InputControlType_default.otpInput]: OtpInput_default,
656
+ [InputControlType_default.datetimeInput]: DateTimeInput_default,
657
+ [InputControlType_default.colorInput]: ColorInput_default,
658
+ [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
659
+ [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
660
+ [InputControlType_default.booleanSelect]: BooleanSelect_default,
661
+ [InputControlType_default.timeInput]: TimeInput_default,
662
+ [InputControlType_default.asset]: AssetUpload_default,
663
+ [InputControlType_default.switchInput]: SwitchInput_default
664
+ };
665
+ var InputControl = React5.memo(React5.forwardRef(
646
666
  (props, ref) => {
647
- const ControlComponents = {
648
- [InputControlType_default.lineTextInput]: LineTextInput_default,
649
- [InputControlType_default.emailInput]: EmailInput_default,
650
- [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
651
- [InputControlType_default.moneyInput]: MoneyInput_default,
652
- [InputControlType_default.select]: Select_default,
653
- [InputControlType_default.percentageInput]: PercentageInput_default,
654
- [InputControlType_default.phoneInput]: PhoneInput_default,
655
- [InputControlType_default.numberInput]: NumberInput_default,
656
- [InputControlType_default.checkboxInput]: CheckboxInput_default,
657
- [InputControlType_default.otpInput]: OtpInput_default,
658
- [InputControlType_default.datetimeInput]: DateTimeInput_default,
659
- [InputControlType_default.colorInput]: ColorInput_default,
660
- [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
661
- [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
662
- [InputControlType_default.booleanSelect]: BooleanSelect_default,
663
- [InputControlType_default.timeInput]: TimeInput_default,
664
- [InputControlType_default.asset]: AssetUpload_default,
665
- [InputControlType_default.switchInput]: SwitchInput_default
666
- };
667
667
  const SelectedControlComponent = ControlComponents[props.controlType];
668
668
  return /* @__PURE__ */ jsx5(React5.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx5(SelectedControlComponent, { ...props }) : "Control not found" });
669
669
  }
670
- );
670
+ ));
671
671
  InputControl.displayName = "InputControl";
672
672
  var InputControlClient_default = InputControl;
673
673
  export {
@@ -644,32 +644,32 @@ var SwitchInput_default = SwitchInput;
644
644
 
645
645
  // src/components/controls/edit/InputControlClient.tsx
646
646
  import { jsx as jsx5 } from "react/jsx-runtime";
647
- var InputControl = React5.forwardRef(
647
+ var ControlComponents = {
648
+ [InputControlType_default.lineTextInput]: LineTextInput_default,
649
+ [InputControlType_default.emailInput]: EmailInput_default,
650
+ [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
651
+ [InputControlType_default.moneyInput]: MoneyInput_default,
652
+ [InputControlType_default.select]: Select_default,
653
+ [InputControlType_default.percentageInput]: PercentageInput_default,
654
+ [InputControlType_default.phoneInput]: PhoneInput_default,
655
+ [InputControlType_default.numberInput]: NumberInput_default,
656
+ [InputControlType_default.checkboxInput]: CheckboxInput_default,
657
+ [InputControlType_default.otpInput]: OtpInput_default,
658
+ [InputControlType_default.datetimeInput]: DateTimeInput_default,
659
+ [InputControlType_default.colorInput]: ColorInput_default,
660
+ [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
661
+ [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
662
+ [InputControlType_default.booleanSelect]: BooleanSelect_default,
663
+ [InputControlType_default.timeInput]: TimeInput_default,
664
+ [InputControlType_default.asset]: AssetUpload_default,
665
+ [InputControlType_default.switchInput]: SwitchInput_default
666
+ };
667
+ var InputControl = React5.memo(React5.forwardRef(
648
668
  (props, ref) => {
649
- const ControlComponents = {
650
- [InputControlType_default.lineTextInput]: LineTextInput_default,
651
- [InputControlType_default.emailInput]: EmailInput_default,
652
- [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
653
- [InputControlType_default.moneyInput]: MoneyInput_default,
654
- [InputControlType_default.select]: Select_default,
655
- [InputControlType_default.percentageInput]: PercentageInput_default,
656
- [InputControlType_default.phoneInput]: PhoneInput_default,
657
- [InputControlType_default.numberInput]: NumberInput_default,
658
- [InputControlType_default.checkboxInput]: CheckboxInput_default,
659
- [InputControlType_default.otpInput]: OtpInput_default,
660
- [InputControlType_default.datetimeInput]: DateTimeInput_default,
661
- [InputControlType_default.colorInput]: ColorInput_default,
662
- [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
663
- [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
664
- [InputControlType_default.booleanSelect]: BooleanSelect_default,
665
- [InputControlType_default.timeInput]: TimeInput_default,
666
- [InputControlType_default.asset]: AssetUpload_default,
667
- [InputControlType_default.switchInput]: SwitchInput_default
668
- };
669
669
  const SelectedControlComponent = ControlComponents[props.controlType];
670
670
  return /* @__PURE__ */ jsx5(React5.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx5(SelectedControlComponent, { ...props }) : "Control not found" });
671
671
  }
672
- );
672
+ ));
673
673
  InputControl.displayName = "InputControl";
674
674
  var InputControlClient_default = InputControl;
675
675
  export {
package/dist/index.d.mts CHANGED
@@ -13,7 +13,7 @@ interface ViewControlProps {
13
13
  session?: any;
14
14
  }
15
15
 
16
- declare const ViewControl: (props: ViewControlProps) => React__default.JSX.Element;
16
+ declare const ViewControl: React__default.MemoExoticComponent<(props: ViewControlProps) => React__default.JSX.Element>;
17
17
 
18
18
  declare const ViewControlTypes: {
19
19
  lineText: string;
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ interface ViewControlProps {
13
13
  session?: any;
14
14
  }
15
15
 
16
- declare const ViewControl: (props: ViewControlProps) => React__default.JSX.Element;
16
+ declare const ViewControl: React__default.MemoExoticComponent<(props: ViewControlProps) => React__default.JSX.Element>;
17
17
 
18
18
  declare const ViewControlTypes: {
19
19
  lineText: string;
package/dist/index.js CHANGED
@@ -2803,7 +2803,7 @@ var InputControlClient_exports = {};
2803
2803
  __export(InputControlClient_exports, {
2804
2804
  default: () => InputControlClient_default
2805
2805
  });
2806
- var import_react37, import_jsx_runtime46, InputControl, InputControlClient_default;
2806
+ var import_react37, import_jsx_runtime46, ControlComponents2, InputControl, InputControlClient_default;
2807
2807
  var init_InputControlClient = __esm({
2808
2808
  "src/components/controls/edit/InputControlClient.tsx"() {
2809
2809
  "use strict";
@@ -2829,32 +2829,32 @@ var init_InputControlClient = __esm({
2829
2829
  init_AssetUpload();
2830
2830
  init_SwitchInput();
2831
2831
  import_jsx_runtime46 = require("react/jsx-runtime");
2832
- InputControl = import_react37.default.forwardRef(
2832
+ ControlComponents2 = {
2833
+ [InputControlType_default.lineTextInput]: LineTextInput_default,
2834
+ [InputControlType_default.emailInput]: EmailInput_default,
2835
+ [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
2836
+ [InputControlType_default.moneyInput]: MoneyInput_default,
2837
+ [InputControlType_default.select]: Select_default,
2838
+ [InputControlType_default.percentageInput]: PercentageInput_default,
2839
+ [InputControlType_default.phoneInput]: PhoneInput_default,
2840
+ [InputControlType_default.numberInput]: NumberInput_default,
2841
+ [InputControlType_default.checkboxInput]: CheckboxInput_default,
2842
+ [InputControlType_default.otpInput]: OtpInput_default,
2843
+ [InputControlType_default.datetimeInput]: DateTimeInput_default,
2844
+ [InputControlType_default.colorInput]: ColorInput_default,
2845
+ [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
2846
+ [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
2847
+ [InputControlType_default.booleanSelect]: BooleanSelect_default,
2848
+ [InputControlType_default.timeInput]: TimeInput_default,
2849
+ [InputControlType_default.asset]: AssetUpload_default,
2850
+ [InputControlType_default.switchInput]: SwitchInput_default
2851
+ };
2852
+ InputControl = import_react37.default.memo(import_react37.default.forwardRef(
2833
2853
  (props, ref) => {
2834
- const ControlComponents = {
2835
- [InputControlType_default.lineTextInput]: LineTextInput_default,
2836
- [InputControlType_default.emailInput]: EmailInput_default,
2837
- [InputControlType_default.multilineTextInput]: MultilineTextInput_default,
2838
- [InputControlType_default.moneyInput]: MoneyInput_default,
2839
- [InputControlType_default.select]: Select_default,
2840
- [InputControlType_default.percentageInput]: PercentageInput_default,
2841
- [InputControlType_default.phoneInput]: PhoneInput_default,
2842
- [InputControlType_default.numberInput]: NumberInput_default,
2843
- [InputControlType_default.checkboxInput]: CheckboxInput_default,
2844
- [InputControlType_default.otpInput]: OtpInput_default,
2845
- [InputControlType_default.datetimeInput]: DateTimeInput_default,
2846
- [InputControlType_default.colorInput]: ColorInput_default,
2847
- [InputControlType_default.selectWithSearchInput]: SelectWithSearchInput_default,
2848
- [InputControlType_default.selectWithSearchPanel]: SelectWithSearchPanel_default,
2849
- [InputControlType_default.booleanSelect]: BooleanSelect_default,
2850
- [InputControlType_default.timeInput]: TimeInput_default,
2851
- [InputControlType_default.asset]: AssetUpload_default,
2852
- [InputControlType_default.switchInput]: SwitchInput_default
2853
- };
2854
- const SelectedControlComponent = ControlComponents[props.controlType];
2854
+ const SelectedControlComponent = ControlComponents2[props.controlType];
2855
2855
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react37.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SelectedControlComponent, { ...props }) : "Control not found" });
2856
2856
  }
2857
- );
2857
+ ));
2858
2858
  InputControl.displayName = "InputControl";
2859
2859
  InputControlClient_default = InputControl;
2860
2860
  }
@@ -4499,36 +4499,36 @@ var DateTimeVew_default = DateTimeView;
4499
4499
 
4500
4500
  // src/components/controls/view/ViewControl.tsx
4501
4501
  var import_jsx_runtime18 = require("react/jsx-runtime");
4502
- var ViewControl = (props) => {
4503
- const ControlComponents = {
4504
- [ViewControlTypes_default.lineText]: LineTextView_default,
4505
- [ViewControlTypes_default.emailText]: EmailTextView_default,
4506
- [ViewControlTypes_default.asset]: Asset_default,
4507
- [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
4508
- [ViewControlTypes_default.boolean]: BooleanView_default,
4509
- [ViewControlTypes_default.checkboxInput]: BooleanView_default,
4510
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4511
- [ViewControlTypes_default.money]: MoneyView_default,
4512
- [ViewControlTypes_default.date]: DateView_default,
4513
- [ViewControlTypes_default.time]: DateView_default,
4514
- [ViewControlTypes_default.datetime]: DateTimeVew_default,
4515
- [ViewControlTypes_default.number]: NumberView_default,
4516
- [ViewControlTypes_default.multilineText]: MultilineTextView_default,
4517
- [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
4518
- [ViewControlTypes_default.moneyText]: MoneyView_default,
4519
- [ViewControlTypes_default.percentage]: PercentageView_default,
4520
- [ViewControlTypes_default.status]: StatusView_default,
4521
- [ViewControlTypes_default.statusBg]: StatusBgView_default,
4522
- [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
4523
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4524
- // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
4525
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
4526
- [ViewControlTypes_default.booleanView]: BooleanView_default,
4527
- [ViewControlTypes_default.text]: LineTextView_default
4528
- };
4502
+ var ControlComponents = {
4503
+ [ViewControlTypes_default.lineText]: LineTextView_default,
4504
+ [ViewControlTypes_default.emailText]: EmailTextView_default,
4505
+ [ViewControlTypes_default.asset]: Asset_default,
4506
+ [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
4507
+ [ViewControlTypes_default.boolean]: BooleanView_default,
4508
+ [ViewControlTypes_default.checkboxInput]: BooleanView_default,
4509
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4510
+ [ViewControlTypes_default.money]: MoneyView_default,
4511
+ [ViewControlTypes_default.date]: DateView_default,
4512
+ [ViewControlTypes_default.time]: DateView_default,
4513
+ [ViewControlTypes_default.datetime]: DateTimeVew_default,
4514
+ [ViewControlTypes_default.number]: NumberView_default,
4515
+ [ViewControlTypes_default.multilineText]: MultilineTextView_default,
4516
+ [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
4517
+ [ViewControlTypes_default.moneyText]: MoneyView_default,
4518
+ [ViewControlTypes_default.percentage]: PercentageView_default,
4519
+ [ViewControlTypes_default.status]: StatusView_default,
4520
+ [ViewControlTypes_default.statusBg]: StatusBgView_default,
4521
+ [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
4522
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4523
+ // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
4524
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
4525
+ [ViewControlTypes_default.booleanView]: BooleanView_default,
4526
+ [ViewControlTypes_default.text]: LineTextView_default
4527
+ };
4528
+ var ViewControl = import_react15.default.memo((props) => {
4529
4529
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
4530
4530
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react15.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
4531
- };
4531
+ });
4532
4532
  var ViewControl_default = ViewControl;
4533
4533
 
4534
4534
  // src/components/controls/edit/InputControl.tsx
@@ -7188,7 +7188,6 @@ var DataList = (props) => {
7188
7188
  let orderBy = "";
7189
7189
  let activePageNumber = 0;
7190
7190
  let pages = 0;
7191
- console.log(props.addLinkText);
7192
7191
  const [isDataFound, setIsDataFound] = (0, import_react58.useState)(null);
7193
7192
  const [searchTerm, setSearchTerm] = (0, import_react58.useState)(props.query?.searchTerm ?? "");
7194
7193
  (0, import_react58.useEffect)(() => {
@@ -7239,7 +7238,6 @@ var DataList = (props) => {
7239
7238
  name: updatedValues.name,
7240
7239
  value: updatedValues.value
7241
7240
  });
7242
- console.log("ddddaaa", updatedValues.value);
7243
7241
  let builder2 = new OdataBuilder(props.path);
7244
7242
  builder2 = builder2.setQuery(props.query);
7245
7243
  if (updatedValues.value != "" && updatedValues.value != null) {
@@ -7540,12 +7538,10 @@ var DataList = (props) => {
7540
7538
  }) }) }),
7541
7539
  /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
7542
7540
  let validityClass = "";
7543
- console.log("dataitem", dataitem);
7544
7541
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
7545
7542
  validityClass = "bg-alert-200";
7546
7543
  }
7547
7544
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
7548
- console.log("column", column);
7549
7545
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_react58.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7550
7546
  "td",
7551
7547
  {
package/dist/index.mjs CHANGED
@@ -375,41 +375,41 @@ var DateTimeVew_default = DateTimeView;
375
375
 
376
376
  // src/components/controls/view/ViewControl.tsx
377
377
  import { jsx as jsx14 } from "react/jsx-runtime";
378
- var ViewControl = (props) => {
379
- const ControlComponents = {
380
- [ViewControlTypes_default.lineText]: LineTextView_default,
381
- [ViewControlTypes_default.emailText]: EmailTextView_default,
382
- [ViewControlTypes_default.asset]: Asset_default,
383
- [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
384
- [ViewControlTypes_default.boolean]: BooleanView_default,
385
- [ViewControlTypes_default.checkboxInput]: BooleanView_default,
386
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
387
- [ViewControlTypes_default.money]: MoneyView_default,
388
- [ViewControlTypes_default.date]: DateView_default,
389
- [ViewControlTypes_default.time]: DateView_default,
390
- [ViewControlTypes_default.datetime]: DateTimeVew_default,
391
- [ViewControlTypes_default.number]: NumberView_default,
392
- [ViewControlTypes_default.multilineText]: MultilineTextView_default,
393
- [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
394
- [ViewControlTypes_default.moneyText]: MoneyView_default,
395
- [ViewControlTypes_default.percentage]: PercentageView_default,
396
- [ViewControlTypes_default.status]: StatusView_default,
397
- [ViewControlTypes_default.statusBg]: StatusBgView_default,
398
- [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
399
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
400
- // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
401
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
402
- [ViewControlTypes_default.booleanView]: BooleanView_default,
403
- [ViewControlTypes_default.text]: LineTextView_default
404
- };
378
+ var ControlComponents = {
379
+ [ViewControlTypes_default.lineText]: LineTextView_default,
380
+ [ViewControlTypes_default.emailText]: EmailTextView_default,
381
+ [ViewControlTypes_default.asset]: Asset_default,
382
+ [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
383
+ [ViewControlTypes_default.boolean]: BooleanView_default,
384
+ [ViewControlTypes_default.checkboxInput]: BooleanView_default,
385
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
386
+ [ViewControlTypes_default.money]: MoneyView_default,
387
+ [ViewControlTypes_default.date]: DateView_default,
388
+ [ViewControlTypes_default.time]: DateView_default,
389
+ [ViewControlTypes_default.datetime]: DateTimeVew_default,
390
+ [ViewControlTypes_default.number]: NumberView_default,
391
+ [ViewControlTypes_default.multilineText]: MultilineTextView_default,
392
+ [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
393
+ [ViewControlTypes_default.moneyText]: MoneyView_default,
394
+ [ViewControlTypes_default.percentage]: PercentageView_default,
395
+ [ViewControlTypes_default.status]: StatusView_default,
396
+ [ViewControlTypes_default.statusBg]: StatusBgView_default,
397
+ [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
398
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
399
+ // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
400
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
401
+ [ViewControlTypes_default.booleanView]: BooleanView_default,
402
+ [ViewControlTypes_default.text]: LineTextView_default
403
+ };
404
+ var ViewControl = React13.memo((props) => {
405
405
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
406
406
  return /* @__PURE__ */ jsx14(React13.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx14(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
407
- };
407
+ });
408
408
  var ViewControl_default = ViewControl;
409
409
 
410
410
  // src/components/controls/edit/InputControl.tsx
411
411
  import dynamic4 from "next/dynamic";
412
- var InputControl = dynamic4(() => import("./InputControlClient-QAZKQLFO.mjs"), {
412
+ var InputControl = dynamic4(() => import("./InputControlClient-WW2T4W77.mjs"), {
413
413
  ssr: false
414
414
  });
415
415
  var InputControl_default = InputControl;
@@ -3022,7 +3022,6 @@ var DataList = (props) => {
3022
3022
  let orderBy = "";
3023
3023
  let activePageNumber = 0;
3024
3024
  let pages = 0;
3025
- console.log(props.addLinkText);
3026
3025
  const [isDataFound, setIsDataFound] = useState2(null);
3027
3026
  const [searchTerm, setSearchTerm] = useState2(props.query?.searchTerm ?? "");
3028
3027
  useEffect3(() => {
@@ -3073,7 +3072,6 @@ var DataList = (props) => {
3073
3072
  name: updatedValues.name,
3074
3073
  value: updatedValues.value
3075
3074
  });
3076
- console.log("ddddaaa", updatedValues.value);
3077
3075
  let builder2 = new OdataBuilder(props.path);
3078
3076
  builder2 = builder2.setQuery(props.query);
3079
3077
  if (updatedValues.value != "" && updatedValues.value != null) {
@@ -3374,12 +3372,10 @@ var DataList = (props) => {
3374
3372
  }) }) }),
3375
3373
  /* @__PURE__ */ jsx40("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3376
3374
  let validityClass = "";
3377
- console.log("dataitem", dataitem);
3378
3375
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3379
3376
  validityClass = "bg-alert-200";
3380
3377
  }
3381
3378
  return /* @__PURE__ */ jsx40("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3382
- console.log("column", column);
3383
3379
  return /* @__PURE__ */ jsx40(React27.Fragment, { children: /* @__PURE__ */ jsx40(
3384
3380
  "td",
3385
3381
  {
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.20260715103126",
3
+ "version": "0.8.1-dev.20260720113207",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -63,7 +63,6 @@
63
63
  "load-tsconfig": "^0.2.5",
64
64
  "magic-string": "^0.30.21",
65
65
  "mlly": "^1.8.0",
66
- "moment-timezone": "^0.6.2",
67
66
  "ms": "^2.1.3",
68
67
  "mz": "^2.7.0",
69
68
  "next": "^15.5.20",
@@ -1,45 +0,0 @@
1
- "use client";
2
-
3
- // src/components/pageRenderingEngine/nodes/EnterAnimationClient.tsx
4
- import React, { useEffect, useRef } from "react";
5
- import { Fragment, jsx } from "react/jsx-runtime";
6
- function EnterAnimationClient({ hasEnterAnimation, children }) {
7
- const ref = useRef(null);
8
- console.log("render");
9
- useEffect(() => {
10
- console.log("effect");
11
- console.log("ref", ref.current);
12
- if (!hasEnterAnimation) {
13
- console.log("no animation");
14
- return;
15
- }
16
- if (!ref.current) {
17
- console.log("no ref");
18
- return;
19
- }
20
- console.log("observer started");
21
- }, []);
22
- useEffect(() => {
23
- if (!hasEnterAnimation || !ref.current) return;
24
- const observer = new IntersectionObserver(
25
- (entries) => {
26
- entries.forEach((entry) => {
27
- if (entry.isIntersecting) {
28
- entry.target.classList.add("visible");
29
- observer.unobserve(entry.target);
30
- }
31
- });
32
- },
33
- { threshold: 0.1 }
34
- );
35
- observer.observe(ref.current);
36
- return () => observer.disconnect();
37
- }, [hasEnterAnimation]);
38
- if (!children) return null;
39
- return /* @__PURE__ */ jsx(Fragment, { children: children && // enforce passing the ref to Wrapper
40
- //@ts-ignore
41
- React.cloneElement(children, { ref }) });
42
- }
43
- export {
44
- EnterAnimationClient as default
45
- };
@@ -1,47 +0,0 @@
1
- "use client";
2
-
3
- "use client";
4
-
5
- // src/components/pageRenderingEngine/nodes/EnterAnimationClient.tsx
6
- import React, { useEffect, useRef } from "react";
7
- import { Fragment, jsx } from "react/jsx-runtime";
8
- function EnterAnimationClient({ hasEnterAnimation, children }) {
9
- const ref = useRef(null);
10
- console.log("render");
11
- useEffect(() => {
12
- console.log("effect");
13
- console.log("ref", ref.current);
14
- if (!hasEnterAnimation) {
15
- console.log("no animation");
16
- return;
17
- }
18
- if (!ref.current) {
19
- console.log("no ref");
20
- return;
21
- }
22
- console.log("observer started");
23
- }, []);
24
- useEffect(() => {
25
- if (!hasEnterAnimation || !ref.current) return;
26
- const observer = new IntersectionObserver(
27
- (entries) => {
28
- entries.forEach((entry) => {
29
- if (entry.isIntersecting) {
30
- entry.target.classList.add("visible");
31
- observer.unobserve(entry.target);
32
- }
33
- });
34
- },
35
- { threshold: 0.1 }
36
- );
37
- observer.observe(ref.current);
38
- return () => observer.disconnect();
39
- }, [hasEnterAnimation]);
40
- if (!children) return null;
41
- return /* @__PURE__ */ jsx(Fragment, { children: children && // enforce passing the ref to Wrapper
42
- //@ts-ignore
43
- React.cloneElement(children, { ref }) });
44
- }
45
- export {
46
- EnterAnimationClient as default
47
- };