impaktapps-ui-builder 1.0.438 → 1.0.441
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/package.json
CHANGED
|
@@ -16,7 +16,7 @@ const sectionLabels = {
|
|
|
16
16
|
LeaderBoard: ["Core", "Components", "Properties", "Events", "Style",],
|
|
17
17
|
WrapperSection: ["Core", "Components", "Properties", "Style",],
|
|
18
18
|
HorizontalLayout: ["Core", "Components", "Properties", "Style",],
|
|
19
|
-
TabSection: ["Core", "Components", "
|
|
19
|
+
TabSection: ["Core", "Components", "TabTitles", "Properties", "Style", "Validation"],
|
|
20
20
|
SpeedoMeter: ["Core", "Properties", "Events", "Style",],
|
|
21
21
|
card: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
22
22
|
UploadFile: ["Core", "Events", "Style", "Validation"],
|
|
@@ -63,7 +63,7 @@ export function refreshPage(type: string, store: any) {
|
|
|
63
63
|
Style: StyleSection,
|
|
64
64
|
Events: EventSection(store.theme.myTheme),
|
|
65
65
|
Components: TableSection(store.theme.myTheme),
|
|
66
|
-
|
|
66
|
+
TabTitles: TableSection(store.theme.myTheme, "tabLabelElements"),
|
|
67
67
|
Properties: buildPropertiesSection(type),
|
|
68
68
|
Validation: ValidationSection
|
|
69
69
|
}
|
|
@@ -285,7 +285,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
285
285
|
saveFormdataInSessionStorage(store.ctx.core.data, path)
|
|
286
286
|
if (path) {
|
|
287
287
|
let finalPath = `${path}`;
|
|
288
|
-
if (dynamicData?.path?.startsWith("
|
|
288
|
+
if (dynamicData?.path?.startsWith("tabLabel")) {
|
|
289
289
|
finalPath = `${finalPath}.tabLabelElements[${rowId}]`
|
|
290
290
|
} else {
|
|
291
291
|
finalPath = `${finalPath}.elements[${rowId}]`
|
|
@@ -338,7 +338,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
338
338
|
const path = store.searchParams?.get("path");
|
|
339
339
|
saveFormdataInSessionStorage(store.ctx.core.data, path)
|
|
340
340
|
let finalPath = `${path}`;
|
|
341
|
-
if (dynamicData.path.startsWith("
|
|
341
|
+
if (dynamicData.path.startsWith("tabLabel")) {
|
|
342
342
|
finalPath = `${finalPath}.tabLabelElements[${store.formData.tabLabelElements.length}]`
|
|
343
343
|
} else {
|
|
344
344
|
finalPath = `${finalPath}.elements[${store.formData.elements.length}]`
|
|
@@ -374,7 +374,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
374
374
|
deletePopUpComponent: function () {
|
|
375
375
|
const rowId = dynamicData.path.split(".")[1];
|
|
376
376
|
sessionStorage.setItem('rowId', rowId);
|
|
377
|
-
sessionStorage.setItem('isTabLabelElements', dynamicData.path.startsWith("
|
|
377
|
+
sessionStorage.setItem('isTabLabelElements', dynamicData.path.startsWith("tabLabel") ? "true" : "false");
|
|
378
378
|
store.updateDialog("popUpComponentSection");
|
|
379
379
|
},
|
|
380
380
|
deletePopUpEvent: function () {
|