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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -791,27 +791,27 @@ var DateTimeViewClient_exports = {};
791
791
  __export(DateTimeViewClient_exports, {
792
792
  default: () => DateTimeViewClient_default
793
793
  });
794
- var import_jsx_runtime14, DateTimeViewClient, DateTimeViewClient_default;
794
+ var import_jsx_runtime17, DateTimeViewClient, DateTimeViewClient_default;
795
795
  var init_DateTimeViewClient = __esm({
796
796
  "src/components/controls/view/DateTimeViewClient.tsx"() {
797
797
  "use strict";
798
798
  "use client";
799
799
  init_DateViewClient();
800
- import_jsx_runtime14 = require("react/jsx-runtime");
800
+ import_jsx_runtime17 = require("react/jsx-runtime");
801
801
  DateTimeViewClient = (props) => {
802
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DateViewClient_default, { ...props, controlType: "datetime" });
802
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DateViewClient_default, { ...props, controlType: "datetime" });
803
803
  };
804
804
  DateTimeViewClient_default = DateTimeViewClient;
805
805
  }
806
806
  });
807
807
 
808
808
  // src/components/controls/edit/MultilineTextInput.tsx
809
- var import_react13, import_jsx_runtime16, MultilineTextInput, MultilineTextInput_default;
809
+ var import_react16, import_jsx_runtime19, MultilineTextInput, MultilineTextInput_default;
810
810
  var init_MultilineTextInput = __esm({
811
811
  "src/components/controls/edit/MultilineTextInput.tsx"() {
812
812
  "use strict";
813
- import_react13 = __toESM(require("react"));
814
- import_jsx_runtime16 = require("react/jsx-runtime");
813
+ import_react16 = __toESM(require("react"));
814
+ import_jsx_runtime19 = require("react/jsx-runtime");
815
815
  MultilineTextInput = (props) => {
816
816
  const textChangeHandler = (event) => {
817
817
  const text = event.target.value;
@@ -830,11 +830,11 @@ var init_MultilineTextInput = __esm({
830
830
  if (props.value !== void 0 && props.value !== null) {
831
831
  value = props.value;
832
832
  }
833
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react13.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("label", { className: "block mb-1", children: [
834
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
833
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react16.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("label", { className: "block mb-1", children: [
834
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
835
835
  " ",
836
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "bg-error-weak", children: "*" }),
837
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
836
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "bg-error-weak", children: "*" }),
837
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
838
838
  "textarea",
839
839
  {
840
840
  name: props.name,
@@ -851,7 +851,7 @@ var init_MultilineTextInput = __esm({
851
851
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm input"
852
852
  }
853
853
  ),
854
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
854
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
855
855
  ] }) });
856
856
  };
857
857
  MultilineTextInput_default = MultilineTextInput;
@@ -859,12 +859,12 @@ var init_MultilineTextInput = __esm({
859
859
  });
860
860
 
861
861
  // src/components/controls/edit/LineTextInput.tsx
862
- var import_react14, import_jsx_runtime17, LineTextInput, LineTextInput_default;
862
+ var import_react17, import_jsx_runtime20, LineTextInput, LineTextInput_default;
863
863
  var init_LineTextInput = __esm({
864
864
  "src/components/controls/edit/LineTextInput.tsx"() {
865
865
  "use strict";
866
- import_react14 = __toESM(require("react"));
867
- import_jsx_runtime17 = require("react/jsx-runtime");
866
+ import_react17 = __toESM(require("react"));
867
+ import_jsx_runtime20 = require("react/jsx-runtime");
868
868
  LineTextInput = (props) => {
869
869
  const textChangeHandler = (event) => {
870
870
  const text = event.target.value;
@@ -883,11 +883,11 @@ var init_LineTextInput = __esm({
883
883
  if (props.value !== void 0 && props.value !== null) {
884
884
  value = props.value;
885
885
  }
886
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react14.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("label", { className: "block", children: [
887
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
886
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react17.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "block", children: [
887
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
888
888
  " ",
889
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
890
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
889
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
890
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
891
891
  "input",
892
892
  {
893
893
  type: "text",
@@ -907,7 +907,7 @@ var init_LineTextInput = __esm({
907
907
  `
908
908
  }
909
909
  ),
910
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
910
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
911
911
  ] }) });
912
912
  };
913
913
  LineTextInput_default = LineTextInput;
@@ -915,12 +915,12 @@ var init_LineTextInput = __esm({
915
915
  });
916
916
 
917
917
  // src/components/controls/edit/MoneyInput.tsx
918
- var import_react15, import_jsx_runtime18, MoneyInput, MoneyInput_default;
918
+ var import_react18, import_jsx_runtime21, MoneyInput, MoneyInput_default;
919
919
  var init_MoneyInput = __esm({
920
920
  "src/components/controls/edit/MoneyInput.tsx"() {
921
921
  "use strict";
922
- import_react15 = __toESM(require("react"));
923
- import_jsx_runtime18 = require("react/jsx-runtime");
922
+ import_react18 = __toESM(require("react"));
923
+ import_jsx_runtime21 = require("react/jsx-runtime");
924
924
  MoneyInput = (props) => {
925
925
  const textChangeHandler = (event) => {
926
926
  const rawValue = event.target.value;
@@ -949,11 +949,11 @@ var init_MoneyInput = __esm({
949
949
  e.preventDefault();
950
950
  }
951
951
  };
952
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react15.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { className: "block mb-1", children: [
953
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
952
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react18.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("label", { className: "block mb-1", children: [
953
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
954
954
  " ",
955
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "bg-error-weak", children: "*" }),
956
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
955
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "bg-error-weak", children: "*" }),
956
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
957
957
  "input",
958
958
  {
959
959
  type: "number",
@@ -973,7 +973,7 @@ var init_MoneyInput = __esm({
973
973
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
974
974
  }
975
975
  ),
976
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
976
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
977
977
  ] }) });
978
978
  };
979
979
  MoneyInput_default = MoneyInput;
@@ -1012,14 +1012,14 @@ var init_InputControlType = __esm({
1012
1012
  });
1013
1013
 
1014
1014
  // src/components/controls/edit/Select.tsx
1015
- var import_react16, import_jsx_runtime19, Select, Select_default;
1015
+ var import_react19, import_jsx_runtime22, Select, Select_default;
1016
1016
  var init_Select = __esm({
1017
1017
  "src/components/controls/edit/Select.tsx"() {
1018
1018
  "use strict";
1019
- import_react16 = require("react");
1020
- import_jsx_runtime19 = require("react/jsx-runtime");
1019
+ import_react19 = require("react");
1020
+ import_jsx_runtime22 = require("react/jsx-runtime");
1021
1021
  Select = (props) => {
1022
- const [list, setList] = (0, import_react16.useState)([]);
1022
+ const [list, setList] = (0, import_react19.useState)([]);
1023
1023
  const getSafeValue = (val) => {
1024
1024
  if (val === null || val === void 0) return "";
1025
1025
  if (typeof val === "boolean") return val ? "1" : "0";
@@ -1048,7 +1048,7 @@ var init_Select = __esm({
1048
1048
  groupKey: props.groupKey
1049
1049
  });
1050
1050
  };
1051
- (0, import_react16.useEffect)(() => {
1051
+ (0, import_react19.useEffect)(() => {
1052
1052
  async function fetchData() {
1053
1053
  if (props.dataset) {
1054
1054
  setList(props.dataset);
@@ -1075,11 +1075,11 @@ var init_Select = __esm({
1075
1075
  props.dataSourceDependsOn
1076
1076
  ]);
1077
1077
  const value = getSafeValue(props.value);
1078
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("label", { className: "block", children: [
1079
- props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-sm font-medium inline-block pb-1", children: props.attributes?.label }),
1078
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("label", { className: "block", children: [
1079
+ props.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "text-sm font-medium inline-block pb-1", children: props.attributes?.label }),
1080
1080
  " ",
1081
- props.attributes?.label && props.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "bg-error-weak", children: "*" }),
1082
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1081
+ props.attributes?.label && props.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "bg-error-weak", children: "*" }),
1082
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1083
1083
  "select",
1084
1084
  {
1085
1085
  name: props.name,
@@ -1090,16 +1090,16 @@ var init_Select = __esm({
1090
1090
  disabled: props.attributes?.readOnly,
1091
1091
  className: "peer select py-1.5 block w-full text-black rounded border-gray-300 shadow-sm\n focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none",
1092
1092
  children: [
1093
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
1093
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("option", { value: "", children: props.attributes?.placeholder || "Select" }),
1094
1094
  list.map((item, index) => {
1095
1095
  const keyField = props.dataKeyFieldName;
1096
1096
  const textField = props.dataTextFieldName;
1097
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("option", { value: item[keyField], children: item[textField] }, index);
1097
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("option", { value: item[keyField], children: item[textField] }, index);
1098
1098
  })
1099
1099
  ]
1100
1100
  }
1101
1101
  ),
1102
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 text-alert text-sm", children: props.attributes?.errorMessage || "" })
1102
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 text-alert text-sm", children: props.attributes?.errorMessage || "" })
1103
1103
  ] });
1104
1104
  };
1105
1105
  Select_default = Select;
@@ -1107,12 +1107,12 @@ var init_Select = __esm({
1107
1107
  });
1108
1108
 
1109
1109
  // src/components/controls/edit/PercentageInput.tsx
1110
- var import_react17, import_jsx_runtime20, PercentageInput, PercentageInput_default;
1110
+ var import_react20, import_jsx_runtime23, PercentageInput, PercentageInput_default;
1111
1111
  var init_PercentageInput = __esm({
1112
1112
  "src/components/controls/edit/PercentageInput.tsx"() {
1113
1113
  "use strict";
1114
- import_react17 = __toESM(require("react"));
1115
- import_jsx_runtime20 = require("react/jsx-runtime");
1114
+ import_react20 = __toESM(require("react"));
1115
+ import_jsx_runtime23 = require("react/jsx-runtime");
1116
1116
  PercentageInput = (props) => {
1117
1117
  const textChangeHandler = (event) => {
1118
1118
  const rawValue = event.target.value;
@@ -1141,11 +1141,11 @@ var init_PercentageInput = __esm({
1141
1141
  e.preventDefault();
1142
1142
  }
1143
1143
  };
1144
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react17.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("label", { className: "block mb-1", children: [
1145
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
1144
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react20.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("label", { className: "block mb-1", children: [
1145
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label ? props?.attributes?.label + " %" : "" }),
1146
1146
  " ",
1147
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "bg-error-weak", children: "*" }),
1148
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1147
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "bg-error-weak", children: "*" }),
1148
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1149
1149
  "input",
1150
1150
  {
1151
1151
  type: "number",
@@ -1164,7 +1164,7 @@ var init_PercentageInput = __esm({
1164
1164
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm number-input"
1165
1165
  }
1166
1166
  ),
1167
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1167
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1168
1168
  ] }) });
1169
1169
  };
1170
1170
  PercentageInput_default = PercentageInput;
@@ -1172,12 +1172,12 @@ var init_PercentageInput = __esm({
1172
1172
  });
1173
1173
 
1174
1174
  // src/components/controls/edit/PhoneInput.tsx
1175
- var import_react18, import_jsx_runtime21, PhoneInput, PhoneInput_default;
1175
+ var import_react21, import_jsx_runtime24, PhoneInput, PhoneInput_default;
1176
1176
  var init_PhoneInput = __esm({
1177
1177
  "src/components/controls/edit/PhoneInput.tsx"() {
1178
1178
  "use strict";
1179
- import_react18 = __toESM(require("react"));
1180
- import_jsx_runtime21 = require("react/jsx-runtime");
1179
+ import_react21 = __toESM(require("react"));
1180
+ import_jsx_runtime24 = require("react/jsx-runtime");
1181
1181
  PhoneInput = (props) => {
1182
1182
  const textChangeHandler = (event) => {
1183
1183
  const text = event.target.value;
@@ -1196,13 +1196,13 @@ var init_PhoneInput = __esm({
1196
1196
  if (props.value !== void 0 && props.value !== null) {
1197
1197
  value = props.value;
1198
1198
  }
1199
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react18.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("label", { className: "block mb-1", children: [
1200
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1199
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react21.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { className: "block mb-1", children: [
1200
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1201
1201
  " ",
1202
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "bg-error-weak", children: "*" }),
1203
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center rounded border ", children: [
1204
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "px-3", children: props.prefix }),
1205
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1202
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "bg-error-weak", children: "*" }),
1203
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex items-center rounded border ", children: [
1204
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "px-3", children: props.prefix }),
1205
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1206
1206
  "input",
1207
1207
  {
1208
1208
  type: "text",
@@ -1220,7 +1220,7 @@ var init_PhoneInput = __esm({
1220
1220
  }
1221
1221
  )
1222
1222
  ] }),
1223
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1223
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1224
1224
  ] }) });
1225
1225
  };
1226
1226
  PhoneInput_default = PhoneInput;
@@ -1228,12 +1228,12 @@ var init_PhoneInput = __esm({
1228
1228
  });
1229
1229
 
1230
1230
  // src/components/controls/edit/NumberInput.tsx
1231
- var import_react19, import_jsx_runtime22, NumberInput, NumberInput_default;
1231
+ var import_react22, import_jsx_runtime25, NumberInput, NumberInput_default;
1232
1232
  var init_NumberInput = __esm({
1233
1233
  "src/components/controls/edit/NumberInput.tsx"() {
1234
1234
  "use strict";
1235
- import_react19 = __toESM(require("react"));
1236
- import_jsx_runtime22 = require("react/jsx-runtime");
1235
+ import_react22 = __toESM(require("react"));
1236
+ import_jsx_runtime25 = require("react/jsx-runtime");
1237
1237
  NumberInput = (props) => {
1238
1238
  const textChangeHandler = (event) => {
1239
1239
  const text = event.target.value;
@@ -1256,11 +1256,11 @@ var init_NumberInput = __esm({
1256
1256
  if (props.value !== void 0 && props.value !== null) {
1257
1257
  value = props.value;
1258
1258
  }
1259
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react19.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("label", { className: "block", children: [
1260
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
1259
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react22.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("label", { className: "block", children: [
1260
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
1261
1261
  " ",
1262
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "bg-error-weak", children: "*" }),
1263
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1262
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "bg-error-weak", children: "*" }),
1263
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1264
1264
  "input",
1265
1265
  {
1266
1266
  type: "number",
@@ -1279,7 +1279,7 @@ var init_NumberInput = __esm({
1279
1279
  className: "peer py-1.5 block w-full rounded shadow-sm number-input input\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
1280
1280
  }
1281
1281
  ),
1282
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1282
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1283
1283
  ] }) });
1284
1284
  };
1285
1285
  NumberInput_default = NumberInput;
@@ -1287,12 +1287,12 @@ var init_NumberInput = __esm({
1287
1287
  });
1288
1288
 
1289
1289
  // src/components/controls/edit/CheckboxInput.tsx
1290
- var import_react20, import_jsx_runtime23, CheckboxInput, CheckboxInput_default;
1290
+ var import_react23, import_jsx_runtime26, CheckboxInput, CheckboxInput_default;
1291
1291
  var init_CheckboxInput = __esm({
1292
1292
  "src/components/controls/edit/CheckboxInput.tsx"() {
1293
1293
  "use strict";
1294
- import_react20 = __toESM(require("react"));
1295
- import_jsx_runtime23 = require("react/jsx-runtime");
1294
+ import_react23 = __toESM(require("react"));
1295
+ import_jsx_runtime26 = require("react/jsx-runtime");
1296
1296
  CheckboxInput = (props) => {
1297
1297
  const textChangeHandler = (event) => {
1298
1298
  let text = event.target.checked;
@@ -1309,9 +1309,9 @@ var init_CheckboxInput = __esm({
1309
1309
  if (props.value != void 0 && props.value != null && props.value != "" && (props.value == "true" || props.value.toString() == "true")) {
1310
1310
  value = true;
1311
1311
  }
1312
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react20.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "mb-1", children: [
1313
- props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
1314
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1312
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react23.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "mb-1", children: [
1313
+ props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
1314
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1315
1315
  "label",
1316
1316
  {
1317
1317
  htmlFor: props.name,
@@ -1319,9 +1319,9 @@ var init_CheckboxInput = __esm({
1319
1319
  children: props.attributes.label
1320
1320
  }
1321
1321
  ),
1322
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "bg-error-weak", children: "*" })
1322
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "bg-error-weak", children: "*" })
1323
1323
  ] }),
1324
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1324
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1325
1325
  "input",
1326
1326
  {
1327
1327
  type: "checkbox",
@@ -1338,7 +1338,7 @@ var init_CheckboxInput = __esm({
1338
1338
  className: "peer mt-1 py-1.5 block rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
1339
1339
  }
1340
1340
  ),
1341
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
1341
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage || "" })
1342
1342
  ] }) });
1343
1343
  };
1344
1344
  CheckboxInput_default = CheckboxInput;
@@ -1346,12 +1346,12 @@ var init_CheckboxInput = __esm({
1346
1346
  });
1347
1347
 
1348
1348
  // src/components/controls/edit/OtpInput.tsx
1349
- var import_react21, import_jsx_runtime24, OtpInput, OtpInput_default;
1349
+ var import_react24, import_jsx_runtime27, OtpInput, OtpInput_default;
1350
1350
  var init_OtpInput = __esm({
1351
1351
  "src/components/controls/edit/OtpInput.tsx"() {
1352
1352
  "use strict";
1353
- import_react21 = __toESM(require("react"));
1354
- import_jsx_runtime24 = require("react/jsx-runtime");
1353
+ import_react24 = __toESM(require("react"));
1354
+ import_jsx_runtime27 = require("react/jsx-runtime");
1355
1355
  OtpInput = (props) => {
1356
1356
  const textChangeHandler = (event) => {
1357
1357
  const text = event.target.value;
@@ -1373,11 +1373,11 @@ var init_OtpInput = __esm({
1373
1373
  if (props.value !== void 0 && props.value !== null) {
1374
1374
  value = props.value;
1375
1375
  }
1376
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react21.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
1377
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1376
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_react24.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("label", { htmlFor: props.name, className: "block mb-1 w-full", children: [
1377
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1378
1378
  " ",
1379
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "bg-error-weak", children: "*" }),
1380
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1379
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "bg-error-weak", children: "*" }),
1380
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1381
1381
  "input",
1382
1382
  {
1383
1383
  type: "text",
@@ -1397,7 +1397,7 @@ var init_OtpInput = __esm({
1397
1397
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm tracking-[1.25em] text-center"
1398
1398
  }
1399
1399
  ),
1400
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1400
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1401
1401
  ] }) });
1402
1402
  };
1403
1403
  OtpInput_default = OtpInput;
@@ -1405,12 +1405,12 @@ var init_OtpInput = __esm({
1405
1405
  });
1406
1406
 
1407
1407
  // src/components/controls/edit/DateTimeInput.tsx
1408
- var import_react22, import_jsx_runtime25, DateTimeInput, DateTimeInput_default;
1408
+ var import_react25, import_jsx_runtime28, DateTimeInput, DateTimeInput_default;
1409
1409
  var init_DateTimeInput = __esm({
1410
1410
  "src/components/controls/edit/DateTimeInput.tsx"() {
1411
1411
  "use strict";
1412
- import_react22 = __toESM(require("react"));
1413
- import_jsx_runtime25 = require("react/jsx-runtime");
1412
+ import_react25 = __toESM(require("react"));
1413
+ import_jsx_runtime28 = require("react/jsx-runtime");
1414
1414
  DateTimeInput = (props) => {
1415
1415
  const textChangeHandler = (event) => {
1416
1416
  const localDate = new Date(event.target.value);
@@ -1442,12 +1442,12 @@ var init_DateTimeInput = __esm({
1442
1442
  e.preventDefault();
1443
1443
  }
1444
1444
  };
1445
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react22.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("label", { className: "block mb-1", children: [
1446
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1445
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react25.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("label", { className: "block mb-1", children: [
1446
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
1447
1447
  " ",
1448
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "bg-error-weak", children: "*" }),
1449
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex items-center gap-2", children: [
1450
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1448
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "bg-error-weak", children: "*" }),
1449
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2", children: [
1450
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1451
1451
  "input",
1452
1452
  {
1453
1453
  type: "datetime-local",
@@ -1465,9 +1465,9 @@ var init_DateTimeInput = __esm({
1465
1465
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
1466
1466
  }
1467
1467
  ),
1468
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: timeZoneAbbr })
1468
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { children: timeZoneAbbr })
1469
1469
  ] }),
1470
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1470
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
1471
1471
  ] }) });
1472
1472
  };
1473
1473
  DateTimeInput_default = DateTimeInput;
@@ -1475,15 +1475,15 @@ var init_DateTimeInput = __esm({
1475
1475
  });
1476
1476
 
1477
1477
  // src/components/controls/edit/ColorInput.tsx
1478
- var import_react23, import_jsx_runtime26, ColorInput, ColorInput_default;
1478
+ var import_react26, import_jsx_runtime29, ColorInput, ColorInput_default;
1479
1479
  var init_ColorInput = __esm({
1480
1480
  "src/components/controls/edit/ColorInput.tsx"() {
1481
1481
  "use strict";
1482
- import_react23 = __toESM(require("react"));
1483
- import_jsx_runtime26 = require("react/jsx-runtime");
1482
+ import_react26 = __toESM(require("react"));
1483
+ import_jsx_runtime29 = require("react/jsx-runtime");
1484
1484
  ColorInput = (props) => {
1485
- const [color, setColor] = import_react23.default.useState("#3b82f6");
1486
- (0, import_react23.useEffect)(() => {
1485
+ const [color, setColor] = import_react26.default.useState("#3b82f6");
1486
+ (0, import_react26.useEffect)(() => {
1487
1487
  if (props.value !== void 0 && props.value !== null) {
1488
1488
  if (typeof props.value === "string") {
1489
1489
  setColor(props.value);
@@ -1502,11 +1502,11 @@ var init_ColorInput = __esm({
1502
1502
  });
1503
1503
  }
1504
1504
  };
1505
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("label", { className: "block mb-1", children: [
1506
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("label", { className: "block mb-1", children: [
1506
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
1507
1507
  " ",
1508
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "bg-error-weak", children: "*" }),
1509
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1508
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "bg-error-weak", children: "*" }),
1509
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1510
1510
  "input",
1511
1511
  {
1512
1512
  type: "color",
@@ -1519,7 +1519,7 @@ var init_ColorInput = __esm({
1519
1519
  className: `w-[78px] h-12 block cursor-pointer`
1520
1520
  }
1521
1521
  ),
1522
- props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
1522
+ props?.attributes?.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "mt-1 bg-error-weak text-sm", children: props.attributes.errorMessage })
1523
1523
  ] });
1524
1524
  };
1525
1525
  ColorInput_default = ColorInput;
@@ -1527,20 +1527,20 @@ var init_ColorInput = __esm({
1527
1527
  });
1528
1528
 
1529
1529
  // src/components/controls/edit/SelectWithSearchInput.tsx
1530
- var import_react24, import_jsx_runtime27, SelectWithSearchInput, SelectWithSearchInput_default;
1530
+ var import_react27, import_jsx_runtime30, SelectWithSearchInput, SelectWithSearchInput_default;
1531
1531
  var init_SelectWithSearchInput = __esm({
1532
1532
  "src/components/controls/edit/SelectWithSearchInput.tsx"() {
1533
1533
  "use strict";
1534
1534
  "use client";
1535
- import_react24 = require("react");
1536
- import_jsx_runtime27 = require("react/jsx-runtime");
1535
+ import_react27 = require("react");
1536
+ import_jsx_runtime30 = require("react/jsx-runtime");
1537
1537
  SelectWithSearchInput = (props) => {
1538
- const [isOpen, setIsOpen] = (0, import_react24.useState)(false);
1539
- const [searchTerm, setSearchTerm] = (0, import_react24.useState)("");
1540
- const [highlightedIndex, setHighlightedIndex] = (0, import_react24.useState)(-1);
1541
- const [selectedItem, setSelectedItem] = (0, import_react24.useState)(null);
1542
- const [list, setList] = (0, import_react24.useState)([]);
1543
- (0, import_react24.useEffect)(() => {
1538
+ const [isOpen, setIsOpen] = (0, import_react27.useState)(false);
1539
+ const [searchTerm, setSearchTerm] = (0, import_react27.useState)("");
1540
+ const [highlightedIndex, setHighlightedIndex] = (0, import_react27.useState)(-1);
1541
+ const [selectedItem, setSelectedItem] = (0, import_react27.useState)(null);
1542
+ const [list, setList] = (0, import_react27.useState)([]);
1543
+ (0, import_react27.useEffect)(() => {
1544
1544
  async function fetchData() {
1545
1545
  if (props.dataset) {
1546
1546
  setList(props.dataset);
@@ -1594,8 +1594,8 @@ var init_SelectWithSearchInput = __esm({
1594
1594
  handleSelect(e, filteredItems[highlightedIndex]);
1595
1595
  }
1596
1596
  };
1597
- const dropdownRef = (0, import_react24.useRef)(null);
1598
- (0, import_react24.useEffect)(() => {
1597
+ const dropdownRef = (0, import_react27.useRef)(null);
1598
+ (0, import_react27.useEffect)(() => {
1599
1599
  if (highlightedIndex >= 0 && dropdownRef.current) {
1600
1600
  const highlightedItem = dropdownRef.current.children[highlightedIndex];
1601
1601
  highlightedItem?.scrollIntoView({
@@ -1604,15 +1604,15 @@ var init_SelectWithSearchInput = __esm({
1604
1604
  });
1605
1605
  }
1606
1606
  }, [highlightedIndex]);
1607
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative", children: [
1608
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("label", { children: [
1607
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative", children: [
1608
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("label", { children: [
1609
1609
  props.attributes?.label,
1610
1610
  " ",
1611
1611
  " ",
1612
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "bg-error-weak", children: "*" })
1612
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "bg-error-weak", children: "*" })
1613
1613
  ] }),
1614
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative", children: [
1615
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1614
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative", children: [
1615
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1616
1616
  "input",
1617
1617
  {
1618
1618
  type: "text",
@@ -1628,13 +1628,13 @@ var init_SelectWithSearchInput = __esm({
1628
1628
  className: "peer py-1.5 select block w-full text-black rounded border-gray-300 shadow-sm\n focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n "
1629
1629
  }
1630
1630
  ),
1631
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1631
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1632
1632
  "button",
1633
1633
  {
1634
1634
  type: "button",
1635
1635
  onClick: () => setIsOpen(!isOpen),
1636
1636
  className: "absolute right-2 top-3 h-5 w-5 text-gray-500 focus:outline-none",
1637
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1637
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1638
1638
  "svg",
1639
1639
  {
1640
1640
  xmlns: "http://www.w3.org/2000/svg",
@@ -1643,7 +1643,7 @@ var init_SelectWithSearchInput = __esm({
1643
1643
  strokeWidth: 1.5,
1644
1644
  stroke: "currentColor",
1645
1645
  className: "w-full h-full",
1646
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1646
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1647
1647
  "path",
1648
1648
  {
1649
1649
  strokeLinecap: "round",
@@ -1656,12 +1656,12 @@ var init_SelectWithSearchInput = __esm({
1656
1656
  }
1657
1657
  )
1658
1658
  ] }),
1659
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1659
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1660
1660
  "div",
1661
1661
  {
1662
1662
  ref: dropdownRef,
1663
1663
  className: "absolute z-10 mt-2 w-full bg-white border border-gray-200 rounded-md shadow-lg max-h-48 overflow-y-auto",
1664
- children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1664
+ children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1665
1665
  "button",
1666
1666
  {
1667
1667
  onClick: (e) => handleSelect(e, item),
@@ -1669,10 +1669,10 @@ var init_SelectWithSearchInput = __esm({
1669
1669
  role: "option",
1670
1670
  tabIndex: -1,
1671
1671
  onMouseEnter: () => setHighlightedIndex(index),
1672
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { children: item[props.dataTextFieldName] })
1672
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: item[props.dataTextFieldName] })
1673
1673
  },
1674
1674
  item[props.dataKeyFieldName]
1675
- )) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
1675
+ )) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
1676
1676
  }
1677
1677
  )
1678
1678
  ] });
@@ -1746,15 +1746,15 @@ var init_StyleTypes = __esm({
1746
1746
  });
1747
1747
 
1748
1748
  // src/components/ClientButton.tsx
1749
- var import_react25, import_jsx_runtime28, ClientButton, ClientButton_default;
1749
+ var import_react28, import_jsx_runtime31, ClientButton, ClientButton_default;
1750
1750
  var init_ClientButton = __esm({
1751
1751
  "src/components/ClientButton.tsx"() {
1752
1752
  "use strict";
1753
1753
  "use client";
1754
- import_react25 = __toESM(require("react"));
1754
+ import_react28 = __toESM(require("react"));
1755
1755
  init_ToastService();
1756
1756
  init_StyleTypes();
1757
- import_jsx_runtime28 = require("react/jsx-runtime");
1757
+ import_jsx_runtime31 = require("react/jsx-runtime");
1758
1758
  ClientButton = (props) => {
1759
1759
  const execute = async (event) => {
1760
1760
  if (props.onClick !== void 0) {
@@ -1764,7 +1764,7 @@ var init_ClientButton = __esm({
1764
1764
  }
1765
1765
  };
1766
1766
  let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Solid */);
1767
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react25.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1767
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react28.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1768
1768
  "button",
1769
1769
  {
1770
1770
  type: "button",
@@ -1779,17 +1779,17 @@ var init_ClientButton = __esm({
1779
1779
  });
1780
1780
 
1781
1781
  // src/components/Confirm.tsx
1782
- var import_react26, import_jsx_runtime29, Confirm, Confirm_default;
1782
+ var import_react29, import_jsx_runtime32, Confirm, Confirm_default;
1783
1783
  var init_Confirm = __esm({
1784
1784
  "src/components/Confirm.tsx"() {
1785
1785
  "use strict";
1786
1786
  "use client";
1787
- import_react26 = require("react");
1787
+ import_react29 = require("react");
1788
1788
  init_ClientButton();
1789
1789
  init_StyleTypes();
1790
- import_jsx_runtime29 = require("react/jsx-runtime");
1790
+ import_jsx_runtime32 = require("react/jsx-runtime");
1791
1791
  Confirm = ({ message, onConfirm, onCancel }) => {
1792
- const [showModal, setShowModal] = (0, import_react26.useState)(true);
1792
+ const [showModal, setShowModal] = (0, import_react29.useState)(true);
1793
1793
  const handleConfirmAction = () => {
1794
1794
  setShowModal(false);
1795
1795
  if (onConfirm) {
@@ -1802,13 +1802,13 @@ var init_Confirm = __esm({
1802
1802
  onCancel();
1803
1803
  }
1804
1804
  };
1805
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: showModal && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "fixed inset-0 flex items-center justify-center z-50", children: [
1806
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-0 bg-black opacity-70" }),
1807
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "bg-white rounded-md p-6 w-2/6 shadow border z-50", children: [
1808
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-xl font-medium mb-4", children: "Confirmation" }),
1809
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "mb-4", children: message }),
1810
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex justify-end gap-8", children: [
1811
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1805
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_jsx_runtime32.Fragment, { children: showModal && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "fixed inset-0 flex items-center justify-center z-50", children: [
1806
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "absolute inset-0 bg-black opacity-70" }),
1807
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "bg-white rounded-md p-6 w-2/6 shadow border z-50", children: [
1808
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "text-xl font-medium mb-4", children: "Confirmation" }),
1809
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "mb-4", children: message }),
1810
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex justify-end gap-8", children: [
1811
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1812
1812
  ClientButton_default,
1813
1813
  {
1814
1814
  onClick: handleCancelAction,
@@ -1816,7 +1816,7 @@ var init_Confirm = __esm({
1816
1816
  children: "Cancel"
1817
1817
  }
1818
1818
  ),
1819
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1819
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1820
1820
  ClientButton_default,
1821
1821
  {
1822
1822
  onClick: handleConfirmAction,
@@ -1834,21 +1834,21 @@ var init_Confirm = __esm({
1834
1834
  });
1835
1835
 
1836
1836
  // src/components/Button.tsx
1837
- var import_react27, import_jsx_runtime30, Button, Button_default;
1837
+ var import_react30, import_jsx_runtime33, Button, Button_default;
1838
1838
  var init_Button = __esm({
1839
1839
  "src/components/Button.tsx"() {
1840
1840
  "use strict";
1841
1841
  "use client";
1842
- import_react27 = __toESM(require("react"));
1842
+ import_react30 = __toESM(require("react"));
1843
1843
  init_ToastService();
1844
1844
  init_StyleTypes();
1845
1845
  init_Confirm();
1846
- import_jsx_runtime30 = require("react/jsx-runtime");
1846
+ import_jsx_runtime33 = require("react/jsx-runtime");
1847
1847
  Button = (props) => {
1848
- const [inProgress, setInProgress] = (0, import_react27.useState)(false);
1849
- const [isActionPerformed, setIsActionPerformed] = (0, import_react27.useState)(false);
1850
- const [responseMessage, setResponseMessage] = (0, import_react27.useState)(null);
1851
- const [showModal, setShowModal] = (0, import_react27.useState)(null);
1848
+ const [inProgress, setInProgress] = (0, import_react30.useState)(false);
1849
+ const [isActionPerformed, setIsActionPerformed] = (0, import_react30.useState)(false);
1850
+ const [responseMessage, setResponseMessage] = (0, import_react30.useState)(null);
1851
+ const [showModal, setShowModal] = (0, import_react30.useState)(null);
1852
1852
  const execute = async (event) => {
1853
1853
  event.preventDefault();
1854
1854
  event.stopPropagation();
@@ -1892,14 +1892,14 @@ var init_Button = __esm({
1892
1892
  return new Promise((resolve) => {
1893
1893
  const onConfirm = () => resolve(true);
1894
1894
  const onCancel = () => resolve(false);
1895
- setShowModal(/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Confirm_default, { message: props.confirmationMessage, onConfirm, onCancel }));
1895
+ setShowModal(/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Confirm_default, { message: props.confirmationMessage, onConfirm, onCancel }));
1896
1896
  });
1897
1897
  };
1898
1898
  let buttonClass = props.ButtonType ? buttonClasses.get(props.ButtonType) : buttonClasses.get("Primary" /* Solid */);
1899
1899
  let progressClass = props.ButtonType ? progressClasses.get(props.ButtonType) : progressClasses.get("Primary" /* Solid */);
1900
1900
  const isDisabled = inProgress || isActionPerformed && props.oneTimeAction;
1901
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_react27.default.Fragment, { children: [
1902
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1901
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react30.default.Fragment, { children: [
1902
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1903
1903
  "button",
1904
1904
  {
1905
1905
  type: "submit",
@@ -1909,9 +1909,9 @@ var init_Button = __esm({
1909
1909
  className: buttonClass + " relative " + props.className,
1910
1910
  children: [
1911
1911
  isActionPerformed && props.oneTimeAction && responseMessage ? responseMessage : props.children,
1912
- inProgress && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react27.default.Fragment, { children: props.hideProgressIndicator === true ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "absolute bottom-0 left-0 h-0.5 bg-gray-400 rounded animate-progress" }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("svg", { className: "animate-spin ml-2 mr-3 h-5 w-5 " + progressClass, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [
1913
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
1914
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })
1912
+ inProgress && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react30.default.Fragment, { children: props.hideProgressIndicator === true ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "absolute bottom-0 left-0 h-0.5 bg-gray-400 rounded animate-progress" }) : /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("svg", { className: "animate-spin ml-2 mr-3 h-5 w-5 " + progressClass, xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", children: [
1913
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("circle", { className: "opacity-25", cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "4" }),
1914
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("path", { className: "opacity-75", fill: "currentColor", d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" })
1915
1915
  ] }) })
1916
1916
  ]
1917
1917
  }
@@ -1924,28 +1924,28 @@ var init_Button = __esm({
1924
1924
  });
1925
1925
 
1926
1926
  // src/components/controls/edit/SelectWithSearchPanel.tsx
1927
- var import_react28, import_jsx_runtime31, SelectWithSearchPanel, SelectWithSearchPanel_default;
1927
+ var import_react31, import_jsx_runtime34, SelectWithSearchPanel, SelectWithSearchPanel_default;
1928
1928
  var init_SelectWithSearchPanel = __esm({
1929
1929
  "src/components/controls/edit/SelectWithSearchPanel.tsx"() {
1930
1930
  "use strict";
1931
1931
  "use client";
1932
1932
  init_Button();
1933
- import_react28 = __toESM(require("react"));
1934
- import_jsx_runtime31 = require("react/jsx-runtime");
1933
+ import_react31 = __toESM(require("react"));
1934
+ import_jsx_runtime34 = require("react/jsx-runtime");
1935
1935
  SelectWithSearchPanel = (props) => {
1936
- const [isOpen, setIsOpen] = (0, import_react28.useState)(false);
1937
- const [searchTerm, setSearchTerm] = (0, import_react28.useState)("");
1938
- const [highlightedIndex, setHighlightedIndex] = (0, import_react28.useState)(0);
1939
- const [list, setList] = (0, import_react28.useState)([]);
1940
- const listRef = (0, import_react28.useRef)(null);
1941
- const [isError, setIsError] = (0, import_react28.useState)(false);
1942
- const containerRef = (0, import_react28.useRef)(null);
1943
- const [isCreateOpen, setIsCreateOpen] = (0, import_react28.useState)(false);
1944
- const [formData, setFormData] = (0, import_react28.useState)({});
1936
+ const [isOpen, setIsOpen] = (0, import_react31.useState)(false);
1937
+ const [searchTerm, setSearchTerm] = (0, import_react31.useState)("");
1938
+ const [highlightedIndex, setHighlightedIndex] = (0, import_react31.useState)(0);
1939
+ const [list, setList] = (0, import_react31.useState)([]);
1940
+ const listRef = (0, import_react31.useRef)(null);
1941
+ const [isError, setIsError] = (0, import_react31.useState)(false);
1942
+ const containerRef = (0, import_react31.useRef)(null);
1943
+ const [isCreateOpen, setIsCreateOpen] = (0, import_react31.useState)(false);
1944
+ const [formData, setFormData] = (0, import_react31.useState)({});
1945
1945
  const getNestedValue7 = (obj, path) => {
1946
1946
  return path.split(".").reduce((acc, key) => acc?.[key], obj);
1947
1947
  };
1948
- (0, import_react28.useEffect)(() => {
1948
+ (0, import_react31.useEffect)(() => {
1949
1949
  const handleClickOutside = (event) => {
1950
1950
  if (containerRef.current && !containerRef.current.contains(event.target)) {
1951
1951
  setIsOpen(false);
@@ -1956,7 +1956,7 @@ var init_SelectWithSearchPanel = __esm({
1956
1956
  document.removeEventListener("mousedown", handleClickOutside);
1957
1957
  };
1958
1958
  }, []);
1959
- (0, import_react28.useEffect)(() => {
1959
+ (0, import_react31.useEffect)(() => {
1960
1960
  async function fetchData() {
1961
1961
  if (props.dataset) {
1962
1962
  setList(props.dataset);
@@ -1998,7 +1998,7 @@ var init_SelectWithSearchPanel = __esm({
1998
1998
  audioCtx.close();
1999
1999
  }, 250);
2000
2000
  };
2001
- (0, import_react28.useEffect)(() => {
2001
+ (0, import_react31.useEffect)(() => {
2002
2002
  const filteredItems2 = list?.filter(
2003
2003
  (item) => item[props?.dataTextFieldName]?.toLowerCase().includes(searchTerm?.toLowerCase())
2004
2004
  );
@@ -2063,18 +2063,18 @@ var init_SelectWithSearchPanel = __esm({
2063
2063
  const handleInputChange = (event, field) => {
2064
2064
  setFormData((prev) => ({ ...prev, [field]: event.target.value }));
2065
2065
  };
2066
- const handleSaveModal = (0, import_react28.useCallback)(async () => {
2066
+ const handleSaveModal = (0, import_react31.useCallback)(async () => {
2067
2067
  console.log("Form Data:", formData);
2068
2068
  return formData;
2069
2069
  }, []);
2070
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "relative", children: [
2071
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("label", { className: "text-sm mb-1 font-medium", children: [
2070
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "relative", children: [
2071
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("label", { className: "text-sm mb-1 font-medium", children: [
2072
2072
  props.attributes?.label,
2073
2073
  " ",
2074
2074
  " ",
2075
- props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "bg-error-weak", children: "*" })
2075
+ props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "bg-error-weak", children: "*" })
2076
2076
  ] }),
2077
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2077
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2078
2078
  "input",
2079
2079
  {
2080
2080
  type: "text",
@@ -2088,14 +2088,14 @@ var init_SelectWithSearchPanel = __esm({
2088
2088
  disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none`
2089
2089
  }
2090
2090
  ) }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { ref: containerRef, children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_react28.default.Fragment, { children: [
2092
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "fixed z-50 right-0 bg-white top-[62px] w-1/4 border-l border-gray-200", children: [
2093
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex flex-col p-2 bg-accent-950 text-white", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("h5", { className: "text-md text-white font-medium", children: [
2091
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { ref: containerRef, children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_react31.default.Fragment, { children: [
2092
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "fixed z-50 right-0 bg-white top-[62px] w-1/4 border-l border-gray-200", children: [
2093
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex flex-col p-2 bg-accent-950 text-white", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("h5", { className: "text-md text-white font-medium", children: [
2094
2094
  "Select a",
2095
2095
  " ",
2096
2096
  props.attributes?.label || props.attributes?.heading
2097
2097
  ] }) }),
2098
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200 h-10", children: props.createFields && props.createFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2098
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200 h-10", children: props.createFields && props.createFields.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2099
2099
  "button",
2100
2100
  {
2101
2101
  type: "button",
@@ -2108,12 +2108,12 @@ var init_SelectWithSearchPanel = __esm({
2108
2108
  }
2109
2109
  ) })
2110
2110
  ] }),
2111
- isCreateOpen && /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "fixed right-0 w-1/4 h-full top-[62px] bg-white shadow-lg border-l border-gray-200 z-50", children: [
2112
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex flex-col p-2 bg-accent-950", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("h5", { className: "text-md font-medium text-white", children: [
2111
+ isCreateOpen && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "fixed right-0 w-1/4 h-full top-[62px] bg-white shadow-lg border-l border-gray-200 z-50", children: [
2112
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex flex-col p-2 bg-accent-950", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("h5", { className: "text-md font-medium text-white", children: [
2113
2113
  "Create New ",
2114
2114
  props.attributes?.label
2115
2115
  ] }) }),
2116
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2116
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex justify-end px-4 border-b py-2 border-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2117
2117
  "button",
2118
2118
  {
2119
2119
  type: "button",
@@ -2122,10 +2122,10 @@ var init_SelectWithSearchPanel = __esm({
2122
2122
  children: "Close"
2123
2123
  }
2124
2124
  ) }),
2125
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "p-4", children: [
2126
- props.createFields?.map((field) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "mb-4", children: [
2127
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("label", { className: "text-sm mb-1 font-medium block", children: field.label }),
2128
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2125
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "p-4", children: [
2126
+ props.createFields?.map((field) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "mb-4", children: [
2127
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("label", { className: "text-sm mb-1 font-medium block", children: field.label }),
2128
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2129
2129
  "input",
2130
2130
  {
2131
2131
  type: field.type,
@@ -2141,7 +2141,7 @@ var init_SelectWithSearchPanel = __esm({
2141
2141
  }
2142
2142
  )
2143
2143
  ] }, field.name)),
2144
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Button_default, { onClick: async () => {
2144
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Button_default, { onClick: async () => {
2145
2145
  handleSaveModal();
2146
2146
  return { isSuccessful: true };
2147
2147
  }, className: "w-full", children: [
@@ -2150,13 +2150,13 @@ var init_SelectWithSearchPanel = __esm({
2150
2150
  ] })
2151
2151
  ] })
2152
2152
  ] }),
2153
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2153
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2154
2154
  "div",
2155
2155
  {
2156
2156
  ref: listRef,
2157
2157
  className: "fixed z-10 right-0 mt-[130px] top-0 w-1/4 bg-white border-l border-gray-200 shadow-lg overflow-y-auto",
2158
2158
  style: { height: "calc(100vh - 130px)" },
2159
- children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2159
+ children: filteredItems.length > 0 ? filteredItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2160
2160
  "button",
2161
2161
  {
2162
2162
  onClick: (e) => {
@@ -2166,9 +2166,9 @@ var init_SelectWithSearchPanel = __esm({
2166
2166
  role: "option",
2167
2167
  tabIndex: -1,
2168
2168
  onMouseEnter: () => setHighlightedIndex(index),
2169
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { children: getNestedValue7(item, props.dataTextFieldName) })
2169
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: getNestedValue7(item, props.dataTextFieldName) })
2170
2170
  }
2171
- ) }, item[props.dataKeyFieldName])) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
2171
+ ) }, item[props.dataKeyFieldName])) : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "px-4 py-2 text-gray-500", children: "No results found" })
2172
2172
  }
