@sapui5/sap.ndc 1.92.0 → 1.93.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ndc",
3
- "version": "1.92.0",
3
+ "version": "1.93.3",
4
4
  "description": "SAPUI5 Library sap.ndc",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAPUI5
7
7
 
8
8
  (c) Copyright 2009-2021 SAP SE. All rights reserved</copyright>
9
- <version>1.92.0</version>
9
+ <version>1.93.3</version>
10
10
 
11
11
  <documentation>SAPUI5 library with controls with native device capabilities.</documentation>
12
12
 
@@ -222,13 +222,13 @@ sap.ui.define([
222
222
 
223
223
  oScanDialog.setTitle(oDialogTitle);
224
224
  oScanDialog.addContent(
225
- new Label({
225
+ new Label(oScanDialog.getId() + '-txt_barcode', {
226
226
  text: "{i18n>BARCODE_DIALOG_MSG}",
227
227
  visible: "{/isNoScanner}"
228
228
  })
229
229
  );
230
230
 
231
- var oFallbackInput = new Input({
231
+ var oFallbackInput = new Input(oScanDialog.getId() + '-inp_barcode', {
232
232
  value: "{/barcode}",
233
233
  valueLiveUpdate: true,
234
234
  liveChange: function(oEvent) {
@@ -243,7 +243,7 @@ sap.ui.define([
243
243
  oScanDialog.addContent(oFallbackInput);
244
244
 
245
245
  oScanDialog.setBeginButton(
246
- new Button({
246
+ new Button(oScanDialog.getId() + '-btn_barcode_ok', {
247
247
  text: "{i18n>BARCODE_DIALOG_OK}",
248
248
  press: function(oEvent) {
249
249
  BarcodeScanner.closeScanDialog();
@@ -303,7 +303,7 @@ sap.ui.define([
303
303
 
304
304
  if (!oScanDialog || (oScanDialog && oScanDialog.getContent().length === 0)) {
305
305
  oDialogModel = new JSONModel();
306
- oScanDialog = new Dialog({
306
+ oScanDialog = new Dialog('sapNdcBarcodeScannerDialog', {
307
307
  icon: 'sap-icon://bar-code',
308
308
  title: "",
309
309
  stretch: true,
@@ -32,7 +32,7 @@ sap.ui.define(['sap/m/library', 'sap/ui/core/library'],
32
32
  ],
33
33
  elements: [],
34
34
  noLibraryCSS: true,
35
- version: "1.92.0"
35
+ version: "1.93.3"
36
36
  });
37
37
 
38
38
  return sap.ndc;