impaktapps-ui-builder 1.0.396 → 1.0.405

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.
@@ -6280,7 +6280,8 @@ const ComponentSchema = {
6280
6280
  { title: "Timer", const: "Timer" },
6281
6281
  { title: "Upload", const: "UploadFile" },
6282
6282
  { title: "Tree ", const: "TreeMap" },
6283
- { title: "Thought of the day", const: "Thought" }
6283
+ { title: "Thought of the day", const: "Thought" },
6284
+ { title: "PDF", const: "PdfViewer" }
6284
6285
  ]
6285
6286
  },
6286
6287
  elementType: {
@@ -8250,12 +8251,11 @@ const buildPropertiesSection = function(type) {
8250
8251
  buildWrapper("Tree Table Properties", [
8251
8252
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
8252
8253
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8253
- getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
8254
8254
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8255
8255
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8256
8256
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8257
8257
  getInputField("defaultColumnSize", "Default Column Size"),
8258
- getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
8258
+ ,
8259
8259
  emptyBox$1("LazyLoadingTableEmpty3")
8260
8260
  ]),
8261
8261
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -8290,6 +8290,12 @@ const buildPropertiesSection = function(type) {
8290
8290
  getSelectField("toolTipPosition", "Tooltip Position")
8291
8291
  ];
8292
8292
  break;
8293
+ case "PdfViewer":
8294
+ uiSchema.elements = [
8295
+ getInputField("scale", "Zoom"),
8296
+ emptyBox$1("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
8297
+ ];
8298
+ break;
8293
8299
  case "Date":
8294
8300
  uiSchema.elements = [
8295
8301
  getSelectField("variant", "Variant"),
@@ -8865,6 +8871,7 @@ const sectionLabels = {
8865
8871
  TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
8866
8872
  PopUp: ["Core", "Components", "Properties", "Events", "Style"],
8867
8873
  PopOver: ["Core", "Components", "Properties", "Style"],
8874
+ PdfViewer: ["Core", "Properties", "Style"],
8868
8875
  Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8869
8876
  DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8870
8877
  InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -10917,8 +10924,7 @@ var service = (funcParams) => {
10917
10924
  { key: "sorting", value: paginationValues.sorting || [] },
10918
10925
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10919
10926
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10920
- { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10921
- { key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
10927
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
10922
10928
  ];
10923
10929
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10924
10930
  return response == null ? void 0 : response.data;
@@ -11715,15 +11721,9 @@ const buildTable = (config2, componentScope2) => {
11715
11721
  if (config2.lazyLoading) {
11716
11722
  table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11717
11723
  }
11718
- if (config2.lazyLoadTree) {
11719
- table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
11720
- }
11721
11724
  if (config2.defaultColumnSize) {
11722
11725
  table.config.main.defaultColumnSize = config2.defaultColumnSize;
11723
11726
  }
11724
- if (config2.subRowsExpansionPageSize) {
11725
- table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
11726
- }
11727
11727
  if (config2.enableRowMovement) {
11728
11728
  table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
11729
11729
  }
@@ -13192,6 +13192,36 @@ const buildOTP_Input = (config2, componentScope2) => {
13192
13192
  OTP.config.main.length = +config2.length;
13193
13193
  return OTP;
13194
13194
  };
13195
+ var pdfViewer = {
13196
+ type: "Control",
13197
+ scope: "#/properties/pdfviewer",
13198
+ options: {
13199
+ widget: "PdfViewer"
13200
+ },
13201
+ config: {
13202
+ layout: {
13203
+ xs: 12,
13204
+ sm: 12,
13205
+ md: 12,
13206
+ lg: 12
13207
+ },
13208
+ main: {
13209
+ title: "PDF"
13210
+ }
13211
+ }
13212
+ };
13213
+ const buildPdfViewer = (config2, componentScope2) => {
13214
+ const PdfViewer = _.cloneDeep(pdfViewer);
13215
+ PdfViewer.scope = componentScope2;
13216
+ PdfViewer.config.main.scale = config2.scale;
13217
+ if (config2.layout) {
13218
+ PdfViewer.config.layout = createLayoutFormat(config2.layout);
13219
+ }
13220
+ if (config2.style) {
13221
+ PdfViewer.config.style = JSON.parse(config2.style);
13222
+ }
13223
+ return PdfViewer;
13224
+ };
13195
13225
  let schema = {
13196
13226
  type: "object",
13197
13227
  properties: {},
@@ -13422,6 +13452,9 @@ const buildUiSchema = (config2, store2) => {
13422
13452
  case "Camera":
13423
13453
  elements = buildCamera(config2, componentScope2);
13424
13454
  break;
13455
+ case "PdfViewer":
13456
+ elements = buildPdfViewer(config2, componentScope2);
13457
+ break;
13425
13458
  default:
13426
13459
  schema = {
13427
13460
  type: "object",