impaktapps-ui-builder 1.0.81-checkBox.3 → 1.0.81-fileInput.0

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.
@@ -6259,9 +6259,7 @@ const ComponentSchema = {
6259
6259
  { title: "Upload", const: "UploadFile" },
6260
6260
  { title: "Tree ", const: "TreeMap" },
6261
6261
  { title: "Column Group", const: "ColumnGroup" },
6262
- { title: "Thought of the day", const: "Thought" },
6263
- { title: "File Upload Icon", const: "UploadFileIcon" },
6264
- { title: "File Delete Icon", const: "DeleteFileIcon" }
6262
+ { title: "Thought of the day", const: "Thought" }
6265
6263
  ]
6266
6264
  },
6267
6265
  elementType: {
@@ -6275,8 +6273,7 @@ const ComponentSchema = {
6275
6273
  oneOf: [
6276
6274
  { title: "Date Column", const: "date" },
6277
6275
  { title: "DateTime Column", const: "dateTime" },
6278
- { title: "Amount Column", const: "amount" },
6279
- { title: "Center Column", const: "action" }
6276
+ { title: "Amount Column", const: "amount" }
6280
6277
  ]
6281
6278
  },
6282
6279
  variant: {
@@ -7915,10 +7912,10 @@ const buildPropertiesSection = function(type) {
7915
7912
  emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
7916
7913
  ];
7917
7914
  break;
7918
- case "CheckBox":
7915
+ case "FileInput":
7919
7916
  uiSchema.elements = [
7920
- getRadioInputField("isTableSelect", "Is Table Select", ["YES", "NO"]),
7921
- emptyBox$1("CheckBoxEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
7917
+ getSelectField("variant", "Variant"),
7918
+ emptyBox$1("FileInput1", { xs: 6, sm: 6, md: 8, lg: 9 })
7922
7919
  ];
7923
7920
  break;
7924
7921
  }
@@ -8402,8 +8399,6 @@ const sectionLabels = {
8402
8399
  SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8403
8400
  card: ["Core", "Properties", "Events", "Style", "Validation"],
8404
8401
  UploadFile: ["Core", "Events", "Style", "Validation"],
8405
- UploadFileIcon: ["Core", "Events", "Style", "Validation"],
8406
- DeleteFileIcon: ["Core", "Events", "Style"],
8407
8402
  Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8408
8403
  DownloadFile: ["Core", "Events", "Style", "Validation"],
8409
8404
  Box: ["Core", "Properties", "Events", "Style", "Validation"],
@@ -8428,7 +8423,7 @@ const sectionLabels = {
8428
8423
  Date: ["Core", "Properties", "Events", "Style", "Validation"],
8429
8424
  DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
8430
8425
  Image: ["Core", "Properties", "Style"],
8431
- CheckBox: ["Core", "Properties", "Events", "Style", "Validation"]
8426
+ FileInput: ["Core", "Properties", "Events", "Style", "Validation"]
8432
8427
  };
8433
8428
  function refreshPage(type, store2) {
8434
8429
  var _a, _b;
@@ -8941,7 +8936,6 @@ const EventSchema = {
8941
8936
  { title: "Start", const: "onStart" },
8942
8937
  { title: "Cell Render", const: "onCellRenderer" },
8943
8938
  { title: "Upload", const: "onUpload" },
8944
- { title: "FileDelete", const: "onFileDelete" },
8945
8939
  { title: "Download", const: "onDownload" },
8946
8940
  { title: "Back", const: "onBack" },
8947
8941
  { title: "Next", const: "onNext" },
@@ -11216,21 +11210,6 @@ const downloadFile = {
11216
11210
  "widget": "DownloadFile"
11217
11211
  }
11218
11212
  };
11219
- const uploadFileIcon = {
11220
- "type": "Control",
11221
- "scope": "#/properties/uploadFileIcon",
11222
- "config": {
11223
- "main": {
11224
- "onUpload": "onFileUpload",
11225
- "errorMessage": "Attachment File is not uploaded"
11226
- },
11227
- "style": {},
11228
- layout: { xs: 6, sm: 6, md: 4, lg: 3 }
11229
- },
11230
- "options": {
11231
- "widget": "UploadFileIcon"
11232
- }
11233
- };
11234
11213
  const buildUploadFile = (config2, componentScope2) => {
11235
11214
  const UploadFile = _.cloneDeep(uploadFile);
11236
11215
  UploadFile.scope = componentScope2;
@@ -11758,9 +11737,6 @@ const buildCheckbox = (config2, componentScope2) => {
11758
11737
  if (config2.style) {
11759
11738
  check.config.style = JSON.parse(config2.style);
11760
11739
  }
11761
- if (config2.isTableSelect) {
11762
- check.config.isTableSelect = config2.isTableSelect === "YES" ? true : false;
11763
- }
11764
11740
  return check;
11765
11741
  };
11766
11742
  const buildLineGraph = (config2, componentScope2) => {
@@ -12264,45 +12240,6 @@ const buildImage = (config2, componentScope2) => {
12264
12240
  }
12265
12241
  return image;
12266
12242
  };
12267
- const buildUploadFileIcon = (config2, componentScope2) => {
12268
- const UploadFileIcon = _.cloneDeep(uploadFileIcon);
12269
- UploadFileIcon.scope = componentScope2;
12270
- UploadFileIcon.config.main.label = config2.label;
12271
- if (config2.layout) {
12272
- UploadFileIcon.config.layout = createLayoutFormat(config2.layout);
12273
- }
12274
- if (config2.style) {
12275
- UploadFileIcon.config.style = JSON.parse(config2.style);
12276
- }
12277
- UploadFileIcon.config.main.errorMessage = config2.errorMessage;
12278
- return UploadFileIcon;
12279
- };
12280
- const deleteFileIcon = {
12281
- "type": "Control",
12282
- "scope": "#/properties/deleteFileIcon",
12283
- "config": {
12284
- "main": {
12285
- "onFileDelete": "onFileDelete"
12286
- },
12287
- "style": {},
12288
- layout: { xs: 6, sm: 6, md: 4, lg: 3 }
12289
- },
12290
- "options": {
12291
- "widget": "DeleteFileIcon"
12292
- }
12293
- };
12294
- const buildDeleteFileIcon = (config2, componentScope2) => {
12295
- const DeleteFileIcon = _.cloneDeep(deleteFileIcon);
12296
- DeleteFileIcon.scope = componentScope2;
12297
- DeleteFileIcon.config.main.label = config2.label;
12298
- if (config2.layout) {
12299
- DeleteFileIcon.config.layout = createLayoutFormat(config2.layout);
12300
- }
12301
- if (config2.style) {
12302
- DeleteFileIcon.config.style = JSON.parse(config2.style);
12303
- }
12304
- return DeleteFileIcon;
12305
- };
12306
12243
  let schema = {
12307
12244
  type: "object",
12308
12245
  properties: {},
@@ -12563,12 +12500,6 @@ const buildUiSchema = (config2, store2) => {
12563
12500
  case "Image":
12564
12501
  elements = buildImage(config2, componentScope2);
12565
12502
  break;
12566
- case "UploadFileIcon":
12567
- elements = buildUploadFileIcon(config2, componentScope2);
12568
- break;
12569
- case "DeleteFileIcon":
12570
- elements = buildDeleteFileIcon(config2, componentScope2);
12571
- break;
12572
12503
  default:
12573
12504
  schema = {
12574
12505
  type: "object",