impaktapps-ui-builder 1.0.129 → 1.0.131-alpha.1

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(".");
@@ -8550,6 +8689,21 @@ function refreshPage(type, store2) {
8550
8689
  }
8551
8690
  }
8552
8691
  };
8692
+ if (store2.formData.columnFormat === "DateTimeFormat") {
8693
+ UiSchema.elements[0].elements[0].elements[10] = {
8694
+ type: "Control",
8695
+ scope: "#/properties/dateFormat",
8696
+ options: {
8697
+ widget: "SelectInputField"
8698
+ },
8699
+ config: {
8700
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8701
+ main: {
8702
+ label: "Date Time Format"
8703
+ }
8704
+ }
8705
+ };
8706
+ }
8553
8707
  }
8554
8708
  if (sessionStorage.getItem("copiedConfig")) {
8555
8709
  this.ElementPathSetter(UiSchema);
@@ -11206,6 +11360,9 @@ const buildTable = (config2, componentScope2) => {
11206
11360
  if (config2.maxPageSize) {
11207
11361
  table.config.main.maxPageSize = config2.maxPageSize;
11208
11362
  }
11363
+ if (config2.initialDensity) {
11364
+ table.config.main.initialDensity = config2.initialDensity;
11365
+ }
11209
11366
  return table;
11210
11367
  };
11211
11368
  const Box = {
@@ -12570,7 +12727,8 @@ const buildUiSchema = (config2, store2) => {
12570
12727
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
12571
12728
  columnFilterModeOptions: cellElem.filteringOptions,
12572
12729
  enableSorting: cellElem.enableSorting === "No" ? false : true,
12573
- columnKey: cellElem.columnKey
12730
+ columnKey: cellElem.columnKey,
12731
+ dateFormat: cellElem.dateFormat
12574
12732
  };
12575
12733
  if (cellElem.type) {
12576
12734
  const tableElem = {
@@ -12602,7 +12760,8 @@ const buildUiSchema = (config2, store2) => {
12602
12760
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
12603
12761
  columnFilterModeOptions: cellElem.filteringOptions,
12604
12762
  enableSorting: cellElem.enableSorting === "No" ? false : true,
12605
- columnKey: cellElem.columnKey
12763
+ columnKey: cellElem.columnKey,
12764
+ dateFormat: cellElem.dateFormat
12606
12765
  };
12607
12766
  if (cellElem.type) {
12608
12767
  if (cellElem.elementType == "action") {