impaktapps-ui-builder 1.0.99 → 1.0.101
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 +71 -16
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +5 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +10 -2
|
@@ -55,7 +55,7 @@ export declare const getTextArea: (scope: string, heading: string, hideButton: b
|
|
|
55
55
|
};
|
|
56
56
|
export declare const getSelectField: (scope: string, label: string, options: {
|
|
57
57
|
label: string;
|
|
58
|
-
value: string;
|
|
58
|
+
value: string | number;
|
|
59
59
|
}[]) => {
|
|
60
60
|
type: string;
|
|
61
61
|
scope: string;
|
|
@@ -72,6 +72,10 @@ export declare const getSelectField: (scope: string, label: string, options: {
|
|
|
72
72
|
main: {
|
|
73
73
|
label: string;
|
|
74
74
|
type: string;
|
|
75
|
+
options: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: string | number;
|
|
78
|
+
}[];
|
|
75
79
|
};
|
|
76
80
|
};
|
|
77
81
|
};
|
package/package.json
CHANGED
|
@@ -209,7 +209,7 @@ export const getTextArea = (scope: string, heading: string, hideButton: boolean,
|
|
|
209
209
|
},
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
export const getSelectField = (scope: string, label: string, options: { label: string, value: string }[]) => {
|
|
212
|
+
export const getSelectField = (scope: string, label: string, options: { label: string, value: string | number }[]) => {
|
|
213
213
|
return {
|
|
214
214
|
type: "Control",
|
|
215
215
|
scope: `#/properties/${scope}`,
|
|
@@ -222,7 +222,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
|
|
|
222
222
|
main: {
|
|
223
223
|
label: label,
|
|
224
224
|
type: "text",
|
|
225
|
-
|
|
225
|
+
options: options
|
|
226
226
|
},
|
|
227
227
|
},
|
|
228
228
|
}
|
|
@@ -479,6 +479,14 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
479
479
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
480
480
|
getInputField("selectKey", "Selection Key"),
|
|
481
481
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
482
|
+
getSelectField("maxPageSize", "Max Page Size", [
|
|
483
|
+
{ label: "10", value: 10 },
|
|
484
|
+
{ label: "20", value: 20 },
|
|
485
|
+
{ label: "30", value: 30 },
|
|
486
|
+
{ label: "50", value: 50 },
|
|
487
|
+
{ label: "100", value: 100 },
|
|
488
|
+
{ label: "500", value: 500 }
|
|
489
|
+
]),
|
|
482
490
|
buildWrapper("Tree Table Properties", [
|
|
483
491
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
484
492
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|