@sap-ux/preview-middleware 0.19.37 → 0.19.39

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 (79) hide show
  1. package/dist/client/adp/add-fragment.js +46 -46
  2. package/dist/client/adp/api-handler.js +159 -159
  3. package/dist/client/adp/command-executor.js +75 -75
  4. package/dist/client/adp/control-utils.js +44 -44
  5. package/dist/client/adp/controllers/AddTableColumnFragments.controller.js +5 -10
  6. package/dist/client/adp/controllers/AddTableColumnFragments.controller.ts +3 -9
  7. package/dist/client/adp/controllers/ControllerExtension.controller.js +210 -210
  8. package/dist/client/adp/controllers/ExtensionPoint.controller.js +139 -139
  9. package/dist/client/adp/controllers/FileExistsDialog.controller.js +66 -66
  10. package/dist/client/adp/dialog-factory.js +135 -135
  11. package/dist/client/adp/init-dialogs.js +163 -163
  12. package/dist/client/adp/quick-actions/add-new-subpage-quick-action-base.js +96 -96
  13. package/dist/client/adp/quick-actions/common/add-controller-to-page.js +60 -60
  14. package/dist/client/adp/quick-actions/common/create-page-action.js +54 -54
  15. package/dist/client/adp/quick-actions/common/op-add-custom-section.js +39 -39
  16. package/dist/client/adp/quick-actions/common/op-add-header-field.js +67 -67
  17. package/dist/client/adp/quick-actions/common/utils.js +18 -18
  18. package/dist/client/adp/quick-actions/control-types.js +23 -23
  19. package/dist/client/adp/quick-actions/dialog-enablement-validator.js +24 -24
  20. package/dist/client/adp/quick-actions/enablement-validator.js +4 -4
  21. package/dist/client/adp/quick-actions/fe-v2/add-new-subpage.js +81 -81
  22. package/dist/client/adp/quick-actions/fe-v2/change-table-actions.js +67 -67
  23. package/dist/client/adp/quick-actions/fe-v2/change-table-columns.js +101 -101
  24. package/dist/client/adp/quick-actions/fe-v2/create-table-action.js +107 -107
  25. package/dist/client/adp/quick-actions/fe-v2/create-table-custom-column.js +99 -99
  26. package/dist/client/adp/quick-actions/fe-v2/lr-enable-semantic-date-range-filter-bar.js +78 -78
  27. package/dist/client/adp/quick-actions/fe-v2/lr-enable-table-filtering.js +77 -77
  28. package/dist/client/adp/quick-actions/fe-v2/lr-enable-variant-management.js +69 -69
  29. package/dist/client/adp/quick-actions/fe-v2/lr-toggle-clear-filter-bar.js +59 -59
  30. package/dist/client/adp/quick-actions/fe-v2/op-enable-empty-row-mode.js +93 -93
  31. package/dist/client/adp/quick-actions/fe-v2/op-enable-variant-management.js +84 -84
  32. package/dist/client/adp/quick-actions/fe-v2/registry.js +77 -77
  33. package/dist/client/adp/quick-actions/fe-v2/utils.js +116 -116
  34. package/dist/client/adp/quick-actions/fe-v4/add-new-subpage.js +138 -138
  35. package/dist/client/adp/quick-actions/fe-v4/change-table-actions.js +79 -79
  36. package/dist/client/adp/quick-actions/fe-v4/change-table-columns.js +75 -75
  37. package/dist/client/adp/quick-actions/fe-v4/create-table-action.js +53 -53
  38. package/dist/client/adp/quick-actions/fe-v4/create-table-custom-column.js +49 -49
  39. package/dist/client/adp/quick-actions/fe-v4/enable-variant-management.js +81 -81
  40. package/dist/client/adp/quick-actions/fe-v4/lr-enable-semantic-date-range-filter-bar.js +56 -56
  41. package/dist/client/adp/quick-actions/fe-v4/lr-enable-table-filtering.js +84 -84
  42. package/dist/client/adp/quick-actions/fe-v4/lr-toggle-clear-filter-bar.js +53 -53
  43. package/dist/client/adp/quick-actions/fe-v4/op-enable-empty-row-mode.js +89 -89
  44. package/dist/client/adp/quick-actions/fe-v4/registry.js +60 -60
  45. package/dist/client/adp/quick-actions/fe-v4/utils.js +72 -72
  46. package/dist/client/adp/quick-actions/load.js +44 -44
  47. package/dist/client/adp/quick-actions/quick-action-base.js +64 -64
  48. package/dist/client/adp/utils.js +218 -218
  49. package/dist/client/cpe/additional-change-info/add-xml-additional-info.js +75 -75
  50. package/dist/client/cpe/changes/index.js +10 -10
  51. package/dist/client/cpe/changes/validator.js +39 -39
  52. package/dist/client/cpe/documentation.js +164 -164
  53. package/dist/client/cpe/feature-service.js +36 -36
  54. package/dist/client/cpe/logger.js +30 -30
  55. package/dist/client/cpe/outline/editable.js +37 -37
  56. package/dist/client/cpe/outline/nodes.js +203 -203
  57. package/dist/client/cpe/quick-actions/quick-action-definition.js +4 -4
  58. package/dist/client/cpe/quick-actions/registry.js +143 -143
  59. package/dist/client/cpe/quick-actions/utils.js +92 -92
  60. package/dist/client/cpe/types.js +4 -4
  61. package/dist/client/cpe/ui5-utils.js +33 -33
  62. package/dist/client/cpe/utils.js +111 -111
  63. package/dist/client/flp/WorkspaceConnector.js +92 -92
  64. package/dist/client/flp/common.js +28 -28
  65. package/dist/client/flp/enableFakeConnector.js +89 -89
  66. package/dist/client/flp/homepage/Component.js +14 -14
  67. package/dist/client/flp/initCdm.js +117 -117
  68. package/dist/client/flp/initConnectors.js +28 -28
  69. package/dist/client/flp/initRta.js +178 -178
  70. package/dist/client/i18n.js +56 -56
  71. package/dist/client/utils/additional-change-info.js +54 -41
  72. package/dist/client/utils/additional-change-info.ts +22 -8
  73. package/dist/client/utils/application.js +32 -32
  74. package/dist/client/utils/core.js +84 -84
  75. package/dist/client/utils/error.js +19 -19
  76. package/dist/client/utils/fe-v2.js +56 -56
  77. package/dist/client/utils/fe-v4.js +140 -140
  78. package/dist/client/utils/version.js +104 -104
  79. package/package.json +4 -4
