@byteluck-fe/model-driven-controls 3.0.0-beta.5 → 3.0.0-beta.7

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.
@@ -107,7 +107,7 @@ var EmployeeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
107
107
  return [
108
108
  {
109
109
  key: 'displayBoList',
110
- name: '显示值',
110
+ name: getLocaleText('CMD.ca6d1751969089479'),
111
111
  required: true
112
112
  }
113
113
  ];
@@ -137,7 +137,7 @@ function _is_native_reflect_construct() {
137
137
  })();
138
138
  }
139
139
  function _ts_generator(thisArg, body) {
140
- var f, y, t, g, _ = {
140
+ var f, y, t, _ = {
141
141
  label: 0,
142
142
  sent: function() {
143
143
  if (t[0] & 1) throw t[1];
@@ -145,12 +145,8 @@ function _ts_generator(thisArg, body) {
145
145
  },
146
146
  trys: [],
147
147
  ops: []
148
- };
149
- return g = {
150
- next: verb(0),
151
- "throw": verb(1),
152
- "return": verb(2)
153
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
148
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
149
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
154
150
  return this;
155
151
  }), g;
156
152
  function verb(n) {
@@ -163,7 +159,7 @@ function _ts_generator(thisArg, body) {
163
159
  }
164
160
  function step(op) {
165
161
  if (f) throw new TypeError("Generator is already executing.");
166
- while(_)try {
162
+ while(g && (g = 0, op[0] && (_ = 0)), _)try {
167
163
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
168
164
  if (y = 0, t) op = [
169
165
  op[0] & 2,
@@ -292,7 +288,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
292
288
  _state.sent();
293
289
  return [
294
290
  4,
295
- Promise.all(_this1.children.map(function(child) {
291
+ Promise.all(this.children.map(function(child) {
296
292
  return child.validate(messages, ignore);
297
293
  }))
298
294
  ];
@@ -304,7 +300,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
304
300
  ];
305
301
  }
306
302
  });
307
- })();
303
+ }).call(this);
308
304
  }
309
305
  }
310
306
  ]);
@@ -84,6 +84,7 @@ function _is_native_reflect_construct() {
84
84
  return !!result;
85
85
  })();
86
86
  }
87
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
88
  import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
88
89
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
90
  import AddressProperty from './property';
@@ -103,7 +104,7 @@ var AddressControl = /*#__PURE__*/ function(RuntimeFormControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '省市区';
107
+ return getLocaleText('CMD.e2df1751969091034');
107
108
  }
108
109
  },
109
110
  {
@@ -182,7 +182,7 @@ var AmountPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
182
182
  message: getLocaleText(amountMax === undefined ? 'CMD.pleaseEnterAValueGreaterThanMin' : amountMin === undefined ? 'CMD.pleaseEnterAValueLessThanMax' : 'CMD.pleaseEnterNumberRange', {
183
183
  max: amountMax,
184
184
  min: amountMin
185
- }, amountMax === undefined ? '请输入大于等于{min}的数值' : amountMin === undefined ? '请输入小于等于{max}的数值' : '请输入大于等于{min}且小于等于{max}的数值')
185
+ }, amountMax === undefined ? getLocaleText('CMD.56c11751969066552') : amountMin === undefined ? getLocaleText('CMD.f2c61751969068677') : getLocaleText('CMD.e4d51751969059638'))
186
186
  }
187
187
  ],
