@sapui5/sap.fe.templates 1.99.0 → 1.101.1

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 (137) hide show
  1. package/package.json +6 -5
  2. package/src/sap/fe/templates/.library +1 -2
  3. package/src/sap/fe/templates/AnalyticalListPage/Component.js +24 -12
  4. package/src/sap/fe/templates/AnalyticalListPage/Component.ts +6 -0
  5. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +30 -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 +156 -118
  10. package/src/sap/fe/templates/ListComponent.ts +105 -0
  11. package/src/sap/fe/templates/ListReport/Component.js +82 -47
  12. package/src/sap/fe/templates/ListReport/Component.ts +39 -0
  13. package/src/sap/fe/templates/ListReport/ExtensionAPI.js +123 -112
  14. package/src/sap/fe/templates/ListReport/ExtensionAPI.ts +100 -0
  15. package/src/sap/fe/templates/ListReport/ListReport.view.xml +24 -22
  16. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +1111 -1086
  17. package/src/sap/fe/templates/ListReport/ListReportController.controller.ts +1009 -0
  18. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +54 -53
  19. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.ts +55 -0
  20. package/src/sap/fe/templates/ListReport/overrides/Share.js +134 -137
  21. package/src/sap/fe/templates/ListReport/overrides/Share.ts +134 -0
  22. package/src/sap/fe/templates/ListReport/overrides/ViewState.js +443 -428
  23. package/src/sap/fe/templates/ListReport/overrides/ViewState.ts +413 -0
  24. package/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +25 -25
  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 +478 -473
  29. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.ts +511 -0
  30. package/src/sap/fe/templates/ObjectPage/Component.js +169 -149
  31. package/src/sap/fe/templates/ObjectPage/Component.ts +131 -0
  32. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +140 -142
  33. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.ts +116 -0
  34. package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +6 -8
  35. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1530 -1414
  36. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.ts +1442 -0
  37. package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +136 -95
  38. package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.ts +84 -0
  39. package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +24 -21
  40. package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.ts +10 -0
  41. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +98 -53
  42. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.ts +50 -0
  43. package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +20 -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 +50 -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 +34 -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 +15 -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 +11 -11
  52. package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.ts +7 -0
  53. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +55 -52
  54. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.ts +57 -0
  55. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +15 -17
  56. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.ts +13 -0
  57. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +13 -17
  58. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.ts +14 -0
  59. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.js +23 -21
  60. package/src/sap/fe/templates/ObjectPage/overrides/Paginator.ts +21 -0
  61. package/src/sap/fe/templates/ObjectPage/overrides/Share.js +310 -317
  62. package/src/sap/fe/templates/ObjectPage/overrides/Share.ts +316 -0
  63. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +66 -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 +1 -1
  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 +4 -4
  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/SwitchDraftAndActiveObjectPopOver.fragment.xml +27 -0
  74. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +851 -815
  75. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.ts +795 -0
  76. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +205 -187
  77. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.ts +178 -0
  78. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +484 -459
  79. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.ts +438 -0
  80. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +16 -14
  81. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.ts +20 -0
  82. package/src/sap/fe/templates/TableScroller.js +45 -53
  83. package/src/sap/fe/templates/TableScroller.ts +48 -0
  84. package/src/sap/fe/templates/controls/Chart.fragment.xml +18 -17
  85. package/src/sap/fe/templates/controls/MacroChart.fragment.xml +22 -0
  86. package/src/sap/fe/templates/library.js +49 -63
  87. package/src/sap/fe/templates/library.ts +57 -0
  88. package/src/sap/fe/templates/messagebundle.properties +19 -7
  89. package/src/sap/fe/templates/messagebundle_ar.properties +6 -17
  90. package/src/sap/fe/templates/messagebundle_bg.properties +6 -17
  91. package/src/sap/fe/templates/messagebundle_ca.properties +6 -17
  92. package/src/sap/fe/templates/messagebundle_cs.properties +6 -17
  93. package/src/sap/fe/templates/messagebundle_cy.properties +6 -17
  94. package/src/sap/fe/templates/messagebundle_da.properties +6 -17
  95. package/src/sap/fe/templates/messagebundle_de.properties +6 -17
  96. package/src/sap/fe/templates/messagebundle_el.properties +6 -17
  97. package/src/sap/fe/templates/messagebundle_en.properties +6 -17
  98. package/src/sap/fe/templates/messagebundle_en_GB.properties +6 -17
  99. package/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +0 -15
  100. package/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +6 -17
  101. package/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +6 -17
  102. package/src/sap/fe/templates/messagebundle_es.properties +6 -17
  103. package/src/sap/fe/templates/messagebundle_es_MX.properties +6 -17
  104. package/src/sap/fe/templates/messagebundle_et.properties +6 -17
  105. package/src/sap/fe/templates/messagebundle_fi.properties +6 -17
  106. package/src/sap/fe/templates/messagebundle_fr.properties +6 -17
  107. package/src/sap/fe/templates/messagebundle_fr_CA.properties +6 -17
  108. package/src/sap/fe/templates/messagebundle_hi.properties +6 -17
  109. package/src/sap/fe/templates/messagebundle_hr.properties +6 -17
  110. package/src/sap/fe/templates/messagebundle_hu.properties +6 -17
  111. package/src/sap/fe/templates/messagebundle_id.properties +6 -17
  112. package/src/sap/fe/templates/messagebundle_it.properties +6 -17
  113. package/src/sap/fe/templates/messagebundle_iw.properties +6 -17
  114. package/src/sap/fe/templates/messagebundle_ja.properties +6 -17
  115. package/src/sap/fe/templates/messagebundle_kk.properties +6 -17
  116. package/src/sap/fe/templates/messagebundle_ko.properties +6 -17
  117. package/src/sap/fe/templates/messagebundle_lt.properties +6 -17
  118. package/src/sap/fe/templates/messagebundle_lv.properties +6 -17
  119. package/src/sap/fe/templates/messagebundle_ms.properties +6 -17
  120. package/src/sap/fe/templates/messagebundle_nl.properties +6 -17
  121. package/src/sap/fe/templates/messagebundle_no.properties +6 -17
  122. package/src/sap/fe/templates/messagebundle_pl.properties +6 -17
  123. package/src/sap/fe/templates/messagebundle_pt.properties +6 -17
  124. package/src/sap/fe/templates/messagebundle_pt_PT.properties +6 -17
  125. package/src/sap/fe/templates/messagebundle_ro.properties +6 -17
  126. package/src/sap/fe/templates/messagebundle_ru.properties +6 -17
  127. package/src/sap/fe/templates/messagebundle_sh.properties +6 -17
  128. package/src/sap/fe/templates/messagebundle_sk.properties +6 -17
  129. package/src/sap/fe/templates/messagebundle_sl.properties +6 -17
  130. package/src/sap/fe/templates/messagebundle_sv.properties +6 -17
  131. package/src/sap/fe/templates/messagebundle_th.properties +6 -17
  132. package/src/sap/fe/templates/messagebundle_tr.properties +6 -17
  133. package/src/sap/fe/templates/messagebundle_uk.properties +6 -17
  134. package/src/sap/fe/templates/messagebundle_vi.properties +6 -17
  135. package/src/sap/fe/templates/messagebundle_zh_CN.properties +6 -17
  136. package/src/sap/fe/templates/messagebundle_zh_TW.properties +6 -17
  137. package/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.xml +0 -49
