impaktapps-ui-builder 1.0.50-alpha.21 → 1.0.50-alpha.23

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.
@@ -6304,23 +6304,6 @@ const ComponentSchema = {
6304
6304
  { title: "Amount Column", const: "amount" }
6305
6305
  ]
6306
6306
  },
6307
- filterVariant: {
6308
- oneOf: [
6309
- { title: "Text", const: "text" },
6310
- { title: "Autocomplete", const: "autocomplete" },
6311
- { title: "Select", const: "select" },
6312
- { title: "Multi-Select", const: "multi-select" },
6313
- { title: "Range", const: "range" },
6314
- { title: "Range Slider", const: "range-slider" },
6315
- { title: "Date", const: "date" },
6316
- { title: "DateTime", const: "datetime" },
6317
- { title: "Date Range", const: "date-range" },
6318
- { title: "DateTime Range", const: "datetime-range" },
6319
- { title: "Time", const: "time" },
6320
- { title: "Time Range", const: "time-range" },
6321
- { title: "Checkbox", const: "checkbox" }
6322
- ]
6323
- },
6324
6307
  orientation: {
6325
6308
  oneOf: [
6326
6309
  { title: "Horizontal", const: "horizontal" },
@@ -6567,33 +6550,7 @@ const ComponentSchema = {
6567
6550
  { title: "Error Icon", const: "ErrorIcon" },
6568
6551
  { title: "Refresh Icon", const: "RefreshIcon" },
6569
6552
  { title: "Download Icon", const: "DownloadIcon" },
6570
- { title: "Exception Icon", const: "ExceptionIcon" },
6571
- { "title": "Alarm Icon", "const": "AlarmIcon" },
6572
- { "title": "Click Icon", "const": "ClickIcon" },
6573
- { "title": "Content Copy Icon", "const": "ContentCopyIcon" },
6574
- { "title": "File Copy Icon", "const": "FileCopyIcon" },
6575
- { "title": "Pause Icon", "const": "PauseIcon" },
6576
- { "title": "Play Icon", "const": "PlayIcon" },
6577
- { "title": "Close Icon", "const": "CloseIcon" },
6578
- { "title": "Replay Icon", "const": "ReplayIcon" },
6579
- { "title": "Delete Icon", "const": "DeleteIcon" },
6580
- { "title": "Drafts Icon", "const": "DraftsIcon" },
6581
- { "title": "Perm Phone Msg Icon", "const": "PermPhoneMsgIcon" },
6582
- { "title": "Paste Icon", "const": "PasteIcon" },
6583
- { "title": "Prev Icon", "const": "PrevIcon" },
6584
- { "title": "Verified Icon", "const": "VerifiedIcon" },
6585
- { "title": "Table Add Icon", "const": "TableAddIcon" },
6586
- { "title": "Table Download Icon", "const": "TableDownloadIcon" },
6587
- { "title": "Audit Trail Icon", "const": "AuditTrailIcon" },
6588
- { "title": "View Component", "const": "View" },
6589
- { "title": "Table Edit Icon", "const": "TableEditIcon" },
6590
- { "title": "Maximize Icon", "const": "Maximize" },
6591
- { "title": "Minimize Icon", "const": "Minimize" },
6592
- { "title": "Subtract Icon", "const": "Subtract" },
6593
- { "title": "Bin Icon", "const": "Bin" },
6594
- { "title": "Export Icon", "const": "Export" },
6595
- { "title": "Table Paste Icon", "const": "TablePaste" },
6596
- { "title": "Clone Icon", "const": "CloneIcon" }
6553
+ { title: "Exception Icon", const: "ExceptionIcon" }
6597
6554
  ]
6598
6555
  },
6599
6556
  color: {
@@ -8562,18 +8519,6 @@ function refreshPage(type, store2) {
8562
8519
  label: "Element Type"
8563
8520
  }
8564
8521
  }
8565
- }, UiSchema.elements[0].elements[0].elements[10] = {
8566
- type: "Control",
8567
- scope: "#/properties/filterVariant",
8568
- options: {
8569
- widget: "SelectInputField"
8570
- },
8571
- config: {
8572
- layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8573
- main: {
8574
- label: "Filter Variant"
8575
- }
8576
- }
8577
8522
  };
8578
8523
  }
