@byteluck-fe/model-driven-settings 2.8.2-beta.1 → 2.8.2-beta.13
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/README.md +30 -30
- package/dist/esm/default/createBaseFields.js +28 -28
- package/dist/esm/default/createFormBaseFields.js +40 -40
- package/dist/esm/default/index.js +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/initSettings.js +18 -18
- package/dist/esm/props/base.js +7 -7
- package/dist/esm/props/checkbox.js +13 -25
- package/dist/esm/props/custom.js +14 -25
- package/dist/esm/props/input-number.js +16 -30
- package/dist/esm/props/input.js +16 -31
- package/dist/esm/props/radio.js +14 -27
- package/dist/esm/props/select.js +14 -27
- package/dist/esm/props/switch.js +15 -29
- package/dist/esm/props/textarea.js +18 -35
- package/dist/esm/schema/group.js +2 -2
- package/dist/esm/schema/index.js +3 -3
- package/dist/esm/schema/setting.js +3 -3
- package/dist/esm/schema/tab.js +2 -2
- package/dist/index.umd.js +2 -2
- package/dist/types/default/createBaseFields.d.ts +2 -2
- package/dist/types/default/createFormBaseFields.d.ts +3 -3
- package/dist/types/default/index.d.ts +2 -2
- package/dist/types/defineInstance.d.ts +79 -79
- package/dist/types/index.d.ts +4 -4
- package/dist/types/initSettings.d.ts +14 -14
- package/dist/types/props/base.d.ts +21 -21
- package/dist/types/props/checkbox.d.ts +5 -5
- package/dist/types/props/custom.d.ts +5 -5
- package/dist/types/props/input-number.d.ts +7 -7
- package/dist/types/props/input.d.ts +8 -8
- package/dist/types/props/radio.d.ts +6 -6
- package/dist/types/props/select.d.ts +6 -6
- package/dist/types/props/switch.d.ts +7 -7
- package/dist/types/props/textarea.d.ts +10 -10
- package/dist/types/schema/group.d.ts +19 -19
- package/dist/types/schema/index.d.ts +3 -3
- package/dist/types/schema/setting.d.ts +69 -69
- package/dist/types/schema/tab.d.ts +15 -15
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var Wn=Object.defineProperty,Xn=Object.defineProperties;var Jn=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var Qn=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable;var O=(s,c,o)=>c in s?Wn(s,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[c]=o,D=(s,c)=>{for(var o in c||(c={}))Qn.call(c,o)&&O(s,o,c[o]);if(Z)for(var o of Z(c))Zn.call(c,o)&&O(s,o,c[o]);return s},b=(s,c)=>Xn(s,Jn(c));(function(s,c){typeof exports=="object"&&typeof module!="undefined"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(s=typeof globalThis!="undefined"?globalThis:s||self,c(s.modelDrivenSettings={}))})(this,function(s){"use strict";function c(e){return e}class o{constructor(u){var t,a,n;this.visible=(t=u==null?void 0:u.visible)!=null?t:!0,this.expression=(a=u==null?void 0:u.expression)!=null?a:!1,this.updateParent=(n=u==null?void 0:u.updateParent)!=null?n:!1}get isAtomicComponent(){return!0}}var Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",te="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ne="{caption}\u5FC5\u586B",re="\u8BF7\u8F93\u5165\u6807\u9898",ie="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",le="\u8BF7\u8F93\u5165\u884C\u6807\u9898",se="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",oe="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ce="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ee="\u8BF7\u7ED1\u5B9A\u5217\u8868",me="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Be="\u8BF7\u8F93\u5165\u663E\u793A\u503C",he="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",pe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",de="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ve="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Fe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\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",ge="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",De="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",be="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Se="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ye="\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",Me="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$e="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",we="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",_e="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",xe="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Re="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Le="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ue="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ke="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ne="\u8BF7\u9009\u62E9\u7701",Pe="\u8BF7\u9009\u62E9\u5E02",Ve="\u8BF7\u9009\u62E9\u533A",Ge="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ze="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",He="\u8BF7\u8F93\u5165\u5217\u5BBD",Te="\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",qe="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ke="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",We="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Xe="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Je="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ze="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ye="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",eu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ru="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",iu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",su="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ou="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",hu="\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",du="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",vu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",fu="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Fu={isNotNumber:Y,isNotString:ee,isNotObject:ue,isNotArray:te,isNotBoolean:ae,runtimeRequired:ne,pleaseEnterCaption:re,pleaseEnterCaptionTip:ie,pleaseEnterRowCaption:le,pleaseEnterPlaceholder:se,pleaseEnterFieldCode:oe,pleaseEnterForm:ce,pleaseEnterList:Ee,pleaseEnterProcess:me,pleaseEnterLabel:Be,pleaseEnterValue:he,bizKeyNotBindFiled:pe,pleaseSelectOneField:de,pleaseEnterNumberRange:ve,pleaseEnterAValueGreaterThanMin:fe,pleaseEnterAValueLessThanMax:Fe,numberRangeSetError:Ae,stringRangeError:Ce,attachmentMaxSize:ge,pleaseEnterTotalScoreSetting:De,theTotalScoreMustNotBeLessThan1:be,scoreDefaultValueRange:Se,attachmentLimitError:ye,PleaseReselectTheOptionalQuantity:Ie,TheMaximumLengthIsGreaterThanTheMinimumLength:Me,TheMinimumLengthIsGreaterThanTheMaximumLength:$e,PleaseSelectTheCorrectOptionSettings:we,optionIdIsRepeat:_e,optionIsRequired:xe,pleaseEnterDataCode:Re,pleaseEnterValueFieldCode:Le,pleaseEnterSvcCode:Ue,pleaseBindAtLeastOneDisplayValue:ke,pleaseSelectProvince:Ne,pleaseSelectCity:Pe,pleaseSelectDistrict:Ve,limitRowsCannotBeLessThan0:Ge,TheNumberOfRowsCannotBeLessThanMinRows:ze,pleaseEnterColumnWidth:He,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Te,pleaseCompleteAllRulesAndConditions:je,pleaseSelectControl:qe,pleaseSelectAtLeastOneColumn:Ke,pleaseSelectFillBackMode:We,pleaseSelectDashboard:Xe,rootNodeIsRequired:Je,theViewNameCannotBeEmpty:Qe,pleaseSelectOcrType:Ze,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Ye,pleaseEnterButtonContent:eu,pleaseEnterDataCodeInDataSetting:uu,pleaseEnterValueFieldCodeInDataSetting:tu,pleaseEnterSvcCodeInDataSetting:au,pleaseBindAtLeastOneDisplayValueInDataSetting:nu,rootNodeIsRequiredInDataSetting:ru,pleaseEnterMaxHeight:iu,pleaseEnter:lu,pleaseEnterWatermark:su,pleaseEnterFileName:ou,pleaseUploadAtLeastOnePrintTemplate:cu,pleaseAssignBusiness:Eu,pleaseAssignExternal:mu,pleaseEnterAliasCode:Bu,pleaseSelectDataCode:hu,pleaseSelectSvcCode:pu,pleaseSelectJoinFieldCode:du,pleaseSelectMainFieldCode:vu,pleaseSelectSortFieldCode:fu},Au="Please enter a number",Cu="Please enter a string",gu="Please enter an object",Du="Please enter an array",bu="Please enter a boolean",Su="{caption} Required",yu="Please enter the title",Iu="Please enter the bubble prompt",Mu="Please enter the row title",$u="Please enter the prompt text",wu="Please bind data items",_u="Please bind the form",xu="Please bind the list",Ru="Please bind the process",Lu="Please enter the displayed value",Uu="Please enter the stored value",ku="The document number is not bound to the data item",Nu="Please select at least one display field",Pu="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}",Gu="Please enter a value less than or equal to {max}",zu="The value range is set incorrectly",Hu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Tu="The attachment size must be between 0MB and 1000MB",ju="Please fill in the total score setting",qu="The total score cannot be less than 1",Ku="The default value must be between {min} and {max}",Wu="The number of attachments uploaded must be between {min} and {max}",Xu="Please re-select the optional quantity",Ju="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",Zu="Please select the correct option setting",Ou="Option ID cannot be repeated",Yu="Please enter at least one option",et="Please bind the data source",ut="Please bind the stored value",tt="Please bind the service",at="At least one display value must be bound",nt="Please select a province",rt="Please select a city",it="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",ot="Please enter the column width",ct="Please set the logical relationship of all rule conditions",Et="Please complete all rules and conditions",mt="please select control",Bt="Please select the dashboard",ht="View name cannot be empty",pt="Please select recognition type",dt="Please select at least one field to fill in",vt="Please select at least one",ft="Please enter the button title",Ft="Please bind the business model in the data settings",At="Please bind storage values in data settings",Ct="Please bind the service in the data settings",gt="Please bind at least one display value in the data settings",Dt="Please select the root node in the data settings",bt="Please enter the maximum height",St="The input content cannot be empty",yt="Watermark cannot be empty",It="File name cannot be empty",Mt="Please upload at least one printing template!\uFF01",$t="Please select a specific business department",wt="Please select a specified external organization",_t="Please enter a sub table alias",xt="Please select the associated table to set the business model",Rt="Please select the association table to set the binding service",Lt="Select associated sub table fields",Ut="Please select the associated main table field",kt="Please select the sort field",Nt={isNotNumber:Au,isNotString:Cu,isNotObject:gu,isNotArray:Du,isNotBoolean:bu,runtimeRequired:Su,pleaseEnterCaption:yu,pleaseEnterCaptionTip:Iu,pleaseEnterRowCaption:Mu,pleaseEnterPlaceholder:$u,pleaseEnterFieldCode:wu,pleaseEnterForm:_u,pleaseEnterList:xu,pleaseEnterProcess:Ru,pleaseEnterLabel:Lu,pleaseEnterValue:Uu,bizKeyNotBindFiled:ku,pleaseSelectOneField:Nu,pleaseEnterNumberRange:Pu,pleaseEnterAValueGreaterThanMin:Vu,pleaseEnterAValueLessThanMax:Gu,numberRangeSetError:zu,stringRangeError:Hu,attachmentMaxSize:Tu,pleaseEnterTotalScoreSetting:ju,theTotalScoreMustNotBeLessThan1:qu,scoreDefaultValueRange:Ku,attachmentLimitError:Wu,PleaseReselectTheOptionalQuantity:Xu,TheMaximumLengthIsGreaterThanTheMinimumLength:Ju,TheMinimumLengthIsGreaterThanTheMaximumLength:Qu,PleaseSelectTheCorrectOptionSettings:Zu,optionIdIsRepeat:Ou,optionIsRequired:Yu,pleaseEnterDataCode:et,pleaseEnterValueFieldCode:ut,pleaseEnterSvcCode:tt,pleaseBindAtLeastOneDisplayValue:at,pleaseSelectProvince:nt,pleaseSelectCity:rt,pleaseSelectDistrict:it,limitRowsCannotBeLessThan0:lt,TheNumberOfRowsCannotBeLessThanMinRows:st,pleaseEnterColumnWidth:ot,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ct,pleaseCompleteAllRulesAndConditions:Et,pleaseSelectControl:mt,pleaseSelectDashboard:Bt,theViewNameCannotBeEmpty:ht,pleaseSelectOcrType:pt,pleaseSelectAtLeastOneFieldToFillIn:dt,pleaseChooseAtLeastOne:vt,pleaseEnterButtonContent:ft,pleaseEnterDataCodeInDataSetting:Ft,pleaseEnterValueFieldCodeInDataSetting:At,pleaseEnterSvcCodeInDataSetting:Ct,pleaseBindAtLeastOneDisplayValueInDataSetting:gt,rootNodeIsRequiredInDataSetting:Dt,pleaseEnterMaxHeight:bt,pleaseEnter:St,pleaseEnterWatermark:yt,pleaseEnterFileName:It,pleaseUploadAtLeastOnePrintTemplate:Mt,pleaseAssignBusiness:$t,pleaseAssignExternal:wt,pleaseEnterAliasCode:_t,pleaseSelectDataCode:xt,pleaseSelectSvcCode:Rt,pleaseSelectJoinFieldCode:Lt,pleaseSelectMainFieldCode:Ut,pleaseSelectSortFieldCode:kt},Pt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="{caption}\u5FC5\u9808",jt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qt="\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",Wt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xt="\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",Qt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ea="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ua="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ta="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ra="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ia="\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",oa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ca="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ea="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ma="\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",ha="\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",da="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",va="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\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",Ca="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ga="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ba="\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",ya="\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",Ma="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$a="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wa="please select control",_a="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ra="\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",Ua="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ka="\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",Pa="\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",Ga="\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",za="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\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",qa="\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",Wa="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\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",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",Za="\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",Ya="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",un={isNotNumber:Pt,isNotString:Vt,isNotObject:Gt,isNotArray:zt,isNotBoolean:Ht,runtimeRequired:Tt,pleaseEnterCaption:jt,pleaseEnterCaptionTip:qt,pleaseEnterRowCaption:Kt,pleaseEnterPlaceholder:Wt,pleaseEnterFieldCode:Xt,pleaseEnterForm:Jt,pleaseEnterList:Qt,pleaseEnterProcess:Zt,pleaseEnterLabel:Ot,pleaseEnterValue:Yt,bizKeyNotBindFiled:ea,pleaseSelectOneField:ua,pleaseEnterNumberRange:ta,pleaseEnterAValueGreaterThanMin:aa,pleaseEnterAValueLessThanMax:na,numberRangeSetError:ra,stringRangeError:ia,attachmentMaxSize:la,pleaseEnterTotalScoreSetting:sa,theTotalScoreMustNotBeLessThan1:oa,scoreDefaultValueRange:ca,attachmentLimitError:Ea,PleaseReselectTheOptionalQuantity:ma,TheMaximumLengthIsGreaterThanTheMinimumLength:Ba,TheMinimumLengthIsGreaterThanTheMaximumLength:ha,PleaseSelectTheCorrectOptionSettings:pa,optionIdIsRepeat:da,optionIsRequired:va,pleaseEnterDataCode:fa,pleaseEnterValueFieldCode:Fa,pleaseEnterSvcCode:Aa,pleaseBindAtLeastOneDisplayValue:Ca,pleaseSelectProvince:ga,pleaseSelectCity:Da,pleaseSelectDistrict:ba,limitRowsCannotBeLessThan0:Sa,TheNumberOfRowsCannotBeLessThanMinRows:ya,pleaseEnterColumnWidth:Ia,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ma,pleaseCompleteAllRulesAndConditions:$a,pleaseSelectControl:wa,pleaseSelectDashboard:_a,theViewNameCannotBeEmpty:xa,pleaseSelectOcrType:Ra,pleaseSelectAtLeastOneFieldToFillIn:La,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:ka,pleaseEnterDataCodeInDataSetting:Na,pleaseEnterValueFieldCodeInDataSetting:Pa,pleaseEnterSvcCodeInDataSetting:Va,pleaseBindAtLeastOneDisplayValueInDataSetting:Ga,rootNodeIsRequiredInDataSetting:za,pleaseEnterMaxHeight:Ha,pleaseEnter:Ta,pleaseEnterWatermark:ja,pleaseEnterFileName:qa,pleaseUploadAtLeastOnePrintTemplate:Ka,pleaseAssignBusiness:Wa,pleaseAssignExternal:Xa,pleaseEnterAliasCode:Ja,pleaseSelectDataCode:Qa,pleaseSelectSvcCode:Za,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Ya,pleaseSelectSortFieldCode:en},tn={zhCN:Fu,enUS:Nt,jaJP:un},$;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})($||($={}));var w;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(w||(w={}));var an="zh-CN",nn=function(){};function h(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var _;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(_||(_={}));var x;(function(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"})(x||(x={}));var R;(function(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"})(R||(R={}));var L;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(L||(L={}));var U;(function(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"})(U||(U={}));var m;m={},h(m,"array","array-column"),h(m,"auto_number","auto-number-column"),h(m,"decimal","decimal-column"),h(m,"department","department-column"),h(m,"file","file-column"),h(m,"image","image-column"),h(m,"location","location-column"),h(m,"people","employee-column"),h(m,"text","text-column"),h(m,"timescope","timescope-column"),h(m,"timestamp","timestamp-column"),h(m,"varchar","varchar-column"),h(m,"relation","varchar-column");var k;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(k||(k={}));function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function C(e,u,t){return N()?C=Reflect.construct:C=function(n,l,E){var B=[null];B.push.apply(B,l);var v=Function.bind.apply(n,B),g=new v;return E&&F(g,E.prototype),g},C.apply(null,arguments)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(e)}function sn(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),u&&F(e,u)}function on(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function cn(e,u){return u&&(En(u)==="object"||typeof u=="function")?u:rn(e)}function F(e,u){return F=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},F(e,u)}function En(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S(e){var u=typeof Map=="function"?new Map:void 0;return S=function(a){if(a===null||!on(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof u!="undefined"){if(u.has(a))return u.get(a);u.set(a,n)}function n(){return C(a,arguments,f(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),F(n,a)},S(e)}function N(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mn(e){var u=N();return function(){var a=f(e),n;if(u){var l=f(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return cn(this,n)}}function Bn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var hn=function(e){sn(t,e);var u=mn(t);function t(a){ln(this,t);var n;return n=u.call(this,a),n.name="\u{1F4A5} Driven Error",n.message=a?Bn(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return t}(S(Error));function pn(e){throw new hn(e)}var dn=Object.prototype.toString;function P(e,u){return dn.call(e)==="[object "+u+"]"}function vn(e){return P(e,"String")}function fn(e){return P(e,"Promise")}var Fn=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(n){t._messageCache.clear(),t.messages[t.localeInMessageKey]=n}):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 n=this.getMessage(u);return n?this.formatMessage(n,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(n,l,E,B){if(n!==void 0){var v=n[l];if(!(E===B.length-1&&!vn(v)))return v}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,n){var l=t[n];return l!==void 0?String(l):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}();function An(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function V(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Cn(e,u,t){return u&&V(e.prototype,u),t&&V(e,t),e}function gn(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var G=function(){function e(){An(this,e)}return Cn(e,null,[{key:"getMessage",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",a)}},{key:"resetI18n",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:an;return new Fn({locale:t,messages:tn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();gn(G,"$i18n",G.resetI18n());var Dn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},bn={exports:{}};(function(e){(function(u){var t=function(r,i,p){if(!g(i)||Tn(i)||jn(i)||qn(i)||v(i))return i;var d,A=0,Q=0;if(Hn(i))for(d=[],Q=i.length;A<Q;A++)d.push(t(r,i[A],p));else{d={};for(var M in i)Object.prototype.hasOwnProperty.call(i,M)&&(d[r(M,p)]=t(r,i[M],p))}return d},a=function(r,i){i=i||{};var p=i.separator||"_",d=i.split||/(?=[A-Z])/;return r.split(d).join(p)},n=function(r){return Kn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(i,p){return p?p.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},l=function(r){var i=n(r);return i.substr(0,1).toUpperCase()+i.substr(1)},E=function(r,i){return a(r,i).toLowerCase()},B=Object.prototype.toString,v=function(r){return typeof r=="function"},g=function(r){return r===Object(r)},Hn=function(r){return B.call(r)=="[object Array]"},Tn=function(r){return B.call(r)=="[object Date]"},jn=function(r){return B.call(r)=="[object RegExp]"},qn=function(r){return B.call(r)=="[object Boolean]"},Kn=function(r){return r=r-0,r===r},I=function(r,i){var p=i&&"process"in i?i.process:i;return typeof p!="function"?r:function(d,A){return p(d,r,A)}},J={camelize:n,decamelize:E,pascalize:l,depascalize:E,camelizeKeys:function(r,i){return t(I(n,i),r)},decamelizeKeys:function(r,i){return t(I(E,i),r,i)},pascalizeKeys:function(r,i){return t(I(l,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=J:u.humps=J})(Dn)})(bn);var z={};Object.defineProperty(z,"__esModule",{value:!0});function y(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:y(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:y(a)}return u}}z.default=y;function H(e){return Object.prototype.toString.call(e)==="[object Object]"}function Sn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function T(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function yn(e,u,t){return u&&T(e.prototype,u),t&&T(e,t),e}function In(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var Mn=[{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"}],$n=function(){function e(){Sn(this,e)}return yn(e,null,[{key:"getEventsFromKeys",value:function(t){var a=typeof t=="string"?[t]:t;return e.events.filter(function(n){return a.includes(n.key)})}},{key:"getEventsFromControl",value:function(t){var a=[],n=t.eventKeys;a=a.concat(e.events.filter(function(E){return n.includes(E.key)}));var l=t.customEvents.map(function(E){var B=E.key;return{key:B,code:E.key,name:E.name}});return a=a.concat(l),a}}]),e}();In($n,"events",Mn);class j{constructor(u){var t,a,n;this.type=u.type,this.label=u.label,this.key=u.key,this.component=u.component,this.effect=(t=u.effect)!=null?t:{},this.scopeEffect=(a=u.scopeEffect)!=null?a:nn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(n=u.props)!=null?n:new o,this.effectKeys=Object.keys(this.effect)}filterEffects(u){return u===""?Object.values(this.effect):this.effectKeys.filter(t=>new RegExp(`^${t}(\\.\\w+)*$`).test(u)).map(t=>this.effect[t])}callEffectFn(u,t){try{const a=u.apply(null,t);H(a)&&Object.assign(this.props,a)}catch(a){pn(`effect error
|
|
2
|
-
${a}`)}}callEffect(u,...t){this.filterEffects(u).forEach(a=>this.callEffectFn(a,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class q{constructor(u){var t,a;this.type="group",this.title=(t=u.title)!=null?t:"",this.required=(a=u.required)!=null?a:!1,this.items=u.items,this.tips=u.tips,this.visible=u.items.some(n=>{var
|
|
1
|
+
var Wn=Object.defineProperty,Xn=Object.defineProperties;var Jn=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var Qn=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable;var O=(l,c,o)=>c in l?Wn(l,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[c]=o,b=(l,c)=>{for(var o in c||(c={}))Qn.call(c,o)&&O(l,o,c[o]);if(Z)for(var o of Z(c))Zn.call(c,o)&&O(l,o,c[o]);return l},D=(l,c)=>Xn(l,Jn(c));(function(l,c){typeof exports=="object"&&typeof module!="undefined"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(l=typeof globalThis!="undefined"?globalThis:l||self,c(l.modelDrivenSettings={}))})(this,function(l){"use strict";function c(e){return e}class o{constructor(u){var t,a,n;this.visible=(t=u==null?void 0:u.visible)!=null?t:!0,this.expression=(a=u==null?void 0:u.expression)!=null?a:!1,this.updateParent=(n=u==null?void 0:u.updateParent)!=null?n:!1}get isAtomicComponent(){return!0}}var Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",te="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ne="{caption}\u5FC5\u586B",re="\u8BF7\u8F93\u5165\u6807\u9898",ie="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",le="\u8BF7\u8F93\u5165\u884C\u6807\u9898",se="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",oe="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ce="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ee="\u8BF7\u7ED1\u5B9A\u5217\u8868",Be="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",me="\u8BF7\u8F93\u5165\u663E\u793A\u503C",pe="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",he="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",de="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ve="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ge="\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",be="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",De="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Se="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ye="\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",Me="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$e="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",we="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",_e="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",xe="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Re="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Le="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ue="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ke="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ne="\u8BF7\u9009\u62E9\u7701",Ve="\u8BF7\u9009\u62E9\u5E02",Pe="\u8BF7\u9009\u62E9\u533A",Ge="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Te="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ze="\u8BF7\u8F93\u5165\u5217\u5BBD",He="\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",qe="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ke="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",We="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Xe="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Je="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ze="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ye="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",eu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ru="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",iu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",su="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ou="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Bu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",pu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",hu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",du="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",vu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Fu="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Au={isNotNumber:Y,isNotString:ee,isNotObject:ue,isNotArray:te,isNotBoolean:ae,runtimeRequired:ne,pleaseEnterCaption:re,pleaseEnterCaptionTip:ie,pleaseEnterRowCaption:le,pleaseEnterPlaceholder:se,pleaseEnterFieldCode:oe,pleaseEnterForm:ce,pleaseEnterList:Ee,pleaseEnterProcess:Be,pleaseEnterLabel:me,pleaseEnterValue:pe,bizKeyNotBindFiled:he,pleaseSelectOneField:de,pleaseEnterNumberRange:ve,pleaseEnterAValueGreaterThanMin:Fe,pleaseEnterAValueLessThanMax:Ae,numberRangeSetError:fe,stringRangeError:ge,attachmentMaxSize:Ce,pleaseEnterTotalScoreSetting:be,theTotalScoreMustNotBeLessThan1:De,scoreDefaultValueRange:Se,attachmentLimitError:ye,PleaseReselectTheOptionalQuantity:Ie,TheMaximumLengthIsGreaterThanTheMinimumLength:Me,TheMinimumLengthIsGreaterThanTheMaximumLength:$e,PleaseSelectTheCorrectOptionSettings:we,optionIdIsRepeat:_e,optionIsRequired:xe,pleaseEnterDataCode:Re,pleaseEnterValueFieldCode:Le,pleaseEnterSvcCode:Ue,pleaseBindAtLeastOneDisplayValue:ke,pleaseSelectProvince:Ne,pleaseSelectCity:Ve,pleaseSelectDistrict:Pe,limitRowsCannotBeLessThan0:Ge,TheNumberOfRowsCannotBeLessThanMinRows:Te,pleaseEnterColumnWidth:ze,pleaseSetTheLogicalRelationshipOfAllRuleConditions:He,pleaseCompleteAllRulesAndConditions:je,pleaseSelectControl:qe,pleaseSelectAtLeastOneColumn:Ke,pleaseSelectFillBackMode:We,pleaseSelectDashboard:Xe,rootNodeIsRequired:Je,theViewNameCannotBeEmpty:Qe,pleaseSelectOcrType:Ze,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Ye,pleaseEnterButtonContent:eu,pleaseEnterDataCodeInDataSetting:uu,pleaseEnterValueFieldCodeInDataSetting:tu,pleaseEnterSvcCodeInDataSetting:au,pleaseBindAtLeastOneDisplayValueInDataSetting:nu,rootNodeIsRequiredInDataSetting:ru,pleaseEnterMaxHeight:iu,pleaseEnter:lu,pleaseEnterWatermark:su,pleaseEnterFileName:ou,pleaseUploadAtLeastOnePrintTemplate:cu,pleaseAssignBusiness:Eu,pleaseAssignExternal:Bu,pleaseEnterAliasCode:mu,pleaseSelectDataCode:pu,pleaseSelectSvcCode:hu,pleaseSelectJoinFieldCode:du,pleaseSelectMainFieldCode:vu,pleaseSelectSortFieldCode:Fu},fu="Please enter a number",gu="Please enter a string",Cu="Please enter an object",bu="Please enter an array",Du="Please enter a boolean",Su="{caption} Required",yu="Please enter the title",Iu="Please enter the bubble prompt",Mu="Please enter the row title",$u="Please enter the prompt text",wu="Please bind data items",_u="Please bind the form",xu="Please bind the list",Ru="Please bind the process",Lu="Please enter the displayed value",Uu="Please enter the stored value",ku="The document number is not bound to the data item",Nu="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}",Pu="Please enter a value greater than or equal to {min}",Gu="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",zu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Hu="The attachment size must be between 0MB and 1000MB",ju="Please fill in the total score setting",qu="The total score cannot be less than 1",Ku="The default value must be between {min} and {max}",Wu="The number of attachments uploaded must be between {min} and {max}",Xu="Please re-select the optional quantity",Ju="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",Zu="Please select the correct option setting",Ou="Option ID cannot be repeated",Yu="Please enter at least one option",et="Please bind the data source",ut="Please bind the stored value",tt="Please bind the service",at="At least one display value must be bound",nt="Please select a province",rt="Please select a city",it="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",ot="Please enter the column width",ct="Please set the logical relationship of all rule conditions",Et="Please complete all rules and conditions",Bt="please select control",mt="Please select the dashboard",pt="View name cannot be empty",ht="Please select recognition type",dt="Please select at least one field to fill in",vt="Please select at least one",Ft="Please enter the button title",At="Please bind the business model in the data settings",ft="Please bind storage values in data settings",gt="Please bind the service in the data settings",Ct="Please bind at least one display value in the data settings",bt="Please select the root node in the data settings",Dt="Please enter the maximum height",St="The input content cannot be empty",yt="Watermark cannot be empty",It="File name cannot be empty",Mt="Please upload at least one printing template!\uFF01",$t="Please select a specific business department",wt="Please select a specified external organization",_t="Please enter a sub table alias",xt="Please select the associated table to set the business model",Rt="Please select the association table to set the binding service",Lt="Select associated sub table fields",Ut="Please select the associated main table field",kt="Please select the sort field",Nt={isNotNumber:fu,isNotString:gu,isNotObject:Cu,isNotArray:bu,isNotBoolean:Du,runtimeRequired:Su,pleaseEnterCaption:yu,pleaseEnterCaptionTip:Iu,pleaseEnterRowCaption:Mu,pleaseEnterPlaceholder:$u,pleaseEnterFieldCode:wu,pleaseEnterForm:_u,pleaseEnterList:xu,pleaseEnterProcess:Ru,pleaseEnterLabel:Lu,pleaseEnterValue:Uu,bizKeyNotBindFiled:ku,pleaseSelectOneField:Nu,pleaseEnterNumberRange:Vu,pleaseEnterAValueGreaterThanMin:Pu,pleaseEnterAValueLessThanMax:Gu,numberRangeSetError:Tu,stringRangeError:zu,attachmentMaxSize:Hu,pleaseEnterTotalScoreSetting:ju,theTotalScoreMustNotBeLessThan1:qu,scoreDefaultValueRange:Ku,attachmentLimitError:Wu,PleaseReselectTheOptionalQuantity:Xu,TheMaximumLengthIsGreaterThanTheMinimumLength:Ju,TheMinimumLengthIsGreaterThanTheMaximumLength:Qu,PleaseSelectTheCorrectOptionSettings:Zu,optionIdIsRepeat:Ou,optionIsRequired:Yu,pleaseEnterDataCode:et,pleaseEnterValueFieldCode:ut,pleaseEnterSvcCode:tt,pleaseBindAtLeastOneDisplayValue:at,pleaseSelectProvince:nt,pleaseSelectCity:rt,pleaseSelectDistrict:it,limitRowsCannotBeLessThan0:lt,TheNumberOfRowsCannotBeLessThanMinRows:st,pleaseEnterColumnWidth:ot,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ct,pleaseCompleteAllRulesAndConditions:Et,pleaseSelectControl:Bt,pleaseSelectDashboard:mt,theViewNameCannotBeEmpty:pt,pleaseSelectOcrType:ht,pleaseSelectAtLeastOneFieldToFillIn:dt,pleaseChooseAtLeastOne:vt,pleaseEnterButtonContent:Ft,pleaseEnterDataCodeInDataSetting:At,pleaseEnterValueFieldCodeInDataSetting:ft,pleaseEnterSvcCodeInDataSetting:gt,pleaseBindAtLeastOneDisplayValueInDataSetting:Ct,rootNodeIsRequiredInDataSetting:bt,pleaseEnterMaxHeight:Dt,pleaseEnter:St,pleaseEnterWatermark:yt,pleaseEnterFileName:It,pleaseUploadAtLeastOnePrintTemplate:Mt,pleaseAssignBusiness:$t,pleaseAssignExternal:wt,pleaseEnterAliasCode:_t,pleaseSelectDataCode:xt,pleaseSelectSvcCode:Rt,pleaseSelectJoinFieldCode:Lt,pleaseSelectMainFieldCode:Ut,pleaseSelectSortFieldCode:kt},Vt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="{caption}\u5FC5\u9808",jt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qt="\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",Wt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xt="\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",Qt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ea="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ua="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ta="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",na="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ra="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ia="\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",oa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ca="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ea="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ba="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ma="\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",ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",da="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",va="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ga="\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",ba="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\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",ya="\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",Ma="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$a="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wa="please select control",_a="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ra="\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",Ua="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ka="\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",Va="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\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",za="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\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",qa="\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",Wa="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\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",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",Za="\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",Ya="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",un={isNotNumber:Vt,isNotString:Pt,isNotObject:Gt,isNotArray:Tt,isNotBoolean:zt,runtimeRequired:Ht,pleaseEnterCaption:jt,pleaseEnterCaptionTip:qt,pleaseEnterRowCaption:Kt,pleaseEnterPlaceholder:Wt,pleaseEnterFieldCode:Xt,pleaseEnterForm:Jt,pleaseEnterList:Qt,pleaseEnterProcess:Zt,pleaseEnterLabel:Ot,pleaseEnterValue:Yt,bizKeyNotBindFiled:ea,pleaseSelectOneField:ua,pleaseEnterNumberRange:ta,pleaseEnterAValueGreaterThanMin:aa,pleaseEnterAValueLessThanMax:na,numberRangeSetError:ra,stringRangeError:ia,attachmentMaxSize:la,pleaseEnterTotalScoreSetting:sa,theTotalScoreMustNotBeLessThan1:oa,scoreDefaultValueRange:ca,attachmentLimitError:Ea,PleaseReselectTheOptionalQuantity:Ba,TheMaximumLengthIsGreaterThanTheMinimumLength:ma,TheMinimumLengthIsGreaterThanTheMaximumLength:pa,PleaseSelectTheCorrectOptionSettings:ha,optionIdIsRepeat:da,optionIsRequired:va,pleaseEnterDataCode:Fa,pleaseEnterValueFieldCode:Aa,pleaseEnterSvcCode:fa,pleaseBindAtLeastOneDisplayValue:ga,pleaseSelectProvince:Ca,pleaseSelectCity:ba,pleaseSelectDistrict:Da,limitRowsCannotBeLessThan0:Sa,TheNumberOfRowsCannotBeLessThanMinRows:ya,pleaseEnterColumnWidth:Ia,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ma,pleaseCompleteAllRulesAndConditions:$a,pleaseSelectControl:wa,pleaseSelectDashboard:_a,theViewNameCannotBeEmpty:xa,pleaseSelectOcrType:Ra,pleaseSelectAtLeastOneFieldToFillIn:La,pleaseChooseAtLeastOne:Ua,pleaseEnterButtonContent:ka,pleaseEnterDataCodeInDataSetting:Na,pleaseEnterValueFieldCodeInDataSetting:Va,pleaseEnterSvcCodeInDataSetting:Pa,pleaseBindAtLeastOneDisplayValueInDataSetting:Ga,rootNodeIsRequiredInDataSetting:Ta,pleaseEnterMaxHeight:za,pleaseEnter:Ha,pleaseEnterWatermark:ja,pleaseEnterFileName:qa,pleaseUploadAtLeastOnePrintTemplate:Ka,pleaseAssignBusiness:Wa,pleaseAssignExternal:Xa,pleaseEnterAliasCode:Ja,pleaseSelectDataCode:Qa,pleaseSelectSvcCode:Za,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Ya,pleaseSelectSortFieldCode:en},tn={zhCN:Au,enUS:Nt,jaJP:un},w;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(w||(w={}));var _;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(_||(_={}));var an="zh-CN",nn=function(){};function p(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var x;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(x||(x={}));var R;(function(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"})(R||(R={}));var L;(function(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.OPERATION_BUTTON="operation-button",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"})(L||(L={}));var U;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(U||(U={}));var k;(function(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"})(k||(k={}));var B;B={},p(B,"array","array-column"),p(B,"auto_number","auto-number-column"),p(B,"decimal","decimal-column"),p(B,"department","department-column"),p(B,"file","file-column"),p(B,"image","image-column"),p(B,"location","location-column"),p(B,"people","employee-column"),p(B,"text","text-column"),p(B,"timescope","timescope-column"),p(B,"timestamp","timestamp-column"),p(B,"varchar","varchar-column"),p(B,"relation","varchar-column");var N;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(N||(N={}));function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ln(e,u,t){return u=F(u),En(e,y()?Reflect.construct(u,t||[],F(e).constructor):u.apply(e,t))}function sn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function g(e,u,t){return y()?g=Reflect.construct:g=function(n,s,E){var m=[null];m.push.apply(m,s);var v=Function.bind.apply(n,m),C=new v;return E&&A(C,E.prototype),C},g.apply(null,arguments)}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},F(e)}function on(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),u&&A(e,u)}function cn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function En(e,u){return u&&(Bn(u)==="object"||typeof u=="function")?u:rn(e)}function A(e,u){return A=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},A(e,u)}function Bn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S(e){var u=typeof Map=="function"?new Map:void 0;return S=function(a){if(a===null||!cn(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof u!="undefined"){if(u.has(a))return u.get(a);u.set(a,n)}function n(){return g(a,arguments,F(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),A(n,a)},S(e)}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(u){}return(y=function(){return!!e})()}function mn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var pn=function(e){on(u,e);function u(t){sn(this,u);var a;return a=ln(this,u,[t]),a.name="\u{1F4A5} Driven Error",a.message=t?mn(t):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return u}(S(Error));function hn(e){throw new pn(e)}var dn=Object.prototype.toString;function V(e,u){return dn.call(e)==="[object "+u+"]"}function vn(e){return V(e,"String")}function Fn(e){return V(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();Fn(a)?a.then(function(n){t._messageCache.clear(),t.messages[t.localeInMessageKey]=n}):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 n=this.getMessage(u);return n?this.formatMessage(n,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(n,s,E,m){if(n!==void 0){var v=n[s];if(!(E===m.length-1&&!vn(v)))return v}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,n){var s=t[n];return s!==void 0?String(s):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}();function fn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function P(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function gn(e,u,t){return u&&P(e.prototype,u),t&&P(e,t),e}function Cn(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var G=function(){function e(){fn(this,e)}return gn(e,null,[{key:"getMessage",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",a)}},{key:"resetI18n",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:an;return new An({locale:t,messages:tn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();Cn(G,"$i18n",G.resetI18n());var bn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Dn={exports:{}};(function(e){(function(u){var t=function(r,i,h){if(!C(i)||Hn(i)||jn(i)||qn(i)||v(i))return i;var d,f=0,Q=0;if(zn(i))for(d=[],Q=i.length;f<Q;f++)d.push(t(r,i[f],h));else{d={};for(var $ in i)Object.prototype.hasOwnProperty.call(i,$)&&(d[r($,h)]=t(r,i[$],h))}return d},a=function(r,i){i=i||{};var h=i.separator||"_",d=i.split||/(?=[A-Z])/;return r.split(d).join(h)},n=function(r){return Kn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(i,h){return h?h.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},s=function(r){var i=n(r);return i.substr(0,1).toUpperCase()+i.substr(1)},E=function(r,i){return a(r,i).toLowerCase()},m=Object.prototype.toString,v=function(r){return typeof r=="function"},C=function(r){return r===Object(r)},zn=function(r){return m.call(r)=="[object Array]"},Hn=function(r){return m.call(r)=="[object Date]"},jn=function(r){return m.call(r)=="[object RegExp]"},qn=function(r){return m.call(r)=="[object Boolean]"},Kn=function(r){return r=r-0,r===r},M=function(r,i){var h=i&&"process"in i?i.process:i;return typeof h!="function"?r:function(d,f){return h(d,r,f)}},J={camelize:n,decamelize:E,pascalize:s,depascalize:E,camelizeKeys:function(r,i){return t(M(n,i),r)},decamelizeKeys:function(r,i){return t(M(E,i),r,i)},pascalizeKeys:function(r,i){return t(M(s,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=J:u.humps=J})(bn)})(Dn);var T={};Object.defineProperty(T,"__esModule",{value:!0});function I(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:I(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:I(a)}return u}}T.default=I;function z(e){return Object.prototype.toString.call(e)==="[object Object]"}function Sn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function H(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function yn(e,u,t){return u&&H(e.prototype,u),t&&H(e,t),e}function In(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var Mn=[{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"}],$n=function(){function e(){Sn(this,e)}return yn(e,null,[{key:"getEventsFromKeys",value:function(t){var a=typeof t=="string"?[t]:t;return e.events.filter(function(n){return a.includes(n.key)})}},{key:"getEventsFromControl",value:function(t){var a=[],n=t.eventKeys;a=a.concat(e.events.filter(function(E){return n.includes(E.key)}));var s=t.customEvents.map(function(E){var m=E.key;return{key:m,code:E.key,name:E.name}});return a=a.concat(s),a}}]),e}();In($n,"events",Mn);class j{constructor(u){var t,a,n;this.type=u.type,this.label=u.label,this.key=u.key,this.component=u.component,this.effect=(t=u.effect)!=null?t:{},this.scopeEffect=(a=u.scopeEffect)!=null?a:nn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(n=u.props)!=null?n:new o,this.effectKeys=Object.keys(this.effect)}filterEffects(u){return u===""?Object.values(this.effect):this.effectKeys.filter(t=>new RegExp(`^${t}(\\.\\w+)*$`).test(u)).map(t=>this.effect[t])}callEffectFn(u,t){try{const a=u.apply(null,t);z(a)&&Object.assign(this.props,a)}catch(a){hn(`effect error
|
|
2
|
+
${a}`)}}callEffect(u,...t){this.filterEffects(u).forEach(a=>this.callEffectFn(a,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class q{constructor(u){var t,a;this.type="group",this.title=(t=u.title)!=null?t:"",this.required=(a=u.required)!=null?a:!1,this.items=u.items,this.tips=u.tips,this.visible=u.items.some(n=>{var s;return(s=n.props)==null?void 0:s.visible})}}function K(e){return"type"in e&&e.type==="tab"}class W{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class wn extends o{constructor(u){super(u),z(u)&&Object.entries(u).forEach(([t,a])=>{this[t]=a})}}class _n extends o{constructor(u){var t,a,n,s;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:"",this.i18n=(s=u==null?void 0:u.i18n)!=null?s:!1}}class xn extends o{constructor(u){var t,a,n;super(u),this.max=(t=u==null?void 0:u.max)!=null?t:"",this.min=(a=u==null?void 0:u.min)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:""}}class Rn extends o{constructor(u){var t,a,n;super(u),this.showType=(t=u==null?void 0:u.showType)!=null?t:"switch",this.tips=(a=u==null?void 0:u.tips)!=null?a:"",this.disabled=(n=u==null?void 0:u.disabled)!=null?n:!1}}class Ln extends o{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class Un extends o{constructor(u){var t,a;super(u),this.placeholder=(t=u==null?void 0:u.placeholder)!=null?t:"",this.options=(a=u==null?void 0:u.options)!=null?a:[]}}class kn extends o{constructor(u){var t,a;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[],this.showType=(a=u==null?void 0:u.showType)!=null?a:"outline"}}class Nn extends o{constructor(u){var t,a,n,s,E,m;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:"",this.maxRows=(s=u==null?void 0:u.maxRows)!=null?s:"",this.minRows=(E=u==null?void 0:u.minRows)!=null?E:"",this.i18n=(m=u==null?void 0:u.i18n)!=null?m:!1}}function Vn(e,u){switch(e){case"input":return new _n(u);case"textarea":return new Nn(u);case"input-number":return new xn(u);case"switch":return new Rn(u);case"radio":return new kn(u);case"checkbox":return new Ln(u);case"select":return new Un(u);default:return new wn(u)}}function Pn(e){return function(u){const t=e.get(u);if(!!t)return new j(D(b({},t),{props:Vn(t.component,"props"in t?t.props:void 0)}))}}function Gn(e){const u=e.fields.reduce((n,s)=>(n.set(s.key,s),n),new Map);function t(n){return new q(D(b({},n),{items:n.items.map(Pn(u)).filter(Boolean)}))}function a(n){return n.map(t)}return e.groups.map(n=>K(n)?new W(D(b({},n),{items:a(n.items)})):t(n))}function X(){return[{label:"\u9690\u85CF",key:"isHide",type:"boolean",component:"switch"},{key:"superSetting",component:"super-setting"},{key:"style.width",component:"styleComponent",props:{configKey:"style.widthConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:n}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(n,"style.width",""),e.setInstance(n,"style.widthConfig","fill")),a)return{visible:a.type==="advanced-container"}}},{key:"style.height",component:"styleComponent",props:{configKey:"style.heightConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:n}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(n,"style.height",""),e.setInstance(n,"style.heightConfig","fill")),u.newParent)return{visible:u.newParent.type==="advanced-container"}}}]}function Tn(e){return[...X(),{type:"DataBind",key:"dataBind",component:"data-bind",defaultValue:e==null?void 0:e.dataBind},{key:"caption",type:"string",component:"input",props:{maxLength:80,i18n:!0},defaultValue:e==null?void 0:e.caption,validator(u){if(!u)return"\u6807\u9898\u5FC5\u586B"}},{label:"\u9690\u85CF\u6807\u9898",key:"isHideCaption",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.isHideCaption,props:{showType:"checkbox"},scopeEffect(u,t){var a,n;if(((a=t.current)==null?void 0:a.type)!==((n=t.from)==null?void 0:n.type))return t.current.type==="subtable"&&u.setInstance(t.control,"isHideCaption",!0),{visible:t.current.type!=="subtable"}}},{key:"labelPosition",type:"string",component:"radio",defaultValue:e==null?void 0:e.labelPosition,props:{showType:"solid",options:[{label:"\u4E0A\u4E0B\u5E03\u5C40",value:"top"},{label:"\u5DE6\u53F3\u5E03\u5C40",value:"left"}]}},{key:"defaultState",type:"string",component:"radio",defaultValue:e==null?void 0:e.defaultState,props:{showType:"solid",options:[{label:"\u666E\u901A",value:"default"},{label:"\u53EA\u8BFB",value:"readonly"}]}},{label:"\u5FC5\u586B",key:"required",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.required},{label:"\u63D0\u793A\u6587\u5B57",key:"placeholder",type:"string",component:"input",defaultValue:e==null?void 0:e.placeholder,props:{maxLength:80,i18n:!0}}]}l.Group=q,l.Setting=j,l.Tab=W,l.createBaseFields=X,l.createFormBaseFields=Tn,l.defineInstance=c,l.initSettings=Gn,l.isTabSchema=K,Object.defineProperty(l,"__esModule",{value:!0})});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FieldSchema } from '../defineInstance';
|
|
2
|
-
export declare function createBaseFields(): FieldSchema[];
|
|
1
|
+
import { FieldSchema } from '../defineInstance';
|
|
2
|
+
export declare function createBaseFields(): FieldSchema[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BaseControlProperty, DeepPartial } from '@byteluck-fe/model-driven-core';
|
|
2
|
-
import { FieldSchema } from '../defineInstance';
|
|
3
|
-
export declare function createFormBaseFields(defaultValues?: DeepPartial<BaseControlProperty>): FieldSchema[];
|
|
1
|
+
import { BaseControlProperty, DeepPartial } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
import { FieldSchema } from '../defineInstance';
|
|
3
|
+
export declare function createFormBaseFields(defaultValues?: DeepPartial<BaseControlProperty>): FieldSchema[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './createBaseFields';
|
|
2
|
-
export * from './createFormBaseFields';
|
|
1
|
+
export * from './createBaseFields';
|
|
2
|
+
export * from './createFormBaseFields';
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import type { BaseSchema, GroupSchema } from './schema';
|
|
2
|
-
import { InputProps } from './props/input';
|
|
3
|
-
import { InputNumberProps } from './props/input-number';
|
|
4
|
-
import { SwitchProps } from './props/switch';
|
|
5
|
-
import { SelectProps } from './props/select';
|
|
6
|
-
import { CheckboxProps } from './props/checkbox';
|
|
7
|
-
import { RadioProps } from './props/radio';
|
|
8
|
-
import { TextareaProps } from './props/textarea';
|
|
9
|
-
import { CustomProps } from './props/custom';
|
|
10
|
-
import { TabSchema } from './schema/tab';
|
|
11
|
-
import { CustomEventItem, InnerEventCode } from '@byteluck-fe/model-driven-shared';
|
|
12
|
-
interface InputSchema extends BaseSchema<InputProps> {
|
|
13
|
-
/**
|
|
14
|
-
* 输入框
|
|
15
|
-
* */
|
|
16
|
-
component: 'input';
|
|
17
|
-
props?: Partial<InputProps>;
|
|
18
|
-
}
|
|
19
|
-
interface InputNumberSchema extends BaseSchema<InputNumberProps> {
|
|
20
|
-
/**
|
|
21
|
-
* 数字输入框
|
|
22
|
-
* */
|
|
23
|
-
component: 'input-number';
|
|
24
|
-
props?: Partial<InputNumberProps>;
|
|
25
|
-
}
|
|
26
|
-
interface TextareaSchema extends BaseSchema<TextareaProps> {
|
|
27
|
-
/**
|
|
28
|
-
* 长文本输入框
|
|
29
|
-
* */
|
|
30
|
-
component: 'textarea';
|
|
31
|
-
props?: Partial<TextareaProps>;
|
|
32
|
-
}
|
|
33
|
-
interface SwitchSchema extends BaseSchema<SwitchProps> {
|
|
34
|
-
/**
|
|
35
|
-
* 切换
|
|
36
|
-
* */
|
|
37
|
-
component: 'switch';
|
|
38
|
-
props?: Partial<SwitchProps>;
|
|
39
|
-
}
|
|
40
|
-
interface SelectSchema extends BaseSchema<SelectProps> {
|
|
41
|
-
/**
|
|
42
|
-
* 下拉单选
|
|
43
|
-
* */
|
|
44
|
-
component: 'select';
|
|
45
|
-
props?: Partial<SelectProps>;
|
|
46
|
-
}
|
|
47
|
-
interface CheckboxSchema extends BaseSchema<CheckboxProps> {
|
|
48
|
-
/**
|
|
49
|
-
* 多选框
|
|
50
|
-
* */
|
|
51
|
-
component: 'checkbox';
|
|
52
|
-
props?: Partial<CheckboxProps>;
|
|
53
|
-
}
|
|
54
|
-
interface RadioSchema extends BaseSchema<RadioProps> {
|
|
55
|
-
/**
|
|
56
|
-
* 单选框
|
|
57
|
-
* */
|
|
58
|
-
component: 'radio';
|
|
59
|
-
props?: Partial<RadioProps>;
|
|
60
|
-
}
|
|
61
|
-
interface CustomSchema extends BaseSchema<CustomProps> {
|
|
62
|
-
component: string;
|
|
63
|
-
props?: Partial<CustomProps>;
|
|
64
|
-
}
|
|
65
|
-
export type SettingSchemas = InputSchema | InputNumberSchema | TextareaSchema | SwitchSchema | SelectSchema | CheckboxSchema | RadioSchema | CustomSchema;
|
|
66
|
-
export interface RuntimeValidator {
|
|
67
|
-
(props: any, value: unknown, i18n: string): string | boolean | void;
|
|
68
|
-
}
|
|
69
|
-
export type FieldSchema = SettingSchemas | BaseSchema<{}>;
|
|
70
|
-
export type GroupsSchema = GroupSchema[] | TabSchema[];
|
|
71
|
-
export interface DefineInstanceParams {
|
|
72
|
-
fields: FieldSchema[];
|
|
73
|
-
groups: GroupsSchema;
|
|
74
|
-
runtimeValidator?: RuntimeValidator;
|
|
75
|
-
events?: InnerEventCode[];
|
|
76
|
-
customEvents?: CustomEventItem[];
|
|
77
|
-
}
|
|
78
|
-
export declare function defineInstance(params: DefineInstanceParams): DefineInstanceParams;
|
|
79
|
-
export {};
|
|
1
|
+
import type { BaseSchema, GroupSchema } from './schema';
|
|
2
|
+
import { InputProps } from './props/input';
|
|
3
|
+
import { InputNumberProps } from './props/input-number';
|
|
4
|
+
import { SwitchProps } from './props/switch';
|
|
5
|
+
import { SelectProps } from './props/select';
|
|
6
|
+
import { CheckboxProps } from './props/checkbox';
|
|
7
|
+
import { RadioProps } from './props/radio';
|
|
8
|
+
import { TextareaProps } from './props/textarea';
|
|
9
|
+
import { CustomProps } from './props/custom';
|
|
10
|
+
import { TabSchema } from './schema/tab';
|
|
11
|
+
import { CustomEventItem, InnerEventCode } from '@byteluck-fe/model-driven-shared';
|
|
12
|
+
interface InputSchema extends BaseSchema<InputProps> {
|
|
13
|
+
/**
|
|
14
|
+
* 输入框
|
|
15
|
+
* */
|
|
16
|
+
component: 'input';
|
|
17
|
+
props?: Partial<InputProps>;
|
|
18
|
+
}
|
|
19
|
+
interface InputNumberSchema extends BaseSchema<InputNumberProps> {
|
|
20
|
+
/**
|
|
21
|
+
* 数字输入框
|
|
22
|
+
* */
|
|
23
|
+
component: 'input-number';
|
|
24
|
+
props?: Partial<InputNumberProps>;
|
|
25
|
+
}
|
|
26
|
+
interface TextareaSchema extends BaseSchema<TextareaProps> {
|
|
27
|
+
/**
|
|
28
|
+
* 长文本输入框
|
|
29
|
+
* */
|
|
30
|
+
component: 'textarea';
|
|
31
|
+
props?: Partial<TextareaProps>;
|
|
32
|
+
}
|
|
33
|
+
interface SwitchSchema extends BaseSchema<SwitchProps> {
|
|
34
|
+
/**
|
|
35
|
+
* 切换
|
|
36
|
+
* */
|
|
37
|
+
component: 'switch';
|
|
38
|
+
props?: Partial<SwitchProps>;
|
|
39
|
+
}
|
|
40
|
+
interface SelectSchema extends BaseSchema<SelectProps> {
|
|
41
|
+
/**
|
|
42
|
+
* 下拉单选
|
|
43
|
+
* */
|
|
44
|
+
component: 'select';
|
|
45
|
+
props?: Partial<SelectProps>;
|
|
46
|
+
}
|
|
47
|
+
interface CheckboxSchema extends BaseSchema<CheckboxProps> {
|
|
48
|
+
/**
|
|
49
|
+
* 多选框
|
|
50
|
+
* */
|
|
51
|
+
component: 'checkbox';
|
|
52
|
+
props?: Partial<CheckboxProps>;
|
|
53
|
+
}
|
|
54
|
+
interface RadioSchema extends BaseSchema<RadioProps> {
|
|
55
|
+
/**
|
|
56
|
+
* 单选框
|
|
57
|
+
* */
|
|
58
|
+
component: 'radio';
|
|
59
|
+
props?: Partial<RadioProps>;
|
|
60
|
+
}
|
|
61
|
+
interface CustomSchema extends BaseSchema<CustomProps> {
|
|
62
|
+
component: string;
|
|
63
|
+
props?: Partial<CustomProps>;
|
|
64
|
+
}
|
|
65
|
+
export type SettingSchemas = InputSchema | InputNumberSchema | TextareaSchema | SwitchSchema | SelectSchema | CheckboxSchema | RadioSchema | CustomSchema;
|
|
66
|
+
export interface RuntimeValidator {
|
|
67
|
+
(props: any, value: unknown, i18n: string): string | boolean | void;
|
|
68
|
+
}
|
|
69
|
+
export type FieldSchema = SettingSchemas | BaseSchema<{}>;
|
|
70
|
+
export type GroupsSchema = GroupSchema[] | TabSchema[];
|
|
71
|
+
export interface DefineInstanceParams {
|
|
72
|
+
fields: FieldSchema[];
|
|
73
|
+
groups: GroupsSchema;
|
|
74
|
+
runtimeValidator?: RuntimeValidator;
|
|
75
|
+
events?: InnerEventCode[];
|
|
76
|
+
customEvents?: CustomEventItem[];
|
|
77
|
+
}
|
|
78
|
+
export declare function defineInstance(params: DefineInstanceParams): DefineInstanceParams;
|
|
79
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './defineInstance';
|
|
2
|
-
export * from './initSettings';
|
|
3
|
-
export * from './schema';
|
|
4
|
-
export * from './default';
|
|
1
|
+
export * from './defineInstance';
|
|
2
|
+
export * from './initSettings';
|
|
3
|
+
export * from './schema';
|
|
4
|
+
export * from './default';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Group } from './schema';
|
|
2
|
-
import { CustomProps } from './props/custom';
|
|
3
|
-
import { InputProps } from './props/input';
|
|
4
|
-
import { InputNumberProps } from './props/input-number';
|
|
5
|
-
import { SwitchProps } from './props/switch';
|
|
6
|
-
import { DefineInstanceParams } from './defineInstance';
|
|
7
|
-
import { CheckboxProps } from './props/checkbox';
|
|
8
|
-
import { SelectProps } from './props/select';
|
|
9
|
-
import { RadioProps } from './props/radio';
|
|
10
|
-
import { TextareaProps } from './props/textarea';
|
|
11
|
-
import { Tab } from './schema/tab';
|
|
12
|
-
export type Props = CustomProps | InputProps | TextareaProps | InputNumberProps | SwitchProps | CheckboxProps | RadioProps | SelectProps;
|
|
13
|
-
export type Settings = Group[] | Tab[];
|
|
14
|
-
export declare function initSettings(params: DefineInstanceParams): Settings;
|
|
1
|
+
import { Group } from './schema';
|
|
2
|
+
import { CustomProps } from './props/custom';
|
|
3
|
+
import { InputProps } from './props/input';
|
|
4
|
+
import { InputNumberProps } from './props/input-number';
|
|
5
|
+
import { SwitchProps } from './props/switch';
|
|
6
|
+
import { DefineInstanceParams } from './defineInstance';
|
|
7
|
+
import { CheckboxProps } from './props/checkbox';
|
|
8
|
+
import { SelectProps } from './props/select';
|
|
9
|
+
import { RadioProps } from './props/radio';
|
|
10
|
+
import { TextareaProps } from './props/textarea';
|
|
11
|
+
import { Tab } from './schema/tab';
|
|
12
|
+
export type Props = CustomProps | InputProps | TextareaProps | InputNumberProps | SwitchProps | CheckboxProps | RadioProps | SelectProps;
|
|
13
|
+
export type Settings = Group[] | Tab[];
|
|
14
|
+
export declare function initSettings(params: DefineInstanceParams): Settings;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare class BaseProps {
|
|
2
|
-
/**
|
|
3
|
-
* 显示隐藏
|
|
4
|
-
* */
|
|
5
|
-
visible: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* 开启表达式
|
|
8
|
-
* */
|
|
9
|
-
expression: boolean;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* 是否改变父属性
|
|
13
|
-
*/
|
|
14
|
-
updateParent: boolean;
|
|
15
|
-
constructor(props?: Partial<BaseProps>);
|
|
16
|
-
get isAtomicComponent(): boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface OptionItem {
|
|
19
|
-
label: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}
|
|
1
|
+
export declare class BaseProps {
|
|
2
|
+
/**
|
|
3
|
+
* 显示隐藏
|
|
4
|
+
* */
|
|
5
|
+
visible: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* 开启表达式
|
|
8
|
+
* */
|
|
9
|
+
expression: boolean;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* 是否改变父属性
|
|
13
|
+
*/
|
|
14
|
+
updateParent: boolean;
|
|
15
|
+
constructor(props?: Partial<BaseProps>);
|
|
16
|
+
get isAtomicComponent(): boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface OptionItem {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseProps, OptionItem } from './base';
|
|
2
|
-
export declare class CheckboxProps extends BaseProps {
|
|
3
|
-
options: OptionItem[];
|
|
4
|
-
constructor(props?: Partial<CheckboxProps>);
|
|
5
|
-
}
|
|
1
|
+
import { BaseProps, OptionItem } from './base';
|
|
2
|
+
export declare class CheckboxProps extends BaseProps {
|
|
3
|
+
options: OptionItem[];
|
|
4
|
+
constructor(props?: Partial<CheckboxProps>);
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseProps } from './base';
|
|
2
|
-
export declare class CustomProps extends BaseProps {
|
|
3
|
-
[key: string]: unknown;
|
|
4
|
-
constructor(props?: Partial<CustomProps>);
|
|
5
|
-
}
|
|
1
|
+
import { BaseProps } from './base';
|
|
2
|
+
export declare class CustomProps extends BaseProps {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
constructor(props?: Partial<CustomProps>);
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseProps } from './base';
|
|
2
|
-
export declare class InputNumberProps extends BaseProps {
|
|
3
|
-
max: number | '';
|
|
4
|
-
min: number | '';
|
|
5
|
-
placeholder: string;
|
|
6
|
-
constructor(props?: Partial<InputNumberProps>);
|
|
7
|
-
}
|
|
1
|
+
import { BaseProps } from './base';
|
|
2
|
+
export declare class InputNumberProps extends BaseProps {
|
|
3
|
+
max: number | '';
|
|
4
|
+
min: number | '';
|
|
5
|
+
placeholder: string;
|
|
6
|
+
constructor(props?: Partial<InputNumberProps>);
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseProps } from './base';
|
|
2
|
-
export declare class InputProps extends BaseProps {
|
|
3
|
-
maxLength: number | '';
|
|
4
|
-
minLength: number | '';
|
|
5
|
-
placeholder: string;
|
|
6
|
-
i18n: boolean;
|
|
7
|
-
constructor(props?: Partial<InputProps>);
|
|
8
|
-
}
|
|
1
|
+
import { BaseProps } from './base';
|
|
2
|
+
export declare class InputProps extends BaseProps {
|
|
3
|
+
maxLength: number | '';
|
|
4
|
+
minLength: number | '';
|
|
5
|
+
placeholder: string;
|
|
6
|
+
i18n: boolean;
|
|
7
|
+
constructor(props?: Partial<InputProps>);
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseProps, OptionItem } from './base';
|
|
2
|
-
export declare class RadioProps extends BaseProps {
|
|
3
|
-
options: OptionItem[];
|
|
4
|
-
showType: 'solid' | 'outline';
|
|
5
|
-
constructor(props?: Partial<RadioProps>);
|
|
6
|
-
}
|
|
1
|
+
import { BaseProps, OptionItem } from './base';
|
|
2
|
+
export declare class RadioProps extends BaseProps {
|
|
3
|
+
options: OptionItem[];
|
|
4
|
+
showType: 'solid' | 'outline';
|
|
5
|
+
constructor(props?: Partial<RadioProps>);
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseProps, OptionItem } from './base';
|
|
2
|
-
export declare class SelectProps extends BaseProps {
|
|
3
|
-
placeholder: string;
|
|
4
|
-
options: OptionItem[];
|
|
5
|
-
constructor(props?: Partial<SelectProps>);
|
|
6
|
-
}
|
|
1
|
+
import { BaseProps, OptionItem } from './base';
|
|
2
|
+
export declare class SelectProps extends BaseProps {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
options: OptionItem[];
|
|
5
|
+
constructor(props?: Partial<SelectProps>);
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseProps } from './base';
|
|
2
|
-
export declare class SwitchProps extends BaseProps {
|
|
3
|
-
showType: 'switch' | 'checkbox';
|
|
4
|
-
tips: string;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
constructor(props?: Partial<SwitchProps>);
|
|
7
|
-
}
|
|
1
|
+
import { BaseProps } from './base';
|
|
2
|
+
export declare class SwitchProps extends BaseProps {
|
|
3
|
+
showType: 'switch' | 'checkbox';
|
|
4
|
+
tips: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
constructor(props?: Partial<SwitchProps>);
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseProps } from './base';
|
|
2
|
-
export declare class TextareaProps extends BaseProps {
|
|
3
|
-
maxLength: number | '';
|
|
4
|
-
minLength: number | '';
|
|
5
|
-
placeholder: string;
|
|
6
|
-
i18n: boolean;
|
|
7
|
-
maxRows: number | '';
|
|
8
|
-
minRows: number | '';
|
|
9
|
-
constructor(props?: Partial<TextareaProps>);
|
|
10
|
-
}
|
|
1
|
+
import { BaseProps } from './base';
|
|
2
|
+
export declare class TextareaProps extends BaseProps {
|
|
3
|
+
maxLength: number | '';
|
|
4
|
+
minLength: number | '';
|
|
5
|
+
placeholder: string;
|
|
6
|
+
i18n: boolean;
|
|
7
|
+
maxRows: number | '';
|
|
8
|
+
minRows: number | '';
|
|
9
|
+
constructor(props?: Partial<TextareaProps>);
|
|
10
|
+
}
|