188
188
  currency: {
@@ -165,6 +165,10 @@ _define_property(AttachmentControl, "setting", [
165
165
  key: 'ai-explanation',
166
166
  visible: true
167
167
  },
168
+ {
169
+ key: 'attachment-storage',
170
+ visible: true
171
+ },
168
172
  {
169
173
  key: 'attachment-state',
170
174
  visible: true
@@ -1,9 +1,9 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2023-09-14 18:31:51
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:49:31
6
- * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-09-14 18:31:51
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:49:31
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
7
7
  */ function _assert_this_initialized(self) {
8
8
  if (self === void 0) {
9
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -133,10 +133,10 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
133
133
  var _this;
134
134
  _this = _call_super(this, AttachmentProperty, [
135
135
  props
136
- ]), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
136
+ ]), _define_property(_this, "storageType", void 0), _define_property(_this, "defaultValue", void 0), // 默认格式和列表格式,原应用内是title和table
137
137
  _define_property(_this, "showType", void 0), _define_property(_this, "resultShowType", void 0), _define_property(_this, "attachmentAccept", void 0), _define_property(_this, "maxLimit", void 0), _define_property(_this, "minLimit", void 0), _define_property(_this, "isShowWatermark", void 0 // 是否开启水印
138
- ), _define_property(_this, "watermarkFx", void 0), /**
139
- * maxSize 存储大小,单位为Byte,默认值为100MB
138
+ ), _define_property(_this, "watermarkFx", void 0), /**
139
+ * maxSize 存储大小,单位为Byte,默认值为100MB
140
140
  * */ _define_property(_this, "maxSize", void 0), // 附件按钮操作数组
141
141
  _define_property(_this, "operation", void 0), // 附件ai解释
142
142
  _define_property(_this, "aiExplanation", void 0), // 附件ai解释长度
@@ -173,6 +173,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
173
173
  _this.aiExplanation = (_props_aiExplanation = props === null || props === void 0 ? void 0 : props.aiExplanation) !== null && _props_aiExplanation !== void 0 ? _props_aiExplanation : false;
174
174
  var _props_aiExplanationLength;
175
175
  _this.aiExplanationLength = (_props_aiExplanationLength = props === null || props === void 0 ? void 0 : props.aiExplanationLength) !== null && _props_aiExplanationLength !== void 0 ? _props_aiExplanationLength : 500;
176
+ var _props_storageType;
177
+ _this.storageType = (_props_storageType = props === null || props === void 0 ? void 0 : props.storageType) !== null && _props_storageType !== void 0 ? _props_storageType : 'local';
176
178
  return _this;
177
179
  }
178
180
  return AttachmentProperty;
@@ -155,7 +155,7 @@ var Department2Control = /*#__PURE__*/ function(DesignerFormControl) {
155
155
  return [
156
156
  {
157
157
  key: 'displayBoList',
158
- name: '显示值',
158
+ name: getLocaleText('CMD.dbd51751969089480'),
159
159
  required: true
160
160
  }
161
161
  ];
@@ -125,7 +125,7 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
125
125
  return [
126
126
  {
127
127
  key: 'displayBoList',
128
- name: '显示值',
128
+ name: getLocaleText('CMD.49d21751969089481'),
129
129
  required: true
130
130
  }
131
131
  ];
@@ -160,8 +160,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
160
160
  attributes: Employee2Control.controlCustomAttributes
161
161
  });
162
162
  var _props_datasourceType;
163
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL //默认内部组织 EXTERNAL 外部组织
164
- ;
163
+ _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL; //默认内部组织 EXTERNAL 外部组织
165
164
  var _props_insideType;
166
165
  _this.insideType = (_props_insideType = props === null || props === void 0 ? void 0 : props.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
167
166
  var _props_externalType;
@@ -1,9 +1,9 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2022-12-01 14:40:30
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:50:38
6
- * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2022-12-01 14:40:30
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:50:38
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
7
7
  */ function _assert_this_initialized(self) {
8
8
  if (self === void 0) {
9
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -174,6 +174,10 @@ _define_property(ImageControl, "setting", [
174
174
  key: 'ai-explanation',
175
175
  visible: true
176
176
  },
177
+ {
178
+ key: 'attachment-storage',
179
+ visible: true
180
+ },
177
181
  {
178
182
  key: 'attachment-limit',
179
183
  visible: true
@@ -138,7 +138,7 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
138
138
  message: getLocaleText(max === undefined ? 'CMD.pleaseEnterAValueGreaterThanMin' : min === undefined ? 'CMD.pleaseEnterAValueLessThanMax' : 'CMD.pleaseEnterNumberRange', {
139
139
  max: max,
140
140
  min: min
141
- }, max === undefined ? '请输入大于等于{min}的数值' : min === undefined ? '请输入小于等于{max}的数值' : '请输入大于等于{min}且小于等于{max}的数值')
141
+ }, max === undefined ? getLocaleText('CMD.b21d1751969066554') : min === undefined ? getLocaleText('CMD.fc041751969068680') : getLocaleText('CMD.382b1751969059639'))
142
142
  });
143
143
  if (props.regularRules.expression && props.regularRules.errMessage) {
144
144
  _this.push({
@@ -161,7 +161,7 @@ var OrganizationSelectionControl = /*#__PURE__*/ function(DesignerFormControl) {
161
161
  return [
162
162
  {
163
163
  key: 'displayBoList',
164
- name: '显示值',
164
+ name: getLocaleText('CMD.391d1751969089483'),
165
165
  required: true
166
166
  }
167
167
  ];
@@ -125,12 +125,12 @@ var TreeControl = /*#__PURE__*/ function(DesignerFormControl) {
125
125
  return [
126
126
  {
127
127
  key: 'displayBoList',
128
- name: '显示值',
128
+ name: getLocaleText('CMD.979f1751969089484'),
129
129
  required: true
130
130
  },
131
131
  {
132
132
  key: 'parentField',
133
- name: '父级字段',
133
+ name: getLocaleText('CMD.30e31751969086734'),
134
134
  required: true
135
135
  }
136
136
  ];
@@ -19,28 +19,32 @@ function _define_property(obj, key, value) {
19
19
  import { genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
20
20
  import { RightVariable } from '@byteluck-fe/model-driven-core';
21
21
  import { getLocaleText } from '@byteluck-fe/locale-message';
22
- export var TitleConfigEnum;
23
- (function(TitleConfigEnum) {
22
+ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
24
23
  TitleConfigEnum["ShowBizKey"] = "is_show_biz_key";
25
24
  TitleConfigEnum["ShowSubmitUser"] = "is_show_submit_user";
26
25
  TitleConfigEnum["ShowSubmitTime"] = "is_show_submit_time";
27
26
  TitleConfigEnum["ShowSubmitDept"] = "is_show_submit_dept";
28
27
  TitleConfigEnum["ShowCurrentApprovar"] = "is_show_current_approvar";
29
28
  TitleConfigEnum["ShowTitle"] = "is_show_title";
30
- })(TitleConfigEnum || (TitleConfigEnum = {}));
31
- export var DATE_CONFIG_TYPE;
32
- (function(DATE_CONFIG_TYPE) {
29
+ return TitleConfigEnum;
30
+ }({});
31
+ /**
32
+ * 时间范围类型
33
+ */ export var DATE_CONFIG_TYPE = /*#__PURE__*/ function(DATE_CONFIG_TYPE) {
33
34
  DATE_CONFIG_TYPE["EARLY_DATE"] = "earlyDate";
34
35
  DATE_CONFIG_TYPE["LATE_DATE"] = "lateDate";
35
36
  DATE_CONFIG_TYPE["UN_SELECT_ABLE_INTERVAL"] = "unSelectAbleInterval";
36
- })(DATE_CONFIG_TYPE || (DATE_CONFIG_TYPE = {}));
37
- export var DATE_LIMIT_TYPE;
38
- (function(DATE_LIMIT_TYPE) {
37
+ return DATE_CONFIG_TYPE;
38
+ }({});
39
+ /**
40
+ * 时间限制类型
41
+ */ export var DATE_LIMIT_TYPE = /*#__PURE__*/ function(DATE_LIMIT_TYPE) {
39
42
  DATE_LIMIT_TYPE["FILE_IN_TIME"] = "filledInTime";
40
43
  DATE_LIMIT_TYPE["BEFORE_TIME"] = "beforeTime";
41
44
  DATE_LIMIT_TYPE["AFTER_TIME"] = "afterTime";
42
45
  DATE_LIMIT_TYPE["TIME_SPECIFIED"] = "timeSpecified";
43
- })(DATE_LIMIT_TYPE || (DATE_LIMIT_TYPE = {}));
46
+ return DATE_LIMIT_TYPE;
47
+ }({});
44
48
  /**
45
49
  * 时间限制范围
46
50
  */ export var LimitDate = function LimitDate() {
@@ -55,27 +59,24 @@ export var DATE_LIMIT_TYPE;
55
59
  ]
56
60
  };
57
61
  _class_call_check(this, LimitDate);
58
- _define_property(this, "dateConfigType", void 0 // 范围类型
59
- );
60
- _define_property(this, "dateLimitType", void 0 // 限制类型
61
- );
62
+ _define_property(this, "dateConfigType", void 0); // 范围类型
63
+ _define_property(this, "dateLimitType", void 0); // 限制类型
62
64
  _define_property(this, "id", void 0);
63
- _define_property(this, "value", void 0 // 存储值
64
- );
65
+ _define_property(this, "value", void 0); // 存储值
65
66
  this.id = props.id;
66
67
  this.dateConfigType = props.dateConfigType;
67
68
  this.dateLimitType = props.dateLimitType;
68
69
  this.value = props.value;
69
70
  };
70
- export var SCORE_TYPE;
71
- (function(SCORE_TYPE) {
71
+ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
72
72
  SCORE_TYPE["PRAISE"] = "praise";
73
73
  SCORE_TYPE["STAR"] = "star";
74
74
  SCORE_TYPE["FLOWER"] = "flower";
75
75
  SCORE_TYPE["HAND"] = "hand";
76
76
  SCORE_TYPE["HEART"] = "heart";
77
77
  SCORE_TYPE["SMILE"] = "smile";
78
- })(SCORE_TYPE || (SCORE_TYPE = {}));
78
+ return SCORE_TYPE;
79
+ }({});
79
80
  export var Explain = function Explain(props) {
80
81
  "use strict";
81
82
  _class_call_check(this, Explain);
@@ -86,15 +87,15 @@ export var Explain = function Explain(props) {
86
87
  var _props_text;
87
88
  this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
88
89
  };
89
- export var LINE_STYLE;
90
- (function(LINE_STYLE) {
90
+ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
91
91
  LINE_STYLE["SOLID"] = "solid-line";
92
92
  LINE_STYLE["DASHED"] = "dashed-line";
93
93
  LINE_STYLE["BOLD_SOLID"] = "bold-solid-line";
94
94
  LINE_STYLE["BOLD_DASHED"] = "bold-dashed-line";
95
95
  LINE_STYLE["DOUBLE_SOLID"] = "double-solid-line";
96
96
  LINE_STYLE["DOUBLE_DASHED"] = "double-dashed-line";
97
- })(LINE_STYLE || (LINE_STYLE = {}));
97
+ return LINE_STYLE;
98
+ }({});
98
99
  export var UndersignedPerson = function UndersignedPerson(props) {
99
100
  "use strict";
100
101
  _class_call_check(this, UndersignedPerson);
@@ -374,10 +375,8 @@ export var PrintTemplate = function PrintTemplate(props) {
374
375
  _class_call_check(this, PrintTemplate);
375
376
  _define_property(this, "fileId", void 0);
376
377
  _define_property(this, "fileName", void 0);
377
- _define_property(this, "ruleName", void 0 //规则名称
378
- );
379
- _define_property(this, "isDefault", void 0 //是否是默认模板
380
- );
378
+ _define_property(this, "ruleName", void 0); //规则名称
379
+ _define_property(this, "isDefault", void 0); //是否是默认模板
381
380
  _define_property(this, "rules", void 0);
382
381
  var _props_fileId;
383
382
  this.fileId = (_props_fileId = props === null || props === void 0 ? void 0 : props.fileId) !== null && _props_fileId !== void 0 ? _props_fileId : '';
@@ -403,32 +402,42 @@ export var FlexStyleConfig = function FlexStyleConfig(props) {
403
402
  var _props_alignItems;
404
403
  this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
405
404
  };
406
- export var EncryptTypeEnum;
407
- (function(EncryptTypeEnum) {
405
+ /**
406
+ * 加密类型
407
+ */ export var EncryptTypeEnum = /*#__PURE__*/ function(EncryptTypeEnum) {
408
408
  EncryptTypeEnum["NO_MASK"] = "NO_MASK";
409
409
  EncryptTypeEnum["LAST_FOUR_MASK"] = "LAST_FOUR_MASK";
410
410
  EncryptTypeEnum["ALL_MASK"] = "ALL_MASK";
411
- })(EncryptTypeEnum || (EncryptTypeEnum = {}));
412
- export var OrganizeType;
413
- (function(OrganizeType) {
411
+ return EncryptTypeEnum;
412
+ }({});
413
+ /**
414
+ * 新人员 内部组织 or 外部组织
415
+ */ export var OrganizeType = /*#__PURE__*/ function(OrganizeType) {
414
416
  OrganizeType["ALL"] = "ALL";
415
417
  OrganizeType["INTERNAL"] = "INTERNAL";
416
418
  OrganizeType["EXTERNAL"] = "EXTERNAL";
417
419
  OrganizeType["INTERNAL_EXTERNAL"] = "INTERNAL_EXTERNAL";
418
- })(OrganizeType || (OrganizeType = {}));
419
- export var DepartmentType;
420
- (function(DepartmentType) {
420
+ return OrganizeType;
421
+ }({});
422
+ /**
423
+ * 新部门 行政 or 业务
424
+ */ export var DepartmentType = /*#__PURE__*/ function(DepartmentType) {
421
425
  DepartmentType["INTERNAL_BUSINESS"] = "INTERNAL_BUSINESS";
422
426
  DepartmentType["INTERNAL"] = "INTERNAL";
423
427
  DepartmentType["BUSINESS"] = "BUSINESS";
424
- })(DepartmentType || (DepartmentType = {}));
425
- export var AssignType;
426
- (function(AssignType) {
428
+ return DepartmentType;
429
+ }({});
430
+ /**
431
+ * 指定或者全部
432
+ */ export var AssignType = /*#__PURE__*/ function(AssignType) {
427
433
  AssignType["ALL"] = "all";
428
434
  AssignType["ASSIGN"] = "assign";
429
- })(AssignType || (AssignType = {}));
430
- export var InternalType;
431
- (function(InternalType) {
435
+ return AssignType;
436
+ }({});
437
+ /**
438
+ * 内部组织类型
439
+ */ export var InternalType = /*#__PURE__*/ function(InternalType) {
432
440
  InternalType["ALL"] = "all";
433
441
  InternalType["ADMIN"] = "admin";
434
- })(InternalType || (InternalType = {}));
442
+ return InternalType;
443
+ }({});
@@ -23,13 +23,14 @@ function _unsupported_iterable_to_array(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25
25
  }
26
+ import { getLocaleText } from '@byteluck-fe/locale-message';
26
27
  import { defineInstance, createBaseFields } from '@byteluck-fe/model-driven-settings';
27
28
  export default defineInstance({
28
29
  fields: _to_consumable_array(createBaseFields()),
29
30
  groups: [
30
31
  {
31
32
  type: 'tab',
32
- title: '属性',
33
+ title: getLocaleText('CMD.b08e1751969092211'),
33
34
  items: [
34
35
  {
35
36
  items: [
@@ -45,10 +46,10 @@ export default defineInstance({
45
46
  },
46
47
  {
47
48
  type: 'tab',
48
- title: '样式',
49
+ title: getLocaleText('CMD.264a1751969093406'),
49
50
  items: [
50
51
  {
51
- title: '大小',
52
+ title: getLocaleText('CMD.dc9c1751969094582'),
52
53
  items: [
53
54
  'style.width',
54
55
  'style.height'
@@ -70,6 +70,7 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
+ import { getLocaleText } from '@byteluck-fe/locale-message';
73
74
  import { DesignerLayoutControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
74
75
  import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
75
76
  import GridTableColumnControlProperty from './property';
@@ -87,7 +88,7 @@ var GridTableColumnControl = /*#__PURE__*/ function(DesignerLayoutControl) {
87
88
  }
88
89
  return GridTableColumnControl;
89
90
  }(DesignerLayoutControl);
90
- _define_property(GridTableColumnControl, "controlName", '列表单元格');
91
+ _define_property(GridTableColumnControl, "controlName", getLocaleText('CMD.58d21751969083831'));
91
92
  _define_property(GridTableColumnControl, "controlType", 'gridtable-column');
92
93
  _define_property(GridTableColumnControl, "controlIcon", 'gridtable-column');
93
94
  _define_property(GridTableColumnControl, "childrenMaxLength", 1);
@@ -73,11 +73,13 @@ function _is_native_reflect_construct() {
73
73
  import { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle } from '@byteluck-fe/model-driven-core';
74
74
  import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
75
75
  import { getLocaleText } from '@byteluck-fe/locale-message';
76
- export var TriggerType;
77
- (function(TriggerType) {
76
+ /**
77
+ * @internal
78
+ */ export var TriggerType = /*#__PURE__*/ function(TriggerType) {
78
79
  TriggerType[TriggerType["CLICK_ROW"] = 1] = "CLICK_ROW";
79
80
  TriggerType[TriggerType["CLICK_CELL"] = 2] = "CLICK_CELL";
80
- })(TriggerType || (TriggerType = {}));
81
+ return TriggerType;
82
+ }({});
81
83
  /**
82
84
  * @internal
83
85
  */ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
@@ -23,6 +23,7 @@ function _unsupported_iterable_to_array(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25
25
  }
26
+ import { getLocaleText } from '@byteluck-fe/locale-message';
26
27
  import { defineInstance, createBaseFields } from '@byteluck-fe/model-driven-settings';
27
28
  export default defineInstance({
28
29
  fields: _to_consumable_array(createBaseFields()).concat([
@@ -30,7 +31,7 @@ export default defineInstance({
30
31
  key: 'hideHeader',
31
32
  type: 'boolean',
32
33
  component: 'switch',
33
- label: '隐藏头部导航'
34
+ label: getLocaleText('CMD.32ef1751969080747')
34
35
  },
35
36
  {
36
37
  key: 'size',
@@ -44,7 +45,7 @@ export default defineInstance({
44
45
  groups: [
45
46
  {
46
47
  type: 'tab',
47
- title: '属性',
48
+ title: getLocaleText('CMD.67321751969092212'),
48
49
  items: [
49
50
  {
50
51
  items: [
@@ -60,16 +61,16 @@ export default defineInstance({
60
61
  },
61
62
  {
62
63
  type: 'tab',
63
- title: '样式',
64
+ title: getLocaleText('CMD.37471751969093406'),
64
65
  items: [
65
66
  {
66
- title: '大小',
67
+ title: getLocaleText('CMD.ade21751969094583'),
67
68
  items: [
68
69
  'size'
69
70
  ]
70
71
  },
71
72
  {
72
- title: '背景颜色',
73
+ title: getLocaleText('CMD.9fc31751969088116'),
73
74
  items: [
74
75
  'background'
75
76
  ]
@@ -23,13 +23,14 @@ function _unsupported_iterable_to_array(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
25
25
  }
26
+ import { getLocaleText } from '@byteluck-fe/locale-message';
26
27
  import { defineInstance, createBaseFields } from '@byteluck-fe/model-driven-settings';
27
28
  export default defineInstance({
28
29
  fields: _to_consumable_array(createBaseFields()),
29
30
  groups: [
30
31
  {
31
32
  type: 'tab',
32
- title: '属性',
33
+ title: getLocaleText('CMD.1bbb1751969092212'),
33
34
  items: [
34
35
  {
35
36
  items: [
@@ -45,10 +46,10 @@ export default defineInstance({
45
46
  },
46
47
  {
47
48
  type: 'tab',
48
- title: '样式',
49
+ title: getLocaleText('CMD.ede71751969093406'),
49
50
  items: [
50
51
  {
51
- title: '大小',
52
+ title: getLocaleText('CMD.53b01751969094584'),
52
53
  items: [
53
54
  'style.width',
54
55
  'style.height'
@@ -183,7 +183,7 @@ function _is_native_reflect_construct() {
183
183
  })();
184
184
  }
185
185
  function _ts_generator(thisArg, body) {
186
- var f, y, t, g, _ = {
186
+ var f, y, t, _ = {
187
187
  label: 0,
188
188
  sent: function() {
189
189
  if (t[0] & 1) throw t[1];
@@ -191,12 +191,8 @@ function _ts_generator(thisArg, body) {
191
191
  },
192
192
  trys: [],
193
193
  ops: []
194
- };
195
- return g = {
196
- next: verb(0),
197
- "throw": verb(1),
198
- "return": verb(2)
199
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
194
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
195
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
200
196
  return this;
201
197
  }), g;
202
198
  function verb(n) {
@@ -209,7 +205,7 @@ function _ts_generator(thisArg, body) {
209
205
  }
210
206
  function step(op) {
211
207
  if (f) throw new TypeError("Generator is already executing.");
212
- while(_)try {
208
+ while(g && (g = 0, op[0] && (_ = 0)), _)try {
213
209
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
214
210
  if (y = 0, t) op = [
215
211
  op[0] & 2,
@@ -351,7 +347,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
351
347
  _state.sent();
352
348
  return [
353
349
  4,
354
- Promise.all(_this1.children.map(function(child) {
350
+ Promise.all(this.children.map(function(child) {
355
351
  return child.validate(messages, ignore);
356
352
  }))
357
353
  ];
@@ -363,7 +359,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
363
359
  ];
364
360
  }
365
361
  });
366
- })();
362
+ }).call(this);
367
363
  }
368
364
  }
369
365
  ], [