impaktapps-ui-builder 1.0.302 → 1.0.320

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.
@@ -6272,7 +6272,7 @@ const ComponentSchema = {
6272
6272
  { title: "Rank", const: "Rank" },
6273
6273
  { title: "Rank Card", const: "RankCard" },
6274
6274
  { title: "Metric Card", const: "MetricCard" },
6275
- { title: "Runner Boy", const: "RunnerBoyProgressBar" },
6275
+ { title: "Bow and Arrow", const: "RunnerBoyProgressBar" },
6276
6276
  { title: "Table", const: "Table" },
6277
6277
  { title: "Tabs", const: "TabSection" },
6278
6278
  { title: "Text", const: "Text" },
@@ -6280,8 +6280,7 @@ 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" },
6284
- { title: "PDF", const: "PdfViewer" }
6283
+ { title: "Thought of the day", const: "Thought" }
6285
6284
  ]
6286
6285
  },
6287
6286
  elementType: {
@@ -6363,15 +6362,6 @@ const ComponentSchema = {
6363
6362
  { title: "Right", const: "right" }
6364
6363
  ]
6365
6364
  },
6366
- maxWidth: {
6367
- oneOf: [
6368
- { title: "Extra Small", const: "xs" },
6369
- { title: "Small", const: "sm" },
6370
- { title: "Medium", const: "md" },
6371
- { title: "Large", const: "lg" },
6372
- { title: "Extra Large", const: "xl" }
6373
- ]
6374
- },
6375
6365
  toolTipPosition: {
6376
6366
  oneOf: [
6377
6367
  { title: "Top", const: "top" },
@@ -8299,16 +8289,6 @@ const buildPropertiesSection = function(type) {
8299
8289
  getSelectField("toolTipPosition", "Tooltip Position")
8300
8290
  ];
8301
8291
  break;
8302
- case "PdfViewer":
8303
- uiSchema.elements = [
8304
- getInputField("title", "title"),
8305
- getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
8306
- getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
8307
- getInputField("maxWidth", "Max. Width"),
8308
- getSelectField("maxWidth", "Max Width"),
8309
- getInputField("scale", "Zoom Factor")
8310
- ];
8311
- break;
8312
8292
  case "Date":
8313
8293
  uiSchema.elements = [
8314
8294
  getSelectField("variant", "Variant"),
@@ -8884,7 +8864,6 @@ const sectionLabels = {
8884
8864
  TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
8885
8865
  PopUp: ["Core", "Components", "Properties", "Style"],
8886
8866
  PopOver: ["Core", "Components", "Properties", "Style"],
8887
- PdfViewer: ["Core", "Components", "Properties", "Style"],
8888
8867
  Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8889
8868
  DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8890
8869
  InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -13182,40 +13161,6 @@ const buildOTP_Input = (config2, componentScope2) => {
13182
13161
  OTP.config.main.length = +config2.length;
13183
13162
  return OTP;
13184
13163
  };
13185
- var pdfViewer = {
13186
- type: "Control",
13187
- scope: "#/properties/pdfviewer",
13188
- options: {
13189
- widget: "PdfViewer"
13190
- },
13191
- config: {
13192
- layout: {
13193
- xs: 12,
13194
- sm: 12,
13195
- md: 12,
13196
- lg: 12
13197
- },
13198
- main: {
13199
- title: "PDF"
13200
- }
13201
- }
13202
- };
13203
- const buildPdfViewer = (config2, componentScope2) => {
13204
- const PdfViewer = _.cloneDeep(pdfViewer);
13205
- PdfViewer.scope = componentScope2;
13206
- PdfViewer.config.main.title = config2.label;
13207
- PdfViewer.config.main.fullScreen = config2.fullScreen === "YES" ? true : false;
13208
- PdfViewer.config.main.fullWidth = config2.fullWidth === "YES" ? true : false;
13209
- PdfViewer.config.main.maxWidth = config2.maxWidth || false;
13210
- PdfViewer.config.main.scale = config2.scale;
13211
- if (config2.layout) {
13212
- PdfViewer.config.layout = createLayoutFormat(config2.layout);
13213
- }
13214
- if (config2.style) {
13215
- PdfViewer.config.style = JSON.parse(config2.style);
13216
- }
13217
- return PdfViewer;
13218
- };
13219
13164
  let schema = {
13220
13165
  type: "object",
13221
13166
  properties: {},
@@ -13446,9 +13391,6 @@ const buildUiSchema = (config2, store2) => {
13446
13391
  case "Camera":
13447
13392
  elements = buildCamera(config2, componentScope2);
13448
13393
  break;
13449
- case "PdfViewer":
13450
- elements = buildPdfViewer(config2, componentScope2);
13451
- break;
13452
13394
  default:
13453
13395
  schema = {
13454
13396
  type: "object",