@byteluck-fe/model-driven-shared 2.8.5-beta.1 → 2.9.0-alpha.2
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/enum.js +33 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/enum.d.ts +42 -1
- package/package.json +2 -2
package/dist/esm/enum.js
CHANGED
|
@@ -21,6 +21,27 @@ export var CONTROL_BASE_TYPE;
|
|
|
21
21
|
CONTROL_BASE_TYPE["LIST"] = "list";
|
|
22
22
|
CONTROL_BASE_TYPE["SEARCH"] = "search";
|
|
23
23
|
})(CONTROL_BASE_TYPE || (CONTROL_BASE_TYPE = {}));
|
|
24
|
+
export var FORM_TYPE;
|
|
25
|
+
(function(FORM_TYPE) {
|
|
26
|
+
/**
|
|
27
|
+
* 表单
|
|
28
|
+
* */ FORM_TYPE[FORM_TYPE["FORM"] = 0] = "FORM";
|
|
29
|
+
/**
|
|
30
|
+
* 列表
|
|
31
|
+
* */ FORM_TYPE[FORM_TYPE["LIST"] = 1] = "LIST";
|
|
32
|
+
/**
|
|
33
|
+
* 报表
|
|
34
|
+
* */ FORM_TYPE[FORM_TYPE["REPORT"] = 2] = "REPORT";
|
|
35
|
+
/**
|
|
36
|
+
* 仪表盘
|
|
37
|
+
* */ FORM_TYPE[FORM_TYPE["DASHBOARD"] = 3] = "DASHBOARD";
|
|
38
|
+
/**
|
|
39
|
+
* Vue页面
|
|
40
|
+
* */ FORM_TYPE[FORM_TYPE["VUE"] = 4] = "VUE";
|
|
41
|
+
/**
|
|
42
|
+
* 自由页面
|
|
43
|
+
* */ FORM_TYPE[FORM_TYPE["FREE_PAGE"] = 5] = "FREE_PAGE";
|
|
44
|
+
})(FORM_TYPE || (FORM_TYPE = {}));
|
|
24
45
|
export var CONTROL_TYPE;
|
|
25
46
|
(function(CONTROL_TYPE) {
|
|
26
47
|
// 基础控件
|
|
@@ -202,6 +223,15 @@ export var FieldTypes;
|
|
|
202
223
|
/**
|
|
203
224
|
* 加密字段
|
|
204
225
|
* */ FieldTypes["ENCRYPTED_FIELD"] = "encrypted_field";
|
|
226
|
+
/**
|
|
227
|
+
* 逻辑
|
|
228
|
+
* */ FieldTypes["BOOLEAN"] = "boolean";
|
|
229
|
+
/**
|
|
230
|
+
* 模型
|
|
231
|
+
* */ FieldTypes["MODEL"] = "model";
|
|
232
|
+
/**
|
|
233
|
+
* 模型集合
|
|
234
|
+
* */ FieldTypes["MODEL_SET"] = "model_set";
|
|
205
235
|
})(FieldTypes || (FieldTypes = {}));
|
|
206
236
|
var _obj;
|
|
207
237
|
export var FieldTypeToColumnType = (_obj = {}, _define_property(_obj, "array", "array-column"), _define_property(_obj, "auto_number", "auto-number-column"), _define_property(_obj, "decimal", "decimal-column"), _define_property(_obj, "department", "department-column"), _define_property(_obj, "file", "file-column"), _define_property(_obj, "image", "image-column"), _define_property(_obj, "location", "location-column"), _define_property(_obj, "people", "employee-column"), _define_property(_obj, "text", "text-column"), _define_property(_obj, "timescope", "timescope-column"), _define_property(_obj, "timestamp", "timestamp-column"), _define_property(_obj, "varchar", "varchar-column"), _define_property(_obj, "relation", "varchar-column"), _obj);
|
|
@@ -226,3 +256,6 @@ export var DateType;
|
|
|
226
256
|
* 年月日时分秒
|
|
227
257
|
* */ DateType["DATETIME"] = "datetime";
|
|
228
258
|
})(DateType || (DateType = {}));
|
|
259
|
+
export var DESIGNER_SLOT = {
|
|
260
|
+
DEFAULT: "default"
|
|
261
|
+
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var te=(n,F,m)=>new Promise((S,D)=>{var b=B=>{try{A(m.next(B))}catch(h){D(h)}},I=B=>{try{A(m.throw(B))}catch(h){D(h)}},A=B=>B.done?S(B.value):Promise.resolve(B.value).then(b,I);A((m=m.apply(n,F)).next())});(function(n,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(n=typeof globalThis!="undefined"?globalThis:n||self,F(n.modelDrivenShared={}))})(this,function(n){"use strict";class F{}class m{}var S="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",A="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",B="{caption}\u5FC5\u586B",h="\u8BF7\u8F93\u5165\u6807\u9898",ae="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ne="\u8BF7\u8F93\u5165\u884C\u6807\u9898",re="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",ie="\u8BF7\u7ED1\u5B9A\u5217\u8868",oe="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ce="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ee="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Be="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",pe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",me="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",de="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",he="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ve="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ce="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",De="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ge="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fe="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Se="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",be="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ie="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ye="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Me="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$e="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",we="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Le="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_e="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Re="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ne="\u8BF7\u9009\u62E9\u7701",Ue="\u8BF7\u9009\u62E9\u5E02",Ve="\u8BF7\u9009\u62E9\u533A",ke="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Te="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Pe="\u8BF7\u8F93\u5165\u5217\u5BBD",ze="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",je="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ge="\u8BF7\u9009\u62E9\u63A7\u4EF6",xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ke="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",He="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",We="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Je="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qe="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uu="\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",au="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ru="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Eu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Fu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",mu="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",du={isNotNumber:S,isNotString:D,isNotObject:b,isNotArray:I,isNotBoolean:A,runtimeRequired:B,pleaseEnterCaption:h,pleaseEnterCaptionTip:ae,pleaseEnterRowCaption:ne,pleaseEnterPlaceholder:re,pleaseEnterFieldCode:le,pleaseEnterForm:se,pleaseEnterList:ie,pleaseEnterProcess:oe,pleaseEnterLabel:ce,pleaseEnterValue:Ee,bizKeyNotBindFiled:Be,pleaseSelectOneField:pe,pleaseEnterNumberRange:Fe,pleaseEnterAValueGreaterThanMin:me,pleaseEnterAValueLessThanMax:de,numberRangeSetError:Ae,stringRangeError:he,attachmentMaxSize:ve,pleaseEnterTotalScoreSetting:Ce,theTotalScoreMustNotBeLessThan1:De,scoreDefaultValueRange:ge,attachmentLimitError:fe,PleaseReselectTheOptionalQuantity:Se,TheMaximumLengthIsGreaterThanTheMinimumLength:be,TheMinimumLengthIsGreaterThanTheMaximumLength:Ie,PleaseSelectTheCorrectOptionSettings:ye,optionIdIsRepeat:Me,optionIsRequired:$e,pleaseEnterDataCode:we,pleaseEnterValueFieldCode:Le,pleaseEnterSvcCode:_e,pleaseBindAtLeastOneDisplayValue:Re,pleaseSelectProvince:Ne,pleaseSelectCity:Ue,pleaseSelectDistrict:Ve,limitRowsCannotBeLessThan0:ke,TheNumberOfRowsCannotBeLessThanMinRows:Te,pleaseEnterColumnWidth:Pe,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ze,pleaseCompleteAllRulesAndConditions:je,pleaseSelectControl:Ge,pleaseSelectAtLeastOneColumn:xe,pleaseSelectFillBackMode:Ke,pleaseSelectDashboard:He,rootNodeIsRequired:We,theViewNameCannotBeEmpty:qe,pleaseSelectOcrType:Je,pleaseSelectAtLeastOneFieldToFillIn:Xe,pleaseChooseAtLeastOne:Oe,pleaseEnterButtonContent:Qe,pleaseEnterDataCodeInDataSetting:Ze,pleaseEnterValueFieldCodeInDataSetting:Ye,pleaseEnterSvcCodeInDataSetting:eu,pleaseBindAtLeastOneDisplayValueInDataSetting:uu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:au,pleaseEnter:nu,pleaseEnterWatermark:ru,pleaseEnterFileName:lu,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:iu,pleaseAssignExternal:ou,pleaseEnterAliasCode:cu,pleaseSelectDataCode:Eu,pleaseSelectSvcCode:Bu,pleaseSelectJoinFieldCode:pu,pleaseSelectMainFieldCode:Fu,pleaseSelectSortFieldCode:mu},Au="Please enter a number",hu="Please enter a string",vu="Please enter an object",Cu="Please enter an array",Du="Please enter a boolean",gu="{caption} Required",fu="Please enter the title",Su="Please enter the bubble prompt",bu="Please enter the row title",Iu="Please enter the prompt text",yu="Please bind data items",Mu="Please bind the form",$u="Please bind the list",wu="Please bind the process",Lu="Please enter the displayed value",_u="Please enter the stored value",Ru="The document number is not bound to the data item",Nu="Please select at least one display field",Uu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Vu="Please enter a value greater than or equal to {min}",ku="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",Pu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",zu="The attachment size must be between 0MB and 1000MB",ju="Please fill in the total score setting",Gu="The total score cannot be less than 1",xu="The default value must be between {min} and {max}",Ku="The number of attachments uploaded must be between {min} and {max}",Hu="Please re-select the optional quantity",Wu="The maximum length of the control must be greater than the minimum length",qu="The minimum length of the control must be less than the maximum length",Ju="Please select the correct option setting",Xu="Option ID cannot be repeated",Ou="Please enter at least one option",Qu="Please bind the data source",Zu="Please bind the stored value",Yu="Please bind the service",et="At least one display value must be bound",ut="Please select a province",tt="Please select a city",at="Please select a district",nt="The minimum number of lines to fill in cannot be less than 0",rt="The number of rows cannot be less than {min} rows",lt="Please enter the column width",st="Please set the logical relationship of all rule conditions",it="Please complete all rules and conditions",ot="please select control",ct="Please select the dashboard",Et="View name cannot be empty",Bt="Please select recognition type",pt="Please select at least one field to fill in",Ft="Please select at least one",mt="Please enter the button title",dt="Please bind the business model in the data settings",At="Please bind storage values in data settings",ht="Please bind the service in the data settings",vt="Please bind at least one display value in the data settings",Ct="Please select the root node in the data settings",Dt="Please enter the maximum height",gt="The input content cannot be empty",ft="Watermark cannot be empty",St="File name cannot be empty",bt="Please upload at least one printing template!\uFF01",It="Please select a specific business department",yt="Please select a specified external organization",Mt="Please enter a sub table alias",$t="Please select the associated table to set the business model",wt="Please select the association table to set the binding service",Lt="Select associated sub table fields",_t="Please select the associated main table field",Rt="Please select the sort field",Nt={isNotNumber:Au,isNotString:hu,isNotObject:vu,isNotArray:Cu,isNotBoolean:Du,runtimeRequired:gu,pleaseEnterCaption:fu,pleaseEnterCaptionTip:Su,pleaseEnterRowCaption:bu,pleaseEnterPlaceholder:Iu,pleaseEnterFieldCode:yu,pleaseEnterForm:Mu,pleaseEnterList:$u,pleaseEnterProcess:wu,pleaseEnterLabel:Lu,pleaseEnterValue:_u,bizKeyNotBindFiled:Ru,pleaseSelectOneField:Nu,pleaseEnterNumberRange:Uu,pleaseEnterAValueGreaterThanMin:Vu,pleaseEnterAValueLessThanMax:ku,numberRangeSetError:Tu,stringRangeError:Pu,attachmentMaxSize:zu,pleaseEnterTotalScoreSetting:ju,theTotalScoreMustNotBeLessThan1:Gu,scoreDefaultValueRange:xu,attachmentLimitError:Ku,PleaseReselectTheOptionalQuantity:Hu,TheMaximumLengthIsGreaterThanTheMinimumLength:Wu,TheMinimumLengthIsGreaterThanTheMaximumLength:qu,PleaseSelectTheCorrectOptionSettings:Ju,optionIdIsRepeat:Xu,optionIsRequired:Ou,pleaseEnterDataCode:Qu,pleaseEnterValueFieldCode:Zu,pleaseEnterSvcCode:Yu,pleaseBindAtLeastOneDisplayValue:et,pleaseSelectProvince:ut,pleaseSelectCity:tt,pleaseSelectDistrict:at,limitRowsCannotBeLessThan0:nt,TheNumberOfRowsCannotBeLessThanMinRows:rt,pleaseEnterColumnWidth:lt,pleaseSetTheLogicalRelationshipOfAllRuleConditions:st,pleaseCompleteAllRulesAndConditions:it,pleaseSelectControl:ot,pleaseSelectDashboard:ct,theViewNameCannotBeEmpty:Et,pleaseSelectOcrType:Bt,pleaseSelectAtLeastOneFieldToFillIn:pt,pleaseChooseAtLeastOne:Ft,pleaseEnterButtonContent:mt,pleaseEnterDataCodeInDataSetting:dt,pleaseEnterValueFieldCodeInDataSetting:At,pleaseEnterSvcCodeInDataSetting:ht,pleaseBindAtLeastOneDisplayValueInDataSetting:vt,rootNodeIsRequiredInDataSetting:Ct,pleaseEnterMaxHeight:Dt,pleaseEnter:gt,pleaseEnterWatermark:ft,pleaseEnterFileName:St,pleaseUploadAtLeastOnePrintTemplate:bt,pleaseAssignBusiness:It,pleaseAssignExternal:yt,pleaseEnterAliasCode:Mt,pleaseSelectDataCode:$t,pleaseSelectSvcCode:wt,pleaseSelectJoinFieldCode:Lt,pleaseSelectMainFieldCode:_t,pleaseSelectSortFieldCode:Rt},Ut="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="{caption}\u5FC5\u9808",jt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ot="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ea="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ta="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",aa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ra="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",la="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ca="\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",Ea="\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",Ba="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ma="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ha="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",va="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ca="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Sa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ya="please select control",Ma="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wa="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",La="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",za="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ja="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ga="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Ka="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Oa="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za={isNotNumber:Ut,isNotString:Vt,isNotObject:kt,isNotArray:Tt,isNotBoolean:Pt,runtimeRequired:zt,pleaseEnterCaption:jt,pleaseEnterCaptionTip:Gt,pleaseEnterRowCaption:xt,pleaseEnterPlaceholder:Kt,pleaseEnterFieldCode:Ht,pleaseEnterForm:Wt,pleaseEnterList:qt,pleaseEnterProcess:Jt,pleaseEnterLabel:Xt,pleaseEnterValue:Ot,bizKeyNotBindFiled:Qt,pleaseSelectOneField:Zt,pleaseEnterNumberRange:Yt,pleaseEnterAValueGreaterThanMin:ea,pleaseEnterAValueLessThanMax:ua,numberRangeSetError:ta,stringRangeError:aa,attachmentMaxSize:na,pleaseEnterTotalScoreSetting:ra,theTotalScoreMustNotBeLessThan1:la,scoreDefaultValueRange:sa,attachmentLimitError:ia,PleaseReselectTheOptionalQuantity:oa,TheMaximumLengthIsGreaterThanTheMinimumLength:ca,TheMinimumLengthIsGreaterThanTheMaximumLength:Ea,PleaseSelectTheCorrectOptionSettings:Ba,optionIdIsRepeat:pa,optionIsRequired:Fa,pleaseEnterDataCode:ma,pleaseEnterValueFieldCode:da,pleaseEnterSvcCode:Aa,pleaseBindAtLeastOneDisplayValue:ha,pleaseSelectProvince:va,pleaseSelectCity:Ca,pleaseSelectDistrict:Da,limitRowsCannotBeLessThan0:ga,TheNumberOfRowsCannotBeLessThanMinRows:fa,pleaseEnterColumnWidth:Sa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ba,pleaseCompleteAllRulesAndConditions:Ia,pleaseSelectControl:ya,pleaseSelectDashboard:Ma,theViewNameCannotBeEmpty:$a,pleaseSelectOcrType:wa,pleaseSelectAtLeastOneFieldToFillIn:La,pleaseChooseAtLeastOne:_a,pleaseEnterButtonContent:Ra,pleaseEnterDataCodeInDataSetting:Na,pleaseEnterValueFieldCodeInDataSetting:Ua,pleaseEnterSvcCodeInDataSetting:Va,pleaseBindAtLeastOneDisplayValueInDataSetting:ka,rootNodeIsRequiredInDataSetting:Ta,pleaseEnterMaxHeight:Pa,pleaseEnter:za,pleaseEnterWatermark:ja,pleaseEnterFileName:Ga,pleaseUploadAtLeastOnePrintTemplate:xa,pleaseAssignBusiness:Ka,pleaseAssignExternal:Ha,pleaseEnterAliasCode:Wa,pleaseSelectDataCode:qa,pleaseSelectSvcCode:Ja,pleaseSelectJoinFieldCode:Xa,pleaseSelectMainFieldCode:Oa,pleaseSelectSortFieldCode:Qa},Ya={zhCN:du,enUS:Nt,jaJP:Za},k=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(k||{}),T=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(T||{});class en{constructor(u){var t,a,s,o,i,c;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(a=u==null?void 0:u.id)!=null?a:"",this.type=(s=u==null?void 0:u.type)!=null?s:"Number",this.subTableId=(o=u==null?void 0:u.subTableId)!=null?o:void 0,this.subTableName=(i=u==null?void 0:u.subTableId)!=null?i:void 0,this.aggregateType=(c=u==null?void 0:u.aggregateType)!=null?c:void 0}}const P="zh-CN",un=()=>{};var z=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(z||{}),y=(e=>(e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e))(y||{}),j=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e))(j||{});const tn={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",department:"department-column",file:"file-column",image:"image-column",location:"location-column",people:"employee-column",text:"text-column",timescope:"timescope-column",timestamp:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var G=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(G||{});const x="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",an=x+"0123456789";function nn(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?x:an,s=Math.random()*a.length;u+=a[parseInt(String(s),10)]}return u}const M=console;function K(...e){const u=e.slice(1);M.warn("\u{1F9D0} Driven Warning:"+e[0],...u)}function $(...e){const u=e.slice(1);M.log("\u{1F680} Driven Log:"+e[0],...u)}function rn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class w extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?rn(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class ln extends w{constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function sn(e){throw new w(e)}function on(e){throw new ln(e)}function H(e){M.error(new w(e))}function g(e,u){Array.isArray(e)&&e.map(t=>{switch(t.controlType){case"layout":g(t==null?void 0:t.children,u);break;case"wrap":g(t==null?void 0:t.children,u);break;case"search":g(t==null?void 0:t.children,u);break;case"form":u(t)}})}var cn=Object.prototype.toString;function W(e,u){return cn.call(e)==="[object "+u+"]"}function En(e){return W(e,"String")}function Bn(e){return W(e,"Promise")}var pn=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var a=this.getMessageData();Bn(a)?a.then(function(s){t._messageCache.clear(),t.messages[t.localeInMessageKey]=s}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var s=this.getMessage(u);return s?this.formatMessage(s,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(s,o,i,c){if(s!==void 0){var d=s[o];if(!(i===c.length-1&&!En(d)))return d}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,s){var o=t[s];return o!==void 0?String(o):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();const q=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=P){return new pn({locale:e,messages:Ya})}static setLocale(e){return this.$i18n.setLocale(e)}};let J=q;J.$i18n=q.resetI18n();function Fn(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let s=!1;return a.reduce((o,i,c,d)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){K(`Can not set ${u}'s ${i} property in current %o, Because there is no ${i} property on the %o`,o,o);return}return c===d.length-1&&!Object.is(v[i],t)&&(v[i]=t,s=!0),v[i]}},e),s}var mn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L={exports:{}};(function(e){(function(u){var t=function(r,l,E){if(!v(l)||Vn(l)||kn(l)||Tn(l)||d(l))return l;var p,C=0,ue=0;if(Un(l))for(p=[],ue=l.length;C<ue;C++)p.push(t(r,l[C],E));else{p={};for(var V in l)Object.prototype.hasOwnProperty.call(l,V)&&(p[r(V,E)]=t(r,l[V],E))}return p},a=function(r,l){l=l||{};var E=l.separator||"_",p=l.split||/(?=[A-Z])/;return r.split(p).join(E)},s=function(r){return Pn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(l,E){return E?E.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var l=s(r);return l.substr(0,1).toUpperCase()+l.substr(1)},i=function(r,l){return a(r,l).toLowerCase()},c=Object.prototype.toString,d=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},Un=function(r){return c.call(r)=="[object Array]"},Vn=function(r){return c.call(r)=="[object Date]"},kn=function(r){return c.call(r)=="[object RegExp]"},Tn=function(r){return c.call(r)=="[object Boolean]"},Pn=function(r){return r=r-0,r===r},U=function(r,l){var E=l&&"process"in l?l.process:l;return typeof E!="function"?r:function(p,C){return E(p,r,C)}},ee={camelize:s,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(r,l){return t(U(s,l),r)},decamelizeKeys:function(r,l){return t(U(i,l),r,l)},pascalizeKeys:function(r,l){return t(U(o,l),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=ee:u.humps=ee})(mn)})(L);var X={};Object.defineProperty(X,"__esModule",{value:!0});function _(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:_(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:_(a)}return u}}var dn=X.default=_;function An(e){if(e!==void 0)return typeof e=="object"?dn(e):e}function hn(e){return O(e)&&"zh"in e}function O(e){return Object.prototype.toString.call(e)==="[object Object]"}function vn(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function f(e){return Array.isArray(e)}function Q(e){return typeof e=="string"}function R(e){return typeof e=="number"}function Cn(e){return typeof e=="function"}function Dn(e){return f(e)&&e.every(u=>Q(u))}function gn(e){return f(e)&&e.every(u=>R(u))}function fn(e){return f(e)&&e.every(u=>R(u)||u==="")}function Sn(e){return/^\[.*?]$/.test(e)}function bn(e){return/^{.*?}$/.test(e)}function In(e){return isNaN(parseFloat(e))?"":Number(e)}function yn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function Mn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function $n(e=0){return new Promise(u=>{setTimeout(u,e)})}function N(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let s=a;return Array.isArray(a==null?void 0:a.children)&&(s.children=N(a.children,u)),Array.isArray(a==null?void 0:a.footers)&&(s.footers=N(a.footers,u)),u(s)})),t}function wn(e){return L.exports.camelizeKeys(e)}function Ln(e){return L.exports.decamelizeKeys(e)}function _n(e){return Object.values(y).includes(e)}class Rn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return te(this,null,function*(){const a=this._events.get(u),s=[];if(a){const o=a.slice();for(const i of o)if(!!a.includes(i))try{this.debug&&$(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}\u3002`,...t);const c=yield i.apply(null,[...t]);if(this.debug&&$(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o`,...t,c),s.push(c),c===!1)break}catch(c){H(String(c)+":"+String(c.stack))}}return s})}on(u,t){var a;this._events.has(u)?(a=this._events.get(u))==null||a.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const a=this._events.get(u),s=a==null?void 0:a.indexOf(t);a==null||a.splice(s,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Nn=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Z=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return Z.events.filter(t=>u.includes(t.key))}};let Y=Z;Y.events=Nn,n.CALC_AGGREGATE_TYPE=T,n.CALC_TOKEN_TYPE=k,n.CONTROL_BASE_TYPE=z,n.CONTROL_TYPE=y,n.CalcScriptEchoItem=en,n.DEFAULT_LOCALE=P,n.DateType=G,n.DepartmentEntity=F,n.EventLogic=Y,n.FieldTypeToColumnType=tn,n.FieldTypes=j,n.JSONCopy=An,n.RulesMessage=J,n.UserEntity=m,n.Watcher=Rn,n.camelizeKeys=wn,n.debounce=Mn,n.decamelizeKeys=Ln,n.error=sn,n.genNonDuplicateId=nn,n.getNotRepeatItems=yn,n.isArray=f,n.isBuiltInControls=_n,n.isFunction=Cn,n.isJSONArray=Sn,n.isJSONObject=bn,n.isLanguageObject=hn,n.isNumber=R,n.isNumberAndEmptyStringArray=fn,n.isNumberArray=gn,n.isObject=vn,n.isPlainObject=O,n.isString=Q,n.isStringArray=Dn,n.log=$,n.logerror=H,n.loop=N,n.loopFormSchema=g,n.noop=un,n.referenceError=on,n.toNumberOrEmpty=In,n.updateValueFromKeys=Fn,n.wait=$n,n.warn=K,Object.defineProperty(n,"__esModule",{value:!0})});
|
|
1
|
+
var ae=(n,F,m)=>new Promise((f,D)=>{var b=B=>{try{d(m.next(B))}catch(h){D(h)}},I=B=>{try{d(m.throw(B))}catch(h){D(h)}},d=B=>B.done?f(B.value):Promise.resolve(B.value).then(b,I);d((m=m.apply(n,F)).next())});(function(n,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(n=typeof globalThis!="undefined"?globalThis:n||self,F(n.modelDrivenShared={}))})(this,function(n){"use strict";class F{}class m{}var f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",b="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",d="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",B="{caption}\u5FC5\u586B",h="\u8BF7\u8F93\u5165\u6807\u9898",ne="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",re="\u8BF7\u8F93\u5165\u884C\u6807\u9898",le="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",se="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ie="\u8BF7\u7ED1\u5B9A\u8868\u5355",oe="\u8BF7\u7ED1\u5B9A\u5217\u8868",ce="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ee="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Be="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",pe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",me="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",de="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",he="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ve="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ce="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",De="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ge="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Se="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fe="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ie="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ye="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",$e="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Me="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Le="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ne="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Re="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_e="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ue="\u8BF7\u9009\u62E9\u7701",Ve="\u8BF7\u9009\u62E9\u5E02",ke="\u8BF7\u9009\u62E9\u533A",ze="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ge="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Te="\u8BF7\u8F93\u5165\u5217\u5BBD",je="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Pe="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xe="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ke="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",He="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",We="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qe="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Je="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ze="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",su="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Eu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",pu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Fu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Au="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",du={isNotNumber:f,isNotString:D,isNotObject:b,isNotArray:I,isNotBoolean:d,runtimeRequired:B,pleaseEnterCaption:h,pleaseEnterCaptionTip:ne,pleaseEnterRowCaption:re,pleaseEnterPlaceholder:le,pleaseEnterFieldCode:se,pleaseEnterForm:ie,pleaseEnterList:oe,pleaseEnterProcess:ce,pleaseEnterLabel:Ee,pleaseEnterValue:Be,bizKeyNotBindFiled:pe,pleaseSelectOneField:Fe,pleaseEnterNumberRange:me,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:de,numberRangeSetError:he,stringRangeError:ve,attachmentMaxSize:Ce,pleaseEnterTotalScoreSetting:De,theTotalScoreMustNotBeLessThan1:ge,scoreDefaultValueRange:Se,attachmentLimitError:fe,PleaseReselectTheOptionalQuantity:be,TheMaximumLengthIsGreaterThanTheMinimumLength:Ie,TheMinimumLengthIsGreaterThanTheMaximumLength:ye,PleaseSelectTheCorrectOptionSettings:$e,optionIdIsRepeat:Me,optionIsRequired:we,pleaseEnterDataCode:Le,pleaseEnterValueFieldCode:Ne,pleaseEnterSvcCode:Re,pleaseBindAtLeastOneDisplayValue:_e,pleaseSelectProvince:Ue,pleaseSelectCity:Ve,pleaseSelectDistrict:ke,limitRowsCannotBeLessThan0:ze,TheNumberOfRowsCannotBeLessThanMinRows:Ge,pleaseEnterColumnWidth:Te,pleaseSetTheLogicalRelationshipOfAllRuleConditions:je,pleaseCompleteAllRulesAndConditions:Pe,pleaseSelectControl:xe,pleaseSelectAtLeastOneColumn:Ke,pleaseSelectFillBackMode:He,pleaseSelectDashboard:We,rootNodeIsRequired:qe,theViewNameCannotBeEmpty:Je,pleaseSelectOcrType:Xe,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Qe,pleaseEnterButtonContent:Ze,pleaseEnterDataCodeInDataSetting:Ye,pleaseEnterValueFieldCodeInDataSetting:eu,pleaseEnterSvcCodeInDataSetting:uu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:au,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:lu,pleaseEnterFileName:su,pleaseUploadAtLeastOnePrintTemplate:iu,pleaseAssignBusiness:ou,pleaseAssignExternal:cu,pleaseEnterAliasCode:Eu,pleaseSelectDataCode:Bu,pleaseSelectSvcCode:pu,pleaseSelectJoinFieldCode:Fu,pleaseSelectMainFieldCode:mu,pleaseSelectSortFieldCode:Au},hu="Please enter a number",vu="Please enter a string",Cu="Please enter an object",Du="Please enter an array",gu="Please enter a boolean",Su="{caption} Required",fu="Please enter the title",bu="Please enter the bubble prompt",Iu="Please enter the row title",yu="Please enter the prompt text",$u="Please bind data items",Mu="Please bind the form",wu="Please bind the list",Lu="Please bind the process",Nu="Please enter the displayed value",Ru="Please enter the stored value",_u="The document number is not bound to the data item",Uu="Please select at least one display field",Vu="Please enter a value greater than or equal to {min} and less than or equal to {max}",ku="Please enter a value greater than or equal to {min}",zu="Please enter a value less than or equal to {max}",Gu="The value range is set incorrectly",Tu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ju="The attachment size must be between 0MB and 1000MB",Pu="Please fill in the total score setting",xu="The total score cannot be less than 1",Ku="The default value must be between {min} and {max}",Hu="The number of attachments uploaded must be between {min} and {max}",Wu="Please re-select the optional quantity",qu="The maximum length of the control must be greater than the minimum length",Ju="The minimum length of the control must be less than the maximum length",Xu="Please select the correct option setting",Ou="Option ID cannot be repeated",Qu="Please enter at least one option",Zu="Please bind the data source",Yu="Please bind the stored value",et="Please bind the service",ut="At least one display value must be bound",tt="Please select a province",at="Please select a city",nt="Please select a district",rt="The minimum number of lines to fill in cannot be less than 0",lt="The number of rows cannot be less than {min} rows",st="Please enter the column width",it="Please set the logical relationship of all rule conditions",ot="Please complete all rules and conditions",ct="please select control",Et="Please select the dashboard",Bt="View name cannot be empty",pt="Please select recognition type",Ft="Please select at least one field to fill in",mt="Please select at least one",At="Please enter the button title",dt="Please bind the business model in the data settings",ht="Please bind storage values in data settings",vt="Please bind the service in the data settings",Ct="Please bind at least one display value in the data settings",Dt="Please select the root node in the data settings",gt="Please enter the maximum height",St="The input content cannot be empty",ft="Watermark cannot be empty",bt="File name cannot be empty",It="Please upload at least one printing template!\uFF01",yt="Please select a specific business department",$t="Please select a specified external organization",Mt="Please enter a sub table alias",wt="Please select the associated table to set the business model",Lt="Please select the association table to set the binding service",Nt="Select associated sub table fields",Rt="Please select the associated main table field",_t="Please select the sort field",Ut={isNotNumber:hu,isNotString:vu,isNotObject:Cu,isNotArray:Du,isNotBoolean:gu,runtimeRequired:Su,pleaseEnterCaption:fu,pleaseEnterCaptionTip:bu,pleaseEnterRowCaption:Iu,pleaseEnterPlaceholder:yu,pleaseEnterFieldCode:$u,pleaseEnterForm:Mu,pleaseEnterList:wu,pleaseEnterProcess:Lu,pleaseEnterLabel:Nu,pleaseEnterValue:Ru,bizKeyNotBindFiled:_u,pleaseSelectOneField:Uu,pleaseEnterNumberRange:Vu,pleaseEnterAValueGreaterThanMin:ku,pleaseEnterAValueLessThanMax:zu,numberRangeSetError:Gu,stringRangeError:Tu,attachmentMaxSize:ju,pleaseEnterTotalScoreSetting:Pu,theTotalScoreMustNotBeLessThan1:xu,scoreDefaultValueRange:Ku,attachmentLimitError:Hu,PleaseReselectTheOptionalQuantity:Wu,TheMaximumLengthIsGreaterThanTheMinimumLength:qu,TheMinimumLengthIsGreaterThanTheMaximumLength:Ju,PleaseSelectTheCorrectOptionSettings:Xu,optionIdIsRepeat:Ou,optionIsRequired:Qu,pleaseEnterDataCode:Zu,pleaseEnterValueFieldCode:Yu,pleaseEnterSvcCode:et,pleaseBindAtLeastOneDisplayValue:ut,pleaseSelectProvince:tt,pleaseSelectCity:at,pleaseSelectDistrict:nt,limitRowsCannotBeLessThan0:rt,TheNumberOfRowsCannotBeLessThanMinRows:lt,pleaseEnterColumnWidth:st,pleaseSetTheLogicalRelationshipOfAllRuleConditions:it,pleaseCompleteAllRulesAndConditions:ot,pleaseSelectControl:ct,pleaseSelectDashboard:Et,theViewNameCannotBeEmpty:Bt,pleaseSelectOcrType:pt,pleaseSelectAtLeastOneFieldToFillIn:Ft,pleaseChooseAtLeastOne:mt,pleaseEnterButtonContent:At,pleaseEnterDataCodeInDataSetting:dt,pleaseEnterValueFieldCodeInDataSetting:ht,pleaseEnterSvcCodeInDataSetting:vt,pleaseBindAtLeastOneDisplayValueInDataSetting:Ct,rootNodeIsRequiredInDataSetting:Dt,pleaseEnterMaxHeight:gt,pleaseEnter:St,pleaseEnterWatermark:ft,pleaseEnterFileName:bt,pleaseUploadAtLeastOnePrintTemplate:It,pleaseAssignBusiness:yt,pleaseAssignExternal:$t,pleaseEnterAliasCode:Mt,pleaseSelectDataCode:wt,pleaseSelectSvcCode:Lt,pleaseSelectJoinFieldCode:Nt,pleaseSelectMainFieldCode:Rt,pleaseSelectSortFieldCode:_t},Vt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jt="{caption}\u5FC5\u9808",Pt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xt="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ht="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Yt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ea="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ta="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",na="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ra="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",la="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ca="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ea="\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",Ba="\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",pa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ma="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Aa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ha="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ca="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sa="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ba="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$a="please select control",Ma="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",La="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_a="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",za="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Pa="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ka="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Ha="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Qa="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ya={isNotNumber:Vt,isNotString:kt,isNotObject:zt,isNotArray:Gt,isNotBoolean:Tt,runtimeRequired:jt,pleaseEnterCaption:Pt,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:Kt,pleaseEnterPlaceholder:Ht,pleaseEnterFieldCode:Wt,pleaseEnterForm:qt,pleaseEnterList:Jt,pleaseEnterProcess:Xt,pleaseEnterLabel:Ot,pleaseEnterValue:Qt,bizKeyNotBindFiled:Zt,pleaseSelectOneField:Yt,pleaseEnterNumberRange:ea,pleaseEnterAValueGreaterThanMin:ua,pleaseEnterAValueLessThanMax:ta,numberRangeSetError:aa,stringRangeError:na,attachmentMaxSize:ra,pleaseEnterTotalScoreSetting:la,theTotalScoreMustNotBeLessThan1:sa,scoreDefaultValueRange:ia,attachmentLimitError:oa,PleaseReselectTheOptionalQuantity:ca,TheMaximumLengthIsGreaterThanTheMinimumLength:Ea,TheMinimumLengthIsGreaterThanTheMaximumLength:Ba,PleaseSelectTheCorrectOptionSettings:pa,optionIdIsRepeat:Fa,optionIsRequired:ma,pleaseEnterDataCode:Aa,pleaseEnterValueFieldCode:da,pleaseEnterSvcCode:ha,pleaseBindAtLeastOneDisplayValue:va,pleaseSelectProvince:Ca,pleaseSelectCity:Da,pleaseSelectDistrict:ga,limitRowsCannotBeLessThan0:Sa,TheNumberOfRowsCannotBeLessThanMinRows:fa,pleaseEnterColumnWidth:ba,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ia,pleaseCompleteAllRulesAndConditions:ya,pleaseSelectControl:$a,pleaseSelectDashboard:Ma,theViewNameCannotBeEmpty:wa,pleaseSelectOcrType:La,pleaseSelectAtLeastOneFieldToFillIn:Na,pleaseChooseAtLeastOne:Ra,pleaseEnterButtonContent:_a,pleaseEnterDataCodeInDataSetting:Ua,pleaseEnterValueFieldCodeInDataSetting:Va,pleaseEnterSvcCodeInDataSetting:ka,pleaseBindAtLeastOneDisplayValueInDataSetting:za,rootNodeIsRequiredInDataSetting:Ga,pleaseEnterMaxHeight:Ta,pleaseEnter:ja,pleaseEnterWatermark:Pa,pleaseEnterFileName:xa,pleaseUploadAtLeastOnePrintTemplate:Ka,pleaseAssignBusiness:Ha,pleaseAssignExternal:Wa,pleaseEnterAliasCode:qa,pleaseSelectDataCode:Ja,pleaseSelectSvcCode:Xa,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Qa,pleaseSelectSortFieldCode:Za},en={zhCN:du,enUS:Ut,jaJP:Ya},k=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(k||{}),z=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(z||{});class un{constructor(u){var t,a,s,o,i,c;this.name=(t=u==null?void 0:u.name)!=null?t:"",this.id=(a=u==null?void 0:u.id)!=null?a:"",this.type=(s=u==null?void 0:u.type)!=null?s:"Number",this.subTableId=(o=u==null?void 0:u.subTableId)!=null?o:void 0,this.subTableName=(i=u==null?void 0:u.subTableId)!=null?i:void 0,this.aggregateType=(c=u==null?void 0:u.aggregateType)!=null?c:void 0}}const G="zh-CN",tn=()=>{};var T=(e=>(e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search",e))(T||{}),j=(e=>(e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE",e))(j||{}),y=(e=>(e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e))(y||{}),P=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field",e.BOOLEAN="boolean",e.MODEL="model",e.MODEL_SET="model_set",e))(P||{});const an={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",department:"department-column",file:"file-column",image:"image-column",location:"location-column",people:"employee-column",text:"text-column",timescope:"timescope-column",timestamp:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var x=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(x||{});const nn={DEFAULT:"default"},K="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",rn=K+"0123456789";function ln(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?K:rn,s=Math.random()*a.length;u+=a[parseInt(String(s),10)]}return u}const $=console;function H(...e){const u=e.slice(1);$.warn("\u{1F9D0} Driven Warning:"+e[0],...u)}function M(...e){const u=e.slice(1);$.log("\u{1F680} Driven Log:"+e[0],...u)}function sn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class w extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?sn(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class on extends w{constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function cn(e){throw new w(e)}function En(e){throw new on(e)}function W(e){$.error(new w(e))}function g(e,u){Array.isArray(e)&&e.map(t=>{switch(t.controlType){case"layout":g(t==null?void 0:t.children,u);break;case"wrap":g(t==null?void 0:t.children,u);break;case"search":g(t==null?void 0:t.children,u);break;case"form":u(t)}})}var Bn=Object.prototype.toString;function q(e,u){return Bn.call(e)==="[object "+u+"]"}function pn(e){return q(e,"String")}function Fn(e){return q(e,"Promise")}var mn=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var a=this.getMessageData();Fn(a)?a.then(function(s){t._messageCache.clear(),t.messages[t.localeInMessageKey]=s}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var s=this.getMessage(u);return s?this.formatMessage(s,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(s,o,i,c){if(s!==void 0){var A=s[o];if(!(i===c.length-1&&!pn(A)))return A}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,s){var o=t[s];return o!==void 0?String(o):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();const J=class{static getMessage(e,u={}){return this.$i18n.$t(e,"",u)}static resetI18n(e=G){return new mn({locale:e,messages:en})}static setLocale(e){return this.$i18n.setLocale(e)}};let X=J;X.$i18n=J.resetI18n();function An(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let s=!1;return a.reduce((o,i,c,A)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){H(`Can not set ${u}'s ${i} property in current %o, Because there is no ${i} property on the %o`,o,o);return}return c===A.length-1&&!Object.is(v[i],t)&&(v[i]=t,s=!0),v[i]}},e),s}var dn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},L={exports:{}};(function(e){(function(u){var t=function(r,l,E){if(!v(l)||zn(l)||Gn(l)||Tn(l)||A(l))return l;var p,C=0,te=0;if(kn(l))for(p=[],te=l.length;C<te;C++)p.push(t(r,l[C],E));else{p={};for(var V in l)Object.prototype.hasOwnProperty.call(l,V)&&(p[r(V,E)]=t(r,l[V],E))}return p},a=function(r,l){l=l||{};var E=l.separator||"_",p=l.split||/(?=[A-Z])/;return r.split(p).join(E)},s=function(r){return jn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(l,E){return E?E.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var l=s(r);return l.substr(0,1).toUpperCase()+l.substr(1)},i=function(r,l){return a(r,l).toLowerCase()},c=Object.prototype.toString,A=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},kn=function(r){return c.call(r)=="[object Array]"},zn=function(r){return c.call(r)=="[object Date]"},Gn=function(r){return c.call(r)=="[object RegExp]"},Tn=function(r){return c.call(r)=="[object Boolean]"},jn=function(r){return r=r-0,r===r},U=function(r,l){var E=l&&"process"in l?l.process:l;return typeof E!="function"?r:function(p,C){return E(p,r,C)}},ue={camelize:s,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(r,l){return t(U(s,l),r)},decamelizeKeys:function(r,l){return t(U(i,l),r,l)},pascalizeKeys:function(r,l){return t(U(o,l),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=ue:u.humps=ue})(dn)})(L);var O={};Object.defineProperty(O,"__esModule",{value:!0});function N(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:N(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:N(a)}return u}}var hn=O.default=N;function vn(e){if(e!==void 0)return typeof e=="object"?hn(e):e}function Cn(e){return Q(e)&&"zh"in e}function Q(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dn(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function S(e){return Array.isArray(e)}function Z(e){return typeof e=="string"}function R(e){return typeof e=="number"}function gn(e){return typeof e=="function"}function Sn(e){return S(e)&&e.every(u=>Z(u))}function fn(e){return S(e)&&e.every(u=>R(u))}function bn(e){return S(e)&&e.every(u=>R(u)||u==="")}function In(e){return/^\[.*?]$/.test(e)}function yn(e){return/^{.*?}$/.test(e)}function $n(e){return isNaN(parseFloat(e))?"":Number(e)}function Mn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function wn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function Ln(e=0){return new Promise(u=>{setTimeout(u,e)})}function _(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let s=a;return Array.isArray(a==null?void 0:a.children)&&(s.children=_(a.children,u)),Array.isArray(a==null?void 0:a.footers)&&(s.footers=_(a.footers,u)),u(s)})),t}function Nn(e){return L.exports.camelizeKeys(e)}function Rn(e){return L.exports.decamelizeKeys(e)}function _n(e){return Object.values(y).includes(e)}class Un{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return ae(this,null,function*(){const a=this._events.get(u),s=[];if(a){const o=a.slice();for(const i of o)if(!!a.includes(i))try{this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}\u3002`,...t);const c=yield i.apply(null,[...t]);if(this.debug&&M(`\u6B63\u5728\u6267\u884C ${u} \u4E8B\u4EF6: ${i.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+i.applyingPluginName:""}, \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A${t.map(()=>"%o").join(",")}; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o`,...t,c),s.push(c),c===!1)break}catch(c){W(String(c)+":"+String(c.stack))}}return s})}on(u,t){var a;this._events.has(u)?(a=this._events.get(u))==null||a.push(t):this._events.set(u,[t])}off(u,t){if(this._events.has(u)){const a=this._events.get(u),s=a==null?void 0:a.indexOf(t);a==null||a.splice(s,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Vn=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Y=class{getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return Y.events.filter(t=>u.includes(t.key))}};let ee=Y;ee.events=Vn,n.CALC_AGGREGATE_TYPE=z,n.CALC_TOKEN_TYPE=k,n.CONTROL_BASE_TYPE=T,n.CONTROL_TYPE=y,n.CalcScriptEchoItem=un,n.DEFAULT_LOCALE=G,n.DESIGNER_SLOT=nn,n.DateType=x,n.DepartmentEntity=F,n.EventLogic=ee,n.FORM_TYPE=j,n.FieldTypeToColumnType=an,n.FieldTypes=P,n.JSONCopy=vn,n.RulesMessage=X,n.UserEntity=m,n.Watcher=Un,n.camelizeKeys=Nn,n.debounce=wn,n.decamelizeKeys=Rn,n.error=cn,n.genNonDuplicateId=ln,n.getNotRepeatItems=Mn,n.isArray=S,n.isBuiltInControls=_n,n.isFunction=gn,n.isJSONArray=In,n.isJSONObject=yn,n.isLanguageObject=Cn,n.isNumber=R,n.isNumberAndEmptyStringArray=bn,n.isNumberArray=fn,n.isObject=Dn,n.isPlainObject=Q,n.isString=Z,n.isStringArray=Sn,n.log=M,n.logerror=W,n.loop=_,n.loopFormSchema=g,n.noop=tn,n.referenceError=En,n.toNumberOrEmpty=$n,n.updateValueFromKeys=An,n.wait=Ln,n.warn=H,Object.defineProperty(n,"__esModule",{value:!0})});
|
package/dist/types/enum.d.ts
CHANGED
|
@@ -7,6 +7,32 @@ export declare enum CONTROL_BASE_TYPE {
|
|
|
7
7
|
LIST = "list",
|
|
8
8
|
SEARCH = "search"
|
|
9
9
|
}
|
|
10
|
+
export declare enum FORM_TYPE {
|
|
11
|
+
/**
|
|
12
|
+
* 表单
|
|
13
|
+
* */
|
|
14
|
+
FORM = 0,
|
|
15
|
+
/**
|
|
16
|
+
* 列表
|
|
17
|
+
* */
|
|
18
|
+
LIST = 1,
|
|
19
|
+
/**
|
|
20
|
+
* 报表
|
|
21
|
+
* */
|
|
22
|
+
REPORT = 2,
|
|
23
|
+
/**
|
|
24
|
+
* 仪表盘
|
|
25
|
+
* */
|
|
26
|
+
DASHBOARD = 3,
|
|
27
|
+
/**
|
|
28
|
+
* Vue页面
|
|
29
|
+
* */
|
|
30
|
+
VUE = 4,
|
|
31
|
+
/**
|
|
32
|
+
* 自由页面
|
|
33
|
+
* */
|
|
34
|
+
FREE_PAGE = 5
|
|
35
|
+
}
|
|
10
36
|
export declare enum CONTROL_TYPE {
|
|
11
37
|
TITLE = "title",
|
|
12
38
|
LINK = "link",
|
|
@@ -201,7 +227,19 @@ export declare enum FieldTypes {
|
|
|
201
227
|
/**
|
|
202
228
|
* 加密字段
|
|
203
229
|
* */
|
|
204
|
-
ENCRYPTED_FIELD = "encrypted_field"
|
|
230
|
+
ENCRYPTED_FIELD = "encrypted_field",
|
|
231
|
+
/**
|
|
232
|
+
* 逻辑
|
|
233
|
+
* */
|
|
234
|
+
BOOLEAN = "boolean",
|
|
235
|
+
/**
|
|
236
|
+
* 模型
|
|
237
|
+
* */
|
|
238
|
+
MODEL = "model",
|
|
239
|
+
/**
|
|
240
|
+
* 模型集合
|
|
241
|
+
* */
|
|
242
|
+
MODEL_SET = "model_set"
|
|
205
243
|
}
|
|
206
244
|
export declare const FieldTypeToColumnType: {
|
|
207
245
|
array: CONTROL_TYPE;
|
|
@@ -244,3 +282,6 @@ export declare enum DateType {
|
|
|
244
282
|
* */
|
|
245
283
|
DATETIME = "datetime"
|
|
246
284
|
}
|
|
285
|
+
export declare const DESIGNER_SLOT: {
|
|
286
|
+
DEFAULT: string;
|
|
287
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0-alpha.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"humps": "^2.0.1",
|
|
31
31
|
"ok-i18n": "^3.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "003ce60dd90d06d1a024f151f47a167e928d0704"
|
|
34
34
|
}
|