@@ -1,121 +1,159 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- (c) Copyright 2009-2021 SAP SE. All rights reserved
4
-
3
+ * (c) Copyright 2009-2021 SAP SE. All rights reserved
5
4
  */
6
- sap.ui.define(
7
- ["sap/fe/core/TemplateComponent", "sap/fe/core/library"],
8
- function(TemplateComponent, CoreLibrary) {
9
- "use strict";
10
-
11
- var VariantManagement = CoreLibrary.VariantManagement,
12
- InitialLoadMode = CoreLibrary.InitialLoadMode,
13
- ListBasedComponent = TemplateComponent.extend("sap.fe.templates.ListComponent", {
14
- metadata: {
15
- properties: {
16
- initialLoad: {
17
- type: "sap.fe.core.InitialLoadMode",
18
- defaultValue: InitialLoadMode.Auto
19
- },
20
- variantManagement: {
21
- type: "sap.fe.core.VariantManagement",
22
- defaultValue: VariantManagement.Page
23
- },
24
- defaultTemplateAnnotationPath: {
25
- type: "string",
26
- defaultValue: undefined
27
- },
28
- liveMode: {
29
- type: "boolean",
30
- defaultValue: false
31
- }
32
- },
33
- manifest: {
34
- "sap.ui": {
35
- "technology": "UI5",
36
- "deviceTypes": {
37
- "desktop": true,
38
- "tablet": true,
39
- "phone": true
40
- },
41
- "supportedThemes": [
42
- "sap_fiori_3",
43
- "sap_hcb",
44
- "sap_bluecrystal",
45
- "sap_belize",
46
- "sap_belize_plus",
47
- "sap_belize_hcw"
48
- ]
49
- },
50
- "sap.ui5": {
51
- "services": {
52
- "templatedViewService": {
53
- "factoryName": "sap.fe.core.services.TemplatedViewService",
54
- "startup": "waitFor",
55
- "settings": {
56
- "viewName": "sap.fe.templates.ListReport.ListReport",
57
- "converterType": "ListReport",
58
- "errorViewName": "sap.fe.core.services.view.TemplatingErrorPage"
59
- }
60
- },
61
- "asyncComponentService": {
62
- "factoryName": "sap.fe.core.services.AsyncComponentService",
63
- "startup": "waitFor"
64
- }
65
- },
66
- "commands": {
67
- "Create": {
68
- "name": "Create",
69
- "shortcut": "Ctrl+Enter"
70
- },
71
- "DeleteEntry": {
72
- "name": "DeleteEntry",
73
- "shortcut": "Ctrl+D"
74
- },
75
- "TableSettings": {
76
- "name": "TableSettings",
77
- "shortcut": "Ctrl+,"
78
- },
79
- "Share": {
80
- "name": "Share",
81
- "shortcut": "Shift+Ctrl+S"
82
- }
83
- },
84
- "handleValidation": true,
85
- "dependencies": {
86
- "minUI5Version": "${sap.ui5.core.version}",
87
- "libs": {
88
- "sap.f": {},
89
- "sap.fe.macros": {
90
- "lazy": true
91
- },
92
- "sap.m": {},
93
- "sap.suite.ui.microchart": {
94
- "lazy": true
95
- },
96
- "sap.ui.core": {},
97
- "sap.ui.layout": {},
98
- "sap.ui.mdc": {},
99
- "sap.ushell": {
100
- "lazy": true
101
- },
102
- "sap.ui.fl": {}
103
- }
104
- },
105
- "contentDensities": {
106
- "compact": true,
107
- "cozy": true
108
- }
109
- }
110
- },
111
- library: "sap.fe.templates"
112
- },
113
- getViewData: function() {
114
- var oViewData = TemplateComponent.prototype.getViewData.apply(this, arguments);
115
- return oViewData;
116
- }
117
- });
118
- return ListBasedComponent;
119
- },
120
- /* bExport= */ true
121
- );
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxpc3RDb21wb25lbnQudHMiXSwibmFtZXMiOlsiVmFyaWFudE1hbmFnZW1lbnQiLCJDb3JlTGlicmFyeSIsIkluaXRpYWxMb2FkTW9kZSIsIkxpc3RCYXNlZENvbXBvbm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ZhbHNlXG5cdH0pXG5cdGxpdmVNb2RlITogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGRlZmF1bHQgTGlzdEJhc2VkQ29tcG9uZW50O1xuIl19
@@ -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,50 +1,85 @@
1
1
  /*!
2
2
  * SAP UI development toolkit for HTML5 (SAPUI5)
3
- (c) Copyright 2009-2021 SAP SE. All rights reserved
4
-
3
+ * (c) Copyright 2009-2021 SAP SE. All rights reserved
5
4
  */
