@byteluck-fe/model-driven-shared 6.2.0-beta.8 → 6.2.0-beta.9

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,3 +1,4 @@
1
+ // import { createI18n } from 'vue-i18n'
1
2
  function _class_call_check(instance, Constructor) {
2
3
  if (!(instance instanceof Constructor)) {
3
4
  throw new TypeError("Cannot call a class as a function");
@@ -30,7 +31,6 @@ function _define_property(obj, key, value) {
30
31
  }
31
32
  return obj;
32
33
  }
33
- // import { createI18n } from 'vue-i18n'
34
34
  import messages from './locales';
35
35
  import { DEFAULT_LOCALE } from './constant';
36
36
  import { getLocaleText } from '@byteluck-fe/locale-message';
package/dist/esm/calc.js CHANGED
@@ -58,7 +58,6 @@ export var CALC_AGGREGATE_TYPE = /*#__PURE__*/ function(CALC_AGGREGATE_TYPE) {
58
58
  export var CalcScriptEchoItem = function CalcScriptEchoItem(props) {
59
59
  "use strict";
60
60
  _class_call_check(this, CalcScriptEchoItem);
61
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
62
61
  /**
63
62
  * 变量名称或者公式符号或者数值
64
63
  * */ _define_property(this, "name", void 0);
@@ -77,10 +76,16 @@ export var CalcScriptEchoItem = function CalcScriptEchoItem(props) {
77
76
  /**
78
77
  * 绑定的是其它明细子表内变量时,必须有aggregateType
79
78
  * */ _define_property(this, "aggregateType", void 0);
80
- this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
81
- this.id = (_ref1 = props === null || props === void 0 ? void 0 : props.id) !== null && _ref1 !== void 0 ? _ref1 : '';
82
- this.type = (_ref2 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref2 !== void 0 ? _ref2 : "Number";
83
- this.subTableId = (_ref3 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _ref3 !== void 0 ? _ref3 : undefined;
84
- this.subTableName = (_ref4 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _ref4 !== void 0 ? _ref4 : undefined;
85
- this.aggregateType = (_ref5 = props === null || props === void 0 ? void 0 : props.aggregateType) !== null && _ref5 !== void 0 ? _ref5 : undefined;
79
+ var _props_name;
80
+ this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
81
+ var _props_id;
82
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : '';
83
+ var _props_type;
84
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "Number";
85
+ var _props_subTableId;
86
+ this.subTableId = (_props_subTableId = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _props_subTableId !== void 0 ? _props_subTableId : undefined;
87
+ var _props_subTableId1;
88
+ this.subTableName = (_props_subTableId1 = props === null || props === void 0 ? void 0 : props.subTableId) !== null && _props_subTableId1 !== void 0 ? _props_subTableId1 : undefined;
89
+ var _props_aggregateType;
90
+ this.aggregateType = (_props_aggregateType = props === null || props === void 0 ? void 0 : props.aggregateType) !== null && _props_aggregateType !== void 0 ? _props_aggregateType : undefined;
86
91
  };
@@ -1,3 +1,3 @@
1
1
  var _window_localStorage_getItem;
2
2
  export var DEFAULT_LOCALE = (_window_localStorage_getItem = window.localStorage.getItem('locale')) !== null && _window_localStorage_getItem !== void 0 ? _window_localStorage_getItem : 'zh-CN';
3
- export var noop = function noop() {};
3
+ export var noop = function() {};
@@ -1,4 +1,7 @@
1
- function _class_call_check(instance, Constructor) {
1
+ /**
2
+ * @author qiyu
3
+ * @description 属性只是简单从接口拿过来,还未仔细考虑
4
+ */ function _class_call_check(instance, Constructor) {
2
5
  if (!(instance instanceof Constructor)) {
3
6
  throw new TypeError("Cannot call a class as a function");
4
7
  }
@@ -16,10 +19,7 @@ function _define_property(obj, key, value) {
16
19
  }
17
20
  return obj;
18
21
  }
19
- /**
20
- * @author qiyu
21
- * @description 属性只是简单从接口拿过来,还未仔细考虑
22
- */ export var DepartmentEntity = function DepartmentEntity() {
22
+ export var DepartmentEntity = function DepartmentEntity() {
23
23
  "use strict";
24
24
  _class_call_check(this, DepartmentEntity);
25
25
  _define_property(this, 'department_en_name', void 0);
@@ -1,4 +1,7 @@
1
- function _class_call_check(instance, Constructor) {
1
+ /**
2
+ * @author qiyu
3
+ * @description 属性只是简单从接口拿过来,还未仔细考虑
4
+ */ function _class_call_check(instance, Constructor) {
2
5
  if (!(instance instanceof Constructor)) {
3
6
  throw new TypeError("Cannot call a class as a function");
4
7
  }
@@ -16,10 +19,7 @@ function _define_property(obj, key, value) {
16
19
  }
17
20
  return obj;
18
21
  }
19
- /**
20
- * @author qiyu
21
- * @description 属性只是简单从接口拿过来,还未仔细考虑
22
- */ export var UserEntity = function UserEntity() {
22
+ export var UserEntity = function UserEntity() {
23
23
  "use strict";
24
24
  _class_call_check(this, UserEntity);
25
25
  _define_property(this, 'avatar_big', void 0);
@@ -93,17 +93,9 @@ function _ts_generator(thisArg, body) {
93
93
  },
94
94
  trys: [],
95
95
  ops: []
96
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
97
- return d(g, "next", {
98
- value: verb(0)
99
- }), d(g, "throw", {
100
- value: verb(1)
101
- }), d(g, "return", {
102
- value: verb(2)
103
- }), typeof Symbol === "function" && d(g, Symbol.iterator, {
104
- value: function() {
105
- return this;
106
- }
96
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
97
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
98
+ return this;
107
99
  }), g;
108
100
  function verb(n) {
109
101
  return function(v) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-shared",
3
- "version": "6.2.0-beta.8",
3
+ "version": "6.2.0-beta.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -31,5 +31,5 @@
31
31
  "humps": "^2.0.1",
32
32
  "vue-i18n": "^9.13.1"
33
33
  },
34
- "gitHead": "4a02c63ccb426834d9e937a59021254c177fc25f"
34
+ "gitHead": "8be989639272957e7e6a01ae0bf26f5a5493fea9"
35
35
  }