impaktapps-ui-builder 1.0.395 → 1.0.396
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 +11 -89
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +0 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -14
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -11
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildSplitViewContainer.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +0 -19
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/splitViewContainer.d.ts +0 -17
- package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +0 -16
- package/src/impaktapps-ui-builder/builder/build/buildSplitViewContainer.tsx +0 -20
- package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +0 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/splitViewContainer.ts +0 -13
|
@@ -6280,9 +6280,7 @@ const ComponentSchema = {
|
|
|
6280
6280
|
{ title: "Timer", const: "Timer" },
|
|
6281
6281
|
{ title: "Upload", const: "UploadFile" },
|
|
6282
6282
|
{ title: "Tree ", const: "TreeMap" },
|
|
6283
|
-
{ title: "Thought of the day", const: "Thought" }
|
|
6284
|
-
{ title: "PDF", const: "PdfViewer" },
|
|
6285
|
-
{ title: "Split View Container", const: "SplitViewContainer" }
|
|
6283
|
+
{ title: "Thought of the day", const: "Thought" }
|
|
6286
6284
|
]
|
|
6287
6285
|
},
|
|
6288
6286
|
elementType: {
|
|
@@ -6364,15 +6362,6 @@ const ComponentSchema = {
|
|
|
6364
6362
|
{ title: "Right", const: "right" }
|
|
6365
6363
|
]
|
|
6366
6364
|
},
|
|
6367
|
-
maxWidth: {
|
|
6368
|
-
oneOf: [
|
|
6369
|
-
{ title: "Extra Small", const: "xs" },
|
|
6370
|
-
{ title: "Small", const: "sm" },
|
|
6371
|
-
{ title: "Medium", const: "md" },
|
|
6372
|
-
{ title: "Large", const: "lg" },
|
|
6373
|
-
{ title: "Extra Large", const: "xl" }
|
|
6374
|
-
]
|
|
6375
|
-
},
|
|
6376
6365
|
toolTipPosition: {
|
|
6377
6366
|
oneOf: [
|
|
6378
6367
|
{ title: "Top", const: "top" },
|
|
@@ -8261,11 +8250,12 @@ const buildPropertiesSection = function(type) {
|
|
|
8261
8250
|
buildWrapper("Tree Table Properties", [
|
|
8262
8251
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8263
8252
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8253
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8264
8254
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8265
8255
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8266
8256
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8267
8257
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8268
|
-
,
|
|
8258
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8269
8259
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8270
8260
|
]),
|
|
8271
8261
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -8300,18 +8290,6 @@ const buildPropertiesSection = function(type) {
|
|
|
8300
8290
|
getSelectField("toolTipPosition", "Tooltip Position")
|
|
8301
8291
|
];
|
|
8302
8292
|
break;
|
|
8303
|
-
case "PdfViewer":
|
|
8304
|
-
uiSchema.elements = [
|
|
8305
|
-
getInputField("scale", "Zoom"),
|
|
8306
|
-
emptyBox$1("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8307
|
-
];
|
|
8308
|
-
break;
|
|
8309
|
-
case "SplitViewContainer":
|
|
8310
|
-
uiSchema.elements = [
|
|
8311
|
-
getInputField("collapsePanelHeight", "Expanded Panel Height"),
|
|
8312
|
-
emptyBox$1("splitViewContainer", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8313
|
-
];
|
|
8314
|
-
break;
|
|
8315
8293
|
case "Date":
|
|
8316
8294
|
uiSchema.elements = [
|
|
8317
8295
|
getSelectField("variant", "Variant"),
|
|
@@ -8887,8 +8865,6 @@ const sectionLabels = {
|
|
|
8887
8865
|
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8888
8866
|
PopUp: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8889
8867
|
PopOver: ["Core", "Components", "Properties", "Style"],
|
|
8890
|
-
PdfViewer: ["Core", "Properties", "Style"],
|
|
8891
|
-
SplitViewContainer: ["Core", "Components", "Properties", "Style"],
|
|
8892
8868
|
Stepper: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8893
8869
|
DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8894
8870
|
InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
@@ -10941,7 +10917,8 @@ var service = (funcParams) => {
|
|
|
10941
10917
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10942
10918
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10943
10919
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10944
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10920
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10921
|
+
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
|
|
10945
10922
|
];
|
|
10946
10923
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10947
10924
|
return response == null ? void 0 : response.data;
|
|
@@ -11738,9 +11715,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11738
11715
|
if (config2.lazyLoading) {
|
|
11739
11716
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11740
11717
|
}
|
|
11718
|
+
if (config2.lazyLoadTree) {
|
|
11719
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11720
|
+
}
|
|
11741
11721
|
if (config2.defaultColumnSize) {
|
|
11742
11722
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11743
11723
|
}
|
|
11724
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11725
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11726
|
+
}
|
|
11744
11727
|
if (config2.enableRowMovement) {
|
|
11745
11728
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11746
11729
|
}
|
|
@@ -13209,61 +13192,6 @@ const buildOTP_Input = (config2, componentScope2) => {
|
|
|
13209
13192
|
OTP.config.main.length = +config2.length;
|
|
13210
13193
|
return OTP;
|
|
13211
13194
|
};
|
|
13212
|
-
var pdfViewer = {
|
|
13213
|
-
type: "Control",
|
|
13214
|
-
scope: "#/properties/pdfviewer",
|
|
13215
|
-
options: {
|
|
13216
|
-
widget: "PdfViewer"
|
|
13217
|
-
},
|
|
13218
|
-
config: {
|
|
13219
|
-
layout: {
|
|
13220
|
-
xs: 12,
|
|
13221
|
-
sm: 12,
|
|
13222
|
-
md: 12,
|
|
13223
|
-
lg: 12
|
|
13224
|
-
},
|
|
13225
|
-
main: {
|
|
13226
|
-
title: "PDF"
|
|
13227
|
-
}
|
|
13228
|
-
}
|
|
13229
|
-
};
|
|
13230
|
-
const buildPdfViewer = (config2, componentScope2) => {
|
|
13231
|
-
const PdfViewer = _.cloneDeep(pdfViewer);
|
|
13232
|
-
PdfViewer.scope = componentScope2;
|
|
13233
|
-
PdfViewer.config.main.scale = config2.scale;
|
|
13234
|
-
if (config2.layout) {
|
|
13235
|
-
PdfViewer.config.layout = createLayoutFormat(config2.layout);
|
|
13236
|
-
}
|
|
13237
|
-
if (config2.style) {
|
|
13238
|
-
PdfViewer.config.style = JSON.parse(config2.style);
|
|
13239
|
-
}
|
|
13240
|
-
return PdfViewer;
|
|
13241
|
-
};
|
|
13242
|
-
var SplitViewContainer = {
|
|
13243
|
-
type: "Control",
|
|
13244
|
-
scope: "#/properties/SplitViewContainerPath",
|
|
13245
|
-
options: {
|
|
13246
|
-
widget: "SplitViewContainer"
|
|
13247
|
-
},
|
|
13248
|
-
config: {
|
|
13249
|
-
layout: { xs: 12, sm: 12, md: 12, lg: 12 },
|
|
13250
|
-
main: {}
|
|
13251
|
-
}
|
|
13252
|
-
};
|
|
13253
|
-
const buildSplitViewContainer = (config2, componentScope2, store2) => {
|
|
13254
|
-
const splitViewContainer = _.cloneDeep(SplitViewContainer);
|
|
13255
|
-
splitViewContainer.scope = componentScope2;
|
|
13256
|
-
if (config2.collapsePanelHeight) {
|
|
13257
|
-
splitViewContainer.config.main.collapsePanelHeight = config2.collapsePanelHeight;
|
|
13258
|
-
}
|
|
13259
|
-
if (config2.style) {
|
|
13260
|
-
splitViewContainer.config.style = JSON.parse(config2.style);
|
|
13261
|
-
}
|
|
13262
|
-
if (config2.layout) {
|
|
13263
|
-
splitViewContainer.config.layout = createLayoutFormat(config2.layout);
|
|
13264
|
-
}
|
|
13265
|
-
return splitViewContainer;
|
|
13266
|
-
};
|
|
13267
13195
|
let schema = {
|
|
13268
13196
|
type: "object",
|
|
13269
13197
|
properties: {},
|
|
@@ -13494,12 +13422,6 @@ const buildUiSchema = (config2, store2) => {
|
|
|
13494
13422
|
case "Camera":
|
|
13495
13423
|
elements = buildCamera(config2, componentScope2);
|
|
13496
13424
|
break;
|
|
13497
|
-
case "PdfViewer":
|
|
13498
|
-
elements = buildPdfViewer(config2, componentScope2);
|
|
13499
|
-
break;
|
|
13500
|
-
case "SplitViewContainer":
|
|
13501
|
-
elements = buildSplitViewContainer(config2, componentScope2);
|
|
13502
|
-
break;
|
|
13503
13425
|
default:
|
|
13504
13426
|
schema = {
|
|
13505
13427
|
type: "object",
|