eoss-mobiles 0.2.49 → 0.2.50

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/lib/checkbox.js CHANGED
@@ -1807,7 +1807,22 @@ var axios_ajax = function ajax(url) {
1807
1807
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1808
1808
  delete config.headers.deviceId;
1809
1809
  }
1810
-
1810
+ var accessToken = util["a" /* default */].getStorage('accessToken');
1811
+ var tenantId = util["a" /* default */].getStorage('tenantId');
1812
+ var authorization = util["a" /* default */].getStorage('authorization') || util["a" /* default */].getStorage('token');
1813
+ var deviceId = util["a" /* default */].getStorage('deviceId');
1814
+ if (accessToken) {
1815
+ config.headers['X-Coos-Client-Access-Token'] = accessToken;
1816
+ }
1817
+ if (tenantId) {
1818
+ config.headers['X-Coos-Client-Tenant-Id'] = tenantId;
1819
+ }
1820
+ if (authorization) {
1821
+ config.headers['Authorization'] = authorization;
1822
+ }
1823
+ if (deviceId) {
1824
+ config.headers['deviceId'] = deviceId;
1825
+ }
1811
1826
  return config;
1812
1827
  }, function (error) {
1813
1828
  return Promise.error(error);
@@ -3074,7 +3074,22 @@ var axios_ajax = function ajax(url) {
3074
3074
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
3075
3075
  delete config.headers.deviceId;
3076
3076
  }
3077
-
3077
+ var accessToken = util.getStorage('accessToken');
3078
+ var tenantId = util.getStorage('tenantId');
3079
+ var authorization = util.getStorage('authorization') || util.getStorage('token');
3080
+ var deviceId = util.getStorage('deviceId');
3081
+ if (accessToken) {
3082
+ config.headers['X-Coos-Client-Access-Token'] = accessToken;
3083
+ }
3084
+ if (tenantId) {
3085
+ config.headers['X-Coos-Client-Tenant-Id'] = tenantId;
3086
+ }
3087
+ if (authorization) {
3088
+ config.headers['Authorization'] = authorization;
3089
+ }
3090
+ if (deviceId) {
3091
+ config.headers['deviceId'] = deviceId;
3092
+ }
3078
3093
  return config;
3079
3094
  }, function (error) {
3080
3095
  return Promise.error(error);
@@ -5243,8 +5258,8 @@ field_src_main.install = function (Vue) {
5243
5258
  };
5244
5259
 
5245
5260
  /* harmony default export */ var packages_field = (field_src_main);
5246
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/main.vue?vue&type=template&id=6780641d&
5247
- var mainvue_type_template_id_6780641d_render = function () {
5261
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/main.vue?vue&type=template&id=526e450c&
5262
+ var mainvue_type_template_id_526e450c_render = function () {
5248
5263
  var _vm = this
5249
5264
  var _h = _vm.$createElement
5250
5265
  var _c = _vm._self._c || _h
@@ -5306,11 +5321,11 @@ var mainvue_type_template_id_6780641d_render = function () {
5306
5321
  1
5307
5322
  )
5308
5323
  }
5309
- var mainvue_type_template_id_6780641d_staticRenderFns = []
5310
- mainvue_type_template_id_6780641d_render._withStripped = true
5324
+ var mainvue_type_template_id_526e450c_staticRenderFns = []
5325
+ mainvue_type_template_id_526e450c_render._withStripped = true
5311
5326
 
5312
5327
 
5313
- // CONCATENATED MODULE: ./packages/radio/src/main.vue?vue&type=template&id=6780641d&
5328
+ // CONCATENATED MODULE: ./packages/radio/src/main.vue?vue&type=template&id=526e450c&
5314
5329
 
5315
5330
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/main.vue?vue&type=script&lang=js&
5316
5331
  var mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -5377,7 +5392,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5377
5392
  default: 'vertical'
5378
5393
  },
5379
5394
  value: {
5380
- type: String,
5395
+ type: [String, Number],
5381
5396
  default: ''
5382
5397
  },
5383
5398
  sysAppCode: {
@@ -5510,8 +5525,8 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
5510
5525
 
5511
5526
  var radio_src_main_component = normalizeComponent(
5512
5527
  packages_radio_src_mainvue_type_script_lang_js_,
5513
- mainvue_type_template_id_6780641d_render,
5514
- mainvue_type_template_id_6780641d_staticRenderFns,
5528
+ mainvue_type_template_id_526e450c_render,
5529
+ mainvue_type_template_id_526e450c_staticRenderFns,
5515
5530
  false,
5516
5531
  null,
5517
5532
  null,
@@ -9958,6 +9973,7 @@ var table_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
9958
9973
  'header-row-class-name': this.tableHeader,
9959
9974
  data: this.datas
9960
9975
  }, this.$attrs, {
9976
+ 'max-height': this.maxHeight,
9961
9977
  height: this.tableHeight !== 'auto' ? this.tableHeight : this.tableClientHeight
9962
9978
  }),
9963
9979
  on: table_src_mainvue_type_script_lang_js_extends({}, this.$listeners, {
@@ -22701,7 +22717,7 @@ if (typeof window !== 'undefined' && window.Vue) {
22701
22717
  }
22702
22718
 
22703
22719
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
22704
- version: '0.2.49',
22720
+ version: '0.2.50',
22705
22721
  install: install,
22706
22722
  Button: packages_button,
22707
22723
  ButtonGroup: button_group,
package/lib/flow-btn.js CHANGED
@@ -1807,7 +1807,22 @@ var axios_ajax = function ajax(url) {
1807
1807
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1808
1808
  delete config.headers.deviceId;
1809
1809
  }
1810
-
1810
+ var accessToken = util["a" /* default */].getStorage('accessToken');
1811
+ var tenantId = util["a" /* default */].getStorage('tenantId');
1812
+ var authorization = util["a" /* default */].getStorage('authorization') || util["a" /* default */].getStorage('token');
1813
+ var deviceId = util["a" /* default */].getStorage('deviceId');
1814
+ if (accessToken) {
1815
+ config.headers['X-Coos-Client-Access-Token'] = accessToken;
1816
+ }
1817
+ if (tenantId) {
1818
+ config.headers['X-Coos-Client-Tenant-Id'] = tenantId;
1819
+ }
1820
+ if (authorization) {
1821
+ config.headers['Authorization'] = authorization;
1822
+ }
1823
+ if (deviceId) {
1824
+ config.headers['deviceId'] = deviceId;
1825
+ }
1811
1826
  return config;
1812
1827
  }, function (error) {
1813
1828
  return Promise.error(error);
package/lib/flow-list.js CHANGED
@@ -1807,7 +1807,22 @@ var axios_ajax = function ajax(url) {
1807
1807
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1808
1808
  delete config.headers.deviceId;
1809
1809
  }
1810
-
1810
+ var accessToken = util["a" /* default */].getStorage('accessToken');
1811
+ var tenantId = util["a" /* default */].getStorage('tenantId');
1812
+ var authorization = util["a" /* default */].getStorage('authorization') || util["a" /* default */].getStorage('token');
1813
+ var deviceId = util["a" /* default */].getStorage('deviceId');
1814
+ if (accessToken) {
1815
+ config.headers['X-Coos-Client-Access-Token'] = accessToken;
1816
+ }
1817
+ if (tenantId) {
1818
+ config.headers['X-Coos-Client-Tenant-Id'] = tenantId;
1819
+ }
1820
+ if (authorization) {
1821
+ config.headers['Authorization'] = authorization;
1822
+ }
1823
+ if (deviceId) {
1824
+ config.headers['deviceId'] = deviceId;
1825
+ }
1811
1826
  return config;
1812
1827
  }, function (error) {
1813
1828
  return Promise.error(error);
package/lib/flow.js CHANGED
@@ -1803,7 +1803,22 @@ var axios_ajax = function ajax(url) {
1803
1803
  if (config.url.search('mecp/overtime') !== -1 || config.url.search('mecp/leave') !== -1 || config.url.search('contractext') !== -1 || config.url.search('getSysParam') !== -1) {
1804
1804
  delete config.headers.deviceId;
1805
1805
  }
1806
-
1806
+ var accessToken = util["a" /* default */].getStorage('accessToken');
1807
+ var tenantId = util["a" /* default */].getStorage('tenantId');
1808
+ var authorization = util["a" /* default */].getStorage('authorization') || util["a" /* default */].getStorage('token');
1809
+ var deviceId = util["a" /* default */].getStorage('deviceId');
1810
+ if (accessToken) {
1811
+ config.headers['X-Coos-Client-Access-Token'] = accessToken;
1812
+ }
1813
+ if (tenantId) {
1814
+ config.headers['X-Coos-Client-Tenant-Id'] = tenantId;
1815
+ }
1816
+ if (authorization) {
1817
+ config.headers['Authorization'] = authorization;
1818
+ }
1819
+ if (deviceId) {
1820
+ config.headers['deviceId'] = deviceId;
1821
+ }
1807
1822
  return config;
1808
1823
  }, function (error) {
1809
1824
  return Promise.error(error);