impaktapps-ui-builder 0.0.95 → 0.0.97
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 +47 -9
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +10 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +5 -2
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
|
@@ -7350,7 +7350,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7350
7350
|
main: {
|
|
7351
7351
|
heading,
|
|
7352
7352
|
minRows: 8,
|
|
7353
|
-
hideButton
|
|
7353
|
+
hideButton,
|
|
7354
|
+
enableCodeEditor: true
|
|
7354
7355
|
}
|
|
7355
7356
|
}
|
|
7356
7357
|
};
|
|
@@ -7456,8 +7457,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7456
7457
|
case "TextArea":
|
|
7457
7458
|
uiSchema.elements = [
|
|
7458
7459
|
getInputField("placeholder", "Placeholder"),
|
|
7459
|
-
|
|
7460
|
-
|
|
7460
|
+
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7461
|
+
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7461
7462
|
];
|
|
7462
7463
|
break;
|
|
7463
7464
|
case "SpeedoMeter":
|
|
@@ -7538,7 +7539,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7538
7539
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7539
7540
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7540
7541
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7541
|
-
|
|
7542
|
+
getInputField("leftMargin", "Left Margin"),
|
|
7543
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
|
|
7542
7544
|
getArrayControl("legendLabels", "label"),
|
|
7543
7545
|
getArrayControl("pieArcColors", "color")
|
|
7544
7546
|
];
|
|
@@ -7568,7 +7570,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7568
7570
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
7569
7571
|
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
7570
7572
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
7571
|
-
getRadioInputField("
|
|
7573
|
+
getRadioInputField("disableGlobalSearch", "Disable Global Search", ["YES", "NO"]),
|
|
7574
|
+
getRadioInputField("disableColumnFilter", "Disable Column Filter", ["YES", "NO"]),
|
|
7572
7575
|
getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
|
|
7573
7576
|
getRadioInputField("disableEditColumn", "Disable Edit Column", ["YES", "NO"]),
|
|
7574
7577
|
getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
|
|
@@ -7577,7 +7580,6 @@ const buildPropertiesSection = function(type) {
|
|
|
7577
7580
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
7578
7581
|
getInputField("selectKey", "Selection Key"),
|
|
7579
7582
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
7580
|
-
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7581
7583
|
buildWrapper("Tree Table Properties", [
|
|
7582
7584
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7583
7585
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -10319,6 +10321,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10319
10321
|
}
|
|
10320
10322
|
};
|
|
10321
10323
|
}
|
|
10324
|
+
if (config.leftMargin) {
|
|
10325
|
+
horizontalBarGraph.config.style = {
|
|
10326
|
+
labelStyle: {
|
|
10327
|
+
margin: {
|
|
10328
|
+
left: config.leftMargin
|
|
10329
|
+
}
|
|
10330
|
+
}
|
|
10331
|
+
};
|
|
10332
|
+
}
|
|
10322
10333
|
if (config.bottomLabel) {
|
|
10323
10334
|
horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10324
10335
|
}
|
|
@@ -10475,6 +10486,15 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10475
10486
|
if (config.height) {
|
|
10476
10487
|
barGraph.config.style.containerStyle.height = config.height;
|
|
10477
10488
|
}
|
|
10489
|
+
if (config.leftMargin) {
|
|
10490
|
+
barGraph.config.style = {
|
|
10491
|
+
labelStyle: {
|
|
10492
|
+
margin: {
|
|
10493
|
+
left: config.leftMargin
|
|
10494
|
+
}
|
|
10495
|
+
}
|
|
10496
|
+
};
|
|
10497
|
+
}
|
|
10478
10498
|
if (config.bottomLabel) {
|
|
10479
10499
|
barGraph.config.main.bottomLabel = config.bottomLabel;
|
|
10480
10500
|
}
|
|
@@ -10641,7 +10661,7 @@ var Button = {
|
|
|
10641
10661
|
styleDefault: false,
|
|
10642
10662
|
icon: "",
|
|
10643
10663
|
onClick: "onClick",
|
|
10644
|
-
size: "
|
|
10664
|
+
size: "small"
|
|
10645
10665
|
},
|
|
10646
10666
|
style: {}
|
|
10647
10667
|
}
|
|
@@ -10736,8 +10756,11 @@ const buildTable = (config, componentScope) => {
|
|
|
10736
10756
|
if (config.downloadAllData) {
|
|
10737
10757
|
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10738
10758
|
}
|
|
10739
|
-
if (config.
|
|
10740
|
-
table.config.main.
|
|
10759
|
+
if (config.disableGlobalSearch) {
|
|
10760
|
+
table.config.main.disableGlobalSearch = config.disableGlobalSearch === "YES" ? true : false;
|
|
10761
|
+
}
|
|
10762
|
+
if (config.disableColumnFilter) {
|
|
10763
|
+
table.config.main.disableColumnFilter = config.disableColumnFilter === "YES" ? true : false;
|
|
10741
10764
|
}
|
|
10742
10765
|
if (config.disableSorting) {
|
|
10743
10766
|
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
@@ -11243,6 +11266,12 @@ const buildTextArea = (config, componentScope) => {
|
|
|
11243
11266
|
if (config.placeholder) {
|
|
11244
11267
|
textArea.config.main.placeholder = config.placeholder;
|
|
11245
11268
|
}
|
|
11269
|
+
if (config.enableCodeEditor) {
|
|
11270
|
+
textArea.config.main.enableCodeEditor = config.enableCodeEditor === "YES" ? true : false;
|
|
11271
|
+
}
|
|
11272
|
+
if (config.codeEditorLanguage) {
|
|
11273
|
+
textArea.config.main.codeEditorLanguage = config.codeEditorLanguage;
|
|
11274
|
+
}
|
|
11246
11275
|
textArea.scope = componentScope;
|
|
11247
11276
|
return textArea;
|
|
11248
11277
|
};
|
|
@@ -11302,6 +11331,15 @@ const buildLineGraph = (config, componentScope) => {
|
|
|
11302
11331
|
if (config.height) {
|
|
11303
11332
|
lineGraph.config.style.containerStyle.height = config.height;
|
|
11304
11333
|
}
|
|
11334
|
+
if (config.leftMargin) {
|
|
11335
|
+
lineGraph.config.style = {
|
|
11336
|
+
labelStyle: {
|
|
11337
|
+
margin: {
|
|
11338
|
+
left: config.leftMargin
|
|
11339
|
+
}
|
|
11340
|
+
}
|
|
11341
|
+
};
|
|
11342
|
+
}
|
|
11305
11343
|
if (config.bottomLabel) {
|
|
11306
11344
|
lineGraph.config.main.bottomLabel = config.bottomLabel;
|
|
11307
11345
|
}
|