@sapui5/sap.fe.templates 1.98.0 → 1.101.0

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.
Files changed (144) hide show
  1. package/package.json +9 -6
  2. package/src/sap/fe/templates/.library +1 -2
  3. package/src/sap/fe/templates/AnalyticalListPage/Component.js +25 -12
  4. package/src/sap/fe/templates/AnalyticalListPage/Component.ts +6 -0
  5. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +31 -32
  6. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.ts +25 -0
  7. package/src/sap/fe/templates/Feedback.js +80 -0
  8. package/src/sap/fe/templates/Feedback.ts +67 -0
  9. package/src/sap/fe/templates/ListComponent.js +157 -118
  10. package/src/sap/fe/templates/ListComponent.ts +105 -0
  11. package/src/sap/fe/templates/ListReport/Component.js +83 -39
  12. package/src/sap/fe/templates/ListReport/Component.ts +39 -0
  13. package/src/sap/fe/templates/ListReport/ExtensionAPI.js +124 -107
  14. package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +100 -0
  15. package/src/sap/fe/templates/ListReport/ListReport.view.xml +34 -27
  16. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +1112 -1001
  17. package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +1009 -0
  18. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +55 -53
  19. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +55 -0
  20. package/src/sap/fe/templates/ListReport/overrides/Share.js +135 -136
  21. package/src/sap/fe/templates/ListReport/overrides/Share.ts +134 -0
  22. package/src/sap/fe/templates/ListReport/overrides/ViewState.js +444 -406
  23. package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +413 -0
  24. package/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +31 -23
  25. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.js +72 -0
  26. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.ts +62 -0
  27. package/src/sap/fe/templates/ListReport/view/fragments/MultipleModeOld.fragment.xml +50 -0
  28. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +479 -473
  29. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.ts +511 -0
  30. package/src/sap/fe/templates/ObjectPage/Component.js +170 -149
  31. package/src/sap/fe/templates/ObjectPage/Component.ts +131 -0
  32. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +141 -142
  33. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +116 -0
  34. package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +14 -53
  35. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1531 -1464
  36. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +1442 -0
  37. package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +137 -95
  38. package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.ts +84 -0
  39. package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +25 -21
  40. package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.ts +10 -0
  41. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +99 -53
  42. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +50 -0
  43. package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +21 -16
  44. package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.ts +15 -0
  45. package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +51 -47
  46. package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.ts +47 -0
  47. package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +35 -34
  48. package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.ts +34 -0
  49. package/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility.js +16 -15
  50. package/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility.ts +13 -0
  51. package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.js +12 -11
  52. package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.ts +7 -0
  53. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +56 -52
  54. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +57 -0
  55. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +16 -17
  56. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.ts +13 -0
  57. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +14 -17
  58. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.ts +14 -0
  59. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +24 -21
  60. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.ts +21 -0
  61. package/src/sap/fe/templates/ObjectPage/overrides/Share.js +311 -317
  62. package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +316 -0
  63. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +67 -57
  64. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.ts +65 -0
  65. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +1 -1
  66. package/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +3 -3
  67. package/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +18 -24
  68. package/src/sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml +38 -0
  69. package/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +1 -1
  70. package/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +9 -5
  71. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +1 -0
  72. package/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml +1 -0
  73. package/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +33 -0
  74. package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingAvatar.fragment.xml +17 -0
  75. package/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +18 -0
  76. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +3 -3
  77. package/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +3 -3
  78. package/src/sap/fe/templates/ObjectPage/view/fragments/SwitchDraftAndActiveObjectPopOver.fragment.xml +27 -0
  79. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +852 -815
  80. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +795 -0
  81. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +206 -187
  82. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +178 -0
  83. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +485 -459
  84. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.ts +438 -0
  85. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +17 -14
  86. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.ts +20 -0
  87. package/src/sap/fe/templates/TableScroller.js +46 -53
  88. package/src/sap/fe/templates/TableScroller.ts +48 -0
  89. package/src/sap/fe/templates/controls/Chart.fragment.xml +18 -17
  90. package/src/sap/fe/templates/controls/MacroChart.fragment.xml +22 -0
  91. package/src/sap/fe/templates/library.js +50 -63
  92. package/src/sap/fe/templates/library.ts +57 -0
  93. package/src/sap/fe/templates/messagebundle.properties +32 -36
  94. package/src/sap/fe/templates/messagebundle_ar.properties +15 -8
  95. package/src/sap/fe/templates/messagebundle_bg.properties +15 -8
  96. package/src/sap/fe/templates/messagebundle_ca.properties +15 -8
  97. package/src/sap/fe/templates/messagebundle_cs.properties +15 -8
  98. package/src/sap/fe/templates/messagebundle_cy.properties +15 -8
  99. package/src/sap/fe/templates/messagebundle_da.properties +15 -8
  100. package/src/sap/fe/templates/messagebundle_de.properties +15 -8
  101. package/src/sap/fe/templates/messagebundle_el.properties +16 -9
  102. package/src/sap/fe/templates/messagebundle_en.properties +15 -8
  103. package/src/sap/fe/templates/messagebundle_en_GB.properties +15 -8
  104. package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +9 -6
  105. package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +15 -8
  106. package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +15 -8
  107. package/src/sap/fe/templates/messagebundle_es.properties +15 -8
  108. package/src/sap/fe/templates/messagebundle_es_MX.properties +15 -8
  109. package/src/sap/fe/templates/messagebundle_et.properties +15 -8
  110. package/src/sap/fe/templates/messagebundle_fi.properties +15 -8
  111. package/src/sap/fe/templates/messagebundle_fr.properties +15 -8
  112. package/src/sap/fe/templates/messagebundle_fr_CA.properties +15 -8
  113. package/src/sap/fe/templates/messagebundle_hi.properties +15 -8
  114. package/src/sap/fe/templates/messagebundle_hr.properties +16 -9
  115. package/src/sap/fe/templates/messagebundle_hu.properties +15 -8
  116. package/src/sap/fe/templates/messagebundle_id.properties +17 -10
  117. package/src/sap/fe/templates/messagebundle_it.properties +15 -8
  118. package/src/sap/fe/templates/messagebundle_iw.properties +15 -8
  119. package/src/sap/fe/templates/messagebundle_ja.properties +15 -8
  120. package/src/sap/fe/templates/messagebundle_kk.properties +15 -8
  121. package/src/sap/fe/templates/messagebundle_ko.properties +15 -8
  122. package/src/sap/fe/templates/messagebundle_lt.properties +15 -8
  123. package/src/sap/fe/templates/messagebundle_lv.properties +15 -8
  124. package/src/sap/fe/templates/messagebundle_ms.properties +15 -8
  125. package/src/sap/fe/templates/messagebundle_nl.properties +15 -8
  126. package/src/sap/fe/templates/messagebundle_no.properties +15 -8
  127. package/src/sap/fe/templates/messagebundle_pl.properties +15 -8
  128. package/src/sap/fe/templates/messagebundle_pt.properties +18 -11
  129. package/src/sap/fe/templates/messagebundle_pt_PT.properties +16 -9
  130. package/src/sap/fe/templates/messagebundle_ro.properties +15 -8
  131. package/src/sap/fe/templates/messagebundle_ru.properties +15 -8
  132. package/src/sap/fe/templates/messagebundle_sh.properties +15 -8
  133. package/src/sap/fe/templates/messagebundle_sk.properties +15 -8
  134. package/src/sap/fe/templates/messagebundle_sl.properties +15 -8
  135. package/src/sap/fe/templates/messagebundle_sv.properties +16 -9
  136. package/src/sap/fe/templates/messagebundle_th.properties +15 -8
  137. package/src/sap/fe/templates/messagebundle_tr.properties +15 -8
  138. package/src/sap/fe/templates/messagebundle_uk.properties +16 -9
  139. package/src/sap/fe/templates/messagebundle_vi.properties +15 -8
  140. package/src/sap/fe/templates/messagebundle_zh_CN.properties +15 -8
  141. package/src/sap/fe/templates/messagebundle_zh_TW.properties +15 -8
  142. package/ui5.yaml +0 -3
  143. package/src/sap/fe/templates/ListReport/overrides/MassEdit.js +0 -95
  144. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.xml +0 -49
