@sap-ux/fiori-freestyle-writer 1.2.12 → 1.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fiori-freestyle-writer",
|
|
3
3
|
"description": "SAP Fiori freestyle application writer",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.14",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
28
|
"read-pkg-up": "7.0.1",
|
|
29
29
|
"semver": "7.5.4",
|
|
30
|
-
"@sap-ux/odata-service-writer": "0.23.
|
|
31
|
-
"@sap-ux/ui5-application-writer": "1.2.
|
|
32
|
-
"@sap-ux/ui5-config": "0.25.
|
|
33
|
-
"@sap-ux/fiori-generator-shared": "0.7.
|
|
30
|
+
"@sap-ux/odata-service-writer": "0.23.1",
|
|
31
|
+
"@sap-ux/ui5-application-writer": "1.2.3",
|
|
32
|
+
"@sap-ux/ui5-config": "0.25.1",
|
|
33
|
+
"@sap-ux/fiori-generator-shared": "0.7.4"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/ejs": "3.1.2",
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!DOCTYPE HTML>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<!-- Copyright (c) 2015 SAP AG, All Rights Reserved -->
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta charset="UTF-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
+
<title>{{appTitle}}</title>
|
|
9
|
+
|
|
10
|
+
<!-- Bootstrap the unified shell in sandbox mode for standalone usage.
|
|
11
|
+
|
|
12
|
+
The renderer is specified in the global Unified Shell configuration object "sap-ushell-config".
|
|
13
|
+
|
|
14
|
+
The fiori2 renderer will render the shell header allowing, for instance,
|
|
15
|
+
testing of additional application setting buttons.
|
|
16
|
+
|
|
17
|
+
The navigation target resolution service is configured in a way that the empty URL hash is
|
|
18
|
+
resolved to our own application.
|
|
19
|
+
|
|
20
|
+
This example uses relative path references for the SAPUI5 resources and test-resources;
|
|
21
|
+
it might be necessary to adapt them depending on the target runtime platform.
|
|
22
|
+
The sandbox platform is restricted to development or demo use cases and must NOT be used
|
|
23
|
+
for productive scenarios.
|
|
24
|
+
-->
|
|
25
|
+
<script type="text/javascript">
|
|
26
|
+
window["sap-ushell-config"] = {
|
|
27
|
+
defaultRenderer: "fiori2",
|
|
28
|
+
bootstrapPlugins: {
|
|
29
|
+
"RuntimeAuthoringPlugin": {
|
|
30
|
+
component: "sap.ushell.plugins.rta",
|
|
31
|
+
config: {
|
|
32
|
+
validateAppVersion: false
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
renderers: {
|
|
37
|
+
fiori2: {
|
|
38
|
+
componentData: {
|
|
39
|
+
config: {
|
|
40
|
+
search: "hidden",
|
|
41
|
+
enableSearch: false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
applications: {
|
|
47
|
+
"<%- app.flpAppId %>": {
|
|
48
|
+
title: "<%- escapeFLPText(app.title) %>",
|
|
49
|
+
description: "<%- escapeFLPText(app.description) %>",
|
|
50
|
+
additionalInformation: "SAPUI5.Component=<%- app.id %>",
|
|
51
|
+
applicationType: "URL",
|
|
52
|
+
url: "../"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
</script>
|
|
57
|
+
|
|
58
|
+
<script src="<%- locals.uShellBootstrapResourceUrl %>" id="sap-ushell-bootstrap"></script>
|
|
59
|
+
<!-- Bootstrap the UI5 core library. 'data-sap-ui-frameOptions="allow"'' is a NON-SECURE setting for test environments -->
|
|
60
|
+
<script id="sap-ui-bootstrap"
|
|
61
|
+
src="<%- locals.uiBootstrapResourceUrl %>"
|
|
62
|
+
data-sap-ui-libs="<%- ui5.ui5Libs %>"
|
|
63
|
+
data-sap-ui-async="true"
|
|
64
|
+
data-sap-ui-preload="async"
|
|
65
|
+
data-sap-ui-theme="<%- ui5.ui5Theme %>"
|
|
66
|
+
data-sap-ui-compatVersion="edge"
|
|
67
|
+
data-sap-ui-language="en"
|
|
68
|
+
data-sap-ui-resourceroots='{"<%- app.id %>": "../"}'
|
|
69
|
+
data-sap-ui-frameOptions="allow"
|
|
70
|
+
data-sap-ui-flexibilityServices='[{"connector": "LocalStorageConnector"}]'>
|
|
71
|
+
</script><% if (appOptions.loadReuseLibs) { %>
|
|
72
|
+
<script id="locate-reuse-libs" src="./locate-reuse-libs.js" data-sap-ui-manifest-uri="../manifest.json">
|
|
73
|
+
</script><% } else { %>
|
|
74
|
+
<script>
|
|
75
|
+
sap.ui.getCore().attachInit(function () {
|
|
76
|
+
sap.ushell.Container.createRenderer().placeAt("content");
|
|
77
|
+
});
|
|
78
|
+
</script><% } %>
|
|
79
|
+
</head>
|
|
80
|
+
|
|
81
|
+
<!-- UI Content -->
|
|
82
|
+
|
|
83
|
+
<body class="sapUiBody" id="content">
|
|
84
|
+
</body>
|
|
85
|
+
|
|
86
|
+
</html>
|