impaktapps-ui-builder 1.0.130 → 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: {
@@ -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"]),
@@ -8610,6 +8689,21 @@ function refreshPage(type, store2) {
8610
8689
  }
8611
8690
  }
8612
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
+ }
8613
8707
  }
8614
8708
  if (sessionStorage.getItem("copiedConfig")) {
8615
8709
  this.ElementPathSetter(UiSchema);
@@ -11266,6 +11360,9 @@ const buildTable = (config2, componentScope2) => {
11266
11360
  if (config2.maxPageSize) {
11267
11361
  table.config.main.maxPageSize = config2.maxPageSize;
11268
11362
  }
11363
+ if (config2.initialDensity) {
11364
+ table.config.main.initialDensity = config2.initialDensity;
11365
+ }
11269
11366
  return table;
11270
11367
  };
11271
11368
  const Box = {
@@ -12630,7 +12727,8 @@ const buildUiSchema = (config2, store2) => {
12630
12727
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
12631
12728
  columnFilterModeOptions: cellElem.filteringOptions,
12632
12729
  enableSorting: cellElem.enableSorting === "No" ? false : true,
12633
- columnKey: cellElem.columnKey
12730
+ columnKey: cellElem.columnKey,
12731
+ dateFormat: cellElem.dateFormat
12634
12732
  };
12635
12733
  if (cellElem.type) {
12636
12734
  const tableElem = {
@@ -12662,7 +12760,8 @@ const buildUiSchema = (config2, store2) => {
12662
12760
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
12663
12761
  columnFilterModeOptions: cellElem.filteringOptions,
12664
12762
  enableSorting: cellElem.enableSorting === "No" ? false : true,
12665
- columnKey: cellElem.columnKey
12763
+ columnKey: cellElem.columnKey,
12764
+ dateFormat: cellElem.dateFormat
12666
12765
  };
12667
12766
  if (cellElem.type) {
12668
12767
  if (cellElem.elementType == "action") {