ps-toolkit-ui 1.6.25 → 1.6.26

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.
@@ -5311,9 +5311,9 @@
5311
5311
  return;
5312
5312
  }
5313
5313
  this.inp.value = null;
5314
- if (this.inp.onChange) {
5315
- this.inp.onChange(this.inp, false);
5316
- }
5314
+ // if (this.inp.onChange){
5315
+ // this.inp.onChange(this.inp, false);
5316
+ // }
5317
5317
  if (this.inp.type === exports.InputType.SelectSearch) {
5318
5318
  this.setOptions();
5319
5319
  }
@@ -5887,27 +5887,25 @@
5887
5887
  };
5888
5888
  if (this.inp.type === exports.InputType.BarcodeReader) {
5889
5889
  this.inp.button = 'blue';
5890
- var fn_1 = this.inp.name + 'SetBarcodeScanValue';
5891
- this.inp.onClickButton = function () {
5892
- try {
5893
- // @ts-ignore
5894
- window.JSInterface.startBarcodeScan(fn_1);
5895
- }
5896
- catch (e) {
5897
- }
5898
- };
5899
- try {
5900
- // @ts-ignore
5901
- window[fn_1] = function (s) {
5902
- alert(s);
5903
- _this.inp.setValue(s, false);
5904
- setTimeout(function () {
5905
- _this.onFocusIn();
5906
- }, 100);
5907
- };
5908
- }
5909
- catch (e) {
5910
- }
5890
+ // const fn = this.inp.name + 'SetBarcodeScanValue';
5891
+ // this.inp.onClickButton = () => {
5892
+ // try {
5893
+ // // @ts-ignore
5894
+ // window.JSInterface.startBarcodeScan(fn);
5895
+ // } catch (e) {
5896
+ // }
5897
+ // };
5898
+ // try {
5899
+ // // @ts-ignore
5900
+ // window[fn] = (s) => {
5901
+ // alert(s);
5902
+ // this.inp.setValue(s, false);
5903
+ // setTimeout(() => {
5904
+ // this.onFocusIn();
5905
+ // }, 100);
5906
+ // };
5907
+ // } catch (e) {
5908
+ // }
5911
5909
  }
5912
5910
  };
5913
5911
  FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {