impaktapps-ui-builder 0.0.385 → 0.0.386
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 +244 -14
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildDataGrid.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +51 -0
- package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
- package/src/impaktapps-ui-builder/builder/build/buildStepper.ts +5 -2
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +24 -8
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +4 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +96 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +37 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +40 -42
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -0
- package/src/impaktapps-ui-builder/builder/services/event.ts +1 -0
- package/src/impaktapps-ui-builder/builder/services/utils.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/events.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/service.ts +1 -1
|
@@ -24,9 +24,9 @@ const PageMasterSchema = {
|
|
|
24
24
|
},
|
|
25
25
|
template: {
|
|
26
26
|
oneOf: [
|
|
27
|
-
{ const: "
|
|
28
|
-
{ const: "
|
|
29
|
-
{ const: "
|
|
27
|
+
{ const: "Template-1", title: "template1" },
|
|
28
|
+
{ const: "Template-2", title: "template2" },
|
|
29
|
+
{ const: "Template-3", title: "template3" }
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
sectionLabels: {
|
|
@@ -41,7 +41,7 @@ const PageMasterSchema = {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
required: ["
|
|
44
|
+
required: ["label", "template"]
|
|
45
45
|
};
|
|
46
46
|
const PageMasterUiSchema = {
|
|
47
47
|
type: "HorizontalLayout",
|
|
@@ -5882,11 +5882,13 @@ const ComponentSchema = {
|
|
|
5882
5882
|
{ title: "Card", const: "card" },
|
|
5883
5883
|
{ title: "CheckBox", const: "CheckBox" },
|
|
5884
5884
|
{ title: "Container", const: "WrapperSection" },
|
|
5885
|
+
{ title: "DataGrid", const: "DataGrid" },
|
|
5885
5886
|
{ title: "Date", const: "Date" },
|
|
5886
5887
|
{ title: "Download File", const: "DownloadFile" },
|
|
5887
5888
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
5888
5889
|
{ title: "File", const: "FileInput" },
|
|
5889
5890
|
{ title: "Graph", const: "Graph" },
|
|
5891
|
+
{ title: "Input Slider", const: "InputSlider" },
|
|
5890
5892
|
{ title: "Label", const: "Box" },
|
|
5891
5893
|
{ title: "LeaderBoard", const: "LeaderBoard" },
|
|
5892
5894
|
{ title: "MultipleSelect", const: "MultipleSelect" },
|
|
@@ -5943,6 +5945,24 @@ const ComponentSchema = {
|
|
|
5943
5945
|
}
|
|
5944
5946
|
}
|
|
5945
5947
|
},
|
|
5948
|
+
cardLayout: {
|
|
5949
|
+
type: "array",
|
|
5950
|
+
items: {
|
|
5951
|
+
type: "object",
|
|
5952
|
+
properties: {
|
|
5953
|
+
key: {
|
|
5954
|
+
type: "string",
|
|
5955
|
+
oneOf: [
|
|
5956
|
+
{ title: "Extra Small", const: "xs" },
|
|
5957
|
+
{ title: "Small", const: "sm" },
|
|
5958
|
+
{ title: "Medium", const: "md" },
|
|
5959
|
+
{ title: "Large", const: "lg" }
|
|
5960
|
+
]
|
|
5961
|
+
},
|
|
5962
|
+
value: {}
|
|
5963
|
+
}
|
|
5964
|
+
}
|
|
5965
|
+
},
|
|
5946
5966
|
value: {
|
|
5947
5967
|
type: "array",
|
|
5948
5968
|
items: {
|
|
@@ -6010,6 +6030,20 @@ const ComponentSchema = {
|
|
|
6010
6030
|
}
|
|
6011
6031
|
}
|
|
6012
6032
|
},
|
|
6033
|
+
sizeHolder: {
|
|
6034
|
+
type: "array",
|
|
6035
|
+
items: {
|
|
6036
|
+
type: "object",
|
|
6037
|
+
properties: {
|
|
6038
|
+
keyName: {
|
|
6039
|
+
type: "string"
|
|
6040
|
+
},
|
|
6041
|
+
value: {
|
|
6042
|
+
type: "string"
|
|
6043
|
+
}
|
|
6044
|
+
}
|
|
6045
|
+
}
|
|
6046
|
+
},
|
|
6013
6047
|
legendLabels: {
|
|
6014
6048
|
type: "array",
|
|
6015
6049
|
items: {
|
|
@@ -6667,6 +6701,57 @@ const EmptyBox = {
|
|
|
6667
6701
|
main: {}
|
|
6668
6702
|
}
|
|
6669
6703
|
};
|
|
6704
|
+
const cardLayout = {
|
|
6705
|
+
type: "Control",
|
|
6706
|
+
scope: "#/properties/cardLayout",
|
|
6707
|
+
layout: 11.5,
|
|
6708
|
+
options: {
|
|
6709
|
+
detail: {
|
|
6710
|
+
type: "HorizontalLayout",
|
|
6711
|
+
elements: [
|
|
6712
|
+
{
|
|
6713
|
+
type: "Control",
|
|
6714
|
+
scope: "#/properties/key",
|
|
6715
|
+
options: {
|
|
6716
|
+
widget: "SelectInputField"
|
|
6717
|
+
},
|
|
6718
|
+
config: {
|
|
6719
|
+
layout: {
|
|
6720
|
+
xs: 11,
|
|
6721
|
+
sm: 11,
|
|
6722
|
+
md: 5.5,
|
|
6723
|
+
lg: 5.5
|
|
6724
|
+
},
|
|
6725
|
+
main: {
|
|
6726
|
+
label: "Screen Size"
|
|
6727
|
+
}
|
|
6728
|
+
}
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
type: "Control",
|
|
6732
|
+
scope: "#/properties/value",
|
|
6733
|
+
options: {
|
|
6734
|
+
widget: "InputField"
|
|
6735
|
+
},
|
|
6736
|
+
config: {
|
|
6737
|
+
layout: {
|
|
6738
|
+
xs: 11,
|
|
6739
|
+
sm: 11,
|
|
6740
|
+
md: 5.5,
|
|
6741
|
+
lg: 5.5
|
|
6742
|
+
},
|
|
6743
|
+
main: {
|
|
6744
|
+
label: "Value",
|
|
6745
|
+
type: "number",
|
|
6746
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6747
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6748
|
+
}
|
|
6749
|
+
}
|
|
6750
|
+
}
|
|
6751
|
+
]
|
|
6752
|
+
}
|
|
6753
|
+
}
|
|
6754
|
+
};
|
|
6670
6755
|
const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
6671
6756
|
return {
|
|
6672
6757
|
type: "Control",
|
|
@@ -6701,6 +6786,25 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6701
6786
|
}
|
|
6702
6787
|
};
|
|
6703
6788
|
};
|
|
6789
|
+
const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
|
|
6790
|
+
sizeHolder.options.detail.elements[1] = {
|
|
6791
|
+
type: "Control",
|
|
6792
|
+
scope: `#/properties/value`,
|
|
6793
|
+
options: {
|
|
6794
|
+
widget: "InputField"
|
|
6795
|
+
},
|
|
6796
|
+
config: {
|
|
6797
|
+
layout: {
|
|
6798
|
+
xs: 11,
|
|
6799
|
+
sm: 11,
|
|
6800
|
+
md: 5.5,
|
|
6801
|
+
lg: 5.5
|
|
6802
|
+
},
|
|
6803
|
+
main: {
|
|
6804
|
+
label: "Size"
|
|
6805
|
+
}
|
|
6806
|
+
}
|
|
6807
|
+
};
|
|
6704
6808
|
const getInputField = (scope, label) => {
|
|
6705
6809
|
return {
|
|
6706
6810
|
type: "Control",
|
|
@@ -6792,13 +6896,30 @@ const GraphSection = {
|
|
|
6792
6896
|
const buildPropertiesSection = function(type) {
|
|
6793
6897
|
let uiSchema = _.cloneDeep(GraphSection);
|
|
6794
6898
|
switch (type) {
|
|
6899
|
+
case "InputSlider":
|
|
6900
|
+
uiSchema.elements = [
|
|
6901
|
+
getInputField("max", "Max Limit"),
|
|
6902
|
+
getInputField("step", "Step"),
|
|
6903
|
+
getInputField("min", "Min Limit"),
|
|
6904
|
+
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"])
|
|
6905
|
+
];
|
|
6906
|
+
break;
|
|
6907
|
+
case "DataGrid":
|
|
6908
|
+
uiSchema.elements = [
|
|
6909
|
+
getRadioInputField("divider", "Use Header divider", ["YES", "NO"]),
|
|
6910
|
+
getInputField("elevation", "Card Elevation"),
|
|
6911
|
+
getInputField("height", "Grid height"),
|
|
6912
|
+
getInputField("justifyContent", "justifyContent"),
|
|
6913
|
+
cardLayout
|
|
6914
|
+
];
|
|
6915
|
+
break;
|
|
6795
6916
|
case "Stepper":
|
|
6796
6917
|
uiSchema.elements = [
|
|
6797
6918
|
getRadioInputField("resetButton", "Reset Button", ["YES", "NO"]),
|
|
6919
|
+
getRadioInputField("defaultButtonAvailable", "Use Default Buttons ", ["YES", "NO"]),
|
|
6798
6920
|
getInputField("resetText", "Reset Text"),
|
|
6799
6921
|
getInputField("completeText", "Complete Text"),
|
|
6800
6922
|
getSelectField("orientation", "Orientation Type"),
|
|
6801
|
-
EmptyBox,
|
|
6802
6923
|
getArrayControl("sectionLabels", "label")
|
|
6803
6924
|
];
|
|
6804
6925
|
break;
|
|
@@ -6911,7 +7032,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6911
7032
|
getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
|
|
6912
7033
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
6913
7034
|
getInputField("selectKey", "Selection Key"),
|
|
6914
|
-
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name")
|
|
7035
|
+
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
7036
|
+
sizeHolder
|
|
6915
7037
|
];
|
|
6916
7038
|
break;
|
|
6917
7039
|
case "Radio":
|
|
@@ -7290,8 +7412,9 @@ const getFormdataFromLocalStorage = (path) => {
|
|
|
7290
7412
|
return returnValue || pageFormdata;
|
|
7291
7413
|
};
|
|
7292
7414
|
async function saveHandler(store2, service2, submitHandler, pageName) {
|
|
7293
|
-
var _a;
|
|
7294
|
-
|
|
7415
|
+
var _a, _b;
|
|
7416
|
+
(_a = store2.searchParams) == null ? void 0 : _a.get("id");
|
|
7417
|
+
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
7295
7418
|
saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7296
7419
|
const config = JSON.parse(localStorage.getItem("pageFormdata"));
|
|
7297
7420
|
if (_.isEmpty(store2.ctx.core.errors)) {
|
|
@@ -7363,7 +7486,9 @@ const sectionLabels = {
|
|
|
7363
7486
|
Text: ["Core", "Properties", "style", "Event", "Validation"],
|
|
7364
7487
|
TextArea: ["Core", "Properties", "style", "Event", "Validation"],
|
|
7365
7488
|
PopUp: ["Core", "Components", "Properties", "style"],
|
|
7366
|
-
Stepper: ["Core", "Components", "Properties", "Event", "style"]
|
|
7489
|
+
Stepper: ["Core", "Components", "Properties", "Event", "style"],
|
|
7490
|
+
DataGrid: ["Core", "Components", "Properties", "Event", "style"],
|
|
7491
|
+
InputSlider: ["Core", "Properties", "style", "Event", "Validation"]
|
|
7367
7492
|
};
|
|
7368
7493
|
const refreshPage = (type, store2) => {
|
|
7369
7494
|
var _a;
|
|
@@ -8305,7 +8430,7 @@ async function executeInBuiltFunctionHandler(params) {
|
|
|
8305
8430
|
const makeFunc = eval(params.config.funcParametersCode);
|
|
8306
8431
|
parameter = makeFunc(params.store, params.dynamicData, params.userValue, params.parentEventOutput, params.service);
|
|
8307
8432
|
}
|
|
8308
|
-
params.serviceHolder[params.config.inBuiltFunctionType](parameter);
|
|
8433
|
+
params.serviceHolder[params.config.inBuiltFunctionType](parameter, params.service);
|
|
8309
8434
|
}
|
|
8310
8435
|
async function executeCustomHandler(params) {
|
|
8311
8436
|
const makeFunc = eval(params.config.eventCode);
|
|
@@ -8353,7 +8478,8 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
|
|
|
8353
8478
|
} else {
|
|
8354
8479
|
if (handlerResponse) {
|
|
8355
8480
|
store2.setFormdata((pre) => {
|
|
8356
|
-
|
|
8481
|
+
var _a;
|
|
8482
|
+
return { ...pre, [componentName]: eventConfig.lazyLoading ? (_a = handlerResponse == null ? void 0 : handlerResponse.data) == null ? void 0 : _a.data : handlerResponse.data };
|
|
8357
8483
|
});
|
|
8358
8484
|
await asyncOperation();
|
|
8359
8485
|
}
|
|
@@ -9464,6 +9590,9 @@ const buildWrapperSection = (config, componentScope) => {
|
|
|
9464
9590
|
if (config.style) {
|
|
9465
9591
|
wrapper.config.style = JSON.parse(config.style);
|
|
9466
9592
|
}
|
|
9593
|
+
if (config.layout) {
|
|
9594
|
+
wrapper.config.layout = createLayoutFormat(config.layout);
|
|
9595
|
+
}
|
|
9467
9596
|
return wrapper;
|
|
9468
9597
|
};
|
|
9469
9598
|
var TextInputField = {
|
|
@@ -9647,7 +9776,7 @@ const buildTable = (config, componentScope) => {
|
|
|
9647
9776
|
table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false;
|
|
9648
9777
|
}
|
|
9649
9778
|
if (config.ColumnResizingAvailable) {
|
|
9650
|
-
table.config.main.disableColumnResizing = config.ColumnResizingAvailable === "YES" ?
|
|
9779
|
+
table.config.main.disableColumnResizing = config.ColumnResizingAvailable === "YES" ? false : true;
|
|
9651
9780
|
}
|
|
9652
9781
|
if (config.DragAvailable) {
|
|
9653
9782
|
table.config.main.enableDrag = config.DragAvailable === "YES" ? true : false;
|
|
@@ -10370,11 +10499,14 @@ const buildStepper = (config, componentScope) => {
|
|
|
10370
10499
|
const stepper = _.cloneDeep(Stepper);
|
|
10371
10500
|
stepper.scope = componentScope;
|
|
10372
10501
|
stepper.config.main.resetButton = config.resetButton === "YES" ? true : false;
|
|
10502
|
+
if (config.defaultButtonAvailable) {
|
|
10503
|
+
stepper.config.main.defaultButtonAvailable = config.defaultButtonAvailable === "YES" ? true : false;
|
|
10504
|
+
}
|
|
10373
10505
|
stepper.config.main.resetText = config.resetText || "ResetData";
|
|
10374
10506
|
stepper.config.main.completeText = config.completeText || "Complete Text";
|
|
10375
10507
|
stepper.config.main.orientation = config.orientation || "horizontal";
|
|
10376
10508
|
if (config.sectionLabels) {
|
|
10377
|
-
stepper.config.main.
|
|
10509
|
+
stepper.config.main.steps = config.sectionLabels.map((e, i) => {
|
|
10378
10510
|
return { label: e.label, id: i };
|
|
10379
10511
|
});
|
|
10380
10512
|
}
|
|
@@ -10425,6 +10557,90 @@ const buildPopUp = (config, componentScope) => {
|
|
|
10425
10557
|
}
|
|
10426
10558
|
return popup;
|
|
10427
10559
|
};
|
|
10560
|
+
const dataGrid = {
|
|
10561
|
+
"type": "Control",
|
|
10562
|
+
"scope": "#/properties/dataGrid",
|
|
10563
|
+
"layout": 12,
|
|
10564
|
+
"options": {
|
|
10565
|
+
"widget": "DataGrid"
|
|
10566
|
+
},
|
|
10567
|
+
elements: [],
|
|
10568
|
+
"config": {
|
|
10569
|
+
"main": {
|
|
10570
|
+
elevation: 0,
|
|
10571
|
+
useWrapper: false
|
|
10572
|
+
},
|
|
10573
|
+
style: {}
|
|
10574
|
+
}
|
|
10575
|
+
};
|
|
10576
|
+
const buildDataGrid = (config, componentScope) => {
|
|
10577
|
+
const DataGrid = _.cloneDeep(dataGrid);
|
|
10578
|
+
DataGrid.scope = componentScope;
|
|
10579
|
+
if (config.elevation) {
|
|
10580
|
+
DataGrid.config.main.elevation = +config.elevation;
|
|
10581
|
+
}
|
|
10582
|
+
DataGrid.config.main.divider = config.divider === "NO" ? false : true;
|
|
10583
|
+
if (config.height) {
|
|
10584
|
+
DataGrid.config.main.height = `${config.height}px`;
|
|
10585
|
+
}
|
|
10586
|
+
if (config.justifyContent) {
|
|
10587
|
+
DataGrid.config.main.justifyContent = config.justifyContent;
|
|
10588
|
+
}
|
|
10589
|
+
if (config.label) {
|
|
10590
|
+
DataGrid.config.main.label = config.label;
|
|
10591
|
+
}
|
|
10592
|
+
if (config.layout) {
|
|
10593
|
+
DataGrid.config.layout = createLayoutFormat(config.layout);
|
|
10594
|
+
}
|
|
10595
|
+
if (config.cardLayout) {
|
|
10596
|
+
DataGrid.config.cardLayout = createLayoutFormat(config.cardLayout);
|
|
10597
|
+
}
|
|
10598
|
+
if (config.style) {
|
|
10599
|
+
DataGrid.config.style = JSON.parse(config.style);
|
|
10600
|
+
}
|
|
10601
|
+
return DataGrid;
|
|
10602
|
+
};
|
|
10603
|
+
const InputSlider = {
|
|
10604
|
+
type: "Control",
|
|
10605
|
+
scope: "#/properties/inputSlider",
|
|
10606
|
+
options: {
|
|
10607
|
+
widget: "InputSlider"
|
|
10608
|
+
},
|
|
10609
|
+
config: {
|
|
10610
|
+
layout: 12,
|
|
10611
|
+
main: {
|
|
10612
|
+
limitToMax: false,
|
|
10613
|
+
max: 1e4,
|
|
10614
|
+
step: 1e3,
|
|
10615
|
+
min: 0,
|
|
10616
|
+
label: "Slider"
|
|
10617
|
+
}
|
|
10618
|
+
}
|
|
10619
|
+
};
|
|
10620
|
+
const buildInputSlider = (config, componentScope) => {
|
|
10621
|
+
const inputSlider = _.cloneDeep(InputSlider);
|
|
10622
|
+
inputSlider.scope = componentScope;
|
|
10623
|
+
inputSlider.config.main.label = config.label;
|
|
10624
|
+
if (config.layout) {
|
|
10625
|
+
inputSlider.config.layout = createLayoutFormat(config.layout);
|
|
10626
|
+
}
|
|
10627
|
+
if (config.limitToMax) {
|
|
10628
|
+
inputSlider.config.main.limitToMax = config.limitToMax === "YES" ? true : false;
|
|
10629
|
+
}
|
|
10630
|
+
if (config.max) {
|
|
10631
|
+
inputSlider.config.main.max = config.max;
|
|
10632
|
+
}
|
|
10633
|
+
if (config.step) {
|
|
10634
|
+
inputSlider.config.main.step = config.step;
|
|
10635
|
+
}
|
|
10636
|
+
if (config.min) {
|
|
10637
|
+
inputSlider.config.main.min = config.min;
|
|
10638
|
+
}
|
|
10639
|
+
if (config.style) {
|
|
10640
|
+
inputSlider.config.main.defaultStyle = JSON.parse(config.style);
|
|
10641
|
+
}
|
|
10642
|
+
return inputSlider;
|
|
10643
|
+
};
|
|
10428
10644
|
let schema = {
|
|
10429
10645
|
type: "object",
|
|
10430
10646
|
properties: {},
|
|
@@ -10543,6 +10759,12 @@ const buildUiSchema = (config) => {
|
|
|
10543
10759
|
let elements = {};
|
|
10544
10760
|
const componentScope = `#/properties/${config.name}`;
|
|
10545
10761
|
switch (config.type) {
|
|
10762
|
+
case "InputSlider":
|
|
10763
|
+
elements = buildInputSlider(config, componentScope);
|
|
10764
|
+
break;
|
|
10765
|
+
case "DataGrid":
|
|
10766
|
+
elements = buildDataGrid(config, componentScope);
|
|
10767
|
+
break;
|
|
10546
10768
|
case "Stepper":
|
|
10547
10769
|
elements = buildStepper(config, componentScope);
|
|
10548
10770
|
break;
|
|
@@ -10668,17 +10890,25 @@ const buildUiSchema = (config) => {
|
|
|
10668
10890
|
if ((config == null ? void 0 : config.type) === "LeaderBoard") {
|
|
10669
10891
|
return elements;
|
|
10670
10892
|
} else if (config.type == "Table") {
|
|
10893
|
+
const sizeMap = {};
|
|
10894
|
+
if (config.sizeHolder) {
|
|
10895
|
+
config.sizeHolder.map((e, i) => {
|
|
10896
|
+
sizeMap[e.keyName] = e.value;
|
|
10897
|
+
});
|
|
10898
|
+
}
|
|
10671
10899
|
elements.elements = config.elements.map((e, elemInd) => {
|
|
10672
10900
|
if (e.type) {
|
|
10673
10901
|
return {
|
|
10674
10902
|
accessorKey: e.name,
|
|
10675
10903
|
header: e.label || e.name,
|
|
10904
|
+
size: sizeMap[e.name] || 180,
|
|
10676
10905
|
widget: buildUiSchema(e)
|
|
10677
10906
|
};
|
|
10678
10907
|
}
|
|
10679
10908
|
return {
|
|
10680
10909
|
accessorKey: e.name,
|
|
10681
|
-
header: e.label || e.name
|
|
10910
|
+
header: e.label || e.name,
|
|
10911
|
+
size: sizeMap[e.name] || 180
|
|
10682
10912
|
};
|
|
10683
10913
|
});
|
|
10684
10914
|
} else if (config.type == "Array") {
|