@@ -1,120 +1,159 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+ * (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(
6
- ["sap/fe/core/TemplateComponent", "sap/fe/core/library"],
7
- function(TemplateComponent, CoreLibrary) {
8
- "use strict";
9
-
10
- var VariantManagement = CoreLibrary.VariantManagement,
11
- InitialLoadMode = CoreLibrary.InitialLoadMode,
12
- ListBasedComponent = TemplateComponent.extend("sap.fe.templates.ListComponent", {
13
- metadata: {
14
- properties: {
15
- initialLoad: {
16
- type: "sap.fe.core.InitialLoadMode",
17
- defaultValue: InitialLoadMode.Auto
18
- },
19
- variantManagement: {
20
- type: "sap.fe.core.VariantManagement",
21
- defaultValue: VariantManagement.Page
22
- },
23
- defaultTemplateAnnotationPath: {
24
- type: "string",
25
- defaultValue: undefined
26
- },
27
- liveMode: {
28
- type: "boolean",
29
- defaultValue: false
30
- }
31
- },
32
- manifest: {
33
- "sap.ui": {
34
- "technology": "UI5",
35
- "deviceTypes": {
36
- "desktop": true,
37
- "tablet": true,
38
- "phone": true
39
- },
40
- "supportedThemes": [
41
- "sap_fiori_3",
42
- "sap_hcb",
43
- "sap_bluecrystal",
44
- "sap_belize",
45
- "sap_belize_plus",
46
- "sap_belize_hcw"
47
- ]
48
- },
49
- "sap.ui5": {
50
- "services": {
51
- "templatedViewService": {
52
- "factoryName": "sap.fe.core.services.TemplatedViewService",
53
- "startup": "waitFor",
54
- "settings": {
55
- "viewName": "sap.fe.templates.ListReport.ListReport",
56
- "converterType": "ListReport",
57
- "errorViewName": "sap.fe.core.services.view.TemplatingErrorPage"
58
- }
59
- },
60
- "asyncComponentService": {
61
- "factoryName": "sap.fe.core.services.AsyncComponentService",
62
- "startup": "waitFor"
63
- }
64
- },
65
- "commands": {
66
- "Create": {
67
- "name": "Create",
68
- "shortcut": "Ctrl+Enter"
69
- },
70
- "DeleteEntry": {
71
- "name": "DeleteEntry",
72
- "shortcut": "Ctrl+D"
73
- },
74
- "TableSettings": {
75
- "name": "TableSettings",
76
- "shortcut": "Ctrl+,"
77
- },
78
- "Share": {
79
- "name": "Share",
80
- "shortcut": "Shift+Ctrl+S"
81
- }
82
- },
83
- "handleValidation": true,
84
- "dependencies": {
85
- "minUI5Version": "${sap.ui5.core.version}",
86
- "libs": {
87
- "sap.f": {},
88
- "sap.fe.macros": {
89
- "lazy": true
90
- },
91
- "sap.m": {},
92
- "sap.suite.ui.microchart": {
93
- "lazy": true
94
- },
95
- "sap.ui.core": {},
96
- "sap.ui.layout": {},
97
- "sap.ui.mdc": {},
98
- "sap.ushell": {
99
- "lazy": true
100
- },
101
- "sap.ui.fl": {}
102
- }
103
- },
104
- "contentDensities": {
105
- "compact": true,
106
- "cozy": true
107
- }
108
- }
109
- },
110
- library: "sap.fe.templates"
111
- },
112
- getViewData: function() {
113
- var oViewData = TemplateComponent.prototype.getViewData.apply(this, arguments);
114
- return oViewData;
115
- }
116
- });
117
- return ListBasedComponent;
118
- },
119
- /* bExport= */ true
120
- );
5
+ sap.ui.define(["sap/fe/core/helpers/ClassSupport", "sap/fe/core/library", "sap/fe/core/TemplateComponent"], function (ClassSupport, CoreLibrary, TemplateComponent) {
6
+ "use strict";
7
+
8
+ var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
9
+
10
+ var property = ClassSupport.property;
11
+ var defineUI5Class = ClassSupport.defineUI5Class;
12
+
13
+ function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
14
+
15
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
16
+
17
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
18
+
19
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
+
21
+ function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
22
+
23
+ function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
24
+
25
+ var VariantManagement = CoreLibrary.VariantManagement,
26
+ InitialLoadMode = CoreLibrary.InitialLoadMode;
27
+ var ListBasedComponent = (_dec = defineUI5Class("sap.fe.templates.ListComponent", {
28
+ manifest: {
29
+ "sap.ui": {
30
+ "technology": "UI5",
31
+ "deviceTypes": {
32
+ "desktop": true,
33
+ "tablet": true,
34
+ "phone": true
35
+ },
36
+ "supportedThemes": ["sap_fiori_3", "sap_hcb", "sap_bluecrystal", "sap_belize", "sap_belize_plus", "sap_belize_hcw"]
37
+ },
38
+ "sap.ui5": {
39
+ "services": {
40
+ "templatedViewService": {
41
+ "factoryName": "sap.fe.core.services.TemplatedViewService",
42
+ "startup": "waitFor",
43
+ "settings": {
44
+ "viewName": "sap.fe.templates.ListReport.ListReport",
45
+ "converterType": "ListReport",
46
+ "errorViewName": "sap.fe.core.services.view.TemplatingErrorPage"
47
+ }
48
+ },
49
+ "asyncComponentService": {
50
+ "factoryName": "sap.fe.core.services.AsyncComponentService",
51
+ "startup": "waitFor"
52
+ }
53
+ },
54
+ "commands": {
55
+ "Create": {
56
+ "name": "Create",
57
+ "shortcut": "Ctrl+Enter"
58
+ },
59
+ "DeleteEntry": {
60
+ "name": "DeleteEntry",
61
+ "shortcut": "Ctrl+D"
62
+ },
63
+ "TableSettings": {
64
+ "name": "TableSettings",
65
+ "shortcut": "Ctrl+,"
66
+ },
67
+ "Share": {
68
+ "name": "Share",
69
+ "shortcut": "Shift+Ctrl+S"
70
+ }
71
+ },
72
+ "handleValidation": true,
73
+ "dependencies": {
74
+ "minUI5Version": "${sap.ui5.core.version}",
75
+ "libs": {
76
+ "sap.f": {},
77
+ "sap.fe.macros": {
78
+ "lazy": true
79
+ },
80
+ "sap.m": {},
81
+ "sap.suite.ui.microchart": {
82
+ "lazy": true
83
+ },
84
+ "sap.ui.core": {},
85
+ "sap.ui.layout": {},
86
+ "sap.ui.mdc": {},
87
+ "sap.ushell": {
88
+ "lazy": true
89
+ },
90
+ "sap.ui.fl": {}
91
+ }
92
+ },
93
+ "contentDensities": {
94
+ "compact": true,
95
+ "cozy": true
96
+ }
97
+ }
98
+ },
99
+ library: "sap.fe.templates"
100
+ }), _dec2 = property({
101
+ type: "sap.fe.core.InitialLoadMode",
102
+ defaultValue: InitialLoadMode.Auto
103
+ }), _dec3 = property({
104
+ type: "sap.fe.core.VariantManagement",
105
+ defaultValue: VariantManagement.Page
106
+ }), _dec4 = property({
107
+ type: "string",
108
+ defaultValue: undefined
109
+ }), _dec5 = property({
110
+ type: "boolean",
111
+ defaultValue: false
112
+ }), _dec(_class = (_class2 = /*#__PURE__*/function (_TemplateComponent) {
113
+ _inheritsLoose(ListBasedComponent, _TemplateComponent);
114
+
115
+ function ListBasedComponent() {
116
+ var _this;
117
+
118
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
119
+ args[_key] = arguments[_key];
120
+ }
121
+
122
+ _this = _TemplateComponent.call.apply(_TemplateComponent, [this].concat(args)) || this;
123
+
124
+ _initializerDefineProperty(_this, "initialLoad", _descriptor, _assertThisInitialized(_this));
125
+
126
+ _initializerDefineProperty(_this, "variantManagement", _descriptor2, _assertThisInitialized(_this));
127
+
128
+ _initializerDefineProperty(_this, "defaultTemplateAnnotationPath", _descriptor3, _assertThisInitialized(_this));
129
+
130
+ _initializerDefineProperty(_this, "liveMode", _descriptor4, _assertThisInitialized(_this));
131
+
132
+ return _this;
133
+ }
134
+
135
+ return ListBasedComponent;
136
+ }(TemplateComponent), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "initialLoad", [_dec2], {
137
+ configurable: true,
138
+ enumerable: true,
139
+ writable: true,
140
+ initializer: null
141
+ }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "variantManagement", [_dec3], {
142
+ configurable: true,
143
+ enumerable: true,
144
+ writable: true,
145
+ initializer: null
146
+ }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "defaultTemplateAnnotationPath", [_dec4], {
147
+ configurable: true,
148
+ enumerable: true,
149
+ writable: true,
150
+ initializer: null
151
+ }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "liveMode", [_dec5], {
152
+ configurable: true,
153
+ enumerable: true,
154
+ writable: true,
155
+ initializer: null
156
+ })), _class2)) || _class);
157
+ return ListBasedComponent;
158
+ }, false);
159
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxpc3RDb21wb25lbnQudHMiXSwibmFtZXMiOlsiVmFyaWFudE1hbmFnZW1lbnQiLCJDb3JlTGlicmFyeSIsIkluaXRpYWxMb2FkTW9kZSIsIkxpc3RCYXNlZENvbXBvbmVudCIsImRlZmluZVVJNUNsYXNzIiwibWFuaWZlc3QiLCJsaWJyYXJ5IiwicHJvcGVydHkiLCJ0eXBlIiwiZGVmYXVsdFZhbHVlIiwiQXV0byIsIlBhZ2UiLCJ1bmRlZmluZWQiLCJUZW1wbGF0ZUNvbXBvbmVudCJdLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0E7QUFDQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsTUFBTUEsaUJBQWlCLEdBQUdDLFdBQVcsQ0FBQ0QsaUJBQXRDO0FBQUEsTUFDQ0UsZUFBZSxHQUFHRCxXQUFXLENBQUNDLGVBRC9CO01BNkVNQyxrQixXQTFFTEMsY0FBYyxDQUFDLGdDQUFELEVBQW1DO0FBQ2pEQyxJQUFBQSxRQUFRLEVBQUU7QUFDVCxnQkFBVTtBQUNULHNCQUFjLEtBREw7QUFFVCx1QkFBZTtBQUNkLHFCQUFXLElBREc7QUFFZCxvQkFBVSxJQUZJO0FBR2QsbUJBQVM7QUFISyxTQUZOO0FBT1QsMkJBQW1CLENBQUMsYUFBRCxFQUFnQixTQUFoQixFQUEyQixpQkFBM0IsRUFBOEMsWUFBOUMsRUFBNEQsaUJBQTVELEVBQStFLGdCQUEvRTtBQVBWLE9BREQ7QUFVVCxpQkFBVztBQUNWLG9CQUFZO0FBQ1gsa0NBQXdCO0FBQ3ZCLD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2VtZW50LlBhZ2Vcblx0fSlcblx0dmFyaWFudE1hbmFnZW1lbnQhOiB0eXBlb2YgVmFyaWFudE1hbmFnZW1lbnQ7XG5cdEBwcm9wZXJ0eSh7XG5cdFx0dHlwZTogXCJzdHJpbmdcIixcblx0XHRkZWZhdWx0VmFsdWU6IHVuZGVmaW5lZFxuXHR9KVxuXHRkZWZhdWx0VGVtcGxhdGVBbm5vdGF0aW9uUGF0aCE6IHN0cmluZztcblx0QHByb3BlcnR5KHtcblx0XHR0eXBlOiBcImJvb2xlYW5cIixcblx0XHRkZWZhdWx0VmFsdWU6IGZhbHNlXG5cdH0pXG5cdGxpdmVNb2RlITogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGRlZmF1bHQgTGlzdEJhc2VkQ29tcG9uZW50O1xuIl19
@@ -0,0 +1,105 @@
1
+ import { defineUI5Class, property } from "sap/fe/core/helpers/ClassSupport";
2
+ import CoreLibrary from "sap/fe/core/library";
3
+ import TemplateComponent from "sap/fe/core/TemplateComponent";
4
+ const VariantManagement = CoreLibrary.VariantManagement,
5
+ InitialLoadMode = CoreLibrary.InitialLoadMode;
6
+
7
+ @defineUI5Class("sap.fe.templates.ListComponent", {
8
+ manifest: {
9
+ "sap.ui": {
10
+ "technology": "UI5",
11
+ "deviceTypes": {
12
+ "desktop": true,
13
+ "tablet": true,
14
+ "phone": true
15
+ },
16
+ "supportedThemes": ["sap_fiori_3", "sap_hcb", "sap_bluecrystal", "sap_belize", "sap_belize_plus", "sap_belize_hcw"]
17
+ },
18
+ "sap.ui5": {
19
+ "services": {
20
+ "templatedViewService": {
21
+ "factoryName": "sap.fe.core.services.TemplatedViewService",
22
+ "startup": "waitFor",
23
+ "settings": {
24
+ "viewName": "sap.fe.templates.ListReport.ListReport",
25
+ "converterType": "ListReport",
26
+ "errorViewName": "sap.fe.core.services.view.TemplatingErrorPage"
27
+ }
28
+ },
29
+ "asyncComponentService": {
30
+ "factoryName": "sap.fe.core.services.AsyncComponentService",
31
+ "startup": "waitFor"
32
+ }
33
+ },
34
+ "commands": {
35
+ "Create": {
36
+ "name": "Create",
37
+ "shortcut": "Ctrl+Enter"
38
+ },
39
+ "DeleteEntry": {
40
+ "name": "DeleteEntry",
41
+ "shortcut": "Ctrl+D"
42
+ },
43
+ "TableSettings": {
44
+ "name": "TableSettings",
45
+ "shortcut": "Ctrl+,"
46
+ },
47
+ "Share": {
48
+ "name": "Share",
49
+ "shortcut": "Shift+Ctrl+S"
50
+ }
51
+ },
52
+ "handleValidation": true,
53
+ "dependencies": {
54
+ "minUI5Version": "${sap.ui5.core.version}",
55
+ "libs": {
56
+ "sap.f": {},
57
+ "sap.fe.macros": {
58
+ "lazy": true
59
+ },
60
+ "sap.m": {},
61
+ "sap.suite.ui.microchart": {
62
+ "lazy": true
63
+ },
64
+ "sap.ui.core": {},
65
+ "sap.ui.layout": {},
66
+ "sap.ui.mdc": {},
67
+ "sap.ushell": {
68
+ "lazy": true
69
+ },
70
+ "sap.ui.fl": {}
71
+ }
72
+ },
73
+ "contentDensities": {
74
+ "compact": true,
75
+ "cozy": true
76
+ }
77
+ }
78
+ },
79
+ library: "sap.fe.templates"
80
+ })
81
+ class ListBasedComponent extends TemplateComponent {
82
+ @property({
83
+ type: "sap.fe.core.InitialLoadMode",
84
+ defaultValue: InitialLoadMode.Auto
85
+ })
86
+ initialLoad!: typeof InitialLoadMode;
87
+
88
+ @property({
89
+ type: "sap.fe.core.VariantManagement",
90
+ defaultValue: VariantManagement.Page
91
+ })
92
+ variantManagement!: typeof VariantManagement;
93
+ @property({
94
+ type: "string",
95
+ defaultValue: undefined
96
+ })
97
+ defaultTemplateAnnotationPath!: string;
98
+ @property({
99
+ type: "boolean",
100
+ defaultValue: false
101
+ })
102
+ liveMode!: boolean;
103
+ }
104
+
105
+ export default ListBasedComponent;
@@ -1,41 +1,85 @@
1
1
  /*!
2
- * SAPUI5
3
- * (c) Copyright 2009-2022 SAP SE. All rights reserved.
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+ * (c) Copyright 2009-2021 SAP SE. All rights reserved
4
4
  */