@@ -1,16 +1,16 @@
1
- "use strict";
2
-
3
- sap.ui.define(["sap/ui/core/UIComponent"], function (BaseComponent) {
4
- "use strict";
5
-
6
- /**
7
- * @namespace open.ux.preview.client.flp.homepage
8
- */
9
- const Component = BaseComponent.extend("open.ux.preview.client.flp.homepage.Component", {
10
- metadata: {
11
- manifest: 'json'
12
- }
13
- });
14
- return Component;
1
+ "use strict";
2
+
3
+ sap.ui.define(["sap/ui/core/UIComponent"], function (BaseComponent) {
4
+ "use strict";
5
+
6
+ /**
7
+ * @namespace open.ux.preview.client.flp.homepage
8
+ */
9
+ const Component = BaseComponent.extend("open.ux.preview.client.flp.homepage.Component", {
10
+ metadata: {
11
+ manifest: 'json'
12
+ }
13
+ });
14
+ return Component;
15
15
  });
16
16
  //# sourceMappingURL=Component.js.map
@@ -1,119 +1,119 @@
1
- "use strict";
2
-
3
- sap.ui.define([], function () {
4
- "use strict";
5
-
6
- /**
7
- * Initializes the CDM (Common Data Model) configuration for the SAP Fiori Launchpad.
8
- *
9
- * @param {sap.ushell.Container} container - The SAP Fiori Launchpad container.
10
- * @returns {Promise<void>} A promise that resolves when the initialization is complete.
11
- */
12
- async function initCdm(container) {
13
- window['sap-ushell-config'] = {
14
- defaultRenderer: 'fiori2',
15
- renderers: {
16
- fiori2: {
17
- componentData: {
18
- config: {
19
- enableSearch: false,
20
- enableRecentActivity: true,
21
- rootIntent: 'Shell-home'
22
- }
23
- }
24
- }
25
- },
26
- ushell: {
27
- customPreload: {
28
- enabled: false
29
- },
30
- spaces: {
31
- enabled: true,
32
- myHome: {
33
- enabled: true
34
- }
35
- },
36
- homeApp: {
37
- component: {
38
- name: 'open.ux.preview.client.flp.homepage',
39
- url: '/preview/client/flp/homepage'
40
- }
41
- }
42
- },
43
- services: {
44
- Container: {
45
- adapter: {
46
- config: {
47
- userProfile: {
48
- metadata: {
49
- editablePropterties: ['accessibility', 'contentDensity', 'theme']
50
- },
51
- defaults: {
52
- email: 'john.doe@sap.com',
53
- firstName: 'John',
54
- lastName: 'Doe',
55
- fullName: 'John Doe',
56
- id: 'DOEJ'
57
- }
58
- }
59
- }
60
- }
61
- },
62
- CommonDataModel: {
63
- adapter: {
64
- config: {
65
- ignoreSiteDataPersonalization: true,
66
- siteDataUrl: '/cdm.json'
67
- }
68
- }
69
- },
70
- Personalization: {
71
- adapter: {
72
- module: 'sap.ushell.adapters.local.PersonalizationAdapter',
73
- config: {
74
- storageType: 'MEMORY'
75
- }
76
- }
77
- },
78
- PersonalizationV2: {
79
- adapter: {
80
- module: 'sap.ushell.adapters.local.PersonalizationAdapter',
81
- config: {
82
- storageType: 'MEMORY'
83
- }
84
- }
85
- },
86
- AppState: {
87
- adapter: {
88
- module: 'sap.ushell.adapters.local.AppStateAdapter'
89
- },
90
- config: {
91
- transient: true
92
- }
93
- },
94
- NavTargetResolutionInternal: {
95
- config: {
96
- allowTestUrlComponentConfig: false,
97
- enableClientSideTargetResolution: true
98
- },
99
- adapter: {
100
- module: 'sap.ushell.adapters.local.NavTargetResolutionInternalAdapter'
101
- }
102
- },
103
- UserInfo: {
104
- adapter: {
105
- module: 'sap.ushell.adapters.local.UserInfoAdapter'
106
- }
107
- },
108
- FlpLaunchPage: {
109
- adapter: {
110
- module: 'sap.ushell.adapters.cdm.v3.FlpLaunchPageAdapter'
111
- }
112
- }
113
- }
114
- };
115
- await container.init('cdm');
116
- }
117
- return initCdm;
1
+ "use strict";
2
+
3
+ sap.ui.define([], function () {
4
+ "use strict";
5
+
6
+ /**
7
+ * Initializes the CDM (Common Data Model) configuration for the SAP Fiori Launchpad.
8
+ *
9
+ * @param {sap.ushell.Container} container - The SAP Fiori Launchpad container.
10
+ * @returns {Promise<void>} A promise that resolves when the initialization is complete.
11
+ */
12
+ async function initCdm(container) {
13
+ window['sap-ushell-config'] = {
14
+ defaultRenderer: 'fiori2',
15
+ renderers: {
16
+ fiori2: {
17
+ componentData: {
18
+ config: {
19
+ enableSearch: false,
20
+ enableRecentActivity: true,
21
+ rootIntent: 'Shell-home'
22
+ }
23
+ }
24
+ }
25
+ },
26
+ ushell: {
27
+ customPreload: {
28
+ enabled: false
29
+ },
30
+ spaces: {
31
+ enabled: true,
32
+ myHome: {
33
+ enabled: true
34
+ }
35
+ },
36
+ homeApp: {
37
+ component: {
38
+ name: 'open.ux.preview.client.flp.homepage',
39
+ url: '/preview/client/flp/homepage'
40
+ }
41
+ }
42
+ },
43
+ services: {
44
+ Container: {
45
+ adapter: {
46
+ config: {
47
+ userProfile: {
48
+ metadata: {
49
+ editablePropterties: ['accessibility', 'contentDensity', 'theme']
50
+ },
51
+ defaults: {
52
+ email: 'john.doe@sap.com',
53
+ firstName: 'John',
54
+ lastName: 'Doe',
55
+ fullName: 'John Doe',
56
+ id: 'DOEJ'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ },
62
+ CommonDataModel: {
63
+ adapter: {
64
+ config: {
65
+ ignoreSiteDataPersonalization: true,
66
+ siteDataUrl: '/cdm.json'
67
+ }
68
+ }
69
+ },
70
+ Personalization: {
71
+ adapter: {
72
+ module: 'sap.ushell.adapters.local.PersonalizationAdapter',
73
+ config: {
74
+ storageType: 'MEMORY'
75
+ }
76
+ }
77
+ },
78
+ PersonalizationV2: {
79
+ adapter: {
80
+ module: 'sap.ushell.adapters.local.PersonalizationAdapter',
81
+ config: {
82
+ storageType: 'MEMORY'
83
+ }
84
+ }
85
+ },
86
+ AppState: {
87
+ adapter: {
88
+ module: 'sap.ushell.adapters.local.AppStateAdapter'
89
+ },
90
+ config: {
91
+ transient: true
92
+ }
93
+ },
94
+ NavTargetResolutionInternal: {
95
+ config: {
96
+ allowTestUrlComponentConfig: false,
97
+ enableClientSideTargetResolution: true
98
+ },
99
+ adapter: {
100
+ module: 'sap.ushell.adapters.local.NavTargetResolutionInternalAdapter'
101
+ }
102
+ },
103
+ UserInfo: {
104
+ adapter: {
105
+ module: 'sap.ushell.adapters.local.UserInfoAdapter'
106
+ }
107
+ },
108
+ FlpLaunchPage: {
109
+ adapter: {
110
+ module: 'sap.ushell.adapters.cdm.v3.FlpLaunchPageAdapter'
111
+ }
112
+ }
113
+ }
114
+ };
115
+ await container.init('cdm');
116
+ }
117
+ return initCdm;
118
118
  });
119
119
  //# sourceMappingURL=initCdm.js.map
@@ -1,30 +1,30 @@
1
- "use strict";
2
-
3
- sap.ui.define(["../utils/version"], function (___utils_version) {
4
- "use strict";
5
-
6
- const getUi5Version = ___utils_version["getUi5Version"];
7
- const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
8
- /**
9
- * Initializes UI5 connectors based on the current UI5 version.
10
- *
11
- * For UI5 versions below 1.72, this function dynamically requires and executes a FakeLrepConnector.
12
- * For UI5 versions 1.72 and above, it defines a local connector that reuses the WorkspaceConnector.
13
- * This setup allows for flexibility in using different connectors based on the UI5 version.
14
- *
15
- * @example
16
- * intiConnectors(); // Simply call the function without any arguments.
17
- */
18
- async function initConnectors() {
19
- if (isLowerThanMinimalUi5Version(await getUi5Version(), {
20
- major: 1,
21
- minor: 72
22
- })) {
23
- sap.ui.require(['open/ux/preview/client/flp/enableFakeConnector'], function (enableFakeConnector) {
24
- enableFakeConnector();
25
- });
26
- }
27
- }
28
- return initConnectors;
1
+ "use strict";
2
+
3
+ sap.ui.define(["../utils/version"], function (___utils_version) {
4
+ "use strict";
5
+
6
+ const getUi5Version = ___utils_version["getUi5Version"];
7
+ const isLowerThanMinimalUi5Version = ___utils_version["isLowerThanMinimalUi5Version"];
8
+ /**
9
+ * Initializes UI5 connectors based on the current UI5 version.
10
+ *
11
+ * For UI5 versions below 1.72, this function dynamically requires and executes a FakeLrepConnector.
12
+ * For UI5 versions 1.72 and above, it defines a local connector that reuses the WorkspaceConnector.
13
+ * This setup allows for flexibility in using different connectors based on the UI5 version.
14
+ *
15
+ * @example
16
+ * intiConnectors(); // Simply call the function without any arguments.
17
+ */
18
+ async function initConnectors() {
19
+ if (isLowerThanMinimalUi5Version(await getUi5Version(), {
20
+ major: 1,
21
+ minor: 72
22
+ })) {
23
+ sap.ui.require(['open/ux/preview/client/flp/enableFakeConnector'], function (enableFakeConnector) {
24
+ enableFakeConnector();
25
+ });
26
+ }
27
+ }
28
+ return initConnectors;
29
29
  });
30
30
  //# sourceMappingURL=initConnectors.js.map