8579
8524
  if (sessionStorage.getItem("copiedConfig")) {
@@ -10337,7 +10282,7 @@ var service = (funcParams) => {
10337
10282
  };
10338
10283
  return {
10339
10284
  setPage: async function() {
10340
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
10285
+ var _a, _b, _c;
10341
10286
  funcParams.store.setAdditionalErrors([]);
10342
10287
  funcParams.store.setFormdata({});
10343
10288
  funcParams.store.setSchema({ type: "object", properties: {} });
@@ -10347,116 +10292,11 @@ var service = (funcParams) => {
10347
10292
  const config2 = pageData == null ? void 0 : pageData.config;
10348
10293
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10349
10294
  const event2 = new CustomEvent("pageNameChanged", {
10350
- detail: { pageName: config2.label }
10295
+ detail: { pageName: config2.label, hasBackIcon: true }
10351
10296
  });
10352
10297
  window.dispatchEvent(event2);
10353
- const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10354
- uiSchema.elements.push(
10355
- {
10356
- type: "HorizontalLayout",
10357
- config: {
10358
- main: {
10359
- direction: "row"
10360
- },
10361
- style: {
10362
- flexDirection: "row",
10363
- position: "absolute",
10364
- bottom: 0,
10365
- height: "fit-content",
10366
- overflow: "hidden",
10367
- zIndex: 1e3,
10368
- width: "inherit"
10369
- }
10370
- },
10371
- elements: [
10372
- {
10373
- type: "Control",
10374
- scope: "#/properties/FooterText",
10375
- options: {
10376
- widget: "Box"
10377
- },
10378
- config: {
10379
- main: {
10380
- heading: "Copywriter@ACT21.IO"
10381
- },
10382
- style: {
10383
- color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
10384
- fontSize: "11px",
10385
- textAlign: "center",
10386
- lineHeight: 2,
10387
- width: "fit-content",
10388
- left: "50%",
10389
- position: "relative",
10390
- margin: 0,
10391
- flexGrow: 1,
10392
- height: 0,
10393
- transform: "translate(-50%, 0%)"
10394
- }
10395
- }
10396
- },
10397
- {
10398
- type: "Control",
10399
- scope: "#/properties/FooterBackIcon",
10400
- options: {
10401
- widget: "Box"
10402
- },
10403
- config: {
10404
- main: {
10405
- iconName: "PrevIcon",
10406
- onClick: "backHandler",
10407
- width: "fit-content"
10408
- },
10409
- style: {
10410
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
10411
- width: 20,
10412
- height: 0,
10413
- top: 0,
10414
- right: { xs: "12px", sm: "84px" },
10415
- position: "absolute",
10416
- fontSize: "12px",
10417
- cursor: "pointer",
10418
- ":hover": {
10419
- fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
10420
- },
10421
- marginRight: "20px"
10422
- }
10423
- }
10424
- },
10425
- {
10426
- type: "Control",
10427
- scope: "#/properties/FooterBackHandlerText",
10428
- options: {
10429
- widget: "Box"
10430
- },
10431
- config: {
10432
- main: {
10433
- heading: "Previous Page",
10434
- onClick: "backHandler"
10435
- },
10436
- style: {
10437
- display: { xs: "none", sm: "flex" },
10438
- textAlign: "left",
10439
- lineHeight: 1,
10440
- height: 0,
10441
- width: "fit-content",
10442
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
10443
- fontSize: "12px",
10444
- cursor: "pointer",
10445
- marginLeft: "2px",
10446
- top: 3,
10447
- right: "12px",
10448
- position: "absolute",
10449
- ":hover": {
10450
- color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
10451
- },
10452
- marginRight: "4px"
10453
- }
10454
- }
10455
- }
10456
- ]
10457
- }
10458
- );
10459
- const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
10298
+ (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10299
+ const schema2 = (_c = pageData == null ? void 0 : pageData.schema) != null ? _c : { type: "object", properties: {} };
10460
10300
  eventGroups = extractEvents(config2);
10461
10301
  executeEventsParameters = {
10462
10302
  config: {},
@@ -12623,8 +12463,7 @@ const buildUiSchema = (config2, store2) => {
12623
12463
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
12624
12464
  columnFilterModeOptions: cellElem.filteringOptions,
12625
12465
  enableSorting: cellElem.enableSorting === "No" ? false : true,
12626
- columnKey: cellElem.columnKey,
12627
- filterVariant: cellElem.filterVariant
12466
+ columnKey: cellElem.columnKey
12628
12467
  };
12629
12468
  if (cellElem.type) {
12630
12469
  if (cellElem.elementType == "action") {