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.
- package/dist/impaktapps-ui-builder.es.js +10 -11
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +3 -7
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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"]),
|