procode-lowcode-core 1.0.13 → 1.0.15

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
@@ -158,15 +158,15 @@ const CellRenderer = ({ colIndex, rowIndex, colSpan, rowSpan, placeSelf, widgetS
158
158
  if (rowIndex && rowSpan) {
159
159
  styles = Object.assign(Object.assign({}, styles), { gridRow: `${rowIndex} / span ${rowSpan} ` });
160
160
  }
161
- return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || "", style: styles }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
161
+ return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || "", "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, style: styles }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
162
162
  };
163
163
 
164
164
  const GenericLayoutRenderer = ({ numOfColumns, noOfRows, columnGap, rowGap, placeItems, placeContent, cells, widgetStyle, isCompletedSetup, eventService, }) => {
165
- return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: `${(widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || ""}`, style: Object.assign(Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})), { display: "grid", gridColumnGap: `${columnGap}px`, gridRowGap: `${rowGap}px`, gridTemplateColumns: `repeat(${numOfColumns}, 1fr)`, gridTemplateRows: `repeat(${noOfRows}, 1fr)`, placeItems: placeItems, placeContent: placeContent }) }, { children: cells === null || cells === void 0 ? void 0 : cells.map((cell) => (jsxRuntime.jsx(CellRenderer, Object.assign({}, cell, { isCompletedSetup: isCompletedSetup, eventService: eventService }), cell.id))) })));
165
+ return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: `${(widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || ""}`, "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, style: Object.assign(Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})), { display: "grid", gridColumnGap: `${columnGap}px`, gridRowGap: `${rowGap}px`, gridTemplateColumns: `repeat(${numOfColumns}, 1fr)`, gridTemplateRows: `repeat(${noOfRows}, 1fr)`, placeItems: placeItems, placeContent: placeContent }) }, { children: cells === null || cells === void 0 ? void 0 : cells.map((cell) => (jsxRuntime.jsx(CellRenderer, Object.assign({}, cell, { isCompletedSetup: isCompletedSetup, eventService: eventService }), cell.id))) })));
166
166
  };
167
167
 
168
168
  const LayoutRenderer$1 = ({ columnGap, rowGap, placeItems, placeContent, cells, gridTemplateColumns, gridTemplateRows, widgetStyle, isCompletedSetup, eventService, }) => {
169
- return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: `${(widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || ""}`, style: Object.assign(Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})), { display: "grid", gridColumnGap: `${columnGap}`, gridRowGap: `${rowGap}`, gridTemplateColumns: gridTemplateColumns, gridTemplateRows: gridTemplateRows, placeItems: placeItems, placeContent: placeContent }) }, { children: cells === null || cells === void 0 ? void 0 : cells.map((cell) => (jsxRuntime.jsx(CellRenderer, Object.assign({}, cell, { isCompletedSetup: isCompletedSetup, eventService: eventService }), cell.id))) })));
169
+ return (jsxRuntime.jsx("div", Object.assign({ id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", className: `${(widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || ""}`, "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, style: Object.assign(Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})), { display: "grid", gridColumnGap: `${columnGap}`, gridRowGap: `${rowGap}`, gridTemplateColumns: gridTemplateColumns, gridTemplateRows: gridTemplateRows, placeItems: placeItems, placeContent: placeContent }) }, { children: cells === null || cells === void 0 ? void 0 : cells.map((cell) => (jsxRuntime.jsx(CellRenderer, Object.assign({}, cell, { isCompletedSetup: isCompletedSetup, eventService: eventService }), cell.id))) })));
170
170
  };
171
171
 
