unify-external-plugin-platform 0.0.3-78 → 0.0.3-79

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.
@@ -89752,8 +89752,8 @@ id_card_reader_button.install = Vue => {
89752
89752
  Vue.component(id_card_reader_button.name, id_card_reader_button);
89753
89753
  };
89754
89754
  /* harmony default export */ var id_card_reader_id_card_reader_button = (id_card_reader_button);
89755
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=template&id=62af0999&
89756
- var scanner_nkovue_type_template_id_62af0999_render = function render() {
89755
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=template&id=2b36bc1b&
89756
+ var scanner_nkovue_type_template_id_2b36bc1b_render = function render() {
89757
89757
  var _vm = this,
89758
89758
  _c = _vm._self._c;
89759
89759
  return _c('el-container', {
@@ -90083,7 +90083,7 @@ var scanner_nkovue_type_template_id_62af0999_render = function render() {
90083
90083
  }
90084
90084
  }, [_vm._v("上传")])], 1)])], 1)], 1);
90085
90085
  };
90086
- var scanner_nkovue_type_template_id_62af0999_staticRenderFns = [];
90086
+ var scanner_nkovue_type_template_id_2b36bc1b_staticRenderFns = [];
90087
90087
 
90088
90088
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js
90089
90089
  var web_dom_exception_stack = __webpack_require__(2801);
@@ -90482,7 +90482,7 @@ _defineProperty(NkoService, "fileList", []);
90482
90482
  const cachedConfig = this.getCachedConfig();
90483
90483
  if (this.fileTransferMode) {
90484
90484
  this.scanConfig.fileTransferMode = this.fileTransferMode;
90485
- } else if (cachedConfig?.fileTransferMode) {
90485
+ } else if (cachedConfig && cachedConfig.fileTransferMode) {
90486
90486
  this.scanConfig.fileTransferMode = cachedConfig.fileTransferMode;
90487
90487
  }
90488
90488
  },
@@ -90532,7 +90532,7 @@ _defineProperty(NkoService, "fileList", []);
90532
90532
 
90533
90533
  // 连接成功后,恢复缓存的扫描源(deviceId)
90534
90534
  const cached = this.getCachedConfig();
