@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260707141031 → 0.8.1-dev.20260708060703

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.mjs CHANGED
@@ -1,6 +1,8 @@
1
+ "use client";
2
+
1
3
  import {
2
4
  OdataBuilder
3
- } from "./chunk-47HD7QP7.mjs";
5
+ } from "./chunk-OGGIS4AN.mjs";
4
6
  import {
5
7
  AssetUtility_default,
6
8
  BooleanSelect_default,
@@ -17,45 +19,51 @@ import {
17
19
  PhoneInput_default,
18
20
  SelectWithSearchInput_default,
19
21
  TimeInput_default
20
- } from "./chunk-YG6FKKQJ.mjs";
22
+ } from "./chunk-7ZFZLN56.mjs";
21
23
  import {
22
24
  Constants,
23
25
  Hyperlink,
24
26
  Icon_default,
25
27
  InputControlType_default
26
- } from "./chunk-CM7LUGCH.mjs";
28
+ } from "./chunk-FI2KJBK2.mjs";
27
29
  import {
28
30
  ServiceClient_default
29
- } from "./chunk-3GWLDT7C.mjs";
31
+ } from "./chunk-WEV5U33G.mjs";
30
32
  import {
31
33
  Button_default,
32
34
  ClientButton_default,
33
35
  ToastService_default
34
- } from "./chunk-IKIXEQPV.mjs";
35
- import "./chunk-56HSDML5.mjs";
36
+ } from "./chunk-67IG5NBU.mjs";
37
+ import "./chunk-IMNQO57B.mjs";
36
38
 
37
39
  // src/components/controls/view/ViewControl.tsx
38
- import React10 from "react";
40
+ import React13 from "react";
39
41
 
40
42
  // src/components/controls/view/ViewControlTypes.tsx
41
43
  var ViewControlTypes = {
42
44
  lineText: "lineText",
45
+ emailText: "email",
43
46
  asset: "asset",
44
47
  multilineTextBullets: "multilineTextBullets",
45
48
  boolean: "boolean",
49
+ checkboxInput: "boolean",
46
50
  money: "money",
47
51
  date: "date",
48
52
  time: "time",
49
53
  datetime: "datetime",
50
54
  number: "number",
51
55
  multilineText: "multilineText",
56
+ multilinetext: "multilinetext",
52
57
  moneyText: "moneyText",
53
58
  percentage: "percentage",
59
+ status: "status",
54
60
  statusBg: "statusBg",
55
61
  progressIndicator: "progressIndicator",
56
62
  timeUntilStarts: "timeUntilStarts",
57
63
  timeUntilStartsStyled: "timeUntilStartsStyled",
58
- aiGeneratedSummary: "aiGeneratedSummary"
64
+ aiGeneratedSummary: "aiGeneratedSummary",
65
+ booleanView: "booleanView",
66
+ text: "text"
59
67
  };
60
68
  var ViewControlTypes_default = ViewControlTypes;
61
69
 
@@ -69,7 +77,7 @@ var NumberView_default = NumberView;
69
77
 
70
78
  // src/components/controls/view/DateView.tsx
71
79
  import dynamic from "next/dynamic";