172
172
  const LayoutRenderer = ({ columnGap, rowGap, placeItems, placeContent, cells, gridTemplateColumns, gridTemplateRows, widgetStyle, isCompletedSetup, eventService, }) => {
@@ -193,7 +193,7 @@ const LayOutRenderer = ({ layout, isCompletedSetup, eventService, }) => {
193
193
 
194
194
  function Container({ id, children = [], widgetStyle, toolTip, label, helperText, disabled, isCompletedSetup, eventService, }) {
195
195
  var _a, _b, _c;
196
- return (jsxRuntime.jsx("div", Object.assign({ id: (_a = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) !== null && _a !== void 0 ? _a : "", className: `${(_b = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) !== null && _b !== void 0 ? _b : ""}`, style: Object.assign({}, ((_c = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) !== null && _c !== void 0 ? _c : {})) }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
196
+ return (jsxRuntime.jsx("div", Object.assign({ id: (_a = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) !== null && _a !== void 0 ? _a : "", className: `${(_b = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) !== null && _b !== void 0 ? _b : ""}`, "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, style: Object.assign({}, ((_c = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) !== null && _c !== void 0 ? _c : {})) }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
197
197
  }
198
198
 
199
199
  const ContainerRenderer = (props) => {
@@ -457,22 +457,13 @@ class CentralService {
457
457
  configurable: true,
458
458
  writable: true,
459
459
  value: (response, responseConfig) => {
460
- var _a, _b;
460
+ var _a;
461
461
  const statusRelatedConfig = (responseConfig !== null && responseConfig !== void 0 ? responseConfig : {})[response === null || response === void 0 ? void 0 : response.status];
462
462
  let errorMessage = "";
463
- if ((statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.alertType) === AlertType.FIELDVALIDATION) {
464
- errorMessage = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.message;
465
- if (statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.enableMessage) {
466
- errorMessage =
467
- (statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.message) ||
468
- errorMessage ||
469
- ErrorMessageProvider.get(response.config.method, response === null || response === void 0 ? void 0 : response.status);
470
- }
471
- }
472
- else if (statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.enableMessage) {
463
+ if (statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.enableMessage) {
473
464
  errorMessage =
474
465
  (statusRelatedConfig === null || statusRelatedConfig === void 0 ? void 0 : statusRelatedConfig.message) ||
475
- ((_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.message) ||
466
+ ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.message) ||
476
467
  ErrorMessageProvider.get(response.config.method, response === null || response === void 0 ? void 0 : response.status);
477
468
  }
478
469
  return errorMessage;
@@ -570,7 +561,7 @@ var ActionType;
570
561
  ActionType["CUSTOM"] = "CUSTOM";
571
562
  ActionType["TEMPLATE"] = "TEMPLATE";
572
563
  })(ActionType || (ActionType = {}));
573
- var ValueReplacePolicy$1;
564
+ exports.ValueReplacePolicy = void 0;
574
565
  (function (ValueReplacePolicy) {
575
566
  ValueReplacePolicy["STATE"] = "STATE";
576
567
  ValueReplacePolicy["STATE_SELECTED_DATA"] = "STATE_SELECTED_DATA";
@@ -579,7 +570,7 @@ var ValueReplacePolicy$1;
579
570
  ValueReplacePolicy["SELF"] = "SELF";
580
571
  ValueReplacePolicy["QUERYPARAMS"] = "QUERYPARAMS";
581
572
  ValueReplacePolicy["ROUTEPARAMS"] = "ROUTEPARAMS";
582
- })(ValueReplacePolicy$1 || (ValueReplacePolicy$1 = {}));
573
+ })(exports.ValueReplacePolicy || (exports.ValueReplacePolicy = {}));
583
574
 
584
575
  const getValueFromNestedObject = (fieldName, object) => {
585
576
  if (!fieldName || typeof fieldName !== "string")
@@ -705,13 +696,13 @@ const routeParamHandler = (url, param, eventService, routeParams) => {
705
696
  };
706
697
 
707
698
  const replaceHandlers = {
708
- [ValueReplacePolicy$1.SELF]: selfHandler,
709
- [ValueReplacePolicy$1.STATE]: stateHandler,
710
- [ValueReplacePolicy$1.STATE_SELECTED_DATA]: stateSelectedHandler,
711
- [ValueReplacePolicy$1.STORAGE]: storageHandler,
712
- [ValueReplacePolicy$1.ENVIROMENT]: enviromentHandler,
713
- [ValueReplacePolicy$1.QUERYPARAMS]: queryParamHandler,
714
- [ValueReplacePolicy$1.ROUTEPARAMS]: routeParamHandler,
699
+ [exports.ValueReplacePolicy.SELF]: selfHandler,
700
+ [exports.ValueReplacePolicy.STATE]: stateHandler,
701
+ [exports.ValueReplacePolicy.STATE_SELECTED_DATA]: stateSelectedHandler,
702
+ [exports.ValueReplacePolicy.STORAGE]: storageHandler,
703
+ [exports.ValueReplacePolicy.ENVIROMENT]: enviromentHandler,
704
+ [exports.ValueReplacePolicy.QUERYPARAMS]: queryParamHandler,
705
+ [exports.ValueReplacePolicy.ROUTEPARAMS]: routeParamHandler,
715
706
  };
716
707
  const replaceRequestParams = (url, params, eventService, routeParams) => {
717
708
  params.forEach((param) => {
@@ -18556,11 +18547,11 @@ const getParams = (config, actionInvokerProps, selectedValue) => {
18556
18547
  (_a = config.params) === null || _a === void 0 ? void 0 : _a.forEach((p) => {
18557
18548
  var _a, _b;
18558
18549
  let value = "";
18559
- if (((_a = p === null || p === void 0 ? void 0 : p.rightOperand) === null || _a === void 0 ? void 0 : _a.valueReplacePolicy) === ValueReplacePolicy$1.STATE) {
18550
+ if (((_a = p === null || p === void 0 ? void 0 : p.rightOperand) === null || _a === void 0 ? void 0 : _a.valueReplacePolicy) === exports.ValueReplacePolicy.STATE) {
18560
18551
  value = getValueFromNestedObject(p.rightOperand.value, actionInvokerProps.viewModel);
18561
18552
  }
18562
18553
  else if (((_b = p === null || p === void 0 ? void 0 : p.rightOperand) === null || _b === void 0 ? void 0 : _b.valueReplacePolicy) ===
18563
- ValueReplacePolicy$1.STATE_SELECTED_DATA) {
18554
+ exports.ValueReplacePolicy.STATE_SELECTED_DATA) {
18564
18555
  const fields = p.rightOperand.value.split("::");
18565
18556
  let model = getValueFromNestedObject(fields[0], actionInvokerProps.viewModel);
18566
18557
  model = model === null || model === void 0 ? void 0 : model.find((m) => { var _a; return m[(_a = selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.dataItemKey) !== null && _a !== void 0 ? _a : "id"] === (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.value); });
@@ -18873,6 +18864,37 @@ class ActionInvoker {
18873
18864
  }
18874
18865
  }
18875
18866
 
18867
+ const isBoundOperand = (input) => typeof input === "object" &&
18868
+ input !== null &&
18869
+ "valueReplacePolicy" in input;
18870
+ const resolveBoundValue = (bound, viewModel) => {
18871
+ if (!isBoundOperand(bound))
18872
+ return bound;
18873
+ switch (bound.valueReplacePolicy) {
18874
+ case exports.ValueReplacePolicy.SELF:
18875
+ return bound.value;
18876
+ case exports.ValueReplacePolicy.STATE:
18877
+ return getValueFromNestedObject(bound.value, viewModel);
18878
+ default:
18879
+ return bound.value;
18880
+ }
18881
+ };
18882
+ const BOUND_PROP_NAMES = [
18883
+ "min",
18884
+ "max",
18885
+ "minDate",
18886
+ "maxDate",
18887
+ "minLength",
18888
+ "maxLength",
18889
+ "minResizeHeight",
18890
+ "maxResizeHeight",
18891
+ "minResizeWidth",
18892
+ "maxResizeWidth",
18893
+ "step",
18894
+ "placeHolder",
18895
+ "disabled",
18896
+ ];
18897
+
18876
18898
  var StandardValidationType;
18877
18899
  (function (StandardValidationType) {
18878
18900
  StandardValidationType["REQUIRED"] = "REQUIRED";
@@ -19352,7 +19374,16 @@ const useWidgetProps = (schemaElementProps, viewModel, validation, eventService,
19352
19374
  return;
19353
19375
  }
19354
19376
  const events = getEvents();
19355
- setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel, "sssss": "ss" }), events), { dynamicEvents: events }));
19377
+ setWidgetProps(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, schemaElementProps), getResolvedBoundProps()), { id: schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.id, value: getScreenDataFieldValue(), listData: getSupportiveDataFieldValue(), uiElementGroupData: getUiElementGroupData(), validations: getValidationProperty(), eventService: eventService, viewModel: viewModel }), events), { dynamicEvents: events }));
19378
+ };
19379
+ const getResolvedBoundProps = () => {
19380
+ const resolved = {};
19381
+ BOUND_PROP_NAMES.forEach((name) => {
19382
+ if (name in schemaElementProps) {
19383
+ resolved[name] = resolveBoundValue(schemaElementProps[name], viewModel);
19384
+ }
19385
+ });
19386
+ return resolved;
19356
19387
  };
19357
19388
  const getEvents = () => {
19358
19389
  if (!(schemaElementProps === null || schemaElementProps === void 0 ? void 0 : schemaElementProps.events))
@@ -19436,7 +19467,7 @@ const useWidgetProps = (schemaElementProps, viewModel, validation, eventService,
19436
19467
  };
19437
19468
 
19438
19469
  const Widget = ({ schemaElementProps, viewModel, validation, navigate, eventService, }) => {
19439
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
19470
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
19440
19471
  const widgetProps = useWidgetProps(schemaElementProps, viewModel, validation, eventService, navigate);
19441
19472
  const standardWidgets = (_a = AppDependenceyProvider.getInstance()
19442
19473
  .getWidgetProvider()) === null || _a === void 0 ? void 0 : _a.getWidgets();
@@ -19444,9 +19475,23 @@ const Widget = ({ schemaElementProps, viewModel, validation, navigate, eventServ
19444
19475
  .getTempleteWidgetProvider()) === null || _b === void 0 ? void 0 : _b.getWidgets();
19445
19476
  const customWidgets = (_c = AppDependenceyProvider.getInstance()
19446
19477
  .getCustomWidgetProvider()) === null || _c === void 0 ? void 0 : _c.getWidgets();
19447
- const WidgetComponent = (_g = (_e = (_d = customWidgets === null || customWidgets === void 0 ? void 0 : customWidgets.get) === null || _d === void 0 ? void 0 : _d.call(customWidgets, widgetProps.widgetType)) !== null && _e !== void 0 ? _e : (_f = templateWidgets === null || templateWidgets === void 0 ? void 0 : templateWidgets.get) === null || _f === void 0 ? void 0 : _f.call(templateWidgets, widgetProps.widgetType)) !== null && _g !== void 0 ? _g : (_h = standardWidgets === null || standardWidgets === void 0 ? void 0 : standardWidgets.get) === null || _h === void 0 ? void 0 : _h.call(standardWidgets, widgetProps.widgetType);
19478
+ let WidgetComponent;
19479
+ const targetFactory = widgetProps.targetWidgetFactory;
19480
+ if (targetFactory === "CUSTOM") {
19481
+ WidgetComponent = (_d = customWidgets === null || customWidgets === void 0 ? void 0 : customWidgets.get) === null || _d === void 0 ? void 0 : _d.call(customWidgets, widgetProps.widgetType);
19482
+ }
19483
+ else if (targetFactory === "TEMPLATE") {
19484
+ WidgetComponent = (_e = templateWidgets === null || templateWidgets === void 0 ? void 0 : templateWidgets.get) === null || _e === void 0 ? void 0 : _e.call(templateWidgets, widgetProps.widgetType);
19485
+ }
19486
+ else if (targetFactory === "DEFAULT") {
19487
+ WidgetComponent = (_f = standardWidgets === null || standardWidgets === void 0 ? void 0 : standardWidgets.get) === null || _f === void 0 ? void 0 : _f.call(standardWidgets, widgetProps.widgetType);
19488
+ }
19489
+ if (!WidgetComponent) {
19490
+ WidgetComponent =
19491
+ (_k = (_h = (_g = customWidgets === null || customWidgets === void 0 ? void 0 : customWidgets.get) === null || _g === void 0 ? void 0 : _g.call(customWidgets, widgetProps.widgetType)) !== null && _h !== void 0 ? _h : (_j = templateWidgets === null || templateWidgets === void 0 ? void 0 : templateWidgets.get) === null || _j === void 0 ? void 0 : _j.call(templateWidgets, widgetProps.widgetType)) !== null && _k !== void 0 ? _k : (_l = standardWidgets === null || standardWidgets === void 0 ? void 0 : standardWidgets.get) === null || _l === void 0 ? void 0 : _l.call(standardWidgets, widgetProps.widgetType);
19492
+ }
19448
19493
  if (!WidgetComponent) {
19449
- return (jsxRuntime.jsx(Skeleton, { className: "", skeletonType: (_j = schemaElementProps.skeletonType) !== null && _j !== void 0 ? _j : "", value: "LOADING..." }));
19494
+ return (jsxRuntime.jsx(Skeleton, { className: "", skeletonType: (_m = schemaElementProps.skeletonType) !== null && _m !== void 0 ? _m : "", value: "LOADING..." }));
19450
19495
  }
19451
19496
  return (jsxRuntime.jsx(WidgetComponent, Object.assign({}, widgetProps, { availableValidations: schemaElementProps.validations })));
19452
19497
  };
@@ -19491,17 +19536,17 @@ const IteratorRenderer = ({ childProps, screenDataField, isCompletedSetup, event
19491
19536
  const FormRenderer = ({ children = [], events = {}, widgetStyle, toolTip, label, helperText, disabled, method = "post", isCompletedSetup, eventService, }) => {
19492
19537
  return (jsxRuntime.jsx("form", Object.assign({ encType: "multipart/form-data", method: method, autoComplete: "off", autoFocus: true, onSubmit: (e) => {
19493
19538
  e.preventDefault();
19494
- }, className: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || "", id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", style: Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})) }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: Object.assign({}, element), isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
19539
+ }, className: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || "", "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, id: (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) || "", style: Object.assign({}, ((widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) || {})) }, { children: children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: Object.assign({}, element), isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
19495
19540
  };
19496
19541
 
19497
19542
  const Drawer = ({ children, applicableOn, id, overlay, widgetStyle, toolTip, label, helperText, disabled, isCompletedSetup, eventService, }) => {
19498
19543
  var _a, _b, _c;
19499
- return (jsxRuntime.jsx("div", Object.assign({ id: (_a = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) !== null && _a !== void 0 ? _a : "", className: `prc-drawer ${(_b = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) !== null && _b !== void 0 ? _b : ""}`, style: Object.assign({}, ((_c = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) !== null && _c !== void 0 ? _c : {})) }, { children: children === null || children === void 0 ? void 0 : children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
19544
+ return (jsxRuntime.jsx("div", Object.assign({ id: (_a = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.id) !== null && _a !== void 0 ? _a : "", className: `prc-drawer ${(_b = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) !== null && _b !== void 0 ? _b : ""}`, "data-prc-col-important": (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.important) ? (widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.className) || undefined : undefined, style: Object.assign({}, ((_c = widgetStyle === null || widgetStyle === void 0 ? void 0 : widgetStyle.inline) !== null && _c !== void 0 ? _c : {})) }, { children: children === null || children === void 0 ? void 0 : children.map((element) => (jsxRuntime.jsx(ScreenElementRenderer, { screenUIElement: element, isCompletedSetup: isCompletedSetup, eventService: eventService }, element.id))) })));
19500
19545
  };
19501
19546
 
19502
19547
  const DrawerRenderer = (props) => {
19503
- var _a, _b, _c, _d, _e, _f, _g;
19504
- return ((_a = props.overlay) === null || _a === void 0 ? void 0 : _a.enabled) ? (jsxRuntime.jsx("div", Object.assign({ id: (_c = (_b = props.overlay.widgetStyle) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : "", style: Object.assign({}, ((_e = (_d = props.overlay.widgetStyle) === null || _d === void 0 ? void 0 : _d.inline) !== null && _e !== void 0 ? _e : {})), className: `prc-drawer-shield ${(_g = (_f = props.overlay.widgetStyle) === null || _f === void 0 ? void 0 : _f.className) !== null && _g !== void 0 ? _g : ""}` }, { children: jsxRuntime.jsx(Drawer, Object.assign({}, props)) }))) : (jsxRuntime.jsx(Drawer, Object.assign({}, props)));
19548
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
19549
+ return ((_a = props.overlay) === null || _a === void 0 ? void 0 : _a.enabled) ? (jsxRuntime.jsx("div", Object.assign({ id: (_c = (_b = props.overlay.widgetStyle) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : "", style: Object.assign({}, ((_e = (_d = props.overlay.widgetStyle) === null || _d === void 0 ? void 0 : _d.inline) !== null && _e !== void 0 ? _e : {})), className: `prc-drawer-shield ${(_g = (_f = props.overlay.widgetStyle) === null || _f === void 0 ? void 0 : _f.className) !== null && _g !== void 0 ? _g : ""}`, "data-prc-col-important": ((_h = props.overlay.widgetStyle) === null || _h === void 0 ? void 0 : _h.important) ? ((_j = props.overlay.widgetStyle) === null || _j === void 0 ? void 0 : _j.className) || undefined : undefined }, { children: jsxRuntime.jsx(Drawer, Object.assign({}, props)) }))) : (jsxRuntime.jsx(Drawer, Object.assign({}, props)));
19505
19550
  };
19506
19551
 
19507
19552
  const renderLayout = (screenUIElement, isCompletedSetup, eventService) => (jsxRuntime.jsx(LayOutRenderer, { layout: screenUIElement, isCompletedSetup: isCompletedSetup, eventService: eventService }, screenUIElement.id));
@@ -20627,10 +20672,12 @@ const coreStyles = './Assets/styles/index.scss';
20627
20672
  // Utility function to get styles path
20628
20673
  const getCoreStylesPath = () => coreStyles;
20629
20674
 
20675
+ exports.BOUND_PROP_NAMES = BOUND_PROP_NAMES;
20630
20676
  exports.Core = Core$1;
20631
20677
  exports.EventService = EventService;
20632
20678
  exports.coreStyles = coreStyles;
20633
20679
  exports.default = Core$1;
20634
20680
  exports.getCoreStylesPath = getCoreStylesPath;
20635
20681
  exports.resolveAppPath = resolveAppPath;
20682
+ exports.resolveBoundValue = resolveBoundValue;
20636
20683
  //# sourceMappingURL=index.js.map