5
- sap.ui.define(
6
- ["sap/fe/templates/ListComponent"],
7
- function(ListComponent) {
8
- "use strict";
9
-
10
- var ListReportComponent = ListComponent.extend("sap.fe.templates.ListReport.Component", {
11
- metadata: {
12
- properties: {
13
- /**
14
- * Defines if and on which level variants can be configured:
15
- * None: no variant configuration at all
16
- * Page: one variant configuration for the whole page
17
- * Control: variant configuration on control level
18
- */
19
-
20
- /**
21
- * Define different Page views to display
22
- */
23
- views: {
24
- type: "object"
25
- },
26
-
27
- /**
28
- * KPIs to display
29
- */
30
- keyPerformanceIndicators: {
31
- type: "object"
32
- }
33
- },
34
- library: "sap.fe.templates",
35
- manifest: "json"
36
- }
37
- });
38
- return ListReportComponent;
39
- },
40
- /* bExport= */ true
41
- );
5
+ sap.ui.define(["sap/fe/core/helpers/ClassSupport", "sap/fe/templates/ListComponent"], function (ClassSupport, ListComponent) {
6
+ "use strict";
7
+
8
+ var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
9
+
10
+ var property = ClassSupport.property;
11
+ var defineUI5Class = ClassSupport.defineUI5Class;
12
+
13
+ function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
14
+
15
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
16
+
17
+ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
18
+
19
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
20
+
21
+ function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
22
+
23
+ function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
24
+
25
+ var ListReportComponent = (_dec = defineUI5Class("sap.fe.templates.ListReport.Component", {
26
+ library: "sap.fe.templates",
27
+ manifest: "json"
28
+ }), _dec2 = property({
29
+ type: "object"
30
+ }), _dec3 = property({
31
+ type: "boolean",
32
+ defaultValue: true
33
+ }), _dec4 = property({
34
+ type: "object"
35
+ }), _dec5 = property({
36
+ type: "boolean",
37
+ defaultValue: false
38
+ }), _dec(_class = (_class2 = /*#__PURE__*/function (_ListComponent) {
39
+ _inheritsLoose(ListReportComponent, _ListComponent);
40
+
41
+ function ListReportComponent() {
42
+ var _this;
43
+
44
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
45
+ args[_key] = arguments[_key];
46
+ }
47
+
48
+ _this = _ListComponent.call.apply(_ListComponent, [this].concat(args)) || this;
49
+
50
+ _initializerDefineProperty(_this, "views", _descriptor, _assertThisInitialized(_this));
51
+
52
+ _initializerDefineProperty(_this, "stickyMultiTabHeader", _descriptor2, _assertThisInitialized(_this));
53
+
54
+ _initializerDefineProperty(_this, "keyPerformanceIndicators", _descriptor3, _assertThisInitialized(_this));
55
+
56
+ _initializerDefineProperty(_this, "hideFilterBar", _descriptor4, _assertThisInitialized(_this));
57
+
58
+ return _this;
59
+ }
60
+
61
+ return ListReportComponent;
62
+ }(ListComponent), (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "views", [_dec2], {
63
+ configurable: true,
64
+ enumerable: true,
65
+ writable: true,
66
+ initializer: null
67
+ }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "stickyMultiTabHeader", [_dec3], {
68
+ configurable: true,
69
+ enumerable: true,
70
+ writable: true,
71
+ initializer: null
72
+ }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "keyPerformanceIndicators", [_dec4], {
73
+ configurable: true,
74
+ enumerable: true,
75
+ writable: true,
76
+ initializer: null
77
+ }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "hideFilterBar", [_dec5], {
78
+ configurable: true,
79
+ enumerable: true,
80
+ writable: true,
81
+ initializer: null
82
+ })), _class2)) || _class);
83
+ return ListReportComponent;
84
+ }, false);
85
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbXBvbmVudC50cyJdLCJuYW1lcyI6WyJMaXN0UmVwb3J0Q29tcG9uZW50IiwiZGVmaW5lVUk1Q2xhc3MiLCJsaWJyYXJ5IiwibWFuaWZlc3QiLCJwcm9wZXJ0eSIsInR5cGUiLCJkZWZhdWx0VmFsdWUiLCJMaXN0Q29tcG9uZW50Il0sIm1hcHBpbmdzIjoiO0FBQUE7QUFDQTtBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7TUFJTUEsbUIsV0FKTEMsY0FBYyxDQUFDLHVDQUFELEVBQTBDO0FBQ3hEQyxJQUFBQSxPQUFPLEVBQUUsa0JBRCtDO0FBRXhEQyxJQUFBQSxRQUFRLEVBQUU7QUFGOEMsR0FBMUMsQyxVQVFiQyxRQUFRLENBQUM7QUFBRUMsSUFBQUEsSUFBSSxFQUFFO0FBQVIsR0FBRCxDLFVBS1JELFFBQVEsQ0FBQztBQUNUQyxJQUFBQSxJQUFJLEVBQUUsU0FERztBQUVUQyxJQUFBQSxZQUFZLEVBQUU7QUFGTCxHQUFELEMsV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RydWVcblx0fSlcblx0c3RpY2t5TXVsdGlUYWJIZWFkZXIhOiBib29sZWFuO1xuXHQvKipcblx0ICogS1BJcyB0byBkaXNwbGF5XG5cdCAqL1xuXHRAcHJvcGVydHkoe1xuXHRcdHR5cGU6IFwib2JqZWN0XCJcblx0fSlcblx0a2V5UGVyZm9ybWFuY2VJbmRpY2F0b3JzOiBhbnk7XG5cblx0LyoqXG5cdCAqIEZsYWcgdG8gZGV0ZXJtaW5lIHdoZXRoZXIgdGhlIHRlbXBsYXRlIHNob3VsZCBoaWRlIHRoZSBmaWx0ZXIgYmFyXG5cdCAqL1xuXHRAcHJvcGVydHkoe1xuXHRcdHR5cGU6IFwiYm9vbGVhblwiLFxuXHRcdGRlZmF1bHRWYWx1ZTogZmFsc2Vcblx0fSlcblx0aGlkZUZpbHRlckJhciE6IGJvb2xlYW47XG59XG5cbmV4cG9ydCBkZWZhdWx0IExpc3RSZXBvcnRDb21wb25lbnQ7XG4iXX0=
@@ -0,0 +1,39 @@
1
+ import { defineUI5Class, property } from "sap/fe/core/helpers/ClassSupport";
2
+ import ListComponent from "sap/fe/templates/ListComponent";
3
+ @defineUI5Class("sap.fe.templates.ListReport.Component", {
4
+ library: "sap.fe.templates",
5
+ manifest: "json"
6
+ })
7
+ class ListReportComponent extends ListComponent {
8
+ /**
9
+ * Define different Page views to display
10
+ */
11
+ @property({ type: "object" })
12
+ views: any;
13
+ /**
14
+ * Flag to determine whether the iconTabBar is in sticky mode
15
+ */
16
+ @property({
17
+ type: "boolean",
18
+ defaultValue: true
19
+ })
20
+ stickyMultiTabHeader!: boolean;
21
+ /**
22
+ * KPIs to display
23
+ */
24
+ @property({
25
+ type: "object"
26
+ })
27
+ keyPerformanceIndicators: any;
28
+
29
+ /**
30
+ * Flag to determine whether the template should hide the filter bar
31
+ */
32
+ @property({
33
+ type: "boolean",
34
+ defaultValue: false
35
+ })
36
+ hideFilterBar!: boolean;
37
+ }
38
+
39
+ export default ListReportComponent;