impaktapps-ui-builder 1.0.130 → 1.0.131
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 +82 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -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 +5 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +75 -19
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +8 -0
|
@@ -6310,6 +6310,14 @@ const ComponentSchema = {
|
|
|
6310
6310
|
{ title: "500", const: 500 }
|
|
6311
6311
|
]
|
|
6312
6312
|
},
|
|
6313
|
+
initialDensity: {
|
|
6314
|
+
type: "string",
|
|
6315
|
+
oneOf: [
|
|
6316
|
+
{ title: "Compact", const: "compact" },
|
|
6317
|
+
{ title: "Comfortable", const: "comfortable" },
|
|
6318
|
+
{ title: "Spacious", const: "spacious" }
|
|
6319
|
+
]
|
|
6320
|
+
},
|
|
6313
6321
|
layout: {
|
|
6314
6322
|
type: "array",
|
|
6315
6323
|
items: {
|
|
@@ -7270,6 +7278,76 @@ const CoreSection = {
|
|
|
7270
7278
|
}
|
|
7271
7279
|
}
|
|
7272
7280
|
},
|
|
7281
|
+
{
|
|
7282
|
+
type: "Control",
|
|
7283
|
+
scope: "#/properties/proc5",
|
|
7284
|
+
config: {
|
|
7285
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7286
|
+
},
|
|
7287
|
+
options: {
|
|
7288
|
+
widget: "EmptyBox"
|
|
7289
|
+
}
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
type: "Control",
|
|
7293
|
+
scope: "#/properties/proc6",
|
|
7294
|
+
config: {
|
|
7295
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7296
|
+
},
|
|
7297
|
+
options: {
|
|
7298
|
+
widget: "EmptyBox"
|
|
7299
|
+
}
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
type: "Control",
|
|
7303
|
+
scope: "#/properties/proc7",
|
|
7304
|
+
config: {
|
|
7305
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7306
|
+
},
|
|
7307
|
+
options: {
|
|
7308
|
+
widget: "EmptyBox"
|
|
7309
|
+
}
|
|
7310
|
+
},
|
|
7311
|
+
{
|
|
7312
|
+
type: "Control",
|
|
7313
|
+
scope: "#/properties/proc8",
|
|
7314
|
+
config: {
|
|
7315
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7316
|
+
},
|
|
7317
|
+
options: {
|
|
7318
|
+
widget: "EmptyBox"
|
|
7319
|
+
}
|
|
7320
|
+
},
|
|
7321
|
+
{
|
|
7322
|
+
type: "Control",
|
|
7323
|
+
scope: "#/properties/proc9",
|
|
7324
|
+
config: {
|
|
7325
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7326
|
+
},
|
|
7327
|
+
options: {
|
|
7328
|
+
widget: "EmptyBox"
|
|
7329
|
+
}
|
|
7330
|
+
},
|
|
7331
|
+
{
|
|
7332
|
+
type: "Control",
|
|
7333
|
+
scope: "#/properties/proc10",
|
|
7334
|
+
config: {
|
|
7335
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7336
|
+
},
|
|
7337
|
+
options: {
|
|
7338
|
+
widget: "EmptyBox"
|
|
7339
|
+
}
|
|
7340
|
+
},
|
|
7341
|
+
{
|
|
7342
|
+
type: "Control",
|
|
7343
|
+
scope: "#/properties/proc11",
|
|
7344
|
+
config: {
|
|
7345
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7346
|
+
},
|
|
7347
|
+
options: {
|
|
7348
|
+
widget: "EmptyBox"
|
|
7349
|
+
}
|
|
7350
|
+
},
|
|
7273
7351
|
{
|
|
7274
7352
|
type: "Control",
|
|
7275
7353
|
scope: "#/properties/proc",
|
|
@@ -7932,6 +8010,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7932
8010
|
getInputField("selectKey", "Selection Key"),
|
|
7933
8011
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
7934
8012
|
getSelectField("maxPageSize", "Max Page Size"),
|
|
8013
|
+
getSelectField("initialDensity", "Initial Toggle Density"),
|
|
7935
8014
|
buildWrapper("Tree Table Properties", [
|
|
7936
8015
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7937
8016
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -11266,6 +11345,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11266
11345
|
if (config2.maxPageSize) {
|
|
11267
11346
|
table.config.main.maxPageSize = config2.maxPageSize;
|
|
11268
11347
|
}
|
|
11348
|
+
if (config2.initialDensity) {
|
|
11349
|
+
table.config.main.initialDensity = config2.initialDensity;
|
|
11350
|
+
}
|
|
11269
11351
|
return table;
|
|
11270
11352
|
};
|
|
11271
11353
|
const Box = {
|