6
- sap.ui.define(
7
- ["sap/fe/templates/ListComponent"],
8
- function(ListComponent) {
9
- "use strict";
10
-
11
- var ListReportComponent = ListComponent.extend("sap.fe.templates.ListReport.Component", {
12
- metadata: {
13
- properties: {
14
- /**
15
- * Defines if and on which level variants can be configured:
16
- * None: no variant configuration at all
17
- * Page: one variant configuration for the whole page
18
- * Control: variant configuration on control level
19
- */
20
-
21
- /**
22
- * Define different Page views to display
23
- */
24
- views: {
25
- type: "object"
26
- },
27
-
28
- /**
29
- * KPIs to display
30
- */
31
- keyPerformanceIndicators: {
32
- type: "object"
33
- },
34
-
35
- /**
36
- * Flag to determine whether the template should hide the filter bar
37
- */
38
- hideFilterBar: {
39
- type: "boolean",
40
- defaultValue: false
41
- }
42
- },
43
- library: "sap.fe.templates",
44
- manifest: "json"
45
- }
46
- });
47
- return ListReportComponent;
48
- },
49
- /* bExport= */ true
50
- );
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbXBvbmVudC50cyJdLCJuYW1lcyI6WyJMaXN0UmVwb3J0Q29tcG9uZW50IiwiZGVmaW5lVUk1Q2xhc3MiLCJsaWJyYXJ5IiwibWFuaWZlc3QiLCJwcm9wZXJ0eSIsInR5cGUiLCJkZWZhdWx0VmFsdWUiLCJMaXN0Q29tcG9uZW50Il0sIm1hcHBpbmdzIjoiO0FBQUE7QUFDQTtBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7TUFJTUEsbUIsV0FKTEMsY0FBYyxDQUFDLHVDQUFELEVBQTBDO0FBQ3hEQyxJQUFBQSxPQUFPLEVBQUUsa0JBRCtDO0FBRXhEQyxJQUFBQSxRQUFRLEVBQUU7QUFGOEMsR0FBMUMsQyxVQVFiQyxRQUFRLENBQUM7QUFBRUMsSUFBQUEsSUFBSSxFQUFFO0FBQVIsR0FBRCxDLFVBS1JELFFBQVEsQ0FBQztBQUNUQyxJQUFBQSxJQUFJLEVBQUUsU0FERztBQUVUQyxJQUFBQSxZQUFZLEVBQUU7QUFGTCxHQUFELEMsVUFRUkYsUUFBUSxDQUFDO0FBQ1RDLElBQUFBLElBQUksRUFBRTtBQURHLEdBQUQsQyxVQVFSRCxRQUFRLENBQUM7QUFDVEMsSUFBQUEsSUFBSSxFQUFFLFNBREc7QUFFVEMsSUFBQUEsWUFBWSxFQUFFO0FBRkwsR0FBRCxDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUF6QndCQyxhOzs7Ozs7Ozs7Ozs7Ozs7Oz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5lIHdoZXRoZXIgdGhlIHRlbXBsYXRlIHNob3VsZCBoaWRlIHRoZSBmaWx0ZXIgYmFyXG5cdCAqL1xuXHRAcHJvcGVydHkoe1xuXHRcdHR5cGU6IFwiYm9vbGVhblwiLFxuXHRcdGRlZmF1bHRWYWx1ZTogZmFsc2Vcblx0fSlcblx0aGlkZUZpbHRlckJhciE6IGJvb2xlYW47XG59XG5cbmV4cG9ydCBkZWZhdWx0IExpc3RSZXBvcnRDb21wb25lbnQ7XG4iXX0=
@@ -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;