impaktapps-ui-builder 0.0.83 → 0.0.85

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.
@@ -22,7 +22,6 @@ export declare const APISection: {
22
22
  heading: string;
23
23
  minRows: number;
24
24
  hideButton: boolean;
25
- enableCodeEditor: boolean;
26
25
  };
27
26
  };
28
27
  } | {
@@ -59,7 +59,6 @@ export declare const getTextArea: (scope: string, heading: string, hideButton: b
59
59
  heading: string;
60
60
  minRows: number;
61
61
  hideButton: boolean;
62
- enableCodeEditor: boolean;
63
62
  };
64
63
  };
65
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -58,6 +58,9 @@ export const buildTable = (config: any, componentScope: string) => {
58
58
  if(config.disableDownloadFile){
59
59
  table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false
60
60
  }
61
+ if(config.disablePagination){
62
+ table.config.main.disablePagination = config.disablePagination === "YES" ? true : false
63
+ }
61
64
  if (config.Table_Download_Keys_Name) {
62
65
  table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map(e => e.KeyName);
63
66
  }
@@ -106,6 +109,9 @@ export const buildLazyLoadingTable = (config: any, componentScope: string) => {
106
109
  if(config.disableDownloadFile){
107
110
  table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false
108
111
  }
112
+ if(config.disablePagination){
113
+ table.config.main.disablePagination = config.disablePagination === "YES" ? true : false
114
+ }
109
115
  if (config.Table_Download_Keys_Name) {
110
116
  table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map(e => e.KeyName);
111
117
  }
@@ -45,12 +45,6 @@ export const buildTextArea = (config:any,componentScope:string) =>{
45
45
  if (config.placeholder) {
46
46
  textArea.config.main.placeholder = config.placeholder;
47
47
  }
48
- if(config.enableCodeEditor){
49
- textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false
50
- }
51
- if(config.codeEditorLanguage){
52
- textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
53
- }
54
48
  textArea.scope = componentScope;
55
49
  return textArea;
56
50
  }
@@ -206,8 +206,7 @@ export const getTextArea = (scope: string, heading: string, hideButton: boolean,
206
206
  main: {
207
207
  heading: heading,
208
208
  minRows: 8,
209
- hideButton: hideButton,
210
- enableCodeEditor: true
209
+ hideButton: hideButton
211
210
  },
212
211
  },
213
212
  }
@@ -325,9 +324,7 @@ export const buildPropertiesSection = function (type: String) {
325
324
  case "TextArea":
326
325
  uiSchema.elements = [
327
326
  getInputField("placeholder", "Placeholder"),
328
- getRadioInputField("enableCodeEditor", "Enable Code Editor",["YES", "NO"]),
329
- getInputField("codeEditorLanguage", "Enter Code Language"),
330
- ]
327
+ emptyBox("TextAreaEmpty1", {xs: 6, sm: 6, md: 4, lg: 4 }), emptyBox("TextAreaEmpty2", {xs: 0, sm: 0, md: 4, lg: 4 })]
331
328
  break;
332
329
 
333
330
  case "SpeedoMeter":
@@ -448,11 +445,10 @@ export const buildPropertiesSection = function (type: String) {
448
445
  getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
449
446
  getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
450
447
  getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
448
+ getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
451
449
  getInputField("selectKey", "Selection Key"),
452
450
  getMultiSelectField("filteringOptions", "Filtering Options"),
453
451
  emptyBox("LazyLoadingTableEmpty1", {xs: 6, sm: 0, md: 4, lg: 4 }),
454
- emptyBox("LazyLoadingTableEmpty1", {xs: 6, sm: 0, md: 4, lg: 4 }),
455
-
456
452
  buildWrapper("Tree Table Properties", [
457
453
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
458
454
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),