@byteluck-fe/model-driven-shared 2.10.0-alpha.2 → 2.10.0-alpha.20
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 +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/enum.d.ts +4 -4
- package/package.json +2 -2
package/dist/esm/enum.js
CHANGED
|
@@ -201,8 +201,8 @@ export var FieldTypes;
|
|
|
201
201
|
* 日期, 时间戳字符串 string
|
|
202
202
|
* */ FieldTypes["TIMESTAMP"] = "timestamp";
|
|
203
203
|
/**
|
|
204
|
-
* 日期(
|
|
205
|
-
* */ FieldTypes["
|
|
204
|
+
* 日期(datetime), 时间戳字符串 string
|
|
205
|
+
* */ FieldTypes["DATETIME"] = "datetime";
|
|
206
206
|
/**
|
|
207
207
|
* 人员, Array<人员id string>
|
|
208
208
|
* */ FieldTypes["EMPLOYEES"] = "people";
|
|
@@ -265,9 +265,9 @@ export var FieldTypes;
|
|
|
265
265
|
* */ FieldTypes["MODEL_SET"] = "model_set";
|
|
266
266
|
})(FieldTypes || (FieldTypes = {}));
|
|
267
267
|
var _obj;
|
|
268
|
-
export var FieldTypeToLabel = (_obj = {}, _define_property(_obj, "varchar", "短文本"), _define_property(_obj, "timestamp", "时间"), _define_property(_obj, "
|
|
268
|
+
export var FieldTypeToLabel = (_obj = {}, _define_property(_obj, "varchar", "短文本"), _define_property(_obj, "timestamp", "时间"), _define_property(_obj, "datetime", "时间(datetime)"), _define_property(_obj, "text", "长文本"), _define_property(_obj, "decimal", "数值类型"), _define_property(_obj, "real-decimal", "数值类型(decimal)"), _define_property(_obj, "relation", "引用类型"), _define_property(_obj, "bigint", "长整型"), _define_property(_obj, "image", "图片"), _define_property(_obj, "file", "附件"), _define_property(_obj, "auto_number", "自动编号"), _define_property(_obj, "boolean", "逻辑"), _define_property(_obj, "people", "人员"), _define_property(_obj, "location", "地址"), _define_property(_obj, "department", "部门"), _define_property(_obj, "relation-field", "关联字段"), _define_property(_obj, "reference-field", "引用字段"), _define_property(_obj, "calc", "计算公式"), _define_property(_obj, "json", "JSON"), _define_property(_obj, "model", "模型"), _define_property(_obj, "model_set", "模型集合"), _define_property(_obj, "array", "数组"), _obj);
|
|
269
269
|
var _obj1;
|
|
270
|
-
export var FieldTypeToColumnType = (_obj1 = {}, _define_property(_obj1, "array", "array-column"), _define_property(_obj1, "auto_number", "auto-number-column"), _define_property(_obj1, "decimal", "decimal-column"), _define_property(_obj1, "real-decimal", "decimal-column"), _define_property(_obj1, "department", "department-column"), _define_property(_obj1, "file", "file-column"), _define_property(_obj1, "image", "image-column"), _define_property(_obj1, "location", "location-column"), _define_property(_obj1, "people", "employee-column"), _define_property(_obj1, "text", "text-column"), _define_property(_obj1, "timescope", "timescope-column"), _define_property(_obj1, "timestamp", "timestamp-column"), _define_property(_obj1, "
|
|
270
|
+
export var FieldTypeToColumnType = (_obj1 = {}, _define_property(_obj1, "array", "array-column"), _define_property(_obj1, "auto_number", "auto-number-column"), _define_property(_obj1, "decimal", "decimal-column"), _define_property(_obj1, "real-decimal", "decimal-column"), _define_property(_obj1, "department", "department-column"), _define_property(_obj1, "file", "file-column"), _define_property(_obj1, "image", "image-column"), _define_property(_obj1, "location", "location-column"), _define_property(_obj1, "people", "employee-column"), _define_property(_obj1, "text", "text-column"), _define_property(_obj1, "timescope", "timescope-column"), _define_property(_obj1, "timestamp", "timestamp-column"), _define_property(_obj1, "datetime", "timestamp-column"), _define_property(_obj1, "varchar", "varchar-column"), _define_property(_obj1, "relation", "varchar-column"), _obj1);
|
|
271
271
|
export var DateType;
|
|
272
272
|
(function(DateType) {
|
|
273
273
|
/**
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var ne=(n,F,m)=>new Promise((S,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?S(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 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",d="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",B="{caption}\u5FC5\u586B",h="\u8BF7\u8F93\u5165\u6807\u9898",re="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",le="\u8BF7\u8F93\u5165\u884C\u6807\u9898",se="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ie="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",oe="\u8BF7\u7ED1\u5B9A\u8868\u5355",ce="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ee="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Be="\u8BF7\u8F93\u5165\u663E\u793A\u503C",pe="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Fe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",me="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",de="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",he="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ve="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ce="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",De="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ge="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fe="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Se="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ie="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ye="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Me="\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",Le="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ne="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Re="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ue="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_e="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ve="\u8BF7\u9009\u62E9\u7701",ke="\u8BF7\u9009\u62E9\u5E02",Ge="\u8BF7\u9009\u62E9\u533A",ze="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",je="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Te="\u8BF7\u8F93\u5165\u5217\u5BBD",Ke="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",xe="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",He="\u8BF7\u9009\u62E9\u63A7\u4EF6",Pe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",We="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",qe="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Je="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ze="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ye="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ru="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",su="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ou="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",pu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Fu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",mu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Au="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",du="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",hu={isNotNumber:S,isNotString:D,isNotObject:b,isNotArray:I,isNotBoolean:d,runtimeRequired:B,pleaseEnterCaption:h,pleaseEnterCaptionTip:re,pleaseEnterRowCaption:le,pleaseEnterPlaceholder:se,pleaseEnterFieldCode:ie,pleaseEnterForm:oe,pleaseEnterList:ce,pleaseEnterProcess:Ee,pleaseEnterLabel:Be,pleaseEnterValue:pe,bizKeyNotBindFiled:Fe,pleaseSelectOneField:me,pleaseEnterNumberRange:Ae,pleaseEnterAValueGreaterThanMin:de,pleaseEnterAValueLessThanMax:he,numberRangeSetError:ve,stringRangeError:Ce,attachmentMaxSize:De,pleaseEnterTotalScoreSetting:ge,theTotalScoreMustNotBeLessThan1:fe,scoreDefaultValueRange:Se,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:Ie,TheMaximumLengthIsGreaterThanTheMinimumLength:ye,TheMinimumLengthIsGreaterThanTheMaximumLength:Me,PleaseSelectTheCorrectOptionSettings:$e,optionIdIsRepeat:Le,optionIsRequired:we,pleaseEnterDataCode:Ne,pleaseEnterValueFieldCode:Re,pleaseEnterSvcCode:Ue,pleaseBindAtLeastOneDisplayValue:_e,pleaseSelectProvince:Ve,pleaseSelectCity:ke,pleaseSelectDistrict:Ge,limitRowsCannotBeLessThan0:ze,TheNumberOfRowsCannotBeLessThanMinRows:je,pleaseEnterColumnWidth:Te,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ke,pleaseCompleteAllRulesAndConditions:xe,pleaseSelectControl:He,pleaseSelectAtLeastOneColumn:Pe,pleaseSelectFillBackMode:We,pleaseSelectDashboard:qe,rootNodeIsRequired:Je,theViewNameCannotBeEmpty:Xe,pleaseSelectOcrType:Qe,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Ze,pleaseEnterButtonContent:Ye,pleaseEnterDataCodeInDataSetting:eu,pleaseEnterValueFieldCodeInDataSetting:uu,pleaseEnterSvcCodeInDataSetting:tu,pleaseBindAtLeastOneDisplayValueInDataSetting:au,rootNodeIsRequiredInDataSetting:nu,pleaseEnterMaxHeight:ru,pleaseEnter:lu,pleaseEnterWatermark:su,pleaseEnterFileName:iu,pleaseUploadAtLeastOnePrintTemplate:ou,pleaseAssignBusiness:cu,pleaseAssignExternal:Eu,pleaseEnterAliasCode:Bu,pleaseSelectDataCode:pu,pleaseSelectSvcCode:Fu,pleaseSelectJoinFieldCode:mu,pleaseSelectMainFieldCode:Au,pleaseSelectSortFieldCode:du},vu="Please enter a number",Cu="Please enter a string",Du="Please enter an object",gu="Please enter an array",fu="Please enter a boolean",Su="{caption} Required",bu="Please enter the title",Iu="Please enter the bubble prompt",yu="Please enter the row title",Mu="Please enter the prompt text",$u="Please bind data items",Lu="Please bind the form",wu="Please bind the list",Nu="Please bind the process",Ru="Please enter the displayed value",Uu="Please enter the stored value",_u="The document number is not bound to the data item",Vu="Please select at least one display field",ku="Please enter a value greater than or equal to {min} and less than or equal to {max}",Gu="Please enter a value greater than or equal to {min}",zu="Please enter a value less than or equal to {max}",ju="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}",Ku="The attachment size must be between 0MB and 1000MB",xu="Please fill in the total score setting",Hu="The total score cannot be less than 1",Pu="The default value must be between {min} and {max}",Wu="The number of attachments uploaded must be between {min} and {max}",qu="Please re-select the optional quantity",Ju="The maximum length of the control must be greater than the minimum length",Xu="The minimum length of the control must be less than the maximum length",Qu="Please select the correct option setting",Ou="Option ID cannot be repeated",Zu="Please enter at least one option",Yu="Please bind the data source",et="Please bind the stored value",ut="Please bind the service",tt="At least one display value must be bound",at="Please select a province",nt="Please select a city",rt="Please select a district",lt="The minimum number of lines to fill in cannot be less than 0",st="The number of rows cannot be less than {min} rows",it="Please enter the column width",ot="Please set the logical relationship of all rule conditions",ct="Please complete all rules and conditions",Et="please select control",Bt="Please select the dashboard",pt="View name cannot be empty",Ft="Please select recognition type",mt="Please select at least one field to fill in",At="Please select at least one",dt="Please enter the button title",ht="Please bind the business model in the data settings",vt="Please bind storage values in data settings",Ct="Please bind the service in the data settings",Dt="Please bind at least one display value in the data settings",gt="Please select the root node in the data settings",ft="Please enter the maximum height",St="The input content cannot be empty",bt="Watermark cannot be empty",It="File name cannot be empty",yt="Please upload at least one printing template!\uFF01",Mt="Please select a specific business department",$t="Please select a specified external organization",Lt="Please enter a sub table alias",wt="Please select the associated table to set the business model",Nt="Please select the association table to set the binding service",Rt="Select associated sub table fields",Ut="Please select the associated main table field",_t="Please select the sort field",Vt={isNotNumber:vu,isNotString:Cu,isNotObject:Du,isNotArray:gu,isNotBoolean:fu,runtimeRequired:Su,pleaseEnterCaption:bu,pleaseEnterCaptionTip:Iu,pleaseEnterRowCaption:yu,pleaseEnterPlaceholder:Mu,pleaseEnterFieldCode:$u,pleaseEnterForm:Lu,pleaseEnterList:wu,pleaseEnterProcess:Nu,pleaseEnterLabel:Ru,pleaseEnterValue:Uu,bizKeyNotBindFiled:_u,pleaseSelectOneField:Vu,pleaseEnterNumberRange:ku,pleaseEnterAValueGreaterThanMin:Gu,pleaseEnterAValueLessThanMax:zu,numberRangeSetError:ju,stringRangeError:Tu,attachmentMaxSize:Ku,pleaseEnterTotalScoreSetting:xu,theTotalScoreMustNotBeLessThan1:Hu,scoreDefaultValueRange:Pu,attachmentLimitError:Wu,PleaseReselectTheOptionalQuantity:qu,TheMaximumLengthIsGreaterThanTheMinimumLength:Ju,TheMinimumLengthIsGreaterThanTheMaximumLength:Xu,PleaseSelectTheCorrectOptionSettings:Qu,optionIdIsRepeat:Ou,optionIsRequired:Zu,pleaseEnterDataCode:Yu,pleaseEnterValueFieldCode:et,pleaseEnterSvcCode:ut,pleaseBindAtLeastOneDisplayValue:tt,pleaseSelectProvince:at,pleaseSelectCity:nt,pleaseSelectDistrict:rt,limitRowsCannotBeLessThan0:lt,TheNumberOfRowsCannotBeLessThanMinRows:st,pleaseEnterColumnWidth:it,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ot,pleaseCompleteAllRulesAndConditions:ct,pleaseSelectControl:Et,pleaseSelectDashboard:Bt,theViewNameCannotBeEmpty:pt,pleaseSelectOcrType:Ft,pleaseSelectAtLeastOneFieldToFillIn:mt,pleaseChooseAtLeastOne:At,pleaseEnterButtonContent:dt,pleaseEnterDataCodeInDataSetting:ht,pleaseEnterValueFieldCodeInDataSetting:vt,pleaseEnterSvcCodeInDataSetting:Ct,pleaseBindAtLeastOneDisplayValueInDataSetting:Dt,rootNodeIsRequiredInDataSetting:gt,pleaseEnterMaxHeight:ft,pleaseEnter:St,pleaseEnterWatermark:bt,pleaseEnterFileName:It,pleaseUploadAtLeastOnePrintTemplate:yt,pleaseAssignBusiness:Mt,pleaseAssignExternal:$t,pleaseEnterAliasCode:Lt,pleaseSelectDataCode:wt,pleaseSelectSvcCode:Nt,pleaseSelectJoinFieldCode:Rt,pleaseSelectMainFieldCode:Ut,pleaseSelectSortFieldCode:_t},kt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kt="{caption}\u5FC5\u9808",xt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ea="\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",ta="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ra="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",la="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ia="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ca="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ea="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ba="\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",pa="\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",Fa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ma="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Aa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",da="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ha="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ca="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Da="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fa="\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",ba="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ia="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ma="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$a="please select control",La="\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",Na="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\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",Ua="\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",Va="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\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",ja="\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",Ka="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ha="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Pa="\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",Wa="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\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",Za="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ya="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en={isNotNumber:kt,isNotString:Gt,isNotObject:zt,isNotArray:jt,isNotBoolean:Tt,runtimeRequired:Kt,pleaseEnterCaption:xt,pleaseEnterCaptionTip:Ht,pleaseEnterRowCaption:Pt,pleaseEnterPlaceholder:Wt,pleaseEnterFieldCode:qt,pleaseEnterForm:Jt,pleaseEnterList:Xt,pleaseEnterProcess:Qt,pleaseEnterLabel:Ot,pleaseEnterValue:Zt,bizKeyNotBindFiled:Yt,pleaseSelectOneField:ea,pleaseEnterNumberRange:ua,pleaseEnterAValueGreaterThanMin:ta,pleaseEnterAValueLessThanMax:aa,numberRangeSetError:na,stringRangeError:ra,attachmentMaxSize:la,pleaseEnterTotalScoreSetting:sa,theTotalScoreMustNotBeLessThan1:ia,scoreDefaultValueRange:oa,attachmentLimitError:ca,PleaseReselectTheOptionalQuantity:Ea,TheMaximumLengthIsGreaterThanTheMinimumLength:Ba,TheMinimumLengthIsGreaterThanTheMaximumLength:pa,PleaseSelectTheCorrectOptionSettings:Fa,optionIdIsRepeat:ma,optionIsRequired:Aa,pleaseEnterDataCode:da,pleaseEnterValueFieldCode:ha,pleaseEnterSvcCode:va,pleaseBindAtLeastOneDisplayValue:Ca,pleaseSelectProvince:Da,pleaseSelectCity:ga,pleaseSelectDistrict:fa,limitRowsCannotBeLessThan0:Sa,TheNumberOfRowsCannotBeLessThanMinRows:ba,pleaseEnterColumnWidth:Ia,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ya,pleaseCompleteAllRulesAndConditions:Ma,pleaseSelectControl:$a,pleaseSelectDashboard:La,theViewNameCannotBeEmpty:wa,pleaseSelectOcrType:Na,pleaseSelectAtLeastOneFieldToFillIn:Ra,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:_a,pleaseEnterDataCodeInDataSetting:Va,pleaseEnterValueFieldCodeInDataSetting:ka,pleaseEnterSvcCodeInDataSetting:Ga,pleaseBindAtLeastOneDisplayValueInDataSetting:za,rootNodeIsRequiredInDataSetting:ja,pleaseEnterMaxHeight:Ta,pleaseEnter:Ka,pleaseEnterWatermark:xa,pleaseEnterFileName:Ha,pleaseUploadAtLeastOnePrintTemplate:Pa,pleaseAssignBusiness:Wa,pleaseAssignExternal:qa,pleaseEnterAliasCode:Ja,pleaseSelectDataCode:Xa,pleaseSelectSvcCode:Qa,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Za,pleaseSelectSortFieldCode:Ya},un={zhCN:hu,enUS:Vt,jaJP:en},G=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(G||{}),z=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(z||{});class tn{constructor(u){var t,a,l,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=(l=u==null?void 0:u.type)!=null?l:"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 j="zh-CN",an=()=>{};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||{}),K=(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))(K||{}),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.VUE_PAGE="vue-page",e))(y||{}),x=(e=>(e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit",e))(x||{}),H=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.REAL_DECIMAL="real-decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.REAL_TIMESTAMP="real-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))(H||{});const nn={varchar:"\u77ED\u6587\u672C",timestamp:"\u65F6\u95F4",["real-timestamp"]:"\u65F6\u95F4\uFF08timestamp\uFF09",text:"\u957F\u6587\u672C",decimal:"\u6570\u503C\u7C7B\u578B",["real-decimal"]:"\u6570\u503C\u7C7B\u578B\uFF08decimal\uFF09",relation:"\u5F15\u7528\u7C7B\u578B",bigint:"\u957F\u6574\u578B",image:"\u56FE\u7247",file:"\u9644\u4EF6",auto_number:"\u81EA\u52A8\u7F16\u53F7",boolean:"\u903B\u8F91",people:"\u4EBA\u5458",location:"\u5730\u5740",department:"\u90E8\u95E8",["relation-field"]:"\u5173\u8054\u5B57\u6BB5",["reference-field"]:"\u5F15\u7528\u5B57\u6BB5",calc:"\u8BA1\u7B97\u516C\u5F0F",json:"JSON",model:"\u6A21\u578B",model_set:"\u6A21\u578B\u96C6\u5408",array:"\u6570\u7EC4"},rn={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",["real-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",["real-timestamp"]:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var P=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(P||{});const ln={DEFAULT:"default"},W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",sn=W+"0123456789";function on(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?W:sn,l=Math.random()*a.length;u+=a[parseInt(String(l),10)]}return u}const M=console;function q(...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 cn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class L extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?cn(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class En extends L{constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function Bn(e){throw new L(e)}function pn(e){throw new En(e)}function J(e){M.error(new L(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 Fn=Object.prototype.toString;function X(e,u){return Fn.call(e)==="[object "+u+"]"}function mn(e){return X(e,"String")}function An(e){return X(e,"Promise")}var dn=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();An(a)?a.then(function(l){t._messageCache.clear(),t.messages[t.localeInMessageKey]=l}):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 l=this.getMessage(u);return l?this.formatMessage(l,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(l,o,i,c){if(l!==void 0){var A=l[o];if(!(i===c.length-1&&!mn(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,l){var o=t[l];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=j){return new dn({locale:e,messages:un})}static setLocale(e){return this.$i18n.setLocale(e)}};let O=Q;O.$i18n=Q.resetI18n();function hn(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let l=!1;return a.reduce((o,i,c,A)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){q(`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,l=!0),v[i]}},e),l}var vn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},w={exports:{}};(function(e){(function(u){var t=function(r,s,E){if(!v(s)||jn(s)||Tn(s)||Kn(s)||A(s))return s;var p,C=0,ae=0;if(zn(s))for(p=[],ae=s.length;C<ae;C++)p.push(t(r,s[C],E));else{p={};for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(p[r(k,E)]=t(r,s[k],E))}return p},a=function(r,s){s=s||{};var E=s.separator||"_",p=s.split||/(?=[A-Z])/;return r.split(p).join(E)},l=function(r){return xn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(s,E){return E?E.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var s=l(r);return s.substr(0,1).toUpperCase()+s.substr(1)},i=function(r,s){return a(r,s).toLowerCase()},c=Object.prototype.toString,A=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},zn=function(r){return c.call(r)=="[object Array]"},jn=function(r){return c.call(r)=="[object Date]"},Tn=function(r){return c.call(r)=="[object RegExp]"},Kn=function(r){return c.call(r)=="[object Boolean]"},xn=function(r){return r=r-0,r===r},V=function(r,s){var E=s&&"process"in s?s.process:s;return typeof E!="function"?r:function(p,C){return E(p,r,C)}},te={camelize:l,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(r,s){return t(V(l,s),r)},decamelizeKeys:function(r,s){return t(V(i,s),r,s)},pascalizeKeys:function(r,s){return t(V(o,s),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=te:u.humps=te})(vn)})(w);var Z={};Object.defineProperty(Z,"__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 Cn=Z.default=N;function Dn(e){if(e!==void 0)return typeof e=="object"?Cn(e):e}function gn(e){return Y(e)&&"zh"in e}function Y(e){return Object.prototype.toString.call(e)==="[object Object]"}function fn(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function f(e){return Array.isArray(e)}function ee(e){return typeof e=="string"}function R(e){return typeof e=="number"}function Sn(e){return typeof e=="function"}function bn(e){return f(e)&&e.every(u=>ee(u))}function In(e){return f(e)&&e.every(u=>R(u))}function yn(e){return f(e)&&e.every(u=>R(u)||u==="")}function Mn(e){return/^\[.*?]$/.test(e)}function $n(e){return/^{.*?}$/.test(e)}function Ln(e){return isNaN(parseFloat(e))?"":Number(e)}function wn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function Nn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function Rn(e=0){return new Promise(u=>{setTimeout(u,e)})}function U(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let l=a;return Array.isArray(a==null?void 0:a.children)&&(l.children=U(a.children,u)),Array.isArray(a==null?void 0:a.footers)&&(l.footers=U(a.footers,u)),u(l)})),t}function Un(e){return w.exports.camelizeKeys(e)}function _n(e){return w.exports.decamelizeKeys(e)}function Vn(e){return Object.values(y).includes(e)}class kn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return ne(this,null,function*(){const a=this._events.get(u),l=[];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),l.push(c),c===!1)break}catch(c){J(String(c)+":"+String(c.stack))}}return l})}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),l=a==null?void 0:a.indexOf(t);a==null||a.splice(l,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Gn=[{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"}],_=class{static getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return _.events.filter(t=>u.includes(t.key))}static getEventsFromControl(e){let u=[];const t=e.eventKeys;u=u.concat(_.events.filter(l=>t.includes(l.key)));const a=e.customEvents.map(l=>{let o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return u=u.concat(a),u}};let ue=_;ue.events=Gn,n.CALC_AGGREGATE_TYPE=z,n.CALC_TOKEN_TYPE=G,n.CONTROL_BASE_TYPE=T,n.CONTROL_TYPE=y,n.CalcScriptEchoItem=tn,n.DEFAULT_LOCALE=j,n.DESIGNER_SLOT=ln,n.DateType=P,n.DepartmentEntity=F,n.EventLogic=ue,n.FORM_TYPE=K,n.FieldTypeToColumnType=rn,n.FieldTypeToLabel=nn,n.FieldTypes=H,n.JSONCopy=Dn,n.OPT_TYPES=x,n.RulesMessage=O,n.UserEntity=m,n.Watcher=kn,n.camelizeKeys=Un,n.debounce=Nn,n.decamelizeKeys=_n,n.error=Bn,n.genNonDuplicateId=on,n.getNotRepeatItems=wn,n.isArray=f,n.isBuiltInControls=Vn,n.isFunction=Sn,n.isJSONArray=Mn,n.isJSONObject=$n,n.isLanguageObject=gn,n.isNumber=R,n.isNumberAndEmptyStringArray=yn,n.isNumberArray=In,n.isObject=fn,n.isPlainObject=Y,n.isString=ee,n.isStringArray=bn,n.log=$,n.logerror=J,n.loop=U,n.loopFormSchema=g,n.noop=an,n.referenceError=pn,n.toNumberOrEmpty=Ln,n.updateValueFromKeys=hn,n.wait=Rn,n.warn=q,Object.defineProperty(n,"__esModule",{value:!0})});
|
|
1
|
+
var ne=(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",re="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",le="\u8BF7\u8F93\u5165\u884C\u6807\u9898",se="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ie="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",oe="\u8BF7\u7ED1\u5B9A\u8868\u5355",ce="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ee="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Be="\u8BF7\u8F93\u5165\u663E\u793A\u503C",pe="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Fe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",me="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",de="\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",he="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ve="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ce="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",De="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ge="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fe="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Se="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ie="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ye="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Me="\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",Le="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ne="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Re="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ue="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_e="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ve="\u8BF7\u9009\u62E9\u7701",ke="\u8BF7\u9009\u62E9\u5E02",Ge="\u8BF7\u9009\u62E9\u533A",ze="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",je="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Te="\u8BF7\u8F93\u5165\u5217\u5BBD",Ke="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",xe="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",He="\u8BF7\u9009\u62E9\u63A7\u4EF6",We="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qe="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Pe="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Je="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ze="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ye="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ru="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",su="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ou="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",pu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Fu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",mu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",du="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Au="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",hu={isNotNumber:S,isNotString:D,isNotObject:b,isNotArray:I,isNotBoolean:A,runtimeRequired:B,pleaseEnterCaption:h,pleaseEnterCaptionTip:re,pleaseEnterRowCaption:le,pleaseEnterPlaceholder:se,pleaseEnterFieldCode:ie,pleaseEnterForm:oe,pleaseEnterList:ce,pleaseEnterProcess:Ee,pleaseEnterLabel:Be,pleaseEnterValue:pe,bizKeyNotBindFiled:Fe,pleaseSelectOneField:me,pleaseEnterNumberRange:de,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:he,numberRangeSetError:ve,stringRangeError:Ce,attachmentMaxSize:De,pleaseEnterTotalScoreSetting:ge,theTotalScoreMustNotBeLessThan1:fe,scoreDefaultValueRange:Se,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:Ie,TheMaximumLengthIsGreaterThanTheMinimumLength:ye,TheMinimumLengthIsGreaterThanTheMaximumLength:Me,PleaseSelectTheCorrectOptionSettings:$e,optionIdIsRepeat:Le,optionIsRequired:we,pleaseEnterDataCode:Ne,pleaseEnterValueFieldCode:Re,pleaseEnterSvcCode:Ue,pleaseBindAtLeastOneDisplayValue:_e,pleaseSelectProvince:Ve,pleaseSelectCity:ke,pleaseSelectDistrict:Ge,limitRowsCannotBeLessThan0:ze,TheNumberOfRowsCannotBeLessThanMinRows:je,pleaseEnterColumnWidth:Te,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ke,pleaseCompleteAllRulesAndConditions:xe,pleaseSelectControl:He,pleaseSelectAtLeastOneColumn:We,pleaseSelectFillBackMode:qe,pleaseSelectDashboard:Pe,rootNodeIsRequired:Je,theViewNameCannotBeEmpty:Xe,pleaseSelectOcrType:Qe,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Ze,pleaseEnterButtonContent:Ye,pleaseEnterDataCodeInDataSetting:eu,pleaseEnterValueFieldCodeInDataSetting:uu,pleaseEnterSvcCodeInDataSetting:tu,pleaseBindAtLeastOneDisplayValueInDataSetting:au,rootNodeIsRequiredInDataSetting:nu,pleaseEnterMaxHeight:ru,pleaseEnter:lu,pleaseEnterWatermark:su,pleaseEnterFileName:iu,pleaseUploadAtLeastOnePrintTemplate:ou,pleaseAssignBusiness:cu,pleaseAssignExternal:Eu,pleaseEnterAliasCode:Bu,pleaseSelectDataCode:pu,pleaseSelectSvcCode:Fu,pleaseSelectJoinFieldCode:mu,pleaseSelectMainFieldCode:du,pleaseSelectSortFieldCode:Au},vu="Please enter a number",Cu="Please enter a string",Du="Please enter an object",gu="Please enter an array",fu="Please enter a boolean",Su="{caption} Required",bu="Please enter the title",Iu="Please enter the bubble prompt",yu="Please enter the row title",Mu="Please enter the prompt text",$u="Please bind data items",Lu="Please bind the form",wu="Please bind the list",Nu="Please bind the process",Ru="Please enter the displayed value",Uu="Please enter the stored value",_u="The document number is not bound to the data item",Vu="Please select at least one display field",ku="Please enter a value greater than or equal to {min} and less than or equal to {max}",Gu="Please enter a value greater than or equal to {min}",zu="Please enter a value less than or equal to {max}",ju="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}",Ku="The attachment size must be between 0MB and 1000MB",xu="Please fill in the total score setting",Hu="The total score cannot be less than 1",Wu="The default value must be between {min} and {max}",qu="The number of attachments uploaded must be between {min} and {max}",Pu="Please re-select the optional quantity",Ju="The maximum length of the control must be greater than the minimum length",Xu="The minimum length of the control must be less than the maximum length",Qu="Please select the correct option setting",Ou="Option ID cannot be repeated",Zu="Please enter at least one option",Yu="Please bind the data source",et="Please bind the stored value",ut="Please bind the service",tt="At least one display value must be bound",at="Please select a province",nt="Please select a city",rt="Please select a district",lt="The minimum number of lines to fill in cannot be less than 0",st="The number of rows cannot be less than {min} rows",it="Please enter the column width",ot="Please set the logical relationship of all rule conditions",ct="Please complete all rules and conditions",Et="please select control",Bt="Please select the dashboard",pt="View name cannot be empty",Ft="Please select recognition type",mt="Please select at least one field to fill in",dt="Please select at least one",At="Please enter the button title",ht="Please bind the business model in the data settings",vt="Please bind storage values in data settings",Ct="Please bind the service in the data settings",Dt="Please bind at least one display value in the data settings",gt="Please select the root node in the data settings",ft="Please enter the maximum height",St="The input content cannot be empty",bt="Watermark cannot be empty",It="File name cannot be empty",yt="Please upload at least one printing template!\uFF01",Mt="Please select a specific business department",$t="Please select a specified external organization",Lt="Please enter a sub table alias",wt="Please select the associated table to set the business model",Nt="Please select the association table to set the binding service",Rt="Select associated sub table fields",Ut="Please select the associated main table field",_t="Please select the sort field",Vt={isNotNumber:vu,isNotString:Cu,isNotObject:Du,isNotArray:gu,isNotBoolean:fu,runtimeRequired:Su,pleaseEnterCaption:bu,pleaseEnterCaptionTip:Iu,pleaseEnterRowCaption:yu,pleaseEnterPlaceholder:Mu,pleaseEnterFieldCode:$u,pleaseEnterForm:Lu,pleaseEnterList:wu,pleaseEnterProcess:Nu,pleaseEnterLabel:Ru,pleaseEnterValue:Uu,bizKeyNotBindFiled:_u,pleaseSelectOneField:Vu,pleaseEnterNumberRange:ku,pleaseEnterAValueGreaterThanMin:Gu,pleaseEnterAValueLessThanMax:zu,numberRangeSetError:ju,stringRangeError:Tu,attachmentMaxSize:Ku,pleaseEnterTotalScoreSetting:xu,theTotalScoreMustNotBeLessThan1:Hu,scoreDefaultValueRange:Wu,attachmentLimitError:qu,PleaseReselectTheOptionalQuantity:Pu,TheMaximumLengthIsGreaterThanTheMinimumLength:Ju,TheMinimumLengthIsGreaterThanTheMaximumLength:Xu,PleaseSelectTheCorrectOptionSettings:Qu,optionIdIsRepeat:Ou,optionIsRequired:Zu,pleaseEnterDataCode:Yu,pleaseEnterValueFieldCode:et,pleaseEnterSvcCode:ut,pleaseBindAtLeastOneDisplayValue:tt,pleaseSelectProvince:at,pleaseSelectCity:nt,pleaseSelectDistrict:rt,limitRowsCannotBeLessThan0:lt,TheNumberOfRowsCannotBeLessThanMinRows:st,pleaseEnterColumnWidth:it,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ot,pleaseCompleteAllRulesAndConditions:ct,pleaseSelectControl:Et,pleaseSelectDashboard:Bt,theViewNameCannotBeEmpty:pt,pleaseSelectOcrType:Ft,pleaseSelectAtLeastOneFieldToFillIn:mt,pleaseChooseAtLeastOne:dt,pleaseEnterButtonContent:At,pleaseEnterDataCodeInDataSetting:ht,pleaseEnterValueFieldCodeInDataSetting:vt,pleaseEnterSvcCodeInDataSetting:Ct,pleaseBindAtLeastOneDisplayValueInDataSetting:Dt,rootNodeIsRequiredInDataSetting:gt,pleaseEnterMaxHeight:ft,pleaseEnter:St,pleaseEnterWatermark:bt,pleaseEnterFileName:It,pleaseUploadAtLeastOnePrintTemplate:yt,pleaseAssignBusiness:Mt,pleaseAssignExternal:$t,pleaseEnterAliasCode:Lt,pleaseSelectDataCode:wt,pleaseSelectSvcCode:Nt,pleaseSelectJoinFieldCode:Rt,pleaseSelectMainFieldCode:Ut,pleaseSelectSortFieldCode:_t},kt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kt="{caption}\u5FC5\u9808",xt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ea="\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",ta="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ra="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",la="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ia="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ca="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ea="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ba="\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",pa="\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",Fa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ma="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",da="\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",ha="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ca="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Da="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fa="\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",ba="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ia="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ma="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",$a="please select control",La="\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",Na="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\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",Ua="\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",Va="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\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",ja="\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",Ka="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ha="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wa="\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",qa="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\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",Za="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ya="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en={isNotNumber:kt,isNotString:Gt,isNotObject:zt,isNotArray:jt,isNotBoolean:Tt,runtimeRequired:Kt,pleaseEnterCaption:xt,pleaseEnterCaptionTip:Ht,pleaseEnterRowCaption:Wt,pleaseEnterPlaceholder:qt,pleaseEnterFieldCode:Pt,pleaseEnterForm:Jt,pleaseEnterList:Xt,pleaseEnterProcess:Qt,pleaseEnterLabel:Ot,pleaseEnterValue:Zt,bizKeyNotBindFiled:Yt,pleaseSelectOneField:ea,pleaseEnterNumberRange:ua,pleaseEnterAValueGreaterThanMin:ta,pleaseEnterAValueLessThanMax:aa,numberRangeSetError:na,stringRangeError:ra,attachmentMaxSize:la,pleaseEnterTotalScoreSetting:sa,theTotalScoreMustNotBeLessThan1:ia,scoreDefaultValueRange:oa,attachmentLimitError:ca,PleaseReselectTheOptionalQuantity:Ea,TheMaximumLengthIsGreaterThanTheMinimumLength:Ba,TheMinimumLengthIsGreaterThanTheMaximumLength:pa,PleaseSelectTheCorrectOptionSettings:Fa,optionIdIsRepeat:ma,optionIsRequired:da,pleaseEnterDataCode:Aa,pleaseEnterValueFieldCode:ha,pleaseEnterSvcCode:va,pleaseBindAtLeastOneDisplayValue:Ca,pleaseSelectProvince:Da,pleaseSelectCity:ga,pleaseSelectDistrict:fa,limitRowsCannotBeLessThan0:Sa,TheNumberOfRowsCannotBeLessThanMinRows:ba,pleaseEnterColumnWidth:Ia,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ya,pleaseCompleteAllRulesAndConditions:Ma,pleaseSelectControl:$a,pleaseSelectDashboard:La,theViewNameCannotBeEmpty:wa,pleaseSelectOcrType:Na,pleaseSelectAtLeastOneFieldToFillIn:Ra,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:_a,pleaseEnterDataCodeInDataSetting:Va,pleaseEnterValueFieldCodeInDataSetting:ka,pleaseEnterSvcCodeInDataSetting:Ga,pleaseBindAtLeastOneDisplayValueInDataSetting:za,rootNodeIsRequiredInDataSetting:ja,pleaseEnterMaxHeight:Ta,pleaseEnter:Ka,pleaseEnterWatermark:xa,pleaseEnterFileName:Ha,pleaseUploadAtLeastOnePrintTemplate:Wa,pleaseAssignBusiness:qa,pleaseAssignExternal:Pa,pleaseEnterAliasCode:Ja,pleaseSelectDataCode:Xa,pleaseSelectSvcCode:Qa,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Za,pleaseSelectSortFieldCode:Ya},un={zhCN:hu,enUS:Vt,jaJP:en},G=(e=>(e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable",e))(G||{}),z=(e=>(e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN",e))(z||{});class tn{constructor(u){var t,a,l,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=(l=u==null?void 0:u.type)!=null?l:"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 j="zh-CN",an=()=>{};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||{}),K=(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))(K||{}),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.VUE_PAGE="vue-page",e))(y||{}),x=(e=>(e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit",e))(x||{}),H=(e=>(e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.REAL_DECIMAL="real-decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.DATETIME="datetime",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))(H||{});const nn={varchar:"\u77ED\u6587\u672C",timestamp:"\u65F6\u95F4",datetime:"\u65F6\u95F4\uFF08datetime\uFF09",text:"\u957F\u6587\u672C",decimal:"\u6570\u503C\u7C7B\u578B",["real-decimal"]:"\u6570\u503C\u7C7B\u578B\uFF08decimal\uFF09",relation:"\u5F15\u7528\u7C7B\u578B",bigint:"\u957F\u6574\u578B",image:"\u56FE\u7247",file:"\u9644\u4EF6",auto_number:"\u81EA\u52A8\u7F16\u53F7",boolean:"\u903B\u8F91",people:"\u4EBA\u5458",location:"\u5730\u5740",department:"\u90E8\u95E8",["relation-field"]:"\u5173\u8054\u5B57\u6BB5",["reference-field"]:"\u5F15\u7528\u5B57\u6BB5",calc:"\u8BA1\u7B97\u516C\u5F0F",json:"JSON",model:"\u6A21\u578B",model_set:"\u6A21\u578B\u96C6\u5408",array:"\u6570\u7EC4"},rn={array:"array-column",auto_number:"auto-number-column",decimal:"decimal-column",["real-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",datetime:"timestamp-column",varchar:"varchar-column",relation:"varchar-column"};var W=(e=>(e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime",e))(W||{});const ln={DEFAULT:"default"},q="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",sn=q+"0123456789";function on(e=15){let u="";for(let t=0;t<e;t++){const a=t===0?q:sn,l=Math.random()*a.length;u+=a[parseInt(String(l),10)]}return u}const M=console;function P(...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 cn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}class L extends Error{constructor(u){super(u),this.name="\u{1F4A5} Driven Error",this.message=u?cn(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}"}}class En extends L{constructor(u){super(u),this.name="\u{1F6A8} Driven Reference Error"}}function Bn(e){throw new L(e)}function pn(e){throw new En(e)}function J(e){M.error(new L(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 Fn=Object.prototype.toString;function X(e,u){return Fn.call(e)==="[object "+u+"]"}function mn(e){return X(e,"String")}function dn(e){return X(e,"Promise")}var An=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();dn(a)?a.then(function(l){t._messageCache.clear(),t.messages[t.localeInMessageKey]=l}):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 l=this.getMessage(u);return l?this.formatMessage(l,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(l,o,i,c){if(l!==void 0){var d=l[o];if(!(i===c.length-1&&!mn(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,l){var o=t[l];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=j){return new An({locale:e,messages:un})}static setLocale(e){return this.$i18n.setLocale(e)}};let O=Q;O.$i18n=Q.resetI18n();function hn(e,u,t){const a=u.replace(/\[(\d)]/g,(o,i)=>"."+i).split(".");let l=!1;return a.reduce((o,i,c,d)=>{const v=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){P(`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,l=!0),v[i]}},e),l}var vn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},w={exports:{}};(function(e){(function(u){var t=function(r,s,E){if(!v(s)||jn(s)||Tn(s)||Kn(s)||d(s))return s;var p,C=0,ae=0;if(zn(s))for(p=[],ae=s.length;C<ae;C++)p.push(t(r,s[C],E));else{p={};for(var k in s)Object.prototype.hasOwnProperty.call(s,k)&&(p[r(k,E)]=t(r,s[k],E))}return p},a=function(r,s){s=s||{};var E=s.separator||"_",p=s.split||/(?=[A-Z])/;return r.split(p).join(E)},l=function(r){return xn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(s,E){return E?E.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var s=l(r);return s.substr(0,1).toUpperCase()+s.substr(1)},i=function(r,s){return a(r,s).toLowerCase()},c=Object.prototype.toString,d=function(r){return typeof r=="function"},v=function(r){return r===Object(r)},zn=function(r){return c.call(r)=="[object Array]"},jn=function(r){return c.call(r)=="[object Date]"},Tn=function(r){return c.call(r)=="[object RegExp]"},Kn=function(r){return c.call(r)=="[object Boolean]"},xn=function(r){return r=r-0,r===r},V=function(r,s){var E=s&&"process"in s?s.process:s;return typeof E!="function"?r:function(p,C){return E(p,r,C)}},te={camelize:l,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(r,s){return t(V(l,s),r)},decamelizeKeys:function(r,s){return t(V(i,s),r,s)},pascalizeKeys:function(r,s){return t(V(o,s),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=te:u.humps=te})(vn)})(w);var Z={};Object.defineProperty(Z,"__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 Cn=Z.default=N;function Dn(e){if(e!==void 0)return typeof e=="object"?Cn(e):e}function gn(e){return Y(e)&&"zh"in e}function Y(e){return Object.prototype.toString.call(e)==="[object Object]"}function fn(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function f(e){return Array.isArray(e)}function ee(e){return typeof e=="string"}function R(e){return typeof e=="number"}function Sn(e){return typeof e=="function"}function bn(e){return f(e)&&e.every(u=>ee(u))}function In(e){return f(e)&&e.every(u=>R(u))}function yn(e){return f(e)&&e.every(u=>R(u)||u==="")}function Mn(e){return/^\[.*?]$/.test(e)}function $n(e){return/^{.*?}$/.test(e)}function Ln(e){return isNaN(parseFloat(e))?"":Number(e)}function wn(e){return e.reduce((u,t)=>(u.includes(t)||u.push(t),u),[])}function Nn(e,u=500){let t;return function(...a){t||(t=setTimeout(()=>{e.apply(this,a),clearTimeout(t),t=null},u))}}function Rn(e=0){return new Promise(u=>{setTimeout(u,e)})}function U(e,u){let t=[];return Array.isArray(e)&&(t=e.map(a=>{let l=a;return Array.isArray(a==null?void 0:a.children)&&(l.children=U(a.children,u)),Array.isArray(a==null?void 0:a.footers)&&(l.footers=U(a.footers,u)),u(l)})),t}function Un(e){return w.exports.camelizeKeys(e)}function _n(e){return w.exports.decamelizeKeys(e)}function Vn(e){return Object.values(y).includes(e)}class kn{constructor(){this._events=new Map,this.debug=!1}emit(u,...t){return ne(this,null,function*(){const a=this._events.get(u),l=[];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),l.push(c),c===!1)break}catch(c){J(String(c)+":"+String(c.stack))}}return l})}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),l=a==null?void 0:a.indexOf(t);a==null||a.splice(l,1)}}delete(u){this._events.has(u)&&this._events.delete(u)}clear(){this._events=new Map}}const Gn=[{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"}],_=class{static getEventsFromKeys(e){const u=typeof e=="string"?[e]:e;return _.events.filter(t=>u.includes(t.key))}static getEventsFromControl(e){let u=[];const t=e.eventKeys;u=u.concat(_.events.filter(l=>t.includes(l.key)));const a=e.customEvents.map(l=>{let o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return u=u.concat(a),u}};let ue=_;ue.events=Gn,n.CALC_AGGREGATE_TYPE=z,n.CALC_TOKEN_TYPE=G,n.CONTROL_BASE_TYPE=T,n.CONTROL_TYPE=y,n.CalcScriptEchoItem=tn,n.DEFAULT_LOCALE=j,n.DESIGNER_SLOT=ln,n.DateType=W,n.DepartmentEntity=F,n.EventLogic=ue,n.FORM_TYPE=K,n.FieldTypeToColumnType=rn,n.FieldTypeToLabel=nn,n.FieldTypes=H,n.JSONCopy=Dn,n.OPT_TYPES=x,n.RulesMessage=O,n.UserEntity=m,n.Watcher=kn,n.camelizeKeys=Un,n.debounce=Nn,n.decamelizeKeys=_n,n.error=Bn,n.genNonDuplicateId=on,n.getNotRepeatItems=wn,n.isArray=f,n.isBuiltInControls=Vn,n.isFunction=Sn,n.isJSONArray=Mn,n.isJSONObject=$n,n.isLanguageObject=gn,n.isNumber=R,n.isNumberAndEmptyStringArray=yn,n.isNumberArray=In,n.isObject=fn,n.isPlainObject=Y,n.isString=ee,n.isStringArray=bn,n.log=$,n.logerror=J,n.loop=U,n.loopFormSchema=g,n.noop=an,n.referenceError=pn,n.toNumberOrEmpty=Ln,n.updateValueFromKeys=hn,n.wait=Rn,n.warn=P,Object.defineProperty(n,"__esModule",{value:!0})});
|
package/dist/types/enum.d.ts
CHANGED
|
@@ -196,9 +196,9 @@ export declare enum FieldTypes {
|
|
|
196
196
|
* */
|
|
197
197
|
TIMESTAMP = "timestamp",
|
|
198
198
|
/**
|
|
199
|
-
* 日期(
|
|
199
|
+
* 日期(datetime), 时间戳字符串 string
|
|
200
200
|
* */
|
|
201
|
-
|
|
201
|
+
DATETIME = "datetime",
|
|
202
202
|
/**
|
|
203
203
|
* 人员, Array<人员id string>
|
|
204
204
|
* */
|
|
@@ -283,7 +283,7 @@ export declare enum FieldTypes {
|
|
|
283
283
|
export declare const FieldTypeToLabel: {
|
|
284
284
|
varchar: string;
|
|
285
285
|
timestamp: string;
|
|
286
|
-
|
|
286
|
+
datetime: string;
|
|
287
287
|
text: string;
|
|
288
288
|
decimal: string;
|
|
289
289
|
"real-decimal": string;
|
|
@@ -317,7 +317,7 @@ export declare const FieldTypeToColumnType: {
|
|
|
317
317
|
text: CONTROL_TYPE;
|
|
318
318
|
timescope: CONTROL_TYPE;
|
|
319
319
|
timestamp: CONTROL_TYPE;
|
|
320
|
-
|
|
320
|
+
datetime: CONTROL_TYPE;
|
|
321
321
|
varchar: CONTROL_TYPE;
|
|
322
322
|
relation: CONTROL_TYPE;
|
|
323
323
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-shared",
|
|
3
|
-
"version": "2.10.0-alpha.
|
|
3
|
+
"version": "2.10.0-alpha.20",
|
|
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": "af5568a2518c27cc4f468c40b137ed808ad44ce7"
|
|
34
34
|
}
|