2173
2173
  )
2174
2174
  ] }) })
@@ -2179,14 +2179,14 @@ var init_SelectWithSearchPanel = __esm({
2179
2179
  });
2180
2180
 
2181
2181
  // src/components/controls/edit/BooleanSelect.tsx
2182
- var import_react29, import_jsx_runtime32, BooleanSelect, BooleanSelect_default;
2182
+ var import_react32, import_jsx_runtime35, BooleanSelect, BooleanSelect_default;
2183
2183
  var init_BooleanSelect = __esm({
2184
2184
  "src/components/controls/edit/BooleanSelect.tsx"() {
2185
2185
  "use strict";
2186
- import_react29 = __toESM(require("react"));
2187
- import_jsx_runtime32 = require("react/jsx-runtime");
2186
+ import_react32 = __toESM(require("react"));
2187
+ import_jsx_runtime35 = require("react/jsx-runtime");
2188
2188
  BooleanSelect = (props) => {
2189
- const [list, setList] = (0, import_react29.useState)();
2189
+ const [list, setList] = (0, import_react32.useState)();
2190
2190
  const textChangeHandler = (event) => {
2191
2191
  const text = event.target.value;
2192
2192
  const boolValue = text?.toLowerCase() === "true" || text === "1";
@@ -2199,7 +2199,7 @@ var init_BooleanSelect = __esm({
2199
2199
  });
2200
2200
  }
2201
2201
  };
2202
- (0, import_react29.useEffect)(() => {
2202
+ (0, import_react32.useEffect)(() => {
2203
2203
  async function fetchData() {
2204
2204
  console.log("in select");
2205
2205
  if (props.dataset) {
@@ -2233,11 +2233,11 @@ var init_BooleanSelect = __esm({
2233
2233
  if (props.value !== void 0 && props.value !== null) {
2234
2234
  value = props.value;
2235
2235
  }
2236
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react29.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("label", { className: "block", children: [
2237
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
2236
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react32.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("label", { className: "block", children: [
2237
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "text-sm font-medium ", children: props?.attributes?.label }),
2238
2238
  " ",
2239
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "bg-error-weak", children: "*" }),
2240
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2239
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "bg-error-weak", children: "*" }),
2240
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2241
2241
  "select",
2242
2242
  {
2243
2243
  name: props.name,
@@ -2249,9 +2249,9 @@ var init_BooleanSelect = __esm({
2249
2249
  disabled: props?.attributes?.readOnly,
2250
2250
  className: "peer mt-1 py-1.5 block w-full text-black rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none\n ",
2251
2251
  children: [
2252
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
2252
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("option", { className: "", value: "", children: props.attributes?.placeholder || "Select" }),
2253
2253
  list && list.map((item, i) => {
2254
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2254
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2255
2255
  "option",
2256
2256
  {
2257
2257
  className: "fac-select-option",
@@ -2264,7 +2264,7 @@ var init_BooleanSelect = __esm({
2264
2264
  ]
2265
2265
  }
2266
2266
  ),
2267
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
2267
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
2268
2268
  ] }) });
2269
2269
  };
2270
2270
  BooleanSelect_default = BooleanSelect;
@@ -2272,12 +2272,12 @@ var init_BooleanSelect = __esm({
2272
2272
  });
2273
2273
 
2274
2274
  // src/components/controls/edit/EmailInput.tsx
2275
- var import_react30, import_jsx_runtime33, EmailInput, EmailInput_default;
2275
+ var import_react33, import_jsx_runtime36, EmailInput, EmailInput_default;
2276
2276
  var init_EmailInput = __esm({
2277
2277
  "src/components/controls/edit/EmailInput.tsx"() {
2278
2278
  "use strict";
2279
- import_react30 = __toESM(require("react"));
2280
- import_jsx_runtime33 = require("react/jsx-runtime");
2279
+ import_react33 = __toESM(require("react"));
2280
+ import_jsx_runtime36 = require("react/jsx-runtime");
2281
2281
  EmailInput = (props) => {
2282
2282
  const textChangeHandler = (event) => {
2283
2283
  const text = event.target.value;
@@ -2302,11 +2302,11 @@ var init_EmailInput = __esm({
2302
2302
  if (props.value !== void 0 && props.value !== null) {
2303
2303
  value = props.value;
2304
2304
  }
2305
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react30.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("label", { className: "block mb-1", children: [
2306
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-sm font-medium text-slate-700", children: props?.attributes?.label }),
2305
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react33.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("label", { className: "block mb-1", children: [
2306
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "text-sm font-medium text-slate-700", children: props?.attributes?.label }),
2307
2307
  " ",
2308
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "bg-error-weak", children: "*" }),
2309
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2308
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { className: "bg-error-weak", children: "*" }),
2309
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2310
2310
  "input",
2311
2311
  {
2312
2312
  type: "email",
@@ -2322,7 +2322,7 @@ var init_EmailInput = __esm({
2322
2322
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n transition-all duration-500 ease-in-out"
2323
2323
  }
2324
2324
  ),
2325
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
2325
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 mb-0 bg-error-weak text-sm", children: props?.attributes?.errorMessage ? props.attributes.errorMessage : "" })
2326
2326
  ] }) });
2327
2327
  };
2328
2328
  EmailInput_default = EmailInput;
@@ -2330,13 +2330,13 @@ var init_EmailInput = __esm({
2330
2330
  });
2331
2331
 
2332
2332
  // src/components/controls/edit/TimeInput.tsx
2333
- var import_react31, import_jsx_runtime34, TimeInput, TimeInput_default;
2333
+ var import_react34, import_jsx_runtime37, TimeInput, TimeInput_default;
2334
2334
  var init_TimeInput = __esm({
2335
2335
  "src/components/controls/edit/TimeInput.tsx"() {
2336
2336
  "use strict";
2337
2337
  "use client";
2338
- import_react31 = __toESM(require("react"));
2339
- import_jsx_runtime34 = require("react/jsx-runtime");
2338
+ import_react34 = __toESM(require("react"));
2339
+ import_jsx_runtime37 = require("react/jsx-runtime");
2340
2340
  TimeInput = (props) => {
2341
2341
  const timeChangeHandler = (event) => {
2342
2342
  const timeValue = event.target.value;
@@ -2349,11 +2349,11 @@ var init_TimeInput = __esm({
2349
2349
  });
2350
2350
  }
2351
2351
  };
2352
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react31.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("label", { className: "block mb-1", children: [
2353
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
2352
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_react34.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("label", { className: "block mb-1", children: [
2353
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }),
2354
2354
  " ",
2355
- props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "bg-error-weak", children: "*" }),
2356
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2355
+ props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "bg-error-weak", children: "*" }),
2356
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2357
2357
  "input",
2358
2358
  {
2359
2359
  type: "time",
@@ -2366,7 +2366,7 @@ var init_TimeInput = __esm({
2366
2366
  className: "peer mt-1 py-1.5 block w-full rounded shadow-sm\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
2367
2367
  }
2368
2368
  ) }),
2369
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
2369
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "hidden group-[.validated]:peer-invalid:block mt-1 bg-error-weak text-sm", children: props?.attributes?.errorMessage ?? "" })
2370
2370
  ] }) });
2371
2371
  };
2372
2372
  TimeInput_default = TimeInput;
@@ -2381,7 +2381,7 @@ function Hyperlink(props) {
2381
2381
  if (target == "_blank") {
2382
2382
  additionalProps.rel = "noopener noreferrer";
2383
2383
  }
2384
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, { children: props.href ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2384
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_jsx_runtime38.Fragment, { children: props.href ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2385
2385
  import_link.default,
2386
2386
  {
2387
2387
  href: props.href,
@@ -2391,65 +2391,65 @@ function Hyperlink(props) {
2391
2391
  target,
2392
2392
  children: props.children
2393
2393
  }
2394
- ) : props.isHeading ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: props.className, children: props.children }) });
2394
+ ) : props.isHeading ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("h5", { className: props.className + "inline-block", children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { className: props.className, children: props.children }) });
2395
2395
  }
2396
- var import_link, import_jsx_runtime35;
2396
+ var import_link, import_jsx_runtime38;
2397
2397
  var init_Hyperlink = __esm({
2398
2398
  "src/components/dataForm/Hyperlink.tsx"() {
2399
2399
  "use strict";
2400
2400
  import_link = __toESM(require("next/link"));
2401
2401
  init_StyleTypes();
2402
- import_jsx_runtime35 = require("react/jsx-runtime");
2402
+ import_jsx_runtime38 = require("react/jsx-runtime");
2403
2403
  }
2404
2404
  });
2405
2405
 
2406
2406
  // src/svg/chevron-updown.tsx
2407
- var import_jsx_runtime36, ChevronUpDown, chevron_updown_default;
2407
+ var import_jsx_runtime39, ChevronUpDown, chevron_updown_default;
2408
2408
  var init_chevron_updown = __esm({
2409
2409
  "src/svg/chevron-updown.tsx"() {
2410
2410
  "use strict";
2411
- import_jsx_runtime36 = require("react/jsx-runtime");
2411
+ import_jsx_runtime39 = require("react/jsx-runtime");
2412
2412
  ChevronUpDown = (props) => {
2413
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
2413
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" }) });
2414
2414
  };
2415
2415
  chevron_updown_default = ChevronUpDown;
2416
2416
  }
2417
2417
  });
2418
2418
 
2419
2419
  // src/svg/chevron-down.tsx
2420
- var import_jsx_runtime37, ChevronDown, chevron_down_default;
2420
+ var import_jsx_runtime40, ChevronDown, chevron_down_default;
2421
2421
  var init_chevron_down = __esm({
2422
2422
  "src/svg/chevron-down.tsx"() {
2423
2423
  "use strict";
2424
- import_jsx_runtime37 = require("react/jsx-runtime");
2424
+ import_jsx_runtime40 = require("react/jsx-runtime");
2425
2425
  ChevronDown = (props) => {
2426
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
2426
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19.5 8.25l-7.5 7.5-7.5-7.5" }) });
2427
2427
  };
2428
2428
  chevron_down_default = ChevronDown;
2429
2429
  }
2430
2430
  });
2431
2431
 
2432
2432
  // src/svg/chevron-up.tsx
2433
- var import_jsx_runtime38, ChevronUp, chevron_up_default;
2433
+ var import_jsx_runtime41, ChevronUp, chevron_up_default;
2434
2434
  var init_chevron_up = __esm({
2435
2435
  "src/svg/chevron-up.tsx"() {
2436
2436
  "use strict";
2437
- import_jsx_runtime38 = require("react/jsx-runtime");
2437
+ import_jsx_runtime41 = require("react/jsx-runtime");
2438
2438
  ChevronUp = (props) => {
2439
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
2439
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M4.5 15.75l7.5-7.5 7.5 7.5" }) });
2440
2440
  };
2441
2441
  chevron_up_default = ChevronUp;
2442
2442
  }
2443
2443
  });
2444
2444
 
2445
2445
  // src/svg/plus.tsx
2446
- var import_jsx_runtime39, Plus, plus_default;
2446
+ var import_jsx_runtime42, Plus, plus_default;
2447
2447
  var init_plus = __esm({
2448
2448
  "src/svg/plus.tsx"() {
2449
2449
  "use strict";
2450
- import_jsx_runtime39 = require("react/jsx-runtime");
2450
+ import_jsx_runtime42 = require("react/jsx-runtime");
2451
2451
  Plus = (props) => {
2452
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
2452
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: props.className, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 4.5v15m7.5-7.5h-15" }) });
2453
2453
  };
2454
2454
  plus_default = Plus;
2455
2455
  }
@@ -2475,37 +2475,37 @@ var init_Icons = __esm({
2475
2475
  });
2476
2476
 
2477
2477
  // src/svg/Icon.tsx
2478
- var import_jsx_runtime40, Icon, Icon_default;
2478
+ var import_jsx_runtime43, Icon, Icon_default;
2479
2479
  var init_Icon = __esm({
2480
2480
  "src/svg/Icon.tsx"() {
2481
2481
  "use strict";
2482
2482
  init_Icons();
2483
- import_jsx_runtime40 = require("react/jsx-runtime");
2483
+ import_jsx_runtime43 = require("react/jsx-runtime");
2484
2484
  Icon = ({ name, className, ...props }) => {
2485
2485
  const IconComponent = Icons_default[name];
2486
2486
  if (!IconComponent) {
2487
2487
  console.error(`Icon "${name}" not found.`);
2488
2488
  return null;
2489
2489
  }
2490
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(IconComponent, { ...props, className });
2490
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(IconComponent, { ...props, className });
2491
2491
  };
2492
2492
  Icon_default = Icon;
2493
2493
  }
2494
2494
  });
2495
2495
 
2496
2496
  // src/components/controls/edit/AssetUpload.tsx
2497
- var import_react32, import_jsx_runtime41, AssetUpload, AssetUpload_default;
2497
+ var import_react35, import_jsx_runtime44, AssetUpload, AssetUpload_default;
2498
2498
  var init_AssetUpload = __esm({
2499
2499
  "src/components/controls/edit/AssetUpload.tsx"() {
2500
2500
  "use strict";
2501
2501
  "use client";
2502
- import_react32 = __toESM(require("react"));
2502
+ import_react35 = __toESM(require("react"));
2503
2503
  init_ClientButton();
2504
2504
  init_StyleTypes();
2505
2505
  init_AssetUtility();
2506
2506
  init_Hyperlink();
2507
2507
  init_Icon();
2508
- import_jsx_runtime41 = require("react/jsx-runtime");
2508
+ import_jsx_runtime44 = require("react/jsx-runtime");
2509
2509
  AssetUpload = (props) => {
2510
2510
  const isDisabled = props.attributes?.disable ?? false;
2511
2511
  let allValues = [];
@@ -2526,8 +2526,8 @@ var init_AssetUpload = __esm({
2526
2526
  }
2527
2527
  return "image";
2528
2528
  };
2529
- const [assetType, setAssetType] = import_react32.default.useState(getInitialTab);
2530
- (0, import_react32.useEffect)(() => {
2529
+ const [assetType, setAssetType] = import_react35.default.useState(getInitialTab);
2530
+ (0, import_react35.useEffect)(() => {
2531
2531
  setAssetType(getInitialTab());
2532
2532
  }, [props.value]);
2533
2533
  const assetUploadCallback = (newAsset) => {
@@ -2602,10 +2602,10 @@ var init_AssetUpload = __esm({
2602
2602
  }
2603
2603
  return false;
2604
2604
  };
2605
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_react32.default.Fragment, { children: [
2606
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("label", { className: "block mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }) }),
2607
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex gap-6 bg-neutral-100 rounded p-2", children: [
2608
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2605
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_react35.default.Fragment, { children: [
2606
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("label", { className: "block mb-1", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "text-sm font-medium", children: props?.attributes?.label }) }),
2607
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex gap-6 bg-neutral-100 rounded p-2", children: [
2608
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2609
2609
  ClientButton_default,
2610
2610
  {
2611
2611
  className: assetType === "image" ? "px-2 py-1 rounded bg-body-200 scale-95" : "text-neutral-700",
@@ -2615,7 +2615,7 @@ var init_AssetUpload = __esm({
2615
2615
  children: "Image Upload"
2616
2616
  }
2617
2617
  ),
2618
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2618
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2619
2619
  ClientButton_default,
2620
2620
  {
2621
2621
  className: assetType === "video" ? "bg-body-200 px-2 py-1 rounded-md scale-95" : "text-neutral-700",
@@ -2626,13 +2626,13 @@ var init_AssetUpload = __esm({
2626
2626
  }
2627
2627
  )
2628
2628
  ] }),
2629
- shouldShowDetails() && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative mt-4 rounded-md p-4 border-2 border-dotted border-gray-300 bg-gray-50", children: [
2630
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "absolute -top-2.5 left-3 bg-primary-600 text-white text-xs px-2 py-0.5 rounded-full", children: getAssetType(allValues[0]) === "video" ? "Video" : "Image" }),
2631
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex flex-col gap-3", children: allValues.map((digitalAsset, index) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex justify-between items-start gap-5", children: [
2632
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "grid grid-cols-2 gap-x-8 gap-y-3 text-sm w-full", children: [
2633
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { children: [
2634
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-gray-500", children: "Title" }),
2635
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2629
+ shouldShowDetails() && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "relative mt-4 rounded-md p-4 border-2 border-dotted border-gray-300 bg-gray-50", children: [
2630
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "absolute -top-2.5 left-3 bg-primary-600 text-white text-xs px-2 py-0.5 rounded-full", children: getAssetType(allValues[0]) === "video" ? "Video" : "Image" }),
2631
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex flex-col gap-3", children: allValues.map((digitalAsset, index) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex justify-between items-start gap-5", children: [
2632
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "grid grid-cols-2 gap-x-8 gap-y-3 text-sm w-full", children: [
2633
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { children: [
2634
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-gray-500", children: "Title" }),
2635
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2636
2636
  "input",
2637
2637
  {
2638
2638
  type: "text",
@@ -2644,18 +2644,18 @@ var init_AssetUpload = __esm({
2644
2644
  }
2645
2645
  )
2646
2646
  ] }),
2647
- digitalAsset.intrinsicWidth && digitalAsset.intrinsicHeight && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { children: [
2648
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-gray-500", children: "Resolution" }),
2649
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("p", { className: "font-medium text-gray-900 mt-3", children: [
2647
+ digitalAsset.intrinsicWidth && digitalAsset.intrinsicHeight && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { children: [
2648
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-gray-500", children: "Resolution" }),
2649
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("p", { className: "font-medium text-gray-900 mt-3", children: [
2650
2650
  digitalAsset.intrinsicWidth,
2651
2651
  "\xD7",
2652
2652
  digitalAsset.intrinsicHeight
2653
2653
  ] })
2654
2654
  ] }),
2655
- (digitalAsset.assetUrl || digitalAsset.posterUrl) && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { children: [
2656
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-gray-500", children: "Image / Poster" }),
2657
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-shrink-0 flex flex-col gap-3 mt-1", children: [
2658
- getAssetType(digitalAsset) === "video" && digitalAsset.posterUrl && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2655
+ (digitalAsset.assetUrl || digitalAsset.posterUrl) && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { children: [
2656
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-gray-500", children: "Image / Poster" }),
2657
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex-shrink-0 flex flex-col gap-3 mt-1", children: [
2658
+ getAssetType(digitalAsset) === "video" && digitalAsset.posterUrl && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2659
2659
  "img",
2660
2660
  {
2661
2661
  src: AssetUtility_default.resolveUrl(props.serviceClient?.baseUrl, digitalAsset.posterUrl),
@@ -2663,7 +2663,7 @@ var init_AssetUpload = __esm({
2663
2663
  className: "w-32 h-auto object-cover rounded border p-1"
2664
2664
  }
2665
2665
  ),
2666
- getAssetType(digitalAsset) === "image" && digitalAsset.assetUrl && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2666
+ getAssetType(digitalAsset) === "image" && digitalAsset.assetUrl && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2667
2667
  "img",
2668
2668
  {
2669
2669
  src: AssetUtility_default.resolveUrl(props.serviceClient?.baseUrl, digitalAsset.assetUrl),
@@ -2673,9 +2673,9 @@ var init_AssetUpload = __esm({
2673
2673
  )
2674
2674
  ] })
2675
2675
  ] }),
2676
- digitalAsset.assetUrl?.endsWith(".m3u8") && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "col-span-2", children: [
2677
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-gray-500", children: "HLS Link" }),
2678
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2676
+ digitalAsset.assetUrl?.endsWith(".m3u8") && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "col-span-2", children: [
2677
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { className: "text-gray-500", children: "HLS Link" }),
2678
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2679
2679
  Hyperlink,
2680
2680
  {
2681
2681
  href: digitalAsset.assetUrl,
@@ -2686,12 +2686,12 @@ var init_AssetUpload = __esm({
2686
2686
  )
2687
2687
  ] })
2688
2688
  ] }),
2689
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2689
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2690
2690
  "span",
2691
2691
  {
2692
2692
  onClick: () => !isDisabled && deleteFile(index),
2693
2693
  className: isDisabled ? "cursor-not-allowed opacity-50" : "cursor-pointer",
2694
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon_default, { className: "w-4 h-4 text-primary", name: "delete" })
2694
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Icon_default, { className: "w-4 h-4 text-primary", name: "delete" })
2695
2695
  }
2696
2696
  )
2697
2697
  ] }, index)) })
@@ -2707,12 +2707,12 @@ var InputControlClient_exports = {};
2707
2707
  __export(InputControlClient_exports, {
2708
2708
  default: () => InputControlClient_default
2709
2709
  });
2710
- var import_react33, import_jsx_runtime42, InputControl, InputControlClient_default;
2710
+ var import_react36, import_jsx_runtime45, InputControl, InputControlClient_default;
2711
2711
  var init_InputControlClient = __esm({
2712
2712
  "src/components/controls/edit/InputControlClient.tsx"() {
2713
2713
  "use strict";
2714
2714
  "use client";
2715
- import_react33 = __toESM(require("react"));
2715
+ import_react36 = __toESM(require("react"));
2716
2716
  init_MultilineTextInput();
2717
2717
  init_LineTextInput();
2718
2718
  init_MoneyInput();
@@ -2731,8 +2731,8 @@ var init_InputControlClient = __esm({
2731
2731
  init_EmailInput();
2732
2732
  init_TimeInput();
2733
2733
  init_AssetUpload();
2734
- import_jsx_runtime42 = require("react/jsx-runtime");
2735
- InputControl = import_react33.default.forwardRef(
2734
+ import_jsx_runtime45 = require("react/jsx-runtime");
2735
+ InputControl = import_react36.default.forwardRef(
2736
2736
  (props, ref) => {
2737
2737
  const ControlComponents = {
2738
2738
  [InputControlType_default.lineTextInput]: LineTextInput_default,
@@ -2754,7 +2754,7 @@ var init_InputControlClient = __esm({
2754
2754
  [InputControlType_default.asset]: AssetUpload_default
2755
2755
  };
2756
2756
  const SelectedControlComponent = ControlComponents[props.controlType];
2757
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_react33.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SelectedControlComponent, { ...props }) : "Control not found" });
2757
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react36.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectedControlComponent, { ...props }) : "Control not found" });
2758
2758
  }
2759
2759
  );
2760
2760
  InputControl.displayName = "InputControl";
@@ -2981,27 +2981,27 @@ var LinkNodeButton_exports = {};
2981
2981
  __export(LinkNodeButton_exports, {
2982
2982
  default: () => LinkNodeButton_default
2983
2983
  });
2984
- var import_react34, import_jsx_runtime46, LinkNodeButton, LinkNodeButton_default;
2984
+ var import_react37, import_jsx_runtime49, LinkNodeButton, LinkNodeButton_default;
2985
2985
  var init_LinkNodeButton = __esm({
2986
2986
  "src/components/pageRenderingEngine/nodes/LinkNodeButton.tsx"() {
2987
2987
  "use strict";
2988
2988
  "use client";
2989
- import_react34 = require("react");
2989
+ import_react37 = require("react");
2990
2990
  init_Button();
2991
2991
  init_ServiceClient();
2992
- import_jsx_runtime46 = require("react/jsx-runtime");
2992
+ import_jsx_runtime49 = require("react/jsx-runtime");
2993
2993
  LinkNodeButton = (props) => {
2994
2994
  const { node, dataitem, children, linkText, linkType, linkUrl } = props;
2995
- const [isLoading, setIsLoading] = (0, import_react34.useState)(false);
2996
- const [error, setError] = (0, import_react34.useState)(null);
2997
- const extractFieldNames = (0, import_react34.useCallback)((template) => {
2995
+ const [isLoading, setIsLoading] = (0, import_react37.useState)(false);
2996
+ const [error, setError] = (0, import_react37.useState)(null);
2997
+ const extractFieldNames = (0, import_react37.useCallback)((template) => {
2998
2998
  if (!template) return [];
2999
2999
  const regex = /\{(\{\})?([a-zA-Z_$][a-zA-Z0-9_$]*)(?:\}\})?\}/g;
3000
3000
  const matches = Array.from(template.matchAll(regex));
3001
3001
  const fieldNames = matches.map((match) => match[2] || match[1]).filter((name, index, self) => self.indexOf(name) === index);
3002
3002
  return fieldNames;
3003
3003
  }, []);
3004
- const replaceTemplateVariables = (0, import_react34.useCallback)((template, responseData) => {
3004
+ const replaceTemplateVariables = (0, import_react37.useCallback)((template, responseData) => {
3005
3005
  if (!template) return template;
3006
3006
  let result = template;
3007
3007
  const fieldNames = extractFieldNames(template);
@@ -3030,7 +3030,7 @@ var init_LinkNodeButton = __esm({
3030
3030
  }
3031
3031
  return result;
3032
3032
  }, [props.routeParameters, dataitem, extractFieldNames]);
3033
- const getNestedValue7 = (0, import_react34.useCallback)((obj, path) => {
3033
+ const getNestedValue7 = (0, import_react37.useCallback)((obj, path) => {
3034
3034
  if (!obj || !path) return void 0;
3035
3035
  if (obj[path] !== void 0) {
3036
3036
  return obj[path];
@@ -3045,7 +3045,7 @@ var init_LinkNodeButton = __esm({
3045
3045
  }
3046
3046
  return current;
3047
3047
  }, []);
3048
- const onClick = (0, import_react34.useCallback)(async (e) => {
3048
+ const onClick = (0, import_react37.useCallback)(async (e) => {
3049
3049
  if (!node.postUrl) {
3050
3050
  setError("No POST URL configured for this button");
3051
3051
  return;
@@ -3131,11 +3131,11 @@ var init_LinkNodeButton = __esm({
3131
3131
  return children;
3132
3132
  }
3133
3133
  if (linkText) {
3134
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { children: linkText });
3134
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { children: linkText });
3135
3135
  }
3136
3136
  return node.title || "Button";
3137
3137
  };
3138
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "link-button-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3138
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "link-button-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
3139
3139
  Button_default,
3140
3140
  {
3141
3141
  ButtonType: linkType,
@@ -3156,9 +3156,9 @@ __export(CopyButton_exports, {
3156
3156
  default: () => CopyButton
3157
3157
  });
3158
3158
  function CopyButton({ text }) {
3159
- const [copied, setCopied] = (0, import_react41.useState)(false);
3160
- const timeoutRef = (0, import_react41.useRef)(null);
3161
- (0, import_react41.useEffect)(() => {
3159
+ const [copied, setCopied] = (0, import_react44.useState)(false);
3160
+ const timeoutRef = (0, import_react44.useRef)(null);
3161
+ (0, import_react44.useEffect)(() => {
3162
3162
  return () => {
3163
3163
  if (timeoutRef.current) clearTimeout(timeoutRef.current);
3164
3164
  };
@@ -3173,13 +3173,13 @@ function CopyButton({ text }) {
3173
3173
  console.error("Failed to copy: ", err);
3174
3174
  }
3175
3175
  };
3176
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
3176
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
3177
3177
  "button",
3178
3178
  {
3179
3179
  onClick: handleCopy,
3180
3180
  className: "flex gap-1 items-center hover:text-white transition",
3181
3181
  children: [
3182
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3182
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3183
3183
  "svg",
3184
3184
  {
3185
3185
  width: "16",
@@ -3187,7 +3187,7 @@ function CopyButton({ text }) {
3187
3187
  viewBox: "0 0 24 24",
3188
3188
  className: "w-4 h-4",
3189
3189
  fill: "currentColor",
3190
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3190
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3191
3191
  "path",
3192
3192
  {
3193
3193
  fillRule: "evenodd",
@@ -3202,54 +3202,54 @@ function CopyButton({ text }) {
3202
3202
  }
3203
3203
  );
3204
3204
  }
3205
- var import_react41, import_jsx_runtime56;
3205
+ var import_react44, import_jsx_runtime59;
3206
3206
  var init_CopyButton = __esm({
3207
3207
  "src/components/CopyButton.tsx"() {
3208
3208
  "use strict";
3209
3209
  "use client";
3210
- import_react41 = require("react");
3211
- import_jsx_runtime56 = require("react/jsx-runtime");
3210
+ import_react44 = require("react");
3211
+ import_jsx_runtime59 = require("react/jsx-runtime");
3212
3212
  }
3213
3213
  });
3214
3214
 
3215
3215
  // src/components/IFrameLoaderView.tsx
3216
- var import_react44, import_jsx_runtime60, IFrameLoaderView, IFrameLoaderView_default;
3216
+ var import_react47, import_jsx_runtime63, IFrameLoaderView, IFrameLoaderView_default;
3217
3217
  var init_IFrameLoaderView = __esm({
3218
3218
  "src/components/IFrameLoaderView.tsx"() {
3219
3219
  "use strict";
3220
- import_react44 = __toESM(require("react"));
3221
- import_jsx_runtime60 = require("react/jsx-runtime");
3220
+ import_react47 = __toESM(require("react"));
3221
+ import_jsx_runtime63 = require("react/jsx-runtime");
3222
3222
  IFrameLoaderView = (props) => {
3223
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react44.default.Fragment, { children: [
3224
- props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
3225
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center mb-4", children: [
3226
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3227
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "ml-2", children: [
3228
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3229
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3223
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react47.default.Fragment, { children: [
3224
+ props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "mt-4 bg-gray-200 rounded-md p-4 animate-pulse", children: [
3225
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center mb-4", children: [
3226
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
3227
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ml-2", children: [
3228
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
3229
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
3230
3230
  ] })
3231
3231
  ] }),
3232
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3233
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "animate-pulse", children: [
3234
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3235
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3236
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3237
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3238
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3232
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
3233
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "animate-pulse", children: [
3234
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3235
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3236
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3237
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3238
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3239
3239
  ] }),
3240
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "animate-pulse", children: [
3241
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3242
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3243
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3244
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3245
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3240
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "animate-pulse", children: [
3241
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3242
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3243
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3244
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3245
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3246
3246
  ] }),
3247
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "animate-pulse", children: [
3248
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3249
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3250
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3251
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3252
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3247
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "animate-pulse", children: [
3248
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
3249
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
3250
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
3251
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
3252
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
3253
3253
  ] })
3254
3254
  ] })
3255
3255
  ] }) }),
@@ -3265,19 +3265,19 @@ var IframeClient_exports = {};
3265
3265
  __export(IframeClient_exports, {
3266
3266
  default: () => IframeClient_default
3267
3267
  });
3268
- var import_react45, import_jsx_runtime61, IframeClient, IframeClient_default;
3268
+ var import_react48, import_jsx_runtime64, IframeClient, IframeClient_default;
3269
3269
  var init_IframeClient = __esm({
3270
3270
  "src/components/pageRenderingEngine/nodes/IframeClient.tsx"() {
3271
3271
  "use strict";
3272
3272
  "use client";
3273
- import_react45 = __toESM(require("react"));
3273
+ import_react48 = __toESM(require("react"));
3274
3274
  init_IFrameLoaderView();
3275
- import_jsx_runtime61 = require("react/jsx-runtime");
3275
+ import_jsx_runtime64 = require("react/jsx-runtime");
3276
3276
  IframeClient = ({ src }) => {
3277
- const iframeRef = (0, import_react45.useRef)(null);
3278
- const [iframeHeight, setIframeHeight] = (0, import_react45.useState)("100%");
3279
- const [isDataFound, setIsDataFound] = (0, import_react45.useState)(null);
3280
- (0, import_react45.useEffect)(() => {
3277
+ const iframeRef = (0, import_react48.useRef)(null);
3278
+ const [iframeHeight, setIframeHeight] = (0, import_react48.useState)("100%");
3279
+ const [isDataFound, setIsDataFound] = (0, import_react48.useState)(null);
3280
+ (0, import_react48.useEffect)(() => {
3281
3281
  const handleReceiveMessage = (event) => {
3282
3282
  const eventName = event?.data?.eventName;
3283
3283
  const payload = event?.data?.payload;
@@ -3292,7 +3292,7 @@ var init_IframeClient = __esm({
3292
3292
  window.addEventListener("message", handleReceiveMessage);
3293
3293
  return () => window.removeEventListener("message", handleReceiveMessage);
3294
3294
  }, []);
3295
- (0, import_react45.useEffect)(() => {
3295
+ (0, import_react48.useEffect)(() => {
3296
3296
  const handleResize = () => {
3297
3297
  if (iframeRef.current) {
3298
3298
  iframeRef.current.contentWindow?.postMessage({ eventName: "RESIZE" }, "*");
@@ -3304,7 +3304,7 @@ var init_IframeClient = __esm({
3304
3304
  const handleIframeLoad = () => {
3305
3305
  setIsDataFound(true);
3306
3306
  };
3307
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react45.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3307
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react48.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(IFrameLoaderView_default, { isDataFound, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
3308
3308
  "iframe",
3309
3309
  {
3310
3310
  ref: iframeRef,
@@ -3524,21 +3524,21 @@ var Pagination_exports = {};
3524
3524
  __export(Pagination_exports, {
3525
3525
  default: () => Pagination_default
3526
3526
  });
3527
- var import_react46, import_jsx_runtime66, Pagination, Pagination_default;
3527
+ var import_react49, import_jsx_runtime69, Pagination, Pagination_default;
3528
3528
  var init_Pagination = __esm({
3529
3529
  "src/components/Pagination.tsx"() {
3530
3530
  "use strict";
3531
3531
  "use client";
3532
- import_react46 = require("react");
3532
+ import_react49 = require("react");
3533
3533
  init_OdataBuilder();
3534
3534
  init_Icon();
3535
3535
  init_StyleTypes();
3536
3536
  init_InputControlType();
3537
3537
  init_Hyperlink();
3538
- import_jsx_runtime66 = require("react/jsx-runtime");
3538
+ import_jsx_runtime69 = require("react/jsx-runtime");
3539
3539
  Pagination = (props) => {
3540
3540
  const { dataset, path, query, showPageSizeSelector = false, showJumpToPage = false } = props;
3541
- const builder = (0, import_react46.useMemo)(() => {
3541
+ const builder = (0, import_react49.useMemo)(() => {
3542
3542
  const b = new OdataBuilder(path);
3543
3543
  if (query) b.setQuery(query);
3544
3544
  return b;
@@ -3579,7 +3579,7 @@ var init_Pagination = __esm({
3579
3579
  return range;
3580
3580
  };
3581
3581
  const paginationRange = getPaginationRange();
3582
- const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3582
+ const PageButton = ({ page, children }) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3583
3583
  Hyperlink,
3584
3584
  {
3585
3585
  linkType: "Link" /* Link */,
@@ -3594,9 +3594,9 @@ var init_Pagination = __esm({
3594
3594
  );
3595
3595
  const NavigationButton = ({ page, disabled, children }) => {
3596
3596
  if (disabled) {
3597
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border bg-neutral-base cursor-not-allowed", children });
3597
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border bg-neutral-base cursor-not-allowed", children });
3598
3598
  }
3599
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3599
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3600
3600
  Hyperlink,
3601
3601
  {
3602
3602
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center px-2 md:px-3 border transition-colors duration-150",
@@ -3606,35 +3606,35 @@ var init_Pagination = __esm({
3606
3606
  );
3607
3607
  };
3608
3608
  if (totalPages <= 1 && totalItems === 0) return null;
3609
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "py-6 border-t bg-default", children: [
3610
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3611
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "text-sm", children: [
3609
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "py-6 border-t bg-default", children: [
3610
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex flex-col sm:flex-row items-center justify-between gap-4", children: [
3611
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "text-sm", children: [
3612
3612
  "Showing ",
3613
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: "font-semibold", children: [
3613
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { className: "font-semibold", children: [
3614
3614
  startItem,
3615
3615
  "-",
3616
3616
  endItem
3617
3617
  ] }),
3618
3618
  " ",
3619
3619
  "out of ",
3620
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
3620
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "font-semibold", children: totalItems.toLocaleString() }),
3621
3621
  " results"
3622
3622
  ] }),
3623
- totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex items-center space-x-1", children: [
3624
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3623
+ totalPages > 1 && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center space-x-1", children: [
3624
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3625
3625
  NavigationButton,
3626
3626
  {
3627
3627
  page: activePageNumber - 1,
3628
3628
  disabled: activePageNumber === 1,
3629
3629
  children: [
3630
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
3631
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm", children: "Prev" })
3630
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 mr-1" }) }),
3631
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm", children: "Prev" })
3632
3632
  ]
3633
3633
  }
3634
3634
  ),
3635
3635
  paginationRange.map((item, index) => {
3636
3636
  if (item === "...") {
3637
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3637
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3638
3638
  "span",
3639
3639
  {
3640
3640
  className: "min-w-[20px] md:min-w-[40px] h-10 flex items-center justify-center text-gray-500",
@@ -3644,23 +3644,23 @@ var init_Pagination = __esm({
3644
3644
  );
3645
3645
  }
3646
3646
  const page = item;
3647
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(PageButton, { page, children: page }, page);
3647
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(PageButton, { page, children: page }, page);
3648
3648
  }),
3649
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
3649
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
3650
3650
  NavigationButton,
3651
3651
  {
3652
3652
  page: activePageNumber + 1,
3653
3653
  disabled: activePageNumber === totalPages,
3654
3654
  children: [
3655
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm", children: "Next" }),
3656
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
3655
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm", children: "Next" }),
3656
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon_default, { name: "chevronRight", className: "w-4 h-4 ml-1" }) })
3657
3657
  ]
3658
3658
  }
3659
3659
  )
3660
3660
  ] }),
3661
- showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex items-center space-x-2", children: [
3662
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm", children: "Go to:" }),
3663
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3661
+ showJumpToPage && totalPages > 5 && /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center space-x-2", children: [
3662
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm", children: "Go to:" }),
3663
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3664
3664
  "input",
3665
3665
  {
3666
3666
  type: "number",
@@ -3681,9 +3681,9 @@ var init_Pagination = __esm({
3681
3681
  ) })
3682
3682
  ] })
3683
3683
  ] }),
3684
- showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
3685
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm", children: "Show:" }),
3686
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3684
+ showPageSizeSelector && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "mt-4 pt-4 border-t bg-default", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: "flex items-center justify-center space-x-2", children: [
3685
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm", children: "Show:" }),
3686
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "flex space-x-1", children: [10, 25, 50, 100].map((size) => /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3687
3687
  Hyperlink,
3688
3688
  {
3689
3689
  className: `
@@ -3695,7 +3695,7 @@ var init_Pagination = __esm({
3695
3695
  },
3696
3696
  size
3697
3697
  )) }),
3698
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "text-sm", children: "per page" })
3698
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { className: "text-sm", children: "per page" })
3699
3699
  ] }) })
3700
3700
  ] });
3701
3701
  };
@@ -3708,13 +3708,13 @@ var Slider_exports = {};
3708
3708
  __export(Slider_exports, {
3709
3709
  default: () => Slider_default
3710
3710
  });
3711
- var import_react47, import_jsx_runtime67, Slider, ArrowButton, ProgressPill, Slider_default;
3711
+ var import_react50, import_jsx_runtime70, Slider, ArrowButton, ProgressPill, Slider_default;
3712
3712
  var init_Slider = __esm({
3713
3713
  "src/components/Slider.tsx"() {
3714
3714
  "use strict";
3715
3715
  "use client";
3716
- import_react47 = __toESM(require("react"));
3717
- import_jsx_runtime67 = require("react/jsx-runtime");
3716
+ import_react50 = __toESM(require("react"));
3717
+ import_jsx_runtime70 = require("react/jsx-runtime");
3718
3718
  Slider = ({
3719
3719
  children,
3720
3720
  slidesToShow = 4,
@@ -3732,13 +3732,13 @@ var init_Slider = __esm({
3732
3732
  pillStyle = "cumulative",
3733
3733
  progressPosition = "bottom"
3734
3734
  }) => {
3735
- const [currentSlide, setCurrentSlide] = (0, import_react47.useState)(0);
3736
- const [transition, setTransition] = (0, import_react47.useState)(true);
3737
- const [slidesToShowState, setSlidesToShowState] = (0, import_react47.useState)(
3735
+ const [currentSlide, setCurrentSlide] = (0, import_react50.useState)(0);
3736
+ const [transition, setTransition] = (0, import_react50.useState)(true);
3737
+ const [slidesToShowState, setSlidesToShowState] = (0, import_react50.useState)(
3738
3738
  typeof slidesToShow === "number" ? slidesToShow : slidesToShow.large
3739
3739
  );
3740
- const [isPlaying, setIsPlaying] = (0, import_react47.useState)(autoplay);
3741
- (0, import_react47.useEffect)(() => {
3740
+ const [isPlaying, setIsPlaying] = (0, import_react50.useState)(autoplay);
3741
+ (0, import_react50.useEffect)(() => {
3742
3742
  if (typeof slidesToShow === "number") return;
3743
3743
  const handleResize = () => {
3744
3744
  if (window.innerWidth >= 1024) {
@@ -3753,7 +3753,7 @@ var init_Slider = __esm({
3753
3753
  window.addEventListener("resize", handleResize);
3754
3754
  return () => window.removeEventListener("resize", handleResize);
3755
3755
  }, [slidesToShow]);
3756
- (0, import_react47.useEffect)(() => {
3756
+ (0, import_react50.useEffect)(() => {
3757
3757
  if (!autoplay) return;
3758
3758
  const timer = setInterval(() => {
3759
3759
  if (isPlaying) {
@@ -3762,7 +3762,7 @@ var init_Slider = __esm({
3762
3762
  }, autoplay_speed);
3763
3763
  return () => clearInterval(timer);
3764
3764
  }, [autoplay, autoplay_speed, currentSlide, isPlaying]);
3765
- const totalSlides = import_react47.Children.count(children);
3765
+ const totalSlides = import_react50.Children.count(children);
3766
3766
  const maxSlide = totalSlides - slidesToShowState;
3767
3767
  const nextSlide = () => {
3768
3768
  if (currentSlide >= maxSlide) {
@@ -3807,16 +3807,16 @@ var init_Slider = __esm({
3807
3807
  }
3808
3808
  };
3809
3809
  const translateX = -currentSlide * (100 / slidesToShowState);
3810
- const slides = import_react47.Children.map(children, (child, index) => {
3811
- if (!import_react47.default.isValidElement(child)) return null;
3810
+ const slides = import_react50.Children.map(children, (child, index) => {
3811
+ if (!import_react50.default.isValidElement(child)) return null;
3812
3812
  const childProps = child.props;
3813
3813
  const mergedClassName = `${childProps.className ?? ""} w-full`.trim();
3814
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3814
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3815
3815
  "div",
3816
3816
  {
3817
3817
  className: `flex-none ${scaleOnHover ? "group hover:z-50" : ""} relative`,
3818
3818
  style: { width: `calc(${100 / slidesToShowState}%)`, paddingRight: gap },
3819
- children: (0, import_react47.cloneElement)(child, {
3819
+ children: (0, import_react50.cloneElement)(child, {
3820
3820
  className: mergedClassName
3821
3821
  })
3822
3822
  },
@@ -3834,14 +3834,14 @@ var init_Slider = __esm({
3834
3834
  return "bottom-4";
3835
3835
  }
3836
3836
  };
3837
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3837
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
3838
3838
  "div",
3839
3839
  {
3840
3840
  className: `relative w-full overflow-hidden ${className}`,
3841
3841
  onMouseEnter: handleMouseEnter,
3842
3842
  onMouseLeave: handleMouseLeave,
3843
3843
  children: [
3844
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3844
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3845
3845
  "div",
3846
3846
  {
3847
3847
  className: "flex h-full",
@@ -3852,18 +3852,18 @@ var init_Slider = __esm({
3852
3852
  children: slides
3853
3853
  }
3854
3854
  ),
3855
- show_arrows && /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
3856
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3855
+ show_arrows && /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
3856
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3857
3857
  ArrowButton,
3858
3858
  {
3859
3859
  direction: "left",
3860
3860
  onClick: prevSlide,
3861
3861
  visible: infinite_scroll || currentSlide > 0,
3862
3862
  className: arrowClassName,
3863
- children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
3863
+ children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M15.75 19.5 8.25 12l7.5-7.5" }) })
3864
3864
  }
3865
3865
  ),
3866
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
3866
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
3867
3867
  ArrowButton,
3868
3868
  {
3869
3869
  direction: "right",
@@ -3871,13 +3871,13 @@ var init_Slider = __esm({
3871
3871
  visible: infinite_scroll || currentSlide < maxSlide,
3872
3872
  className: arrowClassName,
3873
3873
  children: [
3874
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
3874
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", className: "w-6 h-6", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m8.25 4.5 7.5 7.5-7.5 7.5" }) }),
3875
3875
  " "
3876
3876
  ]
3877
3877
  }
3878
3878
  )
3879
3879
  ] }),
3880
- show_dots && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3880
+ show_dots && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: `absolute left-1/2 -translate-x-1/2 flex justify-center space-x-1.5 ${getProgressPositionClass()}`, children: Array.from({ length: totalSlides }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3881
3881
  ProgressPill,
3882
3882
  {
3883
3883
  active: index === currentSlide,
@@ -3903,7 +3903,7 @@ var init_Slider = __esm({
3903
3903
  visible,
3904
3904
  children,
3905
3905
  className = ""
3906
- }) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3906
+ }) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3907
3907
  "button",
3908
3908
  {
3909
3909
  className: `
@@ -3929,13 +3929,13 @@ var init_Slider = __esm({
3929
3929
  currentSlide,
3930
3930
  totalSlides
3931
3931
  }) => {
3932
- const [progress, setProgress] = (0, import_react47.useState)(0);
3933
- (0, import_react47.useEffect)(() => {
3932
+ const [progress, setProgress] = (0, import_react50.useState)(0);
3933
+ (0, import_react50.useEffect)(() => {
3934
3934
  if (active) {
3935
3935
  setProgress(0);
3936
3936
  }
3937
3937
  }, [active, index]);
3938
- (0, import_react47.useEffect)(() => {
3938
+ (0, import_react50.useEffect)(() => {
3939
3939
  if (!active || !isPlaying) {
3940
3940
  if (!active) {
3941
3941
  setProgress(0);
@@ -3990,7 +3990,7 @@ var init_Slider = __esm({
3990
3990
  const renderProgressBar = () => {
3991
3991
  if (style === "modern" && isActive || style === "cumulative" && shouldShowProgress) {
3992
3992
  const displayProgress = style === "cumulative" && isFilled ? 100 : progress;
3993
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3993
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3994
3994
  "div",
3995
3995
  {
3996
3996
  className: `absolute top-0 left-0 h-full rounded-full ${style === "cumulative" && isFilled ? activeClassName || "bg-white" : activeClassName || "bg-white"} transition-all duration-50 ease-linear`,
@@ -4002,7 +4002,7 @@ var init_Slider = __esm({
4002
4002
  };
4003
4003
  const renderCumulativeFill = () => {
4004
4004
  if (style === "cumulative" && isFilled && !isActive) {
4005
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
4005
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
4006
4006
  "div",
4007
4007
  {
4008
4008
  className: `absolute top-0 left-0 h-full rounded-full ${activeClassName || "bg-white"} transition-all duration-300`,
@@ -4012,7 +4012,7 @@ var init_Slider = __esm({
4012
4012
  }
4013
4013
  return null;
4014
4014
  };
4015
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
4015
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
4016
4016
  "button",
4017
4017
  {
4018
4018
  className: `${baseClasses} ${getStyleClasses()}`,
@@ -4062,27 +4062,33 @@ __export(index_exports, {
4062
4062
  module.exports = __toCommonJS(index_exports);
4063
4063
 
4064
4064
  // src/components/controls/view/ViewControl.tsx
4065
- var import_react12 = __toESM(require("react"));
4065
+ var import_react15 = __toESM(require("react"));
4066
4066
 
4067
4067
  // src/components/controls/view/ViewControlTypes.tsx
4068
4068
  var ViewControlTypes = {
4069
4069
  lineText: "lineText",
4070
+ emailText: "email",
4070
4071
  asset: "asset",
4071
4072
  multilineTextBullets: "multilineTextBullets",
4072
4073
  boolean: "boolean",
4074
+ checkboxInput: "boolean",
4073
4075
  money: "money",
4074
4076
  date: "date",
4075
4077
  time: "time",
4076
4078
  datetime: "datetime",
4077
4079
  number: "number",
4078
4080
  multilineText: "multilineText",
4081
+ multilinetext: "multilinetext",
4079
4082
  moneyText: "moneyText",
4080
4083
  percentage: "percentage",
4084
+ status: "status",
4081
4085
  statusBg: "statusBg",
4082
4086
  progressIndicator: "progressIndicator",
4083
4087
  timeUntilStarts: "timeUntilStarts",
4084
4088
  timeUntilStartsStyled: "timeUntilStartsStyled",
4085
- aiGeneratedSummary: "aiGeneratedSummary"
4089
+ aiGeneratedSummary: "aiGeneratedSummary",
4090
+ booleanView: "booleanView",
4091
+ text: "text"
4086
4092
  };
4087
4093
  var ViewControlTypes_default = ViewControlTypes;
4088
4094
 
@@ -4264,8 +4270,32 @@ var LineText = (props) => {
4264
4270
  };
4265
4271
  var LineTextView_default = LineText;
4266
4272
 
4267
- // src/components/controls/view/MoneyView.tsx
4273
+ // src/components/controls/view/EmailTextView.tsx
4268
4274
  var import_react7 = __toESM(require("react"));
4275
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4276
+ var EmailText = (props) => {
4277
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react7.default.Fragment, { children: props.value });
4278
+ };
4279
+ var EmailTextView_default = EmailText;
4280
+
4281
+ // src/components/controls/view/StatusBgView.tsx
4282
+ var import_react8 = __toESM(require("react"));
4283
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4284
+ var StatusBg = (props) => {
4285
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react8.default.Fragment, { children: props.value && props.value != "" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("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 }) });
4286
+ };
4287
+ var StatusBgView_default = StatusBg;
4288
+
4289
+ // src/components/controls/view/StatusView.tsx
4290
+ var import_react9 = __toESM(require("react"));
4291
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4292
+ var Status = (props) => {
4293
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react9.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "capitalize font-semibold rounded text-status text-status-" + props.value, children: props.value }) });
4294
+ };
4295
+ var StatusView_default = Status;
4296
+
4297
+ // src/components/controls/view/MoneyView.tsx
4298
+ var import_react10 = __toESM(require("react"));
4269
4299
 
4270
4300
  // src/components/utilities/CurrencyUtility.tsx
4271
4301
  var CurrencyUtility = class {
@@ -4286,40 +4316,40 @@ var CurrencyUtility = class {
4286
4316
  var CurrencyUtility_default = CurrencyUtility;
4287
4317
 
4288
4318
  // src/components/controls/view/MoneyView.tsx
4289
- var import_jsx_runtime8 = require("react/jsx-runtime");
4319
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4290
4320
  var Money = (props) => {
4291
4321
  const parsedNumber = parseFloat(props.value);
4292
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_react7.default.Fragment, { children: !Number.isNaN(parsedNumber) && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_react7.default.Fragment, { children: [
4293
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "mr-0.5", children: CurrencyUtility_default.getCurrencySymbol(props.unit) }),
4322
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_react10.default.Fragment, { children: !Number.isNaN(parsedNumber) && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react10.default.Fragment, { children: [
4323
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "mr-0.5", children: CurrencyUtility_default.getCurrencySymbol(props.unit) }),
4294
4324
  parsedNumber.toLocaleString()
4295
4325
  ] }) });
4296
4326
  };
4297
4327
  var MoneyView_default = Money;
4298
4328
 
4299
4329
  // src/components/controls/view/MultilineTextBulletsView.tsx
4300
- var import_react8 = __toESM(require("react"));
4301
- var import_jsx_runtime9 = require("react/jsx-runtime");
4330
+ var import_react11 = __toESM(require("react"));
4331
+ var import_jsx_runtime12 = require("react/jsx-runtime");
4302
4332
  var MultilineTextBullets = (props) => {
4303
4333
  const lines = props.value?.split("\\n");
4304
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react8.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("ul", { className: "list-disc", children: lines && lines.map((line, index) => {
4305
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { children: line }, index);
4334
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react11.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("ul", { className: "list-disc", children: lines && lines.map((line, index) => {
4335
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { children: line }, index);
4306
4336
  }) }) });
4307
4337
  };
4308
4338
  var MultilineTextBulletsView_default = MultilineTextBullets;
4309
4339
 
4310
4340
  // src/components/controls/view/MultilineTextView.tsx
4311
- var import_react9 = __toESM(require("react"));
4312
- var import_jsx_runtime10 = require("react/jsx-runtime");
4341
+ var import_react12 = __toESM(require("react"));
4342
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4313
4343
  var MultilineText = (props) => {
4314
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react9.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "whitespace-pre-line", children: props.value }) });
4344
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react12.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "whitespace-pre-line", children: props.value }) });
4315
4345
  };
4316
4346
  var MultilineTextView_default = MultilineText;
4317
4347
 
4318
4348
  // src/components/controls/view/PercentageView.tsx
4319
- var import_react10 = __toESM(require("react"));
4320
- var import_jsx_runtime11 = require("react/jsx-runtime");
4349
+ var import_react13 = __toESM(require("react"));
4350
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4321
4351
  var PercentageView = (props) => {
4322
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_react10.default.Fragment, { children: [
4352
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_react13.default.Fragment, { children: [
4323
4353
  props.value,
4324
4354
  "%"
4325
4355
  ] });
@@ -4327,16 +4357,16 @@ var PercentageView = (props) => {
4327
4357
  var PercentageView_default = PercentageView;
4328
4358
 
4329
4359
  // src/components/controls/view/ProgressIndicator.tsx
4330
- var import_react11 = __toESM(require("react"));
4331
- var import_jsx_runtime12 = require("react/jsx-runtime");
4360
+ var import_react14 = __toESM(require("react"));
4361
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4332
4362
  var ProgressIndicator = (props) => {
4333
4363
  const percentage = 100;
4334
4364
  const circumference = Math.PI * 56;
4335
4365
  const offset = circumference * (1 - percentage / 100);
4336
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react11.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "relative w-48 h-48", children: [
4337
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
4338
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("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)` } }) }),
4339
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("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__ */ (0, import_jsx_runtime12.jsxs)("span", { children: [
4366
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react14.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: "relative w-48 h-48", children: [
4367
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "absolute top-0 left-0 w-full h-full rounded-full border border-gray-200" }),
4368
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: "absolute top-0 left-0 w-full h-full rounded-full overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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)` } }) }),
4369
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("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__ */ (0, import_jsx_runtime15.jsxs)("span", { children: [
4340
4370
  percentage,
4341
4371
  "%"
4342
4372
  ] }) })
@@ -4345,18 +4375,18 @@ var ProgressIndicator = (props) => {
4345
4375
  var ProgressIndicator_default = ProgressIndicator;
4346
4376
 
4347
4377
  // src/components/controls/view/AiGeneratedSummary.tsx
4348
- var import_jsx_runtime13 = require("react/jsx-runtime");
4378
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4349
4379
  var AiGeneratedSummary = (props) => {
4350
4380
  const lines = props.value?.split("\n").filter((line) => line.trim() !== "") || [];
4351
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
4352
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex items-start gap-3 ", children: [
4353
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("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__ */ (0, import_jsx_runtime13.jsx)("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" }) }) }),
4354
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { children: [
4355
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
4356
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
4381
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("details", { className: "group rounded-xl border-2 bg-white shadow-sm border-p overflow-hidden", children: [
4382
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("summary", { className: "flex items-start justify-between cursor-pointer list-none", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-start gap-3 ", children: [
4383
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: "bg-primary-base bg-transparent rounded mt-1 p-1", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("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__ */ (0, import_jsx_runtime16.jsx)("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" }) }) }),
4384
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { children: [
4385
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h3", { className: "text-lg font-semibold ", children: "Quick Read" }),
4386
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-sm text-gray-500 mb-0", children: "Summary is AI-generated, author-reviewed" })
4357
4387
  ] })
4358
4388
  ] }) }),
4359
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("li", { className: "m-0", children: line }, index)) }) })
4389
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("ul", { className: "list-disc pl-6 space-y-3 text-gray-700 ps-4 pl-4", children: lines.map((line, index) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("li", { className: "m-0", children: line }, index)) }) })
4360
4390
  ] });
4361
4391
  };
4362
4392
  var AiGeneratedSummary_default = AiGeneratedSummary;
@@ -4369,13 +4399,15 @@ var DateTimeView = (0, import_dynamic3.default)(() => Promise.resolve().then(()
4369
4399
  var DateTimeVew_default = DateTimeView;
4370
4400
 
4371
4401
  // src/components/controls/view/ViewControl.tsx
4372
- var import_jsx_runtime15 = require("react/jsx-runtime");
4402
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4373
4403
  var ViewControl = (props) => {
4374
4404
  const ControlComponents = {
4375
4405
  [ViewControlTypes_default.lineText]: LineTextView_default,
4406
+ [ViewControlTypes_default.emailText]: EmailTextView_default,
4376
4407
  [ViewControlTypes_default.asset]: Asset_default,
4377
4408
  [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
4378
4409
  [ViewControlTypes_default.boolean]: BooleanView_default,
4410
+ [ViewControlTypes_default.checkboxInput]: BooleanView_default,
4379
4411
  // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4380
4412
  [ViewControlTypes_default.money]: MoneyView_default,
4381
4413
  [ViewControlTypes_default.date]: DateView_default,
@@ -4383,16 +4415,20 @@ var ViewControl = (props) => {
4383
4415
  [ViewControlTypes_default.datetime]: DateTimeVew_default,
4384
4416
  [ViewControlTypes_default.number]: NumberView_default,
4385
4417
  [ViewControlTypes_default.multilineText]: MultilineTextView_default,
4418
+ [ViewControlTypes_default.multilinetext]: MultilineTextView_default,
4386
4419
  [ViewControlTypes_default.moneyText]: MoneyView_default,
4387
4420
  [ViewControlTypes_default.percentage]: PercentageView_default,
4388
- // [ViewControlTypes.statusBg]: StatusBg,
4421
+ [ViewControlTypes_default.status]: StatusView_default,
4422
+ [ViewControlTypes_default.statusBg]: StatusBgView_default,
4389
4423
  [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
4390
4424
  // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
4391
4425
  // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
4392
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
4426
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default,
4427
+ [ViewControlTypes_default.booleanView]: BooleanView_default,
4428
+ [ViewControlTypes_default.text]: LineTextView_default
4393
4429
  };
4394
4430
  const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
4395
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_react12.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
4431
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react15.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
4396
4432
  };
4397
4433
  var ViewControl_default = ViewControl;
4398
4434
 
@@ -4407,13 +4443,13 @@ var InputControl_default = InputControl2;
4407
4443
  init_InputControlType();
4408
4444
 
4409
4445
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
4410
- var import_react49 = __toESM(require("react"));
4446
+ var import_react52 = __toESM(require("react"));
4411
4447
 
4412
4448
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
4413
- var import_react36 = __toESM(require("react"));
4449
+ var import_react39 = __toESM(require("react"));
4414
4450
 
4415
4451
  // src/components/pageRenderingEngine/nodes/TextNode.tsx
4416
- var import_jsx_runtime43 = require("react/jsx-runtime");
4452
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4417
4453
  var TextNode = (props) => {
4418
4454
  function cssStringToJson(cssString) {
4419
4455
  const styleObject = {};
@@ -4468,36 +4504,36 @@ var TextNode = (props) => {
4468
4504
  });
4469
4505
  }
4470
4506
  function renderWithLineBreaks(text) {
4471
- return text.split("\n").map((line, index, arr) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { children: [
4507
+ return text.split("\n").map((line, index, arr) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("span", { children: [
4472
4508
  line,
4473
- index < arr.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("br", {})
4509
+ index < arr.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("br", {})
4474
4510
  ] }, index));
4475
4511
  }
4476
4512
  const displayText = props.linkText ? props.linkText : props.node.text;
4477
4513
  const finalText = props.dataitem && props.linkText ? displayText : props.dataitem ? replacePlaceholders(props.node.text, props.dataitem) : props.node.text;
4478
4514
  const content = typeof finalText === "string" ? renderWithLineBreaks(finalText) : finalText;
4479
- const formattedContent = props.node.format & 64 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("sub", { children: content }) : content;
4515
+ const formattedContent = props.node.format & 64 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("sup", { children: content }) : props.node.format & 32 ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("sub", { children: content }) : content;
4480
4516
  return (
4481
4517
  // @ts-expect-error custom code
4482
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
4518
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { style: { ...styles }, className: getFormatClass(props.node.format), children: formattedContent })
4483
4519
  );
4484
4520
  };
4485
4521
  var TextNode_default = TextNode;
4486
4522
 
4487
4523
  // src/components/pageRenderingEngine/nodes/LineBreakNode.tsx
4488
- var import_jsx_runtime44 = require("react/jsx-runtime");
4524
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4489
4525
  var LineBreakNode = () => {
4490
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "py-0.5 lg:py-1.5" });
4526
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "py-0.5 lg:py-1.5" });
4491
4527
  };
4492
4528
  var LineBreakNode_default = LineBreakNode;
4493
4529
 
4494
4530
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
4495
- var import_react35 = __toESM(require("react"));
4531
+ var import_react38 = __toESM(require("react"));
4496
4532
 
4497
4533
  // src/components/pageRenderingEngine/nodes/ImageNode.tsx
4498
4534
  init_AssetUtility();
4499
4535
  var import_dynamic5 = __toESM(require("next/dynamic"));
4500
- var import_jsx_runtime45 = require("react/jsx-runtime");
4536
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4501
4537
  var HlsPlayer3 = (0, import_dynamic5.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), { ssr: false });
4502
4538
  var getNestedValue = (obj, path) => {
4503
4539
  if (!obj || !path) return void 0;
@@ -4530,7 +4566,7 @@ var ImageNode = (props) => {
4530
4566
  assets = [image];
4531
4567
  }
4532
4568
  if (assets && assets.length > 0) {
4533
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4569
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4534
4570
  DeviceAssetSelector_default,
4535
4571
  {
4536
4572
  device: props.device,
@@ -4571,7 +4607,7 @@ var ImageNode = (props) => {
4571
4607
  right: "justify-end"
4572
4608
  };
4573
4609
  const isHls = imageUrl.endsWith(".m3u8");
4574
- const renderMedia = () => isHls ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4610
+ const renderMedia = () => isHls ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4575
4611
  HlsPlayer3,
4576
4612
  {
4577
4613
  assetUrl: imageUrl,
@@ -4584,7 +4620,7 @@ var ImageNode = (props) => {
4584
4620
  apiBaseUrl: props.apiBaseUrl,
4585
4621
  session: props.session
4586
4622
  }
4587
- ) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4623
+ ) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4588
4624
  "img",
4589
4625
  {
4590
4626
  style: styles,
@@ -4597,7 +4633,7 @@ var ImageNode = (props) => {
4597
4633
  }
4598
4634
  );
4599
4635
  if (props.node.width) {
4600
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
4636
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: `flex ${FORMAT_CLASSES2[props.node.format] ?? ""}`, children: renderMedia() });
4601
4637
  }
4602
4638
  return renderMedia();
4603
4639
  };
@@ -4607,7 +4643,7 @@ var ImageNode_default = ImageNode;
4607
4643
  init_StyleTypes();
4608
4644
  init_Hyperlink();
4609
4645
  var import_dynamic6 = __toESM(require("next/dynamic"));
4610
- var import_jsx_runtime47 = require("react/jsx-runtime");
4646
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4611
4647
  var LinkNodeButton2 = (0, import_dynamic6.default)(() => Promise.resolve().then(() => (init_LinkNodeButton(), LinkNodeButton_exports)), {
4612
4648
  ssr: false
4613
4649
  });
@@ -4660,13 +4696,13 @@ var LinkNode = (props) => {
4660
4696
  const isButton = node.isButton === true;
4661
4697
  const renderChildren = () => {
4662
4698
  if (!node.children || node.children.length === 0) return null;
4663
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_jsx_runtime47.Fragment, { children: node.children.map((childNode, index) => {
4699
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: node.children.map((childNode, index) => {
4664
4700
  const SelectedNode = NodeTypes2[childNode.type];
4665
4701
  if (!SelectedNode) {
4666
4702
  console.warn("Unknown node type:", childNode.type);
4667
4703
  return null;
4668
4704
  }
4669
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react35.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4705
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react38.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4670
4706
  SelectedNode,
4671
4707
  {
4672
4708
  node: childNode,
@@ -4679,15 +4715,15 @@ var LinkNode = (props) => {
4679
4715
  };
4680
4716
  const renderFallback = () => {
4681
4717
  if ((!node.children || node.children.length === 0) && linkText) {
4682
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: linkText });
4718
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: linkText });
4683
4719
  }
4684
4720
  if ((!node.children || node.children.length === 0) && !linkText) {
4685
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("br", {});
4721
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("br", {});
4686
4722
  }
4687
4723
  return null;
4688
4724
  };
4689
4725
  if (isButton) {
4690
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4726
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4691
4727
  LinkNodeButton2,
4692
4728
  {
4693
4729
  node,
@@ -4705,7 +4741,7 @@ var LinkNode = (props) => {
4705
4741
  }
4706
4742
  );
4707
4743
  }
4708
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4744
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4709
4745
  Hyperlink,
4710
4746
  {
4711
4747
  href: linkUrl || "#",
@@ -4721,10 +4757,10 @@ var LinkNode = (props) => {
4721
4757
  var LinkNode_default = LinkNode;
4722
4758
 
4723
4759
  // src/components/pageRenderingEngine/nodes/SVGIconNode.tsx
4724
- var import_jsx_runtime48 = require("react/jsx-runtime");
4760
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4725
4761
  var SVGIconNode = ({ node }) => {
4726
4762
  if (!node?.svgCode) return null;
4727
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4763
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4728
4764
  "span",
4729
4765
  {
4730
4766
  style: {
@@ -4741,7 +4777,7 @@ var SVGIconNode_default = SVGIconNode;
4741
4777
 
4742
4778
  // src/components/pageRenderingEngine/nodes/EquationNode.tsx
4743
4779
  var import_katex = __toESM(require("katex"));
4744
- var import_jsx_runtime49 = require("react/jsx-runtime");
4780
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4745
4781
  var EquationNode = ({ node }) => {
4746
4782
  const { equation, inline } = node;
4747
4783
  let html = "";
@@ -4756,7 +4792,7 @@ var EquationNode = ({ node }) => {
4756
4792
  });
4757
4793
  }
4758
4794
  if (inline) {
4759
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4795
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4760
4796
  "span",
4761
4797
  {
4762
4798
  className: "katex-inline",
@@ -4764,7 +4800,7 @@ var EquationNode = ({ node }) => {
4764
4800
  }
4765
4801
  );
4766
4802
  }
4767
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4803
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4768
4804
  "div",
4769
4805
  {
4770
4806
  className: "katex-block my-3 text-center",
@@ -4775,7 +4811,7 @@ var EquationNode = ({ node }) => {
4775
4811
  var EquationNode_default = EquationNode;
4776
4812
 
4777
4813
  // src/components/pageRenderingEngine/nodes/DatafieldNode.tsx
4778
- var import_jsx_runtime50 = require("react/jsx-runtime");
4814
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4779
4815
  function getNestedProperty(obj, path) {
4780
4816
  if (!obj || !path) return null;
4781
4817
  if (path.includes(".")) {
@@ -4788,7 +4824,7 @@ function getNestedProperty(obj, path) {
4788
4824
  }
4789
4825
  const value = obj[path];
4790
4826
  if (Array.isArray(value)) {
4791
- return value.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { children: String(item) }, index));
4827
+ return value.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { children: String(item) }, index));
4792
4828
  }
4793
4829
  return value;
4794
4830
  }
@@ -4849,7 +4885,7 @@ var DatafieldNode = (props) => {
4849
4885
  const dataType = props.node.dataType;
4850
4886
  if (isEmptyValue) return null;
4851
4887
  if (dataType === "rawContent") {
4852
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4888
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4853
4889
  PageBodyRenderer_default,
4854
4890
  {
4855
4891
  rawBody: String(value ?? `@databound[${fieldName}]`),
@@ -4865,12 +4901,12 @@ var DatafieldNode = (props) => {
4865
4901
  }
4866
4902
  );
4867
4903
  }
4868
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4904
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4869
4905
  "span",
4870
4906
  {
4871
4907
  className: `datafield-node ${props.node.format < Formats.length ? Formats[props.node.format] : ""}`,
4872
4908
  style: styles,
4873
- children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4909
+ children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4874
4910
  ViewControl_default,
4875
4911
  {
4876
4912
  controlType: dataType,
@@ -4883,7 +4919,7 @@ var DatafieldNode = (props) => {
4883
4919
  var DatafieldNode_default = DatafieldNode;
4884
4920
 
4885
4921
  // src/components/pageRenderingEngine/nodes/ParagraphNode.tsx
4886
- var import_jsx_runtime51 = require("react/jsx-runtime");
4922
+ var import_jsx_runtime54 = require("react/jsx-runtime");
4887
4923
  var ParagraphNode = (props) => {
4888
4924
  const NodeTypes2 = {
4889
4925
  ["text"]: TextNode_default,
@@ -4903,9 +4939,9 @@ var ParagraphNode = (props) => {
4903
4939
  const isInlineOnlyParent = props.parentTag === "summary";
4904
4940
  const hasChildren = props.node.children && props.node.children.length > 0;
4905
4941
  if (isInlineOnlyParent) {
4906
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_jsx_runtime51.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
4942
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: hasChildren && props.node.children.map((node, index) => {
4907
4943
  const SelectedNode = NodeTypes2[node.type];
4908
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react36.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4944
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react39.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4909
4945
  SelectedNode,
4910
4946
  {
4911
4947
  node,
@@ -4917,10 +4953,10 @@ var ParagraphNode = (props) => {
4917
4953
  ) }, index);
4918
4954
  }) });
4919
4955
  }
4920
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: " " + formatClasses, children: [
4956
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: " " + formatClasses, children: [
4921
4957
  hasChildren && props.node.children.map((node, index) => {
4922
4958
  const SelectedNode = NodeTypes2[node.type];
4923
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react36.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4959
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react39.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4924
4960
  SelectedNode,
4925
4961
  {
4926
4962
  node,
@@ -4931,14 +4967,14 @@ var ParagraphNode = (props) => {
4931
4967
  }
4932
4968
  ) }, index);
4933
4969
  }),
4934
- !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "py-1.5 lg:py-2" })
4970
+ !hasChildren && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "py-1.5 lg:py-2" })
4935
4971
  ] });
4936
4972
  };
4937
4973
  var ParagraphNode_default = ParagraphNode;
4938
4974
 
4939
4975
  // src/components/pageRenderingEngine/nodes/HeadingNode.tsx
4940
- var import_react37 = __toESM(require("react"));
4941
- var import_jsx_runtime52 = require("react/jsx-runtime");
4976
+ var import_react40 = __toESM(require("react"));
4977
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4942
4978
  var HeadingNode = (props) => {
4943
4979
  const NodeTypes2 = {
4944
4980
  ["text"]: TextNode_default,
@@ -4954,23 +4990,23 @@ var HeadingNode = (props) => {
4954
4990
  {
4955
4991
  }
4956
4992
  const formatClasses = FormatClass[props.node.format] || "";
4957
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, { children: import_react37.default.createElement(
4993
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: import_react40.default.createElement(
4958
4994
  HeadingTag,
4959
4995
  { className: formatClasses },
4960
4996
  props.node.children && props.node.children.map((childNode, index) => {
4961
4997
  const SelectedNode = NodeTypes2[childNode.type];
4962
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_react37.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
4998
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react40.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectedNode, { node: childNode, dataitem: props.dataitem, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
4963
4999
  })
4964
5000
  ) });
4965
5001
  };
4966
5002
  var HeadingNode_default = HeadingNode;
4967
5003
 
4968
5004
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
4969
- var import_react39 = __toESM(require("react"));
5005
+ var import_react42 = __toESM(require("react"));
4970
5006
 
4971
5007
  // src/components/pageRenderingEngine/nodes/ListItemNode.tsx
4972
- var import_react38 = __toESM(require("react"));
4973
- var import_jsx_runtime53 = require("react/jsx-runtime");
5008
+ var import_react41 = __toESM(require("react"));
5009
+ var import_jsx_runtime56 = require("react/jsx-runtime");
4974
5010
  var ListItemNode = (props) => {
4975
5011
  const NodeTypes2 = {
4976
5012
  text: TextNode_default,
@@ -4987,66 +5023,66 @@ var ListItemNode = (props) => {
4987
5023
  liStyle.fontSize = match[1].trim();
4988
5024
  }
4989
5025
  }
4990
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
5026
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("li", { style: liStyle, children: props.node.children && props.node.children.map((node, index) => {
4991
5027
  const SelectedNode = NodeTypes2[node.type];
4992
5028
  if (node.type === "linebreak") {
4993
5029
  if (!foundFirstBreak) {
4994
5030
  foundFirstBreak = true;
4995
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", {}, index);
5031
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", {}, index);
4996
5032
  } else {
4997
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "py-1 lg:py-2" }, index);
5033
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "py-1 lg:py-2" }, index);
4998
5034
  }
4999
5035
  } else {
5000
5036
  foundFirstBreak = false;
5001
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react38.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5037
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react41.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5002
5038
  }
5003
5039
  }) });
5004
5040
  };
5005
5041
  var ListItemNode_default = ListItemNode;
5006
5042
 
5007
5043
  // src/components/pageRenderingEngine/nodes/ListNode.tsx
5008
- var import_jsx_runtime54 = require("react/jsx-runtime");
5044
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5009
5045
  var ListNode = (props) => {
5010
5046
  const NodeTypes2 = {
5011
5047
  listitem: ListItemNode_default
5012
5048
  };
5013
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_react39.default.Fragment, { children: [
5014
- props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
5049
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react42.default.Fragment, { children: [
5050
+ props.node.listType == "bullet" && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("ul", { children: props.node.children && props.node.children.map((node, index) => {
5015
5051
  const SelectedNode = NodeTypes2[node.type];
5016
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react39.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5052
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react42.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5017
5053
  }) }),
5018
- props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
5054
+ props.node.listType == "number" && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("ol", { children: props.node.children && props.node.children.map((node, index) => {
5019
5055
  const SelectedNode = NodeTypes2[node.type];
5020
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react39.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5056
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react42.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(SelectedNode, { node, dataitem: props.dataitem, routeParameters: props.routeParameters }) }, index);
5021
5057
  }) })
5022
5058
  ] });
5023
5059
  };
5024
5060
  var ListNode_default = ListNode;
5025
5061
 
5026
5062
  // src/components/pageRenderingEngine/nodes/QuoteNode.tsx
5027
- var import_react40 = __toESM(require("react"));
5028
- var import_jsx_runtime55 = require("react/jsx-runtime");
5063
+ var import_react43 = __toESM(require("react"));
5064
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5029
5065
  var QuoteNode = (props) => {
5030
5066
  const NodeTypes2 = {
5031
5067
  ["text"]: TextNode_default,
5032
5068
  ["linebreak"]: LineBreakNode_default,
5033
5069
  ["link"]: LinkNode_default
5034
5070
  };
5035
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
5071
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("blockquote", { children: props.node.children && props.node.children.map((node, index) => {
5036
5072
  const SelectedNode = NodeTypes2[node.type];
5037
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react40.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
5073
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react43.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SelectedNode, { node, session: props.session, apiBaseUrl: props.apiBaseUrl, routeParameters: props.routeParameters }) }, index);
5038
5074
  }) });
5039
5075
  };
5040
5076
  var QuoteNode_default = QuoteNode;
5041
5077
 
5042
5078
  // src/components/pageRenderingEngine/nodes/CodeNode.tsx
5043
- var import_react42 = __toESM(require("react"));
5079
+ var import_react45 = __toESM(require("react"));
5044
5080
  var import_dynamic7 = __toESM(require("next/dynamic"));
5045
- var import_jsx_runtime57 = require("react/jsx-runtime");
5081
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5046
5082
  var CopyButton2 = (0, import_dynamic7.default)(() => Promise.resolve().then(() => (init_CopyButton(), CopyButton_exports)), {
5047
5083
  ssr: false,
5048
5084
  // optional: fallback UI while loading
5049
- loading: () => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
5085
+ loading: () => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: "text-gray-400 text-xs", children: "Copy" })
5050
5086
  });
5051
5087
  var CodeNode = (props) => {
5052
5088
  const NodeTypes2 = {
@@ -5060,14 +5096,14 @@ var CodeNode = (props) => {
5060
5096
  if (node.type === "link") return node.text || node.url || "";
5061
5097
  return "";
5062
5098
  }).join("") ?? "";
5063
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { children: [
5064
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
5065
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { children: "Code Snippet" }),
5066
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CopyButton2, { text: textContent })
5099
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { children: [
5100
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex items-center relative bg-neutral-strong px-4 py-3 text-xs font-sans justify-between rounded-t-md ", children: [
5101
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { children: "Code Snippet" }),
5102
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CopyButton2, { text: textContent })
5067
5103
  ] }),
5068
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("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) => {
5104
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("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) => {
5069
5105
  const SelectedNode = NodeTypes2[node.type];
5070
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react42.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5106
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react45.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5071
5107
  SelectedNode,
5072
5108
  {
5073
5109
  node,
@@ -5082,15 +5118,15 @@ var CodeNode = (props) => {
5082
5118
  var CodeNode_default = CodeNode;
5083
5119
 
5084
5120
  // src/components/pageRenderingEngine/nodes/HorizontalRuleNode.tsx
5085
- var import_jsx_runtime58 = require("react/jsx-runtime");
5121
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5086
5122
  var HorizontalRuleNode = () => {
5087
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("hr", {});
5123
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("hr", {});
5088
5124
  };
5089
5125
  var HorizontalRuleNode_default = HorizontalRuleNode;
5090
5126
 
5091
5127
  // src/components/pageRenderingEngine/nodes/WidgetNode.tsx
5092
- var import_react43 = __toESM(require("react"));
5093
- var import_jsx_runtime59 = require("react/jsx-runtime");
5128
+ var import_react46 = __toESM(require("react"));
5129
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5094
5130
  var WidgetNode = (props) => {
5095
5131
  const getWidgetParameters = () => {
5096
5132
  const widgetInputParameters = {
@@ -5154,7 +5190,7 @@ var WidgetNode = (props) => {
5154
5190
  };
5155
5191
  const widgetCode = props.node?.widgetCode;
5156
5192
  if (!widgetCode) {
5157
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: "Invalid widget" });
5193
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_jsx_runtime62.Fragment, { children: "Invalid widget" });
5158
5194
  }
5159
5195
  const widgetParams = getWidgetParameters();
5160
5196
  const WidgetRenderer = props.widgetRenderer;
@@ -5163,7 +5199,7 @@ var WidgetNode = (props) => {
5163
5199
  }
5164
5200
  return (
5165
5201
  // eslint-disable-next-line react-hooks/static-components
5166
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react43.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5202
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react46.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5167
5203
  WidgetRenderer,
5168
5204
  {
5169
5205
  params: widgetParams,
@@ -5180,11 +5216,11 @@ var WidgetNode = (props) => {
5180
5216
  var WidgetNode_default = WidgetNode;
5181
5217
 
5182
5218
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
5183
- var import_react48 = __toESM(require("react"));
5219
+ var import_react51 = __toESM(require("react"));
5184
5220
 
5185
5221
  // src/components/pageRenderingEngine/nodes/EmbedNode.tsx
5186
5222
  var import_dynamic8 = __toESM(require("next/dynamic"));
5187
- var import_jsx_runtime62 = require("react/jsx-runtime");
5223
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5188
5224
  var IframeClient2 = (0, import_dynamic8.default)(() => Promise.resolve().then(() => (init_IframeClient(), IframeClient_exports)), {
5189
5225
  ssr: false
5190
5226
  });
@@ -5197,7 +5233,7 @@ var EmbedNode = (props) => {
5197
5233
  } else {
5198
5234
  src = props.node.embedSrc;
5199
5235
  }
5200
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(IframeClient2, { src }) });
5236
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "aspect-video", children: src && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(IframeClient2, { src }) });
5201
5237
  };
5202
5238
  var EmbedNode_default = EmbedNode;
5203
5239
 
@@ -5376,10 +5412,10 @@ var PathUtility = class {
5376
5412
  var PathUtility_default = new PathUtility();
5377
5413
 
5378
5414
  // src/components/NoDataFound.tsx
5379
- var import_jsx_runtime63 = require("react/jsx-runtime");
5415
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5380
5416
  var NoDataFound = () => {
5381
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
5382
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5417
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col items-center justify-center py-12 px-4 text-center bg-neutral-weak", children: [
5418
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "mb-5", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "mx-auto w-20 h-20 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5383
5419
  "svg",
5384
5420
  {
5385
5421
  className: "w-10 h-10",
@@ -5387,7 +5423,7 @@ var NoDataFound = () => {
5387
5423
  stroke: "currentColor",
5388
5424
  viewBox: "0 0 24 24",
5389
5425
  xmlns: "http://www.w3.org/2000/svg",
5390
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5426
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
5391
5427
  "path",
5392
5428
  {
5393
5429
  strokeLinecap: "round",
@@ -5398,8 +5434,8 @@ var NoDataFound = () => {
5398
5434
  )
5399
5435
  }
5400
5436
  ) }) }),
5401
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
5402
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
5437
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("h3", { className: "text-lg font-medium mb-2", children: "No data available" }),
5438
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: " max-w-sm mb-0", children: "No records found. Data may be empty or not available at the moment." })
5403
5439
  ] });
5404
5440
  };
5405
5441
  var NoDataFound_default = NoDataFound;
@@ -5410,7 +5446,7 @@ var import_dynamic10 = __toESM(require("next/dynamic"));
5410
5446
  // src/components/pageRenderingEngine/nodes/ImageGalleryNode.tsx
5411
5447
  init_AssetUtility();
5412
5448
  var import_dynamic9 = __toESM(require("next/dynamic"));
5413
- var import_jsx_runtime64 = require("react/jsx-runtime");
5449
+ var import_jsx_runtime67 = require("react/jsx-runtime");
5414
5450
  var HlsPlayer4 = (0, import_dynamic9.default)(() => Promise.resolve().then(() => (init_HlsPlayer(), HlsPlayer_exports)), { ssr: false });
5415
5451
  var deviceToMediaQuery = (device) => {
5416
5452
  switch (device) {
@@ -5539,8 +5575,8 @@ var ImageGalleryNode = (props) => {
5539
5575
  right: "justify-end"
5540
5576
  };
5541
5577
  const formatClasses = FormatClass[props.node.format || ""] || "";
5542
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
5543
- hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_jsx_runtime64.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5578
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(import_jsx_runtime67.Fragment, { children: [
5579
+ hlsSources.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5544
5580
  HlsPlayer4,
5545
5581
  {
5546
5582
  sources: hlsSources,
@@ -5555,7 +5591,7 @@ var ImageGalleryNode = (props) => {
5555
5591
  styles: hlsStyles
5556
5592
  }
5557
5593
  ) }),
5558
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_jsx_runtime64.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("picture", { children: [
5594
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("picture", { children: [
5559
5595
  DEVICE_ORDER.map((deviceKey) => {
5560
5596
  const match = staticSources.find(
5561
5597
  (img) => img.device === deviceKey
@@ -5567,7 +5603,7 @@ var ImageGalleryNode = (props) => {
5567
5603
  if (!srcUrl) {
5568
5604
  return null;
5569
5605
  }
5570
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5606
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5571
5607
  "source",
5572
5608
  {
5573
5609
  media: deviceToMediaQuery(match.device),
@@ -5591,7 +5627,7 @@ var ImageGalleryNode = (props) => {
5591
5627
  if (img.borderRadius) {
5592
5628
  styles.borderRadius = img.borderRadius;
5593
5629
  }
5594
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5630
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5595
5631
  "img",
5596
5632
  {
5597
5633
  loading: "lazy",
@@ -5606,7 +5642,7 @@ var ImageGalleryNode = (props) => {
5606
5642
  })()
5607
5643
  ] }) : (
5608
5644
  /* Case 2: Only device-specific images exist */
5609
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_jsx_runtime64.Fragment, { children: staticSources.map((img, index) => {
5645
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: staticSources.map((img, index) => {
5610
5646
  const imageUrl = resolveImageUrl(img);
5611
5647
  if (!imageUrl) {
5612
5648
  return null;
@@ -5632,7 +5668,7 @@ var ImageGalleryNode = (props) => {
5632
5668
  default:
5633
5669
  display = "block";
5634
5670
  }
5635
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5671
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
5636
5672
  "img",
5637
5673
  {
5638
5674
  loading: "lazy",
@@ -5773,28 +5809,28 @@ var shouldRenderContainer = (node, dataItem, session) => {
5773
5809
 
5774
5810
  // src/components/pageRenderingEngine/nodes/DocumentNode.tsx
5775
5811
  init_AssetUtility();
5776
- var import_jsx_runtime65 = require("react/jsx-runtime");
5812
+ var import_jsx_runtime68 = require("react/jsx-runtime");
5777
5813
  var getNestedValue5 = (obj, path) => {
5778
5814
  if (!obj || !path) return void 0;
5779
5815
  return path.split(".").reduce((current, key) => {
5780
5816
  return current && current[key] !== void 0 ? current[key] : void 0;
5781
5817
  }, obj);
5782
5818
  };
5783
- var PdfIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5819
+ var PdfIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5784
5820
  "svg",
5785
5821
  {
5786
5822
  xmlns: "http://www.w3.org/2000/svg",
5787
5823
  viewBox: "0 0 48 48",
5788
5824
  className: "w-10 h-10",
5789
5825
  children: [
5790
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5826
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5791
5827
  "path",
5792
5828
  {
5793
5829
  fill: "#e53935",
5794
5830
  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"
5795
5831
  }
5796
5832
  ),
5797
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5833
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5798
5834
  "path",
5799
5835
  {
5800
5836
  fill: "#fff",
@@ -5804,55 +5840,55 @@ var PdfIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5804
5840
  ]
5805
5841
  }
5806
5842
  );
5807
- var ExcelIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5843
+ var ExcelIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5808
5844
  "svg",
5809
5845
  {
5810
5846
  xmlns: "http://www.w3.org/2000/svg",
5811
5847
  viewBox: "0 0 48 48",
5812
5848
  className: "w-10 h-10",
5813
5849
  children: [
5814
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5850
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5815
5851
  "path",
5816
5852
  {
5817
5853
  fill: "#169154",
5818
5854
  d: "M29,6H15.744C14.781,6,14,6.781,14,7.744v7.259h15V6z"
5819
5855
  }
5820
5856
  ),
5821
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5857
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5822
5858
  "path",
5823
5859
  {
5824
5860
  fill: "#18482a",
5825
5861
  d: "M14,33.054v7.202C14,41.219,14.781,42,15.743,42H29v-8.946H14z"
5826
5862
  }
5827
5863
  ),
5828
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
5829
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
5830
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("g", { children: [
5831
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5864
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#0c8045", d: "M14 15.003H29V24.005000000000003H14z" }),
5865
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#17472a", d: "M14 24.005H29V33.055H14z" }),
5866
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("g", { children: [
5867
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5832
5868
  "path",
5833
5869
  {
5834
5870
  fill: "#29c27f",
5835
5871
  d: "M42.256,6H29v9.003h15V7.744C44,6.781,43.219,6,42.256,6z"
5836
5872
  }
5837
5873
  ),
5838
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5874
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5839
5875
  "path",
5840
5876
  {
5841
5877
  fill: "#27663f",
5842
5878
  d: "M29,33.054V42h13.257C43.219,42,44,41.219,44,40.257v-7.202H29z"
5843
5879
  }
5844
5880
  ),
5845
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
5846
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
5881
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#19ac65", d: "M29 15.003H44V24.005000000000003H29z" }),
5882
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#129652", d: "M29 24.005H44V33.055H29z" })
5847
5883
  ] }),
5848
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5884
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5849
5885
  "path",
5850
5886
  {
5851
5887
  fill: "#0c7238",
5852
5888
  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"
5853
5889
  }
5854
5890
  ),
5855
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5891
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5856
5892
  "path",
5857
5893
  {
5858
5894
  fill: "#fff",
@@ -5862,7 +5898,7 @@ var ExcelIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5862
5898
  ]
5863
5899
  }
5864
5900
  );
5865
- var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5901
+ var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5866
5902
  "svg",
5867
5903
  {
5868
5904
  xmlns: "http://www.w3.org/2000/svg",
@@ -5870,14 +5906,14 @@ var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5870
5906
  className: "w-10 h-10",
5871
5907
  baseProfile: "basic",
5872
5908
  children: [
5873
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5909
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5874
5910
  "path",
5875
5911
  {
5876
5912
  fill: "#283593",
5877
5913
  d: "M9,33.595l14.911-18.706L41,26v13.306C41,41.346,39.346,43,37.306,43H15.332 C11.835,43,9,40.164,9,36.667C9,36.667,9,33.595,9,33.595z"
5878
5914
  }
5879
5915
  ),
5880
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5916
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5881
5917
  "linearGradient",
5882
5918
  {
5883
5919
  id: "qh2LT5tehRDFkLLfb-odWa",
@@ -5888,19 +5924,19 @@ var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5888
5924
  gradientTransform: "translate(0 -339.89)",
5889
5925
  gradientUnits: "userSpaceOnUse",
5890
5926
  children: [
5891
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
5892
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
5927
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("stop", { offset: "0", "stop-color": "#66c0ff" }),
5928
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("stop", { offset: ".26", "stop-color": "#0094f0" })
5893
5929
  ]
5894
5930
  }
5895
5931
  ),
5896
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5932
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5897
5933
  "path",
5898
5934
  {
5899
5935
  fill: "url(#qh2LT5tehRDFkLLfb-odWa)",
5900
5936
  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"
5901
5937
  }
5902
5938
  ),
5903
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5939
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5904
5940
  "path",
5905
5941
  {
5906
5942
  fill: "#1e88e5",
@@ -5908,21 +5944,21 @@ var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5908
5944
  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"
5909
5945
  }
5910
5946
  ),
5911
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5947
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5912
5948
  "path",
5913
5949
  {
5914
5950
  fill: "#00e5ff",
5915
5951
  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"
5916
5952
  }
5917
5953
  ),
5918
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5954
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5919
5955
  "path",
5920
5956
  {
5921
5957
  fill: "#1565c0",
5922
5958
  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"
5923
5959
  }
5924
5960
  ),
5925
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5961
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5926
5962
  "path",
5927
5963
  {
5928
5964
  fill: "#fff",
@@ -5932,42 +5968,42 @@ var WordIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5932
5968
  ]
5933
5969
  }
5934
5970
  );
5935
- var StandardIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5971
+ var StandardIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5936
5972
  "svg",
5937
5973
  {
5938
5974
  xmlns: "http://www.w3.org/2000/svg",
5939
5975
  viewBox: "0 0 48 48",
5940
5976
  className: "w-10 h-10",
5941
5977
  children: [
5942
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
5943
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
5978
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
5979
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" })
5944
5980
  ]
5945
5981
  }
5946
5982
  );
5947
- var PowerPointIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5983
+ var PowerPointIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5948
5984
  "svg",
5949
5985
  {
5950
5986
  xmlns: "http://www.w3.org/2000/svg",
5951
5987
  viewBox: "0 0 48 48",
5952
5988
  className: "w-10 h-10",
5953
5989
  children: [
5954
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5990
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5955
5991
  "path",
5956
5992
  {
5957
5993
  fill: "#dc4c2c",
5958
5994
  d: "M8,24c0,9.941,8.059,18,18,18s18-8.059,18-18H26H8z"
5959
5995
  }
5960
5996
  ),
5961
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
5962
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
5963
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5997
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#f7a278", d: "M26,6v18h18C44,14.059,35.941,6,26,6z" }),
5998
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#c06346", d: "M26,6C16.059,6,8,14.059,8,24h18V6z" }),
5999
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5964
6000
  "path",
5965
6001
  {
5966
6002
  fill: "#9b341f",
5967
6003
  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"
5968
6004
  }
5969
6005
  ),
5970
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6006
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5971
6007
  "path",
5972
6008
  {
5973
6009
  fill: "#fff",
@@ -5977,16 +6013,16 @@ var PowerPointIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5977
6013
  ]
5978
6014
  }
5979
6015
  );
5980
- var TextIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6016
+ var TextIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5981
6017
  "svg",
5982
6018
  {
5983
6019
  xmlns: "http://www.w3.org/2000/svg",
5984
6020
  viewBox: "0 0 48 48",
5985
6021
  className: "w-10 h-10",
5986
6022
  children: [
5987
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
5988
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
5989
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6023
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#90CAF9", d: "M40 45L8 45 8 3 30 3 40 13z" }),
6024
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("path", { fill: "#E1F5FE", d: "M38.5 14L29 14 29 4.5z" }),
6025
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
5990
6026
  "path",
5991
6027
  {
5992
6028
  fill: "#1976D2",
@@ -5996,7 +6032,7 @@ var TextIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5996
6032
  ]
5997
6033
  }
5998
6034
  );
5999
- var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6035
+ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6000
6036
  "svg",
6001
6037
  {
6002
6038
  xmlns: "http://www.w3.org/2000/svg",
@@ -6006,14 +6042,14 @@ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6006
6042
  version: "1.0",
6007
6043
  className: "w-10 h-10",
6008
6044
  children: [
6009
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6045
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("clipPath", { id: "273d29c8a6", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6010
6046
  "path",
6011
6047
  {
6012
6048
  d: "M 8.90625 0 L 65.90625 0 L 65.90625 75 L 8.90625 75 Z M 8.90625 0 ",
6013
6049
  "clip-rule": "nonzero"
6014
6050
  }
6015
6051
  ) }) }),
6016
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6052
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("g", { "clip-path": "url(#273d29c8a6)", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6017
6053
  "path",
6018
6054
  {
6019
6055
  fill: "#ff9100",
@@ -6022,7 +6058,7 @@ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6022
6058
  "fill-rule": "nonzero"
6023
6059
  }
6024
6060
  ) }),
6025
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6061
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6026
6062
  "path",
6027
6063
  {
6028
6064
  fill: "#fbe9e7",
@@ -6031,7 +6067,7 @@ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6031
6067
  "fill-rule": "nonzero"
6032
6068
  }
6033
6069
  ),
6034
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6070
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6035
6071
  "path",
6036
6072
  {
6037
6073
  fill: "#ffe0b2",
@@ -6040,7 +6076,7 @@ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6040
6076
  "fill-rule": "nonzero"
6041
6077
  }
6042
6078
  ),
6043
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6079
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6044
6080
  "path",
6045
6081
  {
6046
6082
  fill: "#ffe0b2",
@@ -6049,7 +6085,7 @@ var ArchiveIcon = () => /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6049
6085
  "fill-rule": "nonzero"
6050
6086
  }
6051
6087
  ),
6052
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6088
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6053
6089
  "path",
6054
6090
  {
6055
6091
  fill: "#ffe0b2",
@@ -6125,8 +6161,8 @@ var DocumentNode = (props) => {
6125
6161
  }
6126
6162
  }
6127
6163
  if (documents.length === 0) {
6128
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
6129
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6164
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_jsx_runtime68.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "py-4 px-2 bg-neutral-weak border rounded text-center flex flex-col gap-2", children: [
6165
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "mx-auto w-10 h-10 rounded-full flex items-center justify-center bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6130
6166
  "svg",
6131
6167
  {
6132
6168
  className: "w-5 h-5",
@@ -6134,7 +6170,7 @@ var DocumentNode = (props) => {
6134
6170
  stroke: "currentColor",
6135
6171
  viewBox: "0 0 24 24",
6136
6172
  xmlns: "http://www.w3.org/2000/svg",
6137
- children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6173
+ children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6138
6174
  "path",
6139
6175
  {
6140
6176
  strokeLinecap: "round",
@@ -6145,11 +6181,11 @@ var DocumentNode = (props) => {
6145
6181
  )
6146
6182
  }
6147
6183
  ) }),
6148
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
6149
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
6184
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "text-sm font-medium", children: "No documents found" }),
6185
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "text-xs", children: "No records found. Data may be empty or not available at the moment." })
6150
6186
  ] }) });
6151
6187
  }
6152
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "", children: documents.map((doc, index) => {
6188
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "", children: documents.map((doc, index) => {
6153
6189
  const documentUrl = AssetUtility_default.resolveUrl(
6154
6190
  props.assetBaseUrl,
6155
6191
  doc.assetUrl
@@ -6167,16 +6203,16 @@ var DocumentNode = (props) => {
6167
6203
  }
6168
6204
  }
6169
6205
  const { Icon: Icon2, extLabel } = getFileDetails(documentUrl);
6170
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6206
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6171
6207
  "div",
6172
6208
  {
6173
6209
  className: `flex items-center justify-between py-4 bg-default gap-4 ${index !== 0 ? "border-t" : ""}`,
6174
6210
  children: [
6175
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex items-center space-x-4", children: [
6176
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon2, {}) }),
6177
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("h4", { className: "text-base font-semibold", children: documentTitle }) })
6211
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "flex items-center space-x-4", children: [
6212
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-neutral-soft", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon2, {}) }),
6213
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "flex items-baseline space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("h4", { className: "text-base font-semibold", children: documentTitle }) })
6178
6214
  ] }),
6179
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6215
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6180
6216
  "a",
6181
6217
  {
6182
6218
  href: documentUrl,
@@ -6184,7 +6220,7 @@ var DocumentNode = (props) => {
6184
6220
  rel: "noopener noreferrer",
6185
6221
  className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors",
6186
6222
  children: [
6187
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
6223
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6188
6224
  "svg",
6189
6225
  {
6190
6226
  className: "w-4 h-4 mr-2",
@@ -6192,7 +6228,7 @@ var DocumentNode = (props) => {
6192
6228
  stroke: "currentColor",
6193
6229
  viewBox: "0 0 24 24",
6194
6230
  children: [
6195
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6231
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6196
6232
  "path",
6197
6233
  {
6198
6234
  strokeLinecap: "round",
@@ -6201,7 +6237,7 @@ var DocumentNode = (props) => {
6201
6237
  d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
6202
6238
  }
6203
6239
  ),
6204
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
6240
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6205
6241
  "path",
6206
6242
  {
6207
6243
  strokeLinecap: "round",
@@ -6226,7 +6262,7 @@ var DocumentNode = (props) => {
6226
6262
  var DocumentNode_default = DocumentNode;
6227
6263
 
6228
6264
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
6229
- var import_jsx_runtime68 = require("react/jsx-runtime");
6265
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6230
6266
  var Pagination2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_Pagination(), Pagination_exports)), { ssr: true });
6231
6267
  var Slider2 = (0, import_dynamic10.default)(() => Promise.resolve().then(() => (init_Slider(), Slider_exports)), {
6232
6268
  ssr: false
@@ -6480,7 +6516,7 @@ var DivContainer = async (props) => {
6480
6516
  response = await serviceClient.get(endpoint);
6481
6517
  result = response?.result;
6482
6518
  if (dataBindingProperties.showNoResultsMessage && (result === void 0 || result.length == 0)) {
6483
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NoDataFound_default, {});
6519
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(NoDataFound_default, {});
6484
6520
  }
6485
6521
  if (dataBindingProperties.childCollectionName && props.dataitem) {
6486
6522
  childCollectionData = getNestedValue6(
@@ -6500,7 +6536,7 @@ var DivContainer = async (props) => {
6500
6536
  }
6501
6537
  const SelectedNode = NodeTypes2[node.type];
6502
6538
  if (!SelectedNode) return null;
6503
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react48.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6539
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react51.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6504
6540
  SelectedNode,
6505
6541
  {
6506
6542
  node,
@@ -6632,14 +6668,14 @@ var DivContainer = async (props) => {
6632
6668
  props.node.bgClass,
6633
6669
  noLinkColor && "no-link-color"
6634
6670
  ].filter(Boolean).join(" ");
6635
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_react48.default.Fragment, { children: [
6636
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6671
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_react51.default.Fragment, { children: [
6672
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6637
6673
  "style",
6638
6674
  {
6639
6675
  dangerouslySetInnerHTML: { __html: cssResult.css + animationCSS }
6640
6676
  }
6641
6677
  ),
6642
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react48.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6678
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react51.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6643
6679
  Wrapper,
6644
6680
  {
6645
6681
  id: guid,
@@ -6653,11 +6689,11 @@ var DivContainer = async (props) => {
6653
6689
  item,
6654
6690
  idx,
6655
6691
  props.href ? void 0 : item?.links?.view
6656
- )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(import_react48.default.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
6692
+ )?.map((child, i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_react51.default.Fragment, { children: child }, i)) : renderChildren(props.node.children, props, item, idx)
6657
6693
  )
6658
6694
  }
6659
6695
  ) }),
6660
- dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
6696
+ dataBindingProperties && props.node.dataBinding.enablePagination && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6661
6697
  Pagination2,
6662
6698
  {
6663
6699
  path: props.path,
@@ -6670,7 +6706,7 @@ var DivContainer = async (props) => {
6670
6706
  var DivContainer_default = DivContainer;
6671
6707
 
6672
6708
  // src/components/pageRenderingEngine/PageBodyRenderer.tsx
6673
- var import_jsx_runtime69 = require("react/jsx-runtime");
6709
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6674
6710
  var NodeTypes = {
6675
6711
  ["paragraph"]: ParagraphNode_default,
6676
6712
  ["heading"]: HeadingNode_default,
@@ -6707,14 +6743,14 @@ var PageBodyRenderer = (props) => {
6707
6743
  }
6708
6744
  return true;
6709
6745
  };
6710
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
6746
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: rootNode && rootNode?.children?.map((node, index) => {
6711
6747
  {
6712
6748
  }
6713
6749
  const SelectedNode = NodeTypes[node.type];
6714
6750
  if (!shouldRenderNode(node)) {
6715
6751
  return null;
6716
6752
  }
6717
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6753
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: SelectedNode && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: node.type == "layout-container" ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6718
6754
  SelectedNode,
6719
6755
  {
6720
6756
  node,
@@ -6730,7 +6766,7 @@ var PageBodyRenderer = (props) => {
6730
6766
  device: props.device,
6731
6767
  widgetRenderer: props.widgetRenderer
6732
6768
  }
6733
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_react49.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
6769
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react52.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
6734
6770
  SelectedNode,
6735
6771
  {
6736
6772
  node,
@@ -6751,13 +6787,13 @@ var PageBodyRenderer = (props) => {
6751
6787
  var PageBodyRenderer_default = PageBodyRenderer;
6752
6788
 
6753
6789
  // src/components/Toast.tsx
6754
- var import_react50 = require("react");
6790
+ var import_react53 = require("react");
6755
6791
  init_ToastService();
6756
- var import_jsx_runtime70 = require("react/jsx-runtime");
6792
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6757
6793
  var Toast = () => {
6758
- const [showToast, setShowToast] = (0, import_react50.useState)(false);
6759
- const [message, setMessage] = (0, import_react50.useState)("");
6760
- const [messageType, setMessageType] = (0, import_react50.useState)("error");
6794
+ const [showToast, setShowToast] = (0, import_react53.useState)(false);
6795
+ const [message, setMessage] = (0, import_react53.useState)("");
6796
+ const [messageType, setMessageType] = (0, import_react53.useState)("error");
6761
6797
  ToastService_default.showError = function(message2) {
6762
6798
  setShowToast(true);
6763
6799
  setMessage(message2);
@@ -6796,8 +6832,8 @@ var Toast = () => {
6796
6832
  const closeToast = () => {
6797
6833
  setShowToast(false);
6798
6834
  };
6799
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: showToast && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("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__ */ (0, import_jsx_runtime70.jsxs)("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
6800
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6835
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_jsx_runtime73.Fragment, { children: showToast && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("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__ */ (0, import_jsx_runtime73.jsxs)("div", { className: `w-full items-center flex justify-between p-3 rounded-md relative shadow border bg-${messageType}-soft`, children: [
6836
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6801
6837
  "span",
6802
6838
  {
6803
6839
  className: "font-medium text-inherit text-sm",
@@ -6805,7 +6841,7 @@ var Toast = () => {
6805
6841
  children: message
6806
6842
  }
6807
6843
  ),
6808
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
6844
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("button", { className: "absolute right-2 top-2 ml-2 focus:outline-none", onClick: closeToast, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6809
6845
  "svg",
6810
6846
  {
6811
6847
  xmlns: "http://www.w3.org/2000/svg",
@@ -6813,7 +6849,7 @@ var Toast = () => {
6813
6849
  fill: "none",
6814
6850
  viewBox: "0 0 24 24",
6815
6851
  stroke: "currentColor",
6816
- children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
6852
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 18L18 6M6 6l12 12" })
6817
6853
  }
6818
6854
  ) })
6819
6855
  ] }) }) });
@@ -6840,7 +6876,7 @@ init_TimeInput();
6840
6876
  // src/components/NavigationTabsV2.tsx
6841
6877
  var import_link3 = __toESM(require("next/link"));
6842
6878
  var import_navigation = require("next/navigation");
6843
- var import_jsx_runtime71 = require("react/jsx-runtime");
6879
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6844
6880
  function resolveRoutePlaceholders(route, params) {
6845
6881
  return route.replace(/\{([^}]+)\}/g, (match, key) => {
6846
6882
  const value = params[key];
@@ -6865,8 +6901,8 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
6865
6901
  isActive: tab.isActive
6866
6902
  })) || [];
6867
6903
  if (mappedTabs.length === 0) return null;
6868
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
6869
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_link3.default, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
6904
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex border-b bg-white rounded-t mb-3", children: mappedTabs.map(({ tabTitle, landingPageUrl, isActive }) => {
6905
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_link3.default, { href: landingPageUrl, className: "-mb-px", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
6870
6906
  "div",
6871
6907
  {
6872
6908
  className: `text-sm font-medium border-b-2 px-6 py-2 transition
@@ -6879,14 +6915,14 @@ var NavigationTabsV2 = ({ tabs, params = {} }) => {
6879
6915
  var NavigationTabsV2_default = NavigationTabsV2;
6880
6916
 
6881
6917
  // src/components/dataForm/DataList.tsx
6882
- var import_react53 = __toESM(require("react"));
6918
+ var import_react56 = __toESM(require("react"));
6883
6919
  var import_navigation2 = require("next/navigation");
6884
6920
 
6885
6921
  // src/components/dataForm/NoContentView.tsx
6886
- var import_react51 = __toESM(require("react"));
6887
- var import_jsx_runtime72 = require("react/jsx-runtime");
6922
+ var import_react54 = __toESM(require("react"));
6923
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6888
6924
  var NoContentView = (props) => {
6889
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_react51.default.Fragment, { children: props.isDataFound === false && props.children });
6925
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_react54.default.Fragment, { children: props.isDataFound === false && props.children });
6890
6926
  };
6891
6927
  var NoContentView_default = NoContentView;
6892
6928
 
@@ -6894,39 +6930,39 @@ var NoContentView_default = NoContentView;
6894
6930
  init_InputControlType();
6895
6931
 
6896
6932
  // src/components/dataForm/ContentView.tsx
6897
- var import_react52 = __toESM(require("react"));
6898
- var import_jsx_runtime73 = require("react/jsx-runtime");
6933
+ var import_react55 = __toESM(require("react"));
6934
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6899
6935
  var ContentView = (props) => {
6900
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_react52.default.Fragment, { children: [
6901
- props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
6902
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "flex items-center mb-4", children: [
6903
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
6904
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "ml-2", children: [
6905
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
6906
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
6936
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_react55.default.Fragment, { children: [
6937
+ props.isDataFound == null && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "bg-gray-200 rounded-md p-4 animate-pulse", children: [
6938
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex items-center mb-4", children: [
6939
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 h-8 w-8 rounded-full animate-pulse" }),
6940
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "ml-2", children: [
6941
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 h-3 w-16 animate-pulse" }),
6942
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 h-2 w-12 animate-pulse" })
6907
6943
  ] })
6908
6944
  ] }),
6909
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
6910
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "animate-pulse", children: [
6911
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6912
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6913
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6914
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6915
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6945
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "grid grid-cols-3 gap-4 mt-6", children: [
6946
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "animate-pulse", children: [
6947
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6948
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6949
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6950
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6951
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6916
6952
  ] }),
6917
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "animate-pulse", children: [
6918
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6919
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6920
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6921
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6922
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6953
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "animate-pulse", children: [
6954
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6955
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6956
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6957
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6958
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6923
6959
  ] }),
6924
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { className: "animate-pulse", children: [
6925
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6926
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6927
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6928
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6929
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6960
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "animate-pulse", children: [
6961
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-12 mb-2" }),
6962
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-24 mb-2" }),
6963
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-32 mb-2" }),
6964
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-16 mb-2" }),
6965
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "bg-gray-300 rounded-full h-3 w-28 mb-2" })
6930
6966
  ] })
6931
6967
  ] })
6932
6968
  ] }) }),
@@ -6986,7 +7022,7 @@ function FormReducer(state, action) {
6986
7022
  var FormReducer_default = FormReducer;
6987
7023
 
6988
7024
  // src/components/dataForm/DataList.tsx
6989
- var import_jsx_runtime74 = require("react/jsx-runtime");
7025
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6990
7026
  var DataList = (props) => {
6991
7027
  const router = (0, import_navigation2.useRouter)();
6992
7028
  let builder = new OdataBuilder(props.path);
@@ -6994,9 +7030,9 @@ var DataList = (props) => {
6994
7030
  let activePageNumber = 0;
6995
7031
  let pages = 0;
6996
7032
  console.log(props.addLinkText);
6997
- const [isDataFound, setIsDataFound] = (0, import_react53.useState)(null);
6998
- const [searchTerm, setSearchTerm] = (0, import_react53.useState)(props.query?.searchTerm ?? "");
6999
- (0, import_react53.useEffect)(() => {
7033
+ const [isDataFound, setIsDataFound] = (0, import_react56.useState)(null);
7034
+ const [searchTerm, setSearchTerm] = (0, import_react56.useState)(props.query?.searchTerm ?? "");
7035
+ (0, import_react56.useEffect)(() => {
7000
7036
  if (props?.dataset) {
7001
7037
  if (props?.dataset.result && props.dataset.result.length > 0) {
7002
7038
  setIsDataFound(true);
@@ -7005,7 +7041,7 @@ var DataList = (props) => {
7005
7041
  }
7006
7042
  }
7007
7043
  }, [props.dataset]);
7008
- (0, import_react53.useEffect)(() => {
7044
+ (0, import_react56.useEffect)(() => {
7009
7045
  if (!props.query?.["$filter"] || !props.filters) return;
7010
7046
  const filterQuery = props.query["$filter"];
7011
7047
  props.filters.forEach((filter) => {
@@ -7024,7 +7060,7 @@ var DataList = (props) => {
7024
7060
  if (path.includes(".")) {
7025
7061
  return path.split(".").reduce((prev, curr) => prev ? prev[curr] : null, obj);
7026
7062
  } else if (Array.isArray(obj[path])) {
7027
- return obj[path].map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { children: item }, index));
7063
+ return obj[path].map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: item }, index));
7028
7064
  } else {
7029
7065
  return obj[path];
7030
7066
  }
@@ -7033,11 +7069,11 @@ var DataList = (props) => {
7033
7069
  inputValues: {},
7034
7070
  lastPropertyChanged: ""
7035
7071
  };
7036
- const [formState, dispatch] = (0, import_react53.useReducer)(FormReducer_default, initialState);
7072
+ const [formState, dispatch] = (0, import_react56.useReducer)(FormReducer_default, initialState);
7037
7073
  const getSearchableColumns = () => {
7038
7074
  return props.columns?.filter((c) => c.isSearchable)?.map((c) => c.name)?.join(",");
7039
7075
  };
7040
- const handleFilterChange = (0, import_react53.useCallback)(
7076
+ const handleFilterChange = (0, import_react56.useCallback)(
7041
7077
  (updatedValues) => {
7042
7078
  dispatch({
7043
7079
  type: FORM_INPUT_UPDATE,
@@ -7068,7 +7104,7 @@ var DataList = (props) => {
7068
7104
  },
7069
7105
  [dispatch, props, router]
7070
7106
  );
7071
- (0, import_react53.useEffect)(() => {
7107
+ (0, import_react56.useEffect)(() => {
7072
7108
  if (!props.columns.some((col) => col.isSearchable)) {
7073
7109
  return;
7074
7110
  }
@@ -7103,30 +7139,30 @@ var DataList = (props) => {
7103
7139
  const renderPageNumbers = () => {
7104
7140
  if (pages <= 10) {
7105
7141
  return Array.from({ length: pages }, (_, index) => index + 1).map(
7106
- (page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7142
+ (page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7107
7143
  Hyperlink,
7108
7144
  {
7109
7145
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
7110
7146
  href: builder.getNewPageUrl(page),
7111
7147
  children: page
7112
7148
  }
7113
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
7149
+ ) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
7114
7150
  );
7115
7151
  } else {
7116
7152
  const showFirstPages = activePageNumber <= 5;
7117
7153
  const showLastPages = activePageNumber > pages - 5;
7118
7154
  if (showFirstPages) {
7119
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
7120
- Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7155
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
7156
+ Array.from({ length: 8 }, (_, index) => index + 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7121
7157
  Hyperlink,
7122
7158
  {
7123
7159
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
7124
7160
  href: builder.getNewPageUrl(page),
7125
7161
  children: page
7126
7162
  }
7127
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
7128
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-2 py-1", children: "..." }),
7129
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7163
+ ) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
7164
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-2 py-1", children: "..." }),
7165
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7130
7166
  Hyperlink,
7131
7167
  {
7132
7168
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7134,7 +7170,7 @@ var DataList = (props) => {
7134
7170
  children: pages - 1
7135
7171
  }
7136
7172
  ),
7137
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7173
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7138
7174
  Hyperlink,
7139
7175
  {
7140
7176
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7142,7 +7178,7 @@ var DataList = (props) => {
7142
7178
  children: pages
7143
7179
  }
7144
7180
  ),
7145
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7181
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7146
7182
  "select",
7147
7183
  {
7148
7184
  className: " py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -7154,18 +7190,18 @@ var DataList = (props) => {
7154
7190
  }
7155
7191
  },
7156
7192
  children: [
7157
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("option", { className: "", value: "", children: "Jump to" }),
7193
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("option", { className: "", value: "", children: "Jump to" }),
7158
7194
  Array.from(
7159
7195
  { length: Math.max(0, pages - 10) },
7160
7196
  (_, index) => index + 9
7161
- ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("option", { value: page, children: page }, page))
7197
+ ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("option", { value: page, children: page }, page))
7162
7198
  ]
7163
7199
  }
7164
7200
  ) })
7165
7201
  ] });
7166
7202
  } else if (showLastPages) {
7167
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
7168
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7203
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
7204
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7169
7205
  Hyperlink,
7170
7206
  {
7171
7207
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7173,7 +7209,7 @@ var DataList = (props) => {
7173
7209
  children: "1"
7174
7210
  }
7175
7211
  ),
7176
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7212
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7177
7213
  Hyperlink,
7178
7214
  {
7179
7215
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7181,21 +7217,21 @@ var DataList = (props) => {
7181
7217
  children: "2"
7182
7218
  }
7183
7219
  ),
7184
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-2 py-1", children: "..." }),
7220
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-2 py-1", children: "..." }),
7185
7221
  Array.from({ length: 8 }, (_, index) => pages - 7 + index).map(
7186
- (page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7222
+ (page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7187
7223
  Hyperlink,
7188
7224
  {
7189
7225
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
7190
7226
  href: builder.getNewPageUrl(page),
7191
7227
  children: page
7192
7228
  }
7193
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
7229
+ ) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)
7194
7230
  )
7195
7231
  ] });
7196
7232
  } else {
7197
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
7198
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7233
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
7234
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7199
7235
  Hyperlink,
7200
7236
  {
7201
7237
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7203,7 +7239,7 @@ var DataList = (props) => {
7203
7239
  children: "1"
7204
7240
  }
7205
7241
  ),
7206
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7242
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7207
7243
  Hyperlink,
7208
7244
  {
7209
7245
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7211,20 +7247,20 @@ var DataList = (props) => {
7211
7247
  children: "2"
7212
7248
  }
7213
7249
  ),
7214
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-2 py-1", children: "..." }),
7250
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-2 py-1", children: "..." }),
7215
7251
  Array.from(
7216
7252
  { length: 5 },
7217
7253
  (_, index) => activePageNumber - 2 + index
7218
- ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7254
+ ).map((page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: activePageNumber !== page ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7219
7255
  Hyperlink,
7220
7256
  {
7221
7257
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
7222
7258
  href: builder.getNewPageUrl(page),
7223
7259
  children: page
7224
7260
  }
7225
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
7226
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "px-2 py-1", children: "..." }),
7227
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7261
+ ) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-3 py-1 border-t border-b border-gray-300 bg-primary-base", children: page }) }, page)),
7262
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "px-2 py-1", children: "..." }),
7263
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7228
7264
  Hyperlink,
7229
7265
  {
7230
7266
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7232,7 +7268,7 @@ var DataList = (props) => {
7232
7268
  children: pages - 1
7233
7269
  }
7234
7270
  ),
7235
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7271
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7236
7272
  Hyperlink,
7237
7273
  {
7238
7274
  className: "px-3 py-1 border-t border-b border-gray-300 bg-white text-gray-700 hover:bg-gray-100",
@@ -7240,7 +7276,7 @@ var DataList = (props) => {
7240
7276
  children: pages
7241
7277
  }
7242
7278
  ),
7243
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7279
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "relative inline-block", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7244
7280
  "select",
7245
7281
  {
7246
7282
  className: "px-2 py-1 border border-gray-300 bg-white text-gray-700 appearance-none rounded-none",
@@ -7252,8 +7288,8 @@ var DataList = (props) => {
7252
7288
  }
7253
7289
  },
7254
7290
  children: [
7255
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("option", { value: "", children: "Jump to" }),
7256
- Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("option", { value: page, children: page }, page))
7291
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("option", { value: "", children: "Jump to" }),
7292
+ Array.from({ length: pages - 4 }, (_, index) => index + 3).filter((page) => page > 2 && page < pages - 1).map((page) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("option", { value: page, children: page }, page))
7257
7293
  ]
7258
7294
  }
7259
7295
  ) })
@@ -7261,16 +7297,16 @@ var DataList = (props) => {
7261
7297
  }
7262
7298
  }
7263
7299
  };
7264
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_react53.default.Fragment, { children: [
7265
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(ContentView_default, { isDataFound, children: [
7266
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7300
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_react56.default.Fragment, { children: [
7301
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(ContentView_default, { isDataFound, children: [
7302
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7267
7303
  "div",
7268
7304
  {
7269
7305
  className: `flex justify-between items-center bg-white pl-6 pr-2 h-14 mb-3 shadow-sm rounded-md sticky top-0`,
7270
7306
  children: [
7271
- props.title ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", {}),
7272
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center gap-3", children: [
7273
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7307
+ props.title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h2", { className: "text-lg font-semibold text-black-800", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", {}),
7308
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex items-center gap-3", children: [
7309
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7274
7310
  InputControl_default,
7275
7311
  {
7276
7312
  name: "Search_input",
@@ -7282,7 +7318,7 @@ var DataList = (props) => {
7282
7318
  }
7283
7319
  }
7284
7320
  ),
7285
- props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7321
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7286
7322
  InputControl_default,
7287
7323
  {
7288
7324
  name: filter.name,
@@ -7297,15 +7333,15 @@ var DataList = (props) => {
7297
7333
  },
7298
7334
  filter.name
7299
7335
  )),
7300
- props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7336
+ props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7301
7337
  Hyperlink,
7302
7338
  {
7303
7339
  className: "gap-1",
7304
7340
  linkType: "Primary" /* Solid */,
7305
7341
  href: props.addLinkHref,
7306
7342
  children: [
7307
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
7308
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
7343
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
7344
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
7309
7345
  ]
7310
7346
  }
7311
7347
  )
@@ -7313,8 +7349,8 @@ var DataList = (props) => {
7313
7349
  ]
7314
7350
  }
7315
7351
  ),
7316
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("table", { className: "w-full divide-y divide-gray-200", children: [
7317
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("tr", { children: props?.columns?.map((column) => {
7352
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "flex-1 overflow-y-auto justify-end bg-white rounded shadow h-[calc(100vh-14rem)]", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("table", { className: "w-full divide-y divide-gray-200", children: [
7353
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("thead", { className: "bg-gray-50 sticky top-0", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tr", { children: props?.columns?.map((column) => {
7318
7354
  let url = builder.getNewOrderByUrl(column.name);
7319
7355
  let icon = "chevronUpDown";
7320
7356
  if (orderBy.includes(`${column.name} desc`)) {
@@ -7324,18 +7360,18 @@ var DataList = (props) => {
7324
7360
  icon = "chevronUp";
7325
7361
  url = builder.getNewOrderByUrl(column.name + " desc");
7326
7362
  }
7327
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7363
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7328
7364
  "th",
7329
7365
  {
7330
7366
  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" : ""),
7331
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7367
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7332
7368
  Hyperlink,
7333
7369
  {
7334
7370
  href: column.enableSorting ? url : void 0,
7335
7371
  className: "!text-neutral-contrast ",
7336
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "flex items-center space-x-1", children: [
7337
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-black", children: column.label }),
7338
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
7372
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "flex items-center space-x-1", children: [
7373
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-black", children: column.label }),
7374
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
7339
7375
  ] })
7340
7376
  }
7341
7377
  )
@@ -7343,24 +7379,24 @@ var DataList = (props) => {
7343
7379
  column.name
7344
7380
  );
7345
7381
  }) }) }),
7346
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
7382
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tbody", { className: "divide-y divide-gray-200 ", children: props.dataset?.result?.map((dataitem, index) => {
7347
7383
  let validityClass = "";
7348
7384
  console.log("dataitem", dataitem);
7349
7385
  if (props.recordValidityColumnName && getNestedProperty2(dataitem, props.recordValidityColumnName) == false) {
7350
7386
  validityClass = "bg-alert-200";
7351
7387
  }
7352
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
7388
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tr", { className: validityClass, children: props?.columns?.map((column, colindex) => {
7353
7389
  console.log("column", column);
7354
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react53.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7390
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7355
7391
  "td",
7356
7392
  {
7357
7393
  className: "px-6 py-2 whitespace-normal " + (column.controlType == ViewControlTypes_default.money ? "" : ""),
7358
- children: column.addhref === true ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7394
+ children: column.addhref === true ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7359
7395
  Hyperlink,
7360
7396
  {
7361
7397
  className: "",
7362
7398
  href: `https://${dataitem[column.name]}`,
7363
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7399
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7364
7400
  ViewControl_default,
7365
7401
  {
7366
7402
  controlType: column.controlType,
@@ -7373,11 +7409,11 @@ var DataList = (props) => {
7373
7409
  }
7374
7410
  )
7375
7411
  }
7376
- ) : column.showAsLink ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7412
+ ) : column.showAsLink ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7377
7413
  Hyperlink,
7378
7414
  {
7379
7415
  href: props.path + dataitem[props.columns[0].name] + "/" + (dataitem.linkUrlSegment ?? column.linkUrlSegment),
7380
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7416
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7381
7417
  ViewControl_default,
7382
7418
  {
7383
7419
  controlType: column.controlType,
@@ -7387,7 +7423,7 @@ var DataList = (props) => {
7387
7423
  }
7388
7424
  )
7389
7425
  }
7390
- ) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7426
+ ) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7391
7427
  ViewControl_default,
7392
7428
  {
7393
7429
  controlType: column.controlType,
@@ -7401,10 +7437,10 @@ var DataList = (props) => {
7401
7437
  }) }, index);
7402
7438
  }) })
7403
7439
  ] }) }),
7404
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center justify-between", children: [
7405
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "text-gray-700", children: label }),
7406
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex space-x-2 items-center", children: [
7407
- activePageNumber > 1 && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7440
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "pt-4 border-t border-t-gray-50 sticky bottom-0 h-11 mt-2 ", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex items-center justify-between", children: [
7441
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "text-gray-700", children: label }),
7442
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex space-x-2 items-center", children: [
7443
+ activePageNumber > 1 && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7408
7444
  Hyperlink,
7409
7445
  {
7410
7446
  className: "px-3 py-1 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -7412,9 +7448,9 @@ var DataList = (props) => {
7412
7448
  children: "Prev"
7413
7449
  }
7414
7450
  ),
7415
- activePageNumber <= 1 && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("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" }),
7451
+ activePageNumber <= 1 && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("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" }),
7416
7452
  renderPageNumbers(),
7417
- activePageNumber < pages && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7453
+ activePageNumber < pages && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7418
7454
  Hyperlink,
7419
7455
  {
7420
7456
  className: "px-3 py-1 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-200",
@@ -7422,19 +7458,19 @@ var DataList = (props) => {
7422
7458
  children: "Next"
7423
7459
  }
7424
7460
  ),
7425
- activePageNumber >= pages && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
7461
+ activePageNumber >= pages && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "px-3 py-1 rounded-r-md border border-gray-300 bg-gray-200 text-gray-500", children: "Next" })
7426
7462
  ] })
7427
7463
  ] }) })
7428
7464
  ] }),
7429
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(NoContentView_default, { isDataFound, children: [
7430
- (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7465
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(NoContentView_default, { isDataFound, children: [
7466
+ (props.title || props.filters || props.addLinkHref) && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7431
7467
  "div",
7432
7468
  {
7433
7469
  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`,
7434
7470
  children: [
7435
- props.title ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", {}),
7436
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center gap-3", children: [
7437
- props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7471
+ props.title ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "inline-flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h2", { className: "text-lg font-semibold text-black", children: props.title }) }) : /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", {}),
7472
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex items-center gap-3", children: [
7473
+ props.columns.some((col) => col.isSearchable) && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7438
7474
  InputControl_default,
7439
7475
  {
7440
7476
  name: "Search_input",
@@ -7446,7 +7482,7 @@ var DataList = (props) => {
7446
7482
  }
7447
7483
  }
7448
7484
  ),
7449
- props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7485
+ props.filters && props.filters.map((filter) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7450
7486
  InputControl_default,
7451
7487
  {
7452
7488
  name: filter.name,
@@ -7461,15 +7497,15 @@ var DataList = (props) => {
7461
7497
  },
7462
7498
  filter.name
7463
7499
  )),
7464
- props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
7500
+ props.addLinkHref && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
7465
7501
  Hyperlink,
7466
7502
  {
7467
7503
  className: "gap-1",
7468
7504
  linkType: "Primary" /* Solid */,
7469
7505
  href: props.addLinkHref,
7470
7506
  children: [
7471
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
7472
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
7507
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon_default, { name: "plus", className: "w-4 h-4" }),
7508
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "text-sm font-medium", children: props.addLinkText || "Add New" })
7473
7509
  ]
7474
7510
  }
7475
7511
  )
@@ -7477,8 +7513,8 @@ var DataList = (props) => {
7477
7513
  ]
7478
7514
  }
7479
7515
  ),
7480
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
7481
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("thead", { className: "bg-gray-50", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("tr", { children: props?.columns?.map((column) => {
7516
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex-grow overflow-y-auto justify-end bg-white rounded shadow h-[75vh]", children: [
7517
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("table", { className: "w-full divide-y divide-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("thead", { className: "bg-gray-50", children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("tr", { children: props?.columns?.map((column) => {
7482
7518
  let url = builder.getNewOrderByUrl(column.name);
7483
7519
  let icon = "chevronUpDown";
7484
7520
  if (orderBy.includes(`${column.name} desc`)) {
@@ -7488,18 +7524,18 @@ var DataList = (props) => {
7488
7524
  icon = "chevronUp";
7489
7525
  url = builder.getNewOrderByUrl(column.name + " desc");
7490
7526
  }
7491
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7527
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7492
7528
  "th",
7493
7529
  {
7494
7530
  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" : ""),
7495
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
7531
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
7496
7532
  Hyperlink,
7497
7533
  {
7498
7534
  href: column.enableSorting ? url : void 0,
7499
7535
  className: "text-body-950",
7500
- children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("span", { className: "flex items-center space-x-1", children: [
7501
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { children: column.label }),
7502
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
7536
+ children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { className: "flex items-center space-x-1", children: [
7537
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { children: column.label }),
7538
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
7503
7539
  ] })
7504
7540
  }
7505
7541
  )
@@ -7507,7 +7543,7 @@ var DataList = (props) => {
7507
7543
  column.name
7508
7544
  );
7509
7545
  }) }) }) }) }),
7510
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
7546
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "w-full text-center bg-transparent pt-5", children: "There are no entries in the table at the moment." })
7511
7547
  ] })
7512
7548
  ] })
7513
7549
  ] });
@@ -7515,12 +7551,12 @@ var DataList = (props) => {
7515
7551
  var DataList_default = DataList;
7516
7552
 
7517
7553
  // src/components/dataForm/DataListRenderer.tsx
7518
- var import_react54 = __toESM(require("react"));
7554
+ var import_react57 = __toESM(require("react"));
7519
7555
  init_ServiceClient();
7520
7556
  init_OdataBuilder();
7521
7557
  init_SelectWithSearchInput();
7522
7558
  var import_navigation3 = require("next/navigation");
7523
- var import_jsx_runtime75 = require("react/jsx-runtime");
7559
+ var import_jsx_runtime78 = require("react/jsx-runtime");
7524
7560
  var viewControlMap = {
7525
7561
  number: ViewControlTypes.number,
7526
7562
  lineText: ViewControlTypes.lineText,
@@ -7575,14 +7611,14 @@ var DataListRenderer = ({
7575
7611
  widgetProps
7576
7612
  }) => {
7577
7613
  const serviceClient = new ServiceClient_default(apiBaseUrl, session);
7578
- const [columns, setColumns] = (0, import_react54.useState)([]);
7579
- const [dataset, setDataset] = (0, import_react54.useState)();
7580
- const [filter, setFilters] = (0, import_react54.useState)([]);
7581
- const [addLinkHref, setAddLinkHref] = (0, import_react54.useState)("");
7582
- const [addLinkText, setAddLinkText] = (0, import_react54.useState)("");
7583
- const [serviceRoute, setServiceRoute] = (0, import_react54.useState)("");
7614
+ const [columns, setColumns] = (0, import_react57.useState)([]);
7615
+ const [dataset, setDataset] = (0, import_react57.useState)();
7616
+ const [filter, setFilters] = (0, import_react57.useState)([]);
7617
+ const [addLinkHref, setAddLinkHref] = (0, import_react57.useState)("");
7618
+ const [addLinkText, setAddLinkText] = (0, import_react57.useState)("");
7619
+ const [serviceRoute, setServiceRoute] = (0, import_react57.useState)("");
7584
7620
  const pathname = (0, import_navigation3.usePathname)();
7585
- (0, import_react54.useEffect)(() => {
7621
+ (0, import_react57.useEffect)(() => {
7586
7622
  if (!formDefinition) return;
7587
7623
  setColumns(mapApiToColumns(formDefinition));
7588
7624
  setFilters(mapApiToFilters(formDefinition));
@@ -7595,7 +7631,7 @@ var DataListRenderer = ({
7595
7631
  setAddLinkHref(resolvedAddLinkHref);
7596
7632
  setAddLinkText(formDefinition?.siteFormDataList?.addLinkText ?? "");
7597
7633
  }, [formDefinition, params]);
7598
- (0, import_react54.useEffect)(() => {
7634
+ (0, import_react57.useEffect)(() => {
7599
7635
  const fetchData = async () => {
7600
7636
  if (!serviceRoute) return;
7601
7637
  const resolvedRoute = resolveRoutePlaceholders2(serviceRoute, params);
@@ -7615,15 +7651,15 @@ var DataListRenderer = ({
7615
7651
  isActive: landingPageUrl === pathname
7616
7652
  };
7617
7653
  });
7618
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_react54.default.Fragment, { children: [
7619
- resolvedTabs.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
7654
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_react57.default.Fragment, { children: [
7655
+ resolvedTabs.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7620
7656
  NavigationTabsV2_default,
7621
7657
  {
7622
7658
  tabs: resolvedTabs,
7623
7659
  params: widgetProps?.params ?? params
7624
7660
  }
7625
7661
  ),
7626
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
7662
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
7627
7663
  DataList_default,
7628
7664
  {
7629
7665
  addLinkHref,
@@ -7645,13 +7681,13 @@ var DataListRenderer_default = DataListRenderer;
7645
7681
  init_InputControlType();
7646
7682
 
7647
7683
  // src/components/dataForm/DataForm.tsx
7648
- var import_react56 = __toESM(require("react"));
7684
+ var import_react59 = __toESM(require("react"));
7649
7685
  init_Icon();
7650
7686
  init_Button();
7651
7687
  init_StyleTypes();
7652
7688
 
7653
7689
  // src/components/dataForm/DataFormChildSection.tsx
7654
- var import_react55 = __toESM(require("react"));
7690
+ var import_react58 = __toESM(require("react"));
7655
7691
 
7656
7692
  // src/components/dataForm/StyleTypes.tsx
7657
7693
  var StyleTypes2 = /* @__PURE__ */ ((StyleTypes3) => {
@@ -7678,7 +7714,7 @@ var FORM_CHILD_ONE_TO_ONE_UPDATE = "FORM_CHILD_ONE_TO_ONE_UPDATE";
7678
7714
  var FORM_CHILD_ROW_ADD = "FORM_CHILD_ROW_ADD";
7679
7715
 
7680
7716
  // src/components/dataForm/DataFormChildSection.tsx
7681
- var import_jsx_runtime76 = require("react/jsx-runtime");
7717
+ var import_jsx_runtime79 = require("react/jsx-runtime");
7682
7718
  var DataFormChildSection = (props) => {
7683
7719
  const { section } = props;
7684
7720
  const isOneToOne = section.relationshipType === "one-to-one";
@@ -7690,7 +7726,7 @@ var DataFormChildSection = (props) => {
7690
7726
  return childItems.map((item, originalIndex) => ({ item, originalIndex })).filter((x) => !x.item.isDeleted) || [];
7691
7727
  };
7692
7728
  const childItemsToRender = getChildItemsForRendering();
7693
- const handleChildInputChange = (0, import_react55.useCallback)(
7729
+ const handleChildInputChange = (0, import_react58.useCallback)(
7694
7730
  (updatedValues) => {
7695
7731
  if (isOneToOne) {
7696
7732
  props.callback({
@@ -7717,7 +7753,7 @@ var DataFormChildSection = (props) => {
7717
7753
  },
7718
7754
  [props, isOneToOne, childItemsToRender]
7719
7755
  );
7720
- const onAddRow = (0, import_react55.useCallback)(() => {
7756
+ const onAddRow = (0, import_react58.useCallback)(() => {
7721
7757
  props.callback({
7722
7758
  sectionName: props.section.name,
7723
7759
  actionType: FORM_CHILD_ROW_ADD,
@@ -7726,7 +7762,7 @@ var DataFormChildSection = (props) => {
7726
7762
  rowIndex: -1
7727
7763
  });
7728
7764
  }, [props]);
7729
- const onDeleteRow = (0, import_react55.useCallback)(
7765
+ const onDeleteRow = (0, import_react58.useCallback)(
7730
7766
  (filteredIndex) => {
7731
7767
  const visibleItem = childItemsToRender[filteredIndex];
7732
7768
  if (visibleItem) {
@@ -7746,14 +7782,14 @@ var DataFormChildSection = (props) => {
7746
7782
  childItemsToRender,
7747
7783
  allChildItems: childItems
7748
7784
  });
7749
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react55.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
7750
- section.sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
7751
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "flex flex-col justify-between gap-2", children: [
7752
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
7753
- (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
7754
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("tr", { className: "", children: [
7785
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react58.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "rounded border-neutral-200 border px-6 py-4 mb-2", children: [
7786
+ section.sectionTitle && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "mb-4 text-lg font-medium text-body-950", children: section.sectionTitle }),
7787
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex-grow flex flex-col justify-between overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "flex flex-col justify-between gap-2", children: [
7788
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("table", { className: "w-full border-separate divide-y divide-gray-200", children: [
7789
+ (!isOneToOne || childItemsToRender.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("thead", { className: "", children: section.sectionRows.map((sectionRow, sectionRowIndex) => {
7790
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("tr", { className: "", children: [
7755
7791
  sectionRow.elements.map((field, index) => {
7756
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7792
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7757
7793
  "th",
7758
7794
  {
7759
7795
  className: "py-3 font-normal text-left",
@@ -7762,21 +7798,21 @@ var DataFormChildSection = (props) => {
7762
7798
  field.name
7763
7799
  );
7764
7800
  }),
7765
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("th", { className: "py-3 font-normal text-left", children: "Actions" })
7801
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("th", { className: "py-3 font-normal text-left", children: "Actions" })
7766
7802
  ] }, sectionRowIndex);
7767
7803
  }) }),
7768
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
7804
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("tbody", { className: "divide-y divide-gray-200", children: childItemsToRender.map((visibleItem, filteredIndex) => {
7769
7805
  const { item, originalIndex } = visibleItem;
7770
7806
  const rowKey = originalIndex;
7771
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react55.default.Fragment, { children: section.sectionRows.map(
7807
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_react58.default.Fragment, { children: section.sectionRows.map(
7772
7808
  (sectionRow, sectionRowIndex) => {
7773
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
7809
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
7774
7810
  "tr",
7775
7811
  {
7776
7812
  className: "",
7777
7813
  children: [
7778
7814
  sectionRow.elements.map((field, index) => {
7779
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "w-11/12", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7815
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "w-11/12", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7780
7816
  InputControl_default,
7781
7817
  {
7782
7818
  index: filteredIndex,
@@ -7796,7 +7832,7 @@ var DataFormChildSection = (props) => {
7796
7832
  }
7797
7833
  ) }) }) }, field.name);
7798
7834
  }),
7799
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7835
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("td", { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7800
7836
  ClientButton_default,
7801
7837
  {
7802
7838
  ButtonType: StyleTypes2.Hollow,
@@ -7805,7 +7841,7 @@ var DataFormChildSection = (props) => {
7805
7841
  },
7806
7842
  dataRole: "delete",
7807
7843
  tabIndex: -1,
7808
- children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7844
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7809
7845
  Icon_default,
7810
7846
  {
7811
7847
  className: "w-4 h-4",
@@ -7822,7 +7858,7 @@ var DataFormChildSection = (props) => {
7822
7858
  ) }, rowKey);
7823
7859
  }) })
7824
7860
  ] }) }),
7825
- !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
7861
+ !section.readonly && !isOneToOne && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "ml-1", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
7826
7862
  ClientButton_default,
7827
7863
  {
7828
7864
  ButtonType: "Link" /* Link */,
@@ -7837,9 +7873,9 @@ var DataFormChildSection = (props) => {
7837
7873
  var DataFormChildSection_default = DataFormChildSection;
7838
7874
 
7839
7875
  // src/components/dataForm/DataForm.tsx
7840
- var import_jsx_runtime77 = require("react/jsx-runtime");
7876
+ var import_jsx_runtime80 = require("react/jsx-runtime");
7841
7877
  var DataForm = (props) => {
7842
- const formRef = (0, import_react56.useRef)(null);
7878
+ const formRef = (0, import_react59.useRef)(null);
7843
7879
  console.log(props.dataItem, "dssads");
7844
7880
  const initialState = {
7845
7881
  inputValues: {},
@@ -7848,9 +7884,9 @@ var DataForm = (props) => {
7848
7884
  const childInitialState = {
7849
7885
  inputValues: []
7850
7886
  };
7851
- const [formState, dispatch] = (0, import_react56.useReducer)(FormReducer_default, initialState);
7887
+ const [formState, dispatch] = (0, import_react59.useReducer)(FormReducer_default, initialState);
7852
7888
  console.log(props.sections, "sections");
7853
- const clearHiddenChildSections = (0, import_react56.useCallback)(
7889
+ const clearHiddenChildSections = (0, import_react59.useCallback)(
7854
7890
  (changedProperty, newValues) => {
7855
7891
  if (!props.sections) return;
7856
7892
  const allChildSections = [];
@@ -7888,7 +7924,7 @@ var DataForm = (props) => {
7888
7924
  },
7889
7925
  [props.sections, formState.inputValues]
7890
7926
  );
7891
- const handleInputChange = (0, import_react56.useCallback)(
7927
+ const handleInputChange = (0, import_react59.useCallback)(
7892
7928
  async (updatedValues) => {
7893
7929
  dispatch({
7894
7930
  type: FORM_INPUT_UPDATE,
@@ -7903,7 +7939,7 @@ var DataForm = (props) => {
7903
7939
  },
7904
7940
  [dispatch, formState.inputValues, clearHiddenChildSections]
7905
7941
  );
7906
- const fetchData = (0, import_react56.useCallback)(async () => {
7942
+ const fetchData = (0, import_react59.useCallback)(async () => {
7907
7943
  if (!props.rules) return;
7908
7944
  if (Object.keys(formState.inputValues).length === 0) {
7909
7945
  return;
@@ -7934,7 +7970,7 @@ var DataForm = (props) => {
7934
7970
  console.error("Error fetching data:", error);
7935
7971
  }
7936
7972
  }, [formState.lastPropertyChanged, formState.inputValues]);
7937
- (0, import_react56.useEffect)(() => {
7973
+ (0, import_react59.useEffect)(() => {
7938
7974
  fetchData();
7939
7975
  }, [formState.inputValues, formState.lastPropertyChanged]);
7940
7976
  function replacePlaceholders(template, context, params) {
@@ -7954,7 +7990,7 @@ var DataForm = (props) => {
7954
7990
  }
7955
7991
  );
7956
7992
  }
7957
- const handleChildSectionChangeCallback = (0, import_react56.useCallback)(
7993
+ const handleChildSectionChangeCallback = (0, import_react59.useCallback)(
7958
7994
  (params) => {
7959
7995
  dispatch({
7960
7996
  type: params.actionType,
@@ -7999,7 +8035,7 @@ var DataForm = (props) => {
7999
8035
  });
8000
8036
  return cloned;
8001
8037
  }
8002
- const onClick = (0, import_react56.useCallback)(async () => {
8038
+ const onClick = (0, import_react59.useCallback)(async () => {
8003
8039
  if (props.onClick) {
8004
8040
  const isEdit = props.dataItem && Object.keys(props.dataItem).length > 0;
8005
8041
  const normalizedValues = normalizeChildSections(
@@ -8015,21 +8051,21 @@ var DataForm = (props) => {
8015
8051
  return { isSuccessful: true };
8016
8052
  }
8017
8053
  }, [formState, props]);
8018
- const handleAdditionalOnClick = (0, import_react56.useCallback)(async () => {
8054
+ const handleAdditionalOnClick = (0, import_react59.useCallback)(async () => {
8019
8055
  if (props.additionalActions?.onClick) {
8020
8056
  return await props.additionalActions.onClick(formState);
8021
8057
  } else {
8022
8058
  return { isSuccessful: true, message: "Action completed successfully" };
8023
8059
  }
8024
8060
  }, [formState, props]);
8025
- const onDelete = (0, import_react56.useCallback)(async () => {
8061
+ const onDelete = (0, import_react59.useCallback)(async () => {
8026
8062
  if (props.onDelete) {
8027
8063
  return await props.onDelete(formState);
8028
8064
  } else {
8029
8065
  return { isSuccessful: true };
8030
8066
  }
8031
8067
  }, [formState, props]);
8032
- (0, import_react56.useEffect)(() => {
8068
+ (0, import_react59.useEffect)(() => {
8033
8069
  if (props.dataItem) {
8034
8070
  dispatch({
8035
8071
  type: FORM_INITIAL_UPDATE,
@@ -8057,19 +8093,19 @@ var DataForm = (props) => {
8057
8093
  return false;
8058
8094
  }
8059
8095
  }
8060
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex-grow flex flex-col", children: [
8061
- props.title && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("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__ */ (0, import_jsx_runtime77.jsxs)(
8096
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react59.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex-grow flex flex-col", children: [
8097
+ props.title && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("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__ */ (0, import_jsx_runtime80.jsxs)(
8062
8098
  "div",
8063
8099
  {
8064
8100
  className: "inline-flex items-center gap-2 cursor-pointer",
8065
8101
  onClick: () => window.history.back(),
8066
8102
  children: [
8067
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
8068
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
8103
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon_default, { name: "chevronLeft", className: "w-4 h-4 text-primary-800" }),
8104
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("h2", { className: "text-lg font-semibold text-primary-800", children: props.title })
8069
8105
  ]
8070
8106
  }
8071
8107
  ) }),
8072
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8108
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8073
8109
  "form",
8074
8110
  {
8075
8111
  className: "group space-y-6 pb-6 overflow-y-auto",
@@ -8090,8 +8126,8 @@ var DataForm = (props) => {
8090
8126
  }
8091
8127
  }
8092
8128
  },
8093
- children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
8094
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: !section.isChildSection && /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
8129
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "flex flex-col gap-6", children: props.sections?.map((section, sectionIndex) => {
8130
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react59.default.Fragment, { children: !section.isChildSection && /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: " rounded-b-lg bg-white shadow border-neutral-200 border px-8 py-6 ", children: [
8095
8131
  section.sectionRows?.map(
8096
8132
  (sectionRow, sectionRowIndex) => {
8097
8133
  const elementsCount = sectionRow.elements.length;
@@ -8102,14 +8138,14 @@ var DataForm = (props) => {
8102
8138
  sectionRow.visible
8103
8139
  );
8104
8140
  }
8105
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(import_react56.default.Fragment, { children: isVisible && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
8106
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
8141
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_react59.default.Fragment, { children: isVisible && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "lg:flex gap-14 flex-1 mb-4 ", children: sectionRow.elements.map((field, index) => {
8142
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
8107
8143
  "div",
8108
8144
  {
8109
8145
  className: sectionRow.grow ? "grow" : "",
8110
8146
  children: [
8111
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: field.controlType }),
8112
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8147
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: field.controlType }),
8148
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8113
8149
  InputControl_default,
8114
8150
  {
8115
8151
  name: field.name,
@@ -8139,12 +8175,12 @@ var DataForm = (props) => {
8139
8175
  }) }) }, sectionRowIndex);
8140
8176
  }
8141
8177
  ),
8142
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: section.childSections?.map(
8178
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: section.childSections?.map(
8143
8179
  (childSection, childSectionIndex) => {
8144
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: childSection.name && evalutateCondition(
8180
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: childSection.name && evalutateCondition(
8145
8181
  formState.inputValues,
8146
8182
  childSection.visible
8147
- ) && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8183
+ ) && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8148
8184
  DataFormChildSection_default,
8149
8185
  {
8150
8186
  section: childSection,
@@ -8159,8 +8195,8 @@ var DataForm = (props) => {
8159
8195
  }) })
8160
8196
  }
8161
8197
  ),
8162
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
8163
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: props.additionalActions && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8198
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex px-6 py-3 mt-2 mb-2 justify-end items-center gap-5", children: [
8199
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: props.additionalActions && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8164
8200
  Button_default,
8165
8201
  {
8166
8202
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -8168,7 +8204,7 @@ var DataForm = (props) => {
8168
8204
  children: props.additionalActions.title
8169
8205
  }
8170
8206
  ) }),
8171
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: props.onDelete && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8207
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: props.onDelete && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8172
8208
  Button_default,
8173
8209
  {
8174
8210
  ButtonType: "PrimaryHollow" /* Hollow */,
@@ -8179,7 +8215,7 @@ var DataForm = (props) => {
8179
8215
  children: "Delete"
8180
8216
  }
8181
8217
  ) }),
8182
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: props.onClick && /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
8218
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { children: props.onClick && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
8183
8219
  Button_default,
8184
8220
  {
8185
8221
  onValidate,
@@ -8197,7 +8233,7 @@ var DataForm_default = DataForm;
8197
8233
 
8198
8234
  // src/components/dataForm/DataFormRenderer.tsx
8199
8235
  init_ServiceClient();
8200
- var import_jsx_runtime78 = require("react/jsx-runtime");
8236
+ var import_jsx_runtime81 = require("react/jsx-runtime");
8201
8237
  function getAction(actions, code) {
8202
8238
  return actions?.find((a) => a.actionCode === code);
8203
8239
  }
@@ -8223,9 +8259,9 @@ var DataFormRenderer = ({
8223
8259
  "Delete"
8224
8260
  );
8225
8261
  const hasDataItem = dataItem && Object.keys(dataItem).length > 0;
8226
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { className: "flex-grow flex flex-col", children: [
8227
- widgetProps && /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
8228
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
8262
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex-grow flex flex-col", children: [
8263
+ widgetProps && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(NavigationTabsV2_default, { tabs, params: widgetProps.params }),
8264
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
8229
8265
  DataForm_default,
8230
8266
  {
8231
8267
  title: !isAddPage ? "Edit " + formDefinition.formTitle + "- v2" : "Add " + formDefinition.formTitle + "- v2",