@byteluck-fe/model-driven-core 2.5.0-beta.4 → 2.6.0-alpha.10
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/dist/esm/common/FormControl/property.js +2 -4
- package/dist/esm/framework/index.js +62 -91
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +0 -14
- package/dist/types/common/FormControl/property.d.ts +0 -4
- package/dist/types/framework/index.d.ts +31 -212
- package/package.json +3 -3
|
@@ -188,10 +188,8 @@ var BaseControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRule
|
|
|
188
188
|
}
|
|
189
189
|
return BaseControlPropertyRuntimeRules;
|
|
190
190
|
}(PropertyRuntimeRules);
|
|
191
|
-
var BaseControlProperty =
|
|
192
|
-
|
|
193
|
-
* @public
|
|
194
|
-
*/ /*#__PURE__*/ function(Property1) {
|
|
191
|
+
var BaseControlProperty = // 基础控件共用的属性
|
|
192
|
+
/*#__PURE__*/ function(Property1) {
|
|
195
193
|
"use strict";
|
|
196
194
|
_inherits(BaseControlProperty, Property1);
|
|
197
195
|
var _super = _createSuper(BaseControlProperty);
|
|
@@ -90,6 +90,7 @@ export * from './RegisterControls';
|
|
|
90
90
|
this.fieldCode = (ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref1 !== void 0 ? ref1 : '';
|
|
91
91
|
var ref2;
|
|
92
92
|
this.fieldType = (ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref2 !== void 0 ? ref2 : '';
|
|
93
|
+
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
93
94
|
};
|
|
94
95
|
export var AutoWidth = function AutoWidth(props) {
|
|
95
96
|
"use strict";
|
|
@@ -239,16 +240,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
239
240
|
var ref20;
|
|
240
241
|
this.displayBos = (ref20 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && ref20 !== void 0 ? ref20 : [];
|
|
241
242
|
};
|
|
242
|
-
|
|
243
|
-
* 连接符条件
|
|
244
|
-
* @public
|
|
245
|
-
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
243
|
+
export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
246
244
|
"use strict";
|
|
247
245
|
_classCallCheck(this, FieldFilterConditions);
|
|
248
|
-
|
|
249
|
-
* 类型:连接符条件
|
|
250
|
-
* @defaultValue 'conditions'
|
|
251
|
-
*/ this.type = 'conditions';
|
|
246
|
+
this.type = 'conditions';
|
|
252
247
|
var ref25;
|
|
253
248
|
this.id = (ref25 = props === null || props === void 0 ? void 0 : props.id) !== null && ref25 !== void 0 ? ref25 : genNonDuplicateId();
|
|
254
249
|
var ref21;
|
|
@@ -273,16 +268,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
273
268
|
});
|
|
274
269
|
}
|
|
275
270
|
};
|
|
276
|
-
|
|
277
|
-
* 字段过滤条件
|
|
278
|
-
* @public
|
|
279
|
-
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
271
|
+
export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
280
272
|
"use strict";
|
|
281
273
|
_classCallCheck(this, FieldFilterCondition);
|
|
282
|
-
|
|
283
|
-
* 类型
|
|
284
|
-
* @defaultValue 'condition'
|
|
285
|
-
*/ this.type = 'condition';
|
|
274
|
+
this.type = 'condition';
|
|
286
275
|
var ref;
|
|
287
276
|
this.id = (ref = props === null || props === void 0 ? void 0 : props.id) !== null && ref !== void 0 ? ref : genNonDuplicateId();
|
|
288
277
|
var ref26;
|
|
@@ -296,6 +285,15 @@ export var RightVariable = function RightVariable(props) {
|
|
|
296
285
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
297
286
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
298
287
|
};
|
|
288
|
+
export var JoinRelation = function JoinRelation(props) {
|
|
289
|
+
"use strict";
|
|
290
|
+
_classCallCheck(this, JoinRelation);
|
|
291
|
+
var ref;
|
|
292
|
+
this.aliasCode = (ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && ref !== void 0 ? ref : '';
|
|
293
|
+
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
294
|
+
var ref30;
|
|
295
|
+
this.relationFields = (ref30 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && ref30 !== void 0 ? ref30 : [];
|
|
296
|
+
};
|
|
299
297
|
/**
|
|
300
298
|
* 数据填充项
|
|
301
299
|
* @public
|
|
@@ -304,29 +302,23 @@ export var RightVariable = function RightVariable(props) {
|
|
|
304
302
|
_classCallCheck(this, MultistageFillingItem);
|
|
305
303
|
var ref;
|
|
306
304
|
this.controlId = (ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && ref !== void 0 ? ref : '';
|
|
307
|
-
var ref30;
|
|
308
|
-
this.fieldCode = (ref30 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref30 !== void 0 ? ref30 : '';
|
|
309
305
|
var ref31;
|
|
310
|
-
this.
|
|
306
|
+
this.fieldCode = (ref31 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && ref31 !== void 0 ? ref31 : '';
|
|
311
307
|
var ref32;
|
|
312
|
-
this.
|
|
308
|
+
this.fieldType = (ref32 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && ref32 !== void 0 ? ref32 : '';
|
|
309
|
+
var ref33;
|
|
310
|
+
this.propName = (ref33 = props === null || props === void 0 ? void 0 : props.propName) !== null && ref33 !== void 0 ? ref33 : '';
|
|
313
311
|
};
|
|
314
|
-
|
|
315
|
-
* 显示项
|
|
316
|
-
* @public
|
|
317
|
-
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
312
|
+
export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
318
313
|
"use strict";
|
|
319
314
|
_classCallCheck(this, DisplayBoListItem);
|
|
320
315
|
var ref;
|
|
321
316
|
this.type = (ref = props === null || props === void 0 ? void 0 : props.type) !== null && ref !== void 0 ? ref : 'FIELD';
|
|
322
|
-
var
|
|
323
|
-
this.value = (
|
|
317
|
+
var ref34;
|
|
318
|
+
this.value = (ref34 = props === null || props === void 0 ? void 0 : props.value) !== null && ref34 !== void 0 ? ref34 : '';
|
|
324
319
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
325
320
|
};
|
|
326
|
-
|
|
327
|
-
* 数据源排序项
|
|
328
|
-
* @public
|
|
329
|
-
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
321
|
+
export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
330
322
|
"use strict";
|
|
331
323
|
_classCallCheck(this, DataSourceOrderItem);
|
|
332
324
|
var _columnName;
|
|
@@ -347,7 +339,7 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
347
339
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
348
340
|
"use strict";
|
|
349
341
|
_classCallCheck(this, DataSourceParamItem);
|
|
350
|
-
var ref,
|
|
342
|
+
var ref, ref35;
|
|
351
343
|
var _id;
|
|
352
344
|
//字段ID,不可以当作随机数生成唯一编号
|
|
353
345
|
this.id = (_id = props.id) !== null && _id !== void 0 ? _id : '';
|
|
@@ -355,39 +347,39 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
355
347
|
this.limit = (_limit = props.limit) !== null && _limit !== void 0 ? _limit : 20;
|
|
356
348
|
var _formKey;
|
|
357
349
|
this.formKey = (_formKey = props.formKey) !== null && _formKey !== void 0 ? _formKey : '';
|
|
358
|
-
var ref35;
|
|
359
|
-
this.orders = (ref35 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
360
|
-
return new DataSourceOrderItem(item);
|
|
361
|
-
})) !== null && ref35 !== void 0 ? ref35 : [];
|
|
362
350
|
var ref36;
|
|
363
|
-
this.
|
|
364
|
-
return new
|
|
351
|
+
this.orders = (ref36 = (ref = props.orders) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
352
|
+
return new DataSourceOrderItem(item);
|
|
365
353
|
})) !== null && ref36 !== void 0 ? ref36 : [];
|
|
354
|
+
var ref37;
|
|
355
|
+
this.dataSet = (ref37 = (ref35 = props.dataSet) === null || ref35 === void 0 ? void 0 : ref35.map(function(item) {
|
|
356
|
+
return new DataSourceDataSetValue(item);
|
|
357
|
+
})) !== null && ref37 !== void 0 ? ref37 : [];
|
|
366
358
|
};
|
|
367
359
|
/**
|
|
368
360
|
* 给filters和orders赋值
|
|
369
361
|
* */ function callFiltersAndOrders(props) {
|
|
370
|
-
var ref,
|
|
371
|
-
var
|
|
372
|
-
this.filters = (
|
|
362
|
+
var ref, ref38;
|
|
363
|
+
var ref39;
|
|
364
|
+
this.filters = (ref39 = props === null || props === void 0 ? void 0 : (ref = props.filters) === null || ref === void 0 ? void 0 : ref.map(function(item) {
|
|
373
365
|
if (item.children !== undefined) {
|
|
374
366
|
return new FieldFilterConditions(item);
|
|
375
367
|
}
|
|
376
368
|
return new FieldFilterCondition(item);
|
|
377
|
-
})) !== null &&
|
|
378
|
-
var
|
|
379
|
-
this.viewFilters = (
|
|
369
|
+
})) !== null && ref39 !== void 0 ? ref39 : [];
|
|
370
|
+
var ref40;
|
|
371
|
+
this.viewFilters = (ref40 = props === null || props === void 0 ? void 0 : (ref38 = props.viewFilters) === null || ref38 === void 0 ? void 0 : ref38.map(function(item) {
|
|
380
372
|
if (item.children !== undefined) {
|
|
381
373
|
return new FieldFilterConditions(item);
|
|
382
374
|
}
|
|
383
375
|
return new FieldFilterCondition(item);
|
|
384
|
-
})) !== null &&
|
|
376
|
+
})) !== null && ref40 !== void 0 ? ref40 : [];
|
|
385
377
|
if (_instanceof(this, DataSourceBind) || _instanceof(this, FillPayloadBind)) {
|
|
386
|
-
var
|
|
387
|
-
var
|
|
388
|
-
this.orders = (
|
|
378
|
+
var ref41, ref42;
|
|
379
|
+
var ref43;
|
|
380
|
+
this.orders = (ref43 = (ref41 = props) === null || ref41 === void 0 ? void 0 : (ref42 = ref41.orders) === null || ref42 === void 0 ? void 0 : ref42.map(function(item) {
|
|
389
381
|
return new DataSourceOrderItem(item);
|
|
390
|
-
})) !== null &&
|
|
382
|
+
})) !== null && ref43 !== void 0 ? ref43 : [];
|
|
391
383
|
}
|
|
392
384
|
}
|
|
393
385
|
/**
|
|
@@ -398,13 +390,13 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
398
390
|
_classCallCheck(this, DataSourceBind);
|
|
399
391
|
var ref49;
|
|
400
392
|
this.dataCode = (ref49 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && ref49 !== void 0 ? ref49 : '';
|
|
401
|
-
var ref43;
|
|
402
|
-
this.appId = (ref43 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref43 !== void 0 ? ref43 : '';
|
|
403
393
|
var ref44;
|
|
404
|
-
this.
|
|
405
|
-
this.displayBoList = [];
|
|
394
|
+
this.appId = (ref44 = props === null || props === void 0 ? void 0 : props.appId) !== null && ref44 !== void 0 ? ref44 : '';
|
|
406
395
|
var ref45;
|
|
407
|
-
this.
|
|
396
|
+
this.valueFieldCode = (ref45 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && ref45 !== void 0 ? ref45 : '';
|
|
397
|
+
this.displayBoList = [];
|
|
398
|
+
var ref46;
|
|
399
|
+
this.isOpenViewFilters = (ref46 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && ref46 !== void 0 ? ref46 : 0;
|
|
408
400
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
409
401
|
var _this = this;
|
|
410
402
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
@@ -412,8 +404,6 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
412
404
|
(ref = _this.displayBoList) === null || ref === void 0 ? void 0 : ref.push(new DisplayBoListItem(item));
|
|
413
405
|
});
|
|
414
406
|
}
|
|
415
|
-
var ref46;
|
|
416
|
-
this.keywordMapping = (ref46 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && ref46 !== void 0 ? ref46 : '';
|
|
417
407
|
var ref47;
|
|
418
408
|
this.showOrder = (ref47 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && ref47 !== void 0 ? ref47 : true;
|
|
419
409
|
var ref48;
|
|
@@ -575,10 +565,7 @@ export var Language = function Language(props) {
|
|
|
575
565
|
var ref71;
|
|
576
566
|
this.ja = (ref71 = props === null || props === void 0 ? void 0 : props.ja) !== null && ref71 !== void 0 ? ref71 : '';
|
|
577
567
|
};
|
|
578
|
-
|
|
579
|
-
* 正则校验
|
|
580
|
-
* @public
|
|
581
|
-
*/ export var RegularRules = function RegularRules(props) {
|
|
568
|
+
export var RegularRules = function RegularRules(props) {
|
|
582
569
|
"use strict";
|
|
583
570
|
_classCallCheck(this, RegularRules);
|
|
584
571
|
var ref;
|
|
@@ -629,17 +616,11 @@ export function initImageOptions(options) {
|
|
|
629
616
|
return new ImageOptionSetting(item);
|
|
630
617
|
})) !== null && ref !== void 0 ? ref : [];
|
|
631
618
|
}
|
|
632
|
-
|
|
633
|
-
* 对象类型数据绑定配置
|
|
634
|
-
* @public
|
|
635
|
-
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
619
|
+
export var ObjectDataBind = function ObjectDataBind() {
|
|
636
620
|
"use strict";
|
|
637
621
|
_classCallCheck(this, ObjectDataBind);
|
|
638
622
|
};
|
|
639
|
-
|
|
640
|
-
* 金额控件数据绑定配置
|
|
641
|
-
* @public
|
|
642
|
-
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
623
|
+
export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
643
624
|
"use strict";
|
|
644
625
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
645
626
|
var _super = _createSuper(AmountDataBind);
|
|
@@ -653,10 +634,7 @@ export function initImageOptions(options) {
|
|
|
653
634
|
}
|
|
654
635
|
return AmountDataBind;
|
|
655
636
|
}(ObjectDataBind);
|
|
656
|
-
|
|
657
|
-
* 金额控件值
|
|
658
|
-
* @public
|
|
659
|
-
*/ export var AmountValue = function AmountValue(props) {
|
|
637
|
+
export var AmountValue = function AmountValue(props) {
|
|
660
638
|
"use strict";
|
|
661
639
|
_classCallCheck(this, AmountValue);
|
|
662
640
|
var ref;
|
|
@@ -664,10 +642,7 @@ export function initImageOptions(options) {
|
|
|
664
642
|
var ref77;
|
|
665
643
|
this.currency = (ref77 = props === null || props === void 0 ? void 0 : props.currency) !== null && ref77 !== void 0 ? ref77 : AMOUNT_TYPE.CNY;
|
|
666
644
|
};
|
|
667
|
-
|
|
668
|
-
* 日期区间数据绑定项
|
|
669
|
-
* @public
|
|
670
|
-
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
645
|
+
export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
671
646
|
"use strict";
|
|
672
647
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
673
648
|
var _super = _createSuper(RangeDataBind);
|
|
@@ -681,10 +656,7 @@ export function initImageOptions(options) {
|
|
|
681
656
|
}
|
|
682
657
|
return RangeDataBind;
|
|
683
658
|
}(ObjectDataBind);
|
|
684
|
-
|
|
685
|
-
* 日期区间值
|
|
686
|
-
* @public
|
|
687
|
-
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
659
|
+
export var RangeDateValue = function RangeDateValue(props) {
|
|
688
660
|
"use strict";
|
|
689
661
|
_classCallCheck(this, RangeDateValue);
|
|
690
662
|
var ref;
|
|
@@ -692,10 +664,7 @@ export function initImageOptions(options) {
|
|
|
692
664
|
var ref78;
|
|
693
665
|
this.max = (ref78 = props === null || props === void 0 ? void 0 : props.max) !== null && ref78 !== void 0 ? ref78 : '';
|
|
694
666
|
};
|
|
695
|
-
|
|
696
|
-
* 地址值
|
|
697
|
-
* @public
|
|
698
|
-
*/ export var AddressValue = function AddressValue(props) {
|
|
667
|
+
export var AddressValue = function AddressValue(props) {
|
|
699
668
|
"use strict";
|
|
700
669
|
_classCallCheck(this, AddressValue);
|
|
701
670
|
var ref;
|
|
@@ -711,10 +680,7 @@ export function initImageOptions(options) {
|
|
|
711
680
|
var ref83;
|
|
712
681
|
this.provinceDisplay = (ref83 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && ref83 !== void 0 ? ref83 : '';
|
|
713
682
|
};
|
|
714
|
-
|
|
715
|
-
* 计算公式数据绑定项
|
|
716
|
-
* @public
|
|
717
|
-
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
683
|
+
export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
718
684
|
"use strict";
|
|
719
685
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
720
686
|
var _super = _createSuper(CalcDataBind);
|
|
@@ -728,10 +694,7 @@ export function initImageOptions(options) {
|
|
|
728
694
|
}
|
|
729
695
|
return CalcDataBind;
|
|
730
696
|
}(ObjectDataBind);
|
|
731
|
-
|
|
732
|
-
* 计算公式值
|
|
733
|
-
* @public
|
|
734
|
-
*/ export var CalcValue = function CalcValue(props) {
|
|
697
|
+
export var CalcValue = function CalcValue(props) {
|
|
735
698
|
"use strict";
|
|
736
699
|
_classCallCheck(this, CalcValue);
|
|
737
700
|
var ref;
|
|
@@ -863,3 +826,11 @@ export var BaseStyle = function BaseStyle(props) {
|
|
|
863
826
|
var ref95;
|
|
864
827
|
this.heightConfig = (ref95 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && ref95 !== void 0 ? ref95 : 'fill';
|
|
865
828
|
};
|
|
829
|
+
export var OptObject = function OptObject(props) {
|
|
830
|
+
"use strict";
|
|
831
|
+
_classCallCheck(this, OptObject);
|
|
832
|
+
var ref;
|
|
833
|
+
this.optCode = (ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && ref !== void 0 ? ref : '';
|
|
834
|
+
var ref96;
|
|
835
|
+
this.optType = (ref96 = props === null || props === void 0 ? void 0 : props.optType) !== null && ref96 !== void 0 ? ref96 : '';
|
|
836
|
+
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ms=Object.defineProperty,Ls=Object.defineProperties;var $s=Object.getOwnPropertyDescriptors;var pt=Object.getOwnPropertySymbols;var qs=Object.prototype.hasOwnProperty,Ps=Object.prototype.propertyIsEnumerable;var en=(s,S,M)=>S in s?Ms(s,S,{enumerable:!0,configurable:!0,writable:!0,value:M}):s[S]=M,G=(s,S)=>{for(var M in S||(S={}))qs.call(S,M)&&en(s,M,S[M]);if(pt)for(var M of pt(S))Ps.call(S,M)&&en(s,M,S[M]);return s},Ce=(s,S)=>Ls(s,$s(S));var se=(s,S,M)=>new Promise((le,oe)=>{var Fe=_=>{try{Z(M.next(_))}catch(Q){oe(Q)}},De=_=>{try{Z(M.throw(_))}catch(Q){oe(Q)}},Z=_=>_.done?le(_.value):Promise.resolve(_.value).then(Fe,De);Z((M=M.apply(s,S)).next())});(function(s,S){typeof exports=="object"&&typeof module!="undefined"?S(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],S):(s=typeof globalThis!="undefined"?globalThis:s||self,S(s.modelDrivenCore={},s.regeneratorRuntime))})(this,function(s,S){"use strict";function M(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var le=M(S),oe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Fe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",De="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Q="{caption}\u5FC5\u586B",tn="\u8BF7\u8F93\u5165\u6807\u9898",nn="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",un="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",an="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",rn="\u8BF7\u7ED1\u5B9A\u8868\u5355",sn="\u8BF7\u7ED1\u5B9A\u5217\u8868",ln="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",on="\u8BF7\u8F93\u5165\u663E\u793A\u503C",cn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",dn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",fn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",hn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",mn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",gn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",yn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",En="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",vn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",An="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Cn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Fn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Sn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",wn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",In="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Rn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Mn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ln="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$n="\u8BF7\u7ED1\u5B9A\u670D\u52A1",qn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pn="\u8BF7\u9009\u62E9\u7701",Vn="\u8BF7\u9009\u62E9\u5E02",On="\u8BF7\u9009\u62E9\u533A",Nn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",jn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Un="\u8BF7\u8F93\u5165\u5217\u5BBD",_n="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",xn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Hn="\u8BF7\u9009\u62E9\u63A7\u4EF6",Tn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Wn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Kn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Jn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Gn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",au="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ru="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ou={isNotNumber:oe,isNotString:Fe,isNotObject:De,isNotArray:Z,isNotBoolean:_,runtimeRequired:Q,pleaseEnterCaption:tn,pleaseEnterCaptionTip:nn,pleaseEnterPlaceholder:un,pleaseEnterFieldCode:an,pleaseEnterForm:rn,pleaseEnterList:sn,pleaseEnterProcess:ln,pleaseEnterLabel:on,pleaseEnterValue:cn,bizKeyNotBindFiled:dn,pleaseSelectOneField:fn,pleaseEnterNumberRange:hn,pleaseEnterAValueGreaterThanMin:mn,pleaseEnterAValueLessThanMax:gn,numberRangeSetError:yn,stringRangeError:En,attachmentMaxSize:vn,pleaseEnterTotalScoreSetting:Bn,theTotalScoreMustNotBeLessThan1:An,scoreDefaultValueRange:Cn,attachmentLimitError:Fn,PleaseReselectTheOptionalQuantity:Dn,TheMaximumLengthIsGreaterThanTheMinimumLength:bn,TheMinimumLengthIsGreaterThanTheMaximumLength:Sn,PleaseSelectTheCorrectOptionSettings:wn,optionIdIsRepeat:In,optionIsRequired:Rn,pleaseEnterDataCode:Mn,pleaseEnterValueFieldCode:Ln,pleaseEnterSvcCode:$n,pleaseBindAtLeastOneDisplayValue:qn,pleaseSelectProvince:Pn,pleaseSelectCity:Vn,pleaseSelectDistrict:On,limitRowsCannotBeLessThan0:Nn,TheNumberOfRowsCannotBeLessThanMinRows:jn,pleaseEnterColumnWidth:Un,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_n,pleaseCompleteAllRulesAndConditions:xn,pleaseSelectControl:Hn,pleaseSelectAtLeastOneColumn:Tn,pleaseSelectFillBackMode:Wn,pleaseSelectDashboard:Kn,rootNodeIsRequired:kn,theViewNameCannotBeEmpty:zn,pleaseSelectOcrType:Xn,pleaseSelectAtLeastOneFieldToFillIn:Jn,pleaseChooseAtLeastOne:Gn,pleaseEnterButtonContent:Zn,pleaseEnterDataCodeInDataSetting:Qn,pleaseEnterValueFieldCodeInDataSetting:Yn,pleaseEnterSvcCodeInDataSetting:pn,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:nu,pleaseEnter:uu,pleaseEnterWatermark:au,pleaseEnterFileName:iu,pleaseUploadAtLeastOnePrintTemplate:ru,pleaseAssignBusiness:su,pleaseAssignExternal:lu},cu="Please enter a number",du="Please enter a string",fu="Please enter an object",hu="Please enter an array",mu="Please enter a boolean",gu="{caption} Required",yu="Please enter the title",Eu="Please enter the bubble prompt",vu="Please enter the prompt text",Bu="Please bind data items",Au="Please bind the form",Cu="Please bind the list",Fu="Please bind the process",Du="Please enter the displayed value",bu="Please enter the stored value",Su="The document number is not bound to the data item",wu="Please select at least one display field",Iu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ru="Please enter a value greater than or equal to {min}",Mu="Please enter a value less than or equal to {max}",Lu="The value range is set incorrectly",$u="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qu="The attachment size must be between 0MB and 1000MB",Pu="Please fill in the total score setting",Vu="The total score cannot be less than 1",Ou="The default value must be between {min} and {max}",Nu="The number of attachments uploaded must be between {min} and {max}",ju="Please re-select the optional quantity",Uu="The maximum length of the control must be greater than the minimum length",_u="The minimum length of the control must be less than the maximum length",xu="Please select the correct option setting",Hu="Option ID cannot be repeated",Tu="Please enter at least one option",Wu="Please bind the data source",Ku="Please bind the stored value",ku="Please bind the service",zu="At least one display value must be bound",Xu="Please select a province",Ju="Please select a city",Gu="Please select a district",Zu="The minimum number of lines to fill in cannot be less than 0",Qu="The number of rows cannot be less than {min} rows",Yu="Please enter the column width",pu="Please set the logical relationship of all rule conditions",ea="Please complete all rules and conditions",ta="please select control",na="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ua="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",aa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ia="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ra="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",sa="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",la="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",oa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ha="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ma="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ga="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ya="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ea="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",va="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ba="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Aa={isNotNumber:cu,isNotString:du,isNotObject:fu,isNotArray:hu,isNotBoolean:mu,runtimeRequired:gu,pleaseEnterCaption:yu,pleaseEnterCaptionTip:Eu,pleaseEnterPlaceholder:vu,pleaseEnterFieldCode:Bu,pleaseEnterForm:Au,pleaseEnterList:Cu,pleaseEnterProcess:Fu,pleaseEnterLabel:Du,pleaseEnterValue:bu,bizKeyNotBindFiled:Su,pleaseSelectOneField:wu,pleaseEnterNumberRange:Iu,pleaseEnterAValueGreaterThanMin:Ru,pleaseEnterAValueLessThanMax:Mu,numberRangeSetError:Lu,stringRangeError:$u,attachmentMaxSize:qu,pleaseEnterTotalScoreSetting:Pu,theTotalScoreMustNotBeLessThan1:Vu,scoreDefaultValueRange:Ou,attachmentLimitError:Nu,PleaseReselectTheOptionalQuantity:ju,TheMaximumLengthIsGreaterThanTheMinimumLength:Uu,TheMinimumLengthIsGreaterThanTheMaximumLength:_u,PleaseSelectTheCorrectOptionSettings:xu,optionIdIsRepeat:Hu,optionIsRequired:Tu,pleaseEnterDataCode:Wu,pleaseEnterValueFieldCode:Ku,pleaseEnterSvcCode:ku,pleaseBindAtLeastOneDisplayValue:zu,pleaseSelectProvince:Xu,pleaseSelectCity:Ju,pleaseSelectDistrict:Gu,limitRowsCannotBeLessThan0:Zu,TheNumberOfRowsCannotBeLessThanMinRows:Qu,pleaseEnterColumnWidth:Yu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:pu,pleaseCompleteAllRulesAndConditions:ea,pleaseSelectControl:ta,pleaseSelectDashboard:na,theViewNameCannotBeEmpty:ua,pleaseSelectOcrType:aa,pleaseSelectAtLeastOneFieldToFillIn:ia,pleaseChooseAtLeastOne:ra,pleaseEnterButtonContent:sa,pleaseEnterDataCodeInDataSetting:la,pleaseEnterValueFieldCodeInDataSetting:oa,pleaseEnterSvcCodeInDataSetting:ca,pleaseBindAtLeastOneDisplayValueInDataSetting:da,rootNodeIsRequiredInDataSetting:fa,pleaseEnterMaxHeight:ha,pleaseEnter:ma,pleaseEnterWatermark:ga,pleaseEnterFileName:ya,pleaseUploadAtLeastOnePrintTemplate:Ea,pleaseAssignBusiness:va,pleaseAssignExternal:Ba},Ca="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="{caption}\u5FC5\u9808",Ia="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ra="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",La="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ja="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ua="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ta="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ka="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ka="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",za="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ja="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ga="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Za="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ya="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ei="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ti="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ni="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ui="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ai="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ii="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ri="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",si="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",li="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oi="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ci="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",di="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fi="please select control",hi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gi="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",yi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ei="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",vi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ai="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ci="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Di="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bi="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Si="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",wi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ii="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ri="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mi="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Li="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$i={isNotNumber:Ca,isNotString:Fa,isNotObject:Da,isNotArray:ba,isNotBoolean:Sa,runtimeRequired:wa,pleaseEnterCaption:Ia,pleaseEnterCaptionTip:Ra,pleaseEnterPlaceholder:Ma,pleaseEnterFieldCode:La,pleaseEnterForm:$a,pleaseEnterList:qa,pleaseEnterProcess:Pa,pleaseEnterLabel:Va,pleaseEnterValue:Oa,bizKeyNotBindFiled:Na,pleaseSelectOneField:ja,pleaseEnterNumberRange:Ua,pleaseEnterAValueGreaterThanMin:_a,pleaseEnterAValueLessThanMax:xa,numberRangeSetError:Ha,stringRangeError:Ta,attachmentMaxSize:Wa,pleaseEnterTotalScoreSetting:Ka,theTotalScoreMustNotBeLessThan1:ka,scoreDefaultValueRange:za,attachmentLimitError:Xa,PleaseReselectTheOptionalQuantity:Ja,TheMaximumLengthIsGreaterThanTheMinimumLength:Ga,TheMinimumLengthIsGreaterThanTheMaximumLength:Za,PleaseSelectTheCorrectOptionSettings:Qa,optionIdIsRepeat:Ya,optionIsRequired:pa,pleaseEnterDataCode:ei,pleaseEnterValueFieldCode:ti,pleaseEnterSvcCode:ni,pleaseBindAtLeastOneDisplayValue:ui,pleaseSelectProvince:ai,pleaseSelectCity:ii,pleaseSelectDistrict:ri,limitRowsCannotBeLessThan0:si,TheNumberOfRowsCannotBeLessThanMinRows:li,pleaseEnterColumnWidth:oi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ci,pleaseCompleteAllRulesAndConditions:di,pleaseSelectControl:fi,pleaseSelectDashboard:hi,theViewNameCannotBeEmpty:mi,pleaseSelectOcrType:gi,pleaseSelectAtLeastOneFieldToFillIn:yi,pleaseChooseAtLeastOne:Ei,pleaseEnterButtonContent:vi,pleaseEnterDataCodeInDataSetting:Bi,pleaseEnterValueFieldCodeInDataSetting:Ai,pleaseEnterSvcCodeInDataSetting:Ci,pleaseBindAtLeastOneDisplayValueInDataSetting:Fi,rootNodeIsRequiredInDataSetting:Di,pleaseEnterMaxHeight:bi,pleaseEnter:Si,pleaseEnterWatermark:wi,pleaseEnterFileName:Ii,pleaseUploadAtLeastOnePrintTemplate:Ri,pleaseAssignBusiness:Mi,pleaseAssignExternal:Li},qi={zhCN:ou,enUS:Aa,jaJP:$i},it;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(it||(it={}));var rt;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(rt||(rt={}));var Pi="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(k||(k={}));var L;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(L||(L={}));var R;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var $;$={},P($,R.ARRAY,L.ARRAY_COLUMN),P($,R.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),P($,R.DECIMAL,L.DECIMAL_COLUMN),P($,R.DEPARTMENTS,L.DEPARTMENT_COLUMN),P($,R.FILE,L.FILE_COLUMN),P($,R.IMAGE,L.IMAGE_COLUMN),P($,R.ADDRESS,L.LOCATION_COLUMN),P($,R.EMPLOYEES,L.EMPLOYEE_COLUMN),P($,R.TEXT,L.TEXT_COLUMN),P($,R.TIMESCOPE,L.TIMESCOPE_COLUMN),P($,R.TIMESTAMP,L.TIMESTAMP_COLUMN),P($,R.VARCHAR,L.VARCHAR_COLUMN),P($,R.RELATION,L.VARCHAR_COLUMN);var st;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(st||(st={}));var lt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Vi=lt+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?lt:Vi,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function be(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Oi(t){if(Array.isArray(t))return be(t)}function Ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ot(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ji(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ce(t,e,n){return ji()?ce=Reflect.construct:ce=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&p(c,r.prototype),c},ce.apply(null,arguments)}function Y(t){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y(t)}function ct(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function Ui(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _i(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hi(t,e){return e&&(Ti(e)==="object"||typeof e=="function")?e:Ni(t)}function p(t,e){return p=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},p(t,e)}function dt(t){return Oi(t)||_i(t)||Wi(t)||xi()}var Ti=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wi(t,e){if(!!t){if(typeof t=="string")return be(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return be(t,e)}}function Se(t){var e=typeof Map=="function"?new Map:void 0;return Se=function(u){if(u===null||!Ui(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return ce(u,arguments,Y(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),p(a,u)},Se(t)}function Ki(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ft(t){var e=Ki();return function(){var u=Y(t),a;if(e){var i=Y(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return Hi(this,a)}}var we=console;function Ie(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=we).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(dt(a)))}function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=we).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(dt(a)))}function ki(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Re=function(t){ct(n,t);var e=ft(n);function n(u){ot(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?ki(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Se(Error)),zi=function(t){ct(n,t);var e=ft(n);function n(u){ot(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Re);function Me(t){throw new Re(t)}function mt(t){throw new zi(t)}function Xi(t){we.error(new Re(t))}var Ji=Object.prototype.toString;function gt(t,e){return Ji.call(t)==="[object "+e+"]"}function Gi(t){return gt(t,"String")}function Zi(t){return gt(t,"Promise")}var Qi=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Zi(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,o){if(a!==void 0){var d=a[i];if(!(r===o.length-1&&!Gi(d)))return d}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Yi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function pi(t,e,n){return e&&yt(t.prototype,e),n&&yt(t,n),t}var f=function(){function t(){Yi(this,t)}return pi(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pi;return new Qi({locale:n,messages:qi})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function er(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,o,d){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){Ie("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return o===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var tr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},nr={exports:{}};(function(t){(function(e){var n=function(l,g,h){if(!c(g)||v(g)||C(g)||b(g)||d(g))return g;var D,w=0,j=0;if(y(g))for(D=[],j=g.length;w<j;w++)D.push(n(l,g[w],h));else{D={};for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&(D[l(A,h)]=n(l,g[A],h))}return D},u=function(l,g){g=g||{};var h=g.separator||"_",D=g.split||/(?=[A-Z])/;return l.split(D).join(h)},a=function(l){return F(l)?l:(l=l.replace(/[\-_\s]+(.)?/g,function(g,h){return h?h.toUpperCase():""}),l.substr(0,1).toLowerCase()+l.substr(1))},i=function(l){var g=a(l);return g.substr(0,1).toUpperCase()+g.substr(1)},r=function(l,g){return u(l,g).toLowerCase()},o=Object.prototype.toString,d=function(l){return typeof l=="function"},c=function(l){return l===Object(l)},y=function(l){return o.call(l)=="[object Array]"},v=function(l){return o.call(l)=="[object Date]"},C=function(l){return o.call(l)=="[object RegExp]"},b=function(l){return o.call(l)=="[object Boolean]"},F=function(l){return l=l-0,l===l},m=function(l,g){var h=g&&"process"in g?g.process:g;return typeof h!="function"?l:function(D,w){return h(D,l,w)}},B={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(l,g){return n(m(a,g),l)},decamelizeKeys:function(l,g){return n(m(r,g),l,g)},pascalizeKeys:function(l,g){return n(m(i,g),l)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(tr)})(nr);var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function Le(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Le(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Le(u)}return e}}var ur=Et.default=Le;function K(t){if(t!==void 0)return typeof t=="object"?ur(t):t}function ar(t){return Object.prototype.toString.call(t)==="[object Object]"}function ir(t){return Array.isArray(t)}function rr(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function $e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function sr(t){if(Array.isArray(t))return $e(t)}function vt(t,e,n,u,a,i,r){try{var o=t[i](r),d=o.value}catch(c){n(c);return}o.done?e(d):Promise.resolve(d).then(u,a)}function lr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){vt(i,u,a,r,o,"next",d)}function o(d){vt(i,u,a,r,o,"throw",d)}r(void 0)})}}function or(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function cr(t,e,n){return e&&Bt(t.prototype,e),n&&Bt(t,n),t}function dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fr(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qe(t){return sr(t)||dr(t)||hr(t)||fr()}function hr(t,e){if(!!t){if(typeof t=="string")return $e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $e(t,e)}}var mr=function(){function t(){or(this,t),this._events=new Map,this.debug=!1}return cr(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];var r=this;return lr(le.default.mark(function o(){var d,c,y,v,C,b,F,m,B,l;return le.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(d=r._events.get(n),c=[],!d){h.next=42;break}y=d.slice(),v=!0,C=!1,b=void 0,h.prev=5,F=y[Symbol.iterator]();case 7:if(v=(m=F.next()).done){h.next=28;break}if(B=m.value,d.includes(B)){h.next=11;break}return h.abrupt("continue",25);case 11:return h.prev=11,r.debug&&ht.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(qe(a))),h.next=15,B.apply(null,qe(a));case 15:if(l=h.sent,r.debug&&ht.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(qe(a),[l])),c.push(l),l!==!1){h.next=20;break}return h.abrupt("break",28);case 20:h.next=25;break;case 22:h.prev=22,h.t0=h.catch(11),Xi(String(h.t0)+":"+String(h.t0.stack));case 25:v=!0,h.next=7;break;case 28:h.next=34;break;case 30:h.prev=30,h.t1=h.catch(5),C=!0,b=h.t1;case 34:h.prev=34,h.prev=35,!v&&F.return!=null&&F.return();case 37:if(h.prev=37,!C){h.next=40;break}throw b;case 40:return h.finish(37);case 41:return h.finish(34);case 42:return h.abrupt("return",c);case 43:case"end":return h.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),i=a==null?void 0:a.indexOf(u);a==null||a.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();const At=[];class de{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}registerControlConfig(e,n){return this.controlConfigMap.set(e,n),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e){const{Designer:n,Runtime:u}=e;(!n||!u||!n.__is_control__||!u.__is_control__)&&Me(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(Ie(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),this}getControls(){return this._controls}register(e){e.__is_control__||Me(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Ie(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(n,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===k.LAYOUT}isFormControl(e){return e.controlType===k.FORM}isListControl(e){return e.controlType===k.LIST}isColumnControl(e){return e.controlType===k.COLUMN}createControl(e,n){if(Array.isArray(e))return e.map(a=>this.createControl(a,n));e.children&&(e.children=e.children.map(a=>this.createControl(a,n))),this.isListControl(e)&&e.props.headers&&(e.props.headers=e.props.headers.map(a=>this.createControl(a,n)));const u=this.getControlFormType(e.type);if(u){let a=e;if(typeof n=="function"){const r=n(a);r&&(a=r)}return new u(a)}else Me(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}createControlInstance(e,n){const u=this.getControlFormType(e);if(u)return new u(n)}getControlFormType(e){return this._controls.find(n=>n.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(n=>{this.register(n[e])})}}de.staticControls=At,de.staticRegisteredTypes=new Set(At.map(t=>t.Designer.controlType)),de.staticRegisteredConfigs=new Map;class O{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:""}}class Pe{constructor(e){var n,u;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(u=e==null?void 0:e.flex)!=null?u:1}}class fe extends Pe{constructor(e){super(e);var n,u;this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class gr{constructor(e){this.pc=new fe(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new fe(e==null?void 0:e.mobile):new fe({width:130,minWidth:180})}}class yr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class he{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class Er extends he{constructor(e){super(e);var n;this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Ct{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class vr{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[]}}class Ft{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:R.VARCHAR}}class Dt extends he{constructor(e){super(e);var n,u,a,i;this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class Br{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new he(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new Ft(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Dt(r)))!=null?i:[]}}class bt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Ve{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class ee{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var o,d;if(r.children!==void 0){const c=new ee(r);(o=this.children)==null||o.push(c)}else{const c=new me(r);(d=this.children)==null||d.push(c)}}))}}class me{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new bt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ve(e==null?void 0:e.rightVariableBo)}}class St{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class Oe{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class Ne{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class wt{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:R.ANY}}class Ar{constructor(e){var n,u,a,i,r,o,d;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(c=>new Ne(c)))!=null?r:[],this.dataSet=(d=(o=e.dataSet)==null?void 0:o.map(c=>new wt(c)))!=null?d:[]}}function je(t){var e,n,u,a,i,r;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(o=>o.children!==void 0?new ee(o):new me(o)))!=null?n:[],this.viewFilters=(a=(u=t==null?void 0:t.viewFilters)==null?void 0:u.map(o=>o.children!==void 0?new ee(o):new me(o)))!=null?a:[],(this instanceof ge||this instanceof Mt)&&(this.orders=(r=(i=t==null?void 0:t.orders)==null?void 0:i.map(o=>new Ne(o)))!=null?r:[])}class ge{constructor(e){var n,u,a,i,r,o,d;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],this.isOpenViewFilters=(i=e==null?void 0:e.isOpenViewFilters)!=null?i:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(c=>{var y;(y=this.displayBoList)==null||y.push(new Oe(c))})),this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!=null?r:"",this.showOrder=(o=e==null?void 0:e.showOrder)!=null?o:!0,this.svcCode=(d=e==null?void 0:e.svcCode)!=null?d:"",je.call(this,e)}}class Cr{constructor(e){var n,u;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.displayBoList=(u=e==null?void 0:e.displayBoList)!=null?u:[]}}class Fr{constructor(e){var n,u,a,i,r,o,d,c,y,v;this.code=(n=e==null?void 0:e.code)!=null?n:"view",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.command=(a=e==null?void 0:e.command)!=null?a:"view",this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!=null?i:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:void 0,this.icon=(d=e==null?void 0:e.icon)!=null?d:"iconliulan1",this.needConfirm=(c=e==null?void 0:e.needConfirm)!=null?c:!1,this.openType=(y=e==null?void 0:e.openType)!=null?y:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!=null?v:!0}}class Ue{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new Oe(r)))!=null?i:[]}}class It extends ge{constructor(e){super(e);var n,u;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Ue(a)))!=null?u:[]}}class Dr extends ge{constructor(e){super(e);var n,u,a;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(i=>new Ue(i)))!=null?u:[],this.formCode=(a=e==null?void 0:e.formCode)!=null?a:""}}class br extends It{constructor(e){super(e);var n;this.rootNode=new Ve(e==null?void 0:e.rootNode),this.filterCode=(n=e==null?void 0:e.filterCode)!=null?n:""}}class Rt{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new St(r)))!=null?i:[]}}class Mt extends Rt{constructor(e){super(e);je.call(this,e)}}class Sr extends Rt{constructor(e){super(e);var n,u;this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class wr{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class Ir{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class _e{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class Lt extends _e{constructor(e){super(e);var n,u;this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function Rr(t){var e;return(e=t==null?void 0:t.map(n=>new _e(n)))!=null?e:[]}function Mr(t){var e;return(e=t==null?void 0:t.map(n=>new Lt(n)))!=null?e:[]}class ye{}class Lr extends ye{constructor(e){super();this.amount=new O(e==null?void 0:e.amount),this.currency=new O(e==null?void 0:e.currency)}}class $r{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:xe.CNY}}class qr extends ye{constructor(e){super();this.min=new O(e==null?void 0:e.min),this.max=new O(e==null?void 0:e.max)}}class Pr{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class Vr{constructor(e){var n,u,a,i,r,o;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!=null?o:""}}class Or extends ye{constructor(e){super();this.result=new O(e==null?void 0:e.result),this.unit=new O(e==null?void 0:e.unit)}}class Nr{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var xe=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(xe||{}),$t=(t=>(t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t))($t||{}),He=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(He||{});class jr{constructor(e){var n,u,a,i,r,o;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!=null?o:!1}}class Ur{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[],je.call(this,e)}}class _r{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class qt{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class Ee{constructor(e){this.isHide={type:"boolean"}}}class Te extends Array{constructor(e){super()}}class x{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new qt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}x.Rules=Ee,x.RuntimeRules=Te;function N(){return N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},N.apply(this,arguments)}function xr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function We(t){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(t)}function ve(t,e){return ve=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ve(t,e)}function Hr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Be(t,e,n){return Hr()?Be=Reflect.construct:Be=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&ve(c,r.prototype),c},Be.apply(null,arguments)}function Tr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ke(t){var e=typeof Map=="function"?new Map:void 0;return Ke=function(u){if(u===null||!Tr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Be(u,arguments,We(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ve(a,u)},Ke(t)}var Wr=/%[sdj%]/g,Pt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Pt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ke(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function V(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(Wr,function(o){if(o==="%%")return"%";if(u>=i)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(d){return"[Circular]"}break;default:return o}});return r}return a}function Kr(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function I(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Kr(e)&&typeof t=="string"&&!t)}function kr(t,e,n){var u=[],a=0,i=t.length;function r(o){u.push.apply(u,o),a++,a===i&&n(u)}t.forEach(function(o){e(o,r)})}function Vt(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],i):n([])}i([])}function zr(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Ot=function(t){xr(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Ke(Error));function Xr(t,e,n,u){if(e.first){var a=new Promise(function(v,C){var b=function(B){return u(B),B.length?C(new Ot(B,ke(B))):v()},F=zr(t);Vt(F,n,b)});return a.catch(function(v){return v}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),o=r.length,d=0,c=[],y=new Promise(function(v,C){var b=function(m){if(c.push.apply(c,m),d++,d===o)return u(c),c.length?C(new Ot(c,ke(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var m=t[F];i.indexOf(F)!==-1?Vt(m,n,b):kr(m,n,b)})});return y.catch(function(v){return v}),y}function Nt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function jt(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=N(N({},t[n]),u):t[n]=u}}return t}function Ut(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(V(a.messages.required,t.fullField))}function Jr(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(V(a.messages.whitespace,t.fullField))}var ze={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},te={integer:function(e){return te.number(e)&&parseInt(e,10)===e},float:function(e){return te.number(e)&&!te.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!te.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ze.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ze.url)},hex:function(e){return typeof e=="string"&&!!e.match(ze.hex)}};function Gr(t,e,n,u,a){if(t.required&&e===void 0){Ut(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?te[r](e)||u.push(V(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(V(a.messages.types[r],t.fullField,t.type))}function Zr(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,y=null,v=typeof e=="number",C=typeof e=="string",b=Array.isArray(e);if(v?y="number":C?y="string":b&&(y="array"),!y)return!1;b&&(c=e.length),C&&(c=e.replace(d,"_").length),i?c!==t.len&&u.push(V(a.messages[y].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(V(a.messages[y].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(V(a.messages[y].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(V(a.messages[y].range,t.fullField,t.min,t.max))}var z="enum";function Qr(t,e,n,u,a){t[z]=Array.isArray(t[z])?t[z]:[],t[z].indexOf(e)===-1&&u.push(V(a.messages[z],t.fullField,t[z].join(", ")))}function Yr(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(V(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(V(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var E={required:Ut,whitespace:Jr,type:Gr,range:Zr,enum:Qr,pattern:Yr};function pr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();E.required(t,e,u,i,a,"string"),I(e,"string")||(E.type(t,e,u,i,a),E.range(t,e,u,i,a),E.pattern(t,e,u,i,a),t.whitespace===!0&&E.whitespace(t,e,u,i,a))}n(i)}function es(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&E.type(t,e,u,i,a)}n(i)}function ts(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&(E.type(t,e,u,i,a),E.range(t,e,u,i,a))}n(i)}function ns(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&E.type(t,e,u,i,a)}n(i)}function us(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),I(e)||E.type(t,e,u,i,a)}n(i)}function as(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&(E.type(t,e,u,i,a),E.range(t,e,u,i,a))}n(i)}function is(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&(E.type(t,e,u,i,a),E.range(t,e,u,i,a))}n(i)}function rs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();E.required(t,e,u,i,a,"array"),e!=null&&(E.type(t,e,u,i,a),E.range(t,e,u,i,a))}n(i)}function ss(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&E.type(t,e,u,i,a)}n(i)}var ls="enum";function os(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a),e!==void 0&&E[ls](t,e,u,i,a)}n(i)}function cs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();E.required(t,e,u,i,a),I(e,"string")||E.pattern(t,e,u,i,a)}n(i)}function ds(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"date")&&!t.required)return n();if(E.required(t,e,u,i,a),!I(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),E.type(t,o,u,i,a),o&&E.range(t,o.getTime(),u,i,a)}}n(i)}function fs(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;E.required(t,e,u,i,a,r),n(i)}function Xe(t,e,n,u,a){var i=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(I(e,i)&&!t.required)return n();E.required(t,e,u,r,a,i),I(e,i)||E.type(t,e,u,r,a)}n(r)}function hs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();E.required(t,e,u,i,a)}n(i)}var ne={string:pr,method:es,number:ts,boolean:ns,regexp:us,integer:as,float:is,array:rs,object:ss,enum:os,pattern:cs,date:ds,url:Xe,hex:Xe,email:Xe,required:fs,any:hs};function Je(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ge=Je();function H(t){this.rules=null,this._messages=Ge,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=jt(Je(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(m){var B,l=[],g={};function h(D){if(Array.isArray(D)){var w;l=(w=l).concat.apply(w,D)}else l.push(D)}for(B=0;B<m.length;B++)h(m[B]);l.length?g=ke(l):(l=null,g=null),o(l,g)}if(r.messages){var c=this.messages();c===Ge&&(c=Je()),jt(c,r.messages),r.messages=c}else r.messages=this.messages();var y,v,C={},b=r.keys||Object.keys(this.rules);b.forEach(function(m){y=a.rules[m],v=i[m],y.forEach(function(B){var l=B;typeof l.transform=="function"&&(i===e&&(i=N({},i)),v=i[m]=l.transform(v)),typeof l=="function"?l={validator:l}:l=N({},l),l.validator=a.getValidationMethod(l),l.field=m,l.fullField=l.fullField||m,l.type=a.getType(l),!!l.validator&&(C[m]=C[m]||[],C[m].push({rule:l,value:v,source:i,field:m}))})});var F={};return Xr(C,r,function(m,B){var l=m.rule,g=(l.type==="object"||l.type==="array")&&(typeof l.fields=="object"||typeof l.defaultField=="object");g=g&&(l.required||!l.required&&m.value),l.field=m.field;function h(j,A){return N(N({},A),{},{fullField:l.fullField+"."+j})}function D(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!r.suppressWarning&&A.length&&H.warning("async-validator:",A),A.length&&l.message!==void 0&&(A=[].concat(l.message)),A=A.map(Nt(l)),r.first&&A.length)return F[l.field]=1,B(A);if(!g)B(A);else{if(l.required&&!m.value)return l.message!==void 0?A=[].concat(l.message).map(Nt(l)):r.error&&(A=[r.error(l,V(r.messages.required,l.field))]),B(A);var U={};if(l.defaultField)for(var Qt in m.value)m.value.hasOwnProperty(Qt)&&(U[Qt]=l.defaultField);U=N(N({},U),m.rule.fields);for(var X in U)if(U.hasOwnProperty(X)){var Rs=Array.isArray(U[X])?U[X]:[U[X]];U[X]=Rs.map(h.bind(null,X))}var Yt=new H(U);Yt.messages(r.messages),m.rule.options&&(m.rule.options.messages=r.messages,m.rule.options.error=r.error),Yt.validate(m.value,m.rule.options||r,function(at){var J=[];A&&A.length&&J.push.apply(J,A),at&&at.length&&J.push.apply(J,at),B(J.length?J:null)})}}var w;l.asyncValidator?w=l.asyncValidator(l,m.value,D,m.source,r):l.validator&&(w=l.validator(l,m.value,D,m.source,r),w===!0?D():w===!1?D(l.message||l.field+" fails"):w instanceof Array?D(w):w instanceof Error&&D(w.message)),w&&w.then&&w.then(function(){return D()},function(j){return D(j)})},function(m){d(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ne.hasOwnProperty(e.type))throw new Error(V("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?ne.required:ne[this.getType(e)]||!1}},H.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ne[e]=n},H.warning=Pt,H.messages=Ge,H.validators=ne;const ms={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function _t(t,e={}){const n=new H(t);return n.messages(Object.assign(ms,e)),n}const xt=new mr;class q{constructor(e){var y,v,C,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Tt,this.removeSetting=Ht,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:o,name:d,setting:c}=new.target;n&&u&&a||mt(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(y=e==null?void 0:e.id)!=null?y:W(10),this.name=n,this.icon=u,this.type=(v=e==null?void 0:e.type)!=null?v:a,this.props=new x(e==null?void 0:e.props,new.target.controlName),this.controlType=(C=e==null?void 0:e.controlType)!=null?C:"base",this.setting=K(c),this.fieldType=(b=e==null?void 0:e.fieldType)!=null?b:i,this.eventKeys=K(r),this.customEvents=K(o),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return xt.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),er(this.props,e,n),this.postUpdate(e,n)}preValidate(){return se(this,null,function*(){const e=G({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return se(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:G({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=_t(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:o,caption:d,required:c,maxLength:y,options:v,encrypted:C,encryptedMode:b}=this.props;if(!n&&!i&&!r)return;const F={parentId:e,fieldType:n,controlId:u,caption:d,type:a,props:{}};switch(i&&(F.dataBind=i),o){case"datasource":case void 0:r&&(F.datasourceBind=r);break;case"custom":F.props.options=v;break}return c!==void 0&&(F.required=c),y!==void 0&&(F.maxLength=y),C!==void 0&&(F.encrypted=C),b!==void 0&&(F.encryptedMode=b),F}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:K(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}q.controlName="\u63A7\u4EF6",q.controlIcon="icon",q.controlType="control",q.controlEventKeys=[],q.controlCustomEvents=[],q.setting=[],q.__is_control__=!0,q.removeSettingItem=Ht,q.updateSettingItem=Tt;function Ht(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r;const u=typeof n!="string",a=this.setting.findIndex(o=>o.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(i=this.setting[a].showItems)==null?void 0:i.filter(o=>!n.hideItems.includes(o)):this.setting.splice(a,1),u&&!((r=this.setting[a].showItems)==null?void 0:r.length)&&this.setting.splice(a,1))})}function Tt(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class T{constructor(e){var r,o,d,c,y;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||mt(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(o=e==null?void 0:e.type)!=null?o:n,this.props=new x(e==null?void 0:e.props),this.customEvents=i,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(y=e==null?void 0:e.pageStatus)!=null?y:He.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}T.controlType="control",T.__is_control__=!0,T.controlCustomEvents=[];function Ze(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=rr(a);a.length!==i.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function gs(t,e,n=!1){this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}class Qe extends Ee{constructor(e){super(e);this.dataBind={},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof O)this.dataBind={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wt extends Te{constructor(e){super(e);this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:f.getMessage("runtimeRequired",{caption:e.caption})})}}class ue extends x{constructor(e){super(e);var n,u,a,i,r,o,d,c,y,v;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(y=e==null?void 0:e.requiredMessage)!=null?y:"",this.dataBind=new O(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ue.Rules=Qe,ue.RuntimeRules=Wt;class ys extends Qe{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ze.call(this,e)}}class Kt extends q{constructor(e){super(e);this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_change","on_focus","on_blur"];class Es extends T{constructor(e){super(e);this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}class ae extends x{constructor(e){super(e)}}function kt(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])==null?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ye(t,e){t.parent=e,kt(t,"parent")}function zt(t,e){t.forEach(n=>{Ye(n,e)})}const Xt=Symbol("targetKey");function Jt(t){var e;return(e=t[Xt])!=null?e:t}function Gt(t,e){return zt(t,e),new Proxy(t,{get(n,u,...a){return u===Xt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(ir(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return ar(a)&&Ye(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=Gt(Jt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Gt(Jt(r),a)},enumerable:!0})}const vs=1e4;class re extends q{constructor(e){super(e);this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children),this.excludes=K(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){var u=a=>super[a];return se(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Ce(G({},e),{children:n})}}re.excludes=!1,re.childrenMaxLength=vs;class pe extends T{constructor(e){super(e);this.controlType="layout",this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}}class et extends x{constructor(e,n){super(n);ie(this,"headers",n==null?void 0:n.headers,e)}}class Zt extends q{constructor(e){super(e);this.controlType="list",this.props=new et(this,e==null?void 0:e.props)}validate(e,n){var u=a=>super[a];return se(this,null,function*(){return yield u("validate").call(this,e),yield Promise.all(this.props.headers.map(i=>i.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return Ce(G({},e),{props:Ce(G({},this.props),{headers:n})})}}Zt.controlFieldType=R.LIST;class Bs extends T{constructor(e){super(e);this.controlType="list",this.props=new et(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class tt extends Ee{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Ae extends x{constructor(e){super(e);var n,u,a,i,r;this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new Pe(e==null?void 0:e.autoWidth),this.dataBind=new O(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}Ae.Rules=tt;class As extends tt{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ze.call(this,e)}}class Cs extends q{constructor(e){super(e);this.controlType="column",this.props=new Ae(e==null?void 0:e.props)}}class Fs extends T{constructor(e){super(e);this.controlType="column",this.props=new Ae(e==null?void 0:e.props)}}class nt extends ae{constructor(e){super(e);this.dataBind=new O(e==null?void 0:e.dataBind)}}class Ds extends re{constructor(e){super(e);this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class bs extends pe{constructor(e){super(e);this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class ut extends ae{constructor(e){super(e)}}class Ss extends re{constructor(e){super(e);this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}class ws extends pe{constructor(e){super(e);this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}function Is(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}s.AMOUNT_TYPE=xe,s.AddressValue=Vr,s.AmountDataBind=Lr,s.AmountValue=$r,s.AutoWidth=Pe,s.BaseControlProperty=ue,s.BaseControlPropertyRules=Qe,s.BaseControlPropertyRuntimeRules=Wt,s.BaseStyle=qt,s.COMMON_SETTING_TYPE=$t,s.CalcDataBind=Or,s.CalcValue=Nr,s.ColumnControlProperty=Ae,s.ColumnControlPropertyRules=tt,s.ColumnOptionAndDataSourcePropertyRules=As,s.CustomAttributeItem=Ue,s.CustomPermissionItem=_r,s.DataBind=O,s.DataSourceBind=ge,s.DataSourceDataSetValue=wt,s.DataSourceOrderItem=Ne,s.DataSourceParamItem=Ar,s.DataStorageDoc=yr,s.DesignerColumnControl=Cs,s.DesignerControl=q,s.DesignerFormControl=Kt,s.DesignerLayoutControl=re,s.DesignerListControl=Zt,s.DesignerSearchControl=Ds,s.DesignerWrapControl=Ss,s.DisplayBoListItem=Oe,s.FieldBindItem=Ft,s.FieldFilterCondition=me,s.FieldFilterConditions=ee,s.FillBackBind=Sr,s.FillPayloadBind=Mt,s.FormBind=he,s.FormSelectBind=Er,s.ImageOptionSetting=Lt,s.Language=wr,s.LayoutControlProperty=ae,s.LeftVariable=bt,s.LinkOperationOption=Fr,s.ListBind=vr,s.ListControlProperty=et,s.MetaAutoWidth=gr,s.MetaWidth=fe,s.MultistageFillingItem=St,s.ObjectDataBind=ye,s.OperationItem=jr,s.OptionAndDataSourcePropertyRules=ys,s.OptionSetting=_e,s.OrganizationDataSourceBind=Dr,s.PAGE_STATUS=He,s.Property=x,s.PropertyRules=Ee,s.PropertyRuntimeRules=Te,s.RangeDataBind=qr,s.RangeDateValue=Pr,s.RegisterControls=de,s.RegularRules=Ir,s.RightVariable=Ve,s.RuntimeColumnControl=Fs,s.RuntimeControl=T,s.RuntimeFormControl=Es,s.RuntimeLayoutControl=pe,s.RuntimeListControl=Bs,s.RuntimeSearchControl=bs,s.RuntimeWrapControl=ws,s.SearchControlProperty=nt,s.SelectedContentConfig=Cr,s.SubListItem=Dt,s.SubListPageConfig=Br,s.SuperDataSourceBind=It,s.TreeDataSourceBind=br,s.ViewOperationItem=Ur,s.WrapControlProperty=ut,s.controlHooksEmitter=xt,s.createValidator=_t,s.defineArrayParent=zt,s.defineControlArrayToProperty=ie,s.defineParent=Ye,s.initImageOptions=Mr,s.initLinkOperationRules=Is,s.initOptionAndDataSourceRules=Ze,s.initOptions=Rr,s.initSuperDataSourceRules=gs,s.setPropertyDontEnum=kt,Object.defineProperty(s,"__esModule",{value:!0})});
|
|
1
|
+
var $l=Object.defineProperty,ql=Object.defineProperties;var Pl=Object.getOwnPropertyDescriptors;var pt=Object.getOwnPropertySymbols;var Ol=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable;var en=(l,S,M)=>S in l?$l(l,S,{enumerable:!0,configurable:!0,writable:!0,value:M}):l[S]=M,G=(l,S)=>{for(var M in S||(S={}))Ol.call(S,M)&&en(l,M,S[M]);if(pt)for(var M of pt(S))Vl.call(S,M)&&en(l,M,S[M]);return l},Ce=(l,S)=>ql(l,Pl(S));var se=(l,S,M)=>new Promise((oe,ce)=>{var Fe=_=>{try{Z(M.next(_))}catch(Q){ce(Q)}},De=_=>{try{Z(M.throw(_))}catch(Q){ce(Q)}},Z=_=>_.done?oe(_.value):Promise.resolve(_.value).then(Fe,De);Z((M=M.apply(l,S)).next())});(function(l,S){typeof exports=="object"&&typeof module!="undefined"?S(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],S):(l=typeof globalThis!="undefined"?globalThis:l||self,S(l.modelDrivenCore={},l.regeneratorRuntime))})(this,function(l,S){"use strict";function M(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var oe=M(S),ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Fe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",De="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Q="{caption}\u5FC5\u586B",tn="\u8BF7\u8F93\u5165\u6807\u9898",nn="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",un="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",an="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",rn="\u8BF7\u7ED1\u5B9A\u8868\u5355",ln="\u8BF7\u7ED1\u5B9A\u5217\u8868",sn="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",on="\u8BF7\u8F93\u5165\u663E\u793A\u503C",cn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",dn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",fn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",hn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",mn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",gn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",yn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",En="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",vn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",An="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Cn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Fn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Sn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",wn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",In="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Rn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Mn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ln="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$n="\u8BF7\u7ED1\u5B9A\u670D\u52A1",qn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pn="\u8BF7\u9009\u62E9\u7701",On="\u8BF7\u9009\u62E9\u5E02",Vn="\u8BF7\u9009\u62E9\u533A",Nn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",jn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Un="\u8BF7\u8F93\u5165\u5217\u5BBD",_n="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",xn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Hn="\u8BF7\u9009\u62E9\u63A7\u4EF6",Tn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Wn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Kn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Jn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Gn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",au="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ru="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ou={isNotNumber:ce,isNotString:Fe,isNotObject:De,isNotArray:Z,isNotBoolean:_,runtimeRequired:Q,pleaseEnterCaption:tn,pleaseEnterCaptionTip:nn,pleaseEnterPlaceholder:un,pleaseEnterFieldCode:an,pleaseEnterForm:rn,pleaseEnterList:ln,pleaseEnterProcess:sn,pleaseEnterLabel:on,pleaseEnterValue:cn,bizKeyNotBindFiled:dn,pleaseSelectOneField:fn,pleaseEnterNumberRange:hn,pleaseEnterAValueGreaterThanMin:mn,pleaseEnterAValueLessThanMax:gn,numberRangeSetError:yn,stringRangeError:En,attachmentMaxSize:vn,pleaseEnterTotalScoreSetting:Bn,theTotalScoreMustNotBeLessThan1:An,scoreDefaultValueRange:Cn,attachmentLimitError:Fn,PleaseReselectTheOptionalQuantity:Dn,TheMaximumLengthIsGreaterThanTheMinimumLength:bn,TheMinimumLengthIsGreaterThanTheMaximumLength:Sn,PleaseSelectTheCorrectOptionSettings:wn,optionIdIsRepeat:In,optionIsRequired:Rn,pleaseEnterDataCode:Mn,pleaseEnterValueFieldCode:Ln,pleaseEnterSvcCode:$n,pleaseBindAtLeastOneDisplayValue:qn,pleaseSelectProvince:Pn,pleaseSelectCity:On,pleaseSelectDistrict:Vn,limitRowsCannotBeLessThan0:Nn,TheNumberOfRowsCannotBeLessThanMinRows:jn,pleaseEnterColumnWidth:Un,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_n,pleaseCompleteAllRulesAndConditions:xn,pleaseSelectControl:Hn,pleaseSelectAtLeastOneColumn:Tn,pleaseSelectFillBackMode:Wn,pleaseSelectDashboard:Kn,rootNodeIsRequired:kn,theViewNameCannotBeEmpty:zn,pleaseSelectOcrType:Xn,pleaseSelectAtLeastOneFieldToFillIn:Jn,pleaseChooseAtLeastOne:Gn,pleaseEnterButtonContent:Zn,pleaseEnterDataCodeInDataSetting:Qn,pleaseEnterValueFieldCodeInDataSetting:Yn,pleaseEnterSvcCodeInDataSetting:pn,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:nu,pleaseEnter:uu,pleaseEnterWatermark:au,pleaseEnterFileName:iu,pleaseUploadAtLeastOnePrintTemplate:ru,pleaseAssignBusiness:lu,pleaseAssignExternal:su},cu="Please enter a number",du="Please enter a string",fu="Please enter an object",hu="Please enter an array",mu="Please enter a boolean",gu="{caption} Required",yu="Please enter the title",Eu="Please enter the bubble prompt",vu="Please enter the prompt text",Bu="Please bind data items",Au="Please bind the form",Cu="Please bind the list",Fu="Please bind the process",Du="Please enter the displayed value",bu="Please enter the stored value",Su="The document number is not bound to the data item",wu="Please select at least one display field",Iu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ru="Please enter a value greater than or equal to {min}",Mu="Please enter a value less than or equal to {max}",Lu="The value range is set incorrectly",$u="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qu="The attachment size must be between 0MB and 1000MB",Pu="Please fill in the total score setting",Ou="The total score cannot be less than 1",Vu="The default value must be between {min} and {max}",Nu="The number of attachments uploaded must be between {min} and {max}",ju="Please re-select the optional quantity",Uu="The maximum length of the control must be greater than the minimum length",_u="The minimum length of the control must be less than the maximum length",xu="Please select the correct option setting",Hu="Option ID cannot be repeated",Tu="Please enter at least one option",Wu="Please bind the data source",Ku="Please bind the stored value",ku="Please bind the service",zu="At least one display value must be bound",Xu="Please select a province",Ju="Please select a city",Gu="Please select a district",Zu="The minimum number of lines to fill in cannot be less than 0",Qu="The number of rows cannot be less than {min} rows",Yu="Please enter the column width",pu="Please set the logical relationship of all rule conditions",ea="Please complete all rules and conditions",ta="please select control",na="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ua="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",aa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ia="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ra="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",la="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",oa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ha="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ma="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ga="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ya="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ea="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",va="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ba="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Aa={isNotNumber:cu,isNotString:du,isNotObject:fu,isNotArray:hu,isNotBoolean:mu,runtimeRequired:gu,pleaseEnterCaption:yu,pleaseEnterCaptionTip:Eu,pleaseEnterPlaceholder:vu,pleaseEnterFieldCode:Bu,pleaseEnterForm:Au,pleaseEnterList:Cu,pleaseEnterProcess:Fu,pleaseEnterLabel:Du,pleaseEnterValue:bu,bizKeyNotBindFiled:Su,pleaseSelectOneField:wu,pleaseEnterNumberRange:Iu,pleaseEnterAValueGreaterThanMin:Ru,pleaseEnterAValueLessThanMax:Mu,numberRangeSetError:Lu,stringRangeError:$u,attachmentMaxSize:qu,pleaseEnterTotalScoreSetting:Pu,theTotalScoreMustNotBeLessThan1:Ou,scoreDefaultValueRange:Vu,attachmentLimitError:Nu,PleaseReselectTheOptionalQuantity:ju,TheMaximumLengthIsGreaterThanTheMinimumLength:Uu,TheMinimumLengthIsGreaterThanTheMaximumLength:_u,PleaseSelectTheCorrectOptionSettings:xu,optionIdIsRepeat:Hu,optionIsRequired:Tu,pleaseEnterDataCode:Wu,pleaseEnterValueFieldCode:Ku,pleaseEnterSvcCode:ku,pleaseBindAtLeastOneDisplayValue:zu,pleaseSelectProvince:Xu,pleaseSelectCity:Ju,pleaseSelectDistrict:Gu,limitRowsCannotBeLessThan0:Zu,TheNumberOfRowsCannotBeLessThanMinRows:Qu,pleaseEnterColumnWidth:Yu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:pu,pleaseCompleteAllRulesAndConditions:ea,pleaseSelectControl:ta,pleaseSelectDashboard:na,theViewNameCannotBeEmpty:ua,pleaseSelectOcrType:aa,pleaseSelectAtLeastOneFieldToFillIn:ia,pleaseChooseAtLeastOne:ra,pleaseEnterButtonContent:la,pleaseEnterDataCodeInDataSetting:sa,pleaseEnterValueFieldCodeInDataSetting:oa,pleaseEnterSvcCodeInDataSetting:ca,pleaseBindAtLeastOneDisplayValueInDataSetting:da,rootNodeIsRequiredInDataSetting:fa,pleaseEnterMaxHeight:ha,pleaseEnter:ma,pleaseEnterWatermark:ga,pleaseEnterFileName:ya,pleaseUploadAtLeastOnePrintTemplate:Ea,pleaseAssignBusiness:va,pleaseAssignExternal:Ba},Ca="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="{caption}\u5FC5\u9808",Ia="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ra="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",La="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ja="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ua="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ta="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ka="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ka="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",za="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ja="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ga="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Za="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ya="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ei="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ti="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ni="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ui="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ai="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ii="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ri="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",li="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",si="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oi="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ci="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",di="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fi="please select control",hi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gi="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",yi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ei="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",vi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ai="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ci="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Di="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bi="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Si="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",wi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ii="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ri="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mi="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Li="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$i={isNotNumber:Ca,isNotString:Fa,isNotObject:Da,isNotArray:ba,isNotBoolean:Sa,runtimeRequired:wa,pleaseEnterCaption:Ia,pleaseEnterCaptionTip:Ra,pleaseEnterPlaceholder:Ma,pleaseEnterFieldCode:La,pleaseEnterForm:$a,pleaseEnterList:qa,pleaseEnterProcess:Pa,pleaseEnterLabel:Oa,pleaseEnterValue:Va,bizKeyNotBindFiled:Na,pleaseSelectOneField:ja,pleaseEnterNumberRange:Ua,pleaseEnterAValueGreaterThanMin:_a,pleaseEnterAValueLessThanMax:xa,numberRangeSetError:Ha,stringRangeError:Ta,attachmentMaxSize:Wa,pleaseEnterTotalScoreSetting:Ka,theTotalScoreMustNotBeLessThan1:ka,scoreDefaultValueRange:za,attachmentLimitError:Xa,PleaseReselectTheOptionalQuantity:Ja,TheMaximumLengthIsGreaterThanTheMinimumLength:Ga,TheMinimumLengthIsGreaterThanTheMaximumLength:Za,PleaseSelectTheCorrectOptionSettings:Qa,optionIdIsRepeat:Ya,optionIsRequired:pa,pleaseEnterDataCode:ei,pleaseEnterValueFieldCode:ti,pleaseEnterSvcCode:ni,pleaseBindAtLeastOneDisplayValue:ui,pleaseSelectProvince:ai,pleaseSelectCity:ii,pleaseSelectDistrict:ri,limitRowsCannotBeLessThan0:li,TheNumberOfRowsCannotBeLessThanMinRows:si,pleaseEnterColumnWidth:oi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ci,pleaseCompleteAllRulesAndConditions:di,pleaseSelectControl:fi,pleaseSelectDashboard:hi,theViewNameCannotBeEmpty:mi,pleaseSelectOcrType:gi,pleaseSelectAtLeastOneFieldToFillIn:yi,pleaseChooseAtLeastOne:Ei,pleaseEnterButtonContent:vi,pleaseEnterDataCodeInDataSetting:Bi,pleaseEnterValueFieldCodeInDataSetting:Ai,pleaseEnterSvcCodeInDataSetting:Ci,pleaseBindAtLeastOneDisplayValueInDataSetting:Fi,rootNodeIsRequiredInDataSetting:Di,pleaseEnterMaxHeight:bi,pleaseEnter:Si,pleaseEnterWatermark:wi,pleaseEnterFileName:Ii,pleaseUploadAtLeastOnePrintTemplate:Ri,pleaseAssignBusiness:Mi,pleaseAssignExternal:Li},qi={zhCN:ou,enUS:Aa,jaJP:$i},it;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(it||(it={}));var rt;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(rt||(rt={}));var Pi="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(k||(k={}));var L;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(L||(L={}));var R;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var $;$={},P($,R.ARRAY,L.ARRAY_COLUMN),P($,R.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),P($,R.DECIMAL,L.DECIMAL_COLUMN),P($,R.DEPARTMENTS,L.DEPARTMENT_COLUMN),P($,R.FILE,L.FILE_COLUMN),P($,R.IMAGE,L.IMAGE_COLUMN),P($,R.ADDRESS,L.LOCATION_COLUMN),P($,R.EMPLOYEES,L.EMPLOYEE_COLUMN),P($,R.TEXT,L.TEXT_COLUMN),P($,R.TIMESCOPE,L.TIMESCOPE_COLUMN),P($,R.TIMESTAMP,L.TIMESTAMP_COLUMN),P($,R.VARCHAR,L.VARCHAR_COLUMN),P($,R.RELATION,L.VARCHAR_COLUMN);var lt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(lt||(lt={}));var st="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Oi=st+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?st:Oi,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function be(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Vi(t){if(Array.isArray(t))return be(t)}function Ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ot(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ji(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function de(t,e,n){return ji()?de=Reflect.construct:de=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&p(c,r.prototype),c},de.apply(null,arguments)}function Y(t){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y(t)}function ct(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function Ui(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _i(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hi(t,e){return e&&(Ti(e)==="object"||typeof e=="function")?e:Ni(t)}function p(t,e){return p=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},p(t,e)}function dt(t){return Vi(t)||_i(t)||Wi(t)||xi()}var Ti=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wi(t,e){if(!!t){if(typeof t=="string")return be(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return be(t,e)}}function Se(t){var e=typeof Map=="function"?new Map:void 0;return Se=function(u){if(u===null||!Ui(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return de(u,arguments,Y(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),p(a,u)},Se(t)}function Ki(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ft(t){var e=Ki();return function(){var u=Y(t),a;if(e){var i=Y(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return Hi(this,a)}}var we=console;function Ie(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=we).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(dt(a)))}function ht(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=we).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(dt(a)))}function ki(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Re=function(t){ct(n,t);var e=ft(n);function n(u){ot(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?ki(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Se(Error)),zi=function(t){ct(n,t);var e=ft(n);function n(u){ot(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Re);function Me(t){throw new Re(t)}function mt(t){throw new zi(t)}function Xi(t){we.error(new Re(t))}var Ji=Object.prototype.toString;function gt(t,e){return Ji.call(t)==="[object "+e+"]"}function Gi(t){return gt(t,"String")}function Zi(t){return gt(t,"Promise")}var Qi=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();Zi(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,o){if(a!==void 0){var d=a[i];if(!(r===o.length-1&&!Gi(d)))return d}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Yi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function pi(t,e,n){return e&&yt(t.prototype,e),n&&yt(t,n),t}var f=function(){function t(){Yi(this,t)}return pi(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pi;return new Qi({locale:n,messages:qi})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function er(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,o,d){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){Ie("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return o===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var tr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},nr={exports:{}};(function(t){(function(e){var n=function(s,g,h){if(!c(g)||v(g)||C(g)||b(g)||d(g))return g;var D,w=0,j=0;if(E(g))for(D=[],j=g.length;w<j;w++)D.push(n(s,g[w],h));else{D={};for(var A in g)Object.prototype.hasOwnProperty.call(g,A)&&(D[s(A,h)]=n(s,g[A],h))}return D},u=function(s,g){g=g||{};var h=g.separator||"_",D=g.split||/(?=[A-Z])/;return s.split(D).join(h)},a=function(s){return F(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(g,h){return h?h.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},i=function(s){var g=a(s);return g.substr(0,1).toUpperCase()+g.substr(1)},r=function(s,g){return u(s,g).toLowerCase()},o=Object.prototype.toString,d=function(s){return typeof s=="function"},c=function(s){return s===Object(s)},E=function(s){return o.call(s)=="[object Array]"},v=function(s){return o.call(s)=="[object Date]"},C=function(s){return o.call(s)=="[object RegExp]"},b=function(s){return o.call(s)=="[object Boolean]"},F=function(s){return s=s-0,s===s},m=function(s,g){var h=g&&"process"in g?g.process:g;return typeof h!="function"?s:function(D,w){return h(D,s,w)}},B={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(s,g){return n(m(a,g),s)},decamelizeKeys:function(s,g){return n(m(r,g),s,g)},pascalizeKeys:function(s,g){return n(m(i,g),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(tr)})(nr);var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function Le(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Le(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Le(u)}return e}}var ur=Et.default=Le;function K(t){if(t!==void 0)return typeof t=="object"?ur(t):t}function ar(t){return Object.prototype.toString.call(t)==="[object Object]"}function ir(t){return Array.isArray(t)}function rr(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function $e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function lr(t){if(Array.isArray(t))return $e(t)}function vt(t,e,n,u,a,i,r){try{var o=t[i](r),d=o.value}catch(c){n(c);return}o.done?e(d):Promise.resolve(d).then(u,a)}function sr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){vt(i,u,a,r,o,"next",d)}function o(d){vt(i,u,a,r,o,"throw",d)}r(void 0)})}}function or(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function cr(t,e,n){return e&&Bt(t.prototype,e),n&&Bt(t,n),t}function dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fr(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qe(t){return lr(t)||dr(t)||hr(t)||fr()}function hr(t,e){if(!!t){if(typeof t=="string")return $e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $e(t,e)}}var mr=function(){function t(){or(this,t),this._events=new Map,this.debug=!1}return cr(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];var r=this;return sr(oe.default.mark(function o(){var d,c,E,v,C,b,F,m,B,s;return oe.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(d=r._events.get(n),c=[],!d){h.next=42;break}E=d.slice(),v=!0,C=!1,b=void 0,h.prev=5,F=E[Symbol.iterator]();case 7:if(v=(m=F.next()).done){h.next=28;break}if(B=m.value,d.includes(B)){h.next=11;break}return h.abrupt("continue",25);case 11:return h.prev=11,r.debug&&ht.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(qe(a))),h.next=15,B.apply(null,qe(a));case 15:if(s=h.sent,r.debug&&ht.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(qe(a),[s])),c.push(s),s!==!1){h.next=20;break}return h.abrupt("break",28);case 20:h.next=25;break;case 22:h.prev=22,h.t0=h.catch(11),Xi(String(h.t0)+":"+String(h.t0.stack));case 25:v=!0,h.next=7;break;case 28:h.next=34;break;case 30:h.prev=30,h.t1=h.catch(5),C=!0,b=h.t1;case 34:h.prev=34,h.prev=35,!v&&F.return!=null&&F.return();case 37:if(h.prev=37,!C){h.next=40;break}throw b;case 40:return h.finish(37);case 41:return h.finish(34);case 42:return h.abrupt("return",c);case 43:case"end":return h.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),i=a==null?void 0:a.indexOf(u);a==null||a.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();const At=[];class fe{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}registerControlConfig(e,n){return this.controlConfigMap.set(e,n),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e){const{Designer:n,Runtime:u}=e;(!n||!u||!n.__is_control__||!u.__is_control__)&&Me(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(Ie(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),this}getControls(){return this._controls}register(e){e.__is_control__||Me(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Ie(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(n,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===k.LAYOUT}isFormControl(e){return e.controlType===k.FORM}isListControl(e){return e.controlType===k.LIST}isColumnControl(e){return e.controlType===k.COLUMN}createControl(e,n){if(Array.isArray(e))return e.map(a=>this.createControl(a,n));e.children&&(e.children=e.children.map(a=>this.createControl(a,n))),this.isListControl(e)&&e.props.headers&&(e.props.headers=e.props.headers.map(a=>this.createControl(a,n)));const u=this.getControlFormType(e.type);if(u){let a=e;if(typeof n=="function"){const r=n(a);r&&(a=r)}return new u(a)}else Me(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}createControlInstance(e,n){const u=this.getControlFormType(e);if(u)return new u(n)}getControlFormType(e){return this._controls.find(n=>n.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(n=>{this.register(n[e])})}}fe.staticControls=At,fe.staticRegisteredTypes=new Set(At.map(t=>t.Designer.controlType)),fe.staticRegisteredConfigs=new Map;class V{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.aliasCode=e==null?void 0:e.aliasCode}}class Pe{constructor(e){var n,u;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(u=e==null?void 0:e.flex)!=null?u:1}}class he extends Pe{constructor(e){super(e);var n,u;this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class gr{constructor(e){this.pc=new he(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new he(e==null?void 0:e.mobile):new he({width:130,minWidth:180})}}class yr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class me{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class Er extends me{constructor(e){super(e);var n;this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Ct{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class vr{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[]}}class Ft{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:R.VARCHAR}}class Dt extends me{constructor(e){super(e);var n,u,a,i;this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class Br{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new me(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new Ft(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Dt(r)))!=null?i:[]}}class bt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Oe{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class ee{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var o,d;if(r.children!==void 0){const c=new ee(r);(o=this.children)==null||o.push(c)}else{const c=new ge(r);(d=this.children)==null||d.push(c)}}))}}class ge{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new bt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Oe(e==null?void 0:e.rightVariableBo)}}class Ar{constructor(e){var n,u;this.aliasCode=(n=e==null?void 0:e.aliasCode)!=null?n:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.relationFields=(u=e==null?void 0:e.relationFields)!=null?u:[]}}class St{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class Ve{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class Ne{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class wt{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:R.ANY}}class Cr{constructor(e){var n,u,a,i,r,o,d;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(c=>new Ne(c)))!=null?r:[],this.dataSet=(d=(o=e.dataSet)==null?void 0:o.map(c=>new wt(c)))!=null?d:[]}}function je(t){var e,n,u,a,i,r;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(o=>o.children!==void 0?new ee(o):new ge(o)))!=null?n:[],this.viewFilters=(a=(u=t==null?void 0:t.viewFilters)==null?void 0:u.map(o=>o.children!==void 0?new ee(o):new ge(o)))!=null?a:[],(this instanceof te||this instanceof Mt)&&(this.orders=(r=(i=t==null?void 0:t.orders)==null?void 0:i.map(o=>new Ne(o)))!=null?r:[])}class te{constructor(e){var n,u,a,i,r,o;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],this.isOpenViewFilters=(i=e==null?void 0:e.isOpenViewFilters)!=null?i:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(d=>{var c;(c=this.displayBoList)==null||c.push(new Ve(d))})),this.showOrder=(r=e==null?void 0:e.showOrder)!=null?r:!0,this.svcCode=(o=e==null?void 0:e.svcCode)!=null?o:"",je.call(this,e)}}class Fr{constructor(e){var n,u;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.displayBoList=(u=e==null?void 0:e.displayBoList)!=null?u:[]}}class Dr{constructor(e){var n,u,a,i,r,o,d,c,E,v;this.code=(n=e==null?void 0:e.code)!=null?n:"view",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.command=(a=e==null?void 0:e.command)!=null?a:"view",this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!=null?i:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:void 0,this.icon=(d=e==null?void 0:e.icon)!=null?d:"iconliulan1",this.needConfirm=(c=e==null?void 0:e.needConfirm)!=null?c:!1,this.openType=(E=e==null?void 0:e.openType)!=null?E:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!=null?v:!0}}class Ue{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new Ve(r)))!=null?i:[]}}class It extends te{constructor(e){super(e);var n,u;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Ue(a)))!=null?u:[]}}class br extends te{constructor(e){super(e);var n,u,a;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(i=>new Ue(i)))!=null?u:[],this.formCode=(a=e==null?void 0:e.formCode)!=null?a:""}}class Sr extends It{constructor(e){super(e);var n;this.rootNode=new Oe(e==null?void 0:e.rootNode),this.filterCode=(n=e==null?void 0:e.filterCode)!=null?n:""}}class Rt{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new St(r)))!=null?i:[]}}class Mt extends Rt{constructor(e){super(e);je.call(this,e)}}class wr extends Rt{constructor(e){super(e);var n,u;this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class Ir{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class Rr{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class _e{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class Lt extends _e{constructor(e){super(e);var n,u;this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function Mr(t){var e;return(e=t==null?void 0:t.map(n=>new _e(n)))!=null?e:[]}function Lr(t){var e;return(e=t==null?void 0:t.map(n=>new Lt(n)))!=null?e:[]}class ye{}class $r extends ye{constructor(e){super();this.amount=new V(e==null?void 0:e.amount),this.currency=new V(e==null?void 0:e.currency)}}class qr{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:xe.CNY}}class Pr extends ye{constructor(e){super();this.min=new V(e==null?void 0:e.min),this.max=new V(e==null?void 0:e.max)}}class Or{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class Vr{constructor(e){var n,u,a,i,r,o;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!=null?o:""}}class Nr extends ye{constructor(e){super();this.result=new V(e==null?void 0:e.result),this.unit=new V(e==null?void 0:e.unit)}}class jr{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var xe=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(xe||{}),$t=(t=>(t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t))($t||{}),He=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(He||{});class Ur{constructor(e){var n,u,a,i,r,o;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!=null?o:!1}}class _r{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[],je.call(this,e)}}class xr{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class qt{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class Hr{constructor(e){var n,u;this.optCode=(n=e==null?void 0:e.optCode)!=null?n:"",this.optType=(u=e==null?void 0:e.optType)!=null?u:""}}class Ee{constructor(e){this.isHide={type:"boolean"}}}class Te extends Array{constructor(e){super()}}class x{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new qt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}x.Rules=Ee,x.RuntimeRules=Te;function N(){return N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},N.apply(this,arguments)}function Tr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function We(t){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(t)}function ve(t,e){return ve=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ve(t,e)}function Wr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Be(t,e,n){return Wr()?Be=Reflect.construct:Be=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&ve(c,r.prototype),c},Be.apply(null,arguments)}function Kr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ke(t){var e=typeof Map=="function"?new Map:void 0;return Ke=function(u){if(u===null||!Kr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Be(u,arguments,We(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ve(a,u)},Ke(t)}var kr=/%[sdj%]/g,Pt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Pt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ke(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function O(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(kr,function(o){if(o==="%%")return"%";if(u>=i)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(d){return"[Circular]"}break;default:return o}});return r}return a}function zr(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function I(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||zr(e)&&typeof t=="string"&&!t)}function Xr(t,e,n){var u=[],a=0,i=t.length;function r(o){u.push.apply(u,o),a++,a===i&&n(u)}t.forEach(function(o){e(o,r)})}function Ot(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],i):n([])}i([])}function Jr(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Vt=function(t){Tr(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Ke(Error));function Gr(t,e,n,u){if(e.first){var a=new Promise(function(v,C){var b=function(B){return u(B),B.length?C(new Vt(B,ke(B))):v()},F=Jr(t);Ot(F,n,b)});return a.catch(function(v){return v}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),o=r.length,d=0,c=[],E=new Promise(function(v,C){var b=function(m){if(c.push.apply(c,m),d++,d===o)return u(c),c.length?C(new Vt(c,ke(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var m=t[F];i.indexOf(F)!==-1?Ot(m,n,b):Xr(m,n,b)})});return E.catch(function(v){return v}),E}function Nt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function jt(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=N(N({},t[n]),u):t[n]=u}}return t}function Ut(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(O(a.messages.required,t.fullField))}function Zr(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(O(a.messages.whitespace,t.fullField))}var ze={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ne={integer:function(e){return ne.number(e)&&parseInt(e,10)===e},float:function(e){return ne.number(e)&&!ne.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!ne.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ze.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ze.url)},hex:function(e){return typeof e=="string"&&!!e.match(ze.hex)}};function Qr(t,e,n,u,a){if(t.required&&e===void 0){Ut(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?ne[r](e)||u.push(O(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(O(a.messages.types[r],t.fullField,t.type))}function Yr(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,E=null,v=typeof e=="number",C=typeof e=="string",b=Array.isArray(e);if(v?E="number":C?E="string":b&&(E="array"),!E)return!1;b&&(c=e.length),C&&(c=e.replace(d,"_").length),i?c!==t.len&&u.push(O(a.messages[E].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(O(a.messages[E].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(O(a.messages[E].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(O(a.messages[E].range,t.fullField,t.min,t.max))}var z="enum";function pr(t,e,n,u,a){t[z]=Array.isArray(t[z])?t[z]:[],t[z].indexOf(e)===-1&&u.push(O(a.messages[z],t.fullField,t[z].join(", ")))}function el(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(O(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(O(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var y={required:Ut,whitespace:Zr,type:Qr,range:Yr,enum:pr,pattern:el};function tl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();y.required(t,e,u,i,a,"string"),I(e,"string")||(y.type(t,e,u,i,a),y.range(t,e,u,i,a),y.pattern(t,e,u,i,a),t.whitespace===!0&&y.whitespace(t,e,u,i,a))}n(i)}function nl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}function ul(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function al(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}function il(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),I(e)||y.type(t,e,u,i,a)}n(i)}function rl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function ll(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function sl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();y.required(t,e,u,i,a,"array"),e!=null&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function ol(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}var cl="enum";function dl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y[cl](t,e,u,i,a)}n(i)}function fl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();y.required(t,e,u,i,a),I(e,"string")||y.pattern(t,e,u,i,a)}n(i)}function hl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"date")&&!t.required)return n();if(y.required(t,e,u,i,a),!I(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),y.type(t,o,u,i,a),o&&y.range(t,o.getTime(),u,i,a)}}n(i)}function ml(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;y.required(t,e,u,i,a,r),n(i)}function Xe(t,e,n,u,a){var i=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(I(e,i)&&!t.required)return n();y.required(t,e,u,r,a,i),I(e,i)||y.type(t,e,u,r,a)}n(r)}function gl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a)}n(i)}var ue={string:tl,method:nl,number:ul,boolean:al,regexp:il,integer:rl,float:ll,array:sl,object:ol,enum:dl,pattern:fl,date:hl,url:Xe,hex:Xe,email:Xe,required:ml,any:gl};function Je(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ge=Je();function H(t){this.rules=null,this._messages=Ge,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=jt(Je(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(m){var B,s=[],g={};function h(D){if(Array.isArray(D)){var w;s=(w=s).concat.apply(w,D)}else s.push(D)}for(B=0;B<m.length;B++)h(m[B]);s.length?g=ke(s):(s=null,g=null),o(s,g)}if(r.messages){var c=this.messages();c===Ge&&(c=Je()),jt(c,r.messages),r.messages=c}else r.messages=this.messages();var E,v,C={},b=r.keys||Object.keys(this.rules);b.forEach(function(m){E=a.rules[m],v=i[m],E.forEach(function(B){var s=B;typeof s.transform=="function"&&(i===e&&(i=N({},i)),v=i[m]=s.transform(v)),typeof s=="function"?s={validator:s}:s=N({},s),s.validator=a.getValidationMethod(s),s.field=m,s.fullField=s.fullField||m,s.type=a.getType(s),!!s.validator&&(C[m]=C[m]||[],C[m].push({rule:s,value:v,source:i,field:m}))})});var F={};return Gr(C,r,function(m,B){var s=m.rule,g=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");g=g&&(s.required||!s.required&&m.value),s.field=m.field;function h(j,A){return N(N({},A),{},{fullField:s.fullField+"."+j})}function D(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!r.suppressWarning&&A.length&&H.warning("async-validator:",A),A.length&&s.message!==void 0&&(A=[].concat(s.message)),A=A.map(Nt(s)),r.first&&A.length)return F[s.field]=1,B(A);if(!g)B(A);else{if(s.required&&!m.value)return s.message!==void 0?A=[].concat(s.message).map(Nt(s)):r.error&&(A=[r.error(s,O(r.messages.required,s.field))]),B(A);var U={};if(s.defaultField)for(var Qt in m.value)m.value.hasOwnProperty(Qt)&&(U[Qt]=s.defaultField);U=N(N({},U),m.rule.fields);for(var X in U)if(U.hasOwnProperty(X)){var Ll=Array.isArray(U[X])?U[X]:[U[X]];U[X]=Ll.map(h.bind(null,X))}var Yt=new H(U);Yt.messages(r.messages),m.rule.options&&(m.rule.options.messages=r.messages,m.rule.options.error=r.error),Yt.validate(m.value,m.rule.options||r,function(at){var J=[];A&&A.length&&J.push.apply(J,A),at&&at.length&&J.push.apply(J,at),B(J.length?J:null)})}}var w;s.asyncValidator?w=s.asyncValidator(s,m.value,D,m.source,r):s.validator&&(w=s.validator(s,m.value,D,m.source,r),w===!0?D():w===!1?D(s.message||s.field+" fails"):w instanceof Array?D(w):w instanceof Error&&D(w.message)),w&&w.then&&w.then(function(){return D()},function(j){return D(j)})},function(m){d(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ue.hasOwnProperty(e.type))throw new Error(O("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?ue.required:ue[this.getType(e)]||!1}},H.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ue[e]=n},H.warning=Pt,H.messages=Ge,H.validators=ue;const yl={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function _t(t,e={}){const n=new H(t);return n.messages(Object.assign(yl,e)),n}const xt=new mr;class q{constructor(e){var E,v,C,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Tt,this.removeSetting=Ht,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:o,name:d,setting:c}=new.target;n&&u&&a||mt(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(E=e==null?void 0:e.id)!=null?E:W(10),this.name=n,this.icon=u,this.type=(v=e==null?void 0:e.type)!=null?v:a,this.props=new x(e==null?void 0:e.props,new.target.controlName),this.controlType=(C=e==null?void 0:e.controlType)!=null?C:"base",this.setting=K(c),this.fieldType=(b=e==null?void 0:e.fieldType)!=null?b:i,this.eventKeys=K(r),this.customEvents=K(o),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return xt.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),er(this.props,e,n),this.postUpdate(e,n)}preValidate(){return se(this,null,function*(){const e=G({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return se(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:G({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=_t(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:o,caption:d,required:c,maxLength:E,options:v,encrypted:C,encryptedMode:b}=this.props;if(!n&&!i&&!r)return;const F={parentId:e,fieldType:n,controlId:u,caption:d,type:a,props:{}};switch(i&&(F.dataBind=i),o){case"datasource":case void 0:r&&(F.datasourceBind=r);break;case"custom":F.props.options=v;break}return c!==void 0&&(F.required=c),E!==void 0&&(F.maxLength=E),C!==void 0&&(F.encrypted=C),b!==void 0&&(F.encryptedMode=b),F}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:K(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}q.controlName="\u63A7\u4EF6",q.controlIcon="icon",q.controlType="control",q.controlEventKeys=[],q.controlCustomEvents=[],q.setting=[],q.__is_control__=!0,q.removeSettingItem=Ht,q.updateSettingItem=Tt;function Ht(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r;const u=typeof n!="string",a=this.setting.findIndex(o=>o.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(i=this.setting[a].showItems)==null?void 0:i.filter(o=>!n.hideItems.includes(o)):this.setting.splice(a,1),u&&!((r=this.setting[a].showItems)==null?void 0:r.length)&&this.setting.splice(a,1))})}function Tt(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class T{constructor(e){var r,o,d,c,E;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||mt(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(o=e==null?void 0:e.type)!=null?o:n,this.props=new x(e==null?void 0:e.props),this.customEvents=i,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(E=e==null?void 0:e.pageStatus)!=null?E:He.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}T.controlType="control",T.__is_control__=!0,T.controlCustomEvents=[];function Ze(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=rr(a);a.length!==i.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function El(t,e,n=!1){this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}class Qe extends Ee{constructor(e){super(e);this.dataBind={},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof V)this.dataBind={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wt extends Te{constructor(e){super(e);this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:f.getMessage("runtimeRequired",{caption:e.caption})})}}class ae extends x{constructor(e){super(e);var n,u,a,i,r,o,d,c,E,v;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(E=e==null?void 0:e.requiredMessage)!=null?E:"",this.dataBind=new V(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ae.Rules=Qe,ae.RuntimeRules=Wt;class vl extends Qe{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ze.call(this,e)}}class Kt extends q{constructor(e){super(e);this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_change","on_focus","on_blur"];class Bl extends T{constructor(e){super(e);this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}class ie extends x{constructor(e){super(e)}}function kt(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])==null?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ye(t,e){t.parent=e,kt(t,"parent")}function zt(t,e){t.forEach(n=>{Ye(n,e)})}const Xt=Symbol("targetKey");function Jt(t){var e;return(e=t[Xt])!=null?e:t}function Gt(t,e){return zt(t,e),new Proxy(t,{get(n,u,...a){return u===Xt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(ir(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return ar(a)&&Ye(a,e),r}})}function re(t,e,n,u){const a=u!=null?u:t;let i=Gt(Jt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Gt(Jt(r),a)},enumerable:!0})}const Al=1e4;class le extends q{constructor(e){super(e);this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ie(e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children),this.excludes=K(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){var u=a=>super[a];return se(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Ce(G({},e),{children:n})}}le.excludes=!1,le.childrenMaxLength=Al;class pe extends T{constructor(e){super(e);this.controlType="layout",this.props=new ie(e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children)}}class et extends x{constructor(e,n){super(n);re(this,"headers",n==null?void 0:n.headers,e)}}class Zt extends q{constructor(e){super(e);this.controlType="list",this.props=new et(this,e==null?void 0:e.props)}validate(e,n){var u=a=>super[a];return se(this,null,function*(){return yield u("validate").call(this,e),yield Promise.all(this.props.headers.map(i=>i.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return Ce(G({},e),{props:Ce(G({},this.props),{headers:n})})}}Zt.controlFieldType=R.LIST;class Cl extends T{constructor(e){super(e);this.controlType="list",this.props=new et(this,e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class tt extends Ee{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Ae extends x{constructor(e){super(e);var n,u,a,i,r;this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new Pe(e==null?void 0:e.autoWidth),this.dataBind=new V(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}Ae.Rules=tt;class Fl extends tt{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Ze.call(this,e)}}class Dl extends q{constructor(e){super(e);this.controlType="column",this.props=new Ae(e==null?void 0:e.props)}}class bl extends T{constructor(e){super(e);this.controlType="column",this.props=new Ae(e==null?void 0:e.props)}}class nt extends ie{constructor(e){super(e);this.dataBind=new V(e==null?void 0:e.dataBind)}}class Sl extends le{constructor(e){super(e);this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class wl extends pe{constructor(e){super(e);this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class ut extends ie{constructor(e){super(e)}}class Il extends le{constructor(e){super(e);this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}class Rl extends pe{constructor(e){super(e);this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}function Ml(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}l.AMOUNT_TYPE=xe,l.AddressValue=Vr,l.AmountDataBind=$r,l.AmountValue=qr,l.AutoWidth=Pe,l.BaseControlProperty=ae,l.BaseControlPropertyRules=Qe,l.BaseControlPropertyRuntimeRules=Wt,l.BaseStyle=qt,l.COMMON_SETTING_TYPE=$t,l.CalcDataBind=Nr,l.CalcValue=jr,l.ColumnControlProperty=Ae,l.ColumnControlPropertyRules=tt,l.ColumnOptionAndDataSourcePropertyRules=Fl,l.CustomAttributeItem=Ue,l.CustomPermissionItem=xr,l.DataBind=V,l.DataSourceBind=te,l.DataSourceDataSetValue=wt,l.DataSourceOrderItem=Ne,l.DataSourceParamItem=Cr,l.DataStorageDoc=yr,l.DesignerColumnControl=Dl,l.DesignerControl=q,l.DesignerFormControl=Kt,l.DesignerLayoutControl=le,l.DesignerListControl=Zt,l.DesignerSearchControl=Sl,l.DesignerWrapControl=Il,l.DisplayBoListItem=Ve,l.FieldBindItem=Ft,l.FieldFilterCondition=ge,l.FieldFilterConditions=ee,l.FillBackBind=wr,l.FillPayloadBind=Mt,l.FormBind=me,l.FormSelectBind=Er,l.ImageOptionSetting=Lt,l.JoinRelation=Ar,l.Language=Ir,l.LayoutControlProperty=ie,l.LeftVariable=bt,l.LinkOperationOption=Dr,l.ListBind=vr,l.ListControlProperty=et,l.MetaAutoWidth=gr,l.MetaWidth=he,l.MultistageFillingItem=St,l.ObjectDataBind=ye,l.OperationItem=Ur,l.OptObject=Hr,l.OptionAndDataSourcePropertyRules=vl,l.OptionSetting=_e,l.OrganizationDataSourceBind=br,l.PAGE_STATUS=He,l.Property=x,l.PropertyRules=Ee,l.PropertyRuntimeRules=Te,l.RangeDataBind=Pr,l.RangeDateValue=Or,l.RegisterControls=fe,l.RegularRules=Rr,l.RightVariable=Oe,l.RuntimeColumnControl=bl,l.RuntimeControl=T,l.RuntimeFormControl=Bl,l.RuntimeLayoutControl=pe,l.RuntimeListControl=Cl,l.RuntimeSearchControl=wl,l.RuntimeWrapControl=Rl,l.SearchControlProperty=nt,l.SelectedContentConfig=Fr,l.SubListItem=Dt,l.SubListPageConfig=Br,l.SuperDataSourceBind=It,l.TreeDataSourceBind=Sr,l.ViewOperationItem=_r,l.WrapControlProperty=ut,l.controlHooksEmitter=xt,l.createValidator=_t,l.defineArrayParent=zt,l.defineControlArrayToProperty=re,l.defineParent=Ye,l.initImageOptions=Lr,l.initLinkOperationRules=Ml,l.initOptionAndDataSourceRules=Ze,l.initOptions=Mr,l.initSuperDataSourceRules=El,l.setPropertyDontEnum=kt,Object.defineProperty(l,"__esModule",{value:!0})});
|
|
@@ -9,26 +9,12 @@ declare class PropertyRuntimeRules extends Array<RuleItem> {
|
|
|
9
9
|
readonly [index: number]: RuleItem;
|
|
10
10
|
constructor(props: Property);
|
|
11
11
|
}
|
|
12
|
-
/**
|
|
13
|
-
* 全局属性
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
12
|
declare class Property {
|
|
17
13
|
static readonly Rules: typeof PropertyRules;
|
|
18
14
|
static readonly RuntimeRules: typeof PropertyRuntimeRules;
|
|
19
|
-
/**
|
|
20
|
-
* 是否隐藏
|
|
21
|
-
* @public
|
|
22
|
-
* @defaultValue false
|
|
23
|
-
*/
|
|
24
15
|
isHide: boolean;
|
|
25
16
|
className?: string[];
|
|
26
17
|
style: BaseStyle;
|
|
27
|
-
/**
|
|
28
|
-
* 标题
|
|
29
|
-
* @public
|
|
30
|
-
* @defaultValue ''
|
|
31
|
-
*/
|
|
32
18
|
caption: string;
|
|
33
19
|
constructor(props?: Partial<Property>, caption?: string);
|
|
34
20
|
}
|
|
@@ -14,10 +14,6 @@ declare class BaseControlPropertyRules extends PropertyRules {
|
|
|
14
14
|
declare class BaseControlPropertyRuntimeRules extends PropertyRuntimeRules {
|
|
15
15
|
constructor(props: BaseControlProperty);
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* 表单控件公共属性
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
17
|
declare class BaseControlProperty extends Property {
|
|
22
18
|
static readonly Rules: typeof BaseControlPropertyRules;
|
|
23
19
|
static readonly RuntimeRules: typeof BaseControlPropertyRuntimeRules;
|
|
@@ -23,6 +23,12 @@ export declare class DataBind {
|
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
25
|
fieldType: string;
|
|
26
|
+
/**
|
|
27
|
+
* 表别名
|
|
28
|
+
* @defaultValue undefined
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
aliasCode?: string;
|
|
26
32
|
constructor(props?: Partial<DataBind>);
|
|
27
33
|
}
|
|
28
34
|
export declare class AutoWidth {
|
|
@@ -56,15 +62,7 @@ export declare class FormSelectBind extends FormBind {
|
|
|
56
62
|
primaryControlId: string;
|
|
57
63
|
constructor(props?: Partial<FormSelectBind>);
|
|
58
64
|
}
|
|
59
|
-
/**
|
|
60
|
-
* 列表绑定字段项
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
65
|
declare class ListBindHeaderItem {
|
|
64
|
-
/**
|
|
65
|
-
* 字段
|
|
66
|
-
* @defaultValue ''
|
|
67
|
-
*/
|
|
68
66
|
fieldCode: string;
|
|
69
67
|
constructor(props?: Partial<ListBindHeaderItem>);
|
|
70
68
|
}
|
|
@@ -115,84 +113,40 @@ export declare class LeftVariable {
|
|
|
115
113
|
constructor(props?: Partial<LeftVariable>);
|
|
116
114
|
}
|
|
117
115
|
export declare class RightVariable {
|
|
118
|
-
type: 'form' | 'system' | 'custom'
|
|
116
|
+
type: 'form' | 'system' | 'custom';
|
|
119
117
|
value: string[];
|
|
120
118
|
displayBos: Record<string, unknown>[];
|
|
121
119
|
constructor(props?: Partial<RightVariable>);
|
|
122
120
|
}
|
|
123
|
-
/**
|
|
124
|
-
* 连接符条件
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
121
|
export declare class FieldFilterConditions {
|
|
128
|
-
/**
|
|
129
|
-
* 编号
|
|
130
|
-
* @defaultValue ''
|
|
131
|
-
*/
|
|
132
122
|
id: string;
|
|
133
|
-
/**
|
|
134
|
-
* 规则编号
|
|
135
|
-
* @defaultValue Timestamp
|
|
136
|
-
*/
|
|
137
123
|
ruleId: number;
|
|
138
|
-
/**
|
|
139
|
-
* 类型:连接符条件
|
|
140
|
-
* @defaultValue 'conditions'
|
|
141
|
-
*/
|
|
142
124
|
type: string;
|
|
143
|
-
/**
|
|
144
|
-
* 深度
|
|
145
|
-
* @defaultValue 0
|
|
146
|
-
*/
|
|
147
125
|
level: number;
|
|
148
|
-
/**
|
|
149
|
-
* 连接符值
|
|
150
|
-
* @defaultValue 'and'
|
|
151
|
-
*/
|
|
152
126
|
value: 'and' | 'or';
|
|
153
|
-
/**
|
|
154
|
-
* 包含子项
|
|
155
|
-
* @defaultValue []
|
|
156
|
-
*/
|
|
157
127
|
children: Array<FieldFilterCondition | FieldFilterConditions>;
|
|
158
128
|
constructor(props?: Partial<FieldFilterConditions>);
|
|
159
129
|
}
|
|
160
|
-
/**
|
|
161
|
-
* 字段过滤条件
|
|
162
|
-
* @public
|
|
163
|
-
*/
|
|
164
130
|
export declare class FieldFilterCondition {
|
|
165
|
-
/**
|
|
166
|
-
* 唯一编号
|
|
167
|
-
* @defaultValue ''
|
|
168
|
-
*/
|
|
169
131
|
id: string;
|
|
170
|
-
/**
|
|
171
|
-
* 规则编号
|
|
172
|
-
* @defaultValue Timestamp
|
|
173
|
-
*/
|
|
174
132
|
ruleId: number;
|
|
175
|
-
/**
|
|
176
|
-
* 类型
|
|
177
|
-
* @defaultValue 'condition'
|
|
178
|
-
*/
|
|
179
133
|
type: string;
|
|
180
|
-
/**
|
|
181
|
-
* 符号
|
|
182
|
-
*/
|
|
183
134
|
symbol: string;
|
|
184
135
|
checked: boolean;
|
|
185
136
|
describe: string;
|
|
186
|
-
/**
|
|
187
|
-
* 左值
|
|
188
|
-
*/
|
|
189
137
|
leftVariableBo: LeftVariable;
|
|
190
|
-
/**
|
|
191
|
-
* 右值
|
|
192
|
-
*/
|
|
193
138
|
rightVariableBo: RightVariable;
|
|
194
139
|
constructor(props?: Partial<FieldFilterCondition>);
|
|
195
140
|
}
|
|
141
|
+
export declare class JoinRelation {
|
|
142
|
+
aliasCode: string;
|
|
143
|
+
datasourceBind: DataSourceBind;
|
|
144
|
+
relationFields: {
|
|
145
|
+
main_field_code: string;
|
|
146
|
+
join_field_code: string;
|
|
147
|
+
}[];
|
|
148
|
+
constructor(props?: Partial<JoinRelation>);
|
|
149
|
+
}
|
|
196
150
|
/**
|
|
197
151
|
* 数据填充项
|
|
198
152
|
* @public
|
|
@@ -224,41 +178,14 @@ export declare class MultistageFillingItem {
|
|
|
224
178
|
propName: string;
|
|
225
179
|
constructor(props: Partial<MultistageFillingItem>);
|
|
226
180
|
}
|
|
227
|
-
/**
|
|
228
|
-
* 显示项
|
|
229
|
-
* @public
|
|
230
|
-
*/
|
|
231
181
|
export declare class DisplayBoListItem {
|
|
232
|
-
/**
|
|
233
|
-
* 显示项类型:字段 | 符号
|
|
234
|
-
* @defaultValue 'FIELD'
|
|
235
|
-
* @public
|
|
236
|
-
*/
|
|
237
182
|
type: 'FIELD' | 'MOSAICS';
|
|
238
|
-
/**
|
|
239
|
-
* 值
|
|
240
|
-
*/
|
|
241
183
|
value: string;
|
|
242
|
-
/**
|
|
243
|
-
* 字段数据类型
|
|
244
|
-
*/
|
|
245
184
|
fieldType?: FieldTypes;
|
|
246
185
|
constructor(props?: Partial<DisplayBoListItem>);
|
|
247
186
|
}
|
|
248
|
-
/**
|
|
249
|
-
* 数据源排序项
|
|
250
|
-
* @public
|
|
251
|
-
*/
|
|
252
187
|
export declare class DataSourceOrderItem {
|
|
253
|
-
/**
|
|
254
|
-
* 列名
|
|
255
|
-
* @defaultValue ''
|
|
256
|
-
*/
|
|
257
188
|
columnName: string;
|
|
258
|
-
/**
|
|
259
|
-
* 倒序
|
|
260
|
-
* @defaultValue false
|
|
261
|
-
*/
|
|
262
189
|
desc: boolean;
|
|
263
190
|
constructor(props: Partial<DataSourceOrderItem>);
|
|
264
191
|
}
|
|
@@ -302,12 +229,6 @@ export declare class DataSourceBind {
|
|
|
302
229
|
* @public
|
|
303
230
|
*/
|
|
304
231
|
displayBoList: DisplayBoListItem[];
|
|
305
|
-
/**
|
|
306
|
-
* 查询关键字参数映射
|
|
307
|
-
* @defaultValue ''
|
|
308
|
-
* @public
|
|
309
|
-
*/
|
|
310
|
-
keywordMapping?: string;
|
|
311
232
|
/**
|
|
312
233
|
* 绑定服务
|
|
313
234
|
* @defaultValue ''
|
|
@@ -476,25 +397,9 @@ export declare class Language {
|
|
|
476
397
|
ja: string;
|
|
477
398
|
constructor(props?: Partial<Language>);
|
|
478
399
|
}
|
|
479
|
-
/**
|
|
480
|
-
* 正则校验
|
|
481
|
-
* @public
|
|
482
|
-
*/
|
|
483
400
|
export declare class RegularRules {
|
|
484
|
-
/**
|
|
485
|
-
* 内置模版
|
|
486
|
-
* @defaultValue ''
|
|
487
|
-
*/
|
|
488
401
|
stencilName: string;
|
|
489
|
-
/**
|
|
490
|
-
* 正则表达式
|
|
491
|
-
* @defaultValue ''
|
|
492
|
-
*/
|
|
493
402
|
expression: string;
|
|
494
|
-
/**
|
|
495
|
-
* 校验错误提示信息
|
|
496
|
-
* @defaultValue ''
|
|
497
|
-
*/
|
|
498
403
|
errMessage: string;
|
|
499
404
|
constructor(props?: Partial<RegularRules>);
|
|
500
405
|
}
|
|
@@ -525,146 +430,45 @@ export declare class ImageOptionSetting extends OptionSetting {
|
|
|
525
430
|
}
|
|
526
431
|
export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
|
|
527
432
|
export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
|
|
528
|
-
/**
|
|
529
|
-
* 对象类型数据绑定配置
|
|
530
|
-
* @public
|
|
531
|
-
*/
|
|
532
433
|
export declare class ObjectDataBind {
|
|
533
|
-
/**
|
|
534
|
-
* 绑定配置
|
|
535
|
-
*/
|
|
536
434
|
[key: string]: DataBind;
|
|
537
435
|
}
|
|
538
|
-
/**
|
|
539
|
-
* 金额控件数据绑定配置
|
|
540
|
-
* @public
|
|
541
|
-
*/
|
|
542
436
|
export declare class AmountDataBind extends ObjectDataBind {
|
|
543
|
-
/**
|
|
544
|
-
* 金额字段绑定配置
|
|
545
|
-
*/
|
|
546
437
|
amount: DataBind;
|
|
547
|
-
/**
|
|
548
|
-
* 币种字段绑定配置
|
|
549
|
-
*/
|
|
550
438
|
currency: DataBind;
|
|
551
439
|
constructor(props?: Partial<AmountDataBind>);
|
|
552
440
|
}
|
|
553
|
-
/**
|
|
554
|
-
* 金额控件值
|
|
555
|
-
* @public
|
|
556
|
-
*/
|
|
557
441
|
export declare class AmountValue {
|
|
558
|
-
/**
|
|
559
|
-
* 金额值
|
|
560
|
-
* @defaultValue ''
|
|
561
|
-
*/
|
|
562
442
|
amount: number | '';
|
|
563
|
-
/**
|
|
564
|
-
* 货币值
|
|
565
|
-
* @defaultValue 'CNY'
|
|
566
|
-
*/
|
|
567
443
|
currency: AMOUNT_TYPE;
|
|
568
444
|
constructor(props?: Partial<AmountValue>);
|
|
569
445
|
}
|
|
570
|
-
/**
|
|
571
|
-
* 日期区间数据绑定项
|
|
572
|
-
* @public
|
|
573
|
-
*/
|
|
574
446
|
export declare class RangeDataBind extends ObjectDataBind {
|
|
575
|
-
/**
|
|
576
|
-
* 开始日期字段绑定项
|
|
577
|
-
*/
|
|
578
447
|
min: DataBind;
|
|
579
|
-
/**
|
|
580
|
-
* 结束日期字段绑定项
|
|
581
|
-
*/
|
|
582
448
|
max: DataBind;
|
|
583
449
|
constructor(props?: Partial<AmountDataBind>);
|
|
584
450
|
}
|
|
585
|
-
/**
|
|
586
|
-
* 日期区间值
|
|
587
|
-
* @public
|
|
588
|
-
*/
|
|
589
451
|
export declare class RangeDateValue {
|
|
590
|
-
/**
|
|
591
|
-
* 开始日期值
|
|
592
|
-
* @defaultValue ''
|
|
593
|
-
*/
|
|
594
452
|
min: string;
|
|
595
|
-
/**
|
|
596
|
-
* 结束日期值
|
|
597
|
-
* @defaultValue ''
|
|
598
|
-
*/
|
|
599
453
|
max: string;
|
|
600
454
|
constructor(props?: Partial<RangeDateValue>);
|
|
601
455
|
}
|
|
602
|
-
/**
|
|
603
|
-
* 地址值
|
|
604
|
-
* @public
|
|
605
|
-
*/
|
|
606
456
|
export declare class AddressValue {
|
|
607
|
-
/**
|
|
608
|
-
* 市编码
|
|
609
|
-
* @defaultValue ''
|
|
610
|
-
*/
|
|
611
457
|
city?: string;
|
|
612
|
-
/**
|
|
613
|
-
* 市显示文字
|
|
614
|
-
* @defaultValue ''
|
|
615
|
-
*/
|
|
616
458
|
cityDisplay?: string;
|
|
617
|
-
/**
|
|
618
|
-
* 区编码
|
|
619
|
-
* @defaultValue ''
|
|
620
|
-
*/
|
|
621
459
|
district?: string;
|
|
622
|
-
/**
|
|
623
|
-
* 区显示文字
|
|
624
|
-
* @defaultValue ''
|
|
625
|
-
*/
|
|
626
460
|
districtDisplay?: string;
|
|
627
|
-
/**
|
|
628
|
-
* 省编码
|
|
629
|
-
* @defaultValue ''
|
|
630
|
-
*/
|
|
631
461
|
province?: string;
|
|
632
|
-
/**
|
|
633
|
-
* 省显示文字
|
|
634
|
-
* @defaultValue ''
|
|
635
|
-
*/
|
|
636
462
|
provinceDisplay?: string;
|
|
637
463
|
constructor(props?: Partial<AddressValue>);
|
|
638
464
|
}
|
|
639
|
-
/**
|
|
640
|
-
* 计算公式数据绑定项
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
465
|
export declare class CalcDataBind extends ObjectDataBind {
|
|
644
|
-
/**
|
|
645
|
-
* 计算结果字段绑定项
|
|
646
|
-
*/
|
|
647
466
|
result: DataBind;
|
|
648
|
-
/**
|
|
649
|
-
* 单位字段绑定项
|
|
650
|
-
*/
|
|
651
467
|
unit: DataBind;
|
|
652
468
|
constructor(props?: Partial<CalcDataBind>);
|
|
653
469
|
}
|
|
654
|
-
/**
|
|
655
|
-
* 计算公式值
|
|
656
|
-
* @public
|
|
657
|
-
*/
|
|
658
470
|
export declare class CalcValue {
|
|
659
|
-
/**
|
|
660
|
-
* 计算结果值
|
|
661
|
-
* @defaultValue 0
|
|
662
|
-
*/
|
|
663
471
|
result: number | 0;
|
|
664
|
-
/**
|
|
665
|
-
* 单位
|
|
666
|
-
* @defaultValue ''
|
|
667
|
-
*/
|
|
668
472
|
unit: string;
|
|
669
473
|
constructor(props?: Partial<CalcValue>);
|
|
670
474
|
}
|
|
@@ -810,3 +614,18 @@ export declare class BaseStyle {
|
|
|
810
614
|
heightConfig: 'px' | '%' | 'fill' | 'hug';
|
|
811
615
|
constructor(props?: Partial<BaseStyle>);
|
|
812
616
|
}
|
|
617
|
+
export declare class OptObject {
|
|
618
|
+
/**
|
|
619
|
+
* 操作项编码
|
|
620
|
+
* @defaultValue ''
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
optCode: string;
|
|
624
|
+
/**
|
|
625
|
+
* 操作项类型
|
|
626
|
+
* @defaultValue ''
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
optType: string;
|
|
630
|
+
constructor(props?: Partial<OptObject>);
|
|
631
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0-alpha.10",
|
|
4
4
|
"description": "model engine core",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-shared": "2.
|
|
29
|
+
"@byteluck-fe/model-driven-shared": "2.6.0-alpha.8",
|
|
30
30
|
"async-validator": "3.5.1",
|
|
31
31
|
"tslib": "^2.1.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "93d4c244b81f0ee60fa48c93fb92660a0db8f8cc"
|
|
34
34
|
}
|