90535
- if (cached?.deviceId && this.deviceList.some(d => d.deviceId === cached.deviceId)) {
90535
+ if (cached && cached.deviceId && this.deviceList.some(d => d.deviceId === cached.deviceId)) {
90536
90536
  this.scanConfig.deviceId = cached.deviceId;
90537
90537
  // 自动触发获取该设备的能力选项
90538
90538
  this.openDeivce();
@@ -90592,15 +90592,15 @@ _defineProperty(NkoService, "fileList", []);
90592
90592
  this.fileFormatOptions = options['image-format'];
90593
90593
 
90594
90594
  // 恢复缓存配置:若缓存值在当前设备能力列表中则使用缓存值,否则取第一项
90595
- const cached = this.getCachedConfig();
90595
+ const cached = this.getCachedConfig() || {};
90596
90596
  const isValid = (list, val) => val && list.includes(val);
90597
- this.scanConfig.source = isValid(this.sourceOptions, cached?.source) ? cached.source : this.sourceOptions[0] || null;
90598
- this.scanConfig.mode = isValid(this.modeOptions, cached?.mode) ? cached.mode : this.modeOptions[0] || null;
90599
- this.scanConfig.resolution = isValid(this.resolutionOptions, cached?.resolution) ? cached.resolution : this.resolutionOptions[0] || null;
90600
- this.scanConfig.paperSize = isValid(this.paperSizeOptions, cached?.paperSize) ? cached.paperSize : this.paperSizeOptions[0] || null;
90601
- this.scanConfig.fileFormat = isValid(this.fileFormatOptions, cached?.fileFormat) ? cached.fileFormat : this.fileFormatOptions[0] || null;
90597
+ this.scanConfig.source = isValid(this.sourceOptions, cached.source) ? cached.source : this.sourceOptions[0] || null;
90598
+ this.scanConfig.mode = isValid(this.modeOptions, cached.mode) ? cached.mode : this.modeOptions[0] || null;
90599
+ this.scanConfig.resolution = isValid(this.resolutionOptions, cached.resolution) ? cached.resolution : this.resolutionOptions[0] || null;
90600
+ this.scanConfig.paperSize = isValid(this.paperSizeOptions, cached.paperSize) ? cached.paperSize : this.paperSizeOptions[0] || null;
90601
+ this.scanConfig.fileFormat = isValid(this.fileFormatOptions, cached.fileFormat) ? cached.fileFormat : this.fileFormatOptions[0] || null;
90602
90602
  // fileTransferMode 不依赖设备,直接恢复
90603
- if (cached?.fileTransferMode) {
90603
+ if (cached.fileTransferMode) {
90604
90604
  this.scanConfig.fileTransferMode = cached.fileTransferMode;
90605
90605
  }
90606
90606
  this.deviceOpend = true;
@@ -90656,10 +90656,10 @@ _defineProperty(NkoService, "fileList", []);
90656
90656
  });
90657
90657
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=script&lang=js&
90658
90658
  /* harmony default export */ var src_scanner_nkovue_type_script_lang_js_ = (scanner_nkovue_type_script_lang_js_);
90659
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=62af0999&prod&lang=scss&
90659
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=2b36bc1b&prod&lang=scss&
90660
90660
  // extracted by mini-css-extract-plugin
90661
90661
 
90662
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=62af0999&prod&lang=scss&
90662
+ ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=2b36bc1b&prod&lang=scss&
90663
90663
 
90664
90664
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue
90665
90665
 
@@ -90672,8 +90672,8 @@ _defineProperty(NkoService, "fileList", []);
90672
90672
 
90673
90673
  var scanner_nko_component = normalizeComponent(
90674
90674
  src_scanner_nkovue_type_script_lang_js_,
90675
- scanner_nkovue_type_template_id_62af0999_render,
90676
- scanner_nkovue_type_template_id_62af0999_staticRenderFns,
90675
+ scanner_nkovue_type_template_id_2b36bc1b_render,
90676
+ scanner_nkovue_type_template_id_2b36bc1b_staticRenderFns,
90677
90677
  false,
90678
90678
  null,
90679
90679
  null,
@@ -89762,8 +89762,8 @@ id_card_reader_button.install = Vue => {
89762
89762
  Vue.component(id_card_reader_button.name, id_card_reader_button);
89763
89763
  };
89764
89764
  /* harmony default export */ var id_card_reader_id_card_reader_button = (id_card_reader_button);
89765
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=template&id=62af0999&
89766
- var scanner_nkovue_type_template_id_62af0999_render = function render() {
89765
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=template&id=2b36bc1b&
89766
+ var scanner_nkovue_type_template_id_2b36bc1b_render = function render() {
89767
89767
  var _vm = this,
89768
89768
  _c = _vm._self._c;
89769
89769
  return _c('el-container', {
@@ -90093,7 +90093,7 @@ var scanner_nkovue_type_template_id_62af0999_render = function render() {
90093
90093
  }
90094
90094
  }, [_vm._v("上传")])], 1)])], 1)], 1);
90095
90095
  };
90096
- var scanner_nkovue_type_template_id_62af0999_staticRenderFns = [];
90096
+ var scanner_nkovue_type_template_id_2b36bc1b_staticRenderFns = [];
90097
90097
 
90098
90098
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js
90099
90099
  var web_dom_exception_stack = __webpack_require__(2801);
@@ -90492,7 +90492,7 @@ _defineProperty(NkoService, "fileList", []);
90492
90492
  const cachedConfig = this.getCachedConfig();
90493
90493
  if (this.fileTransferMode) {
90494
90494
  this.scanConfig.fileTransferMode = this.fileTransferMode;
90495
- } else if (cachedConfig?.fileTransferMode) {
90495
+ } else if (cachedConfig && cachedConfig.fileTransferMode) {
90496
90496
  this.scanConfig.fileTransferMode = cachedConfig.fileTransferMode;
90497
90497
  }
90498
90498
  },
@@ -90542,7 +90542,7 @@ _defineProperty(NkoService, "fileList", []);
90542
90542
 
90543
90543
  // 连接成功后,恢复缓存的扫描源(deviceId)
90544
90544
  const cached = this.getCachedConfig();
