@byteluck-fe/model-driven-controls 7.0.0-beta.5 → 7.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BarChart/designer.js +11 -11
- package/dist/esm/baseControls/BarChart/property.js +73 -22
- package/dist/esm/baseControls/BatchDeleteButton/property.js +23 -15
- package/dist/esm/baseControls/BatchPrintListButton/property.js +14 -11
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
- package/dist/esm/baseControls/Button/property.js +27 -17
- package/dist/esm/baseControls/Comment/property.js +7 -7
- package/dist/esm/baseControls/CreateFormListButton/property.js +13 -10
- package/dist/esm/baseControls/Dashboard/property.js +21 -14
- package/dist/esm/baseControls/Divider/property.js +17 -12
- package/dist/esm/baseControls/ExportListButton/property.js +14 -11
- package/dist/esm/baseControls/ExportRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/FormSelectButton/property.js +11 -9
- package/dist/esm/baseControls/Iframe/designer.js +4 -4
- package/dist/esm/baseControls/Iframe/property.js +10 -7
- package/dist/esm/baseControls/ImportRecordListButton/property.js +14 -11
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +24 -16
- package/dist/esm/baseControls/LineChart/designer.js +7 -7
- package/dist/esm/baseControls/LineChart/property.js +73 -22
- package/dist/esm/baseControls/Link/property.js +17 -12
- package/dist/esm/baseControls/ListSelectButton/property.js +15 -11
- package/dist/esm/baseControls/ListViewSelect/property.js +10 -9
- package/dist/esm/baseControls/OperationButton/property.js +17 -12
- package/dist/esm/baseControls/Pagination/property.js +5 -5
- package/dist/esm/baseControls/PieChart/designer.js +10 -10
- package/dist/esm/baseControls/PieChart/property.js +80 -20
- package/dist/esm/baseControls/ReferenceList/property.js +17 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/Text/designer.js +1 -1
- package/dist/esm/baseControls/Text/property.js +23 -15
- package/dist/esm/baseControls/TextOcrButton/property.js +24 -16
- package/dist/esm/baseControls/Title/property.js +6 -4
- package/dist/esm/baseControls/utils.js +1 -1
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -9
- package/dist/esm/columnControls/ArrayColumn/property.js +13 -10
- package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -8
- package/dist/esm/columnControls/CustomColumn/designer.js +0 -1
- package/dist/esm/columnControls/CustomColumn/property.js +11 -9
- package/dist/esm/columnControls/DecimalColumn/property.js +19 -13
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -8
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -8
- package/dist/esm/columnControls/FileColumn/property.js +9 -8
- package/dist/esm/columnControls/GroupColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/LocationColumn/property.js +9 -8
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -16
- package/dist/esm/columnControls/OperationColumn/property.js +15 -11
- package/dist/esm/columnControls/OrderColumn/property.js +17 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/TextColumn/property.js +13 -10
- package/dist/esm/columnControls/TimescopeColumn/property.js +13 -10
- package/dist/esm/columnControls/TimestampColumn/property.js +13 -10
- package/dist/esm/columnControls/VarcharColumn/property.js +17 -12
- package/dist/esm/formControls/Address/property.js +17 -12
- package/dist/esm/formControls/Amount/property.js +29 -18
- package/dist/esm/formControls/Attachment/property.js +39 -23
- package/dist/esm/formControls/AutoNumber/property.js +11 -9
- package/dist/esm/formControls/Barcode/designer.js +41 -21
- package/dist/esm/formControls/Barcode/property.js +21 -13
- package/dist/esm/formControls/Barcode/schema.json +19 -8
- package/dist/esm/formControls/Calc/property.js +18 -10
- package/dist/esm/formControls/Cascader/property.js +31 -17
- package/dist/esm/formControls/Checkbox/property.js +31 -17
- package/dist/esm/formControls/Counter/property.js +18 -10
- package/dist/esm/formControls/DatePicker/property.js +32 -20
- package/dist/esm/formControls/DateRange/property.js +28 -18
- package/dist/esm/formControls/Department/property.js +27 -17
- package/dist/esm/formControls/Department2/property.js +40 -24
- package/dist/esm/formControls/ElectronicSignature/property.js +17 -12
- package/dist/esm/formControls/Employee/property.js +23 -15
- package/dist/esm/formControls/Employee2/property.js +38 -22
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +17 -8
- package/dist/esm/formControls/Input/property.js +20 -11
- package/dist/esm/formControls/Number/property.js +32 -17
- package/dist/esm/formControls/OrganizationSelection/property.js +41 -24
- package/dist/esm/formControls/QrCode/designer.js +47 -27
- package/dist/esm/formControls/QrCode/property.js +24 -17
- package/dist/esm/formControls/QrCode/schema.json +20 -9
- package/dist/esm/formControls/Radio/property.js +33 -20
- package/dist/esm/formControls/RichText/designer.js +1 -1
- package/dist/esm/formControls/RichText/property.js +22 -12
- package/dist/esm/formControls/Score/property.js +17 -10
- package/dist/esm/formControls/SearchDateRange/property.js +30 -19
- package/dist/esm/formControls/SearchInput/property.js +5 -5
- package/dist/esm/formControls/SearchNumberRange/property.js +17 -12
- package/dist/esm/formControls/Select/property.js +29 -18
- package/dist/esm/formControls/SelectMultiple/property.js +27 -17
- package/dist/esm/formControls/SelectRelation/property.js +31 -19
- package/dist/esm/formControls/Slider/designer.js +2 -1
- package/dist/esm/formControls/Slider/property.js +22 -17
- package/dist/esm/formControls/Switch/designer.js +15 -14
- package/dist/esm/formControls/Switch/property.js +19 -10
- package/dist/esm/formControls/Tag/designer.js +14 -13
- package/dist/esm/formControls/Tag/property.js +23 -15
- package/dist/esm/formControls/Textarea/property.js +20 -11
- package/dist/esm/formControls/TimePicker/property.js +20 -14
- package/dist/esm/formControls/TimeRange/property.js +24 -16
- package/dist/esm/formControls/Tree/property.js +39 -21
- package/dist/esm/formControls/VueFormItem/property.js +15 -11
- package/dist/esm/formControls/VuePage/property.js +15 -11
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +29 -18
- package/dist/esm/framework.js +135 -81
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +11 -9
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
- package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
- package/dist/esm/layoutControls/BlankContainer/property.js +15 -12
- package/dist/esm/layoutControls/CardGroup/property.js +20 -11
- package/dist/esm/layoutControls/Col/property.js +11 -9
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +9 -8
- package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
- package/dist/esm/layoutControls/DataView/property.js +19 -13
- package/dist/esm/layoutControls/Grid/property.js +5 -5
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +9 -8
- package/dist/esm/layoutControls/GridRow/property.js +5 -5
- package/dist/esm/layoutControls/GridTableColumn/property.js +25 -16
- package/dist/esm/layoutControls/ListView/property.js +28 -15
- package/dist/esm/layoutControls/Page/property.js +7 -7
- package/dist/esm/layoutControls/Position/property.js +13 -10
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
- package/dist/esm/layoutControls/Row/property.js +15 -11
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +27 -17
- package/dist/esm/layoutControls/StepPane/property.js +21 -14
- package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +15 -11
- package/dist/esm/layoutControls/TabPane/property.js +7 -7
- package/dist/esm/layoutControls/TableLayout/property.js +35 -21
- package/dist/esm/layoutControls/TableLayoutCol/property.js +25 -16
- package/dist/esm/layoutControls/TableLayoutRow/property.js +9 -8
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +11 -9
- package/dist/esm/layoutControls/Toolbox/property.js +5 -5
- package/dist/esm/listControls/GridTable/designer.js +12 -17
- package/dist/esm/listControls/GridTable/property.js +15 -11
- package/dist/esm/listControls/SubTable/property.js +70 -36
- package/dist/esm/searchControls/SimpleSearch/property.js +29 -18
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -7
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Barcode/property.d.ts +5 -10
- package/dist/types/formControls/QrCode/property.d.ts +5 -10
- package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var mw=Object.defineProperty,gw=Object.defineProperties;var bw=Object.getOwnPropertyDescriptors;var jh=Object.getOwnPropertySymbols,Cw=Object.getPrototypeOf,Ew=Object.prototype.hasOwnProperty,_w=Object.prototype.propertyIsEnumerable,Iw=Reflect.get;var qh=(v,r,K)=>r in v?mw(v,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):v[r]=K,lt=(v,r)=>{for(var K in r||(r={}))Ew.call(r,K)&&qh(v,K,r[K]);if(jh)for(var K of jh(r))_w.call(r,K)&&qh(v,K,r[K]);return v},Ar=(v,r)=>gw(v,bw(r));var Tr=(v,r,K)=>Iw(Cw(v),K,r);var Sr=(v,r,K)=>new Promise((Qu,Gi)=>{var Zu=ve=>{try{Rt(K.next(ve))}catch(xt){Gi(xt)}},Xu=ve=>{try{Rt(K.throw(ve))}catch(xt){Gi(xt)}},Rt=ve=>ve.done?Qu(ve.value):Promise.resolve(ve.value).then(Zu,Xu);Rt((K=K.apply(v,r)).next())});(function(v,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(v=typeof globalThis!="undefined"?globalThis:v||self,r(v.modelDrivenControls={}))})(this,function(v){"use strict";const r=(t,e,i)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,s)=>{s===0?u=l[c]:u&&(u=u[c])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(c=>{const s=e[c];a=a.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),s)}),a||(i?a=i:a=t),a};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Qu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Zu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Wh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Uh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",zh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Gh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Kh="\u8BF7\u7ED1\u5B9A\u5217\u8868",Qh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Zh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Jh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ph="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ey="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ty="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",iy="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ny="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",uy="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ly="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ay="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ry="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",oy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",cy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",sy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",dy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",hy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",yy="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",fy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",vy="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",my="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",gy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",by="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Cy="\u8BF7\u9009\u62E9\u7701",Ey="\u8BF7\u9009\u62E9\u5E02",_y="\u8BF7\u9009\u62E9\u533A",Iy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",By="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Dy="\u8BF7\u8F93\u5165\u5217\u5BBD",Fy="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",wy="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ay="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ty="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Sy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Py="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Oy="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ky="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ry="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",My="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ny="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ly="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Hy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",qy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Wy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Uy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Gy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ky="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Zy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Xy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Jy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Yy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",py="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ef="\u6279\u91CF\u5220\u9664",tf="\u6279\u91CF\u6253\u5370",nf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",uf="\u6309\u94AE",lf="\u521B\u5EFA\u5355\u636E",af="\u4EEA\u8868\u76D8",rf="\u5206\u5272\u7EBF",of="\u5BFC\u51FA",cf="\u8868\u5355\u64CD\u4F5C",sf="\u5BFC\u5165",df="\u53D1\u7968\u8BC6\u522B",hf="\u94FE\u63A5",yf="\u5217\u8868\u9009\u62E9",ff="\u5217\u8868\u89C6\u56FE",vf="\u64CD\u4F5C\u6309\u94AE",mf="\u5206\u9875",gf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",bf="\u8BF4\u660E\u6587\u5B57",Cf="\u6587\u5B57\u8BC6\u522B",Ef="\u6807\u9898\u7EC4\u4EF6",_f="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",If="\u6570\u7EC4",Bf="\u81EA\u52A8\u7F16\u53F7",Df="\u81EA\u5B9A\u4E49",Ff="\u6570\u503C",wf="\u90E8\u95E8",Af="\u4EBA\u5458",Tf="\u9644\u4EF6",Sf="\u56FE\u7247",Pf="\u5730\u5740",Of="\u64CD\u4F5C",kf="\u5E8F\u53F7",Rf="\u4EBA\u5458",xf="\u957F\u6587\u672C",Mf="\u65E5\u671F\u533A\u95F4",Nf="\u65E5\u671F",Lf="\u77ED\u6587\u672C",$f="\u6362\u884C\u5BB9\u5668Wrap",Hf="\u8868\u683C",Vf="\u660E\u7EC6\u5B50\u8868",jf="\u5730\u5740",qf="\u91D1\u989D",Wf="\u8BA1\u7B97\u516C\u5F0F",Uf="\u591A\u9009",zf="\u7535\u5B50\u7B7E\u7AE0",Gf="\u5355\u884C\u6587\u672C",Kf="\u6570\u5B57",Qf="\u4E1A\u52A1\u7EC4\u7EC7",Zf="\u5355\u9009",Xf="\u5BCC\u6587\u672C",Jf="\u8BC4\u5206",Yf="\u6570\u5B57\u533A\u95F4",pf="\u4E0B\u62C9\u5355\u9009",ev="\u4E0B\u62C9\u591A\u9009",tv="\u5173\u8054\u5355\u9009",iv="\u591A\u884C\u6587\u672C",nv="\u6811",uv="Vue\u5BB9\u5668",lv="Vue\u9875\u9762",av="\u5728\u7EBF\u6587\u6863",rv="\u6309\u94AE\u64CD\u4F5C\u680F",ov="\u9AD8\u7EA7\u5BB9\u5668",cv="\u5206\u7EC4",sv="\u6805\u683C\u5217",dv="\u6570\u636E\u5BB9\u5668",hv="\u753B\u5E03",yv="\u6362\u884C\u5BB9\u5668",fv="\u6805\u683C\u7B49\u5206\u884C",vv="\u5217\u8868\u5BB9\u5668",mv="\u81EA\u7531\u9875\u9762",gv="\u5B9A\u4F4D\u5B50\u5BB9\u5668",bv="\u5B9A\u4F4D\u5BB9\u5668",Cv="\u6805\u683C\u5E03\u5C40",Ev="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_v="\u660E\u7EC6\u5B50\u8868\u884C",Iv="\u6807\u7B7E\u9875",Bv="\u6807\u7B7E\u5355\u5143",Dv="\u5DE5\u5177\u680F",Fv="\u6279\u91CF\u63D0\u4EA4",wv="\u5BFC\u51FA\u8BB0\u5F55",Av="\u5217\u8868\u89C6\u56FE",Tv="\u7ED3\u675F\u65F6\u95F4",Sv="\u5F00\u59CB\u65F6\u95F4",Pv="\u5355\u4F4D",Ov="\u7ED3\u679C",kv="\u5E01\u79CD",Rv="\u7ED3\u675F\u65E5\u671F",xv="\u5F00\u59CB\u65E5\u671F",Mv="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Nv="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Lv="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",$v="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Hv="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Vv="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",jv="\u8BF7\u9009\u62E9",qv="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Wv="\u8BF7\u9009\u62E9\u90E8\u95E8",Uv="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",zv="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Gv="\u8BF7\u9009\u62E9\u5730\u5740",Kv="\u5F39\u7A97\u786E\u8BA4\u65F6",Qv="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Zv="\u884C\u9009\u4E2D\u65F6",Xv="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Jv="\u884C\u5220\u9664\u524D",Yv="\u884C\u70B9\u51FB\u65F6",pv="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",em="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",tm="\u91CD\u547D\u540D\u65F6",im="\u4FDD\u5B58\u6587\u4EF6\u65F6",nm="\u6253\u5F00\u6587\u4EF6\u65F6",um="\u83B7\u53D6\u7126\u70B9\u65F6",lm="\u5931\u53BB\u7126\u70B9\u65F6",am="\u7528\u6237\u8F93\u5165\u65F6",rm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",om="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",cm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",sm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",dm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",hm="\u641C\u7D22\u65F6",ym="\u503C\u53D1\u751F\u53D8\u5316\u65F6",fm="\u6267\u884C\u5B8C\u6210\u65F6",vm="\u70B9\u51FB\u65F6",mm="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",gm="\u8BF7\u8F93\u5165\u65E5\u671F",bm="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Cm="\u8BF7\u8F93\u5165",Em="\u9ED8\u8BA4\u6A21\u7248",_m="\u5DE6\u53F3\u5E03\u5C40",Im="\u4E0A\u4E0B\u5E03\u5C40",Bm="\u53EA\u8BFB",Dm="\u5FC5\u586B",Fm="\u63D0\u793A\u6587\u5B57",wm="\u9690\u85CF\u6807\u9898",Am="\u6807\u9898\u5FC5\u586B",Tm="\u7EC4\u7EC7\u5F62\u6001",Sm="\u4E1A\u52A1\u7C7B\u578B",Pm="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Om="\u9690\u85CF",km="\u6D41\u7A0B\u72B6\u6001",Rm="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",xm="\u5220\u9664",Mm="\u7F16\u8F91",Nm="\u67E5\u770B",Lm="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",$m="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Hm="\u5145\u6EE1\u6574\u884C",Vm="\u6700\u5C0F\u503C",jm="\u6700\u5927\u503C",qm="\u65B0\u5EFA\u6587\u6863",Wm="\u91CD\u7F6E",Um="\u67E5\u8BE2",zm="\u660E\u7EC6",Gm="\u6253\u5370",Km="\u4FDD\u5B58\u8349\u7A3F",Qm="\u4FDD\u5B58",Zm="\u53D6\u6D88",Xm="\u4E0A\u4F20\u56FE\u7247",Jm="\u53D1\u8D77\u7B7E\u7F72",Ym="\u4E0A\u4F20\u9644\u4EF6",pm="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",e0="\u5F15\u7528\u5217\u8868",t0="\u9009\u9879\u4E00",i0="\u9009\u9879\u4E8C",n0="\u9009\u9879\u4E09",u0={isNotNumber:K,isNotString:Qu,isNotObject:Gi,isNotArray:Zu,isNotBoolean:Xu,runtimeRequired:Rt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:Wh,pleaseEnterPlaceholder:Uh,pleaseEnterFieldCode:zh,pleaseEnterForm:Gh,pleaseEnterList:Kh,pleaseEnterProcess:Qh,pleaseEnterLabel:Zh,pleaseEnterValue:Xh,bizKeyNotBindFiled:Jh,pleaseSelectOneField:Yh,pleaseEnterNumberRange:ph,pleaseEnterAValueGreaterThanMin:ey,pleaseEnterAValueLessThanMax:ty,numberRangeSetError:iy,stringRangeError:ny,attachmentMaxSize:uy,pleaseEnterTotalScoreSetting:ly,theTotalScoreMustNotBeLessThan1:ay,scoreDefaultValueRange:ry,attachmentLimitError:oy,PleaseReselectTheOptionalQuantity:cy,TheMaximumLengthIsGreaterThanTheMinimumLength:sy,TheMinimumLengthIsGreaterThanTheMaximumLength:dy,PleaseSelectTheCorrectOptionSettings:hy,optionIdIsRepeat:yy,optionIsRequired:fy,pleaseEnterDataCode:vy,pleaseEnterValueFieldCode:my,pleaseEnterSvcCode:gy,pleaseBindAtLeastOneDisplayValue:by,pleaseSelectProvince:Cy,pleaseSelectCity:Ey,pleaseSelectDistrict:_y,limitRowsCannotBeLessThan0:Iy,TheNumberOfRowsCannotBeLessThanMinRows:By,pleaseEnterColumnWidth:Dy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fy,pleaseCompleteAllRulesAndConditions:wy,pleaseSelectControl:Ay,pleaseSelectAtLeastOneColumn:Ty,pleaseSelectFillBackMode:Sy,pleaseSelectDashboard:Py,rootNodeIsRequired:Oy,theViewNameCannotBeEmpty:ky,pleaseSelectOcrType:Ry,pleaseSelectAtLeastOneFieldToFillIn:xy,pleaseChooseAtLeastOne:My,pleaseEnterButtonContent:Ny,pleaseEnterDataCodeInDataSetting:Ly,pleaseEnterValueFieldCodeInDataSetting:$y,pleaseEnterSvcCodeInDataSetting:Hy,pleaseBindAtLeastOneDisplayValueInDataSetting:Vy,rootNodeIsRequiredInDataSetting:jy,pleaseEnterMaxHeight:qy,pleaseEnterWatermark:Wy,pleaseEnterFileName:Uy,pleaseUploadAtLeastOnePrintTemplate:zy,pleaseAssignBusiness:Gy,pleaseAssignExternal:Ky,pleaseEnterAliasCode:Qy,pleaseSelectDataCode:Zy,pleaseSelectSvcCode:Xy,pleaseSelectJoinFieldCode:Jy,pleaseSelectMainFieldCode:Yy,pleaseSelectSortFieldCode:py,batchDeleteButton:ef,batchPrintListButton:tf,batchPrintRecordList:nf,button:uf,createFormListButton:lf,dashboard:af,divider:rf,exportListButton:of,formSelectButton:cf,importRecordListButton:sf,invoiceCheckButton:df,link:hf,listSelectButton:yf,ListViewSelect:ff,operationButton:vf,pagination:mf,submissionRecordListButton:gf,text:bf,textOcrButton:Cf,title:Ef,approvalStatusColumn:_f,array:If,autoNumber:Bf,custom:Df,decimal:Ff,department:wf,employee:Af,file:Tf,image:Sf,location:Pf,operation:Of,order:kf,people:Rf,long:xf,timescope:Mf,timestamp:Nf,varchar:Lf,gridLayoutWrap:$f,gridTable:Hf,subTable:Vf,address:jf,amount:qf,calc:Wf,checkBox:Uf,electronicSignature:zf,input:Gf,number:Kf,organizationSelection:Qf,radio:Zf,richText:Xf,score:Jf,searchNumberRange:Yf,select:pf,selectMultiple:ev,selectRelation:tv,textarea:iv,tree:nv,vueFormItem:uv,vuePage:lv,WPS:av,actionBar:rv,advancedContainer:ov,cardGroup:cv,col:sv,dataView:dv,grid:hv,gridLayoutContainer:yv,gridRow:fv,listView:vv,page:mv,position:gv,positioningContainer:bv,row:Cv,subtableColumn:Ev,subtableRow:_v,tab:Iv,tabPane:Bv,toolbox:Dv,batchSubmissionListButton:Fv,exportRecordListButton:wv,listViewSelect:Av,endTime:Tv,startTime:Sv,unit:Pv,result:Ov,currency:kv,endDate:Rv,startDate:xv,pleaseSelectCompanyName:Mv,pleaseSelectPhoneOrEmail:Nv,pleaseSelectSignType:Lv,pleaseSelectSigner:$v,pleaseSelectOnlyOne:Hv,pleaseSelectSignFile:Vv,pleaseSelect:jv,pleaseSelectOrg:qv,pleaseSelectDept:Wv,pleaseSelectEndDate:Uv,pleaseSelectStartDate:zv,pleaseChooseAddress:Gv,modalConfirm:Kv,tabChange:Qv,rowSelected:Zv,listDataImport:Xv,rowDelete:Jv,rowClick:Yv,cellRender:pv,onClickBtn:em,rename:tm,onSaveFile:im,onOpenFile:nm,onFocus:um,onBlur:lm,onInput:am,listDataAdd:rm,listDataDelete:om,listDataBack:cm,listDataCreate:sm,listDataChange:dm,search:hm,valueChange:ym,finished:fm,click:vm,pleaseEnterNameorEmail:mm,pleaseEnterDate:gm,pleaseEnterAutonumber:bm,pleaseEnter:Cm,defaultTemplate:Em,left:_m,top:Im,default:"\u666E\u901A",readonly:Bm,required:Dm,textTip:Fm,hideCaption:wm,titleRequired:Am,organizationalForm:Tm,businessType:Sm,deleteConfirm:Pm,hide:Om,processStatus:km,approvedDocuments:Rm,delete:xm,edit:Mm,view:Nm,loadCtrlErrorTip:Lm,loadCtrlError:$m,fullLine:Hm,min:Vm,max:jm,createWPS:qm,reset:Wm,query:Um,detailed:zm,print:Gm,draft:Km,save:Qm,cancel:Zm,uploadImg:Xm,signature:Jm,uploadFile:Ym,linkContent:pm,referenceList:e0,optionOne:t0,optionTwo:i0,optionThird:n0},l0="Please enter a number",a0="Please enter a string",r0="Please enter an object",o0="Please enter an array",c0="Please enter a boolean",s0="{caption} Required",d0="Please enter the title",h0="Please enter the bubble prompt",y0="Please enter the row title",f0="Please enter the prompt text",v0="Please bind data items",m0="Please bind the form",g0="Please bind the list",b0="Please bind the process",C0="Please enter the displayed value",E0="Please enter the stored value",_0="The document number is not bound to the data item",I0="Please select at least one display field",B0="Please enter a value greater than or equal to {min} and less than or equal to {max}",D0="Please enter a value greater than or equal to {min}",F0="Please enter a value less than or equal to {max}",w0="The value range is set incorrectly",A0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",T0="The attachment size must be between 0MB and 1000MB",S0="Please fill in the total score setting",P0="The total score cannot be less than 1",O0="The default value must be between {min} and {max}",k0="The number of attachment uploads exceeds the limit",R0="Please re-select the optional quantity",x0="The maximum length of the control must be greater than the minimum length",M0="The minimum length of the control must be less than the maximum length",N0="Please select the correct option setting",L0="Option ID cannot be repeated",$0="Please enter at least one option",H0="Please bind the data source",V0="Please bind the stored value",j0="Please bind the service",q0="At least one display value must be bound",W0="Please select a province",U0="Please select a city",z0="Please select a district",G0="The minimum number of lines to fill in cannot be less than 0",K0="The number of rows cannot be less than {min} rows",Q0="Please enter the column width",Z0="Please set the logical relationship of all rule conditions",X0="Please complete all rules and conditions",J0="please select control",Y0="Please select the dashboard",p0="View name cannot be empty",eg="Please select recognition type",tg="Please select at least one field to fill in",ig="Please select at least one",ng="Please enter the button title",ug="Please bind the business model in the data settings",lg="Please bind storage values in data settings",ag="Please bind the service in the data settings",rg="Please bind at least one display value in the data settings",og="Please select the root node in the data settings",cg="Please enter the maximum height",sg="The input content cannot be empty",dg="Watermark cannot be empty",hg="File name cannot be empty",yg="Please upload at least one printing template!\uFF01",fg="Please select a specific business department",vg="Please select a specified external organization",mg="Please enter a sub table alias",gg="Please select the associated table to set the business model",bg="Please select the association table to set the binding service",Cg="Select associated sub table fields",Eg="Please select the associated main table field",_g="Please select the sort field",Ig="\u6279\u91CF\u5220\u9664",Bg="\u6279\u91CF\u6253\u5370",Dg="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Fg="\u6309\u94AE",wg="\u521B\u5EFA\u5355\u636E",Ag="\u4EEA\u8868\u76D8",Tg="\u5206\u5272\u7EBF",Sg="\u5BFC\u51FA",Pg="\u8868\u5355\u64CD\u4F5C",Og="\u5BFC\u5165",kg="\u53D1\u7968\u8BC6\u522B",Rg="\u94FE\u63A5",xg="\u5217\u8868\u9009\u62E9",Mg="\u5217\u8868\u89C6\u56FE",Ng="\u64CD\u4F5C\u6309\u94AE",Lg="\u5206\u9875",$g="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Hg="\u8BF4\u660E\u6587\u5B57",Vg="\u6587\u5B57\u8BC6\u522B",jg="\u6807\u9898\u7EC4\u4EF6",qg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Wg="\u6570\u7EC4",Ug="\u81EA\u52A8\u7F16\u53F7",zg="\u81EA\u5B9A\u4E49",Gg="\u6570\u503C",Kg="\u90E8\u95E8",Qg="\u4EBA\u5458",Zg="\u9644\u4EF6",Xg="\u56FE\u7247",Jg="\u5730\u5740",Yg="\u64CD\u4F5C",pg="\u5E8F\u53F7",eb="\u4EBA\u5458",tb="\u957F\u6587\u672C",ib="\u65E5\u671F\u533A\u95F4",nb="\u65E5\u671F",ub="\u77ED\u6587\u672C",lb="\u6362\u884C\u5BB9\u5668Wrap",ab="\u8868\u683C",rb="\u660E\u7EC6\u5B50\u8868",ob="\u5730\u5740",cb="\u91D1\u989D",sb="\u8BA1\u7B97\u516C\u5F0F",db="\u591A\u9009",hb="\u7535\u5B50\u7B7E\u7AE0",yb="\u5355\u884C\u6587\u672C",fb="\u6570\u5B57",vb="\u4E1A\u52A1\u7EC4\u7EC7",mb="\u5355\u9009",gb="\u5BCC\u6587\u672C",bb="\u8BC4\u5206",Cb="\u6570\u5B57\u533A\u95F4",Eb="\u4E0B\u62C9\u5355\u9009",_b="\u4E0B\u62C9\u591A\u9009",Ib="\u5173\u8054\u5355\u9009",Bb="\u591A\u884C\u6587\u672C",Db="\u6811",Fb="Vue\u5BB9\u5668",wb="Vue\u9875\u9762",Ab="\u5728\u7EBF\u6587\u6863",Tb="\u6309\u94AE\u64CD\u4F5C\u680F",Sb="\u9AD8\u7EA7\u5BB9\u5668",Pb="\u5206\u7EC4",Ob="\u6805\u683C\u5217",kb="\u6570\u636E\u5BB9\u5668",Rb="\u753B\u5E03",xb="\u6362\u884C\u5BB9\u5668",Mb="\u6805\u683C\u7B49\u5206\u884C",Nb="\u5217\u8868\u5BB9\u5668",Lb="\u81EA\u7531\u9875\u9762",$b="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Hb="\u5B9A\u4F4D\u5BB9\u5668",Vb="\u6805\u683C\u5E03\u5C40",jb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",qb="\u660E\u7EC6\u5B50\u8868\u884C",Wb="\u6807\u7B7E\u9875",Ub="\u6807\u7B7E\u5355\u5143",zb="\u5DE5\u5177\u680F",Gb="\u6279\u91CF\u63D0\u4EA4",Kb="\u5BFC\u51FA\u8BB0\u5F55",Qb="\u5217\u8868\u89C6\u56FE",Zb="\u5F15\u7528\u5217\u8868",Xb="\u9009\u9879\u4E00",Jb="\u9009\u9879\u4E8C",Yb="\u9009\u9879\u4E09",pb={isNotNumber:l0,isNotString:a0,isNotObject:r0,isNotArray:o0,isNotBoolean:c0,runtimeRequired:s0,pleaseEnterCaption:d0,pleaseEnterCaptionTip:h0,pleaseEnterRowCaption:y0,pleaseEnterPlaceholder:f0,pleaseEnterFieldCode:v0,pleaseEnterForm:m0,pleaseEnterList:g0,pleaseEnterProcess:b0,pleaseEnterLabel:C0,pleaseEnterValue:E0,bizKeyNotBindFiled:_0,pleaseSelectOneField:I0,pleaseEnterNumberRange:B0,pleaseEnterAValueGreaterThanMin:D0,pleaseEnterAValueLessThanMax:F0,numberRangeSetError:w0,stringRangeError:A0,attachmentMaxSize:T0,pleaseEnterTotalScoreSetting:S0,theTotalScoreMustNotBeLessThan1:P0,scoreDefaultValueRange:O0,attachmentLimitError:k0,PleaseReselectTheOptionalQuantity:R0,TheMaximumLengthIsGreaterThanTheMinimumLength:x0,TheMinimumLengthIsGreaterThanTheMaximumLength:M0,PleaseSelectTheCorrectOptionSettings:N0,optionIdIsRepeat:L0,optionIsRequired:$0,pleaseEnterDataCode:H0,pleaseEnterValueFieldCode:V0,pleaseEnterSvcCode:j0,pleaseBindAtLeastOneDisplayValue:q0,pleaseSelectProvince:W0,pleaseSelectCity:U0,pleaseSelectDistrict:z0,limitRowsCannotBeLessThan0:G0,TheNumberOfRowsCannotBeLessThanMinRows:K0,pleaseEnterColumnWidth:Q0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Z0,pleaseCompleteAllRulesAndConditions:X0,pleaseSelectControl:J0,pleaseSelectDashboard:Y0,theViewNameCannotBeEmpty:p0,pleaseSelectOcrType:eg,pleaseSelectAtLeastOneFieldToFillIn:tg,pleaseChooseAtLeastOne:ig,pleaseEnterButtonContent:ng,pleaseEnterDataCodeInDataSetting:ug,pleaseEnterValueFieldCodeInDataSetting:lg,pleaseEnterSvcCodeInDataSetting:ag,pleaseBindAtLeastOneDisplayValueInDataSetting:rg,rootNodeIsRequiredInDataSetting:og,pleaseEnterMaxHeight:cg,pleaseEnter:sg,pleaseEnterWatermark:dg,pleaseEnterFileName:hg,pleaseUploadAtLeastOnePrintTemplate:yg,pleaseAssignBusiness:fg,pleaseAssignExternal:vg,pleaseEnterAliasCode:mg,pleaseSelectDataCode:gg,pleaseSelectSvcCode:bg,pleaseSelectJoinFieldCode:Cg,pleaseSelectMainFieldCode:Eg,pleaseSelectSortFieldCode:_g,batchDeleteButton:Ig,batchPrintListButton:Bg,batchPrintRecordList:Dg,button:Fg,createFormListButton:wg,dashboard:Ag,divider:Tg,exportListButton:Sg,formSelectButton:Pg,importRecordListButton:Og,invoiceCheckButton:kg,link:Rg,listSelectButton:xg,ListViewSelect:Mg,operationButton:Ng,pagination:Lg,submissionRecordListButton:$g,text:Hg,textOcrButton:Vg,title:jg,approvalStatusColumn:qg,array:Wg,autoNumber:Ug,custom:zg,decimal:Gg,department:Kg,employee:Qg,file:Zg,image:Xg,location:Jg,operation:Yg,order:pg,people:eb,long:tb,timescope:ib,timestamp:nb,varchar:ub,gridLayoutWrap:lb,gridTable:ab,subTable:rb,address:ob,amount:cb,calc:sb,checkBox:db,electronicSignature:hb,input:yb,number:fb,organizationSelection:vb,radio:mb,richText:gb,score:bb,searchNumberRange:Cb,select:Eb,selectMultiple:_b,selectRelation:Ib,textarea:Bb,tree:Db,vueFormItem:Fb,vuePage:wb,WPS:Ab,actionBar:Tb,advancedContainer:Sb,cardGroup:Pb,col:Ob,dataView:kb,grid:Rb,gridLayoutContainer:xb,gridRow:Mb,listView:Nb,page:Lb,position:$b,positioningContainer:Hb,row:Vb,subtableColumn:jb,subtableRow:qb,tab:Wb,tabPane:Ub,toolbox:zb,batchSubmissionListButton:Gb,exportRecordListButton:Kb,listViewSelect:Qb,referenceList:Zb,optionOne:Xb,optionTwo:Jb,optionThird:Yb},eC="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="{caption}\u5FC5\u9808",aC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",gC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",IC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",FC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",TC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="\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",PC="\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",OC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",xC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",NC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$C="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",HC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",WC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",GC="please select control",KC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ZC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XC="\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",JC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",e5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",t5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",i5="\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",n5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",u5="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l5="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",a5="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",r5="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",o5="\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",c5="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",s5="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",d5="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",h5="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",y5="\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",f5="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",v5="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",m5="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",g5="\u6279\u91CF\u5220\u9664",b5="\u6279\u91CF\u6253\u5370",C5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",E5="\u6309\u94AE",_5="\u521B\u5EFA\u5355\u636E",I5="\u4EEA\u8868\u76D8",B5="\u5206\u5272\u7EBF",D5="\u5BFC\u51FA",F5="\u8868\u5355\u64CD\u4F5C",w5="\u5BFC\u5165",A5="\u53D1\u7968\u8BC6\u522B",T5="\u94FE\u63A5",S5="\u5217\u8868\u9009\u62E9",P5="\u5217\u8868\u89C6\u56FE",O5="\u64CD\u4F5C\u6309\u94AE",k5="\u5206\u9875",R5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",x5="\u8BF4\u660E\u6587\u5B57",M5="\u6587\u5B57\u8BC6\u522B",N5="\u6807\u9898\u7EC4\u4EF6",L5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",$5="\u6570\u7EC4",H5="\u81EA\u52A8\u7F16\u53F7",V5="\u81EA\u5B9A\u4E49",j5="\u6570\u503C",q5="\u90E8\u95E8",W5="\u4EBA\u5458",U5="\u9644\u4EF6",z5="\u56FE\u7247",G5="\u5730\u5740",K5="\u64CD\u4F5C",Q5="\u5E8F\u53F7",Z5="\u4EBA\u5458",X5="\u957F\u6587\u672C",J5="\u65E5\u671F\u533A\u95F4",Y5="\u65E5\u671F",p5="\u77ED\u6587\u672C",eE="\u6362\u884C\u5BB9\u5668Wrap",tE="\u8868\u683C",iE="\u660E\u7EC6\u5B50\u8868",nE="\u5730\u5740",uE="\u91D1\u989D",lE="\u8BA1\u7B97\u516C\u5F0F",aE="\u591A\u9009",rE="\u7535\u5B50\u7B7E\u7AE0",oE="\u5355\u884C\u6587\u672C",cE="\u6570\u5B57",sE="\u4E1A\u52A1\u7EC4\u7EC7",dE="\u5355\u9009",hE="\u5BCC\u6587\u672C",yE="\u8BC4\u5206",fE="\u6570\u5B57\u533A\u95F4",vE="\u4E0B\u62C9\u5355\u9009",mE="\u4E0B\u62C9\u591A\u9009",gE="\u5173\u8054\u5355\u9009",bE="\u591A\u884C\u6587\u672C",CE="\u6811",EE="Vue\u5BB9\u5668",_E="Vue\u9875\u9762",IE="\u5728\u7EBF\u6587\u6863",BE="\u6309\u94AE\u64CD\u4F5C\u680F",DE="\u9AD8\u7EA7\u5BB9\u5668",FE="\u5206\u7EC4",wE="\u6805\u683C\u5217",AE="\u6570\u636E\u5BB9\u5668",TE="\u753B\u5E03",SE="\u6362\u884C\u5BB9\u5668",PE="\u6805\u683C\u7B49\u5206\u884C",OE="\u5217\u8868\u5BB9\u5668",kE="\u81EA\u7531\u9875\u9762",RE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",xE="\u5B9A\u4F4D\u5BB9\u5668",ME="\u6805\u683C\u5E03\u5C40",NE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",LE="\u660E\u7EC6\u5B50\u8868\u884C",$E="\u6807\u7B7E\u9875",HE="\u6807\u7B7E\u5355\u5143",VE="\u5DE5\u5177\u680F",jE="\u6279\u91CF\u63D0\u4EA4",qE="\u5BFC\u51FA\u8BB0\u5F55",WE="\u5217\u8868\u89C6\u56FE",UE="\u5F15\u7528\u5217\u8868",zE="\u9009\u9879\u4E00",GE="\u9009\u9879\u4E8C",KE="\u9009\u9879\u4E09",QE={isNotNumber:eC,isNotString:tC,isNotObject:iC,isNotArray:nC,isNotBoolean:uC,runtimeRequired:lC,pleaseEnterCaption:aC,pleaseEnterCaptionTip:rC,pleaseEnterRowCaption:oC,pleaseEnterPlaceholder:cC,pleaseEnterFieldCode:sC,pleaseEnterForm:dC,pleaseEnterList:hC,pleaseEnterProcess:yC,pleaseEnterLabel:fC,pleaseEnterValue:vC,bizKeyNotBindFiled:mC,pleaseSelectOneField:gC,pleaseEnterNumberRange:bC,pleaseEnterAValueGreaterThanMin:CC,pleaseEnterAValueLessThanMax:EC,numberRangeSetError:_C,stringRangeError:IC,attachmentMaxSize:BC,pleaseEnterTotalScoreSetting:DC,theTotalScoreMustNotBeLessThan1:FC,scoreDefaultValueRange:wC,attachmentLimitError:AC,PleaseReselectTheOptionalQuantity:TC,TheMaximumLengthIsGreaterThanTheMinimumLength:SC,TheMinimumLengthIsGreaterThanTheMaximumLength:PC,PleaseSelectTheCorrectOptionSettings:OC,optionIdIsRepeat:kC,optionIsRequired:RC,pleaseEnterDataCode:xC,pleaseEnterValueFieldCode:MC,pleaseEnterSvcCode:NC,pleaseBindAtLeastOneDisplayValue:LC,pleaseSelectProvince:$C,pleaseSelectCity:HC,pleaseSelectDistrict:VC,limitRowsCannotBeLessThan0:jC,TheNumberOfRowsCannotBeLessThanMinRows:qC,pleaseEnterColumnWidth:WC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UC,pleaseCompleteAllRulesAndConditions:zC,pleaseSelectControl:GC,pleaseSelectDashboard:KC,theViewNameCannotBeEmpty:QC,pleaseSelectOcrType:ZC,pleaseSelectAtLeastOneFieldToFillIn:XC,pleaseChooseAtLeastOne:JC,pleaseEnterButtonContent:YC,pleaseEnterDataCodeInDataSetting:pC,pleaseEnterValueFieldCodeInDataSetting:e5,pleaseEnterSvcCodeInDataSetting:t5,pleaseBindAtLeastOneDisplayValueInDataSetting:i5,rootNodeIsRequiredInDataSetting:n5,pleaseEnterMaxHeight:u5,pleaseEnter:l5,pleaseEnterWatermark:a5,pleaseEnterFileName:r5,pleaseUploadAtLeastOnePrintTemplate:o5,pleaseAssignBusiness:c5,pleaseAssignExternal:s5,pleaseEnterAliasCode:d5,pleaseSelectDataCode:h5,pleaseSelectSvcCode:y5,pleaseSelectJoinFieldCode:f5,pleaseSelectMainFieldCode:v5,pleaseSelectSortFieldCode:m5,batchDeleteButton:g5,batchPrintListButton:b5,batchPrintRecordList:C5,button:E5,createFormListButton:_5,dashboard:I5,divider:B5,exportListButton:D5,formSelectButton:F5,importRecordListButton:w5,invoiceCheckButton:A5,link:T5,listSelectButton:S5,ListViewSelect:P5,operationButton:O5,pagination:k5,submissionRecordListButton:R5,text:x5,textOcrButton:M5,title:N5,approvalStatusColumn:L5,array:$5,autoNumber:H5,custom:V5,decimal:j5,department:q5,employee:W5,file:U5,image:z5,location:G5,operation:K5,order:Q5,people:Z5,long:X5,timescope:J5,timestamp:Y5,varchar:p5,gridLayoutWrap:eE,gridTable:tE,subTable:iE,address:nE,amount:uE,calc:lE,checkBox:aE,electronicSignature:rE,input:oE,number:cE,organizationSelection:sE,radio:dE,richText:hE,score:yE,searchNumberRange:fE,select:vE,selectMultiple:mE,selectRelation:gE,textarea:bE,tree:CE,vueFormItem:EE,vuePage:_E,WPS:IE,actionBar:BE,advancedContainer:DE,cardGroup:FE,col:wE,dataView:AE,grid:TE,gridLayoutContainer:SE,gridRow:PE,listView:OE,page:kE,position:RE,positioningContainer:xE,row:ME,subtableColumn:NE,subtableRow:LE,tab:$E,tabPane:HE,toolbox:VE,batchSubmissionListButton:jE,exportRecordListButton:qE,listViewSelect:WE,referenceList:UE,optionOne:zE,optionTwo:GE,optionThird:KE},Ju={zhCN:u0,enUS:pb,jaJP:QE},Yu,ZE=(Yu=window.localStorage.getItem("locale"))!==null&&Yu!==void 0?Yu:"zh-CN",Ki=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),F=function(t){return t.TITLE="title",t.LINK="link",t.IFRAME="iframe",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.BARCODE="barcode",t.QR_CODE="qr-code",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.BLANK_CONTAINER="blank-container",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.BAR_CHART="bar-chart",t.LINE_CHART="line-chart",t.PIE_CHART="pie-chart",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),at=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),Pr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Or={DEFAULT:"default"},kr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",XE=kr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",i=0;i<t;i++){var n=i===0?kr:XE,u=Math.random()*n.length;e+=n[parseInt(String(u),10)]}return e}function pu(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function JE(t){if(Array.isArray(t))return pu(t)}function YE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,i){return e=Mt(e),i_(t,tl()?Reflect.construct(e,i||[],Mt(t).constructor):e.apply(t,i))}function xr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qi(t,e,i){return tl()?Qi=Reflect.construct:Qi=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Nt(h,a.prototype),h},Qi.apply(null,arguments)}function Mt(t){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Mt(t)}function Mr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}function pE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function e_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function t_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i_(t,e){return e&&(n_(e)==="object"||typeof e=="function")?e:YE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nt(t,e)}function Nr(t){return JE(t)||e_(t)||u_(t)||t_()}function n_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u_(t,e){if(!!t){if(typeof t=="string")return pu(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return pu(t,e)}}function el(t){var e=typeof Map=="function"?new Map:void 0;return el=function(n){if(n===null||!pE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return Qi(n,arguments,Mt(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,n)},el(t)}function tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!t})()}var il=console;function nl(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(Nr(u)))}function Lr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(Nr(u)))}function l_(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ul=function(t){Mr(e,t);function e(i){xr(this,e);var n;return n=Rr(this,e,[i]),n.name="\u{1F4A5} Driven Error",n.message=i?l_(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(el(Error)),a_=function(t){Mr(e,t);function e(i){xr(this,e);var n;return n=Rr(this,e,[i]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(ul);function Lt(t){throw new ul(t)}function $r(t){throw new a_(t)}function r_(t){il.error(new ul(t))}function o_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c_(t,e,i){return e&&Hr(t.prototype,e),i&&Hr(t,i),t}function s_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Vr=function(){function t(){o_(this,t)}return c_(t,null,[{key:"getMessage",value:function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+i,n,Ju==null||(u=Ju[ZE.split("-").join("")])===null||u===void 0?void 0:u[i])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(i,n){}}]),t}();s_(Vr,"$i18n",Vr.resetI18n());function d_(t,e,i){var n=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return n.reduce(function(l,a,c,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){nl("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return c===s.length-1&&!Object.is(h[a],i)&&(h[a]=i,u=!0),h[a]}},t),u}var h_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},y_={exports:{}};(function(t){(function(e){var i=function(m,I,R){if(!h(I)||f(I)||g(I)||E(I)||s(I))return I;var P,x=0,te=0;if(d(I))for(P=[],te=I.length;x<te;x++)P.push(i(m,I[x],R));else{P={};for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(P[m(V,R)]=i(m,I[V],R))}return P},n=function(m,I){I=I||{};var R=I.separator||"_",P=I.split||/(?=[A-Z])/;return m.split(P).join(R)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,R){return R?R.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var I=u(m);return I.substr(0,1).toUpperCase()+I.substr(1)},a=function(m,I){return n(m,I).toLowerCase()},c=Object.prototype.toString,s=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},d=function(m){return c.call(m)=="[object Array]"},f=function(m){return c.call(m)=="[object Date]"},g=function(m){return c.call(m)=="[object RegExp]"},E=function(m){return c.call(m)=="[object Boolean]"},_=function(m){return m=m-0,m===m},b=function(m,I){var R=I&&"process"in I?I.process:I;return typeof R!="function"?m:function(P,x){return R(P,m,x)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(m,I){return i(b(u,I),m)},decamelizeKeys:function(m,I){return i(b(a,I),m,I)},pascalizeKeys:function(m,I){return i(b(l,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(h_)})(y_);var jr={};Object.defineProperty(jr,"__esModule",{value:!0});function ll(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ll(e));{const e={};for(const i in t){const n=t[i];e[i]=typeof n!="object"||n===null?n:ll(n)}return e}}var f_=jr.default=ll;function v_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":v_(t))==="object"?f_(t):t}function m_(t){return Object.prototype.toString.call(t)==="[object Object]"}function Zi(t){return Array.isArray(t)}function g_(t){return t.reduce(function(e,i){return e.includes(i)||e.push(i),e},[])}function al(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b_(t){if(Array.isArray(t))return al(t)}function qr(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function C_(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){qr(l,n,u,a,c,"next",s)}function c(s){qr(l,n,u,a,c,"throw",s)}a(void 0)})}}function E_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function __(t,e,i){return e&&Wr(t.prototype,e),i&&Wr(t,i),t}function Ur(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function B_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(t){return b_(t)||I_(t)||D_(t)||B_()}function D_(t,e){if(!!t){if(typeof t=="string")return al(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return al(t,e)}}function F_(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var w_=function(){function t(){E_(this,t),Ur(this,"_events",new Map),Ur(this,"debug",!1)}return __(t,[{key:"emit",value:function(i){for(var n=arguments.length,u=new Array(n>1?n-1:0),l=1;l<n;l++)u[l-1]=arguments[l];return C_(function(){var a,c,s,h,d,f,g,E,_,b,B,m;return F_(this,function(I){switch(I.label){case 0:if(a=this._events.get(i),c=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,f=void 0,I.label=1;case 1:I.trys.push([1,8,9,10]),g=s[Symbol.iterator](),I.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];I.label=3;case 3:return I.trys.push([3,5,,6]),this.debug&&Lr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(rl(u))),[4,_.apply(null,rl(u))];case 4:return b=I.sent(),this.debug&&Lr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(rl(u),[b])),c.push(b),b===!1?[3,7]:[3,6];case 5:return B=I.sent(),r_(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return m=I.sent(),d=!0,f=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(i,n){if(this._events.has(i)){var u;(u=this._events.get(i))===null||u===void 0||u.push(n)}else this._events.set(i,[n])}},{key:"off",value:function(i,n){if(this._events.has(i)){var u=this._events.get(i),l=u==null?void 0:u.indexOf(n);u==null||u.splice(l,1)}}},{key:"delete",value:function(i){this._events.has(i)&&this._events.delete(i)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function A_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function T_(t,e,i){return e&&zr(t.prototype,e),i&&zr(t,i),t}function S_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var P_=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_chart_change",name:r("CMD.chartDataChange",null,"\u56FE\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"chart-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],O_=function(){function t(){A_(this,t)}return T_(t,null,[{key:"getEventsFromKeys",value:function(i){var n=typeof i=="string"?[i]:i;return t.events.filter(function(u){return n.includes(u.key)})}},{key:"getEventsFromControl",value:function(i){var n=[],u=i.eventKeys;n=n.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=i.customEvents.map(function(a){var c=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(c=a.namespace+":"+a.key),{key:c,code:a.key,name:a.name}});return n=n.concat(l),n}}]),t}();S_(O_,"events",P_);function ol(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function k_(t){if(Array.isArray(t))return ol(t)}function R_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function x_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gr(t){return k_(t)||R_(t)||M_(t)||x_()}function M_(t,e){if(!!t){if(typeof t=="string")return ol(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ol(t,e)}}function cl(t,e){var i;!((i=Object.getOwnPropertyDescriptors(t)[e])===null||i===void 0)&&i.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Kr(t,e,i){i!=="Runtime"&&(t.parent=e,cl(t,"parent"))}function N_(t,e,i){t.forEach(function(n){Kr(n,e,i)})}var Qr=Symbol("targetKey");function Zr(t){var e;return(e=t[Qr])!==null&&e!==void 0?e:t}function Xr(t,e,i){return N_(t,e,i),new Proxy(t,{get:function(u,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),s=2;s<a;s++)c[s-2]=arguments[s];var h;return l===Qr?u:(h=Reflect).get.apply(h,[u,l].concat(Gr(c)))},set:function(u,l,a){for(var c=arguments.length,s=new Array(c>3?c-3:0),h=3;h<c;h++)s[h-3]=arguments[h];var d;if(Zi(t)&&l==="length"&&a===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,a].concat(Gr(s)));return m_(a)&&Kr(a,e,i),f}})}function se(t,e,i,n,u){var l=n!=null?n:t,a=Xr(Zr(i!=null?i:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Xr(Zr(s),l,u)},enumerable:!0})}function L_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $_(t,e,i){return e&&Jr(t.prototype,e),i&&Jr(t,i),t}function Be(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Yr=[],Xi=function(){function t(e){L_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return $_(t,[{key:"registerControlConfig",value:function(i,n){return this.controlConfigMap.set(i,n),this}},{key:"getControlConfig",value:function(i){return this.controlConfigMap.get(i)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(i){i.__is_control__||Lt("".concat(i.name," is not a Control"));var n=this._controls.findIndex(function(u){return u.controlType===i.controlType});return n>-1&&(nl("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(i.controlType),this._controls.push(i),this}},{key:"isLayoutControl",value:function(i){return i.controlType===Ki.LAYOUT}},{key:"isFormControl",value:function(i){return i.controlType===Ki.FORM}},{key:"isListControl",value:function(i){return i.controlType===Ki.LIST}},{key:"isColumnControl",value:function(i){return i.controlType===Ki.COLUMN}},{key:"createControl",value:function(i,n){var u=this;if(Array.isArray(i))return i.map(function(d){return u.createControl(d,n)});if(i.children&&(i.children=i.children.map(function(d){return u.createControl(d,n)})),this.isListControl(i)){var l=i.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,n)}))}var a=this.getControlFormType(i.type);if(a){var c=i;if(typeof n=="function"){var s=n(c);s&&(c=s)}var h;return a.mode==="Runtime"?(h=c,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(c),h}else Lt("The constructor of ".concat(i.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(i,n){delete i.parent,Object.defineProperty(i,"parent",{configurable:!0,get:function(){return n}}),cl(i,"parent")}},{key:"_setParentPrototypeToSchema",value:function(i,n){n._type==="Runtime"&&(Object.defineProperty(i,"parent",{configurable:!0,get:function(){var l=i.id,a=n._controlParentIdMap,c=n.instanceMap;if(!(!a||!c)){var s=a[l],h=c[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==i}),f=c[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),cl(i,"parent"))}},{key:"createControlInstance",value:function(i,n){var u=this.getControlFormType(i);if(u)return new u(n)}},{key:"getControlFormType",value:function(i){return this._controls.find(function(n){return n.controlType===i})}},{key:"_initControls",value:function(i){var n=this;this.constructor.staticControls.forEach(function(u){n.register(u[i]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=i})}}],[{key:"staticGetRules",value:function(i,n){var u=t.staticControlsRuntimeRules.get(i),l=[];if(u){var a=new u(n);l=Array.from(a)}return l}},{key:"register",value:function(i,n){var u=i.Designer,l=i.Runtime,a=i.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(i," is can't register as a Control"));var c=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return c>-1&&(nl("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(i),a.mode=n,this}}]),t}();Be(Xi,"staticControlsRuntimeRules",new Map),Be(Xi,"staticControls",Yr),Be(Xi,"staticRegisteredTypes",new Set(Yr.map(function(t){return t.Designer.controlType}))),Be(Xi,"staticRegisteredConfigs",new Map);function H_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,i){return e=Ji(e),V_(t,pr()?Reflect.construct(e,i||[],Ji(t).constructor):e.apply(t,i))}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ji(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sl(t,e)}function V_(t,e){return e&&(j_(e)==="object"||typeof e=="function")?e:H_(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},sl(t,e)}function j_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var ye=function t(e){D(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},eo=function t(e){D(this,t);var i,n;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(i=e==null?void 0:e.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},to=function t(e){D(this,t);var i,n,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(i=e==null?void 0:e.rowHeightType)!==null&&i!==void 0?i:"fixed",this.minRows=(n=e==null?void 0:e.minRows)!==null&&n!==void 0?n:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},q_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new to(e==null?void 0:e.pc),this.mobile=new to(e==null?void 0:e.mobile)},dl=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"width",void 0),y(n,"widthType",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:240,n.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",n}return e}(eo),W_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new dl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new dl(e==null?void 0:e.mobile):new dl({width:130,minWidth:180})},U_=function t(e){D(this,t);var i,n;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"firstThree",this.customOptions=(n=e==null?void 0:e.customOptions)!==null&&n!==void 0?n:[]},rt=function t(e){D(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},z_=function(t){re(e,t);function e(i){D(this,e);var n,u;return n=ae(this,e,[i]),y(n,"primaryControlId",void 0),n.primaryControlId=(u=i==null?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",n}return e}(rt),io=function t(e){D(this,t);var i,n;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:""},hl=function t(e){D(this,t);var i,n,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new io(a)}))!==null&&u!==void 0?u:[]},G_=function t(e){D(this,t);var i,n,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(i=e==null?void 0:e.fieldName)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},K_=function(t){re(e,t);function e(i){D(this,e);var n,u,l,a,c;return n=ae(this,e,[i]),y(n,"title",void 0),y(n,"svcCode",void 0),y(n,"isOpenFilter",void 0),y(n,"filters",void 0),n.title=(u=i==null?void 0:i.title)!==null&&u!==void 0?u:"",n.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"",n.isOpenFilter=(a=i==null?void 0:i.isOpenFilter)!==null&&a!==void 0?a:!1,n.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],n}return e}(rt),Q_=function t(e){D(this,t);var i,n,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new rt(e==null?void 0:e.formBind),this.displayFields=(i=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new G_(a)}))!==null&&i!==void 0?i:[],this.sublists=(n=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new K_(a)}))!==null&&n!==void 0?n:[]},Z_=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){D(this,t);var i,n,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Yi=function t(e){var i=this;D(this,t);var n,u,l,a;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var s,h=new t(c);(s=i.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(c);(d=i.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){D(this,t);var i,n,u,l,a;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(n=e==null?void 0:e.ruleId)!==null&&n!==void 0?n:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Z_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},X_=function t(e){D(this,t);var i,n;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(i=e==null?void 0:e.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.relationFields=(n=e==null?void 0:e.relationFields)!==null&&n!==void 0?n:[]},Q=function t(e){D(this,t);var i,n,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(i=e==null?void 0:e.controlId)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},yl=function t(e){D(this,t);var i,n;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"FIELD",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:"",this.fieldType=e==null?void 0:e.fieldType},J_=function t(e){D(this,t);var i,n;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(i=e.columnName)!==null&&i!==void 0?i:"",this.desc=(n=e.desc)!==null&&n!==void 0?n:!1};function fl(t){var e,i,n,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&e!==void 0?e:[],this.viewFilters=(i=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&i!==void 0?i:[],this.orders=(n=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(c){return new J_(c)}))!==null&&n!==void 0?n:[]}var W=function t(e){var i=this;D(this,t);var n,u,l,a,c,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=i.displayBoList)===null||g===void 0||g.push(new yl(f))})),this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,fl.call(this,e)},Y_=function t(e){D(this,t);var i,n,u,l,a,c,s,h;y(this,"actionCode",void 0),y(this,"dataCode",void 0),y(this,"name",void 0),y(this,"appName",void 0),y(this,"dataName",void 0),y(this,"actionName",void 0),y(this,"displayName",void 0),y(this,"svcTypeEnum",void 0),this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"",this.appName=(l=e==null?void 0:e.appName)!==null&&l!==void 0?l:"",this.dataName=(a=e==null?void 0:e.dataName)!==null&&a!==void 0?a:"",this.actionName=(c=e==null?void 0:e.actionName)!==null&&c!==void 0?c:"",this.displayName=(s=e==null?void 0:e.displayName)!==null&&s!==void 0?s:"",this.svcTypeEnum=(h=e==null?void 0:e.svcTypeEnum)!==null&&h!==void 0?h:""},p_=function t(e){D(this,t);var i,n,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},e7=function t(e){D(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"name",void 0),y(this,"required",void 0),y(this,"paramType",void 0),y(this,"rightVariableBo",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:"",this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.required=(u=e==null?void 0:e.required)!==null&&u!==void 0?u:!1,this.paramType=(l=e==null?void 0:e.paramType)!==null&&l!==void 0?l:"",this.rightVariableBo=new p_(e==null?void 0:e.rightVariableBo)},t7=function t(e){D(this,t);var i,n;y(this,"serviceName",void 0),y(this,"inputParam",void 0),this.serviceName=new Y_(e==null?void 0:e.serviceName),this.inputParam=(i=e==null||(n=e.inputParam)===null||n===void 0?void 0:n.map(function(u){return new e7(u)}))!==null&&i!==void 0?i:[]},i7=function t(e){D(this,t);var i,n;y(this,"actionCode",void 0),y(this,"actionType",void 0),y(this,"bizAction",void 0),this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"",this.actionType=(n=e==null?void 0:e.actionType)!==null&&n!==void 0?n:"",this.bizAction=new t7(e==null?void 0:e.bizAction)},vl=function t(e){D(this,t);var i,n;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.displayBoList=(n=e==null?void 0:e.displayBoList)!==null&&n!==void 0?n:[]},me=function t(e){D(this,t);var i,n,u,l,a,c,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(i=e==null?void 0:e.code)!==null&&i!==void 0?i:"view",this.color=(n=e==null?void 0:e.color)!==null&&n!==void 0?n:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},no=function t(e){D(this,t);var i,n,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.key=(n=e==null?void 0:e.key)!==null&&n!==void 0?n:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new yl(a)}))!==null&&u!==void 0?u:[]},pi=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"attributes",void 0),n.attributes=(u=i==null||(l=i.attributes)===null||l===void 0?void 0:l.map(function(a){return new no(a)}))!==null&&u!==void 0?u:[],n}return e}(W),n7=function(t){re(e,t);function e(i){D(this,e);var n,u,l,a;return n=ae(this,e,[i]),y(n,"attributes",void 0),y(n,"formCode",void 0),n.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new no(c)}))!==null&&u!==void 0?u:[],n.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",n}return e}(W),en=function(t){re(e,t);function e(i){D(this,e);var n,u;return n=ae(this,e,[i]),y(n,"rootNode",void 0),y(n,"filterCode",void 0),n.rootNode=new De(i==null?void 0:i.rootNode),n.filterCode=(u=i==null?void 0:i.filterCode)!==null&&u!==void 0?u:"",n}return e}(pi),uo=function t(e){D(this,t);var i,n,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new Q(a)}))!==null&&u!==void 0?u:[]},lo=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e,[i]),y(n,"filters",void 0),y(n,"viewFilters",void 0),y(n,"orders",void 0),fl.call(n,i),n}return e}(uo),ao=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"mode",void 0),y(n,"multiple",void 0),n.mode=(u=i==null?void 0:i.mode)!==null&&u!==void 0?u:"current",n.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,n}return e}(uo),ro=function t(e){D(this,t);var i,n,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(i=e==null?void 0:e.stencilName)!==null&&i!==void 0?i:"",this.expression=(n=e==null?void 0:e.expression)!==null&&n!==void 0?n:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},oo=function t(e){D(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},u7=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"cueWord",void 0),y(n,"checked",void 0),n.cueWord=(u=i==null?void 0:i.cueWord)!==null&&u!==void 0?u:"",n.checked=(l=i==null?void 0:i.checked)!==null&&l!==void 0?l:!1,n}return e}(oo);function de(t){var e;return(e=t==null?void 0:t.map(function(i){return new oo(i)}))!==null&&e!==void 0?e:[]}function co(t){var e;return(e=t==null?void 0:t.map(function(i){return new u7(i)}))!==null&&e!==void 0?e:[]}var ml=function t(){D(this,t)},l7=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"amount",void 0),y(n,"currency",void 0),n.amount=new ye(i==null?void 0:i.amount),n.currency=new ye(i==null?void 0:i.currency),n}return e}(ml),a7=function t(e){D(this,t);var i,n;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(i=e==null?void 0:e.amount)!==null&&i!==void 0?i:"",this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},so=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"min",void 0),y(n,"max",void 0),n.min=new ye(i==null?void 0:i.min),n.max=new ye(i==null?void 0:i.max),n}return e}(ml),ho=function t(e){D(this,t);var i,n;y(this,"min",void 0),y(this,"max",void 0),this.min=(i=e==null?void 0:e.min)!==null&&i!==void 0?i:"",this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},r7=function t(e){D(this,t);var i,n,u,l,a,c,s,h;y(this,"country",void 0),y(this,"countryDisplay",void 0),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.country=(i=e==null?void 0:e.country)!==null&&i!==void 0?i:"",this.countryDisplay=(n=e==null?void 0:e.countryDisplay)!==null&&n!==void 0?n:"",this.city=(u=e==null?void 0:e.city)!==null&&u!==void 0?u:"",this.cityDisplay=(l=e==null?void 0:e.cityDisplay)!==null&&l!==void 0?l:"",this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"",this.districtDisplay=(c=e==null?void 0:e.districtDisplay)!==null&&c!==void 0?c:"",this.province=(s=e==null?void 0:e.province)!==null&&s!==void 0?s:"",this.provinceDisplay=(h=e==null?void 0:e.provinceDisplay)!==null&&h!==void 0?h:""},o7=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"result",void 0),y(n,"unit",void 0),n.result=new ye(i==null?void 0:i.result),n.unit=new ye(i==null?void 0:i.unit),n}return e}(ml),c7=function t(e){D(this,t);var i,n;y(this,"result",void 0),y(this,"unit",void 0),this.result=(i=e==null?void 0:e.result)!==null&&i!==void 0?i:0,this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},s7=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),o=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),d7=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Fe=function t(e){D(this,t);var i,n,u,l,a,c;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(i=e==null?void 0:e.isShow)!==null&&i!==void 0?i:!0,this.content=(n=e==null?void 0:e.content)!==null&&n!==void 0?n:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},h7=function t(e){D(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.title=(n=e==null?void 0:e.title)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new io(a)}))!==null&&u!==void 0?u:[],fl.call(this,e)},y7=function t(e){D(this,t);var i,n,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(i=e==null?void 0:e.width)!==null&&i!==void 0?i:"",this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},f7=function t(e){D(this,t);var i,n;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(i=e==null?void 0:e.optCode)!==null&&i!==void 0?i:"",this.optType=(n=e==null?void 0:e.optType)!==null&&n!==void 0?n:""},v7=function t(e){D(this,t);var i,n,u,l,a,c;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new Yi(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(c=e.settings)===null||c===void 0?void 0:c.map(function(s){return new m7(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},m7=function t(e){D(this,t);var i,n,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(i=e.type)!==null&&i!==void 0?i:"background",this.fieldCodes=(n=e.fieldCodes)!==null&&n!==void 0?n:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},g7=function t(e){D(this,t);var i,n,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none",this.interval=(n=e==null?void 0:e.interval)!==null&&n!==void 0?n:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new v7(a)}))!==null&&u!==void 0?u:[]:[]},b7=function t(e){D(this,t);var i,n,u,l,a;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(i=e==null?void 0:e.groupDefaultExpanded)!==null&&i!==void 0?i:!1,this.suppressCount=(n=e==null?void 0:e.suppressCount)!==null&&n!==void 0?n:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(a=e==null?void 0:e.showFooterStatistics)!==null&&a!==void 0?a:!1},C7=function t(e){D(this,t);var i;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.headers=(i=e==null?void 0:e.headers)!==null&&i!==void 0?i:[]},E7=function t(e){D(this,t);var i,n,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(i=e==null?void 0:e.marginTop)!==null&&i!==void 0?i:"",this.marginRight=(n=e==null?void 0:e.marginRight)!==null&&n!==void 0?n:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},_7=function t(e){D(this,t);var i,n,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(i=e==null?void 0:e.paddingTop)!==null&&i!==void 0?i:"",this.paddingRight=(n=e==null?void 0:e.paddingRight)!==null&&n!==void 0?n:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},I7=function t(e){D(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconleft",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:r("CMD.09bf1774579034724")},B7=function t(e){D(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconxiangyou",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:r("CMD.39131774579036296")},D7=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new I7(e==null?void 0:e.prev),this.next=new B7(e==null?void 0:e.next)};function F7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,i){return e=Ht(e),S7(t,Cl()?Reflect.construct(e,i||[],Ht(t).constructor):e.apply(t,i))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e,i){return Cl()?tn=Reflect.construct:tn=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Vt(h,a.prototype),h},tn.apply(null,arguments)}function ge(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(t)}function A7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function T7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function S7(t,e){return e&&(P7(e)==="object"||typeof e=="function")?e:F7(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vt(t,e)}function P7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bl(t){var e=typeof Map=="function"?new Map:void 0;return bl=function(n){if(n===null||!T7(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return tn(n,arguments,Ht(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,n)},bl(t)}function Cl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cl=function(){return!!t})()}var U=function t(e){gl(this,t),ge(this,"isHide",{type:"boolean"})},Ne=function(t){A7(e,t);function e(i){return gl(this,e),w7(this,e)}return e}(bl(Array)),j=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";gl(this,t);var n,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new y7(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:i};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Ne);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},fe.apply(this,arguments)}function O7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},El(t)}function nn(t,e){return nn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},nn(t,e)}function k7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function un(t,e,i){return k7()?un=Reflect.construct:un=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&nn(h,a.prototype),h},un.apply(null,arguments)}function R7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _l(t){var e=typeof Map=="function"?new Map:void 0;return _l=function(n){if(n===null||!R7(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return un(n,arguments,El(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),nn(u,n)},_l(t)}var x7=/%[sdj%]/g,yo=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yo=function(e,i){typeof console!="undefined"&&console.warn&&i.every(function(n){return typeof n=="string"})&&console.warn(e,i)});function Il(t){if(!t||!t.length)return null;var e={};return t.forEach(function(i){var n=i.field;e[n]=e[n]||[],e[n].push(i)}),e}function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(x7,function(c){if(c==="%%")return"%";if(n>=l)return c;switch(c){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(s){return"[Circular]"}break;default:return c}});return a}return u}function M7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||M7(e)&&typeof t=="string"&&!t)}function N7(t,e,i){var n=[],u=0,l=t.length;function a(c){n.push.apply(n,c),u++,u===l&&i(n)}t.forEach(function(c){e(c,a)})}function fo(t,e,i){var n=0,u=t.length;function l(a){if(a&&a.length){i(a);return}var c=n;n=n+1,c<u?e(t[c],l):i([])}l([])}function L7(t){var e=[];return Object.keys(t).forEach(function(i){e.push.apply(e,t[i])}),e}var vo=function(t){O7(e,t);function e(i,n){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=i,u.fields=n,u}return e}(_l(Error));function $7(t,e,i,n){if(e.first){var u=new Promise(function(f,g){var E=function(B){return n(B),B.length?g(new vo(B,Il(B))):f()},_=L7(t);fo(_,i,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),c=a.length,s=0,h=[],d=new Promise(function(f,g){var E=function(b){if(h.push.apply(h,b),s++,s===c)return n(h),h.length?g(new vo(h,Il(h))):f()};a.length||(n(h),f()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?fo(b,i,E):N7(b,i,E)})});return d.catch(function(f){return f}),d}function mo(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function go(t,e){if(e){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];typeof n=="object"&&typeof t[i]=="object"?t[i]=fe(fe({},t[i]),n):t[i]=n}}return t}function bo(t,e,i,n,u,l){t.required&&(!i.hasOwnProperty(t.field)||Z(e,l||t.type))&&n.push(ie(u.messages.required,t.fullField))}function H7(t,e,i,n,u){(/^\s+$/.test(e)||e==="")&&n.push(ie(u.messages.whitespace,t.fullField))}var Bl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},jt={integer:function(e){return jt.number(e)&&parseInt(e,10)===e},float:function(e){return jt.number(e)&&!jt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(i){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!jt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Bl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Bl.url)},hex:function(e){return typeof e=="string"&&!!e.match(Bl.hex)}};function V7(t,e,i,n,u){if(t.required&&e===void 0){bo(t,e,i,n,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?jt[a](e)||n.push(ie(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&n.push(ie(u.messages.types[a],t.fullField,t.type))}function j7(t,e,i,n,u){var l=typeof t.len=="number",a=typeof t.min=="number",c=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&n.push(ie(u.messages[d].len,t.fullField,t.len)):a&&!c&&h<t.min?n.push(ie(u.messages[d].min,t.fullField,t.min)):c&&!a&&h>t.max?n.push(ie(u.messages[d].max,t.fullField,t.max)):a&&c&&(h<t.min||h>t.max)&&n.push(ie(u.messages[d].range,t.fullField,t.min,t.max))}var ot="enum";function q7(t,e,i,n,u){t[ot]=Array.isArray(t[ot])?t[ot]:[],t[ot].indexOf(e)===-1&&n.push(ie(u.messages[ot],t.fullField,t[ot].join(", ")))}function W7(t,e,i,n,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:bo,whitespace:H7,type:V7,range:j7,enum:q7,pattern:W7};function U7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e,"string")&&!t.required)return i();S.required(t,e,n,l,u,"string"),Z(e,"string")||(S.type(t,e,n,l,u),S.range(t,e,n,l,u),S.pattern(t,e,n,l,u),t.whitespace===!0&&S.whitespace(t,e,n,l,u))}i(l)}function z7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}function G7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function K7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}function Q7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),Z(e)||S.type(t,e,n,l,u)}i(l)}function Z7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function X7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function J7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return i();S.required(t,e,n,l,u,"array"),e!=null&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function Y7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}var p7="enum";function e6(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S[p7](t,e,n,l,u)}i(l)}function t6(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e,"string")&&!t.required)return i();S.required(t,e,n,l,u),Z(e,"string")||S.pattern(t,e,n,l,u)}i(l)}function i6(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e,"date")&&!t.required)return i();if(S.required(t,e,n,l,u),!Z(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),S.type(t,c,n,l,u),c&&S.range(t,c.getTime(),n,l,u)}}i(l)}function n6(t,e,i,n,u){var l=[],a=Array.isArray(e)?"array":typeof e;S.required(t,e,n,l,u,a),i(l)}function Dl(t,e,i,n,u){var l=t.type,a=[],c=t.required||!t.required&&n.hasOwnProperty(t.field);if(c){if(Z(e,l)&&!t.required)return i();S.required(t,e,n,a,u,l),Z(e,l)||S.type(t,e,n,a,u)}i(a)}function u6(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u)}i(l)}var qt={string:U7,method:z7,number:G7,boolean:K7,regexp:Q7,integer:Z7,float:X7,array:J7,object:Y7,enum:e6,pattern:t6,date:i6,url:Dl,hex:Dl,email:Dl,required:n6,any:u6};function Fl(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var wl=Fl();function we(t){this.rules=null,this._messages=wl,this.define(t)}we.prototype={messages:function(e){return e&&(this._messages=go(Fl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var i,n;for(i in e)e.hasOwnProperty(i)&&(n=e[i],this.rules[i]=Array.isArray(n)?n:[n])},validate:function(e,i,n){var u=this;i===void 0&&(i={}),n===void 0&&(n=function(){});var l=e,a=i,c=n;if(typeof a=="function"&&(c=a,a={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(b){var B,m=[],I={};function R(P){if(Array.isArray(P)){var x;m=(x=m).concat.apply(x,P)}else m.push(P)}for(B=0;B<b.length;B++)R(b[B]);m.length?I=Il(m):(m=null,I=null),c(m,I)}if(a.messages){var h=this.messages();h===wl&&(h=Fl()),go(h,a.messages),a.messages=h}else a.messages=this.messages();var d,f,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],f=l[b],d.forEach(function(B){var m=B;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),f=l[b]=m.transform(f)),typeof m=="function"?m={validator:m}:m=fe({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:f,source:l,field:b}))})});var _={};return $7(g,a,function(b,B){var m=b.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&b.value),m.field=b.field;function R(te,V){return fe(fe({},V),{},{fullField:m.fullField+"."+te})}function P(te){te===void 0&&(te=[]);var V=te;if(Array.isArray(V)||(V=[V]),!a.suppressWarning&&V.length&&we.warning("async-validator:",V),V.length&&m.message!==void 0&&(V=[].concat(m.message)),V=V.map(mo(m)),a.first&&V.length)return _[m.field]=1,B(V);if(!I)B(V);else{if(m.required&&!b.value)return m.message!==void 0?V=[].concat(m.message).map(mo(m)):a.error&&(V=[a.error(m,ie(a.messages.required,m.field))]),B(V);var le={};if(m.defaultField)for(var Ui in b.value)b.value.hasOwnProperty(Ui)&&(le[Ui]=m.defaultField);le=fe(fe({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Ku=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Ku.map(R.bind(null,_e))}var zi=new we(le);zi.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),zi.validate(b.value,b.rule.options||a,function(kt){var Ie=[];V&&V.length&&Ie.push.apply(Ie,V),kt&&kt.length&&Ie.push.apply(Ie,kt),B(Ie.length?Ie:null)})}}var x;m.asyncValidator?x=m.asyncValidator(m,b.value,P,b.source,a):m.validator&&(x=m.validator(m,b.value,P,b.source,a),x===!0?P():x===!1?P(m.message||m.field+" fails"):x instanceof Array?P(x):x instanceof Error&&P(x.message)),x&&x.then&&x.then(function(){return P()},function(te){return P(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!qt.hasOwnProperty(e.type))throw new Error(ie("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var i=Object.keys(e),n=i.indexOf("message");return n!==-1&&i.splice(n,1),i.length===1&&i[0]==="required"?qt.required:qt[this.getType(e)]||!1}},we.register=function(e,i){if(typeof i!="function")throw new Error("Cannot register a validator by type, validator is not a function");qt[e]=i},we.warning=yo,we.messages=wl,we.validators=qt;var l6={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function a6(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=new we(t);return i.messages(Object.assign(l6,e)),i}var r6=new w_;function Al(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function o6(t){if(Array.isArray(t))return t}function c6(t){if(Array.isArray(t))return Al(t)}function Co(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function Eo(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){Co(l,n,u,a,c,"next",s)}function c(s){Co(l,n,u,a,c,"throw",s)}a(void 0)})}}function s6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d6(t,e,i){return e&&_o(t.prototype,e),i&&_o(t,i),t}function L(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Io(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Bo(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function h6(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Do(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){L(t,u,i[u])})}return t}function f6(t){return o6(t)||Bo(t)||Fo(t)||h6()}function Tl(t){return c6(t)||Bo(t)||Fo(t)||y6()}function v6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fo(t,e){if(!!t){if(typeof t=="string")return Al(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Al(t,e)}}function wo(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var O=function(){function e(i){var n=this;s6(this,e);var u,l,a,c;L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",To),L(this,"removeSetting",Ao),this._callControlHooks("preInstance",i);var s=Io(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,m=s.slots,I=s.slotPosition;h&&d&&f||$r("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=i==null?void 0:i.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=i==null?void 0:i.type)!==null&&l!==void 0?l:f,this.props=new j(i==null?void 0:i.props,(Io(this,e)?this.constructor:void 0).controlName),this.controlType=(a=i==null?void 0:i.controlType)!==null&&a!==void 0?a:"base",this.setting=ce(B),this.fieldType=(c=i==null?void 0:i.fieldType)!==null&&c!==void 0?c:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(m),this.slotPosition=ce(I),Promise.resolve().then(function(){n._callControlHooks("postInstance",i)})}return d6(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),l=0;l<n;l++)u[l]=arguments[l];var a,c=f6(u),s=c[0],h=c.slice(1);return(a=r6).emit.apply(a,[s,this].concat(Tl(h)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),d_(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){return Eo(function(){var n,u,l;return wo(this,function(a){switch(a.label){case 0:return n=Do({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(n,u){return Eo(function(){var l,a,c,s;return wo(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Do({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),c=a6(a,n),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,c=this.props,s=c.dataBind,h=c.datasourceBind,d=c.optionConfig,f=c.caption,g=c.required,E=c.maxLength,_=c.options,b=c.encrypted,B=c.encryptedMode;if(!(!u&&!s&&!h)){var m={parentId:n,fieldType:u,controlId:l,caption:f,type:a,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),B!==void 0&&(m.encryptedMode=B),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,u){if(n==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,Tl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(O,"mode","Designer"),L(O,"slots",void 0),L(O,"slotPosition",void 0),L(O,"controlName",r("CMD.7baf1751712168384")),L(O,"controlIcon","icon"),L(O,"controlType","control"),L(O,"controlFieldType",void 0),L(O,"controlEventKeys",[]),L(O,"controlCustomEvents",[]),L(O,"setting",[]),L(O,"__is_control__",!0),L(O,"removeSettingItem",Ao),L(O,"updateSettingItem",To);function Ao(t){var e=this,i=Array.isArray(t)?t:[t];i.forEach(function(n){var u,l=typeof n!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?n.key:n)});if(a!==-1){var c,s;l?e.setting[a].showItems=(c=e.setting[a].showItems)===null||c===void 0?void 0:c.filter(function(h){return!n.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((s=e.setting[a].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(a,1)}})}function To(t,e){var i=this,n=typeof t=="string"?[t]:t;n.forEach(function(u){var l=i.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":v6(e))==="object"){var a,c=(a=e.type)!==null&&a!==void 0?a:"replace";if(c==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Tl(e.showItems))}}}})}function m6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function So(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g6(t,e,i){return e&&So(t.prototype,e),i&&So(t,i),t}function ne(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function b6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(i){m6(this,e);var n,u,l,a,c;ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var s=b6(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||$r("The ".concat(f," controlType is not define")),this.id=(n=i==null?void 0:i.id)!==null&&n!==void 0?n:oe(10),this.type=(u=i==null?void 0:i.type)!==null&&u!==void 0?u:h,this.props=new j(i==null?void 0:i.props),this.customEvents=g,this.controlType=(l=i==null?void 0:i.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=i==null?void 0:i.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(c=i==null?void 0:i.pageStatus)!==null&&c!==void 0?c:d7.UNKNOWN}return g6(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function Sl(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(i,n,u){n.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(i,n,u){var l=n.map(function(c){return c.value}),a=g_(l);l.length!==a.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(i,n,u){n.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ln(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(i?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(i?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(i?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(i?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(i?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(i?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,a){l.length===0&&a(r(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(i?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(i?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function C6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function E6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function an(t,e,i){return e=on(e),_6(t,Po()?Reflect.construct(e,i||[],on(t).constructor):e.apply(t,i))}function rn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},on(t)}function cn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function _6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:E6(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Pl(t,e)}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var z=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]),H(n,"dataBind",{}),H(n,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(n,"isHideCaption",{type:"boolean"}),H(n,"labelPosition",{type:"enum",enum:["top","left"]}),H(n,"defaultState",{type:"enum",enum:["default","readonly"]}),H(n,"required",{type:"boolean"}),H(n,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(C6(i.dataBind))n.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(i.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=l}return i.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(U),M=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]);var u=i.isHide?!1:i.required;return u&&n.push({type:"string",required:u,message:i.requiredMessage!==""?i.requiredMessage:r("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),n}return e}(Ne),w=function(t){cn(e,t);function e(i){rn(this,e);var n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I;return n=an(this,e,[i]),H(n,"caption",void 0),H(n,"captionSize",void 0),H(n,"captionColor",void 0),H(n,"isCaptionItalic",void 0),H(n,"captionFontWeight",void 0),H(n,"className",void 0),H(n,"isHideCaption",void 0),H(n,"isShowCaptionTip",void 0),H(n,"captionTip",void 0),H(n,"labelPosition",void 0),H(n,"dataBind",void 0),H(n,"defaultValue",void 0),H(n,"placeholder",void 0),H(n,"defaultState",void 0),H(n,"required",void 0),H(n,"requiredMessage",void 0),n.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"",n.captionSize=(l=i==null?void 0:i.captionSize)!==null&&l!==void 0?l:"",n.captionColor=(a=i==null?void 0:i.captionColor)!==null&&a!==void 0?a:"",n.isCaptionItalic=(c=i==null?void 0:i.isCaptionItalic)!==null&&c!==void 0?c:!1,n.captionFontWeight=(s=i==null?void 0:i.captionFontWeight)!==null&&s!==void 0?s:"normal",n.className=(h=i==null?void 0:i.className)!==null&&h!==void 0?h:[],n.isHideCaption=(d=i==null?void 0:i.isHideCaption)!==null&&d!==void 0?d:!1,n.isShowCaptionTip=(f=i==null?void 0:i.isShowCaptionTip)!==null&&f!==void 0?f:!1,n.captionTip=(g=i==null?void 0:i.captionTip)!==null&&g!==void 0?g:"",n.defaultState=(E=i==null?void 0:i.defaultState)!==null&&E!==void 0?E:"default",n.labelPosition=(_=i==null?void 0:i.labelPosition)!==null&&_!==void 0?_:"top",n.placeholder=(b=i==null?void 0:i.placeholder)!==null&&b!==void 0?b:"",n.required=(B=i==null?void 0:i.required)!==null&&B!==void 0?B:!1,n.requiredMessage=(m=i==null?void 0:i.requiredMessage)!==null&&m!==void 0?m:"",n.dataBind=new ye(i==null?void 0:i.dataBind),n.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",n}return e}(j);H(w,"Rules",z),H(w,"RuntimeRules",M);var Le=function(t){cn(e,t);function e(i){rn(this,e);var n;return n=an(this,e,[i]),H(n,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(n,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(n,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(z);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D6(t,e,i){return e=dn(e),A6(t,Oo()?Reflect.construct(e,i||[],dn(t).constructor):e.apply(t,i))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dn(t)}function w6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ol(t,e)}function A6(t,e){return e&&(T6(e)==="object"||typeof e=="function")?e:B6(t)}function Ol(t,e){return Ol=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ol(t,e)}function T6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var A=function(t){w6(e,t);function e(i){F6(this,e);var n;return n=D6(this,e,[i]),sn(n,"controlType","form"),sn(n,"props",void 0),n.props=new w(i==null?void 0:i.props),n}return e}(O);sn(A,"controlEventKeys",["on_change","on_focus","on_blur"]),sn(A,"controlCustomAttributes",void 0);function S6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P6(t,e,i){return e=hn(e),R6(t,ko()?Reflect.construct(e,i||[],hn(t).constructor):e.apply(t,i))}function O6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},hn(t)}function k6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rl(t,e)}function R6(t,e){return e&&(x6(e)==="object"||typeof e=="function")?e:S6(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Rl(t,e)}function x6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var T=function(t){k6(e,t);function e(i){O6(this,e);var n;return n=P6(this,e,[i]),kl(n,"controlType","form"),kl(n,"props",void 0),kl(n,"value",void 0),n.props=new w(i==null?void 0:i.props),n}return e}(q);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N6(t,e,i){return e=yn(e),H6(t,Ro()?Reflect.construct(e,i||[],yn(t).constructor):e.apply(t,i))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},yn(t)}function $6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xl(t,e)}function H6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},xl(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}var k=function(t){$6(e,t);function e(i){return L6(this,e),N6(this,e,[i])}return e}(j);function Ml(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function j6(t){if(Array.isArray(t))return Ml(t)}function q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function W6(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){xo(l,n,u,a,c,"next",s)}function c(s){xo(l,n,u,a,c,"throw",s)}a(void 0)})}}function U6(t,e,i){return e=Te(e),eI(t,Lo()?Reflect.construct(e,i||[],Te(t).constructor):e.apply(t,i))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G6(t,e,i){return e&&Mo(t.prototype,e),i&&Mo(t,i),t}function Ae(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ct(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var c=tI(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},ct(t,e,i||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Te(t)}function K6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nl(t,e)}function Q6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Z6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function J6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Ae(t,u,i[u])})}return t}function Y6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function p6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Y6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function eI(t,e){return e&&(iI(e)==="object"||typeof e=="function")?e:q6(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nl(t,e)}function tI(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function No(t){return j6(t)||Z6(t)||nI(t)||X6()}function iI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nI(t,e){if(!!t){if(typeof t=="string")return Ml(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ml(t,e)}}function Lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lo=function(){return!!t})()}function uI(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var lI=1e4,N=function(e){K6(i,e);function i(n){z6(this,i);var u;u=U6(this,i,[n]),Ae(u,"controlType","layout"),Ae(u,"children",void 0),Ae(u,"excludes",void 0),Ae(u,"childrenMaxLength",void 0),Ae(u,"props",void 0);var l=Q6(this,i)?this.constructor:void 0,a=l.excludes,c=l.childrenMaxLength;return u.props=new k(n==null?void 0:n.props),se(u,"children",n==null?void 0:n.children,void 0,"Designer"),u.excludes=ce(a),u.childrenMaxLength=c,u}return G6(i,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,c=this,s=function(){return ct(Te(i.prototype),"validate",a)};return W6(function(){return uI(this,function(h){switch(h.label){case 0:return[4,s().call(c,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ct(Te(i.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(c,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return No(c).concat(No(d))}return h&&c.push(h),c},a)}},{key:"toSchema",value:function(){var u=ct(Te(i.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var c=a.toSchema();return c});return p6(J6({},u),{children:l})}}]),i}(O);Ae(N,"excludes",!1),Ae(N,"childrenMaxLength",lI);function aI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rI(t,e,i){return e=fn(e),sI(t,$o()?Reflect.construct(e,i||[],fn(t).constructor):e.apply(t,i))}function oI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(t)}function cI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$l(t,e)}function sI(t,e){return e&&(dI(e)==="object"||typeof e=="function")?e:aI(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},$l(t,e)}function dI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var $=function(t){cI(e,t);function e(i){oI(this,e);var n;return n=rI(this,e,[i]),Ll(n,"controlType","layout"),Ll(n,"children",void 0),Ll(n,"props",void 0),n.props=new k(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function hI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yI(t,e,i){return e=vn(e),mI(t,Ho()?Reflect.construct(e,i||[],vn(t).constructor):e.apply(t,i))}function fI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vn(t)}function vI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hl(t,e)}function mI(t,e){return e&&(gI(e)==="object"||typeof e=="function")?e:hI(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Hl(t,e)}function gI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}var mn=function(t){vI(e,t);function e(i,n,u){fI(this,e);var l,a,c,s,h;return l=yI(this,e,[n]),st(l,"headers",void 0),st(l,"footers",void 0),st(l,"pageIndex",void 0),st(l,"pageSize",void 0),st(l,"pageSizeOptions",void 0),st(l,"totalCount",void 0),se(l,"headers",n==null?void 0:n.headers,i,u),se(l,"footers",n==null?void 0:n.footers,i),l.pageIndex=(a=n==null?void 0:n.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(c=n==null?void 0:n.pageSize)!==null&&c!==void 0?c:20,l.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=n==null?void 0:n.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Vl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function bI(t){if(Array.isArray(t))return Vl(t)}function CI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vo(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function EI(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){Vo(l,n,u,a,c,"next",s)}function c(s){Vo(l,n,u,a,c,"throw",s)}a(void 0)})}}function _I(t,e,i){return e=Se(e),TI(t,zo()?Reflect.construct(e,i||[],Se(t).constructor):e.apply(t,i))}function II(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function BI(t,e,i){return e&&jo(t.prototype,e),i&&jo(t,i),t}function gn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dt(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,l,a){var c=SI(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},dt(t,e,i||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(t)}function DI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jl(t,e)}function FI(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wI(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){gn(t,u,i[u])})}return t}function AI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function Wo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AI(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function TI(t,e){return e&&(PI(e)==="object"||typeof e=="function")?e:CI(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},jl(t,e)}function SI(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Uo(t){return bI(t)||FI(t)||OI(t)||wI()}function PI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OI(t,e){if(!!t){if(typeof t=="string")return Vl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Vl(t,e)}}function zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!t})()}function kI(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var ql=function(t){DI(e,t);function e(i){II(this,e);var n;return n=_I(this,e,[i]),gn(n,"controlType","list"),gn(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Designer"),n}return BI(e,[{key:"validate",value:function(n,u){var l=this,a=this,c=function(){return dt(Se(e.prototype),"validate",l)};return EI(function(){return kI(this,function(s){switch(s.label){case 0:return[4,c().call(a,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(n,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=dt(Se(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],l=this.id;return this.props.headers.reduce(function(a,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Uo(a).concat(Uo(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var n=dt(Se(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Wo(qo({},n),{props:Wo(qo({},this.props),{headers:u})})}}]),e}(O);gn(ql,"controlFieldType",C.LIST);function RI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xI(t,e,i){return e=bn(e),$I(t,Ko()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function MI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Go(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function NI(t,e,i){return e&&Go(t.prototype,e),i&&Go(t,i),t}function Wl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function LI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ul(t,e)}function $I(t,e){return e&&(HI(e)==="object"||typeof e=="function")?e:RI(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ul(t,e)}function HI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}var Qo=function(t){LI(e,t);function e(i){MI(this,e);var n;return n=xI(this,e,[i]),Wl(n,"controlType","list"),Wl(n,"children",void 0),Wl(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return NI(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function VI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zl(t,e,i){return e=Cn(e),jI(t,Zo()?Reflect.construct(e,i||[],Cn(t).constructor):e.apply(t,i))}function Gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Cn(t)}function Kl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ql(t,e)}function jI(t,e){return e&&(qI(e)==="object"||typeof e=="function")?e:VI(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ql(t,e)}function qI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}var be=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),G=function(t){Kl(e,t);function e(i){Gl(this,e);var n,u,l,a,c,s;return n=zl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto",n.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"",n.fixed=(a=i==null?void 0:i.fixed)!==null&&a!==void 0?a:"none",n.autoWidth=new eo(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind),n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan,n.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(j);Y(G,"Rules",be);var Zl=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(be);function WI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UI(t,e,i){return e=ht(e),JI(t,Jo()?Reflect.construct(e,i||[],ht(t).constructor):e.apply(t,i))}function zI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function GI(t,e,i){return e&&Xo(t.prototype,e),i&&Xo(t,i),t}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _n(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?_n=Reflect.get:_n=function(u,l,a){var c=YI(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},_n(t,e,i||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ht(t)}function KI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xl(t,e)}function QI(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){En(t,u,i[u])})}return t}function ZI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function XI(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ZI(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function JI(t,e){return e&&(pI(e)==="object"||typeof e=="function")?e:WI(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Xl(t,e)}function YI(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function pI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}var X=function(t){KI(e,t);function e(i){zI(this,e);var n;return n=UI(this,e,[i]),En(n,"controlType","column"),En(n,"props",void 0),En(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return GI(e,[{key:"toSchema",value:function(){var n=_n(ht(e.prototype),"toSchema",this).call(this);return XI(QI({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function eB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tB(t,e,i){return e=In(e),uB(t,Yo()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function iB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function nB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yl(t,e)}function uB(t,e){return e&&(lB(e)==="object"||typeof e=="function")?e:eB(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yl(t,e)}function lB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yo=function(){return!!t})()}var J=function(t){nB(e,t);function e(i){iB(this,e);var n;return n=tB(this,e,[i]),Jl(n,"controlType","column"),Jl(n,"props",void 0),Jl(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function aB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rB(t,e,i){return e=Bn(e),dB(t,po()?Reflect.construct(e,i||[],Bn(t).constructor):e.apply(t,i))}function oB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cB(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Bn(t)}function sB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pl(t,e)}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:aB(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function hB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}var ea=function(t){sB(e,t);function e(i){oB(this,e);var n;return n=rB(this,e,[i]),cB(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(k);function yB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fB(t,e,i){return e=Dn(e),gB(t,tc()?Reflect.construct(e,i||[],Dn(t).constructor):e.apply(t,i))}function vB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dn(t)}function mB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function gB(t,e){return e&&(bB(e)==="object"||typeof e=="function")?e:yB(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ta(t,e)}function bB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}var CB=function(t){mB(e,t);function e(i){vB(this,e);var n;return n=fB(this,e,[i]),ec(n,"controlType","search"),ec(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}(N);function EB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _B(t,e,i){return e=Fn(e),DB(t,nc()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function IB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ic(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function BB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function DB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:EB(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function FB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!t})()}var wB=function(t){BB(e,t);function e(i){IB(this,e);var n;return n=_B(this,e,[i]),ic(n,"controlType","search"),ic(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}($);function AB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TB(t,e,i){return e=wn(e),OB(t,uc()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function SB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function PB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function OB(t,e){return e&&(kB(e)==="object"||typeof e=="function")?e:AB(t)}function na(t,e){return na=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},na(t,e)}function kB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}var ua=function(t){PB(e,t);function e(i){return SB(this,e),TB(this,e,[i])}return e}(k);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xB(t,e,i){return e=An(e),LB(t,ac()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function MB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function NB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function LB(t,e){return e&&($B(e)==="object"||typeof e=="function")?e:RB(t)}function la(t,e){return la=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},la(t,e)}function $B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}var HB=function(t){NB(e,t);function e(i){MB(this,e);var n;return n=xB(this,e,[i]),lc(n,"controlType","wrap"),lc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}(N);function VB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jB(t,e,i){return e=Tn(e),UB(t,oc()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function qB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function WB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function UB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:VB(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},aa(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oc=function(){return!!t})()}var GB=function(t){WB(e,t);function e(i){qB(this,e);var n;return n=jB(this,e,[i]),rc(n,"controlType","wrap"),rc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}var Oe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Oe||{}),cc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(cc||{}),sc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(sc||{});class Sn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ra{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var oa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(oa||{});class Pn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var ca=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(ca||{}),ke=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(ke||{});class sa{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I,R;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new De((n=e==null?void 0:e.person)!=null?n:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new De((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new De((c=e==null?void 0:e.company)!=null?c:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new De((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(I=e==null?void 0:e.posY)!=null?I:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class dc{constructor(e){var i,n,u,l,a,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(s=>new sa(s)))!=null?u:[new sa],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Wt{constructor(e){var i,n,u,l,a,c,s;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class da{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class hc{constructor(e){var i,n,u,l;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new da(e==null?void 0:e.watermark),this.autoRename=new da(e==null?void 0:e.autoRename)}}class ha{constructor(e){var i,n,u,l,a,c,s;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ya{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class yc{constructor(e){this.dataCode=e.dataCode}}class fc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new yc(l)))!=null?u:[]}}class vc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new Wt(l)))!=null?u:[new Wt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const mc=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class gc{constructor(e){var i,n,u,l,a;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class bc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Cc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Cc||{}),fa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(fa||{}),On=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(On||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),va=(t=>(t.ALL="all",t.ADMIN="admin",t))(va||{}),ma=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ma||{});class ga extends j{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:ke.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class Ec extends O{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ec.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class KB extends q{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"text"}}var _c={Designer:Ec,Runtime:KB,Property:ga};class ba extends j{constructor(e){var i,n,u,l,a,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new",this.icon=(c=e==null?void 0:e.icon)!=null?c:""}}class Ca extends O{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ca.controlEventKeys=["on_click"],Ca.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.90741774578992730"),default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:r("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:r("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class QB extends q{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ic={Designer:Ca,Runtime:QB,Property:ba};class ZB extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:"\u8BF7\u8F93\u5165URL"},this.width={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u5BBD"},this.height={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u9AD8"}}}class kn extends j{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}kn.Rules=ZB;class Bc extends O{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return r("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconwangye"}static get controlType(){return"iframe"}}Bc.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:"\u5BBD",min:1,tip:"\u5BBD\u5EA6\u8BBE\u7F6E\u5728\u79FB\u52A8\u7AEF\u4E0D\u751F\u6548, \u79FB\u52A8\u7AEF\u9ED8\u8BA4\u5BBD\u5EA6\u4E3A100%"},{key:"common-input-number",visible:!0,name:"height",label:"\u9AD8",min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class XB extends q{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var Dc={Designer:Bc,Runtime:XB,Property:kn};class ee extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new f7((d=e==null?void 0:e.optObj)!=null?d:{}),this.actionObj=new i7((f=e==null?void 0:e.actionObj)!=null?f:{}),this.optButtonType=(g=e==null?void 0:e.optButtonType)!=null?g:"button"}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Or.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Fc={Designer:p,Runtime:ue,Property:ee};class Ea extends j{constructor(e){var i,n,u,l,a,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:ca.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(a=e==null?void 0:e.captionFontWeight)!=null?a:ke.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class wc extends O{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}wc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.30971774578990996"),default:"left",options:[{value:"left",label:r("CMD.77f61774579023852")},{value:"center",label:r("CMD.c2061774579037651")},{value:"right",label:r("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:r("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:r("CMD.2bfb1774579038746")},{value:"middle",label:r("CMD.9e231774579040279")},{value:"bottom",label:r("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class JB extends q{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ac={Designer:wc,Runtime:JB,Property:Ea};class YB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Rn extends j{constructor(e){var i,n,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Rn.Rules=YB;class yt extends O{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pB extends q{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Tc={Designer:yt,Runtime:pB,Property:Rn};class eD extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class xn extends ee{constructor(e){var i,n,u,l;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}xn.Rules=eD;class ft extends p{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class tD extends ue{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sc={Designer:ft,Runtime:tD,Property:xn};class iD extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Mn extends ee{constructor(e){var i,n,u,l,a,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(c=e==null?void 0:e.employeeId)!=null?c:""}}Mn.Rules=iD;class vt extends p{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nD extends ue{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Pc={Designer:vt,Runtime:nD,Property:Mn};class _a extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uD extends ue{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Oc={Designer:mt,Runtime:uD,Property:_a};class Ia extends ee{constructor(e){var i,n,u,l,a;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(c=>new Wt(c)))!=null?a:[new Wt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lD extends ue{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var kc={Designer:gt,Runtime:lD,Property:Ia};class Ba extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aD extends ue{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Rc={Designer:bt,Runtime:aD,Property:Ba};class rD{constructor(e){this.dataCode=e.dataCode}}class Da extends ee{constructor(e){var i,n,u,l,a;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new rD(c)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class Ct extends p{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class oD extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var xc={Designer:Ct,Runtime:oD,Property:Da};function cD(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function sD(t){if(!t.trim())return{};try{const e=JSON.parse(t);return cD(e)?e:{}}catch(e){return{}}}function dD(t){return Array.isArray(t)?t:t?[t]:[]}function Mc(t){return typeof t!="string"||t.trim()===""}function hD(t,e){const i=sD(t);return dD(i[e]).some(n=>n.type==="category")}function Nn(t,e,i){return{type:"string",validator(n,u,l){if(hD(t.optionJson,e)&&Mc(u)){l(i);return}l()}}}function Fa(t){return{type:"array",validator(e,i,n){if(!Array.isArray(i)||i.length===0||i.some(u=>Mc(u==null?void 0:u.valueField))){n(t);return}n()}}}function Ln(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class $n extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.formBind=new z_(e==null?void 0:e.formBind),this.fillBack=new ao(e==null?void 0:e.fillBack)}}$n.Rules=yD;class zt extends p{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class fD extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Nc={Designer:zt,Runtime:fD,Property:$n};class vD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())}}}class Hn extends ee{constructor(e){var i,n,u,l,a;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Gt.controlIcon,this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.fillBack=new ao(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Hn.Rules=vD;class Gt extends p{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class mD extends ue{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lc={Designer:Gt,Runtime:mD,Property:Hn};class gD extends U{constructor(e){super(e)}}class bD extends Ne{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=gD,Kt.RuntimeRules=bD;class $c extends O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}$c.setting=[];class CD extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Hc={Designer:$c,Runtime:CD,Property:Kt};class ED extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends j{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Vn.Rules=ED;class Vc extends O{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Vc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class _D extends q{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jc={Designer:Vc,Runtime:_D,Property:Vn};class ID extends U{constructor(e){super(e),this.seriesConfig=Fa(r("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",r("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",r("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}class jn extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:qn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"bar-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(B=e==null?void 0:e.yField)!=null?B:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}jn.Rules=ID;class qn extends O{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return r("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}qn.controlEventKeys=["on_chart_change"],qn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"bar-basic",label:"\u57FA\u7840\u67F1\u72B6\u56FE"},{value:"bar-background",label:"\u5E26\u80CC\u666F\u8272\u7684\u67F1\u72B6\u56FE"},{value:"bar-waterfall",label:"\u7011\u5E03\u56FE"},{value:"bar-alternating",label:"\u4EA4\u9519\u6B63\u8D1F\u8F74\u6807\u7B7E"},{value:"bar-multi-y",label:"\u591A Y \u8F74\u793A\u4F8B"},{value:"bar-stacked",label:"\u5806\u53E0\u67F1\u72B6\u56FE"},{value:"bar-stacked-rounded",label:"\u5E26\u5706\u89D2\u7684\u5806\u79EF\u67F1\u72B6\u56FE"},{value:"bar-stacked-horizontal",label:"\u5806\u53E0\u6761\u5F62\u56FE"},{value:"bar-positive-negative",label:"\u6B63\u8D1F\u6761\u5F62\u56FE"}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class BD extends q{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var qc={Designer:qn,Runtime:BD,Property:jn};class DD extends U{constructor(e){super(e),this.seriesConfig=Fa(r("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",r("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",r("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}class Wn extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Un.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"line-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(B=e==null?void 0:e.yField)!=null?B:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}Wn.Rules=DD;class Un extends O{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return r("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}Un.controlEventKeys=["on_chart_change"],Un.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"line-basic",options:[{value:"line-basic",label:"\u57FA\u7840\u6298\u7EBF\u56FE"},{value:"line-smooth",label:"\u57FA\u7840\u5E73\u6ED1\u6298\u7EBF\u56FE"},{value:"line-area",label:"\u57FA\u7840\u9762\u79EF\u56FE"},{value:"line-stacked",label:"\u5806\u53E0\u6298\u7EBF\u56FE"},{value:"line-stacked-area",label:"\u5806\u53E0\u9762\u79EF\u56FE"}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class FD extends q{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Wc={Designer:Un,Runtime:FD,Property:Wn};class wD extends U{constructor(e){super(e),this.seriesConfig=Fa(r("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5"))}}class zn extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Gn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"pie-rounded-ring",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(B=>new Q(B)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.seriesConfig=(b=e==null?void 0:e.seriesConfig)!=null?b:[]}}zn.Rules=wD;class Gn extends O{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return r("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Gn.controlEventKeys=["on_chart_change"],Gn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"chart-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"pie-rounded-ring",label:"\u5706\u89D2\u73AF\u5F62\u56FE"},{value:"pie-ring",label:"\u73AF\u5F62\u56FE"},{value:"pie-half-ring",label:"\u534A\u73AF\u5F62\u56FE"},{value:"pie-gap",label:"\u997C\u56FE\u6247\u533A\u95F4\u9699"},{value:"pie-rose",label:"\u57FA\u7840\u5357\u4E01\u683C\u5C14\u73AB\u7470\u56FE"},{value:"pie-texture",label:"\u997C\u56FE\u7EB9\u7406"}]},{key:"label-position",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class AD extends q{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var Uc={Designer:Gn,Runtime:AD,Property:zn};class TD extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Kn extends j{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(l=>new h7(l)))!=null?u:[]}}Kn.Rules=TD;class zc extends O{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}zc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class SD extends q{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Gc={Designer:zc,Runtime:SD,Property:Kn};class PD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,n,u){if(n.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends ee{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Et.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(c=e==null?void 0:e.content)!=null?c:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Qn.Rules=PD;class Et extends p{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class OD extends ue{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Kc={Designer:Et,Runtime:OD,Property:Qn};class kD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,n,u){if(n.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends ee{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(c=e==null?void 0:e.content)!=null?c:_t.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:_t.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Zn.Rules=kD;class _t extends p{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class RD extends ue{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qc={Designer:_t,Runtime:RD,Property:Zn};class xD extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Xn extends ee{constructor(e){var i,n,u,l,a;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new gc(c)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Xn.Rules=xD;class It extends p{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click","on_click_finish"],It.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class MD extends ue{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Zc={Designer:It,Runtime:MD,Property:Xn};class wa extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Bt.controlIcon}}class Bt extends p{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ND extends ue{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xc={Designer:Bt,Runtime:ND,Property:wa};class LD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Jn extends j{constructor(e){var i,n,u,l,a,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Jn.Rules=LD;class Yn extends O{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Yn.controlEventKeys=["on_click"],Yn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class $D extends q{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Jc={Designer:Yn,Runtime:$D,Property:Jn};class Aa extends j{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Dt extends O{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class HD extends q{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yc={Designer:Dt,Runtime:HD,Property:Aa};class VD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class pn extends j{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:eu.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new ha(e==null?void 0:e.actionSetting))!=null?a:new ha,this.listHeightSetting=(c=new ya(e==null?void 0:e.listHeightSetting))!=null?c:new ya}}pn.Rules=VD;class eu extends O{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}eu.controlEventKeys=["on_list_rowclick"],eu.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class jD extends q{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var pc={Designer:eu,Runtime:jD,Property:pn};class Ta extends j{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class es extends O{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}es.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class qD extends q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"comment"}}var ts={Designer:es,Runtime:qD,Property:Ta},WD=Object.freeze({__proto__:null,Text:_c,Link:Ic,Iframe:Dc,Button:Fc,Divider:Ac,Title:Tc,CreateFormListButton:Sc,BatchSubmissionListButton:Pc,SubmissionRecordListButton:Oc,ExportListButton:kc,ExportRecordListButton:Rc,ImportRecordListButton:xc,FormSelectButton:Nc,ListSelectButton:Lc,Pagination:Hc,Dashboard:jc,BarChart:qc,LineChart:Wc,PieChart:Uc,ListViewSelect:Gc,TextOcrButton:Kc,InvoiceCheckButton:Qc,BatchPrintListButton:Zc,BatchPrintRecordListButton:Xc,OperationButton:Jc,BatchDeleteButton:Yc,ReferenceList:pc,CommentControl:ts});class UD extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class zD extends M{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ft extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new ro(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:wt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}Ft.Rules=UD,Ft.RuntimeRules=zD;class wt extends A{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wt.controlFieldType=C.VARCHAR,wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class is extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}is.controlFieldType=C.VARCHAR;var ns={Designer:wt,Runtime:is,Property:Ft};class GD extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class KD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Qt extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(n=e==null?void 0:e.checkboxMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var I;(I=this.multistageFilling)==null||I.push(new Q(m))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Qt.Rules=GD,Qt.RuntimeRules=KD;class Zt extends A{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class us extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}us.controlFieldType=C.ARRAY;var ls={Designer:Zt,Runtime:us,Property:Qt};class Sa extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$e.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(a=e==null?void 0:e.expandTrigger)!=null?a:"click",this.allowClear=(c=e==null?void 0:e.allowClear)!=null?c:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new en((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new en((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(I=>new Q(I)))!=null?B:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class $e extends A{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return r("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class as extends T{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}as.controlFieldType=C.VARCHAR;var rs={Designer:$e,Runtime:as,Property:Sa};class QD extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class ZD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Xt extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Jt.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(a=e==null?void 0:e.max)!=null?a:100,this.step=(c=e==null?void 0:e.step)!=null?c:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Xt.Rules=QD,Xt.RuntimeRules=ZD;class Jt extends A{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class os extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"counter"}}os.controlFieldType=C.DECIMAL;var cs={Designer:Jt,Runtime:os,Property:Xt};class XD extends Le{constructor(e){super(e)}}class tu extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(n=e==null?void 0:e.radioMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var m;(m=this.multistageFilling)==null||m.push(new Q(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}tu.Rules=XD;class Yt extends A{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=C.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:r("CMD.a1171774579045618")},{value:"button",label:r("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ss extends T{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"radio"}}ss.controlFieldType=C.VARCHAR;var ds={Designer:Yt,Runtime:ss,Property:tu};class JD extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class YD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(c=e==null?void 0:e.precision)!=null?c:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ei.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new ro(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}pt.Rules=JD,pt.RuntimeRules=YD;class ei extends A{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ei.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ei.controlFieldType=C.DECIMAL,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hs extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"number"}}hs.controlFieldType=C.DECIMAL;var ys={Designer:ei,Runtime:hs,Property:pt};class pD extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF"})}}class e8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:i===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":n===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"})}}class ti extends w{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ii.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(a=e==null?void 0:e.step)!=null?a:1,this.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}ti.Rules=pD,ti.RuntimeRules=e8;class ii extends A{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u6ED1\u5757"}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ii.controlEventKeys=["on_change"],ii.controlFieldType=C.DECIMAL,ii.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class fs extends T{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"slider"}}fs.controlFieldType=C.DECIMAL;var vs={Designer:ii,Runtime:fs,Property:ti};class t8 extends z{constructor(e){super(e)}}class i8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ni extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ui.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:"\u5F00\u542F",this.checkedTextColor=(a=e==null?void 0:e.checkedTextColor)!=null?a:"#ffffff",this.checkedBackgroundColor=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:"\u5173\u95ED",this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}ni.Rules=t8,ni.RuntimeRules=i8;class ui extends A{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5F00\u5173"}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}ui.controlEventKeys=["on_change"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:"\u5F00\u5173\u72B6\u6001",default:0,options:[{value:1,label:"\u5F00\u542F"},{value:0,label:"\u5173\u95ED"}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:"\u6587\u5B57\u5C55\u793A\u6837\u5F0F",default:"inside",options:[{value:"inside",label:"\u5F00\u5173\u5185"},{value:"outside",label:"\u5F00\u5173\u5916"}]},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:"\u5F00\u542F\u6587\u5B57"},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:"\u5F00\u542F\u6587\u5B57\u989C\u8272"},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:"\u5F00\u542F\u80CC\u666F\u989C\u8272"},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:"\u5173\u95ED\u6587\u5B57"},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:"\u5173\u95ED\u6587\u5B57\u989C\u8272"},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:"\u5173\u95ED\u80CC\u666F\u989C\u8272"}]},{key:"super-setting",visible:!0}];class ms extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"switch"}}ms.controlFieldType=C.DECIMAL;var gs={Designer:ui,Runtime:ms,Property:ni};class n8 extends Le{constructor(e){super(e)}}class u8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class li extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(a=e==null?void 0:e.size)!=null?a:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}li.Rules=n8,li.RuntimeRules=u8;class ai extends A{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return r("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}ai.controlEventKeys=["on_click"],ai.controlFieldType=C.ARRAY,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:r("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:"\u5927"},{value:"medium",label:"\u4E2D"},{value:"small",label:"\u5C0F"}]},{key:"common-button-radio",visible:!0,name:"align",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"color",label:"\u9ED8\u8BA4",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"success",label:"\u6210\u529F"},{value:"processing",label:"\u8FDB\u884C\u4E2D"},{value:"error",label:"\u9519\u8BEF"},{value:"warning",label:"\u8B66\u544A"}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bs extends T{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"tag"}}bs.controlFieldType=C.ARRAY;var Cs={Designer:ai,Runtime:bs,Property:li};class l8 extends z{constructor(e){super(e)}}class a8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ri extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:"\u8BF7\u8F93\u5165",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(a=e==null?void 0:e.codeWidth)!=null?a:1,this.codeMargin=(c=e==null?void 0:e.codeMargin)!=null?c:0,this.backgroundColor=(s=e==null?void 0:e.backgroundColor)!=null?s:"#ffffff",this.barcodeColor=(h=e==null?void 0:e.barcodeColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left",this.displayValue=(f=e==null?void 0:e.displayValue)!=null?f:!1}}ri.Rules=l8,ri.RuntimeRules=a8;class oi extends A{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u6761\u5F62\u7801"}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:"\u6761\u7801\u9AD8\u5EA6(px)"},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:"\u6761\u7801\u5BBD\u5EA6(px)"},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:"\u8FB9\u8DDD(px)"},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:"\u663E\u793A\u503C"}]},{key:"common-group",visible:!0,label:"\u6837\u5F0F\u8BBE\u7F6E",children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"color",visible:!0,name:"barcodeColor",layout:"horizontal",label:"\u6761\u7801\u989C\u8272"},{key:"common-button-radio",visible:!0,name:"align",label:"\u5BF9\u9F50",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]}]},{key:"super-setting",visible:!0}];class Es extends T{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"barcode"}}Es.controlFieldType=C.VARCHAR;var _s={Designer:oi,Runtime:Es,Property:ri};class r8 extends z{constructor(e){super(e)}}class o8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ci extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:si.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(a=e==null?void 0:e.codeMode)!=null?a:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.backgroundColor=(h=e==null?void 0:e.backgroundColor)!=null?h:"#ffffff",this.qrColor=(d=e==null?void 0:e.qrColor)!=null?d:"#000000",this.align=(f=e==null?void 0:e.align)!=null?f:"left"}}ci.Rules=r8,ci.RuntimeRules=o8;class si extends A{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u4E8C\u7EF4\u7801"}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}si.controlEventKeys=["on_change"],si.controlFieldType=C.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-select",visible:!0,name:"qrVersion",label:"\u4E8C\u7EF4\u7801\u7248\u672C",default:"auto",options:[{value:"auto",label:"\u81EA\u52A8"},{value:"1",label:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:"\u5BB9\u9519\u7EA7\u522B",default:"M",options:[{value:"L",label:"L\uFF08\u4F4E\uFF0C7%\uFF09"},{value:"M",label:"M\uFF08\u4E2D\uFF0C15%\uFF09"},{value:"Q",label:"Q\uFF08\u9AD8\uFF0C25%\uFF09"},{value:"H",label:"H\uFF08\u6700\u9AD8\uFF0C30%\uFF09"}]},{key:"common-select",visible:!0,name:"codeMode",label:"\u7801\u5236",default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:"\u5C3A\u5BF8(px)"},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:"\u8FB9\u8DDD(px)"}]},{key:"common-group",visible:!0,label:"\u6837\u5F0F\u8BBE\u7F6E",children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"color",visible:!0,name:"qrColor",layout:"horizontal",label:"\u4E8C\u7EF4\u7801\u989C\u8272"},{key:"common-button-radio",visible:!0,name:"align",label:"\u5BF9\u9F50",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]}]},{key:"super-setting",visible:!0}];class Is extends T{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Is.controlFieldType=C.VARCHAR;var Bs={Designer:si,Runtime:Is,Property:ci};class Pa extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:iu.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Sn(B)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class iu extends A{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}iu.controlFieldType=C.TIMESTAMP,iu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ds extends T{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Ds.controlFieldType=C.TIMESTAMP;var Fs={Designer:iu,Runtime:Ds,Property:Pa};class c8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class nu extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:uu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Sn(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}nu.RuntimeRules=c8;class uu extends A{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}uu.controlFieldType=C.TIMESCOPE,uu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ws.controlFieldType=C.TIMESCOPE;var As={Designer:uu,Runtime:ws,Property:nu};class Oa extends w{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:lu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.c9dc1774578987545"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(s=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new ra(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class lu extends A{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}lu.controlFieldType=C.TIMESTAMP,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ts extends T{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Ts.controlFieldType=C.TIMESTAMP;var Ss={Designer:lu,Runtime:Ts,Property:Oa};class s8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class au extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.be931774579000687"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:ru.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ra(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}au.RuntimeRules=s8;class ru extends A{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}ru.controlFieldType=C.TIMESCOPE,ru.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:r("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:r("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends T{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Ps.controlFieldType=C.TIMESCOPE;var Os={Designer:ru,Runtime:Ps,Property:au};class d8 extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class h8 extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class di extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:hi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new q_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=co((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}di.Rules=d8,di.RuntimeRules=h8;class hi extends A{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hi.controlFieldType=C.TEXT,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ks extends T{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ks.controlFieldType=C.TEXT;var Rs={Designer:hi,Runtime:ks,Property:di};class y8 extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class f8 extends M{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class yi extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:fi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=co((d=e==null?void 0:e.aiOptions)!=null?d:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}yi.Rules=y8,yi.RuntimeRules=f8;class fi extends A{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fi.controlFieldType=C.TEXT,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:"\u9AD8\u5EA6(px)",min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class xs extends T{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}xs.controlFieldType=C.TEXT;var Ms={Designer:fi,Runtime:xs,Property:yi};class v8 extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ou extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:cu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new Q(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}ou.Rules=v8;class cu extends A{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}cu.controlFieldType=C.VARCHAR,cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.de501774578997633"),default:"default",options:[{value:"default",label:r("CMD.10a31774579045620")},{value:"button",label:r("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ns extends T{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"select"}}Ns.controlFieldType=C.VARCHAR;var Ls={Designer:cu,Runtime:Ns,Property:ou};class m8 extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class g8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vi extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:su.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}vi.Rules=m8,vi.RuntimeRules=g8;class su extends A{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}su.controlFieldType=C.ARRAY,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:r("CMD.6e971774579045621")},{value:"button",label:r("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $s extends T{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}$s.controlFieldType=C.ARRAY;var Hs={Designer:su,Runtime:$s,Property:vi};class b8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class du extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:hu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}du.RuntimeRules=b8;class hu extends A{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}hu.controlFieldType=C.EMPLOYEES,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Vs extends T{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vs.controlFieldType=C.EMPLOYEES;var js={Designer:hu,Runtime:Vs,Property:du};const C8=10485760,E8=104857600,_8=1048576e3;class I8 extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:_8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class B8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:E8,this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(I=e==null?void 0:e.describe)!=null?I:""}}At.Rules=I8,At.RuntimeRules=B8;class Tt extends A{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Tt.controlEventKeys=["on_change","on_file_actions"],Tt.controlFieldType=C.FILE,Tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ka extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ka.controlFieldType=C.FILE;var qs={Designer:Tt,Runtime:ka,Property:At};const D8=10485760,F8=31457280;class w8 extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:F8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class yu extends At{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:fu.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:ma.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:D8}}yu.Rules=w8;class fu extends Tt{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}fu.controlFieldType=C.IMAGE,fu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class A8 extends ka{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Ws={Designer:fu,Runtime:A8,Property:yu};class T8 extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class S8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Ar(lt({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class mi extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new l7(e==null?void 0:e.dataBind),this.datasourceBind=new W((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new yl({value:"name"})]}),this.defaultValue=new a7((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:s7.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}mi.Rules=T8,mi.RuntimeRules=S8;class gi extends A{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}gi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gi.controlFieldType=C.MONEY,gi.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Us extends T{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"amount"}}Us.controlFieldType=C.MONEY;var zs={Designer:gi,Runtime:Us,Property:mi};class P8 extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class O8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bi extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:oa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Pn(f)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ci.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bi.Rules=P8,bi.RuntimeRules=O8;class Ci extends A{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Pn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Ci.controlEventKeys=["on_change","on_click"],Ci.controlFieldType=C.DECIMAL,Ci.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:r("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:r("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gs extends T{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"score"}}Gs.controlFieldType=C.DECIMAL;var Ks={Designer:Ci,Runtime:Gs,Property:bi};class k8 extends M{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:r("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class vu extends w{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:mu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new r7((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}vu.RuntimeRules=k8;class mu extends A{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}mu.controlFieldType=C.ADDRESS,mu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qs extends T{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Qs.controlFieldType=C.ADDRESS;var Zs={Designer:mu,Runtime:Qs,Property:vu};class R8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gu extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))}))}}gu.RuntimeRules=R8;class Ei extends A{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ei.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ei.controlFieldType=C.DEPARTMENTS,Ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xs extends T{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"department"}}Xs.controlFieldType=C.DEPARTMENTS;var Js={Designer:Ei,Runtime:Xs,Property:gu};class Ra extends w{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:_i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _i extends A{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}_i.controlEventKeys=["on_change"],_i.controlFieldType=C.AUTO_NUMBER,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ys extends T{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ys.controlFieldType=C.AUTO_NUMBER;var ps={Designer:_i,Runtime:Ys,Property:Ra};class x8 extends z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class M8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Ii extends w{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new o7(e==null?void 0:e.dataBind),this.defaultValue=new c7(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Bi.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Ii.Rules=x8,Ii.RuntimeRules=M8;class Bi extends A{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Bi.controlEventKeys=["on_change"],Bi.controlFieldType=C.CALC,Bi.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ed extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"calc"}}ed.controlFieldType=C.CALC;var td={Designer:Bi,Runtime:ed,Property:Ii};class N8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class bu extends w{constructor(e){var i,n,u,l,a,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(c=e==null?void 0:e.caption)!=null?c:Cu.controlName}}bu.RuntimeRules=N8;class Cu extends A{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Cu.controlFieldType=C.DECIMAL_RANGE,Cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class id extends T{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}id.controlFieldType=C.DECIMAL_RANGE;var nd={Designer:Cu,Runtime:id,Property:bu};class L8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Eu extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(c=e==null?void 0:e.rangeMin)!=null?c:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:_u.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Sn(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Eu.RuntimeRules=L8;class _u extends A{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}_u.controlFieldType=C.ARRAY,_u.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ud extends T{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ud.controlFieldType=C.ARRAY;var ld={Designer:_u,Runtime:ud,Property:Eu};class $8 extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class H8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Di extends w{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:St.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Di.Rules=$8,Di.RuntimeRules=H8;class St extends A{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Or.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ad extends T{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ad.controlFieldType=C.ANY;var rd={Designer:St,Runtime:ad,Property:Di};class V8 extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Iu extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Fi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new Q(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Iu.Rules=V8;class Fi extends A{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}Fi.controlFieldType=C.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Fi.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class od extends T{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}od.controlFieldType=C.VARCHAR;var cd={Designer:Fi,Runtime:od,Property:Iu};class xa extends Ft{constructor(e){super(e)}}class sd extends wt{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}sd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class dd extends T{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}dd.controlFieldType=C.VARCHAR;var hd={Designer:sd,Runtime:dd,Property:xa};class j8 extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ln.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class q8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class wi extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I,R,P,x;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new en((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new en((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:xe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(te=>new Q(te)))!=null?R:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[],this.treeQuery=(x=e==null?void 0:e.treeQuery)!=null?x:[]}}wi.Rules=j8,wi.RuntimeRules=q8;class xe extends A{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click","on_tree_search"],xe.controlFieldType=C.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yd extends T{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"tree"}}yd.controlFieldType=C.ARRAY;var fd={Designer:xe,Runtime:yd,Property:wi};class W8 extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ln.call(this,e,He.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class U8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ai extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:He.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pi((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:He.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:fa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:va.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var R;(R=this.multistageFilling)==null||R.push(new Q(I))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}Ai.Rules=W8,Ai.RuntimeRules=U8;class He extends A{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class vd extends T{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"employee2"}}vd.controlFieldType=C.EMPLOYEES;var md={Designer:He,Runtime:vd,Property:Ai};class z8 extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((i,n,u)=>(i[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,c){if(n.type==="public"&&Zi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,a,c){if((n==null?void 0:n.signaturePosition)==="index"&&Zi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,a,c){if(n.type==="public"&&n.signatureType.includes("company")&&Zi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Bu extends w{constructor(e){var i,n,u,l,a,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ti.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new dc(e==null?void 0:e.signatureConfig)}}Bu.Rules=z8;class Ti extends A{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Ti.controlEventKeys=["on_click","on_click_finish"],Ti.controlFieldType=C.VARCHAR,Ti.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class gd extends T{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}gd.controlFieldType=C.VARCHAR;var bd={Designer:Ti,Runtime:gd,Property:Bu};class G8 extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class K8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Si extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Pi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:C8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new hc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Si.Rules=G8,Si.RuntimeRules=K8;class Pi extends A{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Pi.controlEventKeys=["on_change","on_wps_open"],Pi.controlFieldType=C.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Cd extends T{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"wps"}}Cd.controlFieldType=C.FILE;var Ed={Designer:Pi,Runtime:Cd,Property:Si};class Q8 extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Ve.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Z8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ve.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pi((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var x;(x=this.multistageFilling)==null||x.push(new Q(P))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(R=(I=e==null?void 0:e.disabledSelectedFilters)==null?void 0:I.map(P=>P.children!==void 0?new Yi(P):new $t(P)))!=null?R:[]}}Oi.Rules=Q8,Oi.RuntimeRules=Z8;class Ve extends A{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ve.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class _d extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department2"}}_d.controlFieldType=C.DEPARTMENTS;var Id={Designer:Ve,Runtime:_d,Property:Oi};class X8 extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Pt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class J8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends w{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new n7((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Pt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var x;(x=this.multistageFilling)==null||x.push(new Q(P))}))}}ki.Rules=X8,ki.RuntimeRules=J8;class Pt extends A{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Pt.controlFieldType=C.DEPARTMENTS,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Bd extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Bd.controlFieldType=C.DEPARTMENTS;var Dd={Designer:Pt,Runtime:Bd,Property:ki};class Y8 extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class p8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ri extends w{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Ri.Rules=Y8,Ri.RuntimeRules=p8;class xi extends A{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}xi.controlFieldType=C.ANY,xi.controlEventKeys=[],xi.setting=[];class Fd extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}Fd.controlFieldType=C.ANY;var wd={Designer:xi,Runtime:Fd,Property:Ri},eF=Object.freeze({__proto__:null,Input:ns,Checkbox:ls,Cascader:rs,Counter:cs,Radio:ds,Number:ys,Slider:vs,Switch:gs,Tag:Cs,Barcode:_s,QrCode:Bs,DatePicker:Fs,DateRange:As,TimePicker:Ss,TimeRange:Os,Textarea:Rs,RichText:Ms,Select:Ls,SelectMultiple:Hs,Employee:js,Image:Ws,Attachment:qs,Amount:zs,Score:Ks,Address:Zs,Department:Js,AutoNumber:ps,Calc:td,SearchNumberRange:nd,SearchDateRange:ld,VueFormItem:rd,SelectRelation:cd,SearchInput:hd,Tree:fd,Employee2:md,ElectronicSignature:bd,WPS:Ed,Department2:Id,OrganizationSelection:Dd,VuePage:wd});class Ad extends N{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ad.excludes=[F.GRID];class tF extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class iF extends k{constructor(e){super(e)}}var Td={Designer:Ad,Runtime:tF,Property:iF};const nF=24;class je extends k{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:nF,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Mi extends N{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Mi.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Mi.childrenMaxLength=1;class Ma extends ${constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Sd={Designer:Mi,Runtime:Ma,Property:je};class Du extends k{constructor(e){var i,n,u,l,a;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new _7(e==null?void 0:e.padding),this.margin=new E7(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class Fu extends N{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Fu.excludes=[F.ROW],Fu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Pd extends ${constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"row"}}var Od={Designer:Fu,Runtime:Pd,Property:Du};const uF=4;class wu extends Fu{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}wu.excludes=[F.GRID_ROW],wu.setting=[],wu.childrenMaxLength=uF;class lF extends Pd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class aF extends Du{constructor(e){super(e)}}var kd={Designer:wu,Runtime:lF,Property:aF};class rF extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Au extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.captionType=(c=e==null?void 0:e.captionType)!=null?c:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}Au.Rules=rF;class Na extends N{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Na.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:r("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:r("CMD.6a321774579067900")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}],tip:r("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"card",label:r("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:r("CMD.23f71774579023855")},{value:"center",label:r("CMD.ecb71774579037654")},{value:"right",label:r("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:r("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"warning",label:r("CMD.80581774579050943")},{value:"success",label:r("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:r("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:r("CMD.83e11774579028684")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:r("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:r("CMD.16b21774579011405")},{value:"hover",label:r("CMD.cef21774578966959")},{value:"always",label:r("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Na.excludes=[F.CARD_GROUP];class oF extends ${constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Rd={Designer:Na,Runtime:oF,Property:Au};class cF extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:"\u8BF7\u8F93\u5165\u6807\u9898"}}}class Tu extends k{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"\u7A7A\u767D\u5BB9\u5668",this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(u=e==null?void 0:e.captionFontWeight)!=null?u:ke.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(a=e==null?void 0:e.backgroundColor)!=null?a:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Tu.Rules=cF;class La extends N{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u7A7A\u767D\u5BB9\u5668"}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}La.excludes=[],La.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:"\u5C45\u4E2D\u65B9\u5F0F",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"common-switch",visible:!0,name:"showShadow",label:"\u5F00\u542F\u9634\u5F71",default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class sF extends ${constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var xd={Designer:La,Runtime:sF,Property:Tu};class dF extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Su extends k{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new W_(e==null?void 0:e.metaAutoWidth)}}Su.Rules=dF;class he extends N{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}he.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Md extends ${constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Md.controlType="subtable-column";var Nd={Designer:he,Runtime:Md,Property:Su};class $a extends k{constructor(e){super(e)}}class qe extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}}qe.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class hF extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ld={Designer:qe,Runtime:hF,Property:$a};class Ha extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:at.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class We extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}We.controlName=r("CMD.8ba01751712155518"),We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class $d extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}$d.controlType="gridtable-column";var Hd={Designer:We,Runtime:$d,Property:Ha};class Va extends k{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class ja extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ja.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ja.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class yF extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Vd={Designer:ja,Runtime:yF,Property:Va};class qa extends k{constructor(e){var i,n,u,l,a;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(a=e==null?void 0:e.isDelay)!=null?a:!1}}class fF extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Pu extends k{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName}}Pu.Rules=fF;class Ni extends N{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ni.excludes=[F.TAB],Ni.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class vF extends ${constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var jd={Designer:Ni,Runtime:vF,Property:Pu};class Li extends N{constructor(e){var i;super(e),this.props=new qa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ni,new Ni]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Li.excludes=[F.TAB],Li.controlEventKeys=["on_change_tab"],Li.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:r("CMD.4b041774579045624")},{value:"card",label:r("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:r("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:r("CMD.1efb1774579069467")},{value:"bottom",label:r("CMD.24c01774579070698")},{value:"left",label:r("CMD.13f41774579072043")},{value:"right",label:r("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:r("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:r("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class mF extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var qd={Designer:Li,Runtime:mF,Property:qa};class Wd extends k{constructor(e){super(e)}}class Ud extends N{constructor(e){super(e),this.props=new Wd({}),this.children=(e==null?void 0:e.children)||[new Mi({props:new je({span:12})}),new Mi({props:new je({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ud.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class gF extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ma({props:new je({span:12})}),new Ma({props:new je({span:12})})]}}var zd={Designer:Ud,Runtime:gF,Property:Wd};class bF extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class CF extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Sl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class $i extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new Q_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new X_(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new g7(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new b7(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new C7(e==null?void 0:e.masterDetail)}}$i.Rules=CF,$i.RuntimeRules=bF;class Hi extends N{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hi.slotPosition={left:"list-view-left-slot"},Hi.excludes=[F.ROW],Hi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Hi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class EF extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Gd={Designer:Hi,Runtime:EF,Property:$i};class _F extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ou extends k{constructor(e){var i,n,u,l,a,c,s;super(e),this.save=new Fe((i=e==null?void 0:e.save)!=null?i:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Fe((n=e==null?void 0:e.cancel)!=null?n:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Fe((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Fe((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(h=>new Fe(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Ou.RuntimeRules=_F;class Kd extends N{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Kd.excludes=[];class IF extends ${constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Qd={Designer:Kd,Runtime:IF,Property:Ou};class BF extends N{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class DF extends ${static get controlType(){return"page"}constructor(e){super(e)}}class FF extends k{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Zd={Designer:BF,Runtime:DF,Property:FF};class wF extends N{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class AF extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class TF extends k{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bc(e==null?void 0:e.flexConfig)}}var Xd={Designer:wF,Runtime:AF,Property:TF};class SF extends N{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class PF extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class OF extends k{constructor(e){super(e)}}var Jd={Designer:SF,Runtime:PF,Property:OF};class kF extends N{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class RF extends ${static get controlType(){return"position"}constructor(e){super(e)}}class xF extends k{constructor(e){var i,n,u,l;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Yd={Designer:kF,Runtime:RF,Property:xF};class Wa extends k{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ku extends N{constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ku.slotPosition={default:"action-bar-slot"},ku.excludes=[],ku.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class MF extends ${constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var pd={Designer:ku,Runtime:MF,Property:Wa};class Ua extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1,this.step=(c=e==null?void 0:e.step)!=null?c:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new D7(e==null?void 0:e.stepButtons)}}class za extends k{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(c=e==null?void 0:e.status)!=null?c:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Ot extends N{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Ot.excludes=[F.TAB],Ot.setting=[];class NF extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var eh={Designer:Ot,Runtime:NF,Property:za};class Ru extends N{constructor(e){var i;super(e),this.props=new Ua(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ot,new Ot,new Ot]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Ru.excludes=[],Ru.controlEventKeys=["on_change_steps"],Ru.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:r("CMD.924f1774579018766"),default:!1,tip:r("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:r("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:r("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:r("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class LF extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"step"}}var th={Designer:Ru,Runtime:LF,Property:Ua};class Ga extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(a=e==null?void 0:e.colWidth)!=null?a:"12:12",this.isLabelBold=(c=e==null?void 0:e.isLabelBold)!=null?c:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ka extends N{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ka.excludes=[],Ka.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class $F extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var ih={Designer:Ka,Runtime:$F,Property:Ga};class Qa extends k{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Za extends N{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Za.excludes=[F.ROW,F.TABLE_LAYOUT_ROW],Za.setting=[{key:"col-setting",visible:!0}];class HF extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var nh={Designer:Za,Runtime:HF,Property:Qa};const VF=24;class Xa extends k{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:VF,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(a=e==null?void 0:e.layout)!=null?a:"flex",this.flexDirection=(c=e==null?void 0:e.flexDirection)!=null?c:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Ja extends N{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Ja.excludes=[F.COL,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.TABLE_LAYOUT_COL],Ja.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class jF extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var uh={Designer:Ja,Runtime:jF,Property:Xa};class Ya extends k{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class pa extends N{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}pa.excludes=[],pa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class qF extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var lh={Designer:pa,Runtime:qF,Property:Ya};class er extends k{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class tr extends k{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:r("CMD.08411774579056771")}}class Vi extends N{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vi.excludes=[F.TAB],Vi.setting=[];class WF extends ${constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var ah={Designer:Vi,Runtime:WF,Property:tr};class xu extends N{constructor(e){var i;super(e),this.props=new er(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}xu.excludes=[],xu.controlEventKeys=["on_change_collapse"],xu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:r("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:r("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:r("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class UF extends ${constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var rh={Designer:xu,Runtime:UF,Property:er},zF=Object.freeze({__proto__:null,Grid:Td,Col:Sd,Row:Od,GridRow:kd,CardGroup:Rd,BlankContainer:xd,SubTableColumn:Nd,SubTableRow:Ld,GridTableColumn:Hd,GridLayoutContainer:Vd,Tab:qd,TabPane:jd,Toolbox:zd,ListView:Gd,DataView:Qd,Page:Zd,AdvancedContainer:Xd,PositioningContainer:Jd,Position:Yd,ActionBar:pd,Step:th,StepPane:eh,TableLayout:ih,TableLayoutRow:nh,TableLayoutCol:uh,TableLayoutWrapper:lh,Collapse:rh,CollapsePane:ah});class GF extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class KF extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,n,u){n.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const oh=class extends mn{constructor(t,e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,m,I,R,P,x,te,V,le,Ui,_e,Ku,zi,kt,Ie,Mh,Nh,Lh,$h,Hh,Vh;super(t,e,oh.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:qi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:mc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(I=e==null?void 0:e.canImport)!=null?I:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(x=e==null?void 0:e.serverPagination)!=null?x:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Ui=e==null?void 0:e.mobileDefaultNum)!=null?Ui:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new U_,this.fixedColumn=(Ku=e==null?void 0:e.fixedColumn)!=null?Ku:[],this.mobileRowCaption=(zi=e==null?void 0:e.mobileRowCaption)!=null?zi:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(kt=e==null?void 0:e.mobileIsTile)!=null?kt:!1,this.isPaste=(Ie=e==null?void 0:e.isPaste)!=null?Ie:!1,this.pageSize=(Mh=e==null?void 0:e.pageSize)!=null?Mh:10,this.pageSizeOptions=(Nh=e==null?void 0:e.pageSizeOptions)!=null?Nh:[10,20,50,100],this.importConfig=new fc(e==null?void 0:e.importConfig),this.exportConfig=new vc(e==null?void 0:e.exportConfig),this.sortable=(Lh=e==null?void 0:e.sortable)!=null?Lh:!1,this.sortKey=($h=e==null?void 0:e.sortKey)!=null?$h:{},this.showTableIndex=(Hh=e==null?void 0:e.showTableIndex)!=null?Hh:!0,this.triggerEdit=(Vh=e==null?void 0:e.triggerEdit)!=null?Vh:"single"}};let ji=oh;ji.Rules=GF,ji.RuntimeRules=KF;class qi extends ql{constructor(e){var i;super(e),this.props=new ji(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qi.slotPosition={toolbar:"subtable-toolbar-slot"},qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:r("CMD.65531774578985876"),default:"single",options:[{value:"single",label:r("CMD.315e1774579064681")},{value:"double",label:r("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class QF extends Qo{constructor(e){super(e),this.props=new ji(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var ch={Designer:qi,Runtime:QF,Property:ji};class ir extends mn{constructor(e,i){var n,u,l,a,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=i==null?void 0:i.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=i==null?void 0:i.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class ZF extends be{constructor(e){super(e),this.caption.required=!1}}class Mu extends G{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(s=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}Mu.Rules=ZF;class Ue extends X{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=r("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class nr extends J{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}nr.controlType="order-column",nr.controlFieldType=C.DECIMAL;var sh={Designer:Ue,Runtime:nr,Property:Mu};class ur extends G{constructor(e){var i,n,u,l,a,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ce extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Yn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Sr(this,null,function*(){return yield Tr(Ce.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class lr extends J{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=C.FILE;var dh={Designer:Ce,Runtime:lr,Property:ur};const XF=1e4;class ze extends ql{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new ir(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return Ar(lt({},e),{children:i})}validate(e,i){return Sr(this,null,function*(){return yield Tr(ze.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=XF;class JF extends Qo{constructor(e){super(e),this.props=new ir(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var hh={Designer:ze,Runtime:JF,Property:ir},YF=Object.freeze({__proto__:null,SubTable:ch,GridTable:hh});class pF extends Zl{constructor(e){super(e),Pe.call(this,e)}}class Nu extends G{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Nu.Rules=pF;class Ge extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ar extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}ar.controlType="varchar-column",ar.controlFieldType=C.VARCHAR;var yh={Designer:Ge,Runtime:ar,Property:Nu};class ew extends be{constructor(e){super(e),Pe.call(this,e)}}class Lu extends G{constructor(e){var i,n,u,l;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Lu.Rules=ew;class Ke extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Ke.controlType="text-column",Ke.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class rr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}rr.controlType="text-column",rr.controlFieldType=C.TEXT;var fh={Designer:Ke,Runtime:rr,Property:Lu};class tw extends Zl{constructor(e){super(e),Pe.call(this,e)}}class $u extends G{constructor(e){var i,n,u,l,a,c,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}$u.Rules=tw;class Qe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Qe.controlType="decimal-column",Qe.controlName=r("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class or extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}or.controlType="decimal-column",or.controlFieldType=C.DECIMAL;var vh={Designer:Qe,Runtime:or,Property:$u};class iw extends be{constructor(e){super(e),Pe.call(this,e)}}class Hu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Hu.Rules=iw;class Ze extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Ze.controlType="timescope-column",Ze.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}cr.controlType="timescope-column",cr.controlFieldType=C.TIMESCOPE;var mh={Designer:Ze,Runtime:cr,Property:Hu};class nw extends be{constructor(e){super(e),Pe.call(this,e)}}class Vu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Vu.Rules=nw;class Xe extends X{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timestamp-column",Xe.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class sr extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}}sr.controlType="timestamp-column",sr.controlFieldType=C.TIMESTAMP;var gh={Designer:Xe,Runtime:sr,Property:Vu};class uw extends Zl{constructor(e){super(e),Pe.call(this,e)}}class ju extends G{constructor(e){var i,n,u,l;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}ju.Rules=uw;class Je extends X{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=r("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dr extends J{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}dr.controlType="array-column",dr.controlFieldType=C.ARRAY;var bh={Designer:Je,Runtime:dr,Property:ju};class hr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class Ye extends X{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}Ye.controlType="department-column",Ye.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yr extends J{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="department-column",yr.controlFieldType=C.DEPARTMENTS;var Ch={Designer:Ye,Runtime:yr,Property:hr};class lw extends be{constructor(e){super(e),Pe.call(this,e)}}class qu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}qu.Rules=lw;class pe extends X{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fr extends J{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=C.AUTO_NUMBER;var Eh={Designer:pe,Runtime:fr,Property:qu};class vr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=r("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class mr extends J{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}mr.controlType="file-column",mr.controlFieldType=C.FILE;var _h={Designer:et,Runtime:mr,Property:vr};class gr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=r("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=C.IMAGE;var Ih={Designer:tt,Runtime:br,Property:gr};class Cr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName=r("CMD.people",null,"\u4EBA\u5458"),it.controlIcon="people-column",it.controlFieldType=C.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Er extends J{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="people-column",Er.controlFieldType=C.EMPLOYEES;var Bh={Designer:it,Runtime:Er,Property:Cr};class aw extends be{constructor(e){super(e),Pe.call(this,e)}}class Wu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Wu.Rules=aw;class nt extends X{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=r("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _r extends J{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}_r.controlType="location-column",_r.controlFieldType=C.ADDRESS;var Dh={Designer:nt,Runtime:_r,Property:Wu};class rw extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Uu extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ee.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Uu.Rules=rw;const ow=1;class Ee extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=ow,Ee.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Fh extends J{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Fh.controlType="custom-column";var wh={Designer:Ee,Runtime:Fh,Property:Uu};class Ir extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.datasourceBind=new pi((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:Me.controlCustomAttributes})}}class Me extends X{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Me.controlType="employee-column",Me.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Me.controlIcon="employee-column",Me.controlFieldType=C.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Br extends J{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}Br.controlType="employee-column",Br.controlFieldType=C.EMPLOYEES;var Ah={Designer:Me,Runtime:Br,Property:Ir};class Dr extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Th extends J{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Th.controlType="approval-status-column";var Sh={Designer:ut,Runtime:Th,Property:Dr};class Fr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class Wi extends X{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}Wi.controlType="group-column",Wi.controlName=r("CMD.43541769566517351"),Wi.controlIcon="group-column",Wi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ph extends J{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ph.controlType="group-column";var Oh={Designer:Wi,Runtime:Ph,Property:Fr},cw=Object.freeze({__proto__:null,VarcharColumn:yh,TextColumn:fh,DecimalColumn:vh,TimescopeColumn:mh,TimestampColumn:gh,ArrayColumn:bh,DepartmentColumn:Ch,AutoNumberColumn:Eh,FileColumn:_h,ImageColumn:Ih,PeopleColumn:Bh,LocationColumn:Dh,CustomColumn:wh,OrderColumn:sh,OperationColumn:dh,EmployeeColumn:Ah,ApprovalStatusColumn:Sh,GroupColumn:Oh});class sw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zu extends ea{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Fe((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Fe(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}zu.RuntimeRules=sw;class Gu extends CB{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Gu.controlType="simple-search",Gu.slotPosition={default:"search"},Gu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class kh extends wB{constructor(e){var i;super(e),this.props=new zu(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}kh.controlType="simple-search";var Rh={Designer:Gu,Runtime:kh,Property:zu},dw=Object.freeze({__proto__:null,SimpleSearch:Rh});class wr extends ua{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class hw extends HB{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class yw extends GB{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function Bw(t){return t}var fw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},xh={Designer:hw,Runtime:yw,Property:wr,Setting:fw},vw=Object.freeze({__proto__:null,GridLayoutWrap:xh});v.ActionBar=pd,v.ActionSetting=ha,v.Address=Zs,v.AdvancedContainer=Xd,v.Amount=zs,v.ApprovalStatusColumn=Sh,v.ArrayColumn=bh,v.AssignType=Re,v.Attachment=qs,v.AutoNumber=ps,v.AutoNumberColumn=Eh,v.BarChart=qc,v.Barcode=_s,v.BatchDeleteButton=Yc,v.BatchPrintListButton=Zc,v.BatchPrintRecordListButton=Xc,v.BatchSubmissionListButton=Pc,v.BlankContainer=xd,v.Button=Fc,v.Calc=td,v.CardGroup=Rd,v.Cascader=rs,v.Checkbox=ls,v.Col=Sd,v.Collapse=rh,v.CollapsePane=ah,v.CommentControl=ts,v.Counter=cs,v.CreateFormListButton=Sc,v.CustomColumn=wh,v.DATE_CONFIG_TYPE=cc,v.DATE_LIMIT_TYPE=sc,v.Dashboard=jc,v.DataView=Qd,v.DatePicker=Fs,v.DateRange=As,v.DecimalColumn=vh,v.Department=Js,v.Department2=Id,v.DepartmentColumn=Ch,v.DepartmentType=On,v.Divider=Ac,v.ElectronicSignature=bd,v.ElectronicSignatureConfig=dc,v.Employee=js,v.Employee2=md,v.EmployeeColumn=Ah,v.EncryptTypeEnum=Cc,v.Explain=Pn,v.ExportConfig=vc,v.ExportListButton=kc,v.ExportRecordListButton=Rc,v.ExportTemplate=Wt,v.FONT_WEIGHT=ke,v.FileColumn=_h,v.FlexStyleConfig=bc,v.FormSelectButton=Nc,v.Grid=Td,v.GridLayoutContainer=Vd,v.GridLayoutWrap=xh,v.GridRow=kd,v.GridTable=hh,v.GridTableColumn=Hd,v.GroupColumn=Oh,v.Iframe=Dc,v.Image=Ws,v.ImageColumn=Ih,v.ImageCompressType=ma,v.ImportConfig=fc,v.ImportListBind=yc,v.ImportRecordListButton=xc,v.Input=ns,v.InternalType=va,v.InvoiceCheckButton=Qc,v.LINE_STYLE=ca,v.LimitDate=Sn,v.LimitTime=ra,v.LineChart=Wc,v.Link=Ic,v.ListHeightSetting=ya,v.ListSelectButton=Lc,v.ListView=Gd,v.ListViewSelect=Gc,v.LocationColumn=Dh,v.Number=ys,v.OperationButton=Jc,v.OperationColumn=dh,v.OrderColumn=sh,v.OrganizationSelection=Dd,v.OrganizeType=fa,v.Page=Zd,v.Pagination=Hc,v.PeopleColumn=Bh,v.PieChart=Uc,v.Position=Yd,v.PositioningContainer=Jd,v.PrintTemplate=gc,v.QrCode=Bs,v.Radio=ds,v.ReferenceList=pc,v.RichText=Ms,v.Row=Od,v.SCORE_TYPE=oa,v.SUBTABLE_DEFAULT_MAX_HEIGHT=mc,v.Score=Ks,v.SearchDateRange=ld,v.SearchInput=hd,v.SearchNumberRange=nd,v.Select=Ls,v.SelectMultiple=Hs,v.SelectRelation=cd,v.SimpleSearch=Rh,v.Slider=vs,v.Step=th,v.StepPane=eh,v.SubTable=ch,v.SubTableColumn=Nd,v.SubTableRow=Ld,v.SubmissionRecordListButton=Oc,v.Switch=gs,v.Tab=qd,v.TabPane=jd,v.TableLayout=ih,v.TableLayoutCol=uh,v.TableLayoutRow=nh,v.TableLayoutWrapper=lh,v.Tag=Cs,v.Text=_c,v.TextColumn=fh,v.TextOcrButton=Kc,v.Textarea=Rs,v.TimePicker=Ss,v.TimeRange=Os,v.TimescopeColumn=mh,v.TimestampColumn=gh,v.Title=Tc,v.TitleConfigEnum=Oe,v.Toolbox=zd,v.Tree=fd,v.UndersignedPerson=sa,v.VarcharColumn=yh,v.VueFormItem=rd,v.VuePage=wd,v.WPS=Ed,v.WPSSetting=hc,v.WpsOperationItem=da,v.baseControls=WD,v.columnControls=cw,v.formControls=eF,v.initExpression=Ut,v.layoutControls=zF,v.listControls=YF,v.searchControls=dw,v.wrapControls=vw,Object.defineProperty(v,"__esModule",{value:!0})});
|
|
1
|
+
var C8=Object.defineProperty,_8=Object.defineProperties;var E8=Object.getOwnPropertyDescriptors;var qh=Object.getOwnPropertySymbols,I8=Object.getPrototypeOf,D8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,w8=Reflect.get;var Wh=(v,l,K)=>l in v?C8(v,l,{enumerable:!0,configurable:!0,writable:!0,value:K}):v[l]=K,lt=(v,l)=>{for(var K in l||(l={}))D8.call(l,K)&&Wh(v,K,l[K]);if(qh)for(var K of qh(l))B8.call(l,K)&&Wh(v,K,l[K]);return v},Tr=(v,l)=>_8(v,E8(l));var Fr=(v,l,K)=>w8(I8(v),K,l);var Sr=(v,l,K)=>new Promise((Qu,Gi)=>{var Zu=me=>{try{Rt(K.next(me))}catch(Mt){Gi(Mt)}},Xu=me=>{try{Rt(K.throw(me))}catch(Mt){Gi(Mt)}},Rt=me=>me.done?Qu(me.value):Promise.resolve(me.value).then(Zu,Xu);Rt((K=K.apply(v,l)).next())});(function(v,l){typeof exports=="object"&&typeof module!="undefined"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(v=typeof globalThis!="undefined"?globalThis:v||self,l(v.modelDrivenControls={}))})(this,function(v){"use strict";const l=(t,e,i)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,d)=>{d===0?u=a[c]:u&&(u=u[c])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(c=>{const d=e[c];r=r.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),d)}),r||(i?r=i:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Qu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Zu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Mt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",jh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Uh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",zh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Gh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Kh="\u8BF7\u7ED1\u5B9A\u5217\u8868",Qh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Zh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Jh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ph="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ey="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ty="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",iy="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ny="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",uy="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ly="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ay="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ry="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",oy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",cy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",sy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",dy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",hy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",yy="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",vy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",my="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",gy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",by="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Cy="\u8BF7\u9009\u62E9\u7701",_y="\u8BF7\u9009\u62E9\u5E02",Ey="\u8BF7\u9009\u62E9\u533A",Iy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Dy="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",By="\u8BF7\u8F93\u5165\u5217\u5BBD",wy="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ay="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ty="\u8BF7\u9009\u62E9\u63A7\u4EF6",Fy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Sy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Py="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Oy="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ky="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ry="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",My="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ny="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ly="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Hy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Wy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",jy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Uy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Gy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ky="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Zy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Xy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Jy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Yy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",py="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ev="\u6279\u91CF\u5220\u9664",tv="\u6279\u91CF\u6253\u5370",iv="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",nv="\u6309\u94AE",uv="\u521B\u5EFA\u5355\u636E",lv="\u4EEA\u8868\u76D8",av="\u5206\u5272\u7EBF",rv="\u5BFC\u51FA",ov="\u8868\u5355\u64CD\u4F5C",cv="\u5BFC\u5165",sv="\u53D1\u7968\u8BC6\u522B",dv="\u94FE\u63A5",hv="\u5217\u8868\u9009\u62E9",yv="\u5217\u8868\u89C6\u56FE",vv="\u64CD\u4F5C\u6309\u94AE",mv="\u5206\u9875",fv="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",gv="\u8BF4\u660E\u6587\u5B57",bv="\u6587\u5B57\u8BC6\u522B",Cv="\u6807\u9898\u7EC4\u4EF6",_v="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ev="\u6570\u7EC4",Iv="\u81EA\u52A8\u7F16\u53F7",Dv="\u81EA\u5B9A\u4E49",Bv="\u6570\u503C",wv="\u90E8\u95E8",Av="\u4EBA\u5458",Tv="\u9644\u4EF6",Fv="\u56FE\u7247",Sv="\u5730\u5740",Pv="\u64CD\u4F5C",Ov="\u5E8F\u53F7",kv="\u4EBA\u5458",Rv="\u957F\u6587\u672C",Mv="\u65E5\u671F\u533A\u95F4",xv="\u65E5\u671F",Nv="\u77ED\u6587\u672C",Lv="\u6362\u884C\u5BB9\u5668Wrap",$v="\u8868\u683C",Hv="\u660E\u7EC6\u5B50\u8868",Vv="\u5730\u5740",qv="\u91D1\u989D",Wv="\u8BA1\u7B97\u516C\u5F0F",jv="\u591A\u9009",Uv="\u7535\u5B50\u7B7E\u7AE0",zv="\u5355\u884C\u6587\u672C",Gv="\u6570\u5B57",Kv="\u4E1A\u52A1\u7EC4\u7EC7",Qv="\u5355\u9009",Zv="\u5BCC\u6587\u672C",Xv="\u8BC4\u5206",Jv="\u6570\u5B57\u533A\u95F4",Yv="\u4E0B\u62C9\u5355\u9009",pv="\u4E0B\u62C9\u591A\u9009",em="\u5173\u8054\u5355\u9009",tm="\u591A\u884C\u6587\u672C",im="\u6811",nm="Vue\u5BB9\u5668",um="Vue\u9875\u9762",lm="\u5728\u7EBF\u6587\u6863",am="\u6309\u94AE\u64CD\u4F5C\u680F",rm="\u9AD8\u7EA7\u5BB9\u5668",om="\u5206\u7EC4",cm="\u6805\u683C\u5217",sm="\u6570\u636E\u5BB9\u5668",dm="\u753B\u5E03",hm="\u6362\u884C\u5BB9\u5668",ym="\u6805\u683C\u7B49\u5206\u884C",vm="\u5217\u8868\u5BB9\u5668",mm="\u81EA\u7531\u9875\u9762",fm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",gm="\u5B9A\u4F4D\u5BB9\u5668",bm="\u6805\u683C\u5E03\u5C40",Cm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_m="\u660E\u7EC6\u5B50\u8868\u884C",Em="\u6807\u7B7E\u9875",Im="\u6807\u7B7E\u5355\u5143",Dm="\u5DE5\u5177\u680F",Bm="\u6279\u91CF\u63D0\u4EA4",wm="\u5BFC\u51FA\u8BB0\u5F55",Am="\u5217\u8868\u89C6\u56FE",Tm="\u7ED3\u675F\u65F6\u95F4",Fm="\u5F00\u59CB\u65F6\u95F4",Sm="\u5355\u4F4D",Pm="\u7ED3\u679C",Om="\u5E01\u79CD",km="\u7ED3\u675F\u65E5\u671F",Rm="\u5F00\u59CB\u65E5\u671F",Mm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",xm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Nm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Lm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",$m="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Hm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Vm="\u8BF7\u9009\u62E9",qm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Wm="\u8BF7\u9009\u62E9\u90E8\u95E8",jm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Um="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",zm="\u8BF7\u9009\u62E9\u5730\u5740",Gm="\u5F39\u7A97\u786E\u8BA4\u65F6",Km="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Qm="\u884C\u9009\u4E2D\u65F6",Zm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Xm="\u884C\u5220\u9664\u524D",Jm="\u884C\u70B9\u51FB\u65F6",Ym="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",pm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",ef="\u91CD\u547D\u540D\u65F6",tf="\u4FDD\u5B58\u6587\u4EF6\u65F6",nf="\u6253\u5F00\u6587\u4EF6\u65F6",uf="\u83B7\u53D6\u7126\u70B9\u65F6",lf="\u5931\u53BB\u7126\u70B9\u65F6",af="\u7528\u6237\u8F93\u5165\u65F6",rf="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",of="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",cf="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",sf="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",df="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",hf="\u641C\u7D22\u65F6",yf="\u503C\u53D1\u751F\u53D8\u5316\u65F6",vf="\u6267\u884C\u5B8C\u6210\u65F6",mf="\u70B9\u51FB\u65F6",ff="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",gf="\u8BF7\u8F93\u5165\u65E5\u671F",bf="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Cf="\u8BF7\u8F93\u5165",_f="\u9ED8\u8BA4\u6A21\u7248",Ef="\u5DE6\u53F3\u5E03\u5C40",If="\u4E0A\u4E0B\u5E03\u5C40",Df="\u53EA\u8BFB",Bf="\u5FC5\u586B",wf="\u63D0\u793A\u6587\u5B57",Af="\u9690\u85CF\u6807\u9898",Tf="\u6807\u9898\u5FC5\u586B",Ff="\u7EC4\u7EC7\u5F62\u6001",Sf="\u4E1A\u52A1\u7C7B\u578B",Pf="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Of="\u9690\u85CF",kf="\u6D41\u7A0B\u72B6\u6001",Rf="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Mf="\u5220\u9664",xf="\u7F16\u8F91",Nf="\u67E5\u770B",Lf="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",$f="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Hf="\u5145\u6EE1\u6574\u884C",Vf="\u6700\u5C0F\u503C",qf="\u6700\u5927\u503C",Wf="\u65B0\u5EFA\u6587\u6863",jf="\u91CD\u7F6E",Uf="\u67E5\u8BE2",zf="\u660E\u7EC6",Gf="\u6253\u5370",Kf="\u4FDD\u5B58\u8349\u7A3F",Qf="\u4FDD\u5B58",Zf="\u53D6\u6D88",Xf="\u4E0A\u4F20\u56FE\u7247",Jf="\u53D1\u8D77\u7B7E\u7F72",Yf="\u4E0A\u4F20\u9644\u4EF6",pf="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",e0="\u5F15\u7528\u5217\u8868",t0="\u9009\u9879\u4E00",i0="\u9009\u9879\u4E8C",n0="\u9009\u9879\u4E09",u0={isNotNumber:K,isNotString:Qu,isNotObject:Gi,isNotArray:Zu,isNotBoolean:Xu,runtimeRequired:Rt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Mt,pleaseEnterRowCaption:jh,pleaseEnterPlaceholder:Uh,pleaseEnterFieldCode:zh,pleaseEnterForm:Gh,pleaseEnterList:Kh,pleaseEnterProcess:Qh,pleaseEnterLabel:Zh,pleaseEnterValue:Xh,bizKeyNotBindFiled:Jh,pleaseSelectOneField:Yh,pleaseEnterNumberRange:ph,pleaseEnterAValueGreaterThanMin:ey,pleaseEnterAValueLessThanMax:ty,numberRangeSetError:iy,stringRangeError:ny,attachmentMaxSize:uy,pleaseEnterTotalScoreSetting:ly,theTotalScoreMustNotBeLessThan1:ay,scoreDefaultValueRange:ry,attachmentLimitError:oy,PleaseReselectTheOptionalQuantity:cy,TheMaximumLengthIsGreaterThanTheMinimumLength:sy,TheMinimumLengthIsGreaterThanTheMaximumLength:dy,PleaseSelectTheCorrectOptionSettings:hy,optionIdIsRepeat:yy,optionIsRequired:vy,pleaseEnterDataCode:my,pleaseEnterValueFieldCode:fy,pleaseEnterSvcCode:gy,pleaseBindAtLeastOneDisplayValue:by,pleaseSelectProvince:Cy,pleaseSelectCity:_y,pleaseSelectDistrict:Ey,limitRowsCannotBeLessThan0:Iy,TheNumberOfRowsCannotBeLessThanMinRows:Dy,pleaseEnterColumnWidth:By,pleaseSetTheLogicalRelationshipOfAllRuleConditions:wy,pleaseCompleteAllRulesAndConditions:Ay,pleaseSelectControl:Ty,pleaseSelectAtLeastOneColumn:Fy,pleaseSelectFillBackMode:Sy,pleaseSelectDashboard:Py,rootNodeIsRequired:Oy,theViewNameCannotBeEmpty:ky,pleaseSelectOcrType:Ry,pleaseSelectAtLeastOneFieldToFillIn:My,pleaseChooseAtLeastOne:xy,pleaseEnterButtonContent:Ny,pleaseEnterDataCodeInDataSetting:Ly,pleaseEnterValueFieldCodeInDataSetting:$y,pleaseEnterSvcCodeInDataSetting:Hy,pleaseBindAtLeastOneDisplayValueInDataSetting:Vy,rootNodeIsRequiredInDataSetting:qy,pleaseEnterMaxHeight:Wy,pleaseEnterWatermark:jy,pleaseEnterFileName:Uy,pleaseUploadAtLeastOnePrintTemplate:zy,pleaseAssignBusiness:Gy,pleaseAssignExternal:Ky,pleaseEnterAliasCode:Qy,pleaseSelectDataCode:Zy,pleaseSelectSvcCode:Xy,pleaseSelectJoinFieldCode:Jy,pleaseSelectMainFieldCode:Yy,pleaseSelectSortFieldCode:py,batchDeleteButton:ev,batchPrintListButton:tv,batchPrintRecordList:iv,button:nv,createFormListButton:uv,dashboard:lv,divider:av,exportListButton:rv,formSelectButton:ov,importRecordListButton:cv,invoiceCheckButton:sv,link:dv,listSelectButton:hv,ListViewSelect:yv,operationButton:vv,pagination:mv,submissionRecordListButton:fv,text:gv,textOcrButton:bv,title:Cv,approvalStatusColumn:_v,array:Ev,autoNumber:Iv,custom:Dv,decimal:Bv,department:wv,employee:Av,file:Tv,image:Fv,location:Sv,operation:Pv,order:Ov,people:kv,long:Rv,timescope:Mv,timestamp:xv,varchar:Nv,gridLayoutWrap:Lv,gridTable:$v,subTable:Hv,address:Vv,amount:qv,calc:Wv,checkBox:jv,electronicSignature:Uv,input:zv,number:Gv,organizationSelection:Kv,radio:Qv,richText:Zv,score:Xv,searchNumberRange:Jv,select:Yv,selectMultiple:pv,selectRelation:em,textarea:tm,tree:im,vueFormItem:nm,vuePage:um,WPS:lm,actionBar:am,advancedContainer:rm,cardGroup:om,col:cm,dataView:sm,grid:dm,gridLayoutContainer:hm,gridRow:ym,listView:vm,page:mm,position:fm,positioningContainer:gm,row:bm,subtableColumn:Cm,subtableRow:_m,tab:Em,tabPane:Im,toolbox:Dm,batchSubmissionListButton:Bm,exportRecordListButton:wm,listViewSelect:Am,endTime:Tm,startTime:Fm,unit:Sm,result:Pm,currency:Om,endDate:km,startDate:Rm,pleaseSelectCompanyName:Mm,pleaseSelectPhoneOrEmail:xm,pleaseSelectSignType:Nm,pleaseSelectSigner:Lm,pleaseSelectOnlyOne:$m,pleaseSelectSignFile:Hm,pleaseSelect:Vm,pleaseSelectOrg:qm,pleaseSelectDept:Wm,pleaseSelectEndDate:jm,pleaseSelectStartDate:Um,pleaseChooseAddress:zm,modalConfirm:Gm,tabChange:Km,rowSelected:Qm,listDataImport:Zm,rowDelete:Xm,rowClick:Jm,cellRender:Ym,onClickBtn:pm,rename:ef,onSaveFile:tf,onOpenFile:nf,onFocus:uf,onBlur:lf,onInput:af,listDataAdd:rf,listDataDelete:of,listDataBack:cf,listDataCreate:sf,listDataChange:df,search:hf,valueChange:yf,finished:vf,click:mf,pleaseEnterNameorEmail:ff,pleaseEnterDate:gf,pleaseEnterAutonumber:bf,pleaseEnter:Cf,defaultTemplate:_f,left:Ef,top:If,default:"\u666E\u901A",readonly:Df,required:Bf,textTip:wf,hideCaption:Af,titleRequired:Tf,organizationalForm:Ff,businessType:Sf,deleteConfirm:Pf,hide:Of,processStatus:kf,approvedDocuments:Rf,delete:Mf,edit:xf,view:Nf,loadCtrlErrorTip:Lf,loadCtrlError:$f,fullLine:Hf,min:Vf,max:qf,createWPS:Wf,reset:jf,query:Uf,detailed:zf,print:Gf,draft:Kf,save:Qf,cancel:Zf,uploadImg:Xf,signature:Jf,uploadFile:Yf,linkContent:pf,referenceList:e0,optionOne:t0,optionTwo:i0,optionThird:n0},l0="Please enter a number",a0="Please enter a string",r0="Please enter an object",o0="Please enter an array",c0="Please enter a boolean",s0="{caption} Required",d0="Please enter the title",h0="Please enter the bubble prompt",y0="Please enter the row title",v0="Please enter the prompt text",m0="Please bind data items",f0="Please bind the form",g0="Please bind the list",b0="Please bind the process",C0="Please enter the displayed value",_0="Please enter the stored value",E0="The document number is not bound to the data item",I0="Please select at least one display field",D0="Please enter a value greater than or equal to {min} and less than or equal to {max}",B0="Please enter a value greater than or equal to {min}",w0="Please enter a value less than or equal to {max}",A0="The value range is set incorrectly",T0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",F0="The attachment size must be between 0MB and 1000MB",S0="Please fill in the total score setting",P0="The total score cannot be less than 1",O0="The default value must be between {min} and {max}",k0="The number of attachment uploads exceeds the limit",R0="Please re-select the optional quantity",M0="The maximum length of the control must be greater than the minimum length",x0="The minimum length of the control must be less than the maximum length",N0="Please select the correct option setting",L0="Option ID cannot be repeated",$0="Please enter at least one option",H0="Please bind the data source",V0="Please bind the stored value",q0="Please bind the service",W0="At least one display value must be bound",j0="Please select a province",U0="Please select a city",z0="Please select a district",G0="The minimum number of lines to fill in cannot be less than 0",K0="The number of rows cannot be less than {min} rows",Q0="Please enter the column width",Z0="Please set the logical relationship of all rule conditions",X0="Please complete all rules and conditions",J0="please select control",Y0="Please select the dashboard",p0="View name cannot be empty",eg="Please select recognition type",tg="Please select at least one field to fill in",ig="Please select at least one",ng="Please enter the button title",ug="Please bind the business model in the data settings",lg="Please bind storage values in data settings",ag="Please bind the service in the data settings",rg="Please bind at least one display value in the data settings",og="Please select the root node in the data settings",cg="Please enter the maximum height",sg="The input content cannot be empty",dg="Watermark cannot be empty",hg="File name cannot be empty",yg="Please upload at least one printing template!\uFF01",vg="Please select a specific business department",mg="Please select a specified external organization",fg="Please enter a sub table alias",gg="Please select the associated table to set the business model",bg="Please select the association table to set the binding service",Cg="Select associated sub table fields",_g="Please select the associated main table field",Eg="Please select the sort field",Ig="\u6279\u91CF\u5220\u9664",Dg="\u6279\u91CF\u6253\u5370",Bg="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wg="\u6309\u94AE",Ag="\u521B\u5EFA\u5355\u636E",Tg="\u4EEA\u8868\u76D8",Fg="\u5206\u5272\u7EBF",Sg="\u5BFC\u51FA",Pg="\u8868\u5355\u64CD\u4F5C",Og="\u5BFC\u5165",kg="\u53D1\u7968\u8BC6\u522B",Rg="\u94FE\u63A5",Mg="\u5217\u8868\u9009\u62E9",xg="\u5217\u8868\u89C6\u56FE",Ng="\u64CD\u4F5C\u6309\u94AE",Lg="\u5206\u9875",$g="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Hg="\u8BF4\u660E\u6587\u5B57",Vg="\u6587\u5B57\u8BC6\u522B",qg="\u6807\u9898\u7EC4\u4EF6",Wg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",jg="\u6570\u7EC4",Ug="\u81EA\u52A8\u7F16\u53F7",zg="\u81EA\u5B9A\u4E49",Gg="\u6570\u503C",Kg="\u90E8\u95E8",Qg="\u4EBA\u5458",Zg="\u9644\u4EF6",Xg="\u56FE\u7247",Jg="\u5730\u5740",Yg="\u64CD\u4F5C",pg="\u5E8F\u53F7",eb="\u4EBA\u5458",tb="\u957F\u6587\u672C",ib="\u65E5\u671F\u533A\u95F4",nb="\u65E5\u671F",ub="\u77ED\u6587\u672C",lb="\u6362\u884C\u5BB9\u5668Wrap",ab="\u8868\u683C",rb="\u660E\u7EC6\u5B50\u8868",ob="\u5730\u5740",cb="\u91D1\u989D",sb="\u8BA1\u7B97\u516C\u5F0F",db="\u591A\u9009",hb="\u7535\u5B50\u7B7E\u7AE0",yb="\u5355\u884C\u6587\u672C",vb="\u6570\u5B57",mb="\u4E1A\u52A1\u7EC4\u7EC7",fb="\u5355\u9009",gb="\u5BCC\u6587\u672C",bb="\u8BC4\u5206",Cb="\u6570\u5B57\u533A\u95F4",_b="\u4E0B\u62C9\u5355\u9009",Eb="\u4E0B\u62C9\u591A\u9009",Ib="\u5173\u8054\u5355\u9009",Db="\u591A\u884C\u6587\u672C",Bb="\u6811",wb="Vue\u5BB9\u5668",Ab="Vue\u9875\u9762",Tb="\u5728\u7EBF\u6587\u6863",Fb="\u6309\u94AE\u64CD\u4F5C\u680F",Sb="\u9AD8\u7EA7\u5BB9\u5668",Pb="\u5206\u7EC4",Ob="\u6805\u683C\u5217",kb="\u6570\u636E\u5BB9\u5668",Rb="\u753B\u5E03",Mb="\u6362\u884C\u5BB9\u5668",xb="\u6805\u683C\u7B49\u5206\u884C",Nb="\u5217\u8868\u5BB9\u5668",Lb="\u81EA\u7531\u9875\u9762",$b="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Hb="\u5B9A\u4F4D\u5BB9\u5668",Vb="\u6805\u683C\u5E03\u5C40",qb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Wb="\u660E\u7EC6\u5B50\u8868\u884C",jb="\u6807\u7B7E\u9875",Ub="\u6807\u7B7E\u5355\u5143",zb="\u5DE5\u5177\u680F",Gb="\u6279\u91CF\u63D0\u4EA4",Kb="\u5BFC\u51FA\u8BB0\u5F55",Qb="\u5217\u8868\u89C6\u56FE",Zb="\u5F15\u7528\u5217\u8868",Xb="\u9009\u9879\u4E00",Jb="\u9009\u9879\u4E8C",Yb="\u9009\u9879\u4E09",pb={isNotNumber:l0,isNotString:a0,isNotObject:r0,isNotArray:o0,isNotBoolean:c0,runtimeRequired:s0,pleaseEnterCaption:d0,pleaseEnterCaptionTip:h0,pleaseEnterRowCaption:y0,pleaseEnterPlaceholder:v0,pleaseEnterFieldCode:m0,pleaseEnterForm:f0,pleaseEnterList:g0,pleaseEnterProcess:b0,pleaseEnterLabel:C0,pleaseEnterValue:_0,bizKeyNotBindFiled:E0,pleaseSelectOneField:I0,pleaseEnterNumberRange:D0,pleaseEnterAValueGreaterThanMin:B0,pleaseEnterAValueLessThanMax:w0,numberRangeSetError:A0,stringRangeError:T0,attachmentMaxSize:F0,pleaseEnterTotalScoreSetting:S0,theTotalScoreMustNotBeLessThan1:P0,scoreDefaultValueRange:O0,attachmentLimitError:k0,PleaseReselectTheOptionalQuantity:R0,TheMaximumLengthIsGreaterThanTheMinimumLength:M0,TheMinimumLengthIsGreaterThanTheMaximumLength:x0,PleaseSelectTheCorrectOptionSettings:N0,optionIdIsRepeat:L0,optionIsRequired:$0,pleaseEnterDataCode:H0,pleaseEnterValueFieldCode:V0,pleaseEnterSvcCode:q0,pleaseBindAtLeastOneDisplayValue:W0,pleaseSelectProvince:j0,pleaseSelectCity:U0,pleaseSelectDistrict:z0,limitRowsCannotBeLessThan0:G0,TheNumberOfRowsCannotBeLessThanMinRows:K0,pleaseEnterColumnWidth:Q0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Z0,pleaseCompleteAllRulesAndConditions:X0,pleaseSelectControl:J0,pleaseSelectDashboard:Y0,theViewNameCannotBeEmpty:p0,pleaseSelectOcrType:eg,pleaseSelectAtLeastOneFieldToFillIn:tg,pleaseChooseAtLeastOne:ig,pleaseEnterButtonContent:ng,pleaseEnterDataCodeInDataSetting:ug,pleaseEnterValueFieldCodeInDataSetting:lg,pleaseEnterSvcCodeInDataSetting:ag,pleaseBindAtLeastOneDisplayValueInDataSetting:rg,rootNodeIsRequiredInDataSetting:og,pleaseEnterMaxHeight:cg,pleaseEnter:sg,pleaseEnterWatermark:dg,pleaseEnterFileName:hg,pleaseUploadAtLeastOnePrintTemplate:yg,pleaseAssignBusiness:vg,pleaseAssignExternal:mg,pleaseEnterAliasCode:fg,pleaseSelectDataCode:gg,pleaseSelectSvcCode:bg,pleaseSelectJoinFieldCode:Cg,pleaseSelectMainFieldCode:_g,pleaseSelectSortFieldCode:Eg,batchDeleteButton:Ig,batchPrintListButton:Dg,batchPrintRecordList:Bg,button:wg,createFormListButton:Ag,dashboard:Tg,divider:Fg,exportListButton:Sg,formSelectButton:Pg,importRecordListButton:Og,invoiceCheckButton:kg,link:Rg,listSelectButton:Mg,ListViewSelect:xg,operationButton:Ng,pagination:Lg,submissionRecordListButton:$g,text:Hg,textOcrButton:Vg,title:qg,approvalStatusColumn:Wg,array:jg,autoNumber:Ug,custom:zg,decimal:Gg,department:Kg,employee:Qg,file:Zg,image:Xg,location:Jg,operation:Yg,order:pg,people:eb,long:tb,timescope:ib,timestamp:nb,varchar:ub,gridLayoutWrap:lb,gridTable:ab,subTable:rb,address:ob,amount:cb,calc:sb,checkBox:db,electronicSignature:hb,input:yb,number:vb,organizationSelection:mb,radio:fb,richText:gb,score:bb,searchNumberRange:Cb,select:_b,selectMultiple:Eb,selectRelation:Ib,textarea:Db,tree:Bb,vueFormItem:wb,vuePage:Ab,WPS:Tb,actionBar:Fb,advancedContainer:Sb,cardGroup:Pb,col:Ob,dataView:kb,grid:Rb,gridLayoutContainer:Mb,gridRow:xb,listView:Nb,page:Lb,position:$b,positioningContainer:Hb,row:Vb,subtableColumn:qb,subtableRow:Wb,tab:jb,tabPane:Ub,toolbox:zb,batchSubmissionListButton:Gb,exportRecordListButton:Kb,listViewSelect:Qb,referenceList:Zb,optionOne:Xb,optionTwo:Jb,optionThird:Yb},eC="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="{caption}\u5FC5\u9808",aC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",gC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_C="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",IC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",TC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",FC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="\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",PC="\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",OC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",MC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",NC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$C="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",HC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",WC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",jC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",GC="please select control",KC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ZC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XC="\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",JC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",e5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",t5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",i5="\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",n5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",u5="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l5="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",a5="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",r5="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",o5="\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",c5="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",s5="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",d5="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",h5="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",y5="\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",v5="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",m5="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",f5="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",g5="\u6279\u91CF\u5220\u9664",b5="\u6279\u91CF\u6253\u5370",C5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_5="\u6309\u94AE",E5="\u521B\u5EFA\u5355\u636E",I5="\u4EEA\u8868\u76D8",D5="\u5206\u5272\u7EBF",B5="\u5BFC\u51FA",w5="\u8868\u5355\u64CD\u4F5C",A5="\u5BFC\u5165",T5="\u53D1\u7968\u8BC6\u522B",F5="\u94FE\u63A5",S5="\u5217\u8868\u9009\u62E9",P5="\u5217\u8868\u89C6\u56FE",O5="\u64CD\u4F5C\u6309\u94AE",k5="\u5206\u9875",R5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",M5="\u8BF4\u660E\u6587\u5B57",x5="\u6587\u5B57\u8BC6\u522B",N5="\u6807\u9898\u7EC4\u4EF6",L5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",$5="\u6570\u7EC4",H5="\u81EA\u52A8\u7F16\u53F7",V5="\u81EA\u5B9A\u4E49",q5="\u6570\u503C",W5="\u90E8\u95E8",j5="\u4EBA\u5458",U5="\u9644\u4EF6",z5="\u56FE\u7247",G5="\u5730\u5740",K5="\u64CD\u4F5C",Q5="\u5E8F\u53F7",Z5="\u4EBA\u5458",X5="\u957F\u6587\u672C",J5="\u65E5\u671F\u533A\u95F4",Y5="\u65E5\u671F",p5="\u77ED\u6587\u672C",e7="\u6362\u884C\u5BB9\u5668Wrap",t7="\u8868\u683C",i7="\u660E\u7EC6\u5B50\u8868",n7="\u5730\u5740",u7="\u91D1\u989D",l7="\u8BA1\u7B97\u516C\u5F0F",a7="\u591A\u9009",r7="\u7535\u5B50\u7B7E\u7AE0",o7="\u5355\u884C\u6587\u672C",c7="\u6570\u5B57",s7="\u4E1A\u52A1\u7EC4\u7EC7",d7="\u5355\u9009",h7="\u5BCC\u6587\u672C",y7="\u8BC4\u5206",v7="\u6570\u5B57\u533A\u95F4",m7="\u4E0B\u62C9\u5355\u9009",f7="\u4E0B\u62C9\u591A\u9009",g7="\u5173\u8054\u5355\u9009",b7="\u591A\u884C\u6587\u672C",C7="\u6811",_7="Vue\u5BB9\u5668",E7="Vue\u9875\u9762",I7="\u5728\u7EBF\u6587\u6863",D7="\u6309\u94AE\u64CD\u4F5C\u680F",B7="\u9AD8\u7EA7\u5BB9\u5668",w7="\u5206\u7EC4",A7="\u6805\u683C\u5217",T7="\u6570\u636E\u5BB9\u5668",F7="\u753B\u5E03",S7="\u6362\u884C\u5BB9\u5668",P7="\u6805\u683C\u7B49\u5206\u884C",O7="\u5217\u8868\u5BB9\u5668",k7="\u81EA\u7531\u9875\u9762",R7="\u5B9A\u4F4D\u5B50\u5BB9\u5668",M7="\u5B9A\u4F4D\u5BB9\u5668",x7="\u6805\u683C\u5E03\u5C40",N7="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",L7="\u660E\u7EC6\u5B50\u8868\u884C",$7="\u6807\u7B7E\u9875",H7="\u6807\u7B7E\u5355\u5143",V7="\u5DE5\u5177\u680F",q7="\u6279\u91CF\u63D0\u4EA4",W7="\u5BFC\u51FA\u8BB0\u5F55",j7="\u5217\u8868\u89C6\u56FE",U7="\u5F15\u7528\u5217\u8868",z7="\u9009\u9879\u4E00",G7="\u9009\u9879\u4E8C",K7="\u9009\u9879\u4E09",Q7={isNotNumber:eC,isNotString:tC,isNotObject:iC,isNotArray:nC,isNotBoolean:uC,runtimeRequired:lC,pleaseEnterCaption:aC,pleaseEnterCaptionTip:rC,pleaseEnterRowCaption:oC,pleaseEnterPlaceholder:cC,pleaseEnterFieldCode:sC,pleaseEnterForm:dC,pleaseEnterList:hC,pleaseEnterProcess:yC,pleaseEnterLabel:vC,pleaseEnterValue:mC,bizKeyNotBindFiled:fC,pleaseSelectOneField:gC,pleaseEnterNumberRange:bC,pleaseEnterAValueGreaterThanMin:CC,pleaseEnterAValueLessThanMax:_C,numberRangeSetError:EC,stringRangeError:IC,attachmentMaxSize:DC,pleaseEnterTotalScoreSetting:BC,theTotalScoreMustNotBeLessThan1:wC,scoreDefaultValueRange:AC,attachmentLimitError:TC,PleaseReselectTheOptionalQuantity:FC,TheMaximumLengthIsGreaterThanTheMinimumLength:SC,TheMinimumLengthIsGreaterThanTheMaximumLength:PC,PleaseSelectTheCorrectOptionSettings:OC,optionIdIsRepeat:kC,optionIsRequired:RC,pleaseEnterDataCode:MC,pleaseEnterValueFieldCode:xC,pleaseEnterSvcCode:NC,pleaseBindAtLeastOneDisplayValue:LC,pleaseSelectProvince:$C,pleaseSelectCity:HC,pleaseSelectDistrict:VC,limitRowsCannotBeLessThan0:qC,TheNumberOfRowsCannotBeLessThanMinRows:WC,pleaseEnterColumnWidth:jC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UC,pleaseCompleteAllRulesAndConditions:zC,pleaseSelectControl:GC,pleaseSelectDashboard:KC,theViewNameCannotBeEmpty:QC,pleaseSelectOcrType:ZC,pleaseSelectAtLeastOneFieldToFillIn:XC,pleaseChooseAtLeastOne:JC,pleaseEnterButtonContent:YC,pleaseEnterDataCodeInDataSetting:pC,pleaseEnterValueFieldCodeInDataSetting:e5,pleaseEnterSvcCodeInDataSetting:t5,pleaseBindAtLeastOneDisplayValueInDataSetting:i5,rootNodeIsRequiredInDataSetting:n5,pleaseEnterMaxHeight:u5,pleaseEnter:l5,pleaseEnterWatermark:a5,pleaseEnterFileName:r5,pleaseUploadAtLeastOnePrintTemplate:o5,pleaseAssignBusiness:c5,pleaseAssignExternal:s5,pleaseEnterAliasCode:d5,pleaseSelectDataCode:h5,pleaseSelectSvcCode:y5,pleaseSelectJoinFieldCode:v5,pleaseSelectMainFieldCode:m5,pleaseSelectSortFieldCode:f5,batchDeleteButton:g5,batchPrintListButton:b5,batchPrintRecordList:C5,button:_5,createFormListButton:E5,dashboard:I5,divider:D5,exportListButton:B5,formSelectButton:w5,importRecordListButton:A5,invoiceCheckButton:T5,link:F5,listSelectButton:S5,ListViewSelect:P5,operationButton:O5,pagination:k5,submissionRecordListButton:R5,text:M5,textOcrButton:x5,title:N5,approvalStatusColumn:L5,array:$5,autoNumber:H5,custom:V5,decimal:q5,department:W5,employee:j5,file:U5,image:z5,location:G5,operation:K5,order:Q5,people:Z5,long:X5,timescope:J5,timestamp:Y5,varchar:p5,gridLayoutWrap:e7,gridTable:t7,subTable:i7,address:n7,amount:u7,calc:l7,checkBox:a7,electronicSignature:r7,input:o7,number:c7,organizationSelection:s7,radio:d7,richText:h7,score:y7,searchNumberRange:v7,select:m7,selectMultiple:f7,selectRelation:g7,textarea:b7,tree:C7,vueFormItem:_7,vuePage:E7,WPS:I7,actionBar:D7,advancedContainer:B7,cardGroup:w7,col:A7,dataView:T7,grid:F7,gridLayoutContainer:S7,gridRow:P7,listView:O7,page:k7,position:R7,positioningContainer:M7,row:x7,subtableColumn:N7,subtableRow:L7,tab:$7,tabPane:H7,toolbox:V7,batchSubmissionListButton:q7,exportRecordListButton:W7,listViewSelect:j7,referenceList:U7,optionOne:z7,optionTwo:G7,optionThird:K7},Ju={zhCN:u0,enUS:pb,jaJP:Q7},Yu,Z7=(Yu=window.localStorage.getItem("locale"))!==null&&Yu!==void 0?Yu:"zh-CN",Ki=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),w=function(t){return t.TITLE="title",t.LINK="link",t.IFRAME="iframe",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.BARCODE="barcode",t.QR_CODE="qr-code",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.BLANK_CONTAINER="blank-container",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.BAR_CHART="bar-chart",t.LINE_CHART="line-chart",t.PIE_CHART="pie-chart",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),at=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),Pr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Or={DEFAULT:"default"},kr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",X7=kr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",i=0;i<t;i++){var n=i===0?kr:X7,u=Math.random()*n.length;e+=n[parseInt(String(u),10)]}return e}function pu(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function J7(t){if(Array.isArray(t))return pu(t)}function Y7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,i){return e=xt(e),i_(t,tl()?Reflect.construct(e,i||[],xt(t).constructor):e.apply(t,i))}function Mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qi(t,e,i){return tl()?Qi=Reflect.construct:Qi=function(u,a,r){var c=[null];c.push.apply(c,a);var d=Function.bind.apply(u,c),s=new d;return r&&Nt(s,r.prototype),s},Qi.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},xt(t)}function xr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}function p7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function e_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function t_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i_(t,e){return e&&(n_(e)==="object"||typeof e=="function")?e:Y7(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nt(t,e)}function Nr(t){return J7(t)||e_(t)||u_(t)||t_()}function n_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u_(t,e){if(!!t){if(typeof t=="string")return pu(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return pu(t,e)}}function el(t){var e=typeof Map=="function"?new Map:void 0;return el=function(n){if(n===null||!p7(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return Qi(n,arguments,xt(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,n)},el(t)}function tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!t})()}var il=console;function nl(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(Nr(u)))}function Lr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(Nr(u)))}function l_(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ul=function(t){xr(e,t);function e(i){Mr(this,e);var n;return n=Rr(this,e,[i]),n.name="\u{1F4A5} Driven Error",n.message=i?l_(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(el(Error)),a_=function(t){xr(e,t);function e(i){Mr(this,e);var n;return n=Rr(this,e,[i]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(ul);function Lt(t){throw new ul(t)}function $r(t){throw new a_(t)}function r_(t){il.error(new ul(t))}function o_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c_(t,e,i){return e&&Hr(t.prototype,e),i&&Hr(t,i),t}function s_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Vr=function(){function t(){o_(this,t)}return c_(t,null,[{key:"getMessage",value:function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return l("CMD."+i,n,Ju==null||(u=Ju[Z7.split("-").join("")])===null||u===void 0?void 0:u[i])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(i,n){}}]),t}();s_(Vr,"$i18n",Vr.resetI18n());function d_(t,e,i){var n=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return n.reduce(function(a,r,c,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){nl("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return c===d.length-1&&!Object.is(s[r],i)&&(s[r]=i,u=!0),s[r]}},t),u}var h_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},y_={exports:{}};(function(t){(function(e){var i=function(f,D,A){if(!s(D)||m(D)||g(D)||_(D)||d(D))return D;var O,M=0,te=0;if(h(D))for(O=[],te=D.length;M<te;M++)O.push(i(f,D[M],A));else{O={};for(var V in D)Object.prototype.hasOwnProperty.call(D,V)&&(O[f(V,A)]=i(f,D[V],A))}return O},n=function(f,D){D=D||{};var A=D.separator||"_",O=D.split||/(?=[A-Z])/;return f.split(O).join(A)},u=function(f){return E(f)?f:(f=f.replace(/[\-_\s]+(.)?/g,function(D,A){return A?A.toUpperCase():""}),f.substr(0,1).toLowerCase()+f.substr(1))},a=function(f){var D=u(f);return D.substr(0,1).toUpperCase()+D.substr(1)},r=function(f,D){return n(f,D).toLowerCase()},c=Object.prototype.toString,d=function(f){return typeof f=="function"},s=function(f){return f===Object(f)},h=function(f){return c.call(f)=="[object Array]"},m=function(f){return c.call(f)=="[object Date]"},g=function(f){return c.call(f)=="[object RegExp]"},_=function(f){return c.call(f)=="[object Boolean]"},E=function(f){return f=f-0,f===f},b=function(f,D){var A=D&&"process"in D?D.process:D;return typeof A!="function"?f:function(O,M){return A(O,f,M)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(f,D){return i(b(u,D),f)},decamelizeKeys:function(f,D){return i(b(r,D),f,D)},pascalizeKeys:function(f,D){return i(b(a,D),f)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(h_)})(y_);var qr={};Object.defineProperty(qr,"__esModule",{value:!0});function ll(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ll(e));{const e={};for(const i in t){const n=t[i];e[i]=typeof n!="object"||n===null?n:ll(n)}return e}}var v_=qr.default=ll;function m_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":m_(t))==="object"?v_(t):t}function f_(t){return Object.prototype.toString.call(t)==="[object Object]"}function Zi(t){return Array.isArray(t)}function g_(t){return t.reduce(function(e,i){return e.includes(i)||e.push(i),e},[])}function al(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b_(t){if(Array.isArray(t))return al(t)}function Wr(t,e,i,n,u,a,r){try{var c=t[a](r),d=c.value}catch(s){i(s);return}c.done?e(d):Promise.resolve(d).then(n,u)}function C_(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var a=t.apply(e,i);function r(d){Wr(a,n,u,r,c,"next",d)}function c(d){Wr(a,n,u,r,c,"throw",d)}r(void 0)})}}function __(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function E_(t,e,i){return e&&jr(t.prototype,e),i&&jr(t,i),t}function Ur(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function D_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(t){return b_(t)||I_(t)||B_(t)||D_()}function B_(t,e){if(!!t){if(typeof t=="string")return al(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return al(t,e)}}function w_(t,e){var i,n,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(h){return d([s,h])}}function d(s){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(u=s[0]&2?n.return:s[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,s[1])).done)return u;switch(n=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,n=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){r.label=s[1];break}if(s[0]===6&&r.label<u[1]){r.label=u[1],u=s;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(s);break}u[2]&&r.ops.pop(),r.trys.pop();continue}s=e.call(t,r)}catch(h){s=[6,h],n=0}finally{i=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var A_=function(){function t(){__(this,t),Ur(this,"_events",new Map),Ur(this,"debug",!1)}return E_(t,[{key:"emit",value:function(i){for(var n=arguments.length,u=new Array(n>1?n-1:0),a=1;a<n;a++)u[a-1]=arguments[a];var r=this;return C_(function(){var c,d,s,h,m,g,_,E,b,I,f,D;return w_(this,function(A){switch(A.label){case 0:if(c=r._events.get(i),d=[],!c)return[3,10];s=c.slice(),h=!0,m=!1,g=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),_=s[Symbol.iterator](),A.label=2;case 2:if(h=(E=_.next()).done)return[3,7];if(b=E.value,!c.includes(b))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),r.debug&&Lr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(rl(u))),[4,b.apply(null,rl(u))];case 4:return I=A.sent(),r.debug&&Lr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(rl(u),[I])),d.push(I),I===!1?[3,7]:[3,6];case 5:return f=A.sent(),r_(String(f)+":"+String(f.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return D=A.sent(),m=!0,g=D,[3,10];case 9:try{!h&&_.return!=null&&_.return()}finally{if(m)throw g}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(i,n){if(this._events.has(i)){var u;(u=this._events.get(i))===null||u===void 0||u.push(n)}else this._events.set(i,[n])}},{key:"off",value:function(i,n){if(this._events.has(i)){var u=this._events.get(i),a=u==null?void 0:u.indexOf(n);u==null||u.splice(a,1)}}},{key:"delete",value:function(i){this._events.has(i)&&this._events.delete(i)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function T_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function F_(t,e,i){return e&&zr(t.prototype,e),i&&zr(t,i),t}function S_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var P_=[{key:"on_click",name:l("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:l("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:l("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:l("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:l("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:l("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:l("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_chart_change",name:l("CMD.chartDataChange",null,"\u56FE\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"chart-change"},{key:"on_list_search",name:l("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:l("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:l("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:l("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:l("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:l("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:l("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:l("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:l("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:l("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:l("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:l("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:l("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:l("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:l("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:l("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:l("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:l("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:l("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:l("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],O_=function(){function t(){T_(this,t)}return F_(t,null,[{key:"getEventsFromKeys",value:function(i){var n=typeof i=="string"?[i]:i;return t.events.filter(function(u){return n.includes(u.key)})}},{key:"getEventsFromControl",value:function(i){var n=[],u=i.eventKeys;n=n.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=i.customEvents.map(function(r){var c=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(c=r.namespace+":"+r.key),{key:c,code:r.key,name:r.name}});return n=n.concat(a),n}}]),t}();S_(O_,"events",P_);function ol(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function k_(t){if(Array.isArray(t))return ol(t)}function R_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function M_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gr(t){return k_(t)||R_(t)||x_(t)||M_()}function x_(t,e){if(!!t){if(typeof t=="string")return ol(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ol(t,e)}}function cl(t,e){var i;!((i=Object.getOwnPropertyDescriptors(t)[e])===null||i===void 0)&&i.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Kr(t,e,i){i!=="Runtime"&&(t.parent=e,cl(t,"parent"))}function N_(t,e,i){t.forEach(function(n){Kr(n,e,i)})}var Qr=Symbol("targetKey");function Zr(t){var e;return(e=t[Qr])!==null&&e!==void 0?e:t}function Xr(t,e,i){return N_(t,e,i),new Proxy(t,{get:function(u,a){for(var r=arguments.length,c=new Array(r>2?r-2:0),d=2;d<r;d++)c[d-2]=arguments[d];var s;return a===Qr?u:(s=Reflect).get.apply(s,[u,a].concat(Gr(c)))},set:function(u,a,r){for(var c=arguments.length,d=new Array(c>3?c-3:0),s=3;s<c;s++)d[s-3]=arguments[s];var h;if(Zi(t)&&a==="length"&&r===t.length)return!0;var m=(h=Reflect).set.apply(h,[u,a,r].concat(Gr(d)));return f_(r)&&Kr(r,e,i),m}})}function se(t,e,i,n,u){var a=n!=null?n:t,r=Xr(Zr(i!=null?i:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(d){r=Xr(Zr(d),a,u)},enumerable:!0})}function L_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $_(t,e,i){return e&&Jr(t.prototype,e),i&&Jr(t,i),t}function De(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Yr=[],Xi=function(){function t(e){L_(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return $_(t,[{key:"registerControlConfig",value:function(i,n){return this.controlConfigMap.set(i,n),this}},{key:"getControlConfig",value:function(i){return this.controlConfigMap.get(i)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(i){i.__is_control__||Lt("".concat(i.name," is not a Control"));var n=this._controls.findIndex(function(u){return u.controlType===i.controlType});return n>-1&&(nl("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(i.controlType),this._controls.push(i),this}},{key:"isLayoutControl",value:function(i){return i.controlType===Ki.LAYOUT}},{key:"isFormControl",value:function(i){return i.controlType===Ki.FORM}},{key:"isListControl",value:function(i){return i.controlType===Ki.LIST}},{key:"isColumnControl",value:function(i){return i.controlType===Ki.COLUMN}},{key:"createControl",value:function(i,n){var u=this;if(Array.isArray(i))return i.map(function(h){return u.createControl(h,n)});if(i.children&&(i.children=i.children.map(function(h){return u.createControl(h,n)})),this.isListControl(i)){var a=i.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,n)}))}var r=this.getControlFormType(i.type);if(r){var c=i;if(typeof n=="function"){var d=n(c);d&&(c=d)}var s;return r.mode==="Runtime"?(s=c,s.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new r(c),s}else Lt("The constructor of ".concat(i.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(i,n){delete i.parent,Object.defineProperty(i,"parent",{configurable:!0,get:function(){return n}}),cl(i,"parent")}},{key:"_setParentPrototypeToSchema",value:function(i,n){n._type==="Runtime"&&(Object.defineProperty(i,"parent",{configurable:!0,get:function(){var a=i.id,r=n._controlParentIdMap,c=n.instanceMap;if(!(!r||!c)){var d=r[a],s=c[a];if(!(!d&&!s)){var h=s.findIndex(function(_){return _==i}),m=c[d]||[],g;return m.length!==s.length?g=m[0]:g=m[h],g}}}}),cl(i,"parent"))}},{key:"createControlInstance",value:function(i,n){var u=this.getControlFormType(i);if(u)return new u(n)}},{key:"getControlFormType",value:function(i){return this._controls.find(function(n){return n.controlType===i})}},{key:"_initControls",value:function(i){var n=this;this.constructor.staticControls.forEach(function(u){n.register(u[i]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=i})}}],[{key:"staticGetRules",value:function(i,n){var u=t.staticControlsRuntimeRules.get(i),a=[];if(u){var r=new u(n);a=Array.from(r)}return a}},{key:"register",value:function(i,n){var u=i.Designer,a=i.Runtime,r=i.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Lt("".concat(i," is can't register as a Control"));var c=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return c>-1&&(nl("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(i),r.mode=n,this}}]),t}();De(Xi,"staticControlsRuntimeRules",new Map),De(Xi,"staticControls",Yr),De(Xi,"staticRegisteredTypes",new Set(Yr.map(function(t){return t.Designer.controlType}))),De(Xi,"staticRegisteredConfigs",new Map);function H_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,i){return e=Ji(e),V_(t,pr()?Reflect.construct(e,i||[],Ji(t).constructor):e.apply(t,i))}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ji(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sl(t,e)}function V_(t,e){return e&&(q_(e)==="object"||typeof e=="function")?e:H_(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},sl(t,e)}function q_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var ye=function t(e){B(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},eo=function t(e){B(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0);var i;this.minWidth=(i=e==null?void 0:e.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=e==null?void 0:e.maxWidth;var n;this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},to=function t(e){B(this,t),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0);var i;this.rowHeightType=(i=e==null?void 0:e.rowHeightType)!==null&&i!==void 0?i:"fixed";var n;this.minRows=(n=e==null?void 0:e.minRows)!==null&&n!==void 0?n:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},W_=function t(e){B(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new to(e==null?void 0:e.pc),this.mobile=new to(e==null?void 0:e.mobile)},dl=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"width",void 0),y(n,"widthType",void 0);var u;n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:240;var a;return n.widthType=(a=i==null?void 0:i.widthType)!==null&&a!==void 0?a:"auto",n}return e}(eo),j_=function t(e){B(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new dl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new dl(e==null?void 0:e.mobile):new dl({width:130,minWidth:180})},U_=function t(e){B(this,t),y(this,"type",void 0),y(this,"customOptions",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"firstThree";var n;this.customOptions=(n=e==null?void 0:e.customOptions)!==null&&n!==void 0?n:[]},rt=function t(e){B(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var n;this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},z_=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"primaryControlId",void 0);var u;return n.primaryControlId=(u=i==null?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",n}return e}(rt),io=function t(e){B(this,t),y(this,"fieldCode",void 0),y(this,"dataCode",void 0);var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:""},hl=function t(e){B(this,t);var i;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var n;this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(i=e.headers)===null||i===void 0?void 0:i.map(function(r){return new io(r)}))!==null&&a!==void 0?a:[]},G_=function t(e){B(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var i;this.fieldName=(i=e==null?void 0:e.fieldName)!==null&&i!==void 0?i:"";var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},K_=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"title",void 0),y(n,"svcCode",void 0),y(n,"isOpenFilter",void 0),y(n,"filters",void 0);var u;n.title=(u=i==null?void 0:i.title)!==null&&u!==void 0?u:"";var a;n.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var r;n.isOpenFilter=(r=i==null?void 0:i.isOpenFilter)!==null&&r!==void 0?r:!1;var c;return n.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],n}return e}(rt),Q_=function t(e){B(this,t);var i,n;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new rt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(i=e.displayFields)===null||i===void 0?void 0:i.map(function(r){return new G_(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(n=e.sublists)===null||n===void 0?void 0:n.map(function(r){return new K_(r)}))!==null&&a!==void 0?a:[]},Z_=function t(e){B(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Be=function t(e){B(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom";var n;this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Yi=function t(e){var i=this;B(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var d,s=new t(c);(d=i.children)===null||d===void 0||d.push(s)}else{var h,m=new $t(c);(h=i.children)===null||h===void 0||h.push(m)}}))},$t=function t(e){B(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var n;this.ruleId=(n=e==null?void 0:e.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Z_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Be(e==null?void 0:e.rightVariableBo)},X_=function t(e){B(this,t),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var i;this.aliasCode=(i=e==null?void 0:e.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new j(e==null?void 0:e.datasourceBind);var n;this.relationFields=(n=e==null?void 0:e.relationFields)!==null&&n!==void 0?n:[]},Q=function t(e){B(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var i;this.controlId=(i=e==null?void 0:e.controlId)!==null&&i!==void 0?i:"";var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},yl=function t(e){B(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"FIELD";var n;this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:"",this.fieldType=e==null?void 0:e.fieldType},J_=function t(e){B(this,t),y(this,"columnName",void 0),y(this,"desc",void 0);var i;this.columnName=(i=e.columnName)!==null&&i!==void 0?i:"";var n;this.desc=(n=e.desc)!==null&&n!==void 0?n:!1};function vl(t){var e,i,n,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(i=t.viewFilters)===null||i===void 0?void 0:i.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(n=t.orders)===null||n===void 0?void 0:n.map(function(c){return new J_(c)}))!==null&&r!==void 0?r:[]}var j=function t(e){var i=this;B(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(m){var g;(g=i.displayBoList)===null||g===void 0||g.push(new yl(m))}));var c;this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new Be(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,vl.call(this,e)},Y_=function t(e){B(this,t),y(this,"actionCode",void 0),y(this,"dataCode",void 0),y(this,"name",void 0),y(this,"appName",void 0),y(this,"dataName",void 0),y(this,"actionName",void 0),y(this,"displayName",void 0),y(this,"svcTypeEnum",void 0);var i;this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"";var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.appName=(a=e==null?void 0:e.appName)!==null&&a!==void 0?a:"";var r;this.dataName=(r=e==null?void 0:e.dataName)!==null&&r!==void 0?r:"";var c;this.actionName=(c=e==null?void 0:e.actionName)!==null&&c!==void 0?c:"";var d;this.displayName=(d=e==null?void 0:e.displayName)!==null&&d!==void 0?d:"";var s;this.svcTypeEnum=(s=e==null?void 0:e.svcTypeEnum)!==null&&s!==void 0?s:""},p_=function t(e){B(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom";var n;this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},eE=function t(e){B(this,t),y(this,"id",void 0),y(this,"name",void 0),y(this,"required",void 0),y(this,"paramType",void 0),y(this,"rightVariableBo",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:"";var n;this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"";var u;this.required=(u=e==null?void 0:e.required)!==null&&u!==void 0?u:!1;var a;this.paramType=(a=e==null?void 0:e.paramType)!==null&&a!==void 0?a:"",this.rightVariableBo=new p_(e==null?void 0:e.rightVariableBo)},tE=function t(e){B(this,t);var i;y(this,"serviceName",void 0),y(this,"inputParam",void 0),this.serviceName=new Y_(e==null?void 0:e.serviceName);var n;this.inputParam=(n=e==null||(i=e.inputParam)===null||i===void 0?void 0:i.map(function(u){return new eE(u)}))!==null&&n!==void 0?n:[]},iE=function t(e){B(this,t),y(this,"actionCode",void 0),y(this,"actionType",void 0),y(this,"bizAction",void 0);var i;this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"";var n;this.actionType=(n=e==null?void 0:e.actionType)!==null&&n!==void 0?n:"",this.bizAction=new tE(e==null?void 0:e.bizAction)},ml=function t(e){B(this,t),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var n;this.displayBoList=(n=e==null?void 0:e.displayBoList)!==null&&n!==void 0?n:[]},fe=function t(e){B(this,t),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var i;this.code=(i=e==null?void 0:e.code)!==null&&i!==void 0?i:"view";var n;this.color=(n=e==null?void 0:e.color)!==null&&n!==void 0?n:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var c;this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},no=function t(e){B(this,t);var i;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var n;this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(i=e.value)===null||i===void 0?void 0:i.map(function(r){return new yl(r)}))!==null&&a!==void 0?a:[]},pi=function(t){re(e,t);function e(i){B(this,e);var n,u;n=ae(this,e,[i]),y(n,"attributes",void 0);var a;return n.attributes=(a=i==null||(u=i.attributes)===null||u===void 0?void 0:u.map(function(r){return new no(r)}))!==null&&a!==void 0?a:[],n}return e}(j),nE=function(t){re(e,t);function e(i){B(this,e);var n,u;n=ae(this,e,[i]),y(n,"attributes",void 0),y(n,"formCode",void 0);var a;n.attributes=(a=i==null||(u=i.attributes)===null||u===void 0?void 0:u.map(function(c){return new no(c)}))!==null&&a!==void 0?a:[];var r;return n.formCode=(r=i==null?void 0:i.formCode)!==null&&r!==void 0?r:"",n}return e}(j),en=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"rootNode",void 0),y(n,"filterCode",void 0),n.rootNode=new Be(i==null?void 0:i.rootNode);var u;return n.filterCode=(u=i==null?void 0:i.filterCode)!==null&&u!==void 0?u:"",n}return e}(pi),uo=function t(e){B(this,t);var i;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(i=e.fillList)===null||i===void 0?void 0:i.map(function(r){return new Q(r)}))!==null&&a!==void 0?a:[]},lo=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e,[i]),y(n,"filters",void 0),y(n,"viewFilters",void 0),y(n,"orders",void 0),vl.call(n,i),n}return e}(uo),ao=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"mode",void 0),y(n,"multiple",void 0);var u;n.mode=(u=i==null?void 0:i.mode)!==null&&u!==void 0?u:"current";var a;return n.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,n}return e}(uo),ro=function t(e){B(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var i;this.stencilName=(i=e==null?void 0:e.stencilName)!==null&&i!==void 0?i:"";var n;this.expression=(n=e==null?void 0:e.expression)!==null&&n!==void 0?n:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},oo=function t(e){B(this,t),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8);var n;this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label;var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:""},uE=function(t){re(e,t);function e(i){B(this,e);var n;n=ae(this,e,[i]),y(n,"cueWord",void 0),y(n,"checked",void 0);var u;n.cueWord=(u=i==null?void 0:i.cueWord)!==null&&u!==void 0?u:"";var a;return n.checked=(a=i==null?void 0:i.checked)!==null&&a!==void 0?a:!1,n}return e}(oo);function de(t){var e;return(e=t==null?void 0:t.map(function(i){return new oo(i)}))!==null&&e!==void 0?e:[]}function co(t){var e;return(e=t==null?void 0:t.map(function(i){return new uE(i)}))!==null&&e!==void 0?e:[]}var fl=function t(){B(this,t)},lE=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"amount",void 0),y(n,"currency",void 0),n.amount=new ye(i==null?void 0:i.amount),n.currency=new ye(i==null?void 0:i.currency),n}return e}(fl),aE=function t(e){B(this,t),y(this,"amount",void 0),y(this,"currency",void 0);var i;this.amount=(i=e==null?void 0:e.amount)!==null&&i!==void 0?i:"";var n;this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},so=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"min",void 0),y(n,"max",void 0),n.min=new ye(i==null?void 0:i.min),n.max=new ye(i==null?void 0:i.max),n}return e}(fl),ho=function t(e){B(this,t),y(this,"min",void 0),y(this,"max",void 0);var i;this.min=(i=e==null?void 0:e.min)!==null&&i!==void 0?i:"";var n;this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},rE=function t(e){B(this,t),y(this,"country",void 0),y(this,"countryDisplay",void 0),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var i;this.country=(i=e==null?void 0:e.country)!==null&&i!==void 0?i:"";var n;this.countryDisplay=(n=e==null?void 0:e.countryDisplay)!==null&&n!==void 0?n:"";var u;this.city=(u=e==null?void 0:e.city)!==null&&u!==void 0?u:"";var a;this.cityDisplay=(a=e==null?void 0:e.cityDisplay)!==null&&a!==void 0?a:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var c;this.districtDisplay=(c=e==null?void 0:e.districtDisplay)!==null&&c!==void 0?c:"";var d;this.province=(d=e==null?void 0:e.province)!==null&&d!==void 0?d:"";var s;this.provinceDisplay=(s=e==null?void 0:e.provinceDisplay)!==null&&s!==void 0?s:""},oE=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"result",void 0),y(n,"unit",void 0),n.result=new ye(i==null?void 0:i.result),n.unit=new ye(i==null?void 0:i.unit),n}return e}(fl),cE=function t(e){B(this,t),y(this,"result",void 0),y(this,"unit",void 0);var i;this.result=(i=e==null?void 0:e.result)!==null&&i!==void 0?i:0;var n;this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},sE=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),o=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),dE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),we=function t(e){B(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var i;this.isShow=(i=e==null?void 0:e.isShow)!==null&&i!==void 0?i:!0;var n;this.content=(n=e==null?void 0:e.content)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},hE=function t(e){B(this,t);var i;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(i=e.headers)===null||i===void 0?void 0:i.map(function(r){return new io(r)}))!==null&&a!==void 0?a:[],vl.call(this,e)},yE=function t(e){B(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var i;this.width=(i=e==null?void 0:e.width)!==null&&i!==void 0?i:"";var n;this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},vE=function t(e){B(this,t),y(this,"optCode",void 0),y(this,"optType",void 0);var i;this.optCode=(i=e==null?void 0:e.optCode)!==null&&i!==void 0?i:"";var n;this.optType=(n=e==null?void 0:e.optType)!==null&&n!==void 0?n:""},mE=function t(e){B(this,t);var i,n;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(i=e.filters)===null||i===void 0?void 0:i.map(function(d){return d.children!==void 0?new Yi(d):new $t(d)}))!==null&&r!==void 0?r:[];var c;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(c=e==null||(n=e.settings)===null||n===void 0?void 0:n.map(function(d){return new fE(d)}))!==null&&c!==void 0?c:[]:[],this.script=e==null?void 0:e.script},fE=function t(e){B(this,t),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0);var i;this.type=(i=e.type)!==null&&i!==void 0?i:"background";var n;this.fieldCodes=(n=e.fieldCodes)!==null&&n!==void 0?n:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},gE=function t(e){B(this,t);var i;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(i=e.rules)===null||i===void 0?void 0:i.map(function(r){return new mE(r)}))!==null&&a!==void 0?a:[]:[]},bE=function t(e){B(this,t),y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0);var i;this.groupDefaultExpanded=(i=e==null?void 0:e.groupDefaultExpanded)!==null&&i!==void 0?i:!1;var n;this.suppressCount=(n=e==null?void 0:e.suppressCount)!==null&&n!==void 0?n:!1;var u;this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[];var a;this.groupHeaderName=(a=e==null?void 0:e.groupHeaderName)!==null&&a!==void 0?a:"";var r;this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},CE=function t(e){B(this,t),y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new j(e==null?void 0:e.datasourceBind);var i;this.headers=(i=e==null?void 0:e.headers)!==null&&i!==void 0?i:[]},_E=function t(e){B(this,t),y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0);var i;this.marginTop=(i=e==null?void 0:e.marginTop)!==null&&i!==void 0?i:"";var n;this.marginRight=(n=e==null?void 0:e.marginRight)!==null&&n!==void 0?n:"";var u;this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"";var a;this.marginLeft=(a=e==null?void 0:e.marginLeft)!==null&&a!==void 0?a:""},EE=function t(e){B(this,t),y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0);var i;this.paddingTop=(i=e==null?void 0:e.paddingTop)!==null&&i!==void 0?i:"";var n;this.paddingRight=(n=e==null?void 0:e.paddingRight)!==null&&n!==void 0?n:"";var u;this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"";var a;this.paddingLeft=(a=e==null?void 0:e.paddingLeft)!==null&&a!==void 0?a:""},IE=function t(e){B(this,t),y(this,"icon",void 0),y(this,"label",void 0);var i;this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconleft";var n;this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:l("CMD.09bf1774579034724")},DE=function t(e){B(this,t),y(this,"icon",void 0),y(this,"label",void 0);var i;this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconxiangyou";var n;this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:l("CMD.39131774579036296")},BE=function t(e){B(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new IE(e==null?void 0:e.prev),this.next=new DE(e==null?void 0:e.next)};function wE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AE(t,e,i){return e=Ht(e),SE(t,Cl()?Reflect.construct(e,i||[],Ht(t).constructor):e.apply(t,i))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e,i){return Cl()?tn=Reflect.construct:tn=function(u,a,r){var c=[null];c.push.apply(c,a);var d=Function.bind.apply(u,c),s=new d;return r&&Vt(s,r.prototype),s},tn.apply(null,arguments)}function ge(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(t)}function TE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function FE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function SE(t,e){return e&&(PE(e)==="object"||typeof e=="function")?e:wE(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vt(t,e)}function PE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bl(t){var e=typeof Map=="function"?new Map:void 0;return bl=function(n){if(n===null||!FE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return tn(n,arguments,Ht(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,n)},bl(t)}function Cl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cl=function(){return!!t})()}var U=function t(e){gl(this,t),ge(this,"isHide",{type:"boolean"})},Ne=function(t){TE(e,t);function e(i){return gl(this,e),AE(this,e)}return e}(bl(Array)),q=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";gl(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var n;this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new yE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:i};ge(q,"mode",void 0),ge(q,"Rules",U),ge(q,"RuntimeRules",Ne);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},ve.apply(this,arguments)}function OE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function _l(t){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},_l(t)}function nn(t,e){return nn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},nn(t,e)}function kE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function un(t,e,i){return kE()?un=Reflect.construct:un=function(u,a,r){var c=[null];c.push.apply(c,a);var d=Function.bind.apply(u,c),s=new d;return r&&nn(s,r.prototype),s},un.apply(null,arguments)}function RE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function El(t){var e=typeof Map=="function"?new Map:void 0;return El=function(n){if(n===null||!RE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return un(n,arguments,_l(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),nn(u,n)},El(t)}var ME=/%[sdj%]/g,yo=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yo=function(e,i){typeof console!="undefined"&&console.warn&&i.every(function(n){return typeof n=="string"})&&console.warn(e,i)});function Il(t){if(!t||!t.length)return null;var e={};return t.forEach(function(i){var n=i.field;e[n]=e[n]||[],e[n].push(i)}),e}function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(ME,function(c){if(c==="%%")return"%";if(n>=a)return c;switch(c){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(d){return"[Circular]"}break;default:return c}});return r}return u}function xE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||xE(e)&&typeof t=="string"&&!t)}function NE(t,e,i){var n=[],u=0,a=t.length;function r(c){n.push.apply(n,c),u++,u===a&&i(n)}t.forEach(function(c){e(c,r)})}function vo(t,e,i){var n=0,u=t.length;function a(r){if(r&&r.length){i(r);return}var c=n;n=n+1,c<u?e(t[c],a):i([])}a([])}function LE(t){var e=[];return Object.keys(t).forEach(function(i){e.push.apply(e,t[i])}),e}var mo=function(t){OE(e,t);function e(i,n){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=i,u.fields=n,u}return e}(El(Error));function $E(t,e,i,n){if(e.first){var u=new Promise(function(m,g){var _=function(I){return n(I),I.length?g(new mo(I,Il(I))):m()},E=LE(t);vo(E,i,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),c=r.length,d=0,s=[],h=new Promise(function(m,g){var _=function(b){if(s.push.apply(s,b),d++,d===c)return n(s),s.length?g(new mo(s,Il(s))):m()};r.length||(n(s),m()),r.forEach(function(E){var b=t[E];a.indexOf(E)!==-1?vo(b,i,_):NE(b,i,_)})});return h.catch(function(m){return m}),h}function fo(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function go(t,e){if(e){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];typeof n=="object"&&typeof t[i]=="object"?t[i]=ve(ve({},t[i]),n):t[i]=n}}return t}function bo(t,e,i,n,u,a){t.required&&(!i.hasOwnProperty(t.field)||Z(e,a||t.type))&&n.push(ie(u.messages.required,t.fullField))}function HE(t,e,i,n,u){(/^\s+$/.test(e)||e==="")&&n.push(ie(u.messages.whitespace,t.fullField))}var Dl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qt={integer:function(e){return qt.number(e)&&parseInt(e,10)===e},float:function(e){return qt.number(e)&&!qt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(i){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!qt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Dl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Dl.url)},hex:function(e){return typeof e=="string"&&!!e.match(Dl.hex)}};function VE(t,e,i,n,u){if(t.required&&e===void 0){bo(t,e,i,n,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?qt[r](e)||n.push(ie(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&n.push(ie(u.messages.types[r],t.fullField,t.type))}function qE(t,e,i,n,u){var a=typeof t.len=="number",r=typeof t.min=="number",c=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&n.push(ie(u.messages[h].len,t.fullField,t.len)):r&&!c&&s<t.min?n.push(ie(u.messages[h].min,t.fullField,t.min)):c&&!r&&s>t.max?n.push(ie(u.messages[h].max,t.fullField,t.max)):r&&c&&(s<t.min||s>t.max)&&n.push(ie(u.messages[h].range,t.fullField,t.min,t.max))}var ot="enum";function WE(t,e,i,n,u){t[ot]=Array.isArray(t[ot])?t[ot]:[],t[ot].indexOf(e)===-1&&n.push(ie(u.messages[ot],t.fullField,t[ot].join(", ")))}function jE(t,e,i,n,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var P={required:bo,whitespace:HE,type:VE,range:qE,enum:WE,pattern:jE};function UE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"string")&&!t.required)return i();P.required(t,e,n,a,u,"string"),Z(e,"string")||(P.type(t,e,n,a,u),P.range(t,e,n,a,u),P.pattern(t,e,n,a,u),t.whitespace===!0&&P.whitespace(t,e,n,a,u))}i(a)}function zE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&P.type(t,e,n,a,u)}i(a)}function GE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&(P.type(t,e,n,a,u),P.range(t,e,n,a,u))}i(a)}function KE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&P.type(t,e,n,a,u)}i(a)}function QE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),Z(e)||P.type(t,e,n,a,u)}i(a)}function ZE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&(P.type(t,e,n,a,u),P.range(t,e,n,a,u))}i(a)}function XE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&(P.type(t,e,n,a,u),P.range(t,e,n,a,u))}i(a)}function JE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return i();P.required(t,e,n,a,u,"array"),e!=null&&(P.type(t,e,n,a,u),P.range(t,e,n,a,u))}i(a)}function YE(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&P.type(t,e,n,a,u)}i(a)}var pE="enum";function e1(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u),e!==void 0&&P[pE](t,e,n,a,u)}i(a)}function t1(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"string")&&!t.required)return i();P.required(t,e,n,a,u),Z(e,"string")||P.pattern(t,e,n,a,u)}i(a)}function i1(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"date")&&!t.required)return i();if(P.required(t,e,n,a,u),!Z(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),P.type(t,c,n,a,u),c&&P.range(t,c.getTime(),n,a,u)}}i(a)}function n1(t,e,i,n,u){var a=[],r=Array.isArray(e)?"array":typeof e;P.required(t,e,n,a,u,r),i(a)}function Bl(t,e,i,n,u){var a=t.type,r=[],c=t.required||!t.required&&n.hasOwnProperty(t.field);if(c){if(Z(e,a)&&!t.required)return i();P.required(t,e,n,r,u,a),Z(e,a)||P.type(t,e,n,r,u)}i(r)}function u1(t,e,i,n,u){var a=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();P.required(t,e,n,a,u)}i(a)}var Wt={string:UE,method:zE,number:GE,boolean:KE,regexp:QE,integer:ZE,float:XE,array:JE,object:YE,enum:e1,pattern:t1,date:i1,url:Bl,hex:Bl,email:Bl,required:n1,any:u1};function wl(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Al=wl();function Ae(t){this.rules=null,this._messages=Al,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=go(wl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var i,n;for(i in e)e.hasOwnProperty(i)&&(n=e[i],this.rules[i]=Array.isArray(n)?n:[n])},validate:function(e,i,n){var u=this;i===void 0&&(i={}),n===void 0&&(n=function(){});var a=e,r=i,c=n;if(typeof r=="function"&&(c=r,r={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function d(b){var I,f=[],D={};function A(O){if(Array.isArray(O)){var M;f=(M=f).concat.apply(M,O)}else f.push(O)}for(I=0;I<b.length;I++)A(b[I]);f.length?D=Il(f):(f=null,D=null),c(f,D)}if(r.messages){var s=this.messages();s===Al&&(s=wl()),go(s,r.messages),r.messages=s}else r.messages=this.messages();var h,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=a[b],h.forEach(function(I){var f=I;typeof f.transform=="function"&&(a===e&&(a=ve({},a)),m=a[b]=f.transform(m)),typeof f=="function"?f={validator:f}:f=ve({},f),f.validator=u.getValidationMethod(f),f.field=b,f.fullField=f.fullField||b,f.type=u.getType(f),f.validator&&(g[b]=g[b]||[],g[b].push({rule:f,value:m,source:a,field:b}))})});var E={};return $E(g,r,function(b,I){var f=b.rule,D=(f.type==="object"||f.type==="array")&&(typeof f.fields=="object"||typeof f.defaultField=="object");D=D&&(f.required||!f.required&&b.value),f.field=b.field;function A(te,V){return ve(ve({},V),{},{fullField:f.fullField+"."+te})}function O(te){te===void 0&&(te=[]);var V=te;if(Array.isArray(V)||(V=[V]),!r.suppressWarning&&V.length&&Ae.warning("async-validator:",V),V.length&&f.message!==void 0&&(V=[].concat(f.message)),V=V.map(fo(f)),r.first&&V.length)return E[f.field]=1,I(V);if(!D)I(V);else{if(f.required&&!b.value)return f.message!==void 0?V=[].concat(f.message).map(fo(f)):r.error&&(V=[r.error(f,ie(r.messages.required,f.field))]),I(V);var le={};if(f.defaultField)for(var Ui in b.value)b.value.hasOwnProperty(Ui)&&(le[Ui]=f.defaultField);le=ve(ve({},le),b.rule.fields);for(var Ee in le)if(le.hasOwnProperty(Ee)){var Ku=Array.isArray(le[Ee])?le[Ee]:[le[Ee]];le[Ee]=Ku.map(A.bind(null,Ee))}var zi=new Ae(le);zi.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),zi.validate(b.value,b.rule.options||r,function(kt){var Ie=[];V&&V.length&&Ie.push.apply(Ie,V),kt&&kt.length&&Ie.push.apply(Ie,kt),I(Ie.length?Ie:null)})}}var M;f.asyncValidator?M=f.asyncValidator(f,b.value,O,b.source,r):f.validator&&(M=f.validator(f,b.value,O,b.source,r),M===!0?O():M===!1?O(f.message||f.field+" fails"):M instanceof Array?O(M):M instanceof Error&&O(M.message)),M&&M.then&&M.then(function(){return O()},function(te){return O(te)})},function(b){d(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Wt.hasOwnProperty(e.type))throw new Error(ie("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var i=Object.keys(e),n=i.indexOf("message");return n!==-1&&i.splice(n,1),i.length===1&&i[0]==="required"?Wt.required:Wt[this.getType(e)]||!1}},Ae.register=function(e,i){if(typeof i!="function")throw new Error("Cannot register a validator by type, validator is not a function");Wt[e]=i},Ae.warning=yo,Ae.messages=Al,Ae.validators=Wt;var l1={required:l("CMD.aad41751712156995"),maxLength:l("CMD.890d1751712141808"),minLength:l("CMD.bb9b1751712143625"),string:{range:l("CMD.f7131751712147855")}};function a1(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=new Ae(t);return i.messages(Object.assign(l1,e)),i}var r1=new A_;function Tl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function o1(t){if(Array.isArray(t))return t}function c1(t){if(Array.isArray(t))return Tl(t)}function Co(t,e,i,n,u,a,r){try{var c=t[a](r),d=c.value}catch(s){i(s);return}c.done?e(d):Promise.resolve(d).then(n,u)}function _o(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var a=t.apply(e,i);function r(d){Co(a,n,u,r,c,"next",d)}function c(d){Co(a,n,u,r,c,"throw",d)}r(void 0)})}}function s1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d1(t,e,i){return e&&Eo(t.prototype,e),i&&Eo(t,i),t}function L(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Io(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Do(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function h1(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y1(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){L(t,u,i[u])})}return t}function v1(t){return o1(t)||Do(t)||wo(t)||h1()}function Fl(t){return c1(t)||Do(t)||wo(t)||y1()}function m1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wo(t,e){if(!!t){if(typeof t=="string")return Tl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Tl(t,e)}}function Ao(t,e){var i,n,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(h){return d([s,h])}}function d(s){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(u=s[0]&2?n.return:s[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,s[1])).done)return u;switch(n=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,n=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){r.label=s[1];break}if(s[0]===6&&r.label<u[1]){r.label=u[1],u=s;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(s);break}u[2]&&r.ops.pop(),r.trys.pop();continue}s=e.call(t,r)}catch(h){s=[6,h],n=0}finally{i=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var k=function(){function e(i){var n=this;s1(this,e),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",Fo),L(this,"removeSetting",To),this._callControlHooks("preInstance",i);var u=Io(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,c=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,h=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,E=u.slotPosition;a&&r&&c||$r("The ".concat(m," controlName,controlIcon,controlType is not define"));var b;this.id=(b=i==null?void 0:i.id)!==null&&b!==void 0?b:oe(10),this.name=a,this.icon=r;var I;this.type=(I=i==null?void 0:i.type)!==null&&I!==void 0?I:c,this.props=new q(i==null?void 0:i.props,(Io(this,e)?this.constructor:void 0).controlName);var f;this.controlType=(f=i==null?void 0:i.controlType)!==null&&f!==void 0?f:"base",this.setting=ce(g);var D;this.fieldType=(D=i==null?void 0:i.fieldType)!==null&&D!==void 0?D:d,this.eventKeys=ce(s),this.customEvents=ce(h),this.slots=ce(_),this.slotPosition=ce(E),Promise.resolve().then(function(){n._callControlHooks("postInstance",i)})}return d1(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),a=0;a<n;a++)u[a]=arguments[a];var r,c=v1(u),d=c[0],s=c.slice(1);return(r=r1).emit.apply(r,[d,this].concat(Fl(s)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),d_(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){var n=this;return _o(function(){var u,a,r;return Ao(this,function(c){switch(c.label){case 0:return u=Bo({},n.rules),[4,n._callControlHooks("preValidate",u)];case 1:return a=c.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(n,u){var a=this;return _o(function(){var r,c,d,s;return Ao(this,function(h){switch(h.label){case 0:return[4,a.preValidate()];case 1:r=h.sent(),c=r!==void 0?r:Bo({},a.rules),Array.isArray(u)&&u.forEach(function(m){c.hasOwnProperty(m)&&delete c[m]}),d=a1(c,n),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=a),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,c=this.props,d=c.dataBind,s=c.datasourceBind,h=c.optionConfig,m=c.caption,g=c.required,_=c.maxLength,E=c.options,b=c.encrypted,I=c.encryptedMode;if(!(!u&&!d&&!s)){var f={parentId:n,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(d&&(f.dataBind=d),h){case"datasource":case void 0:s&&(f.datasourceBind=s);break;case"custom":f.props.options=E;break}return g!==void 0&&(f.required=g),_!==void 0&&(f.maxLength=_),b!==void 0&&(f.encrypted=b),I!==void 0&&(f.encryptedMode=I),f}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,u){if(n==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Fl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(k,"mode","Designer"),L(k,"slots",void 0),L(k,"slotPosition",void 0),L(k,"controlName",l("CMD.7baf1751712168384")),L(k,"controlIcon","icon"),L(k,"controlType","control"),L(k,"controlFieldType",void 0),L(k,"controlEventKeys",[]),L(k,"controlCustomEvents",[]),L(k,"setting",[]),L(k,"__is_control__",!0),L(k,"removeSettingItem",To),L(k,"updateSettingItem",Fo);function To(t){var e=this,i=Array.isArray(t)?t:[t];i.forEach(function(n){var u,a=typeof n!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(s){return s.key===(a?n.key:n)});if(r!==-1){var c,d;a?e.setting[r].showItems=(c=e.setting[r].showItems)===null||c===void 0?void 0:c.filter(function(s){return!n.hideItems.includes(s)}):e.setting.splice(r,1),a&&!(!((d=e.setting[r].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(r,1)}})}function Fo(t,e){var i=this,n=typeof t=="string"?[t]:t;n.forEach(function(u){var a=i.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":m1(e))==="object"){var r,c=(r=e.type)!==null&&r!==void 0?r:"replace";if(c==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Fl(e.showItems))}}}})}function f1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function So(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g1(t,e,i){return e&&So(t.prototype,e),i&&So(t,i),t}function ne(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function b1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(i){f1(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var n=b1(this,e)?this.constructor:void 0,u=n.controlType,a=n.controlFieldType,r=n.name,c=n.controlCustomEvents;u||$r("The ".concat(r," controlType is not define"));var d;this.id=(d=i==null?void 0:i.id)!==null&&d!==void 0?d:oe(10);var s;this.type=(s=i==null?void 0:i.type)!==null&&s!==void 0?s:u,this.props=new q(i==null?void 0:i.props),this.customEvents=c;var h;this.controlType=(h=i==null?void 0:i.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=i==null?void 0:i.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=i==null?void 0:i.pageStatus)!==null&&g!==void 0?g:dE.UNKNOWN}return g1(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function Sl(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:l("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:l("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(i,n,u){n.length===0&&u(l("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(i,n,u){var a=n.map(function(c){return c.value}),r=g_(a);a.length!==r.length?u(l("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:l("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:l("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:l("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(i,n,u){n.length===0&&u(l("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:l("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:l("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ln(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:l(i?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,l(i?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:l(i?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,l(i?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:l(i?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,l(i?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,r){a.length===0&&r(l(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,l(i?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:l(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,l(i?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:l("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function C1(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function _1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function an(t,e,i){return e=on(e),E1(t,Po()?Reflect.construct(e,i||[],on(t).constructor):e.apply(t,i))}function rn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},on(t)}function cn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function E1(t,e){return e&&(I1(e)==="object"||typeof e=="function")?e:_1(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Pl(t,e)}function I1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var z=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]),H(n,"dataBind",{}),H(n,"caption",{type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(n,"isHideCaption",{type:"boolean"}),H(n,"labelPosition",{type:"enum",enum:["top","left"]}),H(n,"defaultState",{type:"enum",enum:["default","readonly"]}),H(n,"required",{type:"boolean"}),H(n,"captionTip",{type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(C1(i.dataBind))n.dataBind={type:"object",required:!0,fields:ce(u),message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(i.dataBind).forEach(function(r){a.fields[r]={type:"object",required:!0,fields:ce(u),message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=a}return i.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(U),x=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]);var u=i.isHide?!1:i.required;return u&&n.push({type:"string",required:u,message:i.requiredMessage!==""?i.requiredMessage:l("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),n}return e}(Ne),T=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]),H(n,"caption",void 0),H(n,"captionSize",void 0),H(n,"captionColor",void 0),H(n,"isCaptionItalic",void 0),H(n,"captionFontWeight",void 0),H(n,"className",void 0),H(n,"isHideCaption",void 0),H(n,"isShowCaptionTip",void 0),H(n,"captionTip",void 0),H(n,"labelPosition",void 0),H(n,"dataBind",void 0),H(n,"defaultValue",void 0),H(n,"placeholder",void 0),H(n,"defaultState",void 0),H(n,"required",void 0),H(n,"requiredMessage",void 0);var u;n.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"";var a;n.captionSize=(a=i==null?void 0:i.captionSize)!==null&&a!==void 0?a:"";var r;n.captionColor=(r=i==null?void 0:i.captionColor)!==null&&r!==void 0?r:"";var c;n.isCaptionItalic=(c=i==null?void 0:i.isCaptionItalic)!==null&&c!==void 0?c:!1;var d;n.captionFontWeight=(d=i==null?void 0:i.captionFontWeight)!==null&&d!==void 0?d:"normal";var s;n.className=(s=i==null?void 0:i.className)!==null&&s!==void 0?s:[];var h;n.isHideCaption=(h=i==null?void 0:i.isHideCaption)!==null&&h!==void 0?h:!1;var m;n.isShowCaptionTip=(m=i==null?void 0:i.isShowCaptionTip)!==null&&m!==void 0?m:!1;var g;n.captionTip=(g=i==null?void 0:i.captionTip)!==null&&g!==void 0?g:"";var _;n.defaultState=(_=i==null?void 0:i.defaultState)!==null&&_!==void 0?_:"default";var E;n.labelPosition=(E=i==null?void 0:i.labelPosition)!==null&&E!==void 0?E:"top";var b;n.placeholder=(b=i==null?void 0:i.placeholder)!==null&&b!==void 0?b:"";var I;n.required=(I=i==null?void 0:i.required)!==null&&I!==void 0?I:!1;var f;n.requiredMessage=(f=i==null?void 0:i.requiredMessage)!==null&&f!==void 0?f:"",n.dataBind=new ye(i==null?void 0:i.dataBind);var D;return n.defaultValue=(D=i==null?void 0:i.defaultValue)!==null&&D!==void 0?D:"",n}return e}(q);H(T,"Rules",z),H(T,"RuntimeRules",x);var Le=function(t){cn(e,t);function e(i){rn(this,e);var n;return n=an(this,e,[i]),H(n,"optionConfig",{type:"enum",enum:["custom","datasource"],message:l("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(n,"options",[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(n,"datasourceBind",[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(z);function D1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B1(t,e,i){return e=dn(e),T1(t,Oo()?Reflect.construct(e,i||[],dn(t).constructor):e.apply(t,i))}function w1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dn(t)}function A1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ol(t,e)}function T1(t,e){return e&&(F1(e)==="object"||typeof e=="function")?e:D1(t)}function Ol(t,e){return Ol=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ol(t,e)}function F1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var F=function(t){A1(e,t);function e(i){w1(this,e);var n;return n=B1(this,e,[i]),sn(n,"controlType","form"),sn(n,"props",void 0),n.props=new T(i==null?void 0:i.props),n}return e}(k);sn(F,"controlEventKeys",["on_change","on_focus","on_blur"]),sn(F,"controlCustomAttributes",void 0);function S1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P1(t,e,i){return e=hn(e),R1(t,ko()?Reflect.construct(e,i||[],hn(t).constructor):e.apply(t,i))}function O1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},hn(t)}function k1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rl(t,e)}function R1(t,e){return e&&(M1(e)==="object"||typeof e=="function")?e:S1(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Rl(t,e)}function M1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var S=function(t){k1(e,t);function e(i){O1(this,e);var n;return n=P1(this,e,[i]),kl(n,"controlType","form"),kl(n,"props",void 0),kl(n,"value",void 0),n.props=new T(i==null?void 0:i.props),n}return e}(W);function x1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N1(t,e,i){return e=yn(e),H1(t,Ro()?Reflect.construct(e,i||[],yn(t).constructor):e.apply(t,i))}function L1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},yn(t)}function $1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ml(t,e)}function H1(t,e){return e&&(V1(e)==="object"||typeof e=="function")?e:x1(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ml(t,e)}function V1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}var R=function(t){$1(e,t);function e(i){return L1(this,e),N1(this,e,[i])}return e}(q);function xl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function q1(t){if(Array.isArray(t))return xl(t)}function W1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mo(t,e,i,n,u,a,r){try{var c=t[a](r),d=c.value}catch(s){i(s);return}c.done?e(d):Promise.resolve(d).then(n,u)}function j1(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var a=t.apply(e,i);function r(d){Mo(a,n,u,r,c,"next",d)}function c(d){Mo(a,n,u,r,c,"throw",d)}r(void 0)})}}function U1(t,e,i){return e=Fe(e),e6(t,Lo()?Reflect.construct(e,i||[],Fe(t).constructor):e.apply(t,i))}function z1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G1(t,e,i){return e&&xo(t.prototype,e),i&&xo(t,i),t}function Te(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ct(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,r){var c=t6(u,a);if(!!c){var d=Object.getOwnPropertyDescriptor(c,a);return d.get?d.get.call(r||u):d.value}},ct(t,e,i||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fe(t)}function K1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nl(t,e)}function Q1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Z1(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X1(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function J1(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Te(t,u,i[u])})}return t}function Y1(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function p1(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Y1(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function e6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:W1(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nl(t,e)}function t6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function No(t){return q1(t)||Z1(t)||n6(t)||X1()}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n6(t,e){if(!!t){if(typeof t=="string")return xl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return xl(t,e)}}function Lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lo=function(){return!!t})()}function u6(t,e){var i,n,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(h){return d([s,h])}}function d(s){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(u=s[0]&2?n.return:s[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,s[1])).done)return u;switch(n=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,n=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){r.label=s[1];break}if(s[0]===6&&r.label<u[1]){r.label=u[1],u=s;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(s);break}u[2]&&r.ops.pop(),r.trys.pop();continue}s=e.call(t,r)}catch(h){s=[6,h],n=0}finally{i=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var l6=1e4,N=function(e){K1(i,e);function i(n){z1(this,i);var u;u=U1(this,i,[n]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var a=Q1(this,i)?this.constructor:void 0,r=a.excludes,c=a.childrenMaxLength;return u.props=new R(n==null?void 0:n.props),se(u,"children",n==null?void 0:n.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=c,u}return G1(i,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var r=this,c=this,d=function(){return ct(Fe(i.prototype),"validate",r)};return j1(function(){return u6(this,function(s){switch(s.label){case 0:return[4,d().call(c,u,a)];case 1:return s.sent(),[4,Promise.all(c.children.map(function(h){return h.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ct(Fe(i.prototype),"toDataBindModel",this).call(this),r=a?[a]:[];return this.children.reduce(function(c,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var h=s.filter(function(m){return!!m});return No(c).concat(No(h))}return s&&c.push(s),c},r)}},{key:"toSchema",value:function(){var u=ct(Fe(i.prototype),"toSchema",this).call(this),a=this.children.map(function(r){var c=r.toSchema();return c});return p1(J1({},u),{children:a})}}]),i}(k);Te(N,"excludes",!1),Te(N,"childrenMaxLength",l6);function a6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r6(t,e,i){return e=vn(e),s6(t,$o()?Reflect.construct(e,i||[],vn(t).constructor):e.apply(t,i))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vn(t)}function c6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$l(t,e)}function s6(t,e){return e&&(d6(e)==="object"||typeof e=="function")?e:a6(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},$l(t,e)}function d6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var $=function(t){c6(e,t);function e(i){o6(this,e);var n;return n=r6(this,e,[i]),Ll(n,"controlType","layout"),Ll(n,"children",void 0),Ll(n,"props",void 0),n.props=new R(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(W);function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,i){return e=mn(e),f6(t,Ho()?Reflect.construct(e,i||[],mn(t).constructor):e.apply(t,i))}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},mn(t)}function m6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hl(t,e)}function f6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:h6(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Hl(t,e)}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}var fn=function(t){m6(e,t);function e(i,n,u){v6(this,e);var a;a=y6(this,e,[n]),st(a,"headers",void 0),st(a,"footers",void 0),st(a,"pageIndex",void 0),st(a,"pageSize",void 0),st(a,"pageSizeOptions",void 0),st(a,"totalCount",void 0),se(a,"headers",n==null?void 0:n.headers,i,u),se(a,"footers",n==null?void 0:n.footers,i);var r;a.pageIndex=(r=n==null?void 0:n.pageIndex)!==null&&r!==void 0?r:1;var c;a.pageSize=(c=n==null?void 0:n.pageSize)!==null&&c!==void 0?c:20;var d;a.pageSizeOptions=(d=n==null?void 0:n.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=n==null?void 0:n.totalCount)!==null&&s!==void 0?s:0,a}return e}(q);function Vl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b6(t){if(Array.isArray(t))return Vl(t)}function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vo(t,e,i,n,u,a,r){try{var c=t[a](r),d=c.value}catch(s){i(s);return}c.done?e(d):Promise.resolve(d).then(n,u)}function _6(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var a=t.apply(e,i);function r(d){Vo(a,n,u,r,c,"next",d)}function c(d){Vo(a,n,u,r,c,"throw",d)}r(void 0)})}}function E6(t,e,i){return e=Se(e),F6(t,zo()?Reflect.construct(e,i||[],Se(t).constructor):e.apply(t,i))}function I6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function D6(t,e,i){return e&&qo(t.prototype,e),i&&qo(t,i),t}function gn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dt(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,r){var c=S6(u,a);if(!!c){var d=Object.getOwnPropertyDescriptor(c,a);return d.get?d.get.call(r||u):d.value}},dt(t,e,i||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(t)}function B6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ql(t,e)}function w6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function A6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){gn(t,u,i[u])})}return t}function T6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function jo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function F6(t,e){return e&&(P6(e)==="object"||typeof e=="function")?e:C6(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ql(t,e)}function S6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Uo(t){return b6(t)||w6(t)||O6(t)||A6()}function P6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O6(t,e){if(!!t){if(typeof t=="string")return Vl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Vl(t,e)}}function zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!t})()}function k6(t,e){var i,n,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(s){return function(h){return d([s,h])}}function d(s){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(u=s[0]&2?n.return:s[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,s[1])).done)return u;switch(n=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,n=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){r.label=s[1];break}if(s[0]===6&&r.label<u[1]){r.label=u[1],u=s;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(s);break}u[2]&&r.ops.pop(),r.trys.pop();continue}s=e.call(t,r)}catch(h){s=[6,h],n=0}finally{i=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Wl=function(t){B6(e,t);function e(i){I6(this,e);var n;return n=E6(this,e,[i]),gn(n,"controlType","list"),gn(n,"props",void 0),n.props=new fn(n,i==null?void 0:i.props,"Designer"),n}return D6(e,[{key:"validate",value:function(n,u){var a=this,r=this,c=function(){return dt(Se(e.prototype),"validate",a)};return _6(function(){return k6(this,function(d){switch(d.label){case 0:return[4,c().call(r,n)];case 1:return d.sent(),[4,Promise.all(r.props.headers.map(function(s){return s.validate(n,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var n=dt(Se(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],a=this.id;return this.props.headers.reduce(function(r,c){var d=c.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return Uo(r).concat(Uo(s))}return d&&r.push(d),r},u)}},{key:"toSchema",value:function(){var n=dt(Se(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return jo(Wo({},n),{props:jo(Wo({},this.props),{headers:u})})}}]),e}(k);gn(Wl,"controlFieldType",C.LIST);function R6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,i){return e=bn(e),$6(t,Ko()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Go(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N6(t,e,i){return e&&Go(t.prototype,e),i&&Go(t,i),t}function jl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function L6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ul(t,e)}function $6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:R6(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ul(t,e)}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}var Qo=function(t){L6(e,t);function e(i){x6(this,e);var n;return n=M6(this,e,[i]),jl(n,"controlType","list"),jl(n,"children",void 0),jl(n,"props",void 0),n.props=new fn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return N6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zl(t,e,i){return e=Cn(e),q6(t,Zo()?Reflect.construct(e,i||[],Cn(t).constructor):e.apply(t,i))}function Gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Cn(t)}function Kl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ql(t,e)}function q6(t,e){return e&&(W6(e)==="object"||typeof e=="function")?e:V6(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ql(t,e)}function W6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}var be=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:l("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),G=function(t){Kl(e,t);function e(i){Gl(this,e);var n;n=zl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0);var u;n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto";var a;n.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;n.fixed=(r=i==null?void 0:i.fixed)!==null&&r!==void 0?r:"none",n.autoWidth=new eo(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind);var c;n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan;var d;return n.autoHeight=(d=i==null?void 0:i.autoHeight)!==null&&d!==void 0?d:!1,n}return e}(q);Y(G,"Rules",be);var Zl=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:l("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(be);function j6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U6(t,e,i){return e=ht(e),J6(t,Jo()?Reflect.construct(e,i||[],ht(t).constructor):e.apply(t,i))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G6(t,e,i){return e&&Xo(t.prototype,e),i&&Xo(t,i),t}function _n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function En(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?En=Reflect.get:En=function(u,a,r){var c=Y6(u,a);if(!!c){var d=Object.getOwnPropertyDescriptor(c,a);return d.get?d.get.call(r||u):d.value}},En(t,e,i||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ht(t)}function K6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xl(t,e)}function Q6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){_n(t,u,i[u])})}return t}function Z6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function X6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Z6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function J6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:j6(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Xl(t,e)}function Y6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}var X=function(t){K6(e,t);function e(i){z6(this,e);var n;return n=U6(this,e,[i]),_n(n,"controlType","column"),_n(n,"props",void 0),_n(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return G6(e,[{key:"toSchema",value:function(){var n=En(ht(e.prototype),"toSchema",this).call(this);return X6(Q6({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function eI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tI(t,e,i){return e=In(e),uI(t,Yo()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function iI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function nI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yl(t,e)}function uI(t,e){return e&&(lI(e)==="object"||typeof e=="function")?e:eI(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yl(t,e)}function lI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yo=function(){return!!t})()}var J=function(t){nI(e,t);function e(i){iI(this,e);var n;return n=tI(this,e,[i]),Jl(n,"controlType","column"),Jl(n,"props",void 0),Jl(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(W);function aI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rI(t,e,i){return e=Dn(e),dI(t,po()?Reflect.construct(e,i||[],Dn(t).constructor):e.apply(t,i))}function oI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cI(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dn(t)}function sI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pl(t,e)}function dI(t,e){return e&&(hI(e)==="object"||typeof e=="function")?e:aI(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function hI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}var ea=function(t){sI(e,t);function e(i){oI(this,e);var n;return n=rI(this,e,[i]),cI(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(R);function yI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vI(t,e,i){return e=Bn(e),gI(t,tc()?Reflect.construct(e,i||[],Bn(t).constructor):e.apply(t,i))}function mI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Bn(t)}function fI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function gI(t,e){return e&&(bI(e)==="object"||typeof e=="function")?e:yI(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ta(t,e)}function bI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}var CI=function(t){fI(e,t);function e(i){mI(this,e);var n;return n=vI(this,e,[i]),ec(n,"controlType","search"),ec(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}(N);function _I(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EI(t,e,i){return e=wn(e),BI(t,nc()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function II(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ic(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function DI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function BI(t,e){return e&&(wI(e)==="object"||typeof e=="function")?e:_I(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function wI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!t})()}var AI=function(t){DI(e,t);function e(i){II(this,e);var n;return n=EI(this,e,[i]),ic(n,"controlType","search"),ic(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}($);function TI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FI(t,e,i){return e=An(e),OI(t,uc()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function SI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function PI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function OI(t,e){return e&&(kI(e)==="object"||typeof e=="function")?e:TI(t)}function na(t,e){return na=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},na(t,e)}function kI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}var ua=function(t){PI(e,t);function e(i){return SI(this,e),FI(this,e,[i])}return e}(R);function RI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MI(t,e,i){return e=Tn(e),LI(t,ac()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function xI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function NI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function LI(t,e){return e&&($I(e)==="object"||typeof e=="function")?e:RI(t)}function la(t,e){return la=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},la(t,e)}function $I(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}var HI=function(t){NI(e,t);function e(i){xI(this,e);var n;return n=MI(this,e,[i]),lc(n,"controlType","wrap"),lc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}(N);function VI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qI(t,e,i){return e=Fn(e),UI(t,oc()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function WI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function jI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function UI(t,e){return e&&(zI(e)==="object"||typeof e=="function")?e:VI(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},aa(t,e)}function zI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oc=function(){return!!t})()}var GI=function(t){jI(e,t);function e(i){WI(this,e);var n;return n=qI(this,e,[i]),rc(n,"controlType","wrap"),rc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}var Oe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Oe||{}),cc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(cc||{}),sc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(sc||{});class Sn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ra{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var oa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(oa||{});class Pn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var ca=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(ca||{}),ke=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(ke||{});class sa{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D,A;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new Be((n=e==null?void 0:e.person)!=null?n:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Be((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new Be((c=e==null?void 0:e.company)!=null?c:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new Be((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new Be((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(_=e==null?void 0:e.platformAutoSign)!=null?_:!1,this.signDateBeanType=(E=e==null?void 0:e.signDateBeanType)!=null?E:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(I=e==null?void 0:e.signOrder)!=null?I:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(f=e==null?void 0:e.posX)!=null?f:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(A=e==null?void 0:e.remark)!=null?A:""}}class dc{constructor(e){var i,n,u,a,r,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(d=>new sa(d)))!=null?u:[new sa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class jt{constructor(e){var i,n,u,a,r,c,d;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class da{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class hc{constructor(e){var i,n,u,a;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new da(e==null?void 0:e.watermark),this.autoRename=new da(e==null?void 0:e.autoRename)}}class ha{constructor(e){var i,n,u,a,r,c,d;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class ya{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class yc{constructor(e){this.dataCode=e.dataCode}}class vc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(a=>new yc(a)))!=null?u:[]}}class mc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const fc=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class gc{constructor(e){var i,n,u,a,r;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class bc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Cc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Cc||{}),va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(va||{}),On=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(On||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),ma=(t=>(t.ALL="all",t.ADMIN="admin",t))(ma||{}),fa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(fa||{});class ga extends q{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:ke.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(a=e==null?void 0:e.content)!=null?a:l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(d=e==null?void 0:e.isLabel)!=null?d:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:l("CMD.closeText",null,"\u5173\u95ED")}}}class _c extends k{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}_c.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:l("CMD.54641777541642981"),default:"left",options:[{value:"left",label:l("CMD.79471774579023855")},{value:"center",label:l("CMD.3c361774579037653")},{value:"right",label:l("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class KI extends W{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ec={Designer:_c,Runtime:KI,Property:ga};class ba extends q{constructor(e){var i,n,u,a,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:l("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(a=e==null?void 0:e.url)!=null?a:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(c=e==null?void 0:e.icon)!=null?c:""}}class Ca extends k{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return l("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ca.controlEventKeys=["on_click"],Ca.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:l("CMD.90741774578992730"),default:"left",options:[{value:"left",label:l("CMD.79471774579023855")},{value:"center",label:l("CMD.3c361774579037653")},{value:"right",label:l("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:l("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:l("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class QI extends W{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ic={Designer:Ca,Runtime:QI,Property:ba};class ZI extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:l("CMD.cacc1777541637293")},this.width={type:"number",required:!0,min:1,message:l("CMD.2f901777541688219")},this.height={type:"number",required:!0,min:1,message:l("CMD.156e1777541690112")}}}class kn extends q{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}kn.Rules=ZI;class Dc extends k{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return l("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconiframe"}static get controlType(){return"iframe"}}Dc.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:l("CMD.f5311777541773110"),min:1,tip:l("CMD.ee791777541581639")},{key:"common-input-number",visible:!0,name:"height",label:l("CMD.ea8c1777541774421"),min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class XI extends W{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var Bc={Designer:Dc,Runtime:XI,Property:kn};class ee extends q{constructor(e){var i,n,u,a,r,c,d,s,h,m,g;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new vE((h=e==null?void 0:e.optObj)!=null?h:{}),this.actionObj=new iE((m=e==null?void 0:e.actionObj)!=null?m:{}),this.optButtonType=(g=e==null?void 0:e.optButtonType)!=null?g:"button"}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return l("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Or.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends W{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var wc={Designer:p,Runtime:ue,Property:ee};class _a extends q{constructor(e){var i,n,u,a,r,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:ca.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:ke.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Ac extends k{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return l("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ac.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:l("CMD.30971774578990996"),default:"left",options:[{value:"left",label:l("CMD.77f61774579023852")},{value:"center",label:l("CMD.c2061774579037651")},{value:"right",label:l("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:l("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:l("CMD.2bfb1774579038746")},{value:"middle",label:l("CMD.9e231774579040279")},{value:"bottom",label:l("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class JI extends W{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Tc={Designer:Ac,Runtime:JI,Property:_a};class YI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:l("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Rn extends q{constructor(e){var i,n,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Rn.Rules=YI;class yt extends k{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return l("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pI extends W{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fc={Designer:yt,Runtime:pI,Property:Rn};class eD extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Mn extends ee{constructor(e){var i,n,u,a;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Mn.Rules=eD;class vt extends p{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return l("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class tD extends ue{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sc={Designer:vt,Runtime:tD,Property:Mn};class iD extends U{constructor(e){super(e),this.processKey=[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class xn extends ee{constructor(e){var i,n,u,a,r,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(c=e==null?void 0:e.employeeId)!=null?c:""}}xn.Rules=iD;class mt extends p{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return l("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nD extends ue{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Pc={Designer:mt,Runtime:nD,Property:xn};class Ea extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon}}class ft extends p{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return l("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click"],ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uD extends ue{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Oc={Designer:ft,Runtime:uD,Property:Ea};class Ia extends ee{constructor(e){var i,n,u,a,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(c=>new jt(c)))!=null?r:[new jt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return l("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lD extends ue{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var kc={Designer:gt,Runtime:lD,Property:Ia};class Da extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return l("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aD extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Rc={Designer:bt,Runtime:aD,Property:Da};class rD{constructor(e){this.dataCode=e.dataCode}}class Ba extends ee{constructor(e){var i,n,u,a,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new rD(c)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Ct extends p{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return l("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class oD extends ue{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mc={Designer:Ct,Runtime:oD,Property:Ba};function cD(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function sD(t){if(!t.trim())return{};try{const e=JSON.parse(t);return cD(e)?e:{}}catch(e){return{}}}function dD(t){return Array.isArray(t)?t:t?[t]:[]}function xc(t){return typeof t!="string"||t.trim()===""}function hD(t,e){const i=sD(t);return dD(i[e]).some(n=>n.type==="category")}function Nn(t,e,i){return{type:"string",validator(n,u,a){if(hD(t.optionJson,e)&&xc(u)){a(i);return}a()}}}function wa(t){return{type:"array",validator(e,i,n){if(!Array.isArray(i)||i.length===0||i.some(u=>xc(u==null?void 0:u.valueField))){n(t);return}n()}}}function Ln(){return{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class $n extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.formBind=new z_(e==null?void 0:e.formBind),this.fillBack=new ao(e==null?void 0:e.fillBack)}}$n.Rules=yD;class zt extends p{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return l("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vD extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Nc={Designer:zt,Runtime:vD,Property:$n};class mD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())}}}class Hn extends ee{constructor(e){var i,n,u,a,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Gt.controlIcon,this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.fillBack=new ao(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ml(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Hn.Rules=mD;class Gt extends p{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return l("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class fD extends ue{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lc={Designer:Gt,Runtime:fD,Property:Hn};class gD extends U{constructor(e){super(e)}}class bD extends Ne{constructor(e){super(e)}}class Kt extends q{constructor(e){super(e)}}Kt.Rules=gD,Kt.RuntimeRules=bD;class $c extends k{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return l("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}$c.setting=[];class CD extends W{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Hc={Designer:$c,Runtime:CD,Property:Kt};class _D extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:l("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends q{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}Vn.Rules=_D;class Vc extends k{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return l("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Vc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class ED extends W{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var qc={Designer:Vc,Runtime:ED,Property:Vn};class ID extends U{constructor(e){super(e),this.seriesConfig=wa(l("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",l("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",l("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const DD={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"bar",data:[120,200,150,80,70,110,130]}]};class qn extends q{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Wn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(d=e==null?void 0:e.isHide)!=null?d:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"bar-basic",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:JSON.stringify(DD,null,2),this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new j(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(f=e==null?void 0:e.seriesConfig)!=null?f:[]}}qn.Rules=ID;class Wn extends k{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlName(){return l("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconBarchart"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}Wn.controlEventKeys=["on_chart_change"],Wn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:l("CMD.d6d01777541754654"),default:"default",options:[{value:"bar-basic",label:l("CMD.50c71777541662435")},{value:"bar-background",label:l("CMD.29961777541608579")},{value:"bar-waterfall",label:l("CMD.0de61777541732843")},{value:"bar-alternating",label:l("CMD.15241777541626614")},{value:"bar-multi-y",label:l("CMD.12c91777541629189")},{value:"bar-stacked",label:l("CMD.30e11777541664430")},{value:"bar-stacked-rounded",label:l("CMD.44721777541599841")},{value:"bar-stacked-horizontal",label:l("CMD.6f651777541666780")},{value:"bar-positive-negative",label:l("CMD.95b31777541669068")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class BD extends W{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var Wc={Designer:Wn,Runtime:BD,Property:qn};class wD extends U{constructor(e){super(e),this.seriesConfig=wa(l("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",l("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",l("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const AD={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"line",data:[120,200,150,80,70,110,130]}]};class jn extends q{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Un.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(d=e==null?void 0:e.isHide)!=null?d:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"line-basic",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:JSON.stringify(AD,null,2),this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new j(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(f=e==null?void 0:e.seriesConfig)!=null?f:[]}}jn.Rules=wD;class Un extends k{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return l("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconLinechart"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}Un.controlEventKeys=["on_chart_change"],Un.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:l("CMD.e89a1777541754655"),default:"line-basic",options:[{value:"line-basic",label:l("CMD.9bf11777541671154")},{value:"line-smooth",label:l("CMD.50231777541632244")},{value:"line-area",label:l("CMD.bad61777541673203")},{value:"line-stacked",label:l("CMD.8e651777541675555")},{value:"line-stacked-area",label:l("CMD.a75e1777541677634")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class TD extends W{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var jc={Designer:Un,Runtime:TD,Property:jn};const FD={tooltip:{trigger:"item"},legend:{top:"bottom"},series:[{type:"pie",radius:["40%","70%"],itemStyle:{borderRadius:10},data:[{value:1048,name:l("CMD.31801777541696784")},{value:735,name:l("CMD.30781777541698808")},{value:580,name:l("CMD.53ce1777541700854")},{value:484,name:l("CMD.aab91777541703228")},{value:300,name:l("CMD.cb9d1777541704940")}]}],grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}};class SD extends U{constructor(e){super(e),this.seriesConfig=wa(l("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5"))}}class zn extends q{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Gn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(d=e==null?void 0:e.isHide)!=null?d:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"pie-rounded-ring",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:JSON.stringify(FD,null,2),this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new j(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.seriesConfig=(b=e==null?void 0:e.seriesConfig)!=null?b:[]}}zn.Rules=SD;class Gn extends k{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return l("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconPiechart"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Gn.controlEventKeys=["on_chart_change"],Gn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:l("CMD.f5361777541754658"),default:"default",options:[{value:"pie-rounded-ring",label:l("CMD.81a51777541679974")},{value:"pie-ring",label:l("CMD.a4281777541734255")},{value:"pie-half-ring",label:l("CMD.24b41777541692257")},{value:"pie-gap",label:l("CMD.5ce91777541640370")},{value:"pie-rose",label:l("CMD.3f911777541602899")},{value:"pie-texture",label:l("CMD.13a21777541694793")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class PD extends W{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var Uc={Designer:Gn,Runtime:PD,Property:zn};class OD extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:l("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Kn extends q{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(a=>new hE(a)))!=null?u:[]}}Kn.Rules=OD;class zc extends k{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return l("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}zc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kD extends W{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Gc={Designer:zc,Runtime:kD,Property:Kn};class RD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:l("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends ee{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:_t.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:_t.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new Q(g)))!=null?m:[]}}Qn.Rules=RD;class _t extends p{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return l("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class MD extends ue{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Kc={Designer:_t,Runtime:MD,Property:Qn};class xD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends ee{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Et.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new Q(g)))!=null?m:[]}}Zn.Rules=xD;class Et extends p{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return l("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ND extends ue{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qc={Designer:Et,Runtime:ND,Property:Zn};class LD extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:l("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Xn extends ee{constructor(e){var i,n,u,a,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new gc(c)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Xn.Rules=LD;class It extends p{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return l("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click","on_click_finish"],It.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class $D extends ue{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Zc={Designer:It,Runtime:$D,Property:Xn};class Aa extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return l("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class HD extends ue{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xc={Designer:Dt,Runtime:HD,Property:Aa};class VD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Jn extends q{constructor(e){var i,n,u,a,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Jn.Rules=VD;class Yn extends k{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return l("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Yn.controlEventKeys=["on_click"],Yn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qD extends W{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Jc={Designer:Yn,Runtime:qD,Property:Jn};class Ta extends q{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class Bt extends k{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return l("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class WD extends W{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yc={Designer:Bt,Runtime:WD,Property:Ta};class jD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class pn extends q{constructor(e){var i,n,u,a,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:eu.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(r=new ha(e==null?void 0:e.actionSetting))!=null?r:new ha,this.listHeightSetting=(c=new ya(e==null?void 0:e.listHeightSetting))!=null?c:new ya}}pn.Rules=jD;class eu extends k{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return l("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}eu.controlEventKeys=["on_list_rowclick"],eu.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class UD extends W{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var pc={Designer:eu,Runtime:UD,Property:pn};class Fa extends q{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class es extends k{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return l("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}es.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class zD extends W{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var ts={Designer:es,Runtime:zD,Property:Fa},GD=Object.freeze({__proto__:null,Text:Ec,Link:Ic,Iframe:Bc,Button:wc,Divider:Tc,Title:Fc,CreateFormListButton:Sc,BatchSubmissionListButton:Pc,SubmissionRecordListButton:Oc,ExportListButton:kc,ExportRecordListButton:Rc,ImportRecordListButton:Mc,FormSelectButton:Nc,ListSelectButton:Lc,Pagination:Hc,Dashboard:qc,BarChart:Wc,LineChart:jc,PieChart:Uc,ListViewSelect:Gc,TextOcrButton:Kc,InvoiceCheckButton:Qc,BatchPrintListButton:Zc,BatchPrintRecordListButton:Xc,OperationButton:Jc,BatchDeleteButton:Yc,ReferenceList:pc,CommentControl:ts});class KD extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class QD extends x{constructor(e){super(e),this.push({type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new ro(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:At.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(m=e==null?void 0:e.lineEllipsis)!=null?m:1}}wt.Rules=KD,wt.RuntimeRules=QD;class At extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}At.controlEventKeys=["on_change","on_input","on_focus","on_blur"],At.controlFieldType=C.VARCHAR,At.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class is extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}is.controlFieldType=C.VARCHAR;var ns={Designer:At,Runtime:is,Property:wt};class ZD extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:l("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class XD extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Qt extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(n=e==null?void 0:e.checkboxMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Zt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var D;(D=this.multistageFilling)==null||D.push(new Q(f))})),this.aiContentSearch=(I=e==null?void 0:e.aiContentSearch)!=null?I:!1}}Qt.Rules=ZD,Qt.RuntimeRules=XD;class Zt extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return l("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class us extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}us.controlFieldType=C.ARRAY;var ls={Designer:Zt,Runtime:us,Property:Qt};class Sa extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$e.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(a=e==null?void 0:e.showSearch)!=null?a:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(c=e==null?void 0:e.allowClear)!=null?c:!0,this.showCheckedStrategy=(d=e==null?void 0:e.showCheckedStrategy)!=null?d:"",this.saveCheckedStrategy=(s=e==null?void 0:e.saveCheckedStrategy)!=null?s:"CHILD",this.separator=(h=e==null?void 0:e.separator)!=null?h:"/",this.optionConfig=(m=e==null?void 0:e.optionConfig)!=null?m:"custom",this.datasourceBind=new en((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new en((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=(I=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new Q(D)))!=null?I:[],this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[]}}class $e extends F{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return l("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:l("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class as extends S{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}as.controlFieldType=C.VARCHAR;var rs={Designer:$e,Runtime:as,Property:Sa};class JD extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:l("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class YD extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},l(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Xt extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Jt.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(a=e==null?void 0:e.min)!=null?a:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(c=e==null?void 0:e.step)!=null?c:1,this.precision=(d=e==null?void 0:e.precision)!=null?d:0,this.controls=(s=e==null?void 0:e.controls)!=null?s:!0,this.controlPosition=(h=e==null?void 0:e.controlPosition)!=null?h:"both"}}Xt.Rules=JD,Xt.RuntimeRules=YD;class Jt extends F{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return l("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class os extends S{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"counter"}}os.controlFieldType=C.DECIMAL;var cs={Designer:Jt,Runtime:os,Property:Xt};class pD extends Le{constructor(e){super(e)}}class tu extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(n=e==null?void 0:e.radioMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Yt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(_=e==null?void 0:e.type)!=null?_:"default",this.isUseCustomColor=(E=e==null?void 0:e.isUseCustomColor)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var f;(f=this.multistageFilling)==null||f.push(new Q(I))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}tu.Rules=pD;class Yt extends F{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return l("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=C.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:l("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:l("CMD.a1171774579045618")},{value:"button",label:l("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ss extends S{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"radio"}}ss.controlFieldType=C.VARCHAR;var ds={Designer:Yt,Runtime:ss,Property:tu};class eB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:l("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},l(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(c=e==null?void 0:e.precision)!=null?c:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ei.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new ro(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(I=e==null?void 0:e.controlButtonPosition)!=null?I:"between",this.step=(f=e==null?void 0:e.step)!=null?f:1}}pt.Rules=eB,pt.RuntimeRules=tB;class ei extends F{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return l("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ei.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ei.controlFieldType=C.DECIMAL,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hs extends S{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"number"}}hs.controlFieldType=C.DECIMAL;var ys={Designer:ei,Runtime:hs,Property:pt};class iB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:l("CMD.5d051777541586591")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=l("CMD.5d051777541586591"),n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:l("CMD.03c61777541622820")})}}class nB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:l(i===void 0?"CMD.0ea31777541589957":n===void 0?"CMD.61eb1777541593375":"CMD.5d051777541586591")})}}class ti extends T{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ii.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(a=e==null?void 0:e.max)!=null?a:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(d=e==null?void 0:e.showMarks)!=null?d:!1,this.marks=de((s=e==null?void 0:e.marks)!=null?s:[])}}ti.Rules=iB,ti.RuntimeRules=nB;class ii extends F{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return l("CMD.7fa81777541762879")}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ii.controlEventKeys=["on_change"],ii.controlFieldType=C.DECIMAL,ii.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class vs extends S{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"slider"}}vs.controlFieldType=C.DECIMAL;var ms={Designer:ii,Runtime:vs,Property:ti};class uB extends z{constructor(e){super(e)}}class lB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ni extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ui.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(a=e==null?void 0:e.checkedText)!=null?a:l("CMD.f0301777541765473"),this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#4C78FC",this.uncheckedText=(d=e==null?void 0:e.uncheckedText)!=null?d:l("CMD.106d1777541766792"),this.uncheckedTextColor=(s=e==null?void 0:e.uncheckedTextColor)!=null?s:"#ffffff",this.uncheckedBackgroundColor=(h=e==null?void 0:e.uncheckedBackgroundColor)!=null?h:"#BFBFBF"}}ni.Rules=uB,ni.RuntimeRules=lB;class ui extends F{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return l("CMD.e11c1777541764390")}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}ui.controlEventKeys=["on_change"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:l("CMD.760c1777541720778"),default:0,options:[{value:1,label:l("CMD.f48b1777541765472")},{value:0,label:l("CMD.4a541777541766791")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:l("CMD.478a1777541651375"),default:"inside",options:[{value:"inside",label:l("CMD.e7ef1777541748888")},{value:"outside",label:l("CMD.38711777541750404")}]},{key:"common-group",visible:!0,label:l("CMD.35f21777541706717"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:l("CMD.9a801777541722584")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:l("CMD.d1da1777541653501")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:l("CMD.4e821777541655793")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:l("CMD.886f1777541724447")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:l("CMD.93231777541658161")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:l("CMD.04e91777541660486")}]},{key:"super-setting",visible:!0}];class fs extends S{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"switch"}}fs.controlFieldType=C.DECIMAL;var gs={Designer:ui,Runtime:fs,Property:ni};class aB extends Le{constructor(e){super(e)}}class rB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class li extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:[],this.size=(r=e==null?void 0:e.size)!=null?r:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(d=e==null?void 0:e.color)!=null?d:"default",this.optionConfig=(s=e==null?void 0:e.optionConfig)!=null?s:"custom",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.forEach(m=>{var g;(g=this.multistageFilling)==null||g.push(new Q(m))}))}}li.Rules=aB,li.RuntimeRules=rB;class ai extends F{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return l("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}ai.controlEventKeys=["on_click"],ai.controlFieldType=C.ARRAY,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:l("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:l("CMD.88fc1777541775429")},{value:"medium",label:l("CMD.f7b51777541776645")},{value:"small",label:l("CMD.6b7d1777541777847")}]},{key:"common-button-radio",visible:!0,name:"align",label:l("CMD.dc011777541726235"),default:"left",tip:l("CMD.1e6c1777541596761"),options:[{value:"left",label:l("CMD.e29a1777541743101")},{value:"center",label:l("CMD.f0c51777541758749")},{value:"right",label:l("CMD.b69e1777541744540")}]},{key:"common-select",visible:!0,name:"color",label:l("CMD.8fc41777541768092"),default:"default",options:[{value:"default",label:l("CMD.8fc41777541768092")},{value:"success",label:l("CMD.4ad61777541769394")},{value:"processing",label:l("CMD.d74b1777541751881")},{value:"error",label:l("CMD.64911777541770890")},{value:"warning",label:l("CMD.b6eb1777541772158")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bs extends S{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"tag"}}bs.controlFieldType=C.ARRAY;var Cs={Designer:ai,Runtime:bs,Property:li};class oB extends z{constructor(e){super(e)}}class cB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ri extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:l("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(a=e==null?void 0:e.codeHeight)!=null?a:80,this.codeWidth=(r=e==null?void 0:e.codeWidth)!=null?r:1,this.codeMargin=(c=e==null?void 0:e.codeMargin)!=null?c:0,this.barcodeColor=(d=e==null?void 0:e.barcodeColor)!=null?d:"#000000",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.displayValue=(h=e==null?void 0:e.displayValue)!=null?h:!1}}ri.Rules=oB,ri.RuntimeRules=cB;class oi extends F{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return l("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:l("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:l("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:l("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:l("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:l("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:l("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:l("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:l("CMD.c1fb1777541756177")},{value:"#001F3F",label:l("CMD.c5de1777541714576")},{value:"#004225",label:l("CMD.91211777541716842")},{value:"#4A0404",label:l("CMD.49421777541738691")},{value:"#2F2F2F",label:l("CMD.99701777541740192")},{value:"#1A237E",label:l("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:l("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:l("CMD.70c61777541743098")},{value:"center",label:l("CMD.41551777541758747")},{value:"right",label:l("CMD.1fc91777541744537")}]}]},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"barcode"}}_s.controlFieldType=C.VARCHAR;var Es={Designer:oi,Runtime:_s,Property:ri};class sB extends z{constructor(e){super(e)}}class dB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ci extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:si.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(a=e==null?void 0:e.errorCorrectionLevel)!=null?a:"M",this.codeMode=(r=e==null?void 0:e.codeMode)!=null?r:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(d=e==null?void 0:e.codeMargin)!=null?d:0,this.qrColor=(s=e==null?void 0:e.qrColor)!=null?s:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left"}}ci.Rules=sB,ci.RuntimeRules=dB;class si extends F{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return l("CMD.034d1777541747382")}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}si.controlEventKeys=["on_change"],si.controlFieldType=C.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:l("CMD.48ab1777541706716"),children:[{key:"common-select",visible:!0,name:"qrVersion",label:l("CMD.9f5f1777541682089"),default:"auto",options:[{value:"auto",label:l("CMD.43211777541760099")},{value:"1",label:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:l("CMD.a9b81777541718919"),default:"M",options:[{value:"L",label:l("CMD.3e9b1777541634899")},{value:"M",label:l("CMD.bc7a1777541617060")},{value:"Q",label:l("CMD.3ce71777541620174")},{value:"H",label:l("CMD.b5841777541605769")}]},{key:"common-select",visible:!0,name:"codeMode",label:l("CMD.ae891777541761573"),default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:l("CMD.dd381777541646923")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:l("CMD.71a11777541645070")}]},{key:"common-group",visible:!0,label:l("CMD.523e1777541710452"),children:[{key:"common-select",visible:!0,name:"qrColor",label:l("CMD.41081777541683947"),default:"#000000",options:[{value:"#000000",label:l("CMD.a5211777541756178")},{value:"#001F3F",label:l("CMD.18241777541714577")},{value:"#004225",label:l("CMD.cb4e1777541716843")},{value:"#4A0404",label:l("CMD.e0d51777541738692")},{value:"#2F2F2F",label:l("CMD.98df1777541740192")},{value:"#1A237E",label:l("CMD.9e1f1777541741805")}]},{key:"common-button-radio",visible:!0,name:"align",label:l("CMD.d82e1777541757479"),default:"left",options:[{value:"left",label:l("CMD.2e381777541743100")},{value:"center",label:l("CMD.262c1777541758748")},{value:"right",label:l("CMD.c4ee1777541744538")}]}]},{key:"super-setting",visible:!0}];class Is extends S{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Is.controlFieldType=C.VARCHAR;var Ds={Designer:si,Runtime:Is,Property:ci};class Pa extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:iu.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:l("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(I=>new Sn(I)))!=null?h:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1,this.isShowCustomDateFormat=(E=e==null?void 0:e.isShowCustomDateFormat)!=null?E:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class iu extends F{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return l("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}iu.controlFieldType=C.TIMESTAMP,iu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bs extends S{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Bs.controlFieldType=C.TIMESTAMP;var ws={Designer:iu,Runtime:Bs,Property:Pa};class hB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class nu extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:l("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:l("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:uu.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(E=>new Sn(E)))!=null?g:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}nu.RuntimeRules=hB;class uu extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}uu.controlFieldType=C.TIMESCOPE,uu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends S{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}As.controlFieldType=C.TIMESCOPE;var Ts={Designer:uu,Runtime:As,Property:nu};class Oa extends T{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:lu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:l("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(d=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(h=>new ra(h)))!=null?d:[],this.isInternational=(s=e==null?void 0:e.isInternational)!=null?s:!1}}class lu extends F{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return l("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}lu.controlFieldType=C.TIMESTAMP,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fs extends S{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Fs.controlFieldType=C.TIMESTAMP;var Ss={Designer:lu,Runtime:Fs,Property:Oa};class yB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class au extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:l("CMD.be931774579000687"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:l("CMD.0a501774579002398"),this.caption=(d=e==null?void 0:e.caption)!=null?d:ru.controlName,this.limitTimeList=(h=(s=e==null?void 0:e.limitTimeList)==null?void 0:s.map(g=>new ra(g)))!=null?h:[],this.isInternational=(m=e==null?void 0:e.isInternational)!=null?m:!1}}au.RuntimeRules=yB;class ru extends F{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return l("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}ru.controlFieldType=C.TIMESCOPE,ru.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:l("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:l("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends S{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Ps.controlFieldType=C.TIMESCOPE;var Os={Designer:ru,Runtime:Ps,Property:au};class vB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class mB extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class di extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new W_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=co((s=e==null?void 0:e.aiOptions)!=null?s:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(m=e==null?void 0:e.lineEllipsis)!=null?m:1}}di.Rules=vB,di.RuntimeRules=mB;class hi extends F{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return l("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hi.controlFieldType=C.TEXT,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ks extends S{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ks.controlFieldType=C.TEXT;var Rs={Designer:hi,Runtime:ks,Property:di};class fB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class gB extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:l("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class yi extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:vi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(d=e==null?void 0:e.aiContentSearch)!=null?d:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=co((h=e==null?void 0:e.aiOptions)!=null?h:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(m=e==null?void 0:e.autoHeight)!=null?m:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}yi.Rules=fB,yi.RuntimeRules=gB;class vi extends F{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return l("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}vi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],vi.controlFieldType=C.TEXT,vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:l("CMD.131c1777541649034"),min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ms.controlFieldType=C.TEXT;var xs={Designer:vi,Runtime:Ms,Property:yi};class bB extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ou extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:cu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var b;(b=this.multistageFilling)==null||b.push(new Q(E))})),this.canViewForm=(m=e==null?void 0:e.canViewForm)!=null?m:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}ou.Rules=bB;class cu extends F{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return l("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}cu.controlFieldType=C.VARCHAR,cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:l("CMD.de501774578997633"),default:"default",options:[{value:"default",label:l("CMD.10a31774579045620")},{value:"button",label:l("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ns extends S{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"select"}}Ns.controlFieldType=C.VARCHAR;var Ls={Designer:cu,Runtime:Ns,Property:ou};class CB extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class _B extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mi extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:su.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.type=(s=e==null?void 0:e.type)!=null?s:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new Q(_))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}mi.Rules=CB,mi.RuntimeRules=_B;class su extends F{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return l("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}su.controlFieldType=C.ARRAY,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:l("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:l("CMD.6e971774579045621")},{value:"button",label:l("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $s extends S{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}$s.controlFieldType=C.ARRAY;var Hs={Designer:su,Runtime:$s,Property:mi};class EB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class du extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:hu.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new Q(m))}))}}du.RuntimeRules=EB;class hu extends F{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}hu.controlFieldType=C.EMPLOYEES,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Vs extends S{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vs.controlFieldType=C.EMPLOYEES;var qs={Designer:hu,Runtime:Vs,Property:du};const IB=10485760,DB=104857600,BB=1048576e3;class wB extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:BB,message:l("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class AB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:l("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Tt extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:DB,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ft.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:l("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(_=e==null?void 0:e.operation)!=null?_:["info","preview","download"],this.aiExplanation=(E=e==null?void 0:e.aiExplanation)!=null?E:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(I=e==null?void 0:e.storageType)!=null?I:"local",this.customOperation=(f=e==null?void 0:e.customOperation)!=null?f:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}Tt.Rules=wB,Tt.RuntimeRules=AB;class Ft extends F{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return l("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ka extends S{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ka.controlFieldType=C.FILE;var Ws={Designer:Ft,Runtime:ka,Property:Tt};const TB=10485760,FB=31457280;class SB extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:FB,message:l("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class yu extends Tt{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:vu.controlName)!=null?u:l("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:l("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:fa.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:TB}}yu.Rules=SB;class vu extends Ft{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return l("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}vu.controlFieldType=C.IMAGE,vu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-input",visible:!0,name:"describe",label:l("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class PB extends ka{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"image"}}var js={Designer:vu,Runtime:PB,Property:yu};class OB extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:l("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class kB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Tr(lt({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},l(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class fi extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new lE(e==null?void 0:e.dataBind),this.datasourceBind=new j((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new yl({value:"name"})]}),this.defaultValue=new aE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:sE.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=de(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:gi.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}fi.Rules=OB,fi.RuntimeRules=kB;class gi extends F{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return l("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}gi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gi.controlFieldType=C.MONEY,gi.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Us extends S{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"amount"}}Us.controlFieldType=C.MONEY;var zs={Designer:gi,Runtime:Us,Property:fi};class RB extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:l("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:l("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:l("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=l("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class MB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:l("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bi extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:oa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(m=>new Pn(m)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ci.controlName,this.explainColor=(s=e==null?void 0:e.explainColor)!=null?s:"primary",this.isShowCurrentScore=(h=e==null?void 0:e.isShowCurrentScore)!=null?h:!1}}bi.Rules=RB,bi.RuntimeRules=MB;class Ci extends F{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return l("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Pn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Ci.controlEventKeys=["on_change","on_click"],Ci.controlFieldType=C.DECIMAL,Ci.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:l("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:l("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gs extends S{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"score"}}Gs.controlFieldType=C.DECIMAL;var Ks={Designer:Ci,Runtime:Gs,Property:bi};class xB extends x{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:l("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:l("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:l("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:l("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class mu extends T{constructor(e){var i,n,u,a,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:fu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["country","province","city","district"],this.defaultValue=new rE((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:l("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}mu.RuntimeRules=xB;class fu extends F{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlName(){return l("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}fu.controlFieldType=C.ADDRESS,fu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qs extends S{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlName(){return l("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Qs.controlFieldType=C.ADDRESS;var Zs={Designer:fu,Runtime:Qs,Property:mu};class NB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gu extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:_i.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new Q(_))}))}}gu.RuntimeRules=NB;class _i extends F{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}_i.controlName=l("CMD.department",null,"\u90E8\u95E8"),_i.controlFieldType=C.DEPARTMENTS,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xs extends S{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"department"}}Xs.controlFieldType=C.DEPARTMENTS;var Js={Designer:_i,Runtime:Xs,Property:gu};class Ra extends T{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ei.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:l("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class Ei extends F{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Ei.controlEventKeys=["on_change"],Ei.controlFieldType=C.AUTO_NUMBER,Ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ys extends S{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ys.controlFieldType=C.AUTO_NUMBER;var ps={Designer:Ei,Runtime:Ys,Property:Ra};class LB extends z{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class $B extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Ii extends T{constructor(e){var i,n,u,a,r,c,d,s,h;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new oE(e==null?void 0:e.dataBind),this.defaultValue=new cE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Di.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}Ii.Rules=LB,Ii.RuntimeRules=$B;class Di extends F{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return l("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Di.controlEventKeys=["on_change"],Di.controlFieldType=C.CALC,Di.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ed extends S{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"calc"}}ed.controlFieldType=C.CALC;var td={Designer:Di,Runtime:ed,Property:Ii};class HB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(a=>!a)?Promise.reject(l("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class bu extends T{constructor(e){var i,n,u,a,r,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:l("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:l("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(c=e==null?void 0:e.caption)!=null?c:Cu.controlName}}bu.RuntimeRules=HB;class Cu extends F{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return l("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Cu.controlFieldType=C.DECIMAL_RANGE,Cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class id extends S{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}id.controlFieldType=C.DECIMAL_RANGE;var nd={Designer:Cu,Runtime:id,Property:bu};class VB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class _u extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(c=e==null?void 0:e.rangeMin)!=null?c:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:l("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:l("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Eu.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Sn(b)))!=null?_:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}_u.RuntimeRules=VB;class Eu extends F{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Eu.controlFieldType=C.ARRAY,Eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ud extends S{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ud.controlFieldType=C.ARRAY;var ld={Designer:Eu,Runtime:ud,Property:_u};class qB extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class WB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Bi extends T{constructor(e){var i,n,u,a,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:St.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Bi.Rules=qB,Bi.RuntimeRules=WB;class St extends F{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return l("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Or.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ad extends S{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ad.controlFieldType=C.ANY;var rd={Designer:St,Runtime:ad,Property:Bi};class jB extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Iu extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:wi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new ml(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Q(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1,this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!1}}Iu.Rules=jB;class wi extends F{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlName(){return l("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}wi.controlFieldType=C.VARCHAR,wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],wi.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class od extends S{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}od.controlFieldType=C.VARCHAR;var cd={Designer:wi,Runtime:od,Property:Iu};class Ma extends wt{constructor(e){super(e)}}class sd extends At{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}sd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class dd extends S{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"search-input"}}dd.controlFieldType=C.VARCHAR;var hd={Designer:sd,Runtime:dd,Property:Ma};class UB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ln.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:l("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class zB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ai extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D,A,O,M;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new en((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new en((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(f=e==null?void 0:e.defaultDisplay)!=null?f:!1,this.multistageFilling=(A=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Q(te)))!=null?A:[],this.defaultValue=(O=e==null?void 0:e.defaultValue)!=null?O:[],this.treeQuery=(M=e==null?void 0:e.treeQuery)!=null?M:[]}}Ai.Rules=UB,Ai.RuntimeRules=zB;class Me extends F{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return l("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:l("CMD.33ee1751712159752"),required:!0}]}}Me.controlEventKeys=["on_change","on_click","on_tree_search"],Me.controlFieldType=C.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yd extends S{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tree"}}yd.controlFieldType=C.ARRAY;var vd={Designer:Me,Runtime:yd,Property:Ai};class GB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ln.call(this,e,He.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:l("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class KB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ti extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pi((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:He.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ma.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Re.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(I=e==null?void 0:e.mainDeptFlag)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var A;(A=this.multistageFilling)==null||A.push(new Q(D))})),this.defaultShowOptions=(f=e==null?void 0:e.defaultShowOptions)!=null?f:!1}}Ti.Rules=GB,Ti.RuntimeRules=KB;class He extends F{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.ffd71751712162321"),required:!0}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class md extends S{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"employee2"}}md.controlFieldType=C.EMPLOYEES;var fd={Designer:He,Runtime:md,Property:Ti};class QB extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:l("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((i,n,u)=>(i[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,r,c){if(n.type==="public"&&Zi(r.value)&&r.value.length===0){c(l("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(a,r,c){if((n==null?void 0:n.signaturePosition)==="index"&&Zi(r.value)&&r.value.length===0){c(l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(a,r,c){if(n.type==="public"&&n.signatureType.includes("company")&&Zi(r.value)&&r.value.length===0){c(l("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Du extends T{constructor(e){var i,n,u,a,r,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:l("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new dc(e==null?void 0:e.signatureConfig)}}Du.Rules=QB;class Fi extends F{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return l("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Fi.controlEventKeys=["on_click","on_click_finish"],Fi.controlFieldType=C.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class gd extends S{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}gd.controlFieldType=C.VARCHAR;var bd={Designer:Fi,Runtime:gd,Property:Du};class ZB extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:l("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(l("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(l("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(l("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class XB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Si extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Pi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:l("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:IB,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new hc(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Si.Rules=ZB,Si.RuntimeRules=XB;class Pi extends F{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return l("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Pi.controlEventKeys=["on_change","on_wps_open"],Pi.controlFieldType=C.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Cd extends S{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"wps"}}Cd.controlFieldType=C.FILE;var _d={Designer:Pi,Runtime:Cd,Property:Si};class JB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Ve.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class YB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D,A;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ve.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pi((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:On.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(O=>{var M;(M=this.multistageFilling)==null||M.push(new Q(O))})),this.defaultShowOptions=(f=e==null?void 0:e.defaultShowOptions)!=null?f:!1,this.disabledSelectedFilters=(A=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(O=>O.children!==void 0?new Yi(O):new $t(O)))!=null?A:[]}}Oi.Rules=JB,Oi.RuntimeRules=YB;class Ve extends F{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ve.controlName=l("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ed extends S{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department2"}}Ed.controlFieldType=C.DEPARTMENTS;var Id={Designer:Ve,Runtime:Ed,Property:Oi};class pB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Pt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class ew extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends T{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D,A;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Pt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:l("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new nE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Pt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:On.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(f=e==null?void 0:e.organizationView)!=null?f:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new ml(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(O=>{var M;(M=this.multistageFilling)==null||M.push(new Q(O))}))}}ki.Rules=pB,ki.RuntimeRules=ew;class Pt extends F{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return l("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Pt.controlFieldType=C.DEPARTMENTS,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Dd extends S{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Dd.controlFieldType=C.DEPARTMENTS;var Bd={Designer:Pt,Runtime:Dd,Property:ki};class tw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class iw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ri extends T{constructor(e){var i,n,u,a,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Mi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Ri.Rules=tw,Ri.RuntimeRules=iw;class Mi extends F{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return l("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return w.VUE_PAGE}}Mi.controlFieldType=C.ANY,Mi.controlEventKeys=[],Mi.setting=[];class wd extends S{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return w.VUE_PAGE}}wd.controlFieldType=C.ANY;var Ad={Designer:Mi,Runtime:wd,Property:Ri},nw=Object.freeze({__proto__:null,Input:ns,Checkbox:ls,Cascader:rs,Counter:cs,Radio:ds,Number:ys,Slider:ms,Switch:gs,Tag:Cs,Barcode:Es,QrCode:Ds,DatePicker:ws,DateRange:Ts,TimePicker:Ss,TimeRange:Os,Textarea:Rs,RichText:xs,Select:Ls,SelectMultiple:Hs,Employee:qs,Image:js,Attachment:Ws,Amount:zs,Score:Ks,Address:Zs,Department:Js,AutoNumber:ps,Calc:td,SearchNumberRange:nd,SearchDateRange:ld,VueFormItem:rd,SelectRelation:cd,SearchInput:hd,Tree:vd,Employee2:fd,ElectronicSignature:bd,WPS:_d,Department2:Id,OrganizationSelection:Bd,VuePage:Ad});class Td extends N{static get controlName(){return l("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Td.excludes=[w.GRID];class uw extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class lw extends R{constructor(e){super(e)}}var Fd={Designer:Td,Runtime:uw,Property:lw};const aw=24;class qe extends R{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:aw,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class xi extends N{constructor(e){super(e),this.props=new qe(e==null?void 0:e.props)}static get controlName(){return l("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}xi.excludes=[w.COL,w.SUBTABLE,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.DIVIDER],xi.childrenMaxLength=1;class xa extends ${constructor(e){super(e),this.props=new qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Sd={Designer:xi,Runtime:xa,Property:qe};class Bu extends R{constructor(e){var i,n,u,a,r;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(a=e==null?void 0:e.justify)!=null?a:"",this.padding=new EE(e==null?void 0:e.padding),this.margin=new _E(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class wu extends N{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return l("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}wu.excludes=[w.ROW],wu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Pd extends ${constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Od={Designer:wu,Runtime:Pd,Property:Bu};const rw=4;class Au extends wu{static get controlName(){return l("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Au.excludes=[w.GRID_ROW],Au.setting=[],Au.childrenMaxLength=rw;class ow extends Pd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class cw extends Bu{constructor(e){super(e)}}var kd={Designer:Au,Runtime:ow,Property:cw};class sw extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Tu extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:l("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(a=e==null?void 0:e.describe)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(c=e==null?void 0:e.captionType)!=null?c:"default",this.borderType=(d=e==null?void 0:e.borderType)!=null?d:"none",this.divider=(s=e==null?void 0:e.divider)!=null?s:"solid",this.triggerShadow=(h=e==null?void 0:e.triggerShadow)!=null?h:"never",this.type=(m=e==null?void 0:e.type)!=null?m:"default"}}Tu.Rules=sw;class Na extends N{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return l("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Na.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:l("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:l("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:l("CMD.6a321774579067900")},{value:"dotted",label:l("CMD.6bf61774579053844")},{value:"solid",label:l("CMD.1d291774579055379")}],tip:l("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:l("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:l("CMD.1ef01774579045622")},{value:"card",label:l("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:l("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:l("CMD.23f71774579023855")},{value:"center",label:l("CMD.ecb71774579037654")},{value:"right",label:l("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:l("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:l("CMD.1ef01774579045622")},{value:"warning",label:l("CMD.80581774579050943")},{value:"success",label:l("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:l("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:l("CMD.83e11774579028684")},{value:"dotted",label:l("CMD.6bf61774579053844")},{value:"solid",label:l("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:l("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:l("CMD.16b21774579011405")},{value:"hover",label:l("CMD.cef21774578966959")},{value:"always",label:l("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Na.excludes=[w.CARD_GROUP];class dw extends ${constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Rd={Designer:Na,Runtime:dw,Property:Tu};class hw extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:l("CMD.c7ee1777541686092")}}}class Fu extends R{constructor(e){var i,n,u,a,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:l("CMD.fbd81777541728197"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(u=e==null?void 0:e.captionFontWeight)!=null?u:ke.NORMAL,this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.backgroundColor=(r=e==null?void 0:e.backgroundColor)!=null?r:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Fu.Rules=hw;class La extends N{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return l("CMD.48611777541728194")}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}La.excludes=[],La.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:l("CMD.4b761777541729796"),default:"left",options:[{value:"left",label:l("CMD.321d1777541743102")},{value:"center",label:l("CMD.00281777541758750")},{value:"right",label:l("CMD.534c1777541744540")}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:l("CMD.22b11777541753145")},{key:"common-switch",visible:!0,name:"showShadow",label:l("CMD.238b1777541731433"),default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class yw extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var Md={Designer:La,Runtime:yw,Property:Fu};class vw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:l("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Su extends R{constructor(e){var i,n,u,a,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new j_(e==null?void 0:e.metaAutoWidth)}}Su.Rules=vw;class he extends N{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}he.controlName=l("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT,w.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class xd extends ${constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}xd.controlType="subtable-column";var Nd={Designer:he,Runtime:xd,Property:Su};class $a extends R{constructor(e){super(e)}}class We extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}}We.controlName=l("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),We.controlType="subtable-row",We.controlIcon="subtable-row",We.childrenMaxLength=1,We.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.SUBTABLE_ROW,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class mw extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ld={Designer:We,Runtime:mw,Property:$a};class Ha extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:at.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class je extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}je.controlName=l("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[w.GRID_TABLE,w.GRID_TABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],je.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class $d extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}$d.controlType="gridtable-column";var Hd={Designer:je,Runtime:$d,Property:Ha};class Va extends R{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class qa extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return l("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}qa.excludes=[w.GRID_LAYOUT_CONTAINER,w.CARD_GROUP,w.TAB],qa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class fw extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Vd={Designer:qa,Runtime:fw,Property:Va};class Wa extends R{constructor(e){var i,n,u,a,r;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(a=e==null?void 0:e.isLabelFlat)!=null?a:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class gw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Pu extends R{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName}}Pu.Rules=gw;class Ni extends N{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return l("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ni.excludes=[w.TAB],Ni.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class bw extends ${constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var qd={Designer:Ni,Runtime:bw,Property:Pu};class Li extends N{constructor(e){var i;super(e),this.props=new Wa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ni,new Ni]}static get controlName(){return l("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Li.excludes=[w.TAB],Li.controlEventKeys=["on_change_tab"],Li.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:l("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:l("CMD.4b041774579045624")},{value:"card",label:l("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:l("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:l("CMD.1efb1774579069467")},{value:"bottom",label:l("CMD.24c01774579070698")},{value:"left",label:l("CMD.13f41774579072043")},{value:"right",label:l("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:l("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:l("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class Cw extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Wd={Designer:Li,Runtime:Cw,Property:Wa};class jd extends R{constructor(e){super(e)}}class Ud extends N{constructor(e){super(e),this.props=new jd({}),this.children=(e==null?void 0:e.children)||[new xi({props:new qe({span:12})}),new xi({props:new qe({span:12})})]}static get controlName(){return l("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ud.excludes=[w.GRID_ROW,w.ROW,w.GRID,w.SUBTABLE,w.TAB,w.TOOLBOX];class _w extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new xa({props:new qe({span:12})}),new xa({props:new qe({span:12})})]}}var zd={Designer:Ud,Runtime:_w,Property:jd};class Ew extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Iw extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:l("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:l("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Sl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class $i extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b;super(e),this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Q_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new X_(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new gE(e==null?void 0:e.rowStyle),this.isTreeData=(E=e==null?void 0:e.isTreeData)!=null?E:!1,this.treeData=new bE(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new CE(e==null?void 0:e.masterDetail)}}$i.Rules=Iw,$i.RuntimeRules=Ew;class Hi extends N{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return l("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hi.slotPosition={left:"list-view-left-slot"},Hi.excludes=[w.ROW],Hi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Hi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Dw extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Gd={Designer:Hi,Runtime:Dw,Property:$i};class Bw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ou extends R{constructor(e){var i,n,u,a,r,c,d;super(e),this.save=new we((i=e==null?void 0:e.save)!=null?i:{content:l("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new we((n=e==null?void 0:e.cancel)!=null?n:{content:l("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new we((u=e==null?void 0:e.saveAs)!=null?u:{content:l("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new we((a=e==null?void 0:e.print)!=null?a:{content:l("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new we(s)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(d=e==null?void 0:e.processFormReadonlyControlMode)!=null?d:"disabled"}}Ou.RuntimeRules=Bw;class Kd extends N{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return l("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Kd.excludes=[];class ww extends ${constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Qd={Designer:Kd,Runtime:ww,Property:Ou};class Aw extends N{static get controlName(){return l("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Tw extends ${static get controlType(){return"page"}constructor(e){super(e)}}class Fw extends R{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Zd={Designer:Aw,Runtime:Tw,Property:Fw};class Sw extends N{static get controlName(){return l("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Pw extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ow extends R{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bc(e==null?void 0:e.flexConfig)}}var Xd={Designer:Sw,Runtime:Pw,Property:Ow};class kw extends N{static get controlName(){return l("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Rw extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Mw extends R{constructor(e){super(e)}}var Jd={Designer:kw,Runtime:Rw,Property:Mw};class xw extends N{static get controlName(){return l("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Nw extends ${static get controlType(){return"position"}constructor(e){super(e)}}class Lw extends R{constructor(e){var i,n,u,a;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Yd={Designer:xw,Runtime:Nw,Property:Lw};class ja extends R{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ku extends N{constructor(e){var i;super(e),this.props=new ja((i=e==null?void 0:e.props)!=null?i:{})}static get controlName(){return l("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ku.slotPosition={default:"action-bar-slot"},ku.excludes=[],ku.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class $w extends ${constructor(e){var i;super(e),this.props=new ja((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var pd={Designer:ku,Runtime:$w,Property:ja};class Ua extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(c=e==null?void 0:e.step)!=null?c:"",this.isCenter=(d=e==null?void 0:e.isCenter)!=null?d:!1,this.isStopStepClick=(s=e==null?void 0:e.isStopStepClick)!=null?s:!0,this.status=(h=e==null?void 0:e.status)!=null?h:"process",this.stopStatus=(m=e==null?void 0:e.stopStatus)!=null?m:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new BE(e==null?void 0:e.stepButtons)}}class za extends R{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(c=e==null?void 0:e.status)!=null?c:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Ot extends N{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return l("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Ot.excludes=[w.TAB],Ot.setting=[];class Hw extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var eh={Designer:Ot,Runtime:Hw,Property:za};class Ru extends N{constructor(e){var i;super(e),this.props=new Ua(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ot,new Ot,new Ot]}static get controlName(){return l("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Ru.excludes=[],Ru.controlEventKeys=["on_change_steps"],Ru.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:l("CMD.924f1774579018766"),default:!1,tip:l("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:l("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:l("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:l("CMD.69fe1774579059983")},{value:"process",label:l("CMD.0d9e1774579031802")},{value:"finish",label:l("CMD.b1021774579061754")},{value:"error",label:l("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:l("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:l("CMD.69fe1774579059983")},{value:"process",label:l("CMD.0d9e1774579031802")},{value:"finish",label:l("CMD.b1021774579061754")},{value:"error",label:l("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class Vw extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"step"}}var th={Designer:Ru,Runtime:Vw,Property:Ua};class Ga extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(c=e==null?void 0:e.isLabelBold)!=null?c:!1,this.labelWidth=(d=e==null?void 0:e.labelWidth)!=null?d:"",this.align=(s=e==null?void 0:e.align)!=null?s:"",this.verticalAlign=(h=e==null?void 0:e.verticalAlign)!=null?h:"center",this.padding=(m=e==null?void 0:e.padding)!=null?m:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(_=e==null?void 0:e.border)!=null?_:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(E=e==null?void 0:e.borderRadius)!=null?E:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(I=e==null?void 0:e.innerBorder)!=null?I:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ka extends N{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return l("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ka.excludes=[],Ka.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class qw extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var ih={Designer:Ka,Runtime:qw,Property:Ga};class Qa extends R{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Za extends N{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return l("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Za.excludes=[w.ROW,w.TABLE_LAYOUT_ROW],Za.setting=[{key:"col-setting",visible:!0}];class Ww extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var nh={Designer:Za,Runtime:Ww,Property:Qa};const jw=24;class Xa extends R{constructor(e){var i,n,u,a,r,c,d,s,h,m;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:jw,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(c=e==null?void 0:e.flexDirection)!=null?c:"column",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start",this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(m=e==null?void 0:e.isLabelCol)!=null?m:!1}}class Ja extends N{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return l("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Ja.excludes=[w.COL,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.TABLE_LAYOUT_COL],Ja.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class Uw extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var uh={Designer:Ja,Runtime:Uw,Property:Xa};class Ya extends R{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class pa extends N{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return l("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}pa.excludes=[],pa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class zw extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var lh={Designer:pa,Runtime:zw,Property:Ya};class er extends R{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class tr extends R{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:l("CMD.08411774579056771")}}class Vi extends N{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return l("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vi.excludes=[w.TAB],Vi.setting=[];class Gw extends ${constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var ah={Designer:Vi,Runtime:Gw,Property:tr};class Mu extends N{constructor(e){var i;super(e),this.props=new er(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return l("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Mu.excludes=[],Mu.controlEventKeys=["on_change_collapse"],Mu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:l("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:l("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:l("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class Kw extends ${constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var rh={Designer:Mu,Runtime:Kw,Property:er},Qw=Object.freeze({__proto__:null,Grid:Fd,Col:Sd,Row:Od,GridRow:kd,CardGroup:Rd,BlankContainer:Md,SubTableColumn:Nd,SubTableRow:Ld,GridTableColumn:Hd,GridLayoutContainer:Vd,Tab:Wd,TabPane:qd,Toolbox:zd,ListView:Gd,DataView:Qd,Page:Zd,AdvancedContainer:Xd,PositioningContainer:Jd,Position:Yd,ActionBar:pd,Step:th,StepPane:eh,TableLayout:ih,TableLayoutRow:nh,TableLayoutCol:uh,TableLayoutWrapper:lh,Collapse:rh,CollapsePane:ah});class Zw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:l("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:l("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:l("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Xw extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:l("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,n,u){n.length<e.limitRows&&u(l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const oh=class extends fn{constructor(t,e){var i,n,u,a,r,c,d,s,h,m,g,_,E,b,I,f,D,A,O,M,te,V,le,Ui,Ee,Ku,zi,kt,Ie,xh,Nh,Lh,$h,Hh,Vh;super(t,e,oh.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:Wi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:fc,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(f=e==null?void 0:e.canEdit)!=null?f:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(A=e==null?void 0:e.canExport)!=null?A:!1,this.canClear=(O=e==null?void 0:e.canClear)!=null?O:!0,this.serverPagination=(M=e==null?void 0:e.serverPagination)!=null?M:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Ui=e==null?void 0:e.mobileDefaultNum)!=null?Ui:10,this.dataStorageDoc=(Ee=e==null?void 0:e.dataStorageDoc)!=null?Ee:new U_,this.fixedColumn=(Ku=e==null?void 0:e.fixedColumn)!=null?Ku:[],this.mobileRowCaption=(zi=e==null?void 0:e.mobileRowCaption)!=null?zi:l("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(kt=e==null?void 0:e.mobileIsTile)!=null?kt:!1,this.isPaste=(Ie=e==null?void 0:e.isPaste)!=null?Ie:!1,this.pageSize=(xh=e==null?void 0:e.pageSize)!=null?xh:10,this.pageSizeOptions=(Nh=e==null?void 0:e.pageSizeOptions)!=null?Nh:[10,20,50,100],this.importConfig=new vc(e==null?void 0:e.importConfig),this.exportConfig=new mc(e==null?void 0:e.exportConfig),this.sortable=(Lh=e==null?void 0:e.sortable)!=null?Lh:!1,this.sortKey=($h=e==null?void 0:e.sortKey)!=null?$h:{},this.showTableIndex=(Hh=e==null?void 0:e.showTableIndex)!=null?Hh:!0,this.triggerEdit=(Vh=e==null?void 0:e.triggerEdit)!=null?Vh:"single"}};let qi=oh;qi.Rules=Zw,qi.RuntimeRules=Xw;class Wi extends Wl{constructor(e){var i;super(e),this.props=new qi(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return l("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}Wi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Wi.slotPosition={toolbar:"subtable-toolbar-slot"},Wi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:l("CMD.65531774578985876"),default:"single",options:[{value:"single",label:l("CMD.315e1774579064681")},{value:"double",label:l("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class Jw extends Qo{constructor(e){super(e),this.props=new qi(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var ch={Designer:Wi,Runtime:Jw,Property:qi};class ir extends fn{constructor(e,i){var n,u,a,r,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=i==null?void 0:i.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=i==null?void 0:i.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class Yw extends be{constructor(e){super(e),this.caption.required=!1}}class xu extends G{constructor(e){var i,n,u,a,r,c,d,s;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(d=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}xu.Rules=Yw;class Ue extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=l("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class nr extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}nr.controlType="order-column",nr.controlFieldType=C.DECIMAL;var sh={Designer:Ue,Runtime:nr,Property:xu};class ur extends G{constructor(e){var i,n,u,a,r,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ce extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Yn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Sr(this,null,function*(){return yield Fr(Ce.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ce.controlType="operation-column",Ce.controlName=l("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class lr extends J{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=C.FILE;var dh={Designer:Ce,Runtime:lr,Property:ur};const pw=1e4;class ze extends Wl{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new ir(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return l("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return Tr(lt({},e),{children:i})}validate(e,i){return Sr(this,null,function*(){return yield Fr(ze.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=pw;class e8 extends Qo{constructor(e){super(e),this.props=new ir(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var hh={Designer:ze,Runtime:e8,Property:ir},t8=Object.freeze({__proto__:null,SubTable:ch,GridTable:hh});class i8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class Nu extends G{constructor(e){var i,n,u,a,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Nu.Rules=i8;class Ge extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=l("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ar extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}ar.controlType="varchar-column",ar.controlFieldType=C.VARCHAR;var yh={Designer:Ge,Runtime:ar,Property:Nu};class n8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Lu extends G{constructor(e){var i,n,u,a;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption)}}Lu.Rules=n8;class Ke extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Ke.controlType="text-column",Ke.controlName=l("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class rr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}rr.controlType="text-column",rr.controlFieldType=C.TEXT;var vh={Designer:Ke,Runtime:rr,Property:Lu};class u8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class $u extends G{constructor(e){var i,n,u,a,r,c,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption)}}$u.Rules=u8;class Qe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Qe.controlType="decimal-column",Qe.controlName=l("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class or extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}or.controlType="decimal-column",or.controlFieldType=C.DECIMAL;var mh={Designer:Qe,Runtime:or,Property:$u};class l8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Hu extends G{constructor(e){var i,n,u,a;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}Hu.Rules=l8;class Ze extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Ze.controlType="timescope-column",Ze.controlName=l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}cr.controlType="timescope-column",cr.controlFieldType=C.TIMESCOPE;var fh={Designer:Ze,Runtime:cr,Property:Hu};class a8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Vu extends G{constructor(e){var i,n,u,a;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}Vu.Rules=a8;class Xe extends X{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timestamp-column",Xe.controlName=l("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class sr extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}}sr.controlType="timestamp-column",sr.controlFieldType=C.TIMESTAMP;var gh={Designer:Xe,Runtime:sr,Property:Vu};class r8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class qu extends G{constructor(e){var i,n,u,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new j(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption),this.options=de((a=e==null?void 0:e.options)!=null?a:[{}])}}qu.Rules=r8;class Je extends X{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=l("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dr extends J{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}dr.controlType="array-column",dr.controlFieldType=C.ARRAY;var bh={Designer:Je,Runtime:dr,Property:qu};class hr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class Ye extends X{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}Ye.controlType="department-column",Ye.controlName=l("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yr extends J{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="department-column",yr.controlFieldType=C.DEPARTMENTS;var Ch={Designer:Ye,Runtime:yr,Property:hr};class o8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Wu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption)}}Wu.Rules=o8;class pe extends X{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class vr extends J{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}vr.controlType="auto-number-column",vr.controlFieldType=C.AUTO_NUMBER;var _h={Designer:pe,Runtime:vr,Property:Wu};class mr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=l("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fr extends J{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}fr.controlType="file-column",fr.controlFieldType=C.FILE;var Eh={Designer:et,Runtime:fr,Property:mr};class gr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=l("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=C.IMAGE;var Ih={Designer:tt,Runtime:br,Property:gr};class Cr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName=l("CMD.people",null,"\u4EBA\u5458"),it.controlIcon="people-column",it.controlFieldType=C.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _r extends J{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}_r.controlType="people-column",_r.controlFieldType=C.EMPLOYEES;var Dh={Designer:it,Runtime:_r,Property:Cr};class c8 extends be{constructor(e){super(e),Pe.call(this,e)}}class ju extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption)}}ju.Rules=c8;class nt extends X{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=l("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Er extends J{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}Er.controlType="location-column",Er.controlFieldType=C.ADDRESS;var Bh={Designer:nt,Runtime:Er,Property:ju};class s8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:l("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Uu extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_e.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Uu.Rules=s8;const d8=1;class _e extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}_e.controlType="custom-column",_e.controlName=l("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=d8,_e.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class wh extends J{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}wh.controlType="custom-column";var Ah={Designer:_e,Runtime:wh,Property:Uu};class Ir extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.datasourceBind=new pi((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:xe.controlCustomAttributes})}}class xe extends X{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=l("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Dr extends J{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}Dr.controlType="employee-column",Dr.controlFieldType=C.EMPLOYEES;var Th={Designer:xe,Runtime:Dr,Property:Ir};class Br extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new fe(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=l("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Fh extends J{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Fh.controlType="approval-status-column";var Sh={Designer:ut,Runtime:Fh,Property:Br};class wr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class ji extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}ji.controlType="group-column",ji.controlName=l("CMD.43541769566517351"),ji.controlIcon="group-column",ji.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ph extends J{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ph.controlType="group-column";var Oh={Designer:ji,Runtime:Ph,Property:wr},h8=Object.freeze({__proto__:null,VarcharColumn:yh,TextColumn:vh,DecimalColumn:mh,TimescopeColumn:fh,TimestampColumn:gh,ArrayColumn:bh,DepartmentColumn:Ch,AutoNumberColumn:_h,FileColumn:Eh,ImageColumn:Ih,PeopleColumn:Dh,LocationColumn:Bh,CustomColumn:Ah,OrderColumn:sh,OperationColumn:dh,EmployeeColumn:Th,ApprovalStatusColumn:Sh,GroupColumn:Oh});class y8 extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zu extends ea{constructor(e){var i,n,u,a,r,c,d,s,h,m,g,_;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new we((a=e==null?void 0:e.search)!=null?a:{content:l("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new we((r=e==null?void 0:e.cancel)!=null?r:{content:l("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(E=>new we(E)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}zu.RuntimeRules=y8;class Gu extends CI{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Gu.controlType="simple-search",Gu.slotPosition={default:"search"},Gu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class kh extends AI{constructor(e){var i;super(e),this.props=new zu(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}kh.controlType="simple-search";var Rh={Designer:Gu,Runtime:kh,Property:zu},v8=Object.freeze({__proto__:null,SimpleSearch:Rh});class Ar extends ua{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class m8 extends HI{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return l("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class f8 extends GI{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function A8(t){return t}var g8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:l("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Mh={Designer:m8,Runtime:f8,Property:Ar,Setting:g8},b8=Object.freeze({__proto__:null,GridLayoutWrap:Mh});v.ActionBar=pd,v.ActionSetting=ha,v.Address=Zs,v.AdvancedContainer=Xd,v.Amount=zs,v.ApprovalStatusColumn=Sh,v.ArrayColumn=bh,v.AssignType=Re,v.Attachment=Ws,v.AutoNumber=ps,v.AutoNumberColumn=_h,v.BarChart=Wc,v.Barcode=Es,v.BatchDeleteButton=Yc,v.BatchPrintListButton=Zc,v.BatchPrintRecordListButton=Xc,v.BatchSubmissionListButton=Pc,v.BlankContainer=Md,v.Button=wc,v.Calc=td,v.CardGroup=Rd,v.Cascader=rs,v.Checkbox=ls,v.Col=Sd,v.Collapse=rh,v.CollapsePane=ah,v.CommentControl=ts,v.Counter=cs,v.CreateFormListButton=Sc,v.CustomColumn=Ah,v.DATE_CONFIG_TYPE=cc,v.DATE_LIMIT_TYPE=sc,v.Dashboard=qc,v.DataView=Qd,v.DatePicker=ws,v.DateRange=Ts,v.DecimalColumn=mh,v.Department=Js,v.Department2=Id,v.DepartmentColumn=Ch,v.DepartmentType=On,v.Divider=Tc,v.ElectronicSignature=bd,v.ElectronicSignatureConfig=dc,v.Employee=qs,v.Employee2=fd,v.EmployeeColumn=Th,v.EncryptTypeEnum=Cc,v.Explain=Pn,v.ExportConfig=mc,v.ExportListButton=kc,v.ExportRecordListButton=Rc,v.ExportTemplate=jt,v.FONT_WEIGHT=ke,v.FileColumn=Eh,v.FlexStyleConfig=bc,v.FormSelectButton=Nc,v.Grid=Fd,v.GridLayoutContainer=Vd,v.GridLayoutWrap=Mh,v.GridRow=kd,v.GridTable=hh,v.GridTableColumn=Hd,v.GroupColumn=Oh,v.Iframe=Bc,v.Image=js,v.ImageColumn=Ih,v.ImageCompressType=fa,v.ImportConfig=vc,v.ImportListBind=yc,v.ImportRecordListButton=Mc,v.Input=ns,v.InternalType=ma,v.InvoiceCheckButton=Qc,v.LINE_STYLE=ca,v.LimitDate=Sn,v.LimitTime=ra,v.LineChart=jc,v.Link=Ic,v.ListHeightSetting=ya,v.ListSelectButton=Lc,v.ListView=Gd,v.ListViewSelect=Gc,v.LocationColumn=Bh,v.Number=ys,v.OperationButton=Jc,v.OperationColumn=dh,v.OrderColumn=sh,v.OrganizationSelection=Bd,v.OrganizeType=va,v.Page=Zd,v.Pagination=Hc,v.PeopleColumn=Dh,v.PieChart=Uc,v.Position=Yd,v.PositioningContainer=Jd,v.PrintTemplate=gc,v.QrCode=Ds,v.Radio=ds,v.ReferenceList=pc,v.RichText=xs,v.Row=Od,v.SCORE_TYPE=oa,v.SUBTABLE_DEFAULT_MAX_HEIGHT=fc,v.Score=Ks,v.SearchDateRange=ld,v.SearchInput=hd,v.SearchNumberRange=nd,v.Select=Ls,v.SelectMultiple=Hs,v.SelectRelation=cd,v.SimpleSearch=Rh,v.Slider=ms,v.Step=th,v.StepPane=eh,v.SubTable=ch,v.SubTableColumn=Nd,v.SubTableRow=Ld,v.SubmissionRecordListButton=Oc,v.Switch=gs,v.Tab=Wd,v.TabPane=qd,v.TableLayout=ih,v.TableLayoutCol=uh,v.TableLayoutRow=nh,v.TableLayoutWrapper=lh,v.Tag=Cs,v.Text=Ec,v.TextColumn=vh,v.TextOcrButton=Kc,v.Textarea=Rs,v.TimePicker=Ss,v.TimeRange=Os,v.TimescopeColumn=fh,v.TimestampColumn=gh,v.Title=Fc,v.TitleConfigEnum=Oe,v.Toolbox=zd,v.Tree=vd,v.UndersignedPerson=sa,v.VarcharColumn=yh,v.VueFormItem=rd,v.VuePage=Ad,v.WPS=_d,v.WPSSetting=hc,v.WpsOperationItem=da,v.baseControls=GD,v.columnControls=h8,v.formControls=nw,v.initExpression=Ut,v.layoutControls=Qw,v.listControls=t8,v.searchControls=v8,v.wrapControls=b8,Object.defineProperty(v,"__esModule",{value:!0})});
|