@sapui5/sap.suite.ui.generic.template 1.120.41 → 1.120.42
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 +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_it.properties +2 -2
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/controller/ControllerImplementation.js +4 -2
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +18 -8
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartChart.fragment.xml +2 -1
- package/src/sap/suite/ui/generic/template/ListReport/view/fragments/SmartTable.fragment.xml +3 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/ControllerImplementation.js +12 -2
- package/src/sap/suite/ui/generic/template/ObjectPage/controller/RelatedAppsHandler.js +27 -32
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_cnr.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_mk.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sh.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sl.properties +3 -3
- package/src/sap/suite/ui/generic/template/ObjectPage/i18n/i18n_sr.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartChart.fragment.xml +1 -0
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartTable.fragment.xml +1 -0
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/ControlStateWrapperFactory.js +109 -68
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/DynamicPageWrapper.js +19 -51
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/ObjectPageLayoutWrapper.js +10 -32
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/PreliminaryWrapper.js +151 -0
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SearchFieldWrapper.js +8 -30
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartFilterBarWrapper.js +76 -99
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +100 -92
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableWrapper.js +10 -2
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartVariantManagementWrapper.js +90 -81
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fi.properties +2 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr.properties +2 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_nl.properties +1 -1
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_ru.properties +5 -5
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -204,9 +204,9 @@ NODATA_ADAPTFILTERDIALOG=Nessun dato
|
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
NODATA_SMARTCHART_ALP=Per iniziare,
|
|
207
|
+
NODATA_SMARTCHART_ALP=Per iniziare, imposta i filtri rilevanti e seleziona "Avvio".
|
|
208
208
|
|
|
209
|
-
NODATA_SMARTTABLE_ALP=Per iniziare,
|
|
209
|
+
NODATA_SMARTTABLE_ALP=Per iniziare, imposta i filtri rilevanti e seleziona "Avvio".
|
|
210
210
|
|
|
211
211
|
MESSAGE_MULTIPLE_VALUES_L_FORM=Alcuni filtri non sono rilevanti per il tab "{1}" ({0}). L\u2019impostazione di questi filtri non incide sui risultati.
|
|
212
212
|
|
|
@@ -497,8 +497,7 @@ sap.ui.define([
|
|
|
497
497
|
return restoreFocusHelper;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
//
|
|
501
|
-
// var getDownloadUrl = testableHelper.testable(getDownloadUrl, "getDownloadUrl");
|
|
500
|
+
// Expose selected private functions to unit tests
|
|
502
501
|
/* eslint-enable */
|
|
503
502
|
|
|
504
503
|
// Generation of Event Handlers
|
|
@@ -646,6 +645,9 @@ sap.ui.define([
|
|
|
646
645
|
},
|
|
647
646
|
|
|
648
647
|
handlers: {
|
|
648
|
+
onAfterVariantInitialise: function(oEvent) {
|
|
649
|
+
oTemplateUtils.oCommonUtils.getControlStateWrapper(oEvent.getSource()).onAfterVariantInitialise();
|
|
650
|
+
},
|
|
649
651
|
addEntry: addEntry,
|
|
650
652
|
addEntryWithFilters: addEntryWithFilters,
|
|
651
653
|
deleteEntries: fnDeleteEntries,
|
|
@@ -209,12 +209,6 @@ sap.ui.define([
|
|
|
209
209
|
// However, for iAppState case, SVM wrapper also needs to contain SFB wrapper (and not oCustomFiltersWrapper directly)
|
|
210
210
|
|
|
211
211
|
|
|
212
|
-
// DynamicPage state: header pinned
|
|
213
|
-
var oDynamicPage = oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}));
|
|
214
|
-
// TODO: Discuss: should this state (header pinned) be part of variant (only page variant or SFB variant)? Assumption: no
|
|
215
|
-
var oDynamicPageWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oDynamicPage);
|
|
216
|
-
aControlStateWrappers.push(oDynamicPageWrapper);
|
|
217
|
-
|
|
218
212
|
// SmartVariantManagement state: Selected Variant and whether it's dirty, including wrappers for managed controls (all controls, for which the corresponding state
|
|
219
213
|
// information should be part of the variant)
|
|
220
214
|
// Due to direct connection between SVM and SFB, also their wrappers need to each other directly. Remarks:
|
|
@@ -225,13 +219,19 @@ sap.ui.define([
|
|
|
225
219
|
if (oSmartVariantManagement){
|
|
226
220
|
var oSmartVariantManagementWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oSmartVariantManagement, {
|
|
227
221
|
managedControlWrappers: aPageVariantControlStateWrappers.concat([oSmartFilterBarWrapper]),
|
|
228
|
-
|
|
222
|
+
smartFilterBarWrapper: oSmartFilterBarWrapper
|
|
229
223
|
});
|
|
230
224
|
aControlStateWrappers.push(oSmartVariantManagementWrapper);
|
|
231
225
|
} else {
|
|
232
226
|
aControlStateWrappers.push(oSmartFilterBarWrapper);
|
|
233
227
|
}
|
|
234
228
|
|
|
229
|
+
// DynamicPage state: header pinned
|
|
230
|
+
var oDynamicPage = oController.byId(StableIdHelper.getStableId({type: "ListReportPage", subType: "DynamicPage"}));
|
|
231
|
+
// The DynamicPage state (header pinned) is intentionally stored only in iAppState and not included in any variant (neither page variant nor SFB variant).
|
|
232
|
+
var oDynamicPageWrapper = oTemplateUtils.oCommonUtils.getControlStateWrapper(oDynamicPage);
|
|
233
|
+
aControlStateWrappers.push(oDynamicPageWrapper);
|
|
234
|
+
|
|
235
235
|
|
|
236
236
|
// Wrapper to control whether data is loaded
|
|
237
237
|
|
|
@@ -768,7 +768,8 @@ sap.ui.define([
|
|
|
768
768
|
// For desktop devices, expand the header for Standard and Custom variants and for tablet and mobile devices,
|
|
769
769
|
// collapse the header only if search is triggered.
|
|
770
770
|
if (Device.system.desktop) {
|
|
771
|
-
|
|
771
|
+
var oTemplatePrivateModel = oTemplateUtils.oComponentUtils.getTemplatePrivateModel();
|
|
772
|
+
oTemplatePrivateModel.setProperty("/listReport/isHeaderExpanded", true);
|
|
772
773
|
} else {
|
|
773
774
|
collapseHeader();
|
|
774
775
|
}
|
|
@@ -887,6 +888,15 @@ sap.ui.define([
|
|
|
887
888
|
// regarding a), while SFB takes care to set the data for standard filters (created via annotation), for others (extension filters, edit state filter, anything else that
|
|
888
889
|
// should be controlled by VM (currently anything else we add to iAppState, but maybe that's only correct in case of page variant management)) we have to set it
|
|
889
890
|
// (independent of the context).
|
|
891
|
+
// Restore header collapse logic (originally removed in change 5641712)
|
|
892
|
+
// Collapse header when user manually selects a variant (context === undefined) that has executeOnSelect set to true
|
|
893
|
+
var oContext = oEvent.getParameter("context");
|
|
894
|
+
var bExecuteOnSelect = oEvent.getParameter("executeOnSelect");
|
|
895
|
+
|
|
896
|
+
if (oContext === undefined && bExecuteOnSelect) {
|
|
897
|
+
collapseHeader();
|
|
898
|
+
}
|
|
899
|
+
|
|
890
900
|
fnRestoreExtendedFilterDataOnAfterSFBVariantLoad(oEvent);
|
|
891
901
|
}
|
|
892
902
|
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
<template:with path="entityType>com.sap.vocabularies.UI.v1.HeaderInfo" var="header">
|
|
10
10
|
<smartChart:SmartChart
|
|
11
|
-
id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
|
|
11
|
+
id="listReport{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
|
|
12
|
+
afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
|
|
12
13
|
visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForTableTabs'}"
|
|
13
14
|
smartFilterId=""
|
|
14
15
|
persistencyKey="listReportChart{= ${parameter>/settings/quickVariantSelectionX} ? ${path: 'tabItem>', formatter: 'AH.getSuffixFromIconTabFilterKey'} : ''}"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
<template:with path="parameter>/" helper="sap.suite.ui.generic.template.js.StableIdHelper.preparePathForStableId" var="smartControlId">
|
|
14
14
|
<template:if test="{= ${smartControlId>}.buildStableId({type: 'ListReportTable', subType: 'SmartTable', sQuickVariantKey: ${tabItem>key}})}" />
|
|
15
15
|
<smarttable:SmartTable id="{smartControlId>id}"
|
|
16
|
+
afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
|
|
16
17
|
smartFilterId="{= ${parameter>/settings/quickVariantSelectionX} ? '' : 'listReportFilter'}"
|
|
17
18
|
visible="{path: 'tabItem>', formatter: 'AHMultipleViews.getVisibleForTableTabs'}"
|
|
18
19
|
initialise="._templateEventHandlers.onTableInit"
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
visibleRowCountMode="Auto"
|
|
123
124
|
showOverlay="{= ${_templPriv>/listReport/firstSelection} && !${_templPriv>/generic/bDataAreShownInTable}}"
|
|
124
125
|
class="{path: 'parameter>/settings/condensedTableLayout', formatter: 'AHListReport.setSizeCondensedCssClass'}"
|
|
125
|
-
expandFirstLevel="true"
|
|
126
|
+
expandFirstLevel="true"
|
|
126
127
|
rowSelectionChange="._templateEventHandlers.onSelectionChange"
|
|
127
128
|
rowActionCount="{parts: [{path: 'entitySet>'}, {path: 'parameter>/settings/subPages/'}, {path: 'parameter>/manifest/'}, {path: 'parameter>/settings/'}], formatter: 'AH.getRowActionCountForListReport'}">
|
|
128
129
|
<template:with path="entitySet>" var="listEntitySet">
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
<template:else >
|
|
179
180
|
<Table id="{:= ${parameter>/stableId}.getStableId({type: 'ListReportTable', subType: 'ResponsiveTable', sQuickVariantKey: ${tabItem>key}})}"
|
|
180
181
|
showOverlay="{= ${_templPriv>/listReport/firstSelection} && !${_templPriv>/generic/bDataAreShownInTable}}"
|
|
181
|
-
fixedLayout="{= ${appSettings>/enableAutoColumnWidthForSmartTable} ? undefined : !!${parameter>/settings/isWorklist} }"
|
|
182
|
+
fixedLayout="{= ${appSettings>/enableAutoColumnWidthForSmartTable} ? undefined : !!${parameter>/settings/isWorklist} }"
|
|
182
183
|
growing="true" growingScrollToLoad="true"
|
|
183
184
|
sticky="ColumnHeaders,HeaderToolbar"
|
|
184
185
|
mode="{tableSettings>mode}"
|
|
@@ -2220,6 +2220,13 @@ sap.ui.define([
|
|
|
2220
2220
|
// and register for all relevant updates on that context so that we call the same function with
|
|
2221
2221
|
// 2. !bFirstTimeForContext = adapt to the change
|
|
2222
2222
|
var fnExecuteDynamicColumnHide = function (bFirstTimeForContext, oSmartTableInfoObject) {
|
|
2223
|
+
if (!bFirstTimeForContext && !oContext.getObject(oContext.getPath())) {
|
|
2224
|
+
// In case then method is trigged by property change
|
|
2225
|
+
// and there is no data in model for current context path -> we don't trigger column visibility recalculation
|
|
2226
|
+
// As object data are missing, it's meaningless. But in some cases can break application navigation.
|
|
2227
|
+
// Table columns visibility change -> which will trigger save app state -> which will modify URL
|
|
2228
|
+
return;
|
|
2229
|
+
}
|
|
2223
2230
|
var aHiddenColumnInfo = oSmartTableInfoObject.getHiddenColumnInfo();
|
|
2224
2231
|
|
|
2225
2232
|
// if columns are hidden only statically, no need to refresh hiding here
|
|
@@ -2463,7 +2470,10 @@ sap.ui.define([
|
|
|
2463
2470
|
}
|
|
2464
2471
|
},
|
|
2465
2472
|
handlers: {
|
|
2466
|
-
|
|
2473
|
+
onAfterVariantInitialise: function(oEvent) {
|
|
2474
|
+
oTemplateUtils.oCommonUtils.getControlStateWrapper(oEvent.getSource()).onAfterVariantInitialise();
|
|
2475
|
+
},
|
|
2476
|
+
onEditAndActiveToggle: function () { // Implementation of draft toggle for static header
|
|
2467
2477
|
var oUIModel = oObjectPage.getModel("ui");
|
|
2468
2478
|
var bIsEditable = oUIModel.getProperty("/editable");
|
|
2469
2479
|
oTemplateUtils.oServices.oApplicationController.synchronizeDraftAsync().then(function() {
|
|
@@ -2946,4 +2956,4 @@ sap.ui.define([
|
|
|
2946
2956
|
}
|
|
2947
2957
|
};
|
|
2948
2958
|
return oMethods;
|
|
2949
|
-
});
|
|
2959
|
+
});
|
|
@@ -83,51 +83,47 @@ sap.ui.define([
|
|
|
83
83
|
fnReject();
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
var oAppComponent = oController.getOwnerComponent().getAppComponent();
|
|
88
|
+
// Preparing the array of semantic objects to fetch links.
|
|
89
|
+
// Initialize the array with the current app's semantic object.
|
|
90
|
+
var aSemanticObjects = [sCurrentSemObj];
|
|
91
|
+
|
|
86
92
|
//Get all semantic object from manifest setting
|
|
87
93
|
var oSettings = oTemplateUtils.oComponentUtils.getSettings();
|
|
88
94
|
var oRelatedAppsSettings = oSettings.relatedAppsSettings;
|
|
89
|
-
|
|
90
|
-
var oLinksDeferred;
|
|
91
95
|
var bHasRelatedAppSettings = oRelatedAppsSettings && Object.keys(oRelatedAppsSettings).length > 0;
|
|
92
|
-
|
|
93
|
-
if (bHasRelatedAppSettings) {
|
|
94
|
-
const oSemanticObjectSet = new Set();
|
|
95
|
-
// Add the current semantic object into the set
|
|
96
|
-
oSemanticObjectSet.add(sCurrentSemObj);
|
|
97
96
|
|
|
97
|
+
if (bHasRelatedAppSettings) {
|
|
98
98
|
// Iterate through oRelatedAppSettings and add all related apps into the set
|
|
99
99
|
for (const sKey in oRelatedAppsSettings) {
|
|
100
|
-
if (
|
|
100
|
+
if (oRelatedAppsSettings.hasOwnProperty(sKey)) {
|
|
101
101
|
const sSemanticObject = oRelatedAppsSettings[sKey].semanticObject;
|
|
102
|
-
|
|
102
|
+
aSemanticObjects.push(sSemanticObject);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
oLinksDeferred = oXApplNavigation.getLinks(aSemanticObjects);
|
|
113
|
-
} else {
|
|
114
|
-
var oAppComponent = oController.getOwnerComponent().getAppComponent();
|
|
115
|
-
oLinksDeferred = oXApplNavigation.getLinks({
|
|
116
|
-
semanticObject: sCurrentSemObj,
|
|
105
|
+
}
|
|
106
|
+
// Remove duplicates
|
|
107
|
+
aSemanticObjects = Array.from(new Set(aSemanticObjects));
|
|
108
|
+
// Add parameters to semantic objects
|
|
109
|
+
var aSemanticObjectsWithParams = aSemanticObjects.map(sSemanticObject => {
|
|
110
|
+
return [{
|
|
111
|
+
semanticObject: sSemanticObject,
|
|
117
112
|
params: oParam,
|
|
118
113
|
ui5Component: oAppComponent
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
114
|
+
}];
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
oXApplNavigation.getLinks(aSemanticObjectsWithParams).done(function (aResult) {
|
|
118
|
+
// Convert the response into a single dimension array by flattening it
|
|
119
|
+
var aLinks = aResult.flat(Infinity);
|
|
120
|
+
// Get structured links
|
|
122
121
|
var aSemObjWithLink = [];
|
|
123
|
-
var fnAddLink = function(oLinkDef){
|
|
122
|
+
var fnAddLink = function (oLinkDef) {
|
|
124
123
|
var oLink = getStructuredSemanticObjectActionLinks(oLinkDef);
|
|
125
|
-
aSemObjWithLink.push(oLink);
|
|
124
|
+
aSemObjWithLink.push(oLink);
|
|
126
125
|
};
|
|
127
|
-
aLinks.forEach(
|
|
128
|
-
aLinks[0].forEach(fnAddLink);
|
|
129
|
-
} : fnAddLink);
|
|
130
|
-
|
|
126
|
+
aLinks.forEach(fnAddLink);
|
|
131
127
|
//Get All Semantic Object Unavailable action
|
|
132
128
|
var getStringProperty = function (oAction) {
|
|
133
129
|
return oAction.String;
|
|
@@ -194,8 +190,7 @@ sap.ui.define([
|
|
|
194
190
|
oButtonsModel.setProperty("/buttons", aButtons);
|
|
195
191
|
fnResolve();
|
|
196
192
|
oBusyHelper.getUnbusy().then(oActionSheet.openBy.bind(oActionSheet, oButton));
|
|
197
|
-
});
|
|
198
|
-
oLinksDeferred.fail(fnReject);
|
|
193
|
+
}).fail(fnReject);
|
|
199
194
|
}, fnReject);
|
|
200
195
|
});
|
|
201
196
|
oBusyHelper.setBusy(oOpenPromise);
|
|
@@ -19,7 +19,7 @@ SAVE=\u0417\u0430\u0447\u0443\u0432\u0430\u0458
|
|
|
19
19
|
|
|
20
20
|
SAVE_AND_EDIT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
|
|
21
21
|
|
|
22
|
-
SAVE_AND_NEXT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0441\u043B\u0435\u0434\u043D\u043E
|
|
22
|
+
SAVE_AND_NEXT=\u0417\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u043E\u0434\u0438 \u0441\u043B\u0435\u0434\u043D\u043E
|
|
23
23
|
|
|
24
24
|
VALIDATE_DRAFT=\u041F\u043E\u0442\u0432\u0440\u0434\u0438
|
|
25
25
|
|
|
@@ -5,7 +5,7 @@ DESCRIPTION=Stran objekta
|
|
|
5
5
|
|
|
6
6
|
EDIT=Obdelava
|
|
7
7
|
|
|
8
|
-
CREATE_OBJECT=
|
|
8
|
+
CREATE_OBJECT=Kreiraj
|
|
9
9
|
|
|
10
10
|
DISPLAY_ACTIVE_VERSION=Prikaz shranjene verzije
|
|
11
11
|
|
|
@@ -23,7 +23,7 @@ SAVE_AND_NEXT=Shrani in naprej
|
|
|
23
23
|
|
|
24
24
|
VALIDATE_DRAFT=Validacija
|
|
25
25
|
|
|
26
|
-
CREATE=
|
|
26
|
+
CREATE=Kreiraj
|
|
27
27
|
|
|
28
28
|
CLOSE=Zapiranje
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ ADD=Dodajanje
|
|
|
33
33
|
|
|
34
34
|
SEG_BUTTON_TEXT={0} ({1})
|
|
35
35
|
|
|
36
|
-
CREATE_DRAFT_MESSAGE_TEXT=
|
|
36
|
+
CREATE_DRAFT_MESSAGE_TEXT=Kreirajte objekt.
|
|
37
37
|
|
|
38
38
|
SAVE_DRAFT_MESSAGE_TEXT=Uporabite spremembe za shranjeno verzijo.
|
|
39
39
|
|
|
@@ -19,7 +19,7 @@ SAVE=\u0421\u0430\u0447\u0443\u0432\u0430\u0458
|
|
|
19
19
|
|
|
20
20
|
SAVE_AND_EDIT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0443\u0440\u0435\u0434\u0438
|
|
21
21
|
|
|
22
|
-
SAVE_AND_NEXT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0441\u043B\u0435\u0434\u0435\u045B\u0435
|
|
22
|
+
SAVE_AND_NEXT=\u0421\u0430\u0447\u0443\u0432\u0430\u0458 \u0438 \u0438\u0434\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0435\u045B\u0435
|
|
23
23
|
|
|
24
24
|
VALIDATE_DRAFT=\u0412\u0430\u043B\u0438\u0434\u0438\u0440\u0430\u0458
|
|
25
25
|
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<template:if test="{:= ${smartChartId>}.set(AH.getStableIdPartFromFacet(${facet>}) + '::Chart') }"/>
|
|
12
12
|
<smartChart:SmartChart
|
|
13
13
|
id="{smartChartId>value}"
|
|
14
|
+
afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
|
|
14
15
|
header="{chartAnnotation>Title/String}"
|
|
15
16
|
initialized="._templateEventHandlers.onChartInit"
|
|
16
17
|
requestAtLeastFields="{parts: [{path: 'chartAnnotation>'}, {path: 'entitySet>entityType'}], formatter: 'AH.getApplicablePathForChartToolbarActions'}"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<template:if test="{= ${facetId>}.buildStableId({type: 'ObjectPage', subType: 'Facet', sRecordType: ${facet>RecordType}, sAnnotationPath: ${facet>Target/AnnotationPath}, sAnnotationId: ${facet>ID/String}, bIsHeaderFacet: ${isHeaderFacet>value}})}"/>
|
|
16
16
|
<template:if test="{= ${smartControlId>}.buildStableId({type: 'ObjectPageTable', subType: 'SmartTable', sFacet: ${facetId>id}})}" />
|
|
17
17
|
<st:SmartTable id="{smartControlId>id}"
|
|
18
|
+
afterVariantInitialise="._templateEventHandlers.onAfterVariantInitialise"
|
|
18
19
|
initialise="._templateEventHandlers.onTableInit($event, '{facetId>id}')"
|
|
19
20
|
persistencyKey="{parts: [{path: 'smartControlId>id'}, {path: 'objectPageTableSettings>value/persistencyKeyState'}], formatter: 'AH.getPersistencyKey'}"
|
|
20
21
|
tableBindingPath="{= ${path: 'target>AnnotationPath'}.slice(0, ${path: 'target>AnnotationPath'}.lastIndexOf('/')) }"
|