90545
- if (cached?.deviceId && this.deviceList.some(d => d.deviceId === cached.deviceId)) {
90545
+ if (cached && cached.deviceId && this.deviceList.some(d => d.deviceId === cached.deviceId)) {
90546
90546
  this.scanConfig.deviceId = cached.deviceId;
90547
90547
  // 自动触发获取该设备的能力选项
90548
90548
  this.openDeivce();
@@ -90602,15 +90602,15 @@ _defineProperty(NkoService, "fileList", []);
90602
90602
  this.fileFormatOptions = options['image-format'];
90603
90603
 
90604
90604
  // 恢复缓存配置:若缓存值在当前设备能力列表中则使用缓存值,否则取第一项
90605
- const cached = this.getCachedConfig();
90605
+ const cached = this.getCachedConfig() || {};
90606
90606
  const isValid = (list, val) => val && list.includes(val);
90607
- this.scanConfig.source = isValid(this.sourceOptions, cached?.source) ? cached.source : this.sourceOptions[0] || null;
90608
- this.scanConfig.mode = isValid(this.modeOptions, cached?.mode) ? cached.mode : this.modeOptions[0] || null;
90609
- this.scanConfig.resolution = isValid(this.resolutionOptions, cached?.resolution) ? cached.resolution : this.resolutionOptions[0] || null;
90610
- this.scanConfig.paperSize = isValid(this.paperSizeOptions, cached?.paperSize) ? cached.paperSize : this.paperSizeOptions[0] || null;
90611
- this.scanConfig.fileFormat = isValid(this.fileFormatOptions, cached?.fileFormat) ? cached.fileFormat : this.fileFormatOptions[0] || null;
90607
+ this.scanConfig.source = isValid(this.sourceOptions, cached.source) ? cached.source : this.sourceOptions[0] || null;
90608
+ this.scanConfig.mode = isValid(this.modeOptions, cached.mode) ? cached.mode : this.modeOptions[0] || null;
90609
+ this.scanConfig.resolution = isValid(this.resolutionOptions, cached.resolution) ? cached.resolution : this.resolutionOptions[0] || null;
90610
+ this.scanConfig.paperSize = isValid(this.paperSizeOptions, cached.paperSize) ? cached.paperSize : this.paperSizeOptions[0] || null;
90611
+ this.scanConfig.fileFormat = isValid(this.fileFormatOptions, cached.fileFormat) ? cached.fileFormat : this.fileFormatOptions[0] || null;
90612
90612
  // fileTransferMode 不依赖设备,直接恢复
90613
- if (cached?.fileTransferMode) {
90613
+ if (cached.fileTransferMode) {
90614
90614
  this.scanConfig.fileTransferMode = cached.fileTransferMode;
90615
90615
  }
90616
90616
  this.deviceOpend = true;
@@ -90666,10 +90666,10 @@ _defineProperty(NkoService, "fileList", []);
90666
90666
  });
90667
90667
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=script&lang=js&
90668
90668
  /* harmony default export */ var src_scanner_nkovue_type_script_lang_js_ = (scanner_nkovue_type_script_lang_js_);
90669
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=62af0999&prod&lang=scss&
90669
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=2b36bc1b&prod&lang=scss&
90670
90670
  // extracted by mini-css-extract-plugin
90671
90671
 
90672
- ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=62af0999&prod&lang=scss&
90672
+ ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue?vue&type=style&index=0&id=2b36bc1b&prod&lang=scss&
90673
90673
 
90674
90674
  ;// CONCATENATED MODULE: ./packages/scanner/scanner-nko/src/scanner-nko.vue
90675
90675
 
@@ -90682,8 +90682,8 @@ _defineProperty(NkoService, "fileList", []);
90682
90682
 
90683
90683
  var scanner_nko_component = normalizeComponent(
90684
90684
  src_scanner_nkovue_type_script_lang_js_,
90685
- scanner_nkovue_type_template_id_62af0999_render,
90686
- scanner_nkovue_type_template_id_62af0999_staticRenderFns,
90685
+ scanner_nkovue_type_template_id_2b36bc1b_render,
90686
+ scanner_nkovue_type_template_id_2b36bc1b_staticRenderFns,
90687
90687
  false,
90688
90688
  null,
90689
90689
  null,