impaktapps-ui-builder 1.0.129 → 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.
@@ -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: {
@@ -6690,7 +6698,67 @@ const componentBasicUiSchema = (theme) => {
6690
6698
  },
6691
6699
  {
6692
6700
  type: "Control",
6693
- scope: "#/properties/proc",
6701
+ scope: "#/properties/proc5",
6702
+ config: {
6703
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6704
+ },
6705
+ options: {
6706
+ widget: "EmptyBox"
6707
+ }
6708
+ },
6709
+ {
6710
+ type: "Control",
6711
+ scope: "#/properties/proc6",
6712
+ config: {
6713
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6714
+ },
6715
+ options: {
6716
+ widget: "EmptyBox"
6717
+ }
6718
+ },
6719
+ {
6720
+ type: "Control",
6721
+ scope: "#/properties/proc7",
6722
+ config: {
6723
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6724
+ },
6725
+ options: {
6726
+ widget: "EmptyBox"
6727
+ }
6728
+ },
6729
+ {
6730
+ type: "Control",
6731
+ scope: "#/properties/proc8",
6732
+ config: {
6733
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6734
+ },
6735
+ options: {
6736
+ widget: "EmptyBox"
6737
+ }
6738
+ },
6739
+ {
6740
+ type: "Control",
6741
+ scope: "#/properties/proc9",
6742
+ config: {
6743
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6744
+ },
6745
+ options: {
6746
+ widget: "EmptyBox"
6747
+ }
6748
+ },
6749
+ {
6750
+ type: "Control",
6751
+ scope: "#/properties/proc10",
6752
+ config: {
6753
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6754
+ },
6755
+ options: {
6756
+ widget: "EmptyBox"
6757
+ }
6758
+ },
6759
+ {
6760
+ type: "Control",
6761
+ scope: "#/properties/proc11",
6694
6762
  config: {
6695
6763
  layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6696
6764
  },
@@ -7210,6 +7278,76 @@ const CoreSection = {
7210
7278
  }
7211
7279
  }
7212
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
+ },
7213
7351
  {
7214
7352
  type: "Control",
7215
7353
  scope: "#/properties/proc",
@@ -7872,6 +8010,7 @@ const buildPropertiesSection = function(type) {
7872
8010
  getInputField("selectKey", "Selection Key"),
7873
8011
  getMultiSelectField("filteringOptions", "Filtering Options"),
7874
8012
  getSelectField("maxPageSize", "Max Page Size"),
8013
+ getSelectField("initialDensity", "Initial Toggle Density"),
7875
8014
  buildWrapper("Tree Table Properties", [
7876
8015
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
7877
8016
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
@@ -8465,7 +8604,7 @@ function refreshPage(type, store2) {
8465
8604
  };
8466
8605
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8467
8606
  UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8468
- UiSchema.elements[0].elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8607
+ UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8469
8608
  }
8470
8609
  const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8471
8610
  const lastDotIndex = path.lastIndexOf(".");
@@ -11206,6 +11345,9 @@ const buildTable = (config2, componentScope2) => {
11206
11345
  if (config2.maxPageSize) {
11207
11346
  table.config.main.maxPageSize = config2.maxPageSize;
11208
11347
  }
11348
+ if (config2.initialDensity) {
11349
+ table.config.main.initialDensity = config2.initialDensity;
11350
+ }
11209
11351
  return table;
11210
11352
  };
11211
11353
  const Box = {