impaktapps-ui-builder 1.0.456 → 1.0.457
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 +1 -71
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +0 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +0 -15
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -9
- package/src/impaktapps-ui-builder/builder/services/component.ts +0 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +0 -7
- package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +0 -22
- package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +0 -35
- package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +0 -13
|
@@ -6272,7 +6272,6 @@ const ComponentSchema = {
|
|
|
6272
6272
|
{ title: "Rank", const: "Rank" },
|
|
6273
6273
|
{ title: "Rank Card", const: "RankCard" },
|
|
6274
6274
|
{ title: "Metric Card", const: "MetricCard" },
|
|
6275
|
-
{ title: "Hierarchy Chart", const: "HierarchyChart" },
|
|
6276
6275
|
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
6277
6276
|
{ title: "Table", const: "Table" },
|
|
6278
6277
|
{ title: "Tabs", const: "TabSection" },
|
|
@@ -6336,13 +6335,6 @@ const ComponentSchema = {
|
|
|
6336
6335
|
{ title: "Standard", const: "standard" }
|
|
6337
6336
|
]
|
|
6338
6337
|
},
|
|
6339
|
-
linkType: {
|
|
6340
|
-
oneOf: [
|
|
6341
|
-
{ title: "Step", const: "step" },
|
|
6342
|
-
{ title: "Diagonal", const: "diagonal" },
|
|
6343
|
-
{ title: "Line", const: "line" }
|
|
6344
|
-
]
|
|
6345
|
-
},
|
|
6346
6338
|
positionVertical: {
|
|
6347
6339
|
oneOf: [
|
|
6348
6340
|
{ title: "Top", const: "top" },
|
|
@@ -8165,17 +8157,6 @@ const buildPropertiesSection = function(type) {
|
|
|
8165
8157
|
emptyBox$1("cardEmpty", { xs: 0, sm: 0, md: 8, lg: 8 })
|
|
8166
8158
|
];
|
|
8167
8159
|
break;
|
|
8168
|
-
case "HierarchyChart":
|
|
8169
|
-
uiSchema.elements = [
|
|
8170
|
-
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8171
|
-
getSelectField("linkType", "Link Type"),
|
|
8172
|
-
getInputField("nodeWidth", "Node Width"),
|
|
8173
|
-
getInputField("nodeHeight", "Node Height"),
|
|
8174
|
-
getInputField("chartHeight", "Chart Height"),
|
|
8175
|
-
getInputField("stepPercent", "Link Bend Position"),
|
|
8176
|
-
emptyBox$1("HierarchyChart", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8177
|
-
];
|
|
8178
|
-
break;
|
|
8179
8160
|
case "MetricCard":
|
|
8180
8161
|
uiSchema.elements = [
|
|
8181
8162
|
getInputField("url", "Image Url"),
|
|
@@ -8894,7 +8875,6 @@ const sectionLabels = {
|
|
|
8894
8875
|
ProgressBar: ["Core", "Properties", "Events", "Style"],
|
|
8895
8876
|
RankCard: ["Core", "Properties", "Events", "Style"],
|
|
8896
8877
|
MetricCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8897
|
-
HierarchyChart: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8898
8878
|
Slider: ["Core", "Components", "Events", "Style", "Validation"],
|
|
8899
8879
|
Timer: ["Core", "Events", "Style"],
|
|
8900
8880
|
Rank: ["Core", "Events", "Style"],
|
|
@@ -10996,13 +10976,6 @@ var service = (funcParams) => {
|
|
|
10996
10976
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10997
10977
|
return response == null ? void 0 : response.data;
|
|
10998
10978
|
},
|
|
10999
|
-
onNodeExpandChange: async function(param) {
|
|
11000
|
-
const apiBody = [
|
|
11001
|
-
{ key: "expandedNodeId", value: param.expandedNodeId }
|
|
11002
|
-
];
|
|
11003
|
-
const response = await this.callExecuteEvents(param, apiBody, "onLoad");
|
|
11004
|
-
return response == null ? void 0 : response.data;
|
|
11005
|
-
},
|
|
11006
10979
|
getSelectOptions: async function(param) {
|
|
11007
10980
|
if (param.serachValue !== "" && param.serachValue !== void 0) {
|
|
11008
10981
|
const apiBody = [
|
|
@@ -11810,6 +11783,7 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11810
11783
|
}
|
|
11811
11784
|
if (config2.lazyLoading) {
|
|
11812
11785
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11786
|
+
table.config.main.lazyTree = config2.lazyLoading === "YES" ? true : false;
|
|
11813
11787
|
}
|
|
11814
11788
|
if (config2.defaultColumnSize) {
|
|
11815
11789
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
@@ -13374,47 +13348,6 @@ const buildPdfViewer = (config2, componentScope2) => {
|
|
|
13374
13348
|
}
|
|
13375
13349
|
return PdfViewer;
|
|
13376
13350
|
};
|
|
13377
|
-
const HierarchyChart = {
|
|
13378
|
-
type: "Control",
|
|
13379
|
-
scope: "#/properties/HierarchyChart",
|
|
13380
|
-
options: {
|
|
13381
|
-
widget: "HierarchyChart"
|
|
13382
|
-
},
|
|
13383
|
-
config: {
|
|
13384
|
-
layout: { xs: 12, sm: 12, md: 12, lg: 12 },
|
|
13385
|
-
main: {},
|
|
13386
|
-
style: { containerStyle: {}, labelStyle: { margin: {} } }
|
|
13387
|
-
}
|
|
13388
|
-
};
|
|
13389
|
-
const buildHierarchyChart = (config2, componentScope2, store2) => {
|
|
13390
|
-
const hierarchyChart = _.cloneDeep(HierarchyChart);
|
|
13391
|
-
hierarchyChart.scope = componentScope2;
|
|
13392
|
-
if (config2.style) {
|
|
13393
|
-
hierarchyChart.config.style = JSON.parse(config2.style);
|
|
13394
|
-
}
|
|
13395
|
-
if (config2.layout) {
|
|
13396
|
-
hierarchyChart.config.layout = createLayoutFormat(config2.layout);
|
|
13397
|
-
}
|
|
13398
|
-
if (config2.linkType) {
|
|
13399
|
-
hierarchyChart.config.main.linkType = config2.linkType;
|
|
13400
|
-
}
|
|
13401
|
-
if (config2.stepPercent) {
|
|
13402
|
-
hierarchyChart.config.main.stepPercent = config2.stepPercent;
|
|
13403
|
-
}
|
|
13404
|
-
if (config2.nodeWidth) {
|
|
13405
|
-
hierarchyChart.config.main.nodeWidth = config2.nodeWidth;
|
|
13406
|
-
}
|
|
13407
|
-
if (config2.nodeHeight) {
|
|
13408
|
-
hierarchyChart.config.main.nodeHeight = config2.nodeHeight;
|
|
13409
|
-
}
|
|
13410
|
-
if (config2.chartHeight) {
|
|
13411
|
-
hierarchyChart.config.main.chartHeight = config2.chartHeight;
|
|
13412
|
-
}
|
|
13413
|
-
if (config2.lazyLoading) {
|
|
13414
|
-
hierarchyChart.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
13415
|
-
}
|
|
13416
|
-
return hierarchyChart;
|
|
13417
|
-
};
|
|
13418
13351
|
let schema = {
|
|
13419
13352
|
type: "object",
|
|
13420
13353
|
properties: {},
|
|
@@ -13578,9 +13511,6 @@ const buildUiSchema = (config2, store2) => {
|
|
|
13578
13511
|
case "MetricCard":
|
|
13579
13512
|
elements = buildMetricCard(config2, componentScope2);
|
|
13580
13513
|
break;
|
|
13581
|
-
case "HierarchyChart":
|
|
13582
|
-
elements = buildHierarchyChart(config2, componentScope2);
|
|
13583
|
-
break;
|
|
13584
13514
|
case "Graph":
|
|
13585
13515
|
switch (config2.graphType) {
|
|
13586
13516
|
case "BarGraph":
|