72
- var DateView = dynamic(() => import("./DateViewClient-ELEHLGWS.mjs"), {
80
+ var DateView = dynamic(() => import("./DateViewClient-VLTRN47D.mjs"), {
73
81
  ssr: false
74
82
  });
75
83
  var DateView_default = DateView;
@@ -124,7 +132,7 @@ import React3 from "react";
124
132
  // src/components/DeviceAssetSelector.tsx
125
133
  import dynamic2 from "next/dynamic";
126
134
  import { jsx as jsx3 } from "react/jsx-runtime";
127
- var HlsPlayer = dynamic2(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
135
+ var HlsPlayer = dynamic2(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
128
136
  var FORMAT_CLASSES = {
129
137
  center: "justify-center",
130
138
  left: "justify-start",
@@ -236,8 +244,32 @@ var LineText = (props) => {
236
244
  };
237
245
  var LineTextView_default = LineText;
238
246
 
239
- // src/components/controls/view/MoneyView.tsx
247
+ // src/components/controls/view/EmailTextView.tsx
240
248
  import React5 from "react";
249
+ import { jsx as jsx6 } from "react/jsx-runtime";
250
+ var EmailText = (props) => {
251
+ return /* @__PURE__ */ jsx6(React5.Fragment, { children: props.value });
252
+ };
253
+ var EmailTextView_default = EmailText;
254
+
255
+ // src/components/controls/view/StatusBgView.tsx
256
+ import React6 from "react";
257
+ import { jsx as jsx7 } from "react/jsx-runtime";
258
+ var StatusBg = (props) => {
259
+ return /* @__PURE__ */ jsx7(React6.Fragment, { children: props.value && props.value != "" && /* @__PURE__ */ jsx7("span", { className: "py-0.5 px-1.5 text-xs capitalize text-white font-semibold rounded bg-status bg-status-" + props.value, children: props.value }) });
260
+ };
261
+ var StatusBgView_default = StatusBg;
262
+
263
+ // src/components/controls/view/StatusView.tsx
264
+ import React7 from "react";
265
+ import { jsx as jsx8 } from "react/jsx-runtime";
266
+ var Status = (props) => {
267
+ return /* @__PURE__ */ jsx8(React7.Fragment, { children: /* @__PURE__ */ jsx8("span", { className: "capitalize font-semibold rounded text-status text-status-" + props.value, children: props.value }) });
268
+ };
269
+ var StatusView_default = Status;
270
+
271
+ // src/components/controls/view/MoneyView.tsx
272
+ import React8 from "react";
241
273
 
242
274
  // src/components/utilities/CurrencyUtility.tsx
243
275
  var CurrencyUtility = class {
@@ -258,40 +290,40 @@ var CurrencyUtility = class {
258
290
  var CurrencyUtility_default = CurrencyUtility;
259
291
 
260
292
  // src/components/controls/view/MoneyView.tsx
261
- import { jsx as jsx6, jsxs } from "react/jsx-runtime";
293
+ import { jsx as jsx9, jsxs } from "react/jsx-runtime";
262
294
  var Money = (props) => {
263
295
  const parsedNumber = parseFloat(props.value);
264
- return /* @__PURE__ */ jsx6(React5.Fragment, { children: !Number.isNaN(parsedNumber) && /* @__PURE__ */ jsxs(React5.Fragment, { children: [
265
- /* @__PURE__ */ jsx6("span", { className: "mr-0.5", children: CurrencyUtility_default.getCurrencySymbol(props.unit) }),
296
+ return /* @__PURE__ */ jsx9(React8.Fragment, { children: !Number.isNaN(parsedNumber) && /* @__PURE__ */ jsxs(React8.Fragment, { children: [
297
+ /* @__PURE__ */ jsx9("span", { className: "mr-0.5", children: CurrencyUtility_default.getCurrencySymbol(props.unit) }),
266
298
  parsedNumber.toLocaleString()
267
299
  ] }) });
268
300
  };
269
301
  var MoneyView_default = Money;
270
302
 
271
303
  // src/components/controls/view/MultilineTextBulletsView.tsx
272
- import React6 from "react";
273
- import { jsx as jsx7 } from "react/jsx-runtime";
304
+ import React9 from "react";
305
+ import { jsx as jsx10 } from "react/jsx-runtime";
274
306
  var MultilineTextBullets = (props) => {
275
307
  const lines = props.value?.split("\\n");
276
- return /* @__PURE__ */ jsx7(React6.Fragment, { children: /* @__PURE__ */ jsx7("ul", { className: "list-disc", children: lines && lines.map((line, index) => {
277
- return /* @__PURE__ */ jsx7("li", { children: line }, index);
308
+ return /* @__PURE__ */ jsx10(React9.Fragment, { children: /* @__PURE__ */ jsx10("ul", { className: "list-disc", children: lines && lines.map((line, index) => {
309
+ return /* @__PURE__ */ jsx10("li", { children: line }, index);
278
310
  }) }) });
279
311
  };
280
312
  var MultilineTextBulletsView_default = MultilineTextBullets;
281
313
 
282
314
  // src/components/controls/view/MultilineTextView.tsx
283
- import React7 from "react";
284
- import { jsx as jsx8 } from "react/jsx-runtime";
315
+ import React10 from "react";
316
+ import { jsx as jsx11 } from "react/jsx-runtime";
285
317
  var MultilineText = (props) => {
286
- return /* @__PURE__ */ jsx8(React7.Fragment, { children: /* @__PURE__ */ jsx8("span", { className: "whitespace-pre-line", children: props.value }) });
318
+ return /* @__PURE__ */ jsx11(React10.Fragment, { children: /* @__PURE__ */ jsx11("span", { className: "whitespace-pre-line", children: props.value }) });
287
319
  };
288
320
  var MultilineTextView_default = MultilineText;
289
321
 
290
322
  // src/components/controls/view/PercentageView.tsx
291
- import React8 from "react";
323
+ import React11 from "react";
292
324
  import { jsxs as jsxs2 } from "react/jsx-runtime";
293
325
  var PercentageView = (props) => {
294
- return /* @__PURE__ */ jsxs2(React8.Fragment, { children: [
326
+ return /* @__PURE__ */ jsxs2(React11.Fragment, { children: [
295
327
  props.value,
296
328
  "%"
297
329
  ] });
@@ -299,16 +331,16 @@ var PercentageView = (props) => {
299
331
  var PercentageView_default = PercentageView;
300
332
 
301
333
  // src/components/controls/view/ProgressIndicator.tsx
302
- import React9 from "react";
303
- import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
334
+ import React12 from "react";
335
+ import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
304
336
  var ProgressIndicator = (props) => {
305
337
  const percentage = 100;
306
338
  const circumference = Math.PI * 56;
307
339
  const offset = circumference * (1 - percentage / 100);
308
- return /* @__PURE__ */ jsx9(React9.Fragment, { children: /* @__PURE__ */ jsxs3("div", { className: "relative w-48 h-48", children: [
309
- /* @__PURE__ */ jsx9("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
310
- /* @__PURE__ */ jsx9("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ jsx9("div", { className: "w-full h-full rounded-full border-t-8 border-green-500", style: { transform: `rotate(-90deg)`, clipPath: `inset(0px ${offset}px 0px 0px)` } }) }),
311
- /* @__PURE__ */ jsx9("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center text-lg font-bold text-gray-800", children: /* @__PURE__ */ jsxs3("span", { children: [
340
+ return /* @__PURE__ */ jsx12(React12.Fragment, { children: /* @__PURE__ */ jsxs3("div", { className: "relative w-48 h-48", children: [
341
+ /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
342
+ /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ jsx12("div", { className: "w-full h-full rounded-full border-t-8 border-green-500", style: { transform: `rotate(-90deg)`, clipPath: `inset(0px ${offset}px 0px 0px)` } }) }),
343
+ /* @__PURE__ */ jsx12("div", { className: "absolute top-0 left-0 w-full h-full flex items-center justify-center text-lg font-bold text-gray-800", children: /* @__PURE__ */ jsxs3("span", { children: [
312
344
  percentage,
313
345
  "%"
314
346
  ] }) })
@@ -317,37 +349,39 @@ var ProgressIndicator = (props) => {
317
349
  var ProgressIndicator_default = ProgressIndicator;
318
350
 
319
351
  // src/components/controls/view/AiGeneratedSummary.tsx
320
- import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
352
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
321
353
  var AiGeneratedSummary = (props) => {
322
354
  const lines = props.value?.split("\n").filter((line) => line.trim() !== "") || [];
323
355
  return /* @__PURE__ */ jsxs4("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
324
- /* @__PURE__ */ jsx10("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-start gap-3 ", children: [
325
- /* @__PURE__ */ jsx10("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ jsx10("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5", children: /* @__PURE__ */ jsx10("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }) }) }),
356
+ /* @__PURE__ */ jsx13("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-start gap-3 ", children: [
357
+ /* @__PURE__ */ jsx13("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ jsx13("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "w-5", children: /* @__PURE__ */ jsx13("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }) }) }),
326
358
  /* @__PURE__ */ jsxs4("div", { children: [
327
- /* @__PURE__ */ jsx10("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
328
- /* @__PURE__ */ jsx10("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
359
+ /* @__PURE__ */ jsx13("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
360
+ /* @__PURE__ */ jsx13("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
329
361
  ] })
330
362
  ] }) }),
331
- /* @__PURE__ */ jsx10("div", { children: /* @__PURE__ */ jsx10("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ jsx10("li", { className: "m-0", children: line }, index)) }) })
363
+ /* @__PURE__ */ jsx13("div", { children: /* @__PURE__ */ jsx13("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ jsx13("li", { className: "m-0", children: line }, index)) }) })
332
364
  ] });
333
365
  };
334
366
  var AiGeneratedSummary_default = AiGeneratedSummary;
335
367
 
336
368
  // src/components/controls/view/DateTimeVew.tsx
337
369
  import dynamic3 from "next/dynamic";
338
- var DateTimeView = dynamic3(() => import("./DateTimeViewClient-22GW4AD7.mjs"), {
370
+ var DateTimeView = dynamic3(() => import("./DateTimeViewClient-R3M6ISVK.mjs"), {
339
371
  ssr: false
340
372
  });
341
373
  var DateTimeVew_default = DateTimeView;
342
374
 
343
375
  // src/components/controls/view/ViewControl.tsx
344
- import { jsx as jsx11 } from "react/jsx-runtime";
376
+ import { jsx as jsx14 } from "react/jsx-runtime";
345
377
  var ViewControl = (props) => {
346
378
  const ControlComponents = {
347
379
  [ViewControlTypes_default.lineText]: LineTextView_default,
380
+ [ViewControlTypes_default.emailText]: EmailTextView_default,
348
381
  [ViewControlTypes_default.asset]: Asset_default,
349
382
  [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
350
383
  [ViewControlTypes_default.boolean]: BooleanView_default,
384
+ [ViewControlTypes_default.checkboxInput]: BooleanView_default,
351
385
  // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
352
386
  [ViewControlTypes_default.money]: MoneyView_default,
353
387
  [ViewControlTypes_default.date]: DateView_default,
@@ -355,34 +389,38 @@ var ViewControl = (props) => {
355
389
  [ViewControlTypes_default.datetime]: DateTimeVew_default,
356
390
  [ViewControlTypes_default.number]: NumberView_default,
357
391
  [ViewControlTypes_default.multilineText]: MultilineTextView_default,
392
+ [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
358
393
  [ViewControlTypes_default.moneyText]: MoneyView_default,
359
394
  [ViewControlTypes_default.percentage]: PercentageView_default,
360
- // [ViewControlTypes.statusBg]: StatusBg,
395
+ [ViewControlTypes_default.status]: StatusView_default,
396
+ [ViewControlTypes_default.statusBg]: StatusBgView_default,
361
397
  [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
362
398
  // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
363
399
  // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
364
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
400
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
401
+ [ViewControlTypes_default.booleanView]: BooleanView_default,
402
+ [ViewControlTypes_default.text]: LineTextView_default
365
403
  };
366
404
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
367
- return /* @__PURE__ */ jsx11(React10.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx11(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
405
+ return /* @__PURE__ */ jsx14(React13.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx14(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
368
406
  };
369
407
  var ViewControl_default = ViewControl;
370
408
 
371
409
  // src/components/controls/edit/InputControl.tsx
372
410
  import dynamic4 from "next/dynamic";
373
- var InputControl = dynamic4(() => import("./InputControlClient-TW664WIJ.mjs"), {
411
+ var InputControl = dynamic4(() => import("./InputControlClient-646PQPKQ.mjs"), {
374
412
  ssr: false
375
413
  });
376
414
  var InputControl_default = InputControl;
377
415
 
378
416
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
379
- import React20 from "react";
417
+ import React23 from "react";
380
418
 
381
419
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
382
- import React12 from "react";
420
+ import React15 from "react";
383
421
 
384
422
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
385
- import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
423
+ import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
386
424
  var TextNode = (props) => {
387
425
  function cssStringToJson(cssString) {
388
426
  const styleObject = {};
@@ -439,34 +477,34 @@ var TextNode = (props) => {
439
477
  function renderWithLineBreaks(text) {
440
478
  return text.split("\n").map((line, index, arr) => /* @__PURE__ */ jsxs5("span", { children: [
441
479
  line,
442
- index < arr.length - 1 && /* @__PURE__ */ jsx12("br", {})
480
+ index < arr.length - 1 && /* @__PURE__ */ jsx15("br", {})
443
481
  ] }, index));
444
482
  }
445
483
  const displayText = props.linkText ? props.linkText : props.node.text;
446
484
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
447
485
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
448
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx12("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx12("sub", { children: content }) : content;
486
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ jsx15("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ jsx15("sub", { children: content }) : content;
449
487
  return (
450
488
  // @ts-expect-error custom code
451
- /* @__PURE__ */ jsx12("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
489
+ /* @__PURE__ */ jsx15("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
452
490
  );
453
491
  };
454
492
  var TextNode_default = TextNode;
455
493
 
456
494
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
457
- import { jsx as jsx13 } from "react/jsx-runtime";
495
+ import { jsx as jsx16 } from "react/jsx-runtime";
458
496
  var LineBreakNode = () => {
459
- return /* @__PURE__ */ jsx13("div", { className: "py-0.5 lg:py-1.5" });
497
+ return /* @__PURE__ */ jsx16("div", { className: "py-0.5 lg:py-1.5" });
460
498
  };
461
499
  var LineBreakNode_default = LineBreakNode;
462
500
 
463
501
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
464
- import React11 from "react";
502
+ import React14 from "react";
465
503
 
466
504
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
467
505
  import dynamic5 from "next/dynamic";
468
- import { jsx as jsx14 } from "react/jsx-runtime";
469
- var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
506
+ import { jsx as jsx17 } from "react/jsx-runtime";
507
+ var HlsPlayer2 = dynamic5(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
470
508
  var getNestedValue = (obj, path) => {
471
509
  if (!obj || !path) return void 0;
472
510
  return path.split(".").reduce((current, key) => {
@@ -498,7 +536,7 @@ var ImageNode = (props) => {
498
536
  assets = [image];
499
537
  }
500
538
  if (assets && assets.length > 0) {
501
- return /* @__PURE__ */ jsx14(
539
+ return /* @__PURE__ */ jsx17(
502
540
  DeviceAssetSelector_default,
503
541
  {
504
542
  device: props.device,
@@ -539,7 +577,7 @@ var ImageNode = (props) => {
539
577
  right: "justify-end"
540
578
  };
541
579
  const isHls = imageUrl.endsWith(".m3u8");
542
- const renderMedia = () => isHls ? /* @__PURE__ */ jsx14(
580
+ const renderMedia = () => isHls ? /* @__PURE__ */ jsx17(
543
581
  HlsPlayer2,
544
582
  {
545
583
  assetUrl: imageUrl,
@@ -552,7 +590,7 @@ var ImageNode = (props) => {
552
590
  apiBaseUrl: props.apiBaseUrl,
553
591
  session: props.session
554
592
  }
555
- ) : /* @__PURE__ */ jsx14(
593
+ ) : /* @__PURE__ */ jsx17(
556
594
  "img",
557
595
  {
558
596
  style: styles,
@@ -565,7 +603,7 @@ var ImageNode = (props) => {
565
603
  }
566
604
  );
567
605
  if (props.node.width) {
568
- return /* @__PURE__ */ jsx14("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
606
+ return /* @__PURE__ */ jsx17("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
569
607
  }
570
608
  return renderMedia();
571
609
  };
@@ -573,8 +611,8 @@ var ImageNode_default = ImageNode;
573
611
 
574
612
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
575
613
  import dynamic6 from "next/dynamic";
576
- import { Fragment, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
577
- var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-FUL3J5HR.mjs"), {
614
+ import { Fragment, jsx as jsx18, jsxs as jsxs6 } from "react/jsx-runtime";
615
+ var LinkNodeButton = dynamic6(() => import("./LinkNodeButton-ZONM74OO.mjs"), {
578
616
  ssr: false
579
617
  });
580
618
  function getNestedValue2(obj, path) {
@@ -626,13 +664,13 @@ var LinkNode = (props) => {
626
664
  const isButton = node.isButton === true;
627
665
  const renderChildren = () => {
628
666
  if (!node.children || node.children.length === 0) return null;
629
- return /* @__PURE__ */ jsx15(Fragment, { children: node.children.map((childNode, index) => {
667
+ return /* @__PURE__ */ jsx18(Fragment, { children: node.children.map((childNode, index) => {
630
668
  const SelectedNode = NodeTypes2[childNode.type];
631
669
  if (!SelectedNode) {
632
670
  console.warn("Unknown node type:", childNode.type);
633
671
  return null;
634
672
  }
635
- return /* @__PURE__ */ jsx15(React11.Fragment, { children: /* @__PURE__ */ jsx15(
673
+ return /* @__PURE__ */ jsx18(React14.Fragment, { children: /* @__PURE__ */ jsx18(
636
674
  SelectedNode,
637
675
  {
638
676
  node: childNode,
@@ -645,10 +683,10 @@ var LinkNode = (props) => {
645
683
  };
646
684
  const renderFallback = () => {
647
685
  if ((!node.children || node.children.length === 0) && linkText) {
648
- return /* @__PURE__ */ jsx15("span", { children: linkText });
686
+ return /* @__PURE__ */ jsx18("span", { children: linkText });
649
687
  }
650
688
  if ((!node.children || node.children.length === 0) && !linkText) {
651
- return /* @__PURE__ */ jsx15("br", {});
689
+ return /* @__PURE__ */ jsx18("br", {});
652
690
  }
653
691
  return null;
654
692
  };
@@ -687,10 +725,10 @@ var LinkNode = (props) => {
687
725
  var LinkNode_default = LinkNode;
688
726
 
689
727
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
690
- import { jsx as jsx16 } from "react/jsx-runtime";
728
+ import { jsx as jsx19 } from "react/jsx-runtime";
691
729
  var SVGIconNode = ({ node }) => {
692
730
  if (!node?.svgCode) return null;
693
- return /* @__PURE__ */ jsx16(
731
+ return /* @__PURE__ */ jsx19(
694
732
  "span",
695
733
  {
696
734
  style: {
@@ -707,7 +745,7 @@ var SVGIconNode_default = SVGIconNode;
707
745
 
708
746
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
709
747
  import katex from "katex";
710
- import { jsx as jsx17 } from "react/jsx-runtime";
748
+ import { jsx as jsx20 } from "react/jsx-runtime";
711
749
  var EquationNode = ({ node }) => {
712
750
  const { equation, inline } = node;
713
751
  let html = "";
@@ -722,7 +760,7 @@ var EquationNode = ({ node }) => {
722
760
  });
723
761
  }
724
762
  if (inline) {
725
- return /* @__PURE__ */ jsx17(
763
+ return /* @__PURE__ */ jsx20(
726
764
  "span",
727
765
  {
728
766
  className: "katex-inline",
@@ -730,7 +768,7 @@ var EquationNode = ({ node }) => {
730
768
  }
731
769
  );
732
770
  }
733
- return /* @__PURE__ */ jsx17(
771
+ return /* @__PURE__ */ jsx20(
734
772
  "div",
735
773
  {
736
774
  className: "katex-block my-3 text-center",
@@ -741,7 +779,7 @@ var EquationNode = ({ node }) => {
741
779
  var EquationNode_default = EquationNode;
742
780
 
743
781
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
744
- import { jsx as jsx18 } from "react/jsx-runtime";
782
+ import { jsx as jsx21 } from "react/jsx-runtime";
745
783
  function getNestedProperty(obj, path) {
746
784
  if (!obj || !path) return null;
747
785
  if (path.includes(".")) {
@@ -754,7 +792,7 @@ function getNestedProperty(obj, path) {
754
792
  }
755
793
  const value = obj[path];
756
794
  if (Array.isArray(value)) {
757
- return value.map((item, index) => /* @__PURE__ */ jsx18("div", { children: String(item) }, index));
795
+ return value.map((item, index) => /* @__PURE__ */ jsx21("div", { children: String(item) }, index));
758
796
  }
759
797
  return value;
760
798
  }
@@ -815,7 +853,7 @@ var DatafieldNode = (props) => {
815
853
  const dataType = props.node.dataType;
816
854
  if (isEmptyValue) return null;
817
855
  if (dataType === "rawContent") {
818
- return /* @__PURE__ */ jsx18(
856
+ return /* @__PURE__ */ jsx21(
819
857
  PageBodyRenderer_default,
820
858
  {
821
859
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -831,12 +869,12 @@ var DatafieldNode = (props) => {
831
869
  }
832
870
  );
833
871
  }
834
- return /* @__PURE__ */ jsx18(
872
+ return /* @__PURE__ */ jsx21(
835
873
  "span",
836
874
  {
837
875
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
838
876
  style: styles,
839
- children: /* @__PURE__ */ jsx18(
877
+ children: /* @__PURE__ */ jsx21(
840
878
  ViewControl_default,
841
879
  {
842
880
  controlType: dataType,
@@ -849,7 +887,7 @@ var DatafieldNode = (props) => {
849
887
  var DatafieldNode_default = DatafieldNode;
850
888
 
851
889
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
852
- import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
890
+ import { Fragment as Fragment2, jsx as jsx22, jsxs as jsxs7 } from "react/jsx-runtime";
853
891
  var ParagraphNode = (props) => {
854
892
  const NodeTypes2 = {
855
893
  ["text"]: TextNode_default,
@@ -869,9 +907,9 @@ var ParagraphNode = (props) => {
869
907
  const isInlineOnlyParent = props.parentTag === "summary";
870
908
  const hasChildren = props.node.children && props.node.children.length > 0;
871
909
  if (isInlineOnlyParent) {
872
- return /* @__PURE__ */ jsx19(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
910
+ return /* @__PURE__ */ jsx22(Fragment2, { children: hasChildren && props.node.children.map((node, index) => {
873
911
  const SelectedNode = NodeTypes2[node.type];
874
- return /* @__PURE__ */ jsx19(React12.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx19(
912
+ return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
875
913
  SelectedNode,
876
914
  {
877
915
  node,
@@ -886,7 +924,7 @@ var ParagraphNode = (props) => {
886
924
  return /* @__PURE__ */ jsxs7("div", { className: " " + formatClasses, children: [
887
925
  hasChildren && props.node.children.map((node, index) => {
888
926
  const SelectedNode = NodeTypes2[node.type];
889
- return /* @__PURE__ */ jsx19(React12.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx19(
927
+ return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(
890
928
  SelectedNode,
891
929
  {
892
930
  node,
@@ -897,14 +935,14 @@ var ParagraphNode = (props) => {
897
935
  }
898
936
  ) }, index);
899
937
  }),
900
- !hasChildren && /* @__PURE__ */ jsx19("div", { className: "py-1.5 lg:py-2" })
938
+ !hasChildren && /* @__PURE__ */ jsx22("div", { className: "py-1.5 lg:py-2" })
901
939
  ] });
902
940
  };
903
941
  var ParagraphNode_default = ParagraphNode;
904
942
 
905
943
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
906
- import React13 from "react";
907
- import { Fragment as Fragment3, jsx as jsx20 } from "react/jsx-runtime";
944
+ import React16 from "react";
945
+ import { Fragment as Fragment3, jsx as jsx23 } from "react/jsx-runtime";
908
946
  var HeadingNode = (props) => {
909
947
  const NodeTypes2 = {
910
948
  ["text"]: TextNode_default,
@@ -920,23 +958,23 @@ var HeadingNode = (props) => {
920
958
  {
921
959
  }
922
960
  const formatClasses = FormatClass[props.node.format] || "";
923
- return /* @__PURE__ */ jsx20(Fragment3, { children: React13.createElement(
961
+ return /* @__PURE__ */ jsx23(Fragment3, { children: React16.createElement(
924
962
  HeadingTag,
925
963
  { className: formatClasses },
926
964
  props.node.children && props.node.children.map((childNode, index) => {
927
965
  const SelectedNode = NodeTypes2[childNode.type];
928
- return /* @__PURE__ */ jsx20(React13.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx20(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
966
+ return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
929
967
  })
930
968
  ) });
931
969
  };
932
970
  var HeadingNode_default = HeadingNode;
933
971
 
934
972
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
935
- import React15 from "react";
973
+ import React18 from "react";
936
974
 
937
975
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
938
- import React14 from "react";
939
- import { jsx as jsx21 } from "react/jsx-runtime";
976
+ import React17 from "react";
977
+ import { jsx as jsx24 } from "react/jsx-runtime";
940
978
  var ListItemNode = (props) => {
941
979
  const NodeTypes2 = {
942
980
  text: TextNode_default,
@@ -953,66 +991,66 @@ var ListItemNode = (props) => {
953
991
  liStyle.fontSize = match[1].trim();
954
992
  }
955
993
  }
956
- return /* @__PURE__ */ jsx21("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
994
+ return /* @__PURE__ */ jsx24("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
957
995
  const SelectedNode = NodeTypes2[node.type];
958
996
  if (node.type === "linebreak") {
959
997
  if (!foundFirstBreak) {
960
998
  foundFirstBreak = true;
961
- return /* @__PURE__ */ jsx21("div", {}, index);
999
+ return /* @__PURE__ */ jsx24("div", {}, index);
962
1000
  } else {
963
- return /* @__PURE__ */ jsx21("div", { className: "py-1 lg:py-2" }, index);
1001
+ return /* @__PURE__ */ jsx24("div", { className: "py-1 lg:py-2" }, index);
964
1002
  }
965
1003
  } else {
966
1004
  foundFirstBreak = false;
967
- return /* @__PURE__ */ jsx21(React14.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx21(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1005
+ return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
968
1006
  }
969
1007
  }) });
970
1008
  };
971
1009
  var ListItemNode_default = ListItemNode;
972
1010
 
973
1011
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
974
- import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
1012
+ import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
975
1013
  var ListNode = (props) => {
976
1014
  const NodeTypes2 = {
977
1015
  listitem: ListItemNode_default
978
1016
  };
979
- return /* @__PURE__ */ jsxs8(React15.Fragment, { children: [
980
- props.node.listType == "bullet" && /* @__PURE__ */ jsx22("ul", { children: props.node.children && props.node.children.map((node, index) => {
1017
+ return /* @__PURE__ */ jsxs8(React18.Fragment, { children: [
1018
+ props.node.listType == "bullet" && /* @__PURE__ */ jsx25("ul", { children: props.node.children && props.node.children.map((node, index) => {
981
1019
  const SelectedNode = NodeTypes2[node.type];
982
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1020
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
983
1021
  }) }),
984
- props.node.listType == "number" && /* @__PURE__ */ jsx22("ol", { children: props.node.children && props.node.children.map((node, index) => {
1022
+ props.node.listType == "number" && /* @__PURE__ */ jsx25("ol", { children: props.node.children && props.node.children.map((node, index) => {
985
1023
  const SelectedNode = NodeTypes2[node.type];
986
- return /* @__PURE__ */ jsx22(React15.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx22(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
1024
+ return /* @__PURE__ */ jsx25(React18.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx25(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
987
1025
  }) })
988
1026
  ] });
989
1027
  };
990
1028
  var ListNode_default = ListNode;
991
1029
 
992
1030
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
993
- import React16 from "react";
994
- import { jsx as jsx23 } from "react/jsx-runtime";
1031
+ import React19 from "react";
1032
+ import { jsx as jsx26 } from "react/jsx-runtime";
995
1033
  var QuoteNode = (props) => {
996
1034
  const NodeTypes2 = {
997
1035
  ["text"]: TextNode_default,
998
1036
  ["linebreak"]: LineBreakNode_default,
999
1037
  ["link"]: LinkNode_default
1000
1038
  };
1001
- return /* @__PURE__ */ jsx23("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1039
+ return /* @__PURE__ */ jsx26("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
1002
1040
  const SelectedNode = NodeTypes2[node.type];
1003
- return /* @__PURE__ */ jsx23(React16.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx23(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1041
+ return /* @__PURE__ */ jsx26(React19.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx26(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
1004
1042
  }) });
1005
1043
  };
1006
1044
  var QuoteNode_default = QuoteNode;
1007
1045
 
1008
1046
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
1009
- import React17 from "react";
1047
+ import React20 from "react";
1010
1048
  import dynamic7 from "next/dynamic";
1011
- import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
1012
- var CopyButton = dynamic7(() => import("./CopyButton-XONTQQW7.mjs"), {
1049
+ import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1050
+ var CopyButton = dynamic7(() => import("./CopyButton-UPJPMJUB.mjs"), {
1013
1051
  ssr: false,
1014
1052
  // optional: fallback UI while loading
1015
- loading: () => /* @__PURE__ */ jsx24("span", { className: "text-gray-400 text-xs", children: "Copy" })
1053
+ loading: () => /* @__PURE__ */ jsx27("span", { className: "text-gray-400 text-xs", children: "Copy" })
1016
1054
  });
1017
1055
  var CodeNode = (props) => {
1018
1056
  const NodeTypes2 = {
@@ -1028,12 +1066,12 @@ var CodeNode = (props) => {
1028
1066
  }).join("") ?? "";
1029
1067
  return /* @__PURE__ */ jsxs9("div", { children: [
1030
1068
  /* @__PURE__ */ jsxs9("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
1031
- /* @__PURE__ */ jsx24("span", { children: "Code Snippet" }),
1032
- /* @__PURE__ */ jsx24(CopyButton, { text: textContent })
1069
+ /* @__PURE__ */ jsx27("span", { children: "Code Snippet" }),
1070
+ /* @__PURE__ */ jsx27(CopyButton, { text: textContent })
1033
1071
  ] }),
1034
- /* @__PURE__ */ jsx24("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1072
+ /* @__PURE__ */ jsx27("code", { className: "bg-neutral-soft p-4 text-sm whitespace-pre-wrap border border-2 block", children: props.node.children && props.node.children.map((node, index) => {
1035
1073
  const SelectedNode = NodeTypes2[node.type];
1036
- return /* @__PURE__ */ jsx24(React17.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx24(
1074
+ return /* @__PURE__ */ jsx27(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx27(
1037
1075
  SelectedNode,
1038
1076
  {
1039
1077
  node,
@@ -1048,15 +1086,15 @@ var CodeNode = (props) => {
1048
1086
  var CodeNode_default = CodeNode;
1049
1087
 
1050
1088
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
1051
- import { jsx as jsx25 } from "react/jsx-runtime";
1089
+ import { jsx as jsx28 } from "react/jsx-runtime";
1052
1090
  var HorizontalRuleNode = () => {
1053
- return /* @__PURE__ */ jsx25("hr", {});
1091
+ return /* @__PURE__ */ jsx28("hr", {});
1054
1092
  };
1055
1093
  var HorizontalRuleNode_default = HorizontalRuleNode;
1056
1094
 
1057
1095
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
1058
- import React18 from "react";
1059
- import { Fragment as Fragment4, jsx as jsx26 } from "react/jsx-runtime";
1096
+ import React21 from "react";
1097
+ import { Fragment as Fragment4, jsx as jsx29 } from "react/jsx-runtime";
1060
1098
  var WidgetNode = (props) => {
1061
1099
  const getWidgetParameters = () => {
1062
1100
  const widgetInputParameters = {
@@ -1120,7 +1158,7 @@ var WidgetNode = (props) => {
1120
1158
  };
1121
1159
  const widgetCode = props.node?.widgetCode;
1122
1160
  if (!widgetCode) {
1123
- return /* @__PURE__ */ jsx26(Fragment4, { children: "Invalid widget" });
1161
+ return /* @__PURE__ */ jsx29(Fragment4, { children: "Invalid widget" });
1124
1162
  }
1125
1163
  const widgetParams = getWidgetParameters();
1126
1164
  const WidgetRenderer = props.widgetRenderer;
@@ -1129,7 +1167,7 @@ var WidgetNode = (props) => {
1129
1167
  }
1130
1168
  return (
1131
1169
  // eslint-disable-next-line react-hooks/static-components
1132
- /* @__PURE__ */ jsx26(React18.Fragment, { children: /* @__PURE__ */ jsx26(
1170
+ /* @__PURE__ */ jsx29(React21.Fragment, { children: /* @__PURE__ */ jsx29(
1133
1171
  WidgetRenderer,
1134
1172
  {
1135
1173
  params: widgetParams,
@@ -1146,12 +1184,12 @@ var WidgetNode = (props) => {
1146
1184
  var WidgetNode_default = WidgetNode;
1147
1185
 
1148
1186
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
1149
- import React19 from "react";
1187
+ import React22 from "react";
1150
1188
 
1151
1189
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
1152
1190
  import dynamic8 from "next/dynamic";
1153
- import { jsx as jsx27 } from "react/jsx-runtime";
1154
- var IframeClient = dynamic8(() => import("./IframeClient-J22NMEVY.mjs"), {
1191
+ import { jsx as jsx30 } from "react/jsx-runtime";
1192
+ var IframeClient = dynamic8(() => import("./IframeClient-RGJFZ5P2.mjs"), {
1155
1193
  ssr: false
1156
1194
  });
1157
1195
  var EmbedNode = (props) => {
@@ -1163,7 +1201,7 @@ var EmbedNode = (props) => {
1163
1201
  } else {
1164
1202
  src = props.node.embedSrc;
1165
1203
  }
1166
- return /* @__PURE__ */ jsx27("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx27(IframeClient, { src }) });
1204
+ return /* @__PURE__ */ jsx30("div", { className: "aspect-video", children: src && /* @__PURE__ */ jsx30(IframeClient, { src }) });
1167
1205
  };
1168
1206
  var EmbedNode_default = EmbedNode;
1169
1207
 
@@ -1335,10 +1373,10 @@ var PathUtility = class {
1335
1373
  var PathUtility_default = new PathUtility();
1336
1374
 
1337
1375
  // src/components/NoDataFound.tsx
1338
- import { jsx as jsx28, jsxs as jsxs10 } from "react/jsx-runtime";
1376
+ import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
1339
1377
  var NoDataFound = () => {
1340
1378
  return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
1341
- /* @__PURE__ */ jsx28("div", { className: "mb-5", children: /* @__PURE__ */ jsx28("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx28(
1379
+ /* @__PURE__ */ jsx31("div", { className: "mb-5", children: /* @__PURE__ */ jsx31("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx31(
1342
1380
  "svg",
1343
1381
  {
1344
1382
  className: "w-10 h-10",
@@ -1346,7 +1384,7 @@ var NoDataFound = () => {
1346
1384
  stroke: "currentColor",
1347
1385
  viewBox: "0 0 24 24",
1348
1386
  xmlns: "http://www.w3.org/2000/svg",
1349
- children: /* @__PURE__ */ jsx28(
1387
+ children: /* @__PURE__ */ jsx31(
1350
1388
  "path",
1351
1389
  {
1352
1390
  strokeLinecap: "round",
@@ -1357,8 +1395,8 @@ var NoDataFound = () => {
1357
1395
  )
1358
1396
  }
1359
1397
  ) }) }),
1360
- /* @__PURE__ */ jsx28("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1361
- /* @__PURE__ */ jsx28("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1398
+ /* @__PURE__ */ jsx31("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
1399
+ /* @__PURE__ */ jsx31("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
1362
1400
  ] });
1363
1401
  };
1364
1402
  var NoDataFound_default = NoDataFound;
@@ -1368,8 +1406,8 @@ import dynamic10 from "next/dynamic";
1368
1406
 
1369
1407
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
1370
1408
  import dynamic9 from "next/dynamic";
1371
- import { Fragment as Fragment5, jsx as jsx29, jsxs as jsxs11 } from "react/jsx-runtime";
1372
- var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-57543DTW.mjs"), { ssr: false });
1409
+ import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1410
+ var HlsPlayer3 = dynamic9(() => import("./HlsPlayer-5AWFZ2P6.mjs"), { ssr: false });
1373
1411
  var deviceToMediaQuery = (device) => {
1374
1412
  switch (device) {
1375
1413
  case "lg":
@@ -1498,7 +1536,7 @@ var ImageGalleryNode = (props) => {
1498
1536
  };
1499
1537
  const formatClasses = FormatClass[props.node.format || ""] || "";
1500
1538
  return /* @__PURE__ */ jsxs11(Fragment5, { children: [
1501
- hlsSources.length > 0 && /* @__PURE__ */ jsx29(Fragment5, { children: /* @__PURE__ */ jsx29(
1539
+ hlsSources.length > 0 && /* @__PURE__ */ jsx32(Fragment5, { children: /* @__PURE__ */ jsx32(
1502
1540
  HlsPlayer3,
1503
1541
  {
1504
1542
  sources: hlsSources,
@@ -1513,7 +1551,7 @@ var ImageGalleryNode = (props) => {
1513
1551
  styles: hlsStyles
1514
1552
  }
1515
1553
  ) }),
1516
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx29(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1554
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx32(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs11("picture", { children: [
1517
1555
  DEVICE_ORDER.map((deviceKey) => {
1518
1556
  const match = staticSources.find(
1519
1557
  (img) => img.device === deviceKey
@@ -1525,7 +1563,7 @@ var ImageGalleryNode = (props) => {
1525
1563
  if (!srcUrl) {
1526
1564
  return null;
1527
1565
  }
1528
- return /* @__PURE__ */ jsx29(
1566
+ return /* @__PURE__ */ jsx32(
1529
1567
  "source",
1530
1568
  {
1531
1569
  media: deviceToMediaQuery(match.device),
@@ -1549,7 +1587,7 @@ var ImageGalleryNode = (props) => {
1549
1587
  if (img.borderRadius) {
1550
1588
  styles.borderRadius = img.borderRadius;
1551
1589
  }
1552
- return /* @__PURE__ */ jsx29(
1590
+ return /* @__PURE__ */ jsx32(
1553
1591
  "img",
1554
1592
  {
1555
1593
  loading: "lazy",
@@ -1564,7 +1602,7 @@ var ImageGalleryNode = (props) => {
1564
1602
  })()
1565
1603
  ] }) : (
1566
1604
  /* Case 2: Only device-specific images exist */
1567
- /* @__PURE__ */ jsx29(Fragment5, { children: staticSources.map((img, index) => {
1605
+ /* @__PURE__ */ jsx32(Fragment5, { children: staticSources.map((img, index) => {
1568
1606
  const imageUrl = resolveImageUrl(img);
1569
1607
  if (!imageUrl) {
1570
1608
  return null;
@@ -1590,7 +1628,7 @@ var ImageGalleryNode = (props) => {
1590
1628
  default:
1591
1629
  display = "block";
1592
1630
  }
1593
- return /* @__PURE__ */ jsx29(
1631
+ return /* @__PURE__ */ jsx32(
1594
1632
  "img",
1595
1633
  {
1596
1634
  loading: "lazy",
@@ -1730,7 +1768,7 @@ var shouldRenderContainer = (node, dataItem, session) => {
1730
1768
  };
1731
1769
 
1732
1770
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
1733
- import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs12 } from "react/jsx-runtime";
1771
+ import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
1734
1772
  var getNestedValue5 = (obj, path) => {
1735
1773
  if (!obj || !path) return void 0;
1736
1774
  return path.split(".").reduce((current, key) => {
@@ -1744,14 +1782,14 @@ var PdfIcon = () => /* @__PURE__ */ jsxs12(
1744
1782
  viewBox: "0 0 48 48",
1745
1783
  className: "w-10 h-10",
1746
1784
  children: [
1747
- /* @__PURE__ */ jsx30(
1785
+ /* @__PURE__ */ jsx33(
1748
1786
  "path",
1749
1787
  {
1750
1788
  fill: "#e53935",
1751
1789
  d: "M38,42H10c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h28c2.209,0,4,1.791,4,4v28 C42,40.209,40.209,42,38,42z"
1752
1790
  }
1753
1791
  ),
1754
- /* @__PURE__ */ jsx30(
1792
+ /* @__PURE__ */ jsx33(
1755
1793
  "path",
1756
1794
  {
1757
1795
  fill: "#fff",
@@ -1768,48 +1806,48 @@ var ExcelIcon = () => /* @__PURE__ */ jsxs12(
1768
1806
  viewBox: "0 0 48 48",
1769
1807
  className: "w-10 h-10",
1770
1808
  children: [
1771
- /* @__PURE__ */ jsx30(
1809
+ /* @__PURE__ */ jsx33(
1772
1810
  "path",
1773
1811
  {
1774
1812
  fill: "#169154",
1775
1813
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
1776
1814
  }
1777
1815
  ),
1778
- /* @__PURE__ */ jsx30(
1816
+ /* @__PURE__ */ jsx33(
1779
1817
  "path",
1780
1818
  {
1781
1819
  fill: "#18482a",
1782
1820
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
1783
1821
  }
1784
1822
  ),
1785
- /* @__PURE__ */ jsx30("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1786
- /* @__PURE__ */ jsx30("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1823
+ /* @__PURE__ */ jsx33("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
1824
+ /* @__PURE__ */ jsx33("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
1787
1825
  /* @__PURE__ */ jsxs12("g", { children: [
1788
- /* @__PURE__ */ jsx30(
1826
+ /* @__PURE__ */ jsx33(
1789
1827
  "path",
1790
1828
  {
1791
1829
  fill: "#29c27f",
1792
1830
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
1793
1831
  }
1794
1832
  ),
1795
- /* @__PURE__ */ jsx30(
1833
+ /* @__PURE__ */ jsx33(
1796
1834
  "path",
1797
1835
  {
1798
1836
  fill: "#27663f",
1799
1837
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
1800
1838
  }
1801
1839
  ),
1802
- /* @__PURE__ */ jsx30("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1803
- /* @__PURE__ */ jsx30("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1840
+ /* @__PURE__ */ jsx33("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
1841
+ /* @__PURE__ */ jsx33("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
1804
1842
  ] }),
1805
- /* @__PURE__ */ jsx30(
1843
+ /* @__PURE__ */ jsx33(
1806
1844
  "path",
1807
1845
  {
1808
1846
  fill: "#0c7238",
1809
1847
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
1810
1848
  }
1811
1849
  ),
1812
- /* @__PURE__ */ jsx30(
1850
+ /* @__PURE__ */ jsx33(
1813
1851
  "path",
1814
1852
  {
1815
1853
  fill: "#fff",
@@ -1827,7 +1865,7 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1827
1865
  className: "w-10 h-10",
1828
1866
  baseProfile: "basic",
1829
1867
  children: [
1830
- /* @__PURE__ */ jsx30(
1868
+ /* @__PURE__ */ jsx33(
1831
1869
  "path",
1832
1870
  {
1833
1871
  fill: "#283593",
@@ -1845,19 +1883,19 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1845
1883
  gradientTransform: "translate(0 -339.89)",
1846
1884
  gradientUnits: "userSpaceOnUse",
1847
1885
  children: [
1848
- /* @__PURE__ */ jsx30("stop", { offset: "0", "stop-color": "#66c0ff" }),
1849
- /* @__PURE__ */ jsx30("stop", { offset: ".26", "stop-color": "#0094f0" })
1886
+ /* @__PURE__ */ jsx33("stop", { offset: "0", "stop-color": "#66c0ff" }),
1887
+ /* @__PURE__ */ jsx33("stop", { offset: ".26", "stop-color": "#0094f0" })
1850
1888
  ]
1851
1889
  }
1852
1890
  ),
1853
- /* @__PURE__ */ jsx30(
1891
+ /* @__PURE__ */ jsx33(
1854
1892
  "path",
1855
1893
  {
1856
1894
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
1857
1895
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
1858
1896
  }
1859
1897
  ),
1860
- /* @__PURE__ */ jsx30(
1898
+ /* @__PURE__ */ jsx33(
1861
1899
  "path",
1862
1900
  {
1863
1901
  fill: "#1e88e5",
@@ -1865,21 +1903,21 @@ var WordIcon = () => /* @__PURE__ */ jsxs12(
1865
1903
  d: "M9,20.208c0-2.624,2.126-4.75,4.749-4.75h21.857L41,12.778v13.527 C41,28.346,39.346,30,37.306,30H15.332C11.835,30,9,32.836,9,36.333L9,20.208L9,20.208z"
1866
1904
  }
1867
1905
  ),
1868
- /* @__PURE__ */ jsx30(
1906
+ /* @__PURE__ */ jsx33(
1869
1907
  "path",
1870
1908
  {
1871
1909
  fill: "#00e5ff",
1872
1910
  d: "M9,10.333C9,6.836,11.835,4,15.332,4h21.975C39.346,4,41,5.654,41,7.694v5.611 C41,15.346,39.346,17,37.306,17H15.332C11.835,17,9,19.836,9,23.333C9,23.333,9,10.333,9,10.333z"
1873
1911
  }
1874
1912
  ),
1875
- /* @__PURE__ */ jsx30(
1913
+ /* @__PURE__ */ jsx33(
1876
1914
  "path",
1877
1915
  {
1878
1916
  fill: "#1565c0",
1879
1917
  d: "M7.5,23h10c1.933,0,3.5,1.567,3.5,3.5v10c0,1.933-1.567,3.5-3.5,3.5h-10C5.567,40,4,38.433,4,36.5 v-10C4,24.567,5.567,23,7.5,23z"
1880
1918
  }
1881
1919
  ),
1882
- /* @__PURE__ */ jsx30(
1920
+ /* @__PURE__ */ jsx33(
1883
1921
  "path",
1884
1922
  {
1885
1923
  fill: "#fff",
@@ -1896,8 +1934,8 @@ var StandardIcon = () => /* @__PURE__ */ jsxs12(
1896
1934
  viewBox: "0 0 48 48",
1897
1935
  className: "w-10 h-10",
1898
1936
  children: [
1899
- /* @__PURE__ */ jsx30("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1900
- /* @__PURE__ */ jsx30("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
1937
+ /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1938
+ /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
1901
1939
  ]
1902
1940
  }
1903
1941
  );
@@ -1908,23 +1946,23 @@ var PowerPointIcon = () => /* @__PURE__ */ jsxs12(
1908
1946
  viewBox: "0 0 48 48",
1909
1947
  className: "w-10 h-10",
1910
1948
  children: [
1911
- /* @__PURE__ */ jsx30(
1949
+ /* @__PURE__ */ jsx33(
1912
1950
  "path",
1913
1951
  {
1914
1952
  fill: "#dc4c2c",
1915
1953
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
1916
1954
  }
1917
1955
  ),
1918
- /* @__PURE__ */ jsx30("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
1919
- /* @__PURE__ */ jsx30("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
1920
- /* @__PURE__ */ jsx30(
1956
+ /* @__PURE__ */ jsx33("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
1957
+ /* @__PURE__ */ jsx33("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
1958
+ /* @__PURE__ */ jsx33(
1921
1959
  "path",
1922
1960
  {
1923
1961
  fill: "#9b341f",
1924
1962
  d: "M22.319,34H5.681C4.753,34,4,33.247,4,32.319V15.681C4,14.753,4.753,14,5.681,14h16.638 C23.247,14,24,14.753,24,15.681v16.638C24,33.247,23.247,34,22.319,34z"
1925
1963
  }
1926
1964
  ),
1927
- /* @__PURE__ */ jsx30(
1965
+ /* @__PURE__ */ jsx33(
1928
1966
  "path",
1929
1967
  {
1930
1968
  fill: "#fff",
@@ -1941,9 +1979,9 @@ var TextIcon = () => /* @__PURE__ */ jsxs12(
1941
1979
  viewBox: "0 0 48 48",
1942
1980
  className: "w-10 h-10",
1943
1981
  children: [
1944
- /* @__PURE__ */ jsx30("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1945
- /* @__PURE__ */ jsx30("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
1946
- /* @__PURE__ */ jsx30(
1982
+ /* @__PURE__ */ jsx33("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
1983
+ /* @__PURE__ */ jsx33("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
1984
+ /* @__PURE__ */ jsx33(
1947
1985
  "path",
1948
1986
  {
1949
1987
  fill: "#1976D2",
@@ -1963,14 +2001,14 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
1963
2001
  version: "1.0",
1964
2002
  className: "w-10 h-10",
1965
2003
  children: [
1966
- /* @__PURE__ */ jsx30("defs", { children: /* @__PURE__ */ jsx30("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx30(
2004
+ /* @__PURE__ */ jsx33("defs", { children: /* @__PURE__ */ jsx33("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ jsx33(
1967
2005
  "path",
1968
2006
  {
1969
2007
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
1970
2008
  "clip-rule": "nonzero"
1971
2009
  }
1972
2010
  ) }) }),
1973
- /* @__PURE__ */ jsx30("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx30(
2011
+ /* @__PURE__ */ jsx33("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ jsx33(
1974
2012
  "path",
1975
2013
  {
1976
2014
  fill: "#ff9100",
@@ -1979,7 +2017,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
1979
2017
  "fill-rule": "nonzero"
1980
2018
  }
1981
2019
  ) }),
1982
- /* @__PURE__ */ jsx30(
2020
+ /* @__PURE__ */ jsx33(
1983
2021
  "path",
1984
2022
  {
1985
2023
  fill: "#fbe9e7",
@@ -1988,7 +2026,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
1988
2026
  "fill-rule": "nonzero"
1989
2027
  }
1990
2028
  ),
1991
- /* @__PURE__ */ jsx30(
2029
+ /* @__PURE__ */ jsx33(
1992
2030
  "path",
1993
2031
  {
1994
2032
  fill: "#ffe0b2",
@@ -1997,7 +2035,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
1997
2035
  "fill-rule": "nonzero"
1998
2036
  }
1999
2037
  ),
2000
- /* @__PURE__ */ jsx30(
2038
+ /* @__PURE__ */ jsx33(
2001
2039
  "path",
2002
2040
  {
2003
2041
  fill: "#ffe0b2",
@@ -2006,7 +2044,7 @@ var ArchiveIcon = () => /* @__PURE__ */ jsxs12(
2006
2044
  "fill-rule": "nonzero"
2007
2045
  }
2008
2046
  ),
2009
- /* @__PURE__ */ jsx30(
2047
+ /* @__PURE__ */ jsx33(
2010
2048
  "path",
2011
2049
  {
2012
2050
  fill: "#ffe0b2",
@@ -2082,8 +2120,8 @@ var DocumentNode = (props) => {
2082
2120
  }
2083
2121
  }
2084
2122
  if (documents.length === 0) {
2085
- return /* @__PURE__ */ jsx30(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2086
- /* @__PURE__ */ jsx30("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx30(
2123
+ return /* @__PURE__ */ jsx33(Fragment6, { children: /* @__PURE__ */ jsxs12("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
2124
+ /* @__PURE__ */ jsx33("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ jsx33(
2087
2125
  "svg",
2088
2126
  {
2089
2127
  className: "w-5 h-5",
@@ -2091,7 +2129,7 @@ var DocumentNode = (props) => {
2091
2129
  stroke: "currentColor",
2092
2130
  viewBox: "0 0 24 24",
2093
2131
  xmlns: "http://www.w3.org/2000/svg",
2094
- children: /* @__PURE__ */ jsx30(
2132
+ children: /* @__PURE__ */ jsx33(
2095
2133
  "path",
2096
2134
  {
2097
2135
  strokeLinecap: "round",
@@ -2102,11 +2140,11 @@ var DocumentNode = (props) => {
2102
2140
  )
2103
2141
  }
2104
2142
  ) }),
2105
- /* @__PURE__ */ jsx30("div", { className: "text-sm font-medium", children: "No documents found" }),
2106
- /* @__PURE__ */ jsx30("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2143
+ /* @__PURE__ */ jsx33("div", { className: "text-sm font-medium", children: "No documents found" }),
2144
+ /* @__PURE__ */ jsx33("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
2107
2145
  ] }) });
2108
2146
  }
2109
- return /* @__PURE__ */ jsx30("div", { className: "", children: documents.map((doc, index) => {
2147
+ return /* @__PURE__ */ jsx33("div", { className: "", children: documents.map((doc, index) => {
2110
2148
  const documentUrl = AssetUtility_default.resolveUrl(
2111
2149
  props.assetBaseUrl,
2112
2150
  doc.assetUrl
@@ -2130,8 +2168,8 @@ var DocumentNode = (props) => {
2130
2168
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
2131
2169
  children: [
2132
2170
  /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-4", children: [
2133
- /* @__PURE__ */ jsx30("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx30(Icon, {}) }),
2134
- /* @__PURE__ */ jsx30("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx30("h4", { className: "text-base font-semibold", children: documentTitle }) })
2171
+ /* @__PURE__ */ jsx33("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ jsx33(Icon, {}) }),
2172
+ /* @__PURE__ */ jsx33("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ jsx33("h4", { className: "text-base font-semibold", children: documentTitle }) })
2135
2173
  ] }),
2136
2174
  /* @__PURE__ */ jsxs12(
2137
2175
  "a",
@@ -2149,7 +2187,7 @@ var DocumentNode = (props) => {
2149
2187
  stroke: "currentColor",
2150
2188
  viewBox: "0 0 24 24",
2151
2189
  children: [
2152
- /* @__PURE__ */ jsx30(
2190
+ /* @__PURE__ */ jsx33(
2153
2191
  "path",
2154
2192
  {
2155
2193
  strokeLinecap: "round",
@@ -2158,7 +2196,7 @@ var DocumentNode = (props) => {
2158
2196
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
2159
2197
  }
2160
2198
  ),
2161
- /* @__PURE__ */ jsx30(
2199
+ /* @__PURE__ */ jsx33(
2162
2200
  "path",
2163
2201
  {
2164
2202
  strokeLinecap: "round",
@@ -2183,9 +2221,9 @@ var DocumentNode = (props) => {
2183
2221
  var DocumentNode_default = DocumentNode;
2184
2222
 
2185
2223
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2186
- import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
2187
- var Pagination = dynamic10(() => import("./Pagination-FSYLYKUA.mjs"), { ssr: true });
2188
- var Slider = dynamic10(() => import("./Slider-PEIVH6A5.mjs"), {
2224
+ import { jsx as jsx34, jsxs as jsxs13 } from "react/jsx-runtime";
2225
+ var Pagination = dynamic10(() => import("./Pagination-OQT7Q2XO.mjs"), { ssr: true });
2226
+ var Slider = dynamic10(() => import("./Slider-554BKC7N.mjs"), {
2189
2227
  ssr: false
2190
2228
  });
2191
2229
  function toCamelCase(str) {
@@ -2437,7 +2475,7 @@ var DivContainer = async (props) => {
2437
2475
  response = await serviceClient.get(endpoint);
2438
2476
  result = response?.result;
2439
2477
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
2440
- return /* @__PURE__ */ jsx31(NoDataFound_default, {});
2478
+ return /* @__PURE__ */ jsx34(NoDataFound_default, {});
2441
2479
  }
2442
2480
  if (dataBindingProperties.childCollectionName && props.dataitem) {
2443
2481
  childCollectionData = getNestedValue6(
@@ -2457,7 +2495,7 @@ var DivContainer = async (props) => {
2457
2495
  }
2458
2496
  const SelectedNode = NodeTypes2[node.type];
2459
2497
  if (!SelectedNode) return null;
2460
- return /* @__PURE__ */ jsx31(React19.Fragment, { children: /* @__PURE__ */ jsx31(
2498
+ return /* @__PURE__ */ jsx34(React22.Fragment, { children: /* @__PURE__ */ jsx34(
2461
2499
  SelectedNode,
2462
2500
  {
2463
2501
  node,
@@ -2589,14 +2627,14 @@ var DivContainer = async (props) => {
2589
2627
  props.node.bgClass,
2590
2628
  noLinkColor && "no-link-color"
2591
2629
  ].filter(Boolean).join(" ");
2592
- return /* @__PURE__ */ jsxs13(React19.Fragment, { children: [
2593
- /* @__PURE__ */ jsx31(
2630
+ return /* @__PURE__ */ jsxs13(React22.Fragment, { children: [
2631
+ /* @__PURE__ */ jsx34(
2594
2632
  "style",
2595
2633
  {
2596
2634
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
2597
2635
  }
2598
2636
  ),
2599
- /* @__PURE__ */ jsx31(React19.Fragment, { children: /* @__PURE__ */ jsx31(
2637
+ /* @__PURE__ */ jsx34(React22.Fragment, { children: /* @__PURE__ */ jsx34(
2600
2638
  Wrapper,
2601
2639
  {
2602
2640
  id: guid,
@@ -2610,11 +2648,11 @@ var DivContainer = async (props) => {
2610
2648
  item,
2611
2649
  idx,
2612
2650
  props.href ? void 0 : item?.links?.view
2613
- )?.map((child, i) => /* @__PURE__ */ jsx31(React19.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2651
+ )?.map((child, i) => /* @__PURE__ */ jsx34(React22.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
2614
2652
  )
2615
2653
  }
2616
2654
  ) }),
2617
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx31("div", { children: /* @__PURE__ */ jsx31(
2655
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ jsx34("div", { children: /* @__PURE__ */ jsx34(
2618
2656
  Pagination,
2619
2657
  {
2620
2658
  path: props.path,
@@ -2627,7 +2665,7 @@ var DivContainer = async (props) => {
2627
2665
  var DivContainer_default = DivContainer;
2628
2666
 
2629
2667
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
2630
- import { jsx as jsx32 } from "react/jsx-runtime";
2668
+ import { jsx as jsx35 } from "react/jsx-runtime";
2631
2669
  var NodeTypes = {
2632
2670
  ["paragraph"]: ParagraphNode_default,
2633
2671
  ["heading"]: HeadingNode_default,
@@ -2664,14 +2702,14 @@ var PageBodyRenderer = (props) => {
2664
2702
  }
2665
2703
  return true;
2666
2704
  };
2667
- return /* @__PURE__ */ jsx32(React20.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2705
+ return /* @__PURE__ */ jsx35(React23.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
2668
2706
  {
2669
2707
  }
2670
2708
  const SelectedNode = NodeTypes[node.type];
2671
2709
  if (!shouldRenderNode(node)) {
2672
2710
  return null;
2673
2711
  }
2674
- return /* @__PURE__ */ jsx32(React20.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx32(React20.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx32(React20.Fragment, { children: /* @__PURE__ */ jsx32(
2712
+ return /* @__PURE__ */ jsx35(React23.Fragment, { children: SelectedNode && /* @__PURE__ */ jsx35(React23.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2675
2713
  SelectedNode,
2676
2714
  {
2677
2715
  node,
@@ -2687,7 +2725,7 @@ var PageBodyRenderer = (props) => {
2687
2725
  device: props.device,
2688
2726
  widgetRenderer: props.widgetRenderer
2689
2727
  }
2690
- ) }) : /* @__PURE__ */ jsx32(React20.Fragment, { children: /* @__PURE__ */ jsx32(
2728
+ ) }) : /* @__PURE__ */ jsx35(React23.Fragment, { children: /* @__PURE__ */ jsx35(
2691
2729
  SelectedNode,
2692
2730
  {
2693
2731
  node,
@@ -2709,7 +2747,7 @@ var PageBodyRenderer_default = PageBodyRenderer;
2709
2747
 
2710
2748
  // src/components/Toast.tsx
2711
2749
  import { useState } from "react";
2712
- import { Fragment as Fragment7, jsx as jsx33, jsxs as jsxs14 } from "react/jsx-runtime";
2750
+ import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs14 } from "react/jsx-runtime";
2713
2751
  var Toast = () => {
2714
2752
  const [showToast, setShowToast] = useState(false);
2715
2753
  const [message, setMessage] = useState("");
@@ -2752,8 +2790,8 @@ var Toast = () => {
2752
2790
  const closeToast = () => {
2753
2791
  setShowToast(false);
2754
2792
  };
2755
- return /* @__PURE__ */ jsx33(Fragment7, { children: showToast && /* @__PURE__ */ jsx33("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs14("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
2756
- /* @__PURE__ */ jsx33(
2793
+ return /* @__PURE__ */ jsx36(Fragment7, { children: showToast && /* @__PURE__ */ jsx36("div", { className: "fixed top-2 flex justify-center w-1/2 max-w-xl left-1/2 -translate-x-1/2", style: { zIndex: 1e3 }, children: /* @__PURE__ */ jsxs14("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
2794
+ /* @__PURE__ */ jsx36(
2757
2795
  "span",
2758
2796
  {
2759
2797
  className: "font-medium text-inherit text-sm",
@@ -2761,7 +2799,7 @@ var Toast = () => {
2761
2799
  children: message
2762
2800
  }
2763
2801
  ),
2764
- /* @__PURE__ */ jsx33("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx33(
2802
+ /* @__PURE__ */ jsx36("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ jsx36(
2765
2803
  "svg",
2766
2804
  {
2767
2805
  xmlns: "http://www.w3.org/2000/svg",
@@ -2769,7 +2807,7 @@ var Toast = () => {
2769
2807
  fill: "none",
2770
2808
  viewBox: "0 0 24 24",
2771
2809
  stroke: "currentColor",
2772
- children: /* @__PURE__ */ jsx33("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
2810
+ children: /* @__PURE__ */ jsx36("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
2773
2811
  }
2774
2812
  ) })
2775
2813
  ] }) }) });
@@ -2779,7 +2817,7 @@ var Toast_default = Toast;
2779
2817
  // src/components/NavigationTabsV2.tsx
2780
2818
  import Link2 from "next/link";
2781
2819
  import { usePathname } from "next/navigation";
2782
- import { jsx as jsx34 } from "react/jsx-runtime";
2820
+ import { jsx as jsx37 } from "react/jsx-runtime";
2783
2821
  function resolveRoutePlaceholders(route, params) {
2784
2822
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
2785
2823
  const value = params[key];
@@ -2804,8 +2842,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
2804
2842
  isActive: tab.isActive
2805
2843
  })) || [];
2806
2844
  if (mappedTabs.length === 0) return null;
2807
- return /* @__PURE__ */ jsx34("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
2808
- return /* @__PURE__ */ jsx34(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx34(
2845
+ return /* @__PURE__ */ jsx37("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
2846
+ return /* @__PURE__ */ jsx37(Link2, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ jsx37(
2809
2847
  "div",
2810
2848
  {
2811
2849
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -2818,51 +2856,51 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
2818
2856
  var NavigationTabsV2_default = NavigationTabsV2;
2819
2857
 
2820
2858
  // src/components/dataForm/DataList.tsx
2821
- import React24, { useEffect, useState as useState2, useCallback, useReducer } from "react";
2859
+ import React27, { useEffect, useState as useState2, useCallback, useReducer } from "react";
2822
2860
  import { useRouter } from "next/navigation";
2823
2861
 
2824
2862
  // src/components/dataForm/NoContentView.tsx
2825
- import React22 from "react";
2826
- import { jsx as jsx35 } from "react/jsx-runtime";
2863
+ import React25 from "react";
2864
+ import { jsx as jsx38 } from "react/jsx-runtime";
2827
2865
  var NoContentView = (props) => {
2828
- return /* @__PURE__ */ jsx35(React22.Fragment, { children: props.isDataFound === false && props.children });
2866
+ return /* @__PURE__ */ jsx38(React25.Fragment, { children: props.isDataFound === false && props.children });
2829
2867
  };
2830
2868
  var NoContentView_default = NoContentView;
2831
2869
 
2832
2870
  // src/components/dataForm/ContentView.tsx
2833
- import React23 from "react";
2834
- import { jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
2871
+ import React26 from "react";
2872
+ import { jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
2835
2873
  var ContentView = (props) => {
2836
- return /* @__PURE__ */ jsxs15(React23.Fragment, { children: [
2837
- props.isDataFound == null && /* @__PURE__ */ jsx36("div", { className: "", children: /* @__PURE__ */ jsxs15("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
2874
+ return /* @__PURE__ */ jsxs15(React26.Fragment, { children: [
2875
+ props.isDataFound == null && /* @__PURE__ */ jsx39("div", { className: "", children: /* @__PURE__ */ jsxs15("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
2838
2876
  /* @__PURE__ */ jsxs15("div", { className: "flex items-center mb-4", children: [
2839
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
2877
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
2840
2878
  /* @__PURE__ */ jsxs15("div", { className: "ml-2", children: [
2841
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
2842
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
2879
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
2880
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
2843
2881
  ] })
2844
2882
  ] }),
2845
2883
  /* @__PURE__ */ jsxs15("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
2846
2884
  /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
2847
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2848
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2849
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2850
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2851
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2885
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2886
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2887
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2888
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2889
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2852
2890
  ] }),
2853
2891
  /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
2854
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2855
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2856
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2857
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2858
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2892
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2893
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2894
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2895
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2896
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2859
2897
  ] }),
2860
2898
  /* @__PURE__ */ jsxs15("div", { className: "animate-pulse", children: [
2861
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2862
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2863
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2864
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2865
- /* @__PURE__ */ jsx36("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2899
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
2900
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
2901
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
2902
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
2903
+ /* @__PURE__ */ jsx39("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
2866
2904
  ] })
2867
2905
  ] })
2868
2906
  ] }) }),
@@ -2916,7 +2954,7 @@ function FormReducer(state, action) {
2916
2954
  var FormReducer_default = FormReducer;
2917
2955
 
2918
2956
  // src/components/dataForm/DataList.tsx
2919
- import { Fragment as Fragment8, jsx as jsx37, jsxs as jsxs16 } from "react/jsx-runtime";
2957
+ import { Fragment as Fragment8, jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
2920
2958
  var DataList = (props) => {
2921
2959
  const router = useRouter();
2922
2960
  let builder = new OdataBuilder(props.path);
@@ -2954,7 +2992,7 @@ var DataList = (props) => {
2954
2992
  if (path.includes(".")) {
2955
2993
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
2956
2994
  } else if (Array.isArray(obj[path])) {
2957
- return obj[path].map((item, index) => /* @__PURE__ */ jsx37("div", { children: item }, index));
2995
+ return obj[path].map((item, index) => /* @__PURE__ */ jsx40("div", { children: item }, index));
2958
2996
  } else {
2959
2997
  return obj[path];
2960
2998
  }
@@ -3033,30 +3071,30 @@ var DataList = (props) => {
3033
3071
  const renderPageNumbers = () => {
3034
3072
  if (pages <= 10) {
3035
3073
  return Array.from({ length: pages }, (_, index) => index + 1).map(
3036
- (page) => /* @__PURE__ */ jsx37(React24.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx37(
3074
+ (page) => /* @__PURE__ */ jsx40(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
3037
3075
  Hyperlink,
3038
3076
  {
3039
3077
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3040
3078
  href: builder.getNewPageUrl(page),
3041
3079
  children: page
3042
3080
  }
3043
- ) : /* @__PURE__ */ jsx37("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3081
+ ) : /* @__PURE__ */ jsx40("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3044
3082
  );
3045
3083
  } else {
3046
3084
  const showFirstPages = activePageNumber <= 5;
3047
3085
  const showLastPages = activePageNumber > pages - 5;
3048
3086
  if (showFirstPages) {
3049
3087
  return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3050
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx37(React24.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx37(
3088
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ jsx40(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
3051
3089
  Hyperlink,
3052
3090
  {
3053
3091
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3054
3092
  href: builder.getNewPageUrl(page),
3055
3093
  children: page
3056
3094
  }
3057
- ) : /* @__PURE__ */ jsx37("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3058
- /* @__PURE__ */ jsx37("span", { className: "px-2 py-1", children: "..." }),
3059
- /* @__PURE__ */ jsx37(
3095
+ ) : /* @__PURE__ */ jsx40("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3096
+ /* @__PURE__ */ jsx40("span", { className: "px-2 py-1", children: "..." }),
3097
+ /* @__PURE__ */ jsx40(
3060
3098
  Hyperlink,
3061
3099
  {
3062
3100
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3064,7 +3102,7 @@ var DataList = (props) => {
3064
3102
  children: pages - 1
3065
3103
  }
3066
3104
  ),
3067
- /* @__PURE__ */ jsx37(
3105
+ /* @__PURE__ */ jsx40(
3068
3106
  Hyperlink,
3069
3107
  {
3070
3108
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3072,7 +3110,7 @@ var DataList = (props) => {
3072
3110
  children: pages
3073
3111
  }
3074
3112
  ),
3075
- /* @__PURE__ */ jsx37("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3113
+ /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3076
3114
  "select",
3077
3115
  {
3078
3116
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3084,18 +3122,18 @@ var DataList = (props) => {
3084
3122
  }
3085
3123
  },
3086
3124
  children: [
3087
- /* @__PURE__ */ jsx37("option", { className: "", value: "", children: "Jump to" }),
3125
+ /* @__PURE__ */ jsx40("option", { className: "", value: "", children: "Jump to" }),
3088
3126
  Array.from(
3089
3127
  { length: Math.max(0, pages - 10) },
3090
3128
  (_, index) => index + 9
3091
- ).map((page) => /* @__PURE__ */ jsx37("option", { value: page, children: page }, page))
3129
+ ).map((page) => /* @__PURE__ */ jsx40("option", { value: page, children: page }, page))
3092
3130
  ]
3093
3131
  }
3094
3132
  ) })
3095
3133
  ] });
3096
3134
  } else if (showLastPages) {
3097
3135
  return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3098
- /* @__PURE__ */ jsx37(
3136
+ /* @__PURE__ */ jsx40(
3099
3137
  Hyperlink,
3100
3138
  {
3101
3139
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3103,7 +3141,7 @@ var DataList = (props) => {
3103
3141
  children: "1"
3104
3142
  }
3105
3143
  ),
3106
- /* @__PURE__ */ jsx37(
3144
+ /* @__PURE__ */ jsx40(
3107
3145
  Hyperlink,
3108
3146
  {
3109
3147
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3111,21 +3149,21 @@ var DataList = (props) => {
3111
3149
  children: "2"
3112
3150
  }
3113
3151
  ),
3114
- /* @__PURE__ */ jsx37("span", { className: "px-2 py-1", children: "..." }),
3152
+ /* @__PURE__ */ jsx40("span", { className: "px-2 py-1", children: "..." }),
3115
3153
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
3116
- (page) => /* @__PURE__ */ jsx37(React24.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx37(
3154
+ (page) => /* @__PURE__ */ jsx40(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
3117
3155
  Hyperlink,
3118
3156
  {
3119
3157
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3120
3158
  href: builder.getNewPageUrl(page),
3121
3159
  children: page
3122
3160
  }
3123
- ) : /* @__PURE__ */ jsx37("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3161
+ ) : /* @__PURE__ */ jsx40("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
3124
3162
  )
3125
3163
  ] });
3126
3164
  } else {
3127
3165
  return /* @__PURE__ */ jsxs16(Fragment8, { children: [
3128
- /* @__PURE__ */ jsx37(
3166
+ /* @__PURE__ */ jsx40(
3129
3167
  Hyperlink,
3130
3168
  {
3131
3169
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3133,7 +3171,7 @@ var DataList = (props) => {
3133
3171
  children: "1"
3134
3172
  }
3135
3173
  ),
3136
- /* @__PURE__ */ jsx37(
3174
+ /* @__PURE__ */ jsx40(
3137
3175
  Hyperlink,
3138
3176
  {
3139
3177
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3141,20 +3179,20 @@ var DataList = (props) => {
3141
3179
  children: "2"
3142
3180
  }
3143
3181
  ),
3144
- /* @__PURE__ */ jsx37("span", { className: "px-2 py-1", children: "..." }),
3182
+ /* @__PURE__ */ jsx40("span", { className: "px-2 py-1", children: "..." }),
3145
3183
  Array.from(
3146
3184
  { length: 5 },
3147
3185
  (_, index) => activePageNumber - 2 + index
3148
- ).map((page) => /* @__PURE__ */ jsx37(React24.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx37(
3186
+ ).map((page) => /* @__PURE__ */ jsx40(React27.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ jsx40(
3149
3187
  Hyperlink,
3150
3188
  {
3151
3189
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
3152
3190
  href: builder.getNewPageUrl(page),
3153
3191
  children: page
3154
3192
  }
3155
- ) : /* @__PURE__ */ jsx37("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3156
- /* @__PURE__ */ jsx37("span", { className: "px-2 py-1", children: "..." }),
3157
- /* @__PURE__ */ jsx37(
3193
+ ) : /* @__PURE__ */ jsx40("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
3194
+ /* @__PURE__ */ jsx40("span", { className: "px-2 py-1", children: "..." }),
3195
+ /* @__PURE__ */ jsx40(
3158
3196
  Hyperlink,
3159
3197
  {
3160
3198
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3162,7 +3200,7 @@ var DataList = (props) => {
3162
3200
  children: pages - 1
3163
3201
  }
3164
3202
  ),
3165
- /* @__PURE__ */ jsx37(
3203
+ /* @__PURE__ */ jsx40(
3166
3204
  Hyperlink,
3167
3205
  {
3168
3206
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -3170,7 +3208,7 @@ var DataList = (props) => {
3170
3208
  children: pages
3171
3209
  }
3172
3210
  ),
3173
- /* @__PURE__ */ jsx37("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3211
+ /* @__PURE__ */ jsx40("div", { className: "relative inline-block", children: /* @__PURE__ */ jsxs16(
3174
3212
  "select",
3175
3213
  {
3176
3214
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -3182,8 +3220,8 @@ var DataList = (props) => {
3182
3220
  }
3183
3221
  },
3184
3222
  children: [
3185
- /* @__PURE__ */ jsx37("option", { value: "", children: "Jump to" }),
3186
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx37("option", { value: page, children: page }, page))
3223
+ /* @__PURE__ */ jsx40("option", { value: "", children: "Jump to" }),
3224
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ jsx40("option", { value: page, children: page }, page))
3187
3225
  ]
3188
3226
  }
3189
3227
  ) })
@@ -3191,16 +3229,16 @@ var DataList = (props) => {
3191
3229
  }
3192
3230
  }
3193
3231
  };
3194
- return /* @__PURE__ */ jsxs16(React24.Fragment, { children: [
3232
+ return /* @__PURE__ */ jsxs16(React27.Fragment, { children: [
3195
3233
  /* @__PURE__ */ jsxs16(ContentView_default, { isDataFound, children: [
3196
3234
  (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ jsxs16(
3197
3235
  "div",
3198
3236
  {
3199
3237
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
3200
3238
  children: [
3201
- props.title ? /* @__PURE__ */ jsx37("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx37("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx37("div", {}),
3239
+ props.title ? /* @__PURE__ */ jsx40("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx40("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ jsx40("div", {}),
3202
3240
  /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-3", children: [
3203
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx37(
3241
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx40(
3204
3242
  InputControl_default,
3205
3243
  {
3206
3244
  name: "Search_input",
@@ -3212,7 +3250,7 @@ var DataList = (props) => {
3212
3250
  }
3213
3251
  }
3214
3252
  ),
3215
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx37(
3253
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx40(
3216
3254
  InputControl_default,
3217
3255
  {
3218
3256
  name: filter.name,
@@ -3234,8 +3272,8 @@ var DataList = (props) => {
3234
3272
  linkType: "Primary" /* Solid */,
3235
3273
  href: props.addLinkHref,
3236
3274
  children: [
3237
- /* @__PURE__ */ jsx37(Icon_default, { name: "plus", className: "w-4 h-4" }),
3238
- /* @__PURE__ */ jsx37("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3275
+ /* @__PURE__ */ jsx40(Icon_default, { name: "plus", className: "w-4 h-4" }),
3276
+ /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3239
3277
  ]
3240
3278
  }
3241
3279
  )
@@ -3243,8 +3281,8 @@ var DataList = (props) => {
3243
3281
  ]
3244
3282
  }
3245
3283
  ),
3246
- /* @__PURE__ */ jsx37("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs16("table", { className: "w-full divide-y divide-gray-200", children: [
3247
- /* @__PURE__ */ jsx37("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx37("tr", { children: props?.columns?.map((column) => {
3284
+ /* @__PURE__ */ jsx40("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ jsxs16("table", { className: "w-full divide-y divide-gray-200", children: [
3285
+ /* @__PURE__ */ jsx40("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ jsx40("tr", { children: props?.columns?.map((column) => {
3248
3286
  let url = builder.getNewOrderByUrl(column.name);
3249
3287
  let icon = "chevronUpDown";
3250
3288
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3254,18 +3292,18 @@ var DataList = (props) => {
3254
3292
  icon = "chevronUp";
3255
3293
  url = builder.getNewOrderByUrl(column.name + " desc");
3256
3294
  }
3257
- return /* @__PURE__ */ jsx37(
3295
+ return /* @__PURE__ */ jsx40(
3258
3296
  "th",
3259
3297
  {
3260
3298
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
3261
- children: /* @__PURE__ */ jsx37(
3299
+ children: /* @__PURE__ */ jsx40(
3262
3300
  Hyperlink,
3263
3301
  {
3264
3302
  href: column.enableSorting ? url : void 0,
3265
3303
  className: "!text-neutral-contrast ",
3266
3304
  children: /* @__PURE__ */ jsxs16("span", { className: "flex items-center space-x-1", children: [
3267
- /* @__PURE__ */ jsx37("span", { className: "text-black", children: column.label }),
3268
- column.enableSorting && /* @__PURE__ */ jsx37(Icon_default, { className: "w-4 h-4", name: icon })
3305
+ /* @__PURE__ */ jsx40("span", { className: "text-black", children: column.label }),
3306
+ column.enableSorting && /* @__PURE__ */ jsx40(Icon_default, { className: "w-4 h-4", name: icon })
3269
3307
  ] })
3270
3308
  }
3271
3309
  )
@@ -3273,24 +3311,24 @@ var DataList = (props) => {
3273
3311
  column.name
3274
3312
  );
3275
3313
  }) }) }),
3276
- /* @__PURE__ */ jsx37("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3314
+ /* @__PURE__ */ jsx40("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
3277
3315
  let validityClass = "";
3278
3316
  console.log("dataitem", dataitem);
3279
3317
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
3280
3318
  validityClass = "bg-alert-200";
3281
3319
  }
3282
- return /* @__PURE__ */ jsx37("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3320
+ return /* @__PURE__ */ jsx40("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
3283
3321
  console.log("column", column);
3284
- return /* @__PURE__ */ jsx37(React24.Fragment, { children: /* @__PURE__ */ jsx37(
3322
+ return /* @__PURE__ */ jsx40(React27.Fragment, { children: /* @__PURE__ */ jsx40(
3285
3323
  "td",
3286
3324
  {
3287
3325
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
3288
- children: column.addhref === true ? /* @__PURE__ */ jsx37(
3326
+ children: column.addhref === true ? /* @__PURE__ */ jsx40(
3289
3327
  Hyperlink,
3290
3328
  {
3291
3329
  className: "",
3292
3330
  href: `https://${dataitem[column.name]}`,
3293
- children: /* @__PURE__ */ jsx37(
3331
+ children: /* @__PURE__ */ jsx40(
3294
3332
  ViewControl_default,
3295
3333
  {
3296
3334
  controlType: column.controlType,
@@ -3303,11 +3341,11 @@ var DataList = (props) => {
3303
3341
  }
3304
3342
  )
3305
3343
  }
3306
- ) : column.showAsLink ? /* @__PURE__ */ jsx37(
3344
+ ) : column.showAsLink ? /* @__PURE__ */ jsx40(
3307
3345
  Hyperlink,
3308
3346
  {
3309
3347
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
3310
- children: /* @__PURE__ */ jsx37(
3348
+ children: /* @__PURE__ */ jsx40(
3311
3349
  ViewControl_default,
3312
3350
  {
3313
3351
  controlType: column.controlType,
@@ -3317,7 +3355,7 @@ var DataList = (props) => {
3317
3355
  }
3318
3356
  )
3319
3357
  }
3320
- ) : /* @__PURE__ */ jsx37(
3358
+ ) : /* @__PURE__ */ jsx40(
3321
3359
  ViewControl_default,
3322
3360
  {
3323
3361
  controlType: column.controlType,
@@ -3331,10 +3369,10 @@ var DataList = (props) => {
3331
3369
  }) }, index);
3332
3370
  }) })
3333
3371
  ] }) }),
3334
- /* @__PURE__ */ jsx37("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs16("div", { className: "flex items-center justify-between", children: [
3335
- /* @__PURE__ */ jsx37("div", { className: "text-gray-700", children: label }),
3372
+ /* @__PURE__ */ jsx40("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ jsxs16("div", { className: "flex items-center justify-between", children: [
3373
+ /* @__PURE__ */ jsx40("div", { className: "text-gray-700", children: label }),
3336
3374
  /* @__PURE__ */ jsxs16("div", { className: "flex space-x-2 items-center", children: [
3337
- activePageNumber > 1 && /* @__PURE__ */ jsx37(
3375
+ activePageNumber > 1 && /* @__PURE__ */ jsx40(
3338
3376
  Hyperlink,
3339
3377
  {
3340
3378
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3342,9 +3380,9 @@ var DataList = (props) => {
3342
3380
  children: "Prev"
3343
3381
  }
3344
3382
  ),
3345
- activePageNumber <= 1 && /* @__PURE__ */ jsx37("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3383
+ activePageNumber <= 1 && /* @__PURE__ */ jsx40("div", { className: "px-3 py-1 rounded-l-md border border-gray-300 bg-gray-200 text-gray-500 hover:bg-gray-200", children: "Prev" }),
3346
3384
  renderPageNumbers(),
3347
- activePageNumber < pages && /* @__PURE__ */ jsx37(
3385
+ activePageNumber < pages && /* @__PURE__ */ jsx40(
3348
3386
  Hyperlink,
3349
3387
  {
3350
3388
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -3352,7 +3390,7 @@ var DataList = (props) => {
3352
3390
  children: "Next"
3353
3391
  }
3354
3392
  ),
3355
- activePageNumber >= pages && /* @__PURE__ */ jsx37("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3393
+ activePageNumber >= pages && /* @__PURE__ */ jsx40("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
3356
3394
  ] })
3357
3395
  ] }) })
3358
3396
  ] }),
@@ -3362,9 +3400,9 @@ var DataList = (props) => {
3362
3400
  {
3363
3401
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md border-b border-neutral-200`,
3364
3402
  children: [
3365
- props.title ? /* @__PURE__ */ jsx37("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx37("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx37("div", {}),
3403
+ props.title ? /* @__PURE__ */ jsx40("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ jsx40("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ jsx40("div", {}),
3366
3404
  /* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-3", children: [
3367
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx37(
3405
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ jsx40(
3368
3406
  InputControl_default,
3369
3407
  {
3370
3408
  name: "Search_input",
@@ -3376,7 +3414,7 @@ var DataList = (props) => {
3376
3414
  }
3377
3415
  }
3378
3416
  ),
3379
- props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx37(
3417
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ jsx40(
3380
3418
  InputControl_default,
3381
3419
  {
3382
3420
  name: filter.name,
@@ -3398,8 +3436,8 @@ var DataList = (props) => {
3398
3436
  linkType: "Primary" /* Solid */,
3399
3437
  href: props.addLinkHref,
3400
3438
  children: [
3401
- /* @__PURE__ */ jsx37(Icon_default, { name: "plus", className: "w-4 h-4" }),
3402
- /* @__PURE__ */ jsx37("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3439
+ /* @__PURE__ */ jsx40(Icon_default, { name: "plus", className: "w-4 h-4" }),
3440
+ /* @__PURE__ */ jsx40("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
3403
3441
  ]
3404
3442
  }
3405
3443
  )
@@ -3408,7 +3446,7 @@ var DataList = (props) => {
3408
3446
  }
3409
3447
  ),
3410
3448
  /* @__PURE__ */ jsxs16("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
3411
- /* @__PURE__ */ jsx37("div", { children: /* @__PURE__ */ jsx37("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx37("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx37("tr", { children: props?.columns?.map((column) => {
3449
+ /* @__PURE__ */ jsx40("div", { children: /* @__PURE__ */ jsx40("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ jsx40("thead", { className: "bg-gray-50", children: /* @__PURE__ */ jsx40("tr", { children: props?.columns?.map((column) => {
3412
3450
  let url = builder.getNewOrderByUrl(column.name);
3413
3451
  let icon = "chevronUpDown";
3414
3452
  if (orderBy.includes(`${column.name} desc`)) {
@@ -3418,18 +3456,18 @@ var DataList = (props) => {
3418
3456
  icon = "chevronUp";
3419
3457
  url = builder.getNewOrderByUrl(column.name + " desc");
3420
3458
  }
3421
- return /* @__PURE__ */ jsx37(
3459
+ return /* @__PURE__ */ jsx40(
3422
3460
  "th",
3423
3461
  {
3424
3462
  className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
3425
- children: /* @__PURE__ */ jsx37(
3463
+ children: /* @__PURE__ */ jsx40(
3426
3464
  Hyperlink,
3427
3465
  {
3428
3466
  href: column.enableSorting ? url : void 0,
3429
3467
  className: "text-body-950",
3430
3468
  children: /* @__PURE__ */ jsxs16("span", { className: "flex items-center space-x-1", children: [
3431
- /* @__PURE__ */ jsx37("span", { children: column.label }),
3432
- column.enableSorting && /* @__PURE__ */ jsx37(Icon_default, { className: "w-4 h-4", name: icon })
3469
+ /* @__PURE__ */ jsx40("span", { children: column.label }),
3470
+ column.enableSorting && /* @__PURE__ */ jsx40(Icon_default, { className: "w-4 h-4", name: icon })
3433
3471
  ] })
3434
3472
  }
3435
3473
  )
@@ -3437,7 +3475,7 @@ var DataList = (props) => {
3437
3475
  column.name
3438
3476
  );
3439
3477
  }) }) }) }) }),
3440
- /* @__PURE__ */ jsx37("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3478
+ /* @__PURE__ */ jsx40("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
3441
3479
  ] })
3442
3480
  ] })
3443
3481
  ] });
@@ -3445,9 +3483,9 @@ var DataList = (props) => {
3445
3483
  var DataList_default = DataList;
3446
3484
 
3447
3485
  // src/components/dataForm/DataListRenderer.tsx
3448
- import React25, { useState as useState3, useEffect as useEffect2 } from "react";
3486
+ import React28, { useState as useState3, useEffect as useEffect2 } from "react";
3449
3487
  import { usePathname as usePathname2 } from "next/navigation";
3450
- import { jsx as jsx38, jsxs as jsxs17 } from "react/jsx-runtime";
3488
+ import { jsx as jsx41, jsxs as jsxs17 } from "react/jsx-runtime";
3451
3489
  var viewControlMap = {
3452
3490
  number: ViewControlTypes.number,
3453
3491
  lineText: ViewControlTypes.lineText,
@@ -3542,15 +3580,15 @@ var DataListRenderer = ({
3542
3580
  isActive: landingPageUrl === pathname
3543
3581
  };
3544
3582
  });
3545
- return /* @__PURE__ */ jsxs17(React25.Fragment, { children: [
3546
- resolvedTabs.length > 0 && /* @__PURE__ */ jsx38(
3583
+ return /* @__PURE__ */ jsxs17(React28.Fragment, { children: [
3584
+ resolvedTabs.length > 0 && /* @__PURE__ */ jsx41(
3547
3585
  NavigationTabsV2_default,
3548
3586
  {
3549
3587
  tabs: resolvedTabs,
3550
3588
  params: widgetProps?.params ?? params
3551
3589
  }
3552
3590
  ),
3553
- /* @__PURE__ */ jsx38(
3591
+ /* @__PURE__ */ jsx41(
3554
3592
  DataList_default,
3555
3593
  {
3556
3594
  addLinkHref,
@@ -3569,10 +3607,10 @@ var DataListRenderer = ({
3569
3607
  var DataListRenderer_default = DataListRenderer;
3570
3608
 
3571
3609
  // src/components/dataForm/DataForm.tsx
3572
- import React27, { useCallback as useCallback3, useEffect as useEffect3, useReducer as useReducer2, useRef } from "react";
3610
+ import React30, { useCallback as useCallback3, useEffect as useEffect3, useReducer as useReducer2, useRef } from "react";
3573
3611
 
3574
3612
  // src/components/dataForm/DataFormChildSection.tsx
3575
- import React26, { useCallback as useCallback2 } from "react";
3613
+ import React29, { useCallback as useCallback2 } from "react";
3576
3614
 
3577
3615
  // src/components/dataForm/StyleTypes.tsx
3578
3616
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -3595,7 +3633,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
3595
3633
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
3596
3634
 
3597
3635
  // src/components/dataForm/DataFormChildSection.tsx
3598
- import { jsx as jsx39, jsxs as jsxs18 } from "react/jsx-runtime";
3636
+ import { jsx as jsx42, jsxs as jsxs18 } from "react/jsx-runtime";
3599
3637
  var DataFormChildSection = (props) => {
3600
3638
  const { section } = props;
3601
3639
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -3663,14 +3701,14 @@ var DataFormChildSection = (props) => {
3663
3701
  childItemsToRender,
3664
3702
  allChildItems: childItems
3665
3703
  });
3666
- return /* @__PURE__ */ jsx39(React26.Fragment, { children: /* @__PURE__ */ jsxs18("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3667
- section.sectionTitle && /* @__PURE__ */ jsx39("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3668
- /* @__PURE__ */ jsx39("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col justify-between gap-2", children: [
3669
- /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsxs18("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3670
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx39("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3704
+ return /* @__PURE__ */ jsx42(React29.Fragment, { children: /* @__PURE__ */ jsxs18("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
3705
+ section.sectionTitle && /* @__PURE__ */ jsx42("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
3706
+ /* @__PURE__ */ jsx42("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col justify-between gap-2", children: [
3707
+ /* @__PURE__ */ jsx42("div", { children: /* @__PURE__ */ jsxs18("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
3708
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ jsx42("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
3671
3709
  return /* @__PURE__ */ jsxs18("tr", { className: "", children: [
3672
3710
  sectionRow.elements.map((field, index) => {
3673
- return /* @__PURE__ */ jsx39(
3711
+ return /* @__PURE__ */ jsx42(
3674
3712
  "th",
3675
3713
  {
3676
3714
  className: "py-3 font-normal text-left",
@@ -3679,13 +3717,13 @@ var DataFormChildSection = (props) => {
3679
3717
  field.name
3680
3718
  );
3681
3719
  }),
3682
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx39("th", { className: "py-3 font-normal text-left", children: "Actions" })
3720
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx42("th", { className: "py-3 font-normal text-left", children: "Actions" })
3683
3721
  ] }, sectionRowIndex);
3684
3722
  }) }),
3685
- /* @__PURE__ */ jsx39("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3723
+ /* @__PURE__ */ jsx42("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
3686
3724
  const { item, originalIndex } = visibleItem;
3687
3725
  const rowKey = originalIndex;
3688
- return /* @__PURE__ */ jsx39(React26.Fragment, { children: section.sectionRows.map(
3726
+ return /* @__PURE__ */ jsx42(React29.Fragment, { children: section.sectionRows.map(
3689
3727
  (sectionRow, sectionRowIndex) => {
3690
3728
  return /* @__PURE__ */ jsxs18(
3691
3729
  "tr",
@@ -3693,7 +3731,7 @@ var DataFormChildSection = (props) => {
3693
3731
  className: "",
3694
3732
  children: [
3695
3733
  sectionRow.elements.map((field, index) => {
3696
- return /* @__PURE__ */ jsx39("td", { children: /* @__PURE__ */ jsx39("div", { className: "flex-1", children: /* @__PURE__ */ jsx39("div", { className: "w-11/12", children: /* @__PURE__ */ jsx39(
3734
+ return /* @__PURE__ */ jsx42("td", { children: /* @__PURE__ */ jsx42("div", { className: "flex-1", children: /* @__PURE__ */ jsx42("div", { className: "w-11/12", children: /* @__PURE__ */ jsx42(
3697
3735
  InputControl_default,
3698
3736
  {
3699
3737
  index: filteredIndex,
@@ -3713,7 +3751,7 @@ var DataFormChildSection = (props) => {
3713
3751
  }
3714
3752
  ) }) }) }, field.name);
3715
3753
  }),
3716
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx39("td", { children: /* @__PURE__ */ jsx39(
3754
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx42("td", { children: /* @__PURE__ */ jsx42(
3717
3755
  ClientButton_default,
3718
3756
  {
3719
3757
  ButtonType: StyleTypes2.Hollow,
@@ -3722,7 +3760,7 @@ var DataFormChildSection = (props) => {
3722
3760
  },
3723
3761
  dataRole: "delete",
3724
3762
  tabIndex: -1,
3725
- children: /* @__PURE__ */ jsx39(
3763
+ children: /* @__PURE__ */ jsx42(
3726
3764
  Icon_default,
3727
3765
  {
3728
3766
  className: "w-4 h-4",
@@ -3739,7 +3777,7 @@ var DataFormChildSection = (props) => {
3739
3777
  ) }, rowKey);
3740
3778
  }) })
3741
3779
  ] }) }),
3742
- !section.readonly && !isOneToOne && /* @__PURE__ */ jsx39("div", { className: "ml-1", children: /* @__PURE__ */ jsx39(
3780
+ !section.readonly && !isOneToOne && /* @__PURE__ */ jsx42("div", { className: "ml-1", children: /* @__PURE__ */ jsx42(
3743
3781
  ClientButton_default,
3744
3782
  {
3745
3783
  ButtonType: "Link" /* Link */,
@@ -3754,7 +3792,7 @@ var DataFormChildSection = (props) => {
3754
3792
  var DataFormChildSection_default = DataFormChildSection;
3755
3793
 
3756
3794
  // src/components/dataForm/DataForm.tsx
3757
- import { jsx as jsx40, jsxs as jsxs19 } from "react/jsx-runtime";
3795
+ import { jsx as jsx43, jsxs as jsxs19 } from "react/jsx-runtime";
3758
3796
  var DataForm = (props) => {
3759
3797
  const formRef = useRef(null);
3760
3798
  console.log(props.dataItem, "dssads");
@@ -3974,19 +4012,19 @@ var DataForm = (props) => {
3974
4012
  return false;
3975
4013
  }
3976
4014
  }
3977
- return /* @__PURE__ */ jsx40(React27.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "flex-grow flex flex-col", children: [
3978
- props.title && /* @__PURE__ */ jsx40("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs19(
4015
+ return /* @__PURE__ */ jsx43(React30.Fragment, { children: /* @__PURE__ */ jsxs19("div", { className: "flex-grow flex flex-col", children: [
4016
+ props.title && /* @__PURE__ */ jsx43("div", { className: "inline-flex items-center gap-2 px-6 py-3 border border-neutral-200 bg-white shadow-sm rounded-t-md", children: /* @__PURE__ */ jsxs19(
3979
4017
  "div",
3980
4018
  {
3981
4019
  className: "inline-flex items-center gap-2 cursor-pointer",
3982
4020
  onClick: () => window.history.back(),
3983
4021
  children: [
3984
- /* @__PURE__ */ jsx40(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
3985
- /* @__PURE__ */ jsx40("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
4022
+ /* @__PURE__ */ jsx43(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
4023
+ /* @__PURE__ */ jsx43("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
3986
4024
  ]
3987
4025
  }
3988
4026
  ) }),
3989
- /* @__PURE__ */ jsx40(
4027
+ /* @__PURE__ */ jsx43(
3990
4028
  "form",
3991
4029
  {
3992
4030
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -4007,8 +4045,8 @@ var DataForm = (props) => {
4007
4045
  }
4008
4046
  }
4009
4047
  },
4010
- children: /* @__PURE__ */ jsx40("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4011
- return /* @__PURE__ */ jsx40(React27.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs19("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4048
+ children: /* @__PURE__ */ jsx43("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
4049
+ return /* @__PURE__ */ jsx43(React30.Fragment, { children: !section.isChildSection && /* @__PURE__ */ jsxs19("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
4012
4050
  section.sectionRows?.map(
4013
4051
  (sectionRow, sectionRowIndex) => {
4014
4052
  const elementsCount = sectionRow.elements.length;
@@ -4019,14 +4057,14 @@ var DataForm = (props) => {
4019
4057
  sectionRow.visible
4020
4058
  );
4021
4059
  }
4022
- return /* @__PURE__ */ jsx40(React27.Fragment, { children: isVisible && /* @__PURE__ */ jsx40("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4060
+ return /* @__PURE__ */ jsx43(React30.Fragment, { children: isVisible && /* @__PURE__ */ jsx43("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
4023
4061
  return /* @__PURE__ */ jsxs19(
4024
4062
  "div",
4025
4063
  {
4026
4064
  className: sectionRow.grow ? "grow" : "",
4027
4065
  children: [
4028
- /* @__PURE__ */ jsx40("div", { children: field.controlType }),
4029
- /* @__PURE__ */ jsx40(
4066
+ /* @__PURE__ */ jsx43("div", { children: field.controlType }),
4067
+ /* @__PURE__ */ jsx43(
4030
4068
  InputControl_default,
4031
4069
  {
4032
4070
  name: field.name,
@@ -4056,12 +4094,12 @@ var DataForm = (props) => {
4056
4094
  }) }) }, sectionRowIndex);
4057
4095
  }
4058
4096
  ),
4059
- /* @__PURE__ */ jsx40("div", { children: section.childSections?.map(
4097
+ /* @__PURE__ */ jsx43("div", { children: section.childSections?.map(
4060
4098
  (childSection, childSectionIndex) => {
4061
- return /* @__PURE__ */ jsx40("div", { children: childSection.name && evalutateCondition(
4099
+ return /* @__PURE__ */ jsx43("div", { children: childSection.name && evalutateCondition(
4062
4100
  formState.inputValues,
4063
4101
  childSection.visible
4064
- ) && /* @__PURE__ */ jsx40(
4102
+ ) && /* @__PURE__ */ jsx43(
4065
4103
  DataFormChildSection_default,
4066
4104
  {
4067
4105
  section: childSection,
@@ -4077,7 +4115,7 @@ var DataForm = (props) => {
4077
4115
  }
4078
4116
  ),
4079
4117
  /* @__PURE__ */ jsxs19("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
4080
- /* @__PURE__ */ jsx40("div", { children: props.additionalActions && /* @__PURE__ */ jsx40(
4118
+ /* @__PURE__ */ jsx43("div", { children: props.additionalActions && /* @__PURE__ */ jsx43(
4081
4119
  Button_default,
4082
4120
  {
4083
4121
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4085,7 +4123,7 @@ var DataForm = (props) => {
4085
4123
  children: props.additionalActions.title
4086
4124
  }
4087
4125
  ) }),
4088
- /* @__PURE__ */ jsx40("div", { children: props.onDelete && /* @__PURE__ */ jsx40(
4126
+ /* @__PURE__ */ jsx43("div", { children: props.onDelete && /* @__PURE__ */ jsx43(
4089
4127
  Button_default,
4090
4128
  {
4091
4129
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -4096,7 +4134,7 @@ var DataForm = (props) => {
4096
4134
  children: "Delete"
4097
4135
  }
4098
4136
  ) }),
4099
- /* @__PURE__ */ jsx40("div", { children: props.onClick && /* @__PURE__ */ jsx40(
4137
+ /* @__PURE__ */ jsx43("div", { children: props.onClick && /* @__PURE__ */ jsx43(
4100
4138
  Button_default,
4101
4139
  {
4102
4140
  onValidate,
@@ -4113,7 +4151,7 @@ var DataForm = (props) => {
4113
4151
  var DataForm_default = DataForm;
4114
4152
 
4115
4153
  // src/components/dataForm/DataFormRenderer.tsx
4116
- import { jsx as jsx41, jsxs as jsxs20 } from "react/jsx-runtime";
4154
+ import { jsx as jsx44, jsxs as jsxs20 } from "react/jsx-runtime";
4117
4155
  function getAction(actions, code) {
4118
4156
  return actions?.find((a) => a.actionCode === code);
4119
4157
  }
@@ -4140,8 +4178,8 @@ var DataFormRenderer = ({
4140
4178
  );
4141
4179
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
4142
4180
  return /* @__PURE__ */ jsxs20("div", { className: "flex-grow flex flex-col", children: [
4143
- widgetProps && /* @__PURE__ */ jsx41(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4144
- /* @__PURE__ */ jsx41(
4181
+ widgetProps && /* @__PURE__ */ jsx44(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
4182
+ /* @__PURE__ */ jsx44(
4145
4183
  DataForm_default,
4146
4184
  {
4147
4185
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",
@@ -4187,5 +4225,3 @@ export {
4187
4225
  ViewControl_default as ViewControl,
4188
4226
  ViewControlTypes_default as ViewControlTypes
4189
4227
  };
4190
- ontrolTypes
4191
- };