@byteluck-fe/model-driven-settings 2.7.0-alpha.31b → 2.7.0-alpha.36
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 +29 -29
- package/dist/esm/default/createFormBaseFields.js +56 -56
- package/dist/esm/default/index.js +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/initSettings.js +48 -24
- package/dist/esm/props/base.js +33 -10
- package/dist/esm/props/checkbox.js +41 -27
- package/dist/esm/props/custom.js +36 -36
- package/dist/esm/props/input-number.js +47 -31
- package/dist/esm/props/input.js +50 -33
- package/dist/esm/props/radio.js +44 -29
- package/dist/esm/props/select.js +44 -29
- package/dist/esm/props/switch.js +47 -31
- package/dist/esm/props/textarea.js +56 -37
- package/dist/esm/schema/group.js +28 -9
- package/dist/esm/schema/index.js +3 -3
- package/dist/esm/schema/setting.js +36 -13
- package/dist/esm/schema/tab.js +19 -4
- 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 or=Object.defineProperty,lr=Object.defineProperties;var sr=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var cr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable;var Fe=(p,m,B)=>m in p?or(p,m,{enumerable:!0,configurable:!0,writable:!0,value:B}):p[m]=B,X=(p,m)=>{for(var B in m||(m={}))cr.call(m,B)&&Fe(p,B,m[B]);if(Ae)for(var B of Ae(m))Er.call(m,B)&&Fe(p,B,m[B]);return p},J=(p,m)=>lr(p,sr(m));(function(p,m){typeof exports=="object"&&typeof module!="undefined"?m(exports):typeof define=="function"&&define.amd?define(["exports"],m):(p=typeof globalThis!="undefined"?globalThis:p||self,m(p.modelDrivenSettings={}))})(this,function(p){"use strict";function m(e){return e}class B{constructor(u){var t,a,i;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=(i=u==null?void 0:u.updateParent)!=null?i:!1}get isAtomicComponent(){return!0}}var ge="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",De="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ye="{caption}\u5FC5\u586B",Ie="\u8BF7\u8F93\u5165\u6807\u9898",Me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",we="\u8BF7\u8F93\u5165\u884C\u6807\u9898",$e="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Re="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ne="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ue="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",_e="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xe="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Pe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Te="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ge="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ke="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Oe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ve="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",je="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ze="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",He="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",qe="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",We="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ke="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Xe="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Je="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Qe="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ze="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ye="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",eu="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",uu="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tu="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",au="\u8BF7\u7ED1\u5B9A\u670D\u52A1",nu="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ru="\u8BF7\u9009\u62E9\u7701",iu="\u8BF7\u9009\u62E9\u5E02",ou="\u8BF7\u9009\u62E9\u533A",lu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",su="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",cu="\u8BF7\u8F93\u5165\u5217\u5BBD",Eu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",fu="\u8BF7\u9009\u62E9\u63A7\u4EF6",pu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",du="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Au="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Cu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Du="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Iu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Mu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$u="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ru="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Nu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Uu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_u="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",xu="\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",Tu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Gu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",ku={isNotNumber:ge,isNotString:Ce,isNotObject:be,isNotArray:De,isNotBoolean:Se,runtimeRequired:ye,pleaseEnterCaption:Ie,pleaseEnterCaptionTip:Me,pleaseEnterRowCaption:we,pleaseEnterPlaceholder:$e,pleaseEnterFieldCode:Le,pleaseEnterForm:Re,pleaseEnterList:Ne,pleaseEnterProcess:Ue,pleaseEnterLabel:_e,pleaseEnterValue:xe,bizKeyNotBindFiled:Pe,pleaseSelectOneField:Te,pleaseEnterNumberRange:Ge,pleaseEnterAValueGreaterThanMin:ke,pleaseEnterAValueLessThanMax:Oe,numberRangeSetError:Ve,stringRangeError:je,attachmentMaxSize:ze,pleaseEnterTotalScoreSetting:He,theTotalScoreMustNotBeLessThan1:qe,scoreDefaultValueRange:We,attachmentLimitError:Ke,PleaseReselectTheOptionalQuantity:Xe,TheMaximumLengthIsGreaterThanTheMinimumLength:Je,TheMinimumLengthIsGreaterThanTheMaximumLength:Qe,PleaseSelectTheCorrectOptionSettings:Ze,optionIdIsRepeat:Ye,optionIsRequired:eu,pleaseEnterDataCode:uu,pleaseEnterValueFieldCode:tu,pleaseEnterSvcCode:au,pleaseBindAtLeastOneDisplayValue:nu,pleaseSelectProvince:ru,pleaseSelectCity:iu,pleaseSelectDistrict:ou,limitRowsCannotBeLessThan0:lu,TheNumberOfRowsCannotBeLessThanMinRows:su,pleaseEnterColumnWidth:cu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Eu,pleaseCompleteAllRulesAndConditions:hu,pleaseSelectControl:fu,pleaseSelectAtLeastOneColumn:pu,pleaseSelectFillBackMode:vu,pleaseSelectDashboard:Bu,rootNodeIsRequired:mu,theViewNameCannotBeEmpty:du,pleaseSelectOcrType:Au,pleaseSelectAtLeastOneFieldToFillIn:Fu,pleaseChooseAtLeastOne:gu,pleaseEnterButtonContent:Cu,pleaseEnterDataCodeInDataSetting:bu,pleaseEnterValueFieldCodeInDataSetting:Du,pleaseEnterSvcCodeInDataSetting:Su,pleaseBindAtLeastOneDisplayValueInDataSetting:yu,rootNodeIsRequiredInDataSetting:Iu,pleaseEnterMaxHeight:Mu,pleaseEnter:wu,pleaseEnterWatermark:$u,pleaseEnterFileName:Lu,pleaseUploadAtLeastOnePrintTemplate:Ru,pleaseAssignBusiness:Nu,pleaseAssignExternal:Uu,pleaseEnterAliasCode:_u,pleaseSelectDataCode:xu,pleaseSelectSvcCode:Pu,pleaseSelectJoinFieldCode:Tu,pleaseSelectMainFieldCode:Gu},Ou="Please enter a number",Vu="Please enter a string",ju="Please enter an object",zu="Please enter an array",Hu="Please enter a boolean",qu="{caption} Required",Wu="Please enter the title",Ku="Please enter the bubble prompt",Xu="Please enter the row title",Ju="Please enter the prompt text",Qu="Please bind data items",Zu="Please bind the form",Yu="Please bind the list",et="Please bind the process",ut="Please enter the displayed value",tt="Please enter the stored value",at="The document number is not bound to the data item",nt="Please select at least one display field",rt="Please enter a value greater than or equal to {min} and less than or equal to {max}",it="Please enter a value greater than or equal to {min}",ot="Please enter a value less than or equal to {max}",lt="The value range is set incorrectly",st="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ct="The attachment size must be between 0MB and 1000MB",Et="Please fill in the total score setting",ht="The total score cannot be less than 1",ft="The default value must be between {min} and {max}",pt="The number of attachments uploaded must be between {min} and {max}",vt="Please re-select the optional quantity",Bt="The maximum length of the control must be greater than the minimum length",mt="The minimum length of the control must be less than the maximum length",dt="Please select the correct option setting",At="Option ID cannot be repeated",Ft="Please enter at least one option",gt="Please bind the data source",Ct="Please bind the stored value",bt="Please bind the service",Dt="At least one display value must be bound",St="Please select a province",yt="Please select a city",It="Please select a district",Mt="The minimum number of lines to fill in cannot be less than 0",wt="The number of rows cannot be less than {min} rows",$t="Please enter the column width",Lt="Please set the logical relationship of all rule conditions",Rt="Please complete all rules and conditions",Nt="please select control",Ut="Please select the dashboard",_t="View name cannot be empty",xt="Please select recognition type",Pt="Please select at least one field to fill in",Tt="Please select at least one",Gt="Please enter the button title",kt="Please bind the business model in the data settings",Ot="Please bind storage values in data settings",Vt="Please bind the service in the data settings",jt="Please bind at least one display value in the data settings",zt="Please select the root node in the data settings",Ht="Please enter the maximum height",qt="The input content cannot be empty",Wt="Watermark cannot be empty",Kt="File name cannot be empty",Xt="Please upload at least one printing template!\uFF01",Jt="Please select a specific business department",Qt="Please select a specified external organization",Zt="Please enter a sub table alias",Yt="Please select the associated table to set the business model",ea="Please select the association table to set the binding service",ua="Select associated sub table fields",ta="Please select the associated main table field",aa={isNotNumber:Ou,isNotString:Vu,isNotObject:ju,isNotArray:zu,isNotBoolean:Hu,runtimeRequired:qu,pleaseEnterCaption:Wu,pleaseEnterCaptionTip:Ku,pleaseEnterRowCaption:Xu,pleaseEnterPlaceholder:Ju,pleaseEnterFieldCode:Qu,pleaseEnterForm:Zu,pleaseEnterList:Yu,pleaseEnterProcess:et,pleaseEnterLabel:ut,pleaseEnterValue:tt,bizKeyNotBindFiled:at,pleaseSelectOneField:nt,pleaseEnterNumberRange:rt,pleaseEnterAValueGreaterThanMin:it,pleaseEnterAValueLessThanMax:ot,numberRangeSetError:lt,stringRangeError:st,attachmentMaxSize:ct,pleaseEnterTotalScoreSetting:Et,theTotalScoreMustNotBeLessThan1:ht,scoreDefaultValueRange:ft,attachmentLimitError:pt,PleaseReselectTheOptionalQuantity:vt,TheMaximumLengthIsGreaterThanTheMinimumLength:Bt,TheMinimumLengthIsGreaterThanTheMaximumLength:mt,PleaseSelectTheCorrectOptionSettings:dt,optionIdIsRepeat:At,optionIsRequired:Ft,pleaseEnterDataCode:gt,pleaseEnterValueFieldCode:Ct,pleaseEnterSvcCode:bt,pleaseBindAtLeastOneDisplayValue:Dt,pleaseSelectProvince:St,pleaseSelectCity:yt,pleaseSelectDistrict:It,limitRowsCannotBeLessThan0:Mt,TheNumberOfRowsCannotBeLessThanMinRows:wt,pleaseEnterColumnWidth:$t,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lt,pleaseCompleteAllRulesAndConditions:Rt,pleaseSelectControl:Nt,pleaseSelectDashboard:Ut,theViewNameCannotBeEmpty:_t,pleaseSelectOcrType:xt,pleaseSelectAtLeastOneFieldToFillIn:Pt,pleaseChooseAtLeastOne:Tt,pleaseEnterButtonContent:Gt,pleaseEnterDataCodeInDataSetting:kt,pleaseEnterValueFieldCodeInDataSetting:Ot,pleaseEnterSvcCodeInDataSetting:Vt,pleaseBindAtLeastOneDisplayValueInDataSetting:jt,rootNodeIsRequiredInDataSetting:zt,pleaseEnterMaxHeight:Ht,pleaseEnter:qt,pleaseEnterWatermark:Wt,pleaseEnterFileName:Kt,pleaseUploadAtLeastOnePrintTemplate:Xt,pleaseAssignBusiness:Jt,pleaseAssignExternal:Qt,pleaseEnterAliasCode:Zt,pleaseSelectDataCode:Yt,pleaseSelectSvcCode:ea,pleaseSelectJoinFieldCode:ua,pleaseSelectMainFieldCode:ta},na="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ia="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sa="{caption}\u5FC5\u9808",ca="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ha="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ma="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Aa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ga="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ca="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ba="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Da="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ia="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ma="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$a="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",La="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ra="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Na="\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",Ua="\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",_a="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Pa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ta="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ga="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ka="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Va="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ja="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",za="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ha="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Wa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ka="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ja="please select control",Qa="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ya="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en="\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",un="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tn="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",an="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",nn="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rn="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",on="\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",ln="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sn="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cn="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",En="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",hn="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fn="\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",pn="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vn="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bn="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mn="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",dn="\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",An="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Fn="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gn={isNotNumber:na,isNotString:ra,isNotObject:ia,isNotArray:oa,isNotBoolean:la,runtimeRequired:sa,pleaseEnterCaption:ca,pleaseEnterCaptionTip:Ea,pleaseEnterRowCaption:ha,pleaseEnterPlaceholder:fa,pleaseEnterFieldCode:pa,pleaseEnterForm:va,pleaseEnterList:Ba,pleaseEnterProcess:ma,pleaseEnterLabel:da,pleaseEnterValue:Aa,bizKeyNotBindFiled:Fa,pleaseSelectOneField:ga,pleaseEnterNumberRange:Ca,pleaseEnterAValueGreaterThanMin:ba,pleaseEnterAValueLessThanMax:Da,numberRangeSetError:Sa,stringRangeError:ya,attachmentMaxSize:Ia,pleaseEnterTotalScoreSetting:Ma,theTotalScoreMustNotBeLessThan1:wa,scoreDefaultValueRange:$a,attachmentLimitError:La,PleaseReselectTheOptionalQuantity:Ra,TheMaximumLengthIsGreaterThanTheMinimumLength:Na,TheMinimumLengthIsGreaterThanTheMaximumLength:Ua,PleaseSelectTheCorrectOptionSettings:_a,optionIdIsRepeat:xa,optionIsRequired:Pa,pleaseEnterDataCode:Ta,pleaseEnterValueFieldCode:Ga,pleaseEnterSvcCode:ka,pleaseBindAtLeastOneDisplayValue:Oa,pleaseSelectProvince:Va,pleaseSelectCity:ja,pleaseSelectDistrict:za,limitRowsCannotBeLessThan0:Ha,TheNumberOfRowsCannotBeLessThanMinRows:qa,pleaseEnterColumnWidth:Wa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ka,pleaseCompleteAllRulesAndConditions:Xa,pleaseSelectControl:Ja,pleaseSelectDashboard:Qa,theViewNameCannotBeEmpty:Za,pleaseSelectOcrType:Ya,pleaseSelectAtLeastOneFieldToFillIn:en,pleaseChooseAtLeastOne:un,pleaseEnterButtonContent:tn,pleaseEnterDataCodeInDataSetting:an,pleaseEnterValueFieldCodeInDataSetting:nn,pleaseEnterSvcCodeInDataSetting:rn,pleaseBindAtLeastOneDisplayValueInDataSetting:on,rootNodeIsRequiredInDataSetting:ln,pleaseEnterMaxHeight:sn,pleaseEnter:cn,pleaseEnterWatermark:En,pleaseEnterFileName:hn,pleaseUploadAtLeastOnePrintTemplate:fn,pleaseAssignBusiness:pn,pleaseAssignExternal:vn,pleaseEnterAliasCode:Bn,pleaseSelectDataCode:mn,pleaseSelectSvcCode:dn,pleaseSelectJoinFieldCode:An,pleaseSelectMainFieldCode:Fn},Cn={zhCN:ku,enUS:aa,jaJP:gn},ae;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(ae||(ae={}));var ne;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ne||(ne={}));var bn="zh-CN",Dn=function(){};function I(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var re;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(re||(re={}));var A;(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.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"})(A||(A={}));var F;(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"})(F||(F={}));var g;g={},I(g,F.ARRAY,A.ARRAY_COLUMN),I(g,F.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),I(g,F.DECIMAL,A.DECIMAL_COLUMN),I(g,F.DEPARTMENTS,A.DEPARTMENT_COLUMN),I(g,F.FILE,A.FILE_COLUMN),I(g,F.IMAGE,A.IMAGE_COLUMN),I(g,F.ADDRESS,A.LOCATION_COLUMN),I(g,F.EMPLOYEES,A.EMPLOYEE_COLUMN),I(g,F.TEXT,A.TEXT_COLUMN),I(g,F.TIMESCOPE,A.TIMESCOPE_COLUMN),I(g,F.TIMESTAMP,A.TIMESTAMP_COLUMN),I(g,F.VARCHAR,A.VARCHAR_COLUMN),I(g,F.RELATION,A.VARCHAR_COLUMN);var ie;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(ie||(ie={}));function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function In(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function z(e,u,t){return In()?z=Reflect.construct:z=function(i,h,v){var d=[null];d.push.apply(d,h);var L=Function.bind.apply(i,d),U=new L;return v&&T(U,v.prototype),U},z.apply(null,arguments)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(e)}function Mn(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&&T(e,u)}function wn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $n(e,u){return u&&(Ln(u)==="object"||typeof u=="function")?u:Sn(e)}function T(e,u){return T=Object.setPrototypeOf||function(a,i){return a.__proto__=i,a},T(e,u)}var Ln=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q(e){var u=typeof Map=="function"?new Map:void 0;return Q=function(a){if(a===null||!wn(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,i)}function i(){return z(a,arguments,P(this).constructor)}return i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),T(i,a)},Q(e)}function Rn(){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 Nn(e){var u=Rn();return function(){var a=P(e),i;if(u){var h=P(this).constructor;i=Reflect.construct(a,arguments,h)}else i=a.apply(this,arguments);return $n(this,i)}}function Un(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _n=function(e){Mn(t,e);var u=Nn(t);function t(a){yn(this,t);var i;return i=u.call(this,a),i.name="\u{1F4A5} Driven Error",i.message=a?Un(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return t}(Q(Error));function xn(e){throw new _n(e)}var Pn=Object.prototype.toString;function oe(e,u){return Pn.call(e)==="[object "+u+"]"}function Tn(e){return oe(e,"String")}function Gn(e){return oe(e,"Promise")}var kn=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();Gn(a)?a.then(function(i){t._messageCache.clear(),t.messages[t.localeInMessageKey]=i}):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 i=this.getMessage(u);return i?this.formatMessage(i,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(i,h,v,d){if(i!==void 0){var L=i[h];if(!(v===d.length-1&&!Tn(L)))return L}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,i){var h=t[i];return h!==void 0?String(h):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 On(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function le(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 Vn(e,u,t){return u&&le(e.prototype,u),t&&le(e,t),e}var se=function(){function e(){On(this,e)}return Vn(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]:bn;return new kn({locale:t,messages:Cn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();se.$i18n=se.resetI18n();var jn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zn={exports:{}};(function(e){(function(u){var t=function(s,c,C){if(!U(c)||w(c)||H(c)||k(c)||L(c))return c;var b,M=0,_=0;if(G(c))for(b=[],_=c.length;M<_;M++)b.push(t(s,c[M],C));else{b={};for(var R in c)Object.prototype.hasOwnProperty.call(c,R)&&(b[s(R,C)]=t(s,c[R],C))}return b},a=function(s,c){c=c||{};var C=c.separator||"_",b=c.split||/(?=[A-Z])/;return s.split(b).join(C)},i=function(s){return q(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(c,C){return C?C.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},h=function(s){var c=i(s);return c.substr(0,1).toUpperCase()+c.substr(1)},v=function(s,c){return a(s,c).toLowerCase()},d=Object.prototype.toString,L=function(s){return typeof s=="function"},U=function(s){return s===Object(s)},G=function(s){return d.call(s)=="[object Array]"},w=function(s){return d.call(s)=="[object Date]"},H=function(s){return d.call(s)=="[object RegExp]"},k=function(s){return d.call(s)=="[object Boolean]"},q=function(s){return s=s-0,s===s},O=function(s,c){var C=c&&"process"in c?c.process:c;return typeof C!="function"?s:function(b,M){return C(b,s,M)}},V={camelize:i,decamelize:v,pascalize:h,depascalize:v,camelizeKeys:function(s,c){return t(O(i,c),s)},decamelizeKeys:function(s,c){return t(O(v,c),s,c)},pascalizeKeys:function(s,c){return t(O(h,c),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=V:u.humps=V})(jn)})(zn);var ce={};Object.defineProperty(ce,"__esModule",{value:!0});function Z(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:Z(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:Z(a)}return u}}ce.default=Z;function Ee(e){return Object.prototype.toString.call(e)==="[object Object]"}var Hn={exports:{}};(function(e){var u=function(t){var a=Object.prototype,i=a.hasOwnProperty,h=Object.defineProperty||function(r,n,o){r[n]=o.value},v,d=typeof Symbol=="function"?Symbol:{},L=d.iterator||"@@iterator",U=d.asyncIterator||"@@asyncIterator",G=d.toStringTag||"@@toStringTag";function w(r,n,o){return Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}),r[n]}try{w({},"")}catch(r){w=function(n,o,E){return n[o]=E}}function H(r,n,o,E){var l=n&&n.prototype instanceof C?n:C,f=Object.create(l.prototype),D=new ee(E||[]);return h(f,"_invoke",{value:nr(r,o,D)}),f}t.wrap=H;function k(r,n,o){try{return{type:"normal",arg:r.call(n,o)}}catch(E){return{type:"throw",arg:E}}}var q="suspendedStart",O="suspendedYield",V="executing",s="completed",c={};function C(){}function b(){}function M(){}var _={};w(_,L,function(){return this});var R=Object.getPrototypeOf,W=R&&R(R(ue([])));W&&W!==a&&i.call(W,L)&&(_=W);var x=M.prototype=C.prototype=Object.create(_);b.prototype=M,h(x,"constructor",{value:M,configurable:!0}),h(M,"constructor",{value:b,configurable:!0}),b.displayName=w(M,G,"GeneratorFunction");function me(r){["next","throw","return"].forEach(function(n){w(r,n,function(o){return this._invoke(n,o)})})}t.isGeneratorFunction=function(r){var n=typeof r=="function"&&r.constructor;return n?n===b||(n.displayName||n.name)==="GeneratorFunction":!1},t.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,M):(r.__proto__=M,w(r,G,"GeneratorFunction")),r.prototype=Object.create(x),r},t.awrap=function(r){return{__await:r}};function K(r,n){function o(f,D,S,$){var y=k(r[f],r,D);if(y.type==="throw")$(y.arg);else{var te=y.arg,j=te.value;return j&&typeof j=="object"&&i.call(j,"__await")?n.resolve(j.__await).then(function(N){o("next",N,S,$)},function(N){o("throw",N,S,$)}):n.resolve(j).then(function(N){te.value=N,S(te)},function(N){return o("throw",N,S,$)})}}var E;function l(f,D){function S(){return new n(function($,y){o(f,D,$,y)})}return E=E?E.then(S,S):S()}h(this,"_invoke",{value:l})}me(K.prototype),w(K.prototype,U,function(){return this}),t.AsyncIterator=K,t.async=function(r,n,o,E,l){l===void 0&&(l=Promise);var f=new K(H(r,n,o,E),l);return t.isGeneratorFunction(n)?f:f.next().then(function(D){return D.done?D.value:f.next()})};function nr(r,n,o){var E=q;return function(f,D){if(E===V)throw new Error("Generator is already running");if(E===s){if(f==="throw")throw D;return ir()}for(o.method=f,o.arg=D;;){var S=o.delegate;if(S){var $=de(S,o);if($){if($===c)continue;return $}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(E===q)throw E=s,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);E=V;var y=k(r,n,o);if(y.type==="normal"){if(E=o.done?s:O,y.arg===c)continue;return{value:y.arg,done:o.done}}else y.type==="throw"&&(E=s,o.method="throw",o.arg=y.arg)}}}function de(r,n){var o=n.method,E=r.iterator[o];if(E===v)return n.delegate=null,o==="throw"&&r.iterator.return&&(n.method="return",n.arg=v,de(r,n),n.method==="throw")||o!=="return"&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),c;var l=k(E,r.iterator,n.arg);if(l.type==="throw")return n.method="throw",n.arg=l.arg,n.delegate=null,c;var f=l.arg;if(!f)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c;if(f.done)n[r.resultName]=f.value,n.next=r.nextLoc,n.method!=="return"&&(n.method="next",n.arg=v);else return f;return n.delegate=null,c}me(x),w(x,G,"Generator"),w(x,L,function(){return this}),w(x,"toString",function(){return"[object Generator]"});function rr(r){var n={tryLoc:r[0]};1 in r&&(n.catchLoc=r[1]),2 in r&&(n.finallyLoc=r[2],n.afterLoc=r[3]),this.tryEntries.push(n)}function Y(r){var n=r.completion||{};n.type="normal",delete n.arg,r.completion=n}function ee(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(rr,this),this.reset(!0)}t.keys=function(r){var n=Object(r),o=[];for(var E in n)o.push(E);return o.reverse(),function l(){for(;o.length;){var f=o.pop();if(f in n)return l.value=f,l.done=!1,l}return l.done=!0,l}};function ue(r){if(r||r===""){var n=r[L];if(n)return n.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length)){var o=-1,E=function l(){for(;++o<r.length;)if(i.call(r,o))return l.value=r[o],l.done=!1,l;return l.value=v,l.done=!0,l};return E.next=E}}throw new TypeError(typeof r+" is not iterable")}t.values=ue;function ir(){return{value:v,done:!0}}return ee.prototype={constructor:ee,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(Y),!r)for(var n in this)n.charAt(0)==="t"&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=v)},stop:function(){this.done=!0;var r=this.tryEntries[0],n=r.completion;if(n.type==="throw")throw n.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function o($,y){return f.type="throw",f.arg=r,n.next=$,y&&(n.method="next",n.arg=v),!!y}for(var E=this.tryEntries.length-1;E>=0;--E){var l=this.tryEntries[E],f=l.completion;if(l.tryLoc==="root")return o("end");if(l.tryLoc<=this.prev){var D=i.call(l,"catchLoc"),S=i.call(l,"finallyLoc");if(D&&S){if(this.prev<l.catchLoc)return o(l.catchLoc,!0);if(this.prev<l.finallyLoc)return o(l.finallyLoc)}else if(D){if(this.prev<l.catchLoc)return o(l.catchLoc,!0)}else if(S){if(this.prev<l.finallyLoc)return o(l.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(r,n){for(var o=this.tryEntries.length-1;o>=0;--o){var E=this.tryEntries[o];if(E.tryLoc<=this.prev&&i.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var l=E;break}}l&&(r==="break"||r==="continue")&&l.tryLoc<=n&&n<=l.finallyLoc&&(l=null);var f=l?l.completion:{};return f.type=r,f.arg=n,l?(this.method="next",this.next=l.finallyLoc,c):this.complete(f)},complete:function(r,n){if(r.type==="throw")throw r.arg;return r.type==="break"||r.type==="continue"?this.next=r.arg:r.type==="return"?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):r.type==="normal"&&n&&(this.next=n),c},finish:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.finallyLoc===r)return this.complete(o.completion,o.afterLoc),Y(o),c}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc===r){var E=o.completion;if(E.type==="throw"){var l=E.arg;Y(o)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,o){return this.delegate={iterator:ue(r),resultName:n,nextLoc:o},this.method==="next"&&(this.arg=v),c}},t}(e.exports);try{regeneratorRuntime=u}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=u:Function("r","regeneratorRuntime = r")(u)}})(Hn);class he{constructor(u){var t,a,i;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:Dn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(i=u.props)!=null?i:new B,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);Ee(a)&&Object.assign(this.props,a)}catch(a){xn(`effect error
|
|
2
|
-
${a}`)}}callEffect(u,...t){this.filterEffects(u).forEach(a=>this.callEffectFn(a,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class
|
|
1
|
+
var qn=Object.defineProperty,jn=Object.defineProperties;var Kn=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var Wn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable;var J=(l,c,o)=>c in l?qn(l,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[c]=o,S=(l,c)=>{for(var o in c||(c={}))Wn.call(c,o)&&J(l,o,c[o]);if(X)for(var o of X(c))Xn.call(c,o)&&J(l,o,c[o]);return l},y=(l,c)=>jn(l,Kn(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 Q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",te="{caption}\u5FC5\u586B",ae="\u8BF7\u8F93\u5165\u6807\u9898",ne="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",re="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ie="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",oe="\u8BF7\u7ED1\u5B9A\u5217\u8868",ce="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ee="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Be="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",he="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",pe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",me="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",de="\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",ve="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fe="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ce="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ge="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",De="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Se="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ye="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ie="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Me="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$e="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Re="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Le="\u8BF7\u7ED1\u5B9A\u670D\u52A1",xe="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ue="\u8BF7\u9009\u62E9\u7701",Ne="\u8BF7\u9009\u62E9\u5E02",ke="\u8BF7\u9009\u62E9\u533A",Pe="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Te="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ve="\u8BF7\u8F93\u5165\u5217\u5BBD",Ge="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ze="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",He="\u8BF7\u9009\u62E9\u63A7\u4EF6",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qe="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",je="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ke="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",We="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Je="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ze="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Eu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",hu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",pu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",du="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Fu={isNotNumber:Q,isNotString:Z,isNotObject:Y,isNotArray:ee,isNotBoolean:ue,runtimeRequired:te,pleaseEnterCaption:ae,pleaseEnterCaptionTip:ne,pleaseEnterRowCaption:re,pleaseEnterPlaceholder:ie,pleaseEnterFieldCode:le,pleaseEnterForm:se,pleaseEnterList:oe,pleaseEnterProcess:ce,pleaseEnterLabel:Ee,pleaseEnterValue:Be,bizKeyNotBindFiled:he,pleaseSelectOneField:pe,pleaseEnterNumberRange:me,pleaseEnterAValueGreaterThanMin:de,pleaseEnterAValueLessThanMax:Fe,numberRangeSetError:Ae,stringRangeError:ve,attachmentMaxSize:fe,pleaseEnterTotalScoreSetting:Ce,theTotalScoreMustNotBeLessThan1:ge,scoreDefaultValueRange:De,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:Se,TheMaximumLengthIsGreaterThanTheMinimumLength:ye,TheMinimumLengthIsGreaterThanTheMaximumLength:Ie,PleaseSelectTheCorrectOptionSettings:Me,optionIdIsRepeat:$e,optionIsRequired:we,pleaseEnterDataCode:_e,pleaseEnterValueFieldCode:Re,pleaseEnterSvcCode:Le,pleaseBindAtLeastOneDisplayValue:xe,pleaseSelectProvince:Ue,pleaseSelectCity:Ne,pleaseSelectDistrict:ke,limitRowsCannotBeLessThan0:Pe,TheNumberOfRowsCannotBeLessThanMinRows:Te,pleaseEnterColumnWidth:Ve,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ge,pleaseCompleteAllRulesAndConditions:ze,pleaseSelectControl:He,pleaseSelectAtLeastOneColumn:Oe,pleaseSelectFillBackMode:qe,pleaseSelectDashboard:je,rootNodeIsRequired:Ke,theViewNameCannotBeEmpty:We,pleaseSelectOcrType:Xe,pleaseSelectAtLeastOneFieldToFillIn:Je,pleaseChooseAtLeastOne:Qe,pleaseEnterButtonContent:Ze,pleaseEnterDataCodeInDataSetting:Ye,pleaseEnterValueFieldCodeInDataSetting:eu,pleaseEnterSvcCodeInDataSetting:uu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:au,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:lu,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:ou,pleaseAssignExternal:cu,pleaseEnterAliasCode:Eu,pleaseSelectDataCode:Bu,pleaseSelectSvcCode:hu,pleaseSelectJoinFieldCode:pu,pleaseSelectMainFieldCode:mu,pleaseSelectSortFieldCode:du},Au="Please enter a number",vu="Please enter a string",fu="Please enter an object",Cu="Please enter an array",gu="Please enter a boolean",Du="{caption} Required",bu="Please enter the title",Su="Please enter the bubble prompt",yu="Please enter the row title",Iu="Please enter the prompt text",Mu="Please bind data items",$u="Please bind the form",wu="Please bind the list",_u="Please bind the process",Ru="Please enter the displayed value",Lu="Please enter the stored value",xu="The document number is not bound to the data item",Uu="Please select at least one display field",Nu="Please enter a value greater than or equal to {min} and less than or equal to {max}",ku="Please enter a value greater than or equal to {min}",Pu="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",Vu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Gu="The attachment size must be between 0MB and 1000MB",zu="Please fill in the total score setting",Hu="The total score cannot be less than 1",Ou="The default value must be between {min} and {max}",qu="The number of attachments uploaded must be between {min} and {max}",ju="Please re-select the optional quantity",Ku="The maximum length of the control must be greater than the minimum length",Wu="The minimum length of the control must be less than the maximum length",Xu="Please select the correct option setting",Ju="Option ID cannot be repeated",Qu="Please enter at least one option",Zu="Please bind the data source",Yu="Please bind the stored value",et="Please bind the service",ut="At least one display value must be bound",tt="Please select a province",at="Please select a city",nt="Please select a district",rt="The minimum number of lines to fill in cannot be less than 0",it="The number of rows cannot be less than {min} rows",lt="Please enter the column width",st="Please set the logical relationship of all rule conditions",ot="Please complete all rules and conditions",ct="please select control",Et="Please select the dashboard",Bt="View name cannot be empty",ht="Please select recognition type",pt="Please select at least one field to fill in",mt="Please select at least one",dt="Please enter the button title",Ft="Please bind the business model in the data settings",At="Please bind storage values in data settings",vt="Please bind the service in the data settings",ft="Please bind at least one display value in the data settings",Ct="Please select the root node in the data settings",gt="Please enter the maximum height",Dt="The input content cannot be empty",bt="Watermark cannot be empty",St="File name cannot be empty",yt="Please upload at least one printing template!\uFF01",It="Please select a specific business department",Mt="Please select a specified external organization",$t="Please enter a sub table alias",wt="Please select the associated table to set the business model",_t="Please select the association table to set the binding service",Rt="Select associated sub table fields",Lt="Please select the associated main table field",xt="Please select the sort field",Ut={isNotNumber:Au,isNotString:vu,isNotObject:fu,isNotArray:Cu,isNotBoolean:gu,runtimeRequired:Du,pleaseEnterCaption:bu,pleaseEnterCaptionTip:Su,pleaseEnterRowCaption:yu,pleaseEnterPlaceholder:Iu,pleaseEnterFieldCode:Mu,pleaseEnterForm:$u,pleaseEnterList:wu,pleaseEnterProcess:_u,pleaseEnterLabel:Ru,pleaseEnterValue:Lu,bizKeyNotBindFiled:xu,pleaseSelectOneField:Uu,pleaseEnterNumberRange:Nu,pleaseEnterAValueGreaterThanMin:ku,pleaseEnterAValueLessThanMax:Pu,numberRangeSetError:Tu,stringRangeError:Vu,attachmentMaxSize:Gu,pleaseEnterTotalScoreSetting:zu,theTotalScoreMustNotBeLessThan1:Hu,scoreDefaultValueRange:Ou,attachmentLimitError:qu,PleaseReselectTheOptionalQuantity:ju,TheMaximumLengthIsGreaterThanTheMinimumLength:Ku,TheMinimumLengthIsGreaterThanTheMaximumLength:Wu,PleaseSelectTheCorrectOptionSettings:Xu,optionIdIsRepeat:Ju,optionIsRequired:Qu,pleaseEnterDataCode:Zu,pleaseEnterValueFieldCode:Yu,pleaseEnterSvcCode:et,pleaseBindAtLeastOneDisplayValue:ut,pleaseSelectProvince:tt,pleaseSelectCity:at,pleaseSelectDistrict:nt,limitRowsCannotBeLessThan0:rt,TheNumberOfRowsCannotBeLessThanMinRows:it,pleaseEnterColumnWidth:lt,pleaseSetTheLogicalRelationshipOfAllRuleConditions:st,pleaseCompleteAllRulesAndConditions:ot,pleaseSelectControl:ct,pleaseSelectDashboard:Et,theViewNameCannotBeEmpty:Bt,pleaseSelectOcrType:ht,pleaseSelectAtLeastOneFieldToFillIn:pt,pleaseChooseAtLeastOne:mt,pleaseEnterButtonContent:dt,pleaseEnterDataCodeInDataSetting:Ft,pleaseEnterValueFieldCodeInDataSetting:At,pleaseEnterSvcCodeInDataSetting:vt,pleaseBindAtLeastOneDisplayValueInDataSetting:ft,rootNodeIsRequiredInDataSetting:Ct,pleaseEnterMaxHeight:gt,pleaseEnter:Dt,pleaseEnterWatermark:bt,pleaseEnterFileName:St,pleaseUploadAtLeastOnePrintTemplate:yt,pleaseAssignBusiness:It,pleaseAssignExternal:Mt,pleaseEnterAliasCode:$t,pleaseSelectDataCode:wt,pleaseSelectSvcCode:_t,pleaseSelectJoinFieldCode:Rt,pleaseSelectMainFieldCode:Lt,pleaseSelectSortFieldCode:xt},Nt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="{caption}\u5FC5\u9808",zt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ot="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Yt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ea="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ta="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",na="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ra="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",la="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ca="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ma="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",da="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",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",va="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",fa="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ca="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ba="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Sa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ma="please select control",$a="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_a="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",La="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xa="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\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",Va="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",za="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ha="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Oa="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",qa="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Qa="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ya={isNotNumber:Nt,isNotString:kt,isNotObject:Pt,isNotArray:Tt,isNotBoolean:Vt,runtimeRequired:Gt,pleaseEnterCaption:zt,pleaseEnterCaptionTip:Ht,pleaseEnterRowCaption:Ot,pleaseEnterPlaceholder:qt,pleaseEnterFieldCode:jt,pleaseEnterForm:Kt,pleaseEnterList:Wt,pleaseEnterProcess:Xt,pleaseEnterLabel:Jt,pleaseEnterValue:Qt,bizKeyNotBindFiled:Zt,pleaseSelectOneField:Yt,pleaseEnterNumberRange:ea,pleaseEnterAValueGreaterThanMin:ua,pleaseEnterAValueLessThanMax:ta,numberRangeSetError:aa,stringRangeError:na,attachmentMaxSize:ra,pleaseEnterTotalScoreSetting:ia,theTotalScoreMustNotBeLessThan1:la,scoreDefaultValueRange:sa,attachmentLimitError:oa,PleaseReselectTheOptionalQuantity:ca,TheMaximumLengthIsGreaterThanTheMinimumLength:Ea,TheMinimumLengthIsGreaterThanTheMaximumLength:Ba,PleaseSelectTheCorrectOptionSettings:ha,optionIdIsRepeat:pa,optionIsRequired:ma,pleaseEnterDataCode:da,pleaseEnterValueFieldCode:Fa,pleaseEnterSvcCode:Aa,pleaseBindAtLeastOneDisplayValue:va,pleaseSelectProvince:fa,pleaseSelectCity:Ca,pleaseSelectDistrict:ga,limitRowsCannotBeLessThan0:Da,TheNumberOfRowsCannotBeLessThanMinRows:ba,pleaseEnterColumnWidth:Sa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ya,pleaseCompleteAllRulesAndConditions:Ia,pleaseSelectControl:Ma,pleaseSelectDashboard:$a,theViewNameCannotBeEmpty:wa,pleaseSelectOcrType:_a,pleaseSelectAtLeastOneFieldToFillIn:Ra,pleaseChooseAtLeastOne:La,pleaseEnterButtonContent:xa,pleaseEnterDataCodeInDataSetting:Ua,pleaseEnterValueFieldCodeInDataSetting:Na,pleaseEnterSvcCodeInDataSetting:ka,pleaseBindAtLeastOneDisplayValueInDataSetting:Pa,rootNodeIsRequiredInDataSetting:Ta,pleaseEnterMaxHeight:Va,pleaseEnter:Ga,pleaseEnterWatermark:za,pleaseEnterFileName:Ha,pleaseUploadAtLeastOnePrintTemplate:Oa,pleaseAssignBusiness:qa,pleaseAssignExternal:ja,pleaseEnterAliasCode:Ka,pleaseSelectDataCode:Wa,pleaseSelectSvcCode:Xa,pleaseSelectJoinFieldCode:Ja,pleaseSelectMainFieldCode:Qa,pleaseSelectSortFieldCode:Za},en={zhCN:Fu,enUS:Ut,jaJP:Ya},_;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(_||(_={}));var R;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(R||(R={}));var un="zh-CN",tn=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 L;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(L||(L={}));var E;(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.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(E||(E={}));var B;(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"})(B||(B={}));var h;h={},p(h,B.ARRAY,E.ARRAY_COLUMN),p(h,B.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),p(h,B.DECIMAL,E.DECIMAL_COLUMN),p(h,B.DEPARTMENTS,E.DEPARTMENT_COLUMN),p(h,B.FILE,E.FILE_COLUMN),p(h,B.IMAGE,E.IMAGE_COLUMN),p(h,B.ADDRESS,E.LOCATION_COLUMN),p(h,B.EMPLOYEES,E.EMPLOYEE_COLUMN),p(h,B.TEXT,E.TEXT_COLUMN),p(h,B.TIMESCOPE,E.TIMESCOPE_COLUMN),p(h,B.TIMESTAMP,E.TIMESTAMP_COLUMN),p(h,B.VARCHAR,E.VARCHAR_COLUMN),p(h,B.RELATION,E.VARCHAR_COLUMN);var x;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(x||(x={}));function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function D(e,u,t){return U()?D=Reflect.construct:D=function(n,s,d){var m=[null];m.push.apply(m,s);var v=Function.bind.apply(n,m),b=new v;return d&&C(b,d.prototype),b},D.apply(null,arguments)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(e)}function rn(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&&C(e,u)}function ln(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sn(e,u){return u&&(on(u)==="object"||typeof u=="function")?u:an(e)}function C(e,u){return C=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},C(e,u)}function on(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I(e){var u=typeof Map=="function"?new Map:void 0;return I=function(a){if(a===null||!ln(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 D(a,arguments,f(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),C(n,a)},I(e)}function U(){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 cn(e){var u=U();return function(){var a=f(e),n;if(u){var s=f(this).constructor;n=Reflect.construct(a,arguments,s)}else n=a.apply(this,arguments);return sn(this,n)}}function En(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bn=function(e){rn(t,e);var u=cn(t);function t(a){nn(this,t);var n;return n=u.call(this,a),n.name="\u{1F4A5} Driven Error",n.message=a?En(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return t}(I(Error));function hn(e){throw new Bn(e)}var pn=Object.prototype.toString;function N(e,u){return pn.call(e)==="[object "+u+"]"}function mn(e){return N(e,"String")}function dn(e){return N(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();dn(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,d,m){if(n!==void 0){var v=n[s];if(!(d===m.length-1&&!mn(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 An(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function k(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 vn(e,u,t){return u&&k(e.prototype,u),t&&k(e,t),e}function fn(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var P=function(){function e(){An(this,e)}return vn(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]:un;return new Fn({locale:t,messages:en})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();fn(P,"$i18n",P.resetI18n());var Cn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gn={exports:{}};(function(e){(function(u){var t=function(r,i,F){if(!b(i)||Gn(i)||zn(i)||Hn(i)||v(i))return i;var A,g=0,W=0;if(Vn(i))for(A=[],W=i.length;g<W;g++)A.push(t(r,i[g],F));else{A={};for(var w in i)Object.prototype.hasOwnProperty.call(i,w)&&(A[r(w,F)]=t(r,i[w],F))}return A},a=function(r,i){i=i||{};var F=i.separator||"_",A=i.split||/(?=[A-Z])/;return r.split(A).join(F)},n=function(r){return On(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(i,F){return F?F.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)},d=function(r,i){return a(r,i).toLowerCase()},m=Object.prototype.toString,v=function(r){return typeof r=="function"},b=function(r){return r===Object(r)},Vn=function(r){return m.call(r)=="[object Array]"},Gn=function(r){return m.call(r)=="[object Date]"},zn=function(r){return m.call(r)=="[object RegExp]"},Hn=function(r){return m.call(r)=="[object Boolean]"},On=function(r){return r=r-0,r===r},$=function(r,i){var F=i&&"process"in i?i.process:i;return typeof F!="function"?r:function(A,g){return F(A,r,g)}},K={camelize:n,decamelize:d,pascalize:s,depascalize:d,camelizeKeys:function(r,i){return t($(n,i),r)},decamelizeKeys:function(r,i){return t($(d,i),r,i)},pascalizeKeys:function(r,i){return t($(s,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=K:u.humps=K})(Cn)})(gn);var T={};Object.defineProperty(T,"__esModule",{value:!0});function M(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:M(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:M(a)}return u}}T.default=M;function V(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function G(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 bn(e,u,t){return u&&G(e.prototype,u),t&&G(e,t),e}function Sn(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var yn=[{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"}],In=function(){function e(){Dn(this,e)}return bn(e,[{key:"getEventsFromKeys",value:function(t){var a=typeof t=="string"?[t]:t;return e.events.filter(function(n){return a.includes(n.key)})}}]),e}();Sn(In,"events",yn);class z{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:tn,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);V(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 H{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 O(e){return"type"in e&&e.type==="tab"}class q{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class Mn extends o{constructor(u){super(u),V(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 wn 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 _n 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 Rn extends o{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class Ln 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 xn 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 Un extends o{constructor(u){var t,a,n,s,d,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=(d=u==null?void 0:u.minRows)!=null?d:"",this.i18n=(m=u==null?void 0:u.i18n)!=null?m:!1}}function Nn(e,u){switch(e){case"input":return new $n(u);case"textarea":return new Un(u);case"input-number":return new wn(u);case"switch":return new _n(u);case"radio":return new xn(u);case"checkbox":return new Rn(u);case"select":return new Ln(u);default:return new Mn(u)}}function kn(e){return function(u){const t=e.get(u);if(!!t)return new z(y(S({},t),{props:Nn(t.component,"props"in t?t.props:void 0)}))}}function Pn(e){const u=e.fields.reduce((n,s)=>(n.set(s.key,s),n),new Map);function t(n){return new H(y(S({},n),{items:n.items.map(kn(u)).filter(Boolean)}))}function a(n){return n.map(t)}return e.groups.map(n=>O(n)?new q(y(S({},n),{items:a(n.items)})):t(n))}function j(){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[...j(),{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=H,l.Setting=z,l.Tab=q,l.createBaseFields=j,l.createFormBaseFields=Tn,l.defineInstance=c,l.initSettings=Pn,l.isTabSchema=O,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
|
|
66
|
-
export interface RuntimeValidator {
|
|
67
|
-
(props: any, value: unknown, i18n: string): string | boolean | void;
|
|
68
|
-
}
|
|
69
|
-
export
|
|
70
|
-
export
|
|
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
|
|
13
|
-
export
|
|
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
|
+
}
|