@sap-ux/preview-middleware 0.11.9 → 0.11.12

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.
@@ -11,7 +11,7 @@ sap.ui.define(["sap/ui/core/library", "sap/ui/core/mvc/Controller"], function (s
11
11
  onFragmentNameInputChange: function _onFragmentNameInputChange(event) {
12
12
  const input = event.getSource();
13
13
  const beginBtn = this.dialog.getBeginButton();
14
- const fragmentName = input.getValue().trim();
14
+ const fragmentName = input.getValue();
15
15
  const fragmentList = this.model.getProperty('/fragmentList');
16
16
  const updateDialogState = function (valueState) {
17
17
  let valueStateText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
@@ -52,7 +52,7 @@ export default abstract class BaseDialog extends Controller {
52
52
  const input = event.getSource<Input>();
53
53
  const beginBtn = this.dialog.getBeginButton();
54
54
 
55
- const fragmentName: string = input.getValue().trim();
55
+ const fragmentName: string = input.getValue();
56
56
  const fragmentList: { fragmentName: string }[] = this.model.getProperty('/fragmentList');
57
57
 
58
58
  const updateDialogState = (valueState: ValueState, valueStateText = '') => {
@@ -35,7 +35,7 @@ sap.ui.define(["sap/m/MessageToast", "sap/ui/core/library", "sap/ui/model/json/J
35
35
  onControllerNameInputChange: function _onControllerNameInputChange(event) {
36
36
  const input = event.getSource();
37
37
  const beginBtn = this.dialog.getBeginButton();
38
- const controllerName = input.getValue().trim();
38
+ const controllerName = input.getValue();
39
39
  const controllerList = this.model.getProperty('/controllersList');
40
40
  const updateDialogState = function (valueState) {
41
41
  let valueStateText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
@@ -80,7 +80,7 @@ export default class ControllerExtension extends BaseDialog {
80
80
  const input = event.getSource<Input>();
81
81
  const beginBtn = this.dialog.getBeginButton();
82
82
 
83
- const controllerName: string = input.getValue().trim();
83
+ const controllerName: string = input.getValue();
84
84
  const controllerList: { controllerName: string }[] = this.model.getProperty('/controllersList');
85
85
 
86
86
  const updateDialogState = (valueState: ValueState, valueStateText = '') => {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
11
11
  },
12
- "version": "0.11.9",
12
+ "version": "0.11.12",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "dependencies": {
25
25
  "ejs": "3.1.9",
26
26
  "@sap-ux/logger": "0.4.0",
27
- "@sap-ux/adp-tooling": "0.7.1",
28
- "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.5"
27
+ "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.5",
28
+ "@sap-ux/adp-tooling": "0.7.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/ejs": "3.1.2",
@@ -36,8 +36,8 @@
36
36
  "npm-run-all": "4.1.5",
37
37
  "nock": "13.2.1",
38
38
  "supertest": "6.3.3",
39
+ "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.8.7",
39
40
  "@sap-ux/project-access": "1.16.0",
40
- "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.8.5",
41
41
  "@sap-ux/store": "0.4.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -61,7 +61,7 @@
61
61
  </script><% if (locals.flex && flex?.scenario === 'ADAPTATION_PROJECT') { %>
62
62
  <!-- Temporary fix until RTA provides api for enable/disable buttons in main RTA navigation menu -->
63
63
  <style>
64
- .sapUiRtaToolbarActionsSection button[id$="fragment--sapUiRta_exit"],
64
+ .sapUiRtaToolbarActionsSection button[aria-label="Exit"],
65
65
  .sapUiRtaToolbarActionsSection button[id$="fragment--sapUiRta_feedback"],
66
66
  .sapUiRtaToolbarActionsSection button[id$="fragment--sapUiRta_actionsToolbar-overflowButton"] {
67
67
  display:none;