@sap-ux/preview-middleware 0.17.4 → 0.17.6

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.
@@ -1,9 +1,11 @@
1
1
  <Dialog id="addNewFragmentDialog"
2
2
  xmlns="sap.m"
3
3
  xmlns:core="sap.ui.core"
4
+ xmlns:l="sap.ui.layout"
4
5
  xmlns:f="sap.ui.layout.form"
5
6
  title="{/title}"
6
7
  contentWidth="500px"
8
+ initialFocus="aggregationName"
7
9
  class="sapUiRTABorder">
8
10
  <content>
9
11
  <f:SimpleForm id="addNewFragmentDialog_Form"
@@ -13,9 +15,14 @@
13
15
  singleContainerFullSize="false">
14
16
  <f:content>
15
17
  <Label visible="{/completeView}" text="{i18n>ADP_ADD_FRAGMENT_DIALOG_CONTROL_TYPE_LABEL}" />
16
- <Text visible="{/completeView}" text="{/selectedControlName}" />
18
+ <Input
19
+ id="controlType"
20
+ visible="{/completeView}"
21
+ value="{/selectedControlName}"
22
+ editable="false" />
17
23
  <Label visible="{/completeView}" text="{i18n>ADP_ADD_FRAGMENT_DIALOG_AGGREGATION_LABEL}" />
18
24
  <Select
25
+ id="aggregationName"
19
26
  visible="{/completeView}"
20
27
  change="onAggregationChanged"
21
28
  selectedKey="{/selectedAggregation/key}"
@@ -26,8 +33,8 @@
26
33
  <core:Item key="{key}" text="{value}" />
27
34
  </Select>
28
35
  <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_INDEX_LABEL}" />
29
- <HBox alignItems="Center">
30
36
  <Select
37
+ id="aggregationIndex"
31
38
  enabled="{/indexHandlingFlag}"
32
39
  selectedKey="{path: '/selectedIndex', type: 'sap.ui.model.type.Integer'}"
33
40
  items="{
@@ -37,14 +44,20 @@
37
44
  <core:Item key="{key}" text="{value}" />
38
45
  </Select>
39
46
  <core:Icon
47
+ id="aggregationIndexInfoIcon"
40
48
  useIconTooltip="false"
41
49
  visible="{/specialIndexHandlingIcon}"
42
50
  src="sap-icon://message-information"
43
- class= "sapUiTinyMarginBegin"
44
- tooltip="{/iconTooltip}" />
45
- </HBox>
46
- <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_FRAGMENT_NAME_LABEL}" />
51
+ width="1rem"
52
+ height="2rem"
53
+ tooltip="{/iconTooltip}">
54
+ <core:layoutData>
55
+ <l:GridData span="S6" />
56
+ </core:layoutData>
57
+ </core:Icon>
58
+ <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_FRAGMENT_NAME_LABEL}" required="true" />
47
59
  <Input
60
+ id="fragmentName"
48
61
  description=".fragment.xml"
49
62
  value="{/newFragmentName}"
50
63
  liveChange="onFragmentNameInputChange">
@@ -15,6 +15,7 @@
15
15
  <f:content>
16
16
  <Label text="Controller Name" />
17
17
  <Input
18
+ id="controllerName"
18
19
  description=".js"
19
20
  value="{/newControllerName}"
20
21
  liveChange="onControllerNameInputChange">
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.17.4",
12
+ "version": "0.17.6",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -26,11 +26,11 @@
26
26
  "mem-fs": "2.1.0",
27
27
  "mem-fs-editor": "9.4.0",
28
28
  "@sap-ux/logger": "0.6.0",
29
+ "@sap-ux/btp-utils": "0.18.0",
30
+ "@sap-ux/adp-tooling": "0.12.117",
29
31
  "@sap-ux/feature-toggle": "0.2.3",
30
- "@sap-ux/btp-utils": "0.17.2",
31
- "@sap-ux/adp-tooling": "0.12.116",
32
- "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.5.33",
33
- "@sap-ux/project-access": "1.29.2"
32
+ "@sap-ux/project-access": "1.29.2",
33
+ "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.5.33"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/ejs": "3.1.2",
@@ -46,8 +46,8 @@
46
46
  "supertest": "6.3.3",
47
47
  "@sap-ux-private/playwright": "0.1.0",
48
48
  "dotenv": "16.3.1",
49
- "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.11.52",
50
- "@sap-ux/axios-extension": "1.18.2",
49
+ "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.11.53",
50
+ "@sap-ux/axios-extension": "1.18.3",
51
51
  "@sap-ux/store": "1.0.0",
52
52
  "@sap-ux/ui5-info": "0.8.3",
53
53
  "@sap-ux/i18n": "0.2.0"