@lovrabet/dsparser 1.3.5 → 1.3.7-beta.0
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/index.js +1 -1
- package/dist/src/core/field/FieldV2.d.ts +9 -5
- package/dist/src/core/field/FieldV2.d.ts.map +1 -1
- package/dist/src/core/operations/FieldHelper.d.ts +4 -4
- package/dist/src/core/operations/FieldHelper.d.ts.map +1 -1
- package/dist/src/core/operations/Operation.d.ts.map +1 -1
- package/dist/src/types/dataset-v2.d.ts +2 -2
- package/dist/src/types/dataset-v2.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x5456ff=a0_0x2d67;(function(_0x4a4eea,_0x2644e5){const _0x390b23=a0_0x2d67,_0x54aec5=_0x4a4eea();while(!![]){try{const _0x3fd1a1=-parseInt(_0x390b23(0x38f))/0x1+-parseInt(_0x390b23(0x28e))/0x2*(-parseInt(_0x390b23(0x447))/0x3)+parseInt(_0x390b23(0x241))/0x4*(-parseInt(_0x390b23(0x342))/0x5)+parseInt(_0x390b23(0x24d))/0x6*(-parseInt(_0x390b23(0x2c6))/0x7)+-parseInt(_0x390b23(0x340))/0x8+parseInt(_0x390b23(0x39d))/0x9+parseInt(_0x390b23(0x40b))/0xa;if(_0x3fd1a1===_0x2644e5)break;else _0x54aec5['push'](_0x54aec5['shift']());}catch(_0x33a4e6){_0x54aec5['push'](_0x54aec5['shift']());}}}(a0_0xbb4d,0xc9463));function toCamelCase(_0x21ba8f){const _0x50cd36=a0_0x2d67;if(!_0x21ba8f)return'';return _0x21ba8f[_0x50cd36(0x2ae)](/[_-]/)[_0x50cd36(0x418)]((_0x5d4237,_0x470741)=>{const _0x4d6696=_0x50cd36;if(_0x470741===0x0)return _0x5d4237[_0x4d6696(0x371)]();return _0x5d4237[_0x4d6696(0x2f2)](0x0)[_0x4d6696(0x292)]()+_0x5d4237[_0x4d6696(0x45b)](0x1)['toLowerCase']();})[_0x50cd36(0x396)]('');}function toPascalCase(_0x121013){const _0xf82094=a0_0x2d67;if(!_0x121013)return'';const _0x46933e=toCamelCase(_0x121013);return _0x46933e[_0xf82094(0x2f2)](0x0)[_0xf82094(0x292)]()+_0x46933e[_0xf82094(0x45b)](0x1);}function toSnakeCase(_0x3b0c9a){const _0x38a004=a0_0x2d67;if(!_0x3b0c9a)return'';return _0x3b0c9a[_0x38a004(0x276)](/([A-Z])/g,'_$1')[_0x38a004(0x371)]()[_0x38a004(0x276)](/^_/,'');}function toKebabCase(_0x28d82f){const _0x12a4af=a0_0x2d67;if(!_0x28d82f)return'';return _0x28d82f[_0x12a4af(0x276)](/([A-Z])/g,_0x12a4af(0x35e))[_0x12a4af(0x371)]()[_0x12a4af(0x276)](/^-/,'');}function normalizeFieldName(_0x121168){const _0x592d23=a0_0x2d67;if(!_0x121168)return'';return _0x121168[_0x592d23(0x3a3)]()['replace'](/\s+/g,'_')[_0x592d23(0x276)](/[^a-zA-Z0-9_]/g,'_')[_0x592d23(0x276)](/_+/g,'_')[_0x592d23(0x276)](/^_|_$/g,'');}function getTableName(_0x598f62){const _0xf26bec=a0_0x2d67;if(!_0x598f62)return _0xf26bec(0x29d);if(_0x598f62[_0xf26bec(0x3a2)]?.[_0xf26bec(0x42b)])return _0x598f62['dbtableConfig'][_0xf26bec(0x42b)];const _0x3fd077=_0x598f62[_0xf26bec(0x25c)]||_0x598f62[_0xf26bec(0x421)]||_0x598f62['modelCode'];if(_0x3fd077)return generateTableNameFromCode(_0x3fd077);return _0xf26bec(0x29d);}function getTableKey(_0x2ce172){const _0x12b1c3=a0_0x2d67;if(typeof _0x2ce172===_0x12b1c3(0x386))return toCamelCase(_0x2ce172);const _0x49c051=getTableName(_0x2ce172);return toCamelCase(_0x49c051);}function generateTableNameFromCode(_0x15643a){const _0x4c2b72=a0_0x2d67;if(!_0x15643a)return _0x4c2b72(0x29d);const _0xd51424=_0x15643a[_0x4c2b72(0x45b)](-0x6)[_0x4c2b72(0x209)](0x6,'0');return _0x4c2b72(0x253)+_0xd51424;}function isVirtualTableName(_0x5e00fc){const _0x25a09b=a0_0x2d67;return/^dataset_[a-zA-Z0-9]{6}$/[_0x25a09b(0x395)](_0x5e00fc);}function generateModelKeyFromCode(_0x44291f){const _0x151ae8=a0_0x2d67;if(!_0x44291f)return'dataset_unknown';return _0x151ae8(0x253)+_0x44291f;}function getDbName(_0x51f7ae){const _0xba4e0f=a0_0x2d67;return _0x51f7ae['dbtableConfig']?.[_0xba4e0f(0x2bc)]||_0x51f7ae[_0xba4e0f(0x3a2)]?.[_0xba4e0f(0x2fa)]?.['dbName']||'';}function generateDatasetsConfig(_0xfa69fd,_0x57091f={}){const _0x11383f=a0_0x2d67,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x50c858,filter:_0x1686ad}=_0x57091f,_0x36351e=_0x1686ad?_0xfa69fd[_0x11383f(0x2b7)](_0x1686ad):_0xfa69fd,_0x51f71f=new Map();for(const _0x1f2a54 of _0x36351e){const _0x3d60e0=getTableName(_0x1f2a54),_0x18feb6=getDbName(_0x1f2a54);!_0x51f71f[_0x11383f(0x3a9)](_0x3d60e0)&&_0x51f71f[_0x11383f(0x270)](_0x3d60e0,new Set()),_0x51f71f[_0x11383f(0x326)](_0x3d60e0)[_0x11383f(0x3a1)](_0x18feb6);}const _0x338186=new Set();for(const [_0x3b1d64,_0x39b9b6]of _0x51f71f){_0x39b9b6['size']>0x1&&_0x338186[_0x11383f(0x3a1)](_0x3b1d64);}const _0x4372e6={},_0x9f3931=new Set();for(const _0x388e1f of _0x36351e){const _0x1a5078=getTableName(_0x388e1f);if(enableDeduplication&&_0x9f3931[_0x11383f(0x3a9)](_0x1a5078)){console[_0x11383f(0x47e)](_0x11383f(0x214)+_0x1a5078+_0x11383f(0x462)+_0x388e1f[_0x11383f(0x464)]+'\x20('+_0x388e1f[_0x11383f(0x25c)]+')');continue;}_0x9f3931[_0x11383f(0x3a1)](_0x1a5078);const _0x27c430=_0x50c858?_0x50c858(_0x1a5078,_0x388e1f):getTableKey(_0x1a5078),_0x249b7e=getDbName(_0x388e1f),_0x3d0fec=_0x338186[_0x11383f(0x3a9)](_0x1a5078)&&_0x249b7e?getTableKey(_0x249b7e)+'_'+_0x27c430:_0x27c430;_0x4372e6[_0x27c430]={'key':_0x27c430,'alias':_0x3d0fec,'tableName':_0x1a5078,'datasetCode':_0x388e1f[_0x11383f(0x25c)],'name':_0x388e1f[_0x11383f(0x464)],'id':_0x388e1f['id'],'dbName':_0x249b7e};}return _0x4372e6;}function generateFullDatasetsConfig(_0x7ca43a,_0x38a03e={}){const _0x15fe1a=a0_0x2d67,{filter:_0x4d2dff,datasetNameGenerator:_0x33cfb3}=_0x38a03e,_0x32014d=_0x4d2dff?_0x7ca43a[_0x15fe1a(0x2b7)](_0x4d2dff):_0x7ca43a,_0x117a06=new Map();for(const _0x41415b of _0x32014d){const _0x24d32d=getTableName(_0x41415b),_0x5d75bb=getDbName(_0x41415b);!_0x117a06[_0x15fe1a(0x3a9)](_0x24d32d)&&_0x117a06[_0x15fe1a(0x270)](_0x24d32d,new Set()),_0x117a06[_0x15fe1a(0x326)](_0x24d32d)[_0x15fe1a(0x3a1)](_0x5d75bb);}const _0x14eab6=new Set();for(const [_0x4f4051,_0x573b4d]of _0x117a06){_0x573b4d[_0x15fe1a(0x1ee)]>0x1&&_0x14eab6[_0x15fe1a(0x3a1)](_0x4f4051);}const _0x4041af=groupByTableName(_0x32014d),_0x735499={};for(const [_0x4c778c,_0x1000d5]of Object['entries'](_0x4041af)){if(_0x1000d5['length']===0x1){const _0xd55716=_0x1000d5[0x0],_0x4e3547=_0x33cfb3?_0x33cfb3(_0x4c778c,_0xd55716):getTableKey(_0x4c778c),_0x52f579=getDbName(_0xd55716),_0x276813=_0x14eab6['has'](_0x4c778c)&&_0x52f579?getTableKey(_0x52f579)+'_'+_0x4e3547:_0x4e3547;_0x735499[_0x4e3547]={'key':_0x4e3547,'alias':_0x276813,'tableName':_0x4c778c,'datasetCode':_0xd55716[_0x15fe1a(0x25c)],'name':_0xd55716[_0x15fe1a(0x464)],'id':_0xd55716['id'],'dbName':_0x52f579};}else{const _0x9fdd53=[..._0x1000d5][_0x15fe1a(0x27d)]((_0x1e7c39,_0x25b325)=>{const _0x8087fd=Number(_0x1e7c39['id'])||0x0,_0x21a418=Number(_0x25b325['id'])||0x0;return _0x21a418-_0x8087fd;});_0x9fdd53[_0x15fe1a(0x3b2)]((_0x10e1e8,_0x3d9bc6)=>{const _0xca0f53=_0x15fe1a,_0x2319f6=_0x33cfb3?_0x33cfb3(_0x4c778c,_0x10e1e8):getTableKey(_0x4c778c),_0x4007b4=_0x3d9bc6===0x0?_0x2319f6:_0x2319f6+'_'+_0x3d9bc6,_0x13f632=getDbName(_0x10e1e8),_0x1d7851=_0x14eab6[_0xca0f53(0x3a9)](_0x4c778c)&&_0x13f632?getTableKey(_0x13f632)+'_'+_0x4007b4:_0x4007b4;_0x735499[_0x4007b4]={'key':_0x4007b4,'alias':_0x1d7851,'tableName':_0x4c778c,'datasetCode':_0x10e1e8[_0xca0f53(0x25c)],'name':_0x10e1e8[_0xca0f53(0x464)],'id':_0x10e1e8['id'],'dbName':_0x13f632};});}}return _0x735499;}function detectTableNameConflicts(_0x55f7ec){const _0x4ec0a9=a0_0x2d67,_0x3bb4a0={};for(const _0x1be463 of _0x55f7ec){const _0x523cea=getTableName(_0x1be463);!_0x3bb4a0[_0x523cea]&&(_0x3bb4a0[_0x523cea]=[]),_0x3bb4a0[_0x523cea][_0x4ec0a9(0x20f)](_0x1be463);}const _0x40c3ff={};for(const [_0x5410be,_0x56daa8]of Object['entries'](_0x3bb4a0)){_0x56daa8[_0x4ec0a9(0x46b)]>0x1&&(_0x40c3ff[_0x5410be]=_0x56daa8);}return{'hasConflicts':Object['keys'](_0x40c3ff)[_0x4ec0a9(0x46b)]>0x0,'conflicts':_0x40c3ff};}function createDatasetNameMap(_0x61b2a1){const _0x5224d0=a0_0x2d67,_0x43c2b6={};for(const [_0x10b428,_0x4b1e45]of Object[_0x5224d0(0x2eb)](_0x61b2a1)){_0x43c2b6[_0x10b428]=_0x4b1e45[_0x5224d0(0x25c)]||'';}return _0x43c2b6;}function groupByTableName(_0x2efcb6){const _0x77d503=a0_0x2d67,_0x1558a3={};for(const _0x523389 of _0x2efcb6){const _0x48e575=getTableName(_0x523389);!_0x1558a3[_0x48e575]&&(_0x1558a3[_0x48e575]=[]),_0x1558a3[_0x48e575][_0x77d503(0x20f)](_0x523389);}return _0x1558a3;}function datasetsConfigToArray(_0x22eb7f){const _0x4f10ef=a0_0x2d67;return Object[_0x4f10ef(0x25d)](_0x22eb7f);}function adaptDrivenDataDetail(_0x1af3b3){const _0x41563a=a0_0x2d67,_0x3eafd7={};return _0x3eafd7['id']=_0x1af3b3[_0x41563a(0x2b5)],_0x3eafd7[_0x41563a(0x464)]=_0x1af3b3[_0x41563a(0x464)],_0x3eafd7['datasetCode']=_0x1af3b3[_0x41563a(0x34b)],_0x3eafd7['dbtableConfig']=_0x1af3b3[_0x41563a(0x3a2)],_0x3eafd7[_0x41563a(0x3c0)]=_0x1af3b3[_0x41563a(0x3c0)],_0x3eafd7[_0x41563a(0x29e)]=_0x1af3b3[_0x41563a(0x29e)],_0x3eafd7[_0x41563a(0x201)]=_0x1af3b3[_0x41563a(0x201)],_0x3eafd7[_0x41563a(0x2e8)]=_0x1af3b3[_0x41563a(0x2e8)],_0x3eafd7[_0x41563a(0x2d3)]=_0x1af3b3[_0x41563a(0x2d3)],_0x3eafd7;}function adaptDrivenDataDetails(_0x4301a9){const _0x37e2bc=a0_0x2d67;return _0x4301a9[_0x37e2bc(0x418)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x4e4c9d){const _0x3e477d=a0_0x2d67;if(!_0x4e4c9d[_0x3e477d(0x3e8)]||!_0x4e4c9d[_0x3e477d(0x3e3)])throw new Error(_0x3e477d(0x322)+(_0x4e4c9d['errorMsg']||_0x4e4c9d['msg']));return adaptDrivenDataDetail(_0x4e4c9d[_0x3e477d(0x3e3)]);}function extractDatasetsFromListResponse(_0x187caf){const _0x181f60=a0_0x2d67;if(!_0x187caf[_0x181f60(0x3e8)]||!_0x187caf[_0x181f60(0x3e3)]?.[_0x181f60(0x218)])throw new Error(_0x181f60(0x400)+(_0x187caf[_0x181f60(0x2ce)]||_0x187caf[_0x181f60(0x41e)]));return _0x187caf['data']['tableData']['map'](_0x1ae837=>({..._0x1ae837,'datasetCode':_0x1ae837[_0x181f60(0x421)]||_0x1ae837[_0x181f60(0x25c)]}));}function isDrivenDataDetail(_0x27c884){const _0x5a4531=a0_0x2d67;return Boolean(_0x27c884&&typeof _0x27c884['modelCode']===_0x5a4531(0x386));}function smartAdapt(_0x4d59a1){const _0x317556=a0_0x2d67;if(isDrivenDataDetail(_0x4d59a1))return adaptDrivenDataDetail(_0x4d59a1);if(_0x4d59a1['datasetCode'])return _0x4d59a1;if(_0x4d59a1[_0x317556(0x421)]){const _0x3aaa64={..._0x4d59a1};return _0x3aaa64[_0x317556(0x25c)]=_0x4d59a1['code'],_0x3aaa64;}return _0x4d59a1;}function cleanNewlines(_0x21865a){const _0x1cabcd=a0_0x2d67;return _0x21865a[_0x1cabcd(0x276)](/[\r\n]+/g,'\x20')[_0x1cabcd(0x3a3)]();}function cleanDatasetName(_0x38bcdd){const _0x4dedeb=a0_0x2d67;if(!_0x38bcdd[_0x4dedeb(0x464)])return _0x38bcdd;return{..._0x38bcdd,'name':cleanNewlines(_0x38bcdd[_0x4dedeb(0x464)])};}function cleanDatasetNames(_0x25ffe5){return _0x25ffe5['map'](cleanDatasetName);}var DatasetOperationType;(_0x321972=>{const _0x50ce34=a0_0x2d67;_0x321972[_0x50ce34(0x414)]='getList',_0x321972['GET_ONE']=_0x50ce34(0x3df),_0x321972[_0x50ce34(0x419)]=_0x50ce34(0x36e),_0x321972[_0x50ce34(0x1d1)]=_0x50ce34(0x3ca),_0x321972[_0x50ce34(0x35a)]='create',_0x321972['UPDATE']='update',_0x321972[_0x50ce34(0x29a)]='delete',_0x321972['GET_SELECT_OPTIONS']='getSelectOptions',_0x321972[_0x50ce34(0x457)]='getFileUrl',_0x321972[_0x50ce34(0x3a6)]=_0x50ce34(0x331),_0x321972['GET_UPLOAD_FILE_SCRIPT']=_0x50ce34(0x1fe),_0x321972[_0x50ce34(0x2ab)]=_0x50ce34(0x2ac),_0x321972[_0x50ce34(0x425)]='createExport',_0x321972[_0x50ce34(0x2e3)]=_0x50ce34(0x2e2),_0x321972[_0x50ce34(0x473)]=_0x50ce34(0x33b);})(DatasetOperationType||={});const a0_0x46ae8d={};a0_0x46ae8d[a0_0x5456ff(0x42d)]='查询列表',a0_0x46ae8d[a0_0x5456ff(0x3df)]=a0_0x5456ff(0x320),a0_0x46ae8d[a0_0x5456ff(0x36e)]=a0_0x5456ff(0x3dd),a0_0x46ae8d[a0_0x5456ff(0x3ca)]=a0_0x5456ff(0x335),a0_0x46ae8d['create']='创建',a0_0x46ae8d[a0_0x5456ff(0x2ea)]='更新',a0_0x46ae8d[a0_0x5456ff(0x422)]='删除',a0_0x46ae8d[a0_0x5456ff(0x42e)]=a0_0x5456ff(0x264),a0_0x46ae8d[a0_0x5456ff(0x41a)]=a0_0x5456ff(0x439),a0_0x46ae8d[a0_0x5456ff(0x331)]=a0_0x5456ff(0x436),a0_0x46ae8d[a0_0x5456ff(0x1fe)]=a0_0x5456ff(0x41f),a0_0x46ae8d[a0_0x5456ff(0x2ac)]=a0_0x5456ff(0x407),a0_0x46ae8d[a0_0x5456ff(0x328)]=a0_0x5456ff(0x221),a0_0x46ae8d[a0_0x5456ff(0x2e2)]=a0_0x5456ff(0x272),a0_0x46ae8d[a0_0x5456ff(0x33b)]=a0_0x5456ff(0x27e);var OPERATION_TYPE_DISPLAY_NAME=a0_0x46ae8d,API_BLACKLIST=[a0_0x5456ff(0x42d),a0_0x5456ff(0x36e),a0_0x5456ff(0x3ca),'getFileUrl'];function parseFieldExtend(_0xb748f9){const _0x36908f=a0_0x5456ff;if(!_0xb748f9||typeof _0xb748f9!==_0x36908f(0x39c))return!![]&&console['warn']('[parseFieldExtend]\x20Invalid\x20field:',_0xb748f9),{};if(!_0xb748f9[_0x36908f(0x201)])return{};try{const _0x463830=typeof _0xb748f9['extend']===_0x36908f(0x386)?JSON[_0x36908f(0x2ca)](_0xb748f9[_0x36908f(0x201)]):_0xb748f9[_0x36908f(0x201)];if(typeof _0x463830!==_0x36908f(0x39c)||_0x463830===null)return{};return _0x463830;}catch{return{};}}function isPrimaryKeyField(_0xc9b3ea,_0x4e964a){const _0x2823ad=a0_0x5456ff;if(!_0xc9b3ea||typeof _0xc9b3ea!==_0x2823ad(0x39c))return![];if(typeof _0x4e964a==='string'&&_0xc9b3ea[_0x2823ad(0x421)]===_0x4e964a)return!![];const _0x2dc2c6=parseFieldExtend(_0xc9b3ea);return Boolean(_0x2dc2c6[_0x2823ad(0x380)]||_0x2dc2c6['pkField']);}function isSystemField(_0x4cd347){const _0x503acc=parseFieldExtend(_0x4cd347);return Boolean(_0x503acc['systemRetain']);}function isRequiredField(_0x73b982){const _0x2d4db9=a0_0x5456ff,_0xc613c=parseFieldExtend(_0x73b982);return Boolean(_0xc613c[_0x2d4db9(0x33c)]);}function isAutoIncrementField(_0x27ffdf){const _0x36633e=a0_0x5456ff,_0x17ccf7=parseFieldExtend(_0x27ffdf);return Boolean(_0x17ccf7[_0x36633e(0x461)]);}function isCreateTimeField(_0x4daaf7){const _0x10154f=a0_0x5456ff,_0x24f786=parseFieldExtend(_0x4daaf7);return Boolean(_0x24f786[_0x10154f(0x3bf)]);}function isModifyTimeField(_0xc849d8){const _0xa3b440=a0_0x5456ff,_0xf2740a=parseFieldExtend(_0xc849d8);return Boolean(_0xf2740a[_0xa3b440(0x1db)]);}const a0_0xd6e467={};a0_0xd6e467[a0_0x5456ff(0x357)]='数字',a0_0xd6e467[a0_0x5456ff(0x267)]='文本',a0_0xd6e467[a0_0x5456ff(0x2a0)]=a0_0x5456ff(0x3f5),a0_0xd6e467[a0_0x5456ff(0x343)]='日期',a0_0xd6e467[a0_0x5456ff(0x213)]='日期时间',a0_0xd6e467[a0_0x5456ff(0x3bb)]=a0_0x5456ff(0x23d),a0_0xd6e467[a0_0x5456ff(0x38c)]='下拉选择',a0_0xd6e467[a0_0x5456ff(0x2e4)]='多选',a0_0xd6e467[a0_0x5456ff(0x1f9)]='单选',a0_0xd6e467['SWITCH']='开关',a0_0xd6e467[a0_0x5456ff(0x428)]=a0_0x5456ff(0x3c5),a0_0xd6e467[a0_0x5456ff(0x351)]='图片',a0_0xd6e467[a0_0x5456ff(0x3dc)]=a0_0x5456ff(0x206),a0_0xd6e467[a0_0x5456ff(0x378)]=a0_0x5456ff(0x378),a0_0xd6e467['ARRAY']='数组';var DB_TYPE_DISPLAY_MAP=a0_0xd6e467;function getDbTypeDisplay(_0x5f399e){const _0x52daaf=a0_0x5456ff;if(typeof _0x5f399e!==_0x52daaf(0x386))return!![]&&console[_0x52daaf(0x47e)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x5f399e),String(_0x5f399e||'-');return DB_TYPE_DISPLAY_MAP[_0x5f399e]||_0x5f399e;}function formatDbType(_0x268edb,_0x19d8d4){const _0x2ad32f=a0_0x5456ff;if(!_0x268edb||typeof _0x268edb!=='string')return'-';if(!_0x19d8d4||typeof _0x19d8d4!==_0x2ad32f(0x2fb))return _0x268edb;const _0x18565f=[_0x2ad32f(0x267),_0x2ad32f(0x213),_0x2ad32f(0x3bb),_0x2ad32f(0x343)];if(_0x18565f[_0x2ad32f(0x46c)](_0x268edb[_0x2ad32f(0x292)]()))return _0x268edb;return _0x268edb+'('+_0x19d8d4+')';}function parseOperationType(_0x46a12f){const _0x1abacc=a0_0x5456ff;if(typeof _0x46a12f!==_0x1abacc(0x386)){!![]&&console[_0x1abacc(0x47e)](_0x1abacc(0x3f8),_0x46a12f);return;}if(Object[_0x1abacc(0x25d)](DatasetOperationType)['includes'](_0x46a12f))return _0x46a12f;const _0x131d51=Object[_0x1abacc(0x2eb)](OPERATION_TYPE_DISPLAY_NAME)[_0x1abacc(0x283)](([_0x4ddedb,_0x263a7c])=>_0x263a7c===_0x46a12f);return _0x131d51?_0x131d51[0x0]:undefined;}function shouldIncludeField(_0x5d8edb,_0x1e31f4,_0x391284){const _0x387e16=a0_0x5456ff,_0x263aa8=parseFieldExtend(_0x5d8edb),_0x44b8f9=isPrimaryKeyField(_0x5d8edb,_0x391284),_0x43088e=Boolean(_0x263aa8[_0x387e16(0x363)]),_0x553013=Boolean(_0x263aa8['autoIncrement']),_0x5e80f6=Boolean(_0x263aa8[_0x387e16(0x3bf)]),_0x35b8ad=Boolean(_0x263aa8[_0x387e16(0x1db)]);switch(_0x1e31f4){case _0x387e16(0x42d):return!![];case _0x387e16(0x3df):case _0x387e16(0x36e):case _0x387e16(0x422):return _0x44b8f9;case _0x387e16(0x450):if(_0x44b8f9&&_0x553013)return![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case'update':case'getOneUpdate':if(_0x44b8f9)return!![];if(_0x43088e)return![];if(_0x5e80f6||_0x35b8ad)return![];return!![];case _0x387e16(0x42e):return _0x5d8edb['code']===_0x387e16(0x421);default:return!![];}}function getFieldsForOperation(_0x1bb960,_0xe27593,_0xa2b0bb){const _0x4ee51a=a0_0x5456ff;if(!Array[_0x4ee51a(0x248)](_0x1bb960))return!![]&&console[_0x4ee51a(0x47e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x1bb960),[];return _0x1bb960['filter'](_0x5c8714=>shouldIncludeField(_0x5c8714,_0xe27593,_0xa2b0bb));}function isApiBlacklisted(_0xbc13ff){const _0x12e31c=a0_0x5456ff;if(typeof _0xbc13ff!=='string')return!![]&&console[_0x12e31c(0x47e)](_0x12e31c(0x364),_0xbc13ff),![];return API_BLACKLIST[_0x12e31c(0x46c)](_0xbc13ff);}function filterApiOperations(_0x2a7ddc){const _0xe16552=a0_0x5456ff;if(!Array[_0xe16552(0x248)](_0x2a7ddc))return!![]&&console[_0xe16552(0x47e)](_0xe16552(0x259),_0x2a7ddc),[];return _0x2a7ddc[_0xe16552(0x2b7)](_0x1a3190=>_0x1a3190&&typeof _0x1a3190===_0xe16552(0x39c)&&!isApiBlacklisted(_0x1a3190[_0xe16552(0x464)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x5456ff(0x35d)](),'DATE':()=>Date['now'](),'SELECT':({fieldInfo:_0x413ac0})=>{const _0x30e213=a0_0x5456ff;if(_0x413ac0?.[_0x30e213(0x45e)]&&Array[_0x30e213(0x248)](_0x413ac0[_0x30e213(0x45e)])&&_0x413ac0[_0x30e213(0x45e)][_0x30e213(0x46b)]>0x0)return _0x413ac0[_0x30e213(0x45e)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x52055d})=>{const _0x4e537d=a0_0x5456ff;if(_0x52055d===_0x4e537d(0x2d8))return 0x1;if(_0x52055d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1cae18})=>{const _0x196e92=a0_0x5456ff;if(_0x1cae18&&typeof _0x1cae18===_0x196e92(0x386)){const _0x29288d=_0x1cae18[_0x196e92(0x371)]();if(_0x29288d[_0x196e92(0x46c)]('邮箱')||_0x29288d['includes'](_0x196e92(0x222)))return'user@example.com';if(_0x29288d[_0x196e92(0x46c)]('电话')||_0x29288d['includes']('手机')||_0x29288d[_0x196e92(0x46c)]('phone'))return _0x196e92(0x324);if(_0x29288d[_0x196e92(0x46c)]('地址')||_0x29288d[_0x196e92(0x46c)](_0x196e92(0x3ea)))return'北京市朝阳区';if(_0x29288d[_0x196e92(0x46c)]('姓名')||_0x29288d['includes'](_0x196e92(0x464)))return'张三';}return _0x196e92(0x44b);},'VARCHAR':({description:_0x4579cd})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x4579cd}),'CHAR':({description:_0x43a4ed})=>TYPE_VALUE_GENERATORS[a0_0x5456ff(0x267)]({'description':_0x43a4ed}),'STRING':({fieldInfo:_0x5a949e,description:_0x5dffef})=>{const _0x4bd593=a0_0x5456ff;if(_0x5a949e?.[_0x4bd593(0x24e)]&&typeof _0x5a949e[_0x4bd593(0x24e)]===_0x4bd593(0x386)&&_0x5a949e['placeholder']!==_0x4bd593(0x298))return _0x5a949e[_0x4bd593(0x24e)][_0x4bd593(0x276)](/^请输入|^请选择/,'');const _0x467072={};return _0x467072[_0x4bd593(0x346)]=_0x5dffef,TYPE_VALUE_GENERATORS[_0x4bd593(0x267)](_0x467072);},'TEXTAREA':()=>a0_0x5456ff(0x381),'LONGTEXT':()=>a0_0x5456ff(0x381),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x5456ff(0x405),a0_0x5456ff(0x21a)],'UPLOAD':()=>a0_0x5456ff(0x1cf),'IMAGE':()=>a0_0x5456ff(0x445),'RICH_TEXT':()=>a0_0x5456ff(0x27c)};function generateExampleValue(_0xc31a0e,_0x558f9f,_0x1ca95d,_0x5d4ca1={}){const _0x4684bb=a0_0x5456ff;typeof _0xc31a0e!==_0x4684bb(0x386)&&(!![]&&console[_0x4684bb(0x47e)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0xc31a0e),_0xc31a0e=String(_0xc31a0e||''));if(typeof _0x558f9f!=='string')return!![]&&console[_0x4684bb(0x47e)](_0x4684bb(0x402),_0x558f9f),_0x4684bb(0x317);const {isPrimaryKey:_0x2c1164,dbtableConfig:_0x4b21e5}=_0x5d4ca1;if(_0x2c1164)return 0x1;if(_0x4b21e5&&typeof _0x4b21e5==='object'){const _0x27733f=_0x4b21e5[_0x4684bb(0x200)]?.['fieldName']===_0xc31a0e,_0x5a697b=_0x4b21e5[_0x4684bb(0x1d3)]?.[_0x4684bb(0x379)]===_0xc31a0e;if(_0x27733f||_0x5a697b){if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)&&_0x1ca95d[_0x4684bb(0x292)]()['includes'](_0x4684bb(0x3bb)))return Date[_0x4684bb(0x35d)]();return new Date()[_0x4684bb(0x2d7)]()[_0x4684bb(0x276)]('T','\x20')[_0x4684bb(0x2ae)]('.')[0x0];}}const _0x4dc9bd={..._0x5d4ca1};_0x4dc9bd[_0x4684bb(0x345)]=_0xc31a0e;const _0x1f14e4=_0x4dc9bd;if(_0x1ca95d&&typeof _0x1ca95d===_0x4684bb(0x386)){const _0x2b5ef7=_0x1ca95d[_0x4684bb(0x292)](),_0x2bd40d=TYPE_VALUE_GENERATORS[_0x2b5ef7];if(_0x2bd40d)return _0x2bd40d(_0x1f14e4);}if(_0x558f9f&&typeof _0x558f9f===_0x4684bb(0x386)){const _0x328fea=_0x558f9f['toUpperCase'](),_0x19668b=TYPE_VALUE_GENERATORS[_0x328fea];if(_0x19668b)return _0x19668b(_0x1f14e4);}return _0x4684bb(0x317);}function generateExampleFromSchema(_0x108f14,_0x18bd1a){const _0x2564c3=a0_0x5456ff;if(!_0x108f14||typeof _0x108f14!==_0x2564c3(0x39c))return{};if(Array[_0x2564c3(0x248)](_0x108f14)){if(_0x108f14[_0x2564c3(0x46b)]>0x0)return[generateExampleFromSchema(_0x108f14[0x0],_0x18bd1a)];return[];}const _0x2cd51b={};return Object[_0x2564c3(0x35f)](_0x108f14)[_0x2564c3(0x3b2)](_0x132819=>{const _0x546372=_0x2564c3,_0x25398c=_0x108f14[_0x132819];if(_0x25398c&&typeof _0x25398c===_0x546372(0x39c)&&!Array['isArray'](_0x25398c)&&_0x25398c[_0x546372(0x39e)]){const _0x4d547d=_0x25398c,_0x3fcb48=_0x4d547d[_0x546372(0x39e)],_0x30d3d2=_0x4d547d['description'];if(typeof _0x3fcb48===_0x546372(0x386)){const _0x3760a3={};_0x3760a3[_0x546372(0x346)]=_0x30d3d2,_0x3760a3[_0x546372(0x3a2)]=_0x18bd1a,_0x2cd51b[_0x132819]=generateExampleValue(_0x132819,_0x3fcb48,undefined,_0x3760a3);}else _0x2cd51b[_0x132819]=_0x546372(0x317);}else{if(Array[_0x546372(0x248)](_0x25398c))_0x2cd51b[_0x132819]=_0x25398c[_0x546372(0x46b)]>0x0?[generateExampleFromSchema(_0x25398c[0x0],_0x18bd1a)]:[];else _0x25398c&&typeof _0x25398c==='object'?_0x2cd51b[_0x132819]=generateExampleFromSchema(_0x25398c,_0x18bd1a):_0x2cd51b[_0x132819]=_0x25398c;}}),_0x2cd51b;}function parseRequestBody(_0x5b5142){const _0x7cd129=a0_0x5456ff;if(!_0x5b5142)return{};try{return JSON['parse'](_0x5b5142);}catch(_0x5d8897){return!![]&&console[_0x7cd129(0x47e)](_0x7cd129(0x21d),_0x5d8897),{};}}function parseResponseBody(_0x3e540d){const _0x16db2f=a0_0x5456ff;if(!_0x3e540d)return null;try{const _0xa76635=JSON[_0x16db2f(0x2ca)](_0x3e540d);return _0xa76635['200']||_0xa76635;}catch(_0x37f40d){return!![]&&console[_0x16db2f(0x47e)](_0x16db2f(0x3eb),_0x37f40d),null;}}function generateRequestExample(_0x5f3c84,_0x587783,_0x2ff3ce,_0x585624){const _0x1fe5eb=a0_0x5456ff,_0x41cab7={};if(!Array['isArray'](_0x5f3c84))return!![]&&console['warn']('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x5f3c84),_0x41cab7;return _0x5f3c84[_0x1fe5eb(0x3b2)](_0x2845f5=>{const _0x24f3b3=_0x1fe5eb;if(!_0x2845f5||typeof _0x2845f5!==_0x24f3b3(0x39c)){!![]&&console['warn'](_0x24f3b3(0x3ff),_0x2845f5);return;}if(typeof _0x2845f5[_0x24f3b3(0x421)]!==_0x24f3b3(0x386)||typeof _0x2845f5['type']!==_0x24f3b3(0x386)){!![]&&console[_0x24f3b3(0x47e)](_0x24f3b3(0x2cc),_0x2845f5);return;}const _0x5b1402=parseFieldExtend(_0x2845f5),_0x16a42b=_0x2845f5[_0x24f3b3(0x421)]===_0x2ff3ce||Boolean(_0x5b1402?.['primaryKey']),_0x5e0ab7=generateExampleValue(_0x2845f5[_0x24f3b3(0x421)],_0x2845f5[_0x24f3b3(0x39e)],typeof _0x2845f5['dbType']==='string'?_0x2845f5[_0x24f3b3(0x353)]:undefined,{'fieldInfo':_0x5b1402,'isPrimaryKey':_0x16a42b,'description':_0x2845f5[_0x24f3b3(0x346)]||_0x2845f5[_0x24f3b3(0x464)],'dbtableConfig':_0x585624});_0x41cab7[_0x2845f5[_0x24f3b3(0x421)]]=_0x5e0ab7;}),_0x587783===_0x1fe5eb(0x42d)&&(_0x41cab7['currentPage']=0x1,_0x41cab7[_0x1fe5eb(0x28a)]=0xa),_0x41cab7;}function formatEnumValue(_0x1529bd,_0x1f8944){const _0x10051f=a0_0x5456ff;if(_0x1529bd['multiple']&&Array['isArray'](_0x1f8944))return _0x1f8944[_0x10051f(0x418)](_0x542b7b=>_0x1529bd['valueLabels'][String(_0x542b7b)]||String(_0x542b7b))[_0x10051f(0x396)](',\x20');return _0x1529bd[_0x10051f(0x3c7)][String(_0x1f8944)]||String(_0x1f8944);}function a0_0xbb4d(){const _0x4595d8=['generateSingleValueExample','toConfig','toLowerCase','getConflicts','generateFromSchema','generateHTTPExample','\x5c}\x5c}','getFieldDataSource','getFilteredOperationAnalyses','JSON','fieldName','includeUsageExample','SMALLINT','getLatestDatasets','getDbTypeForOperation','-\x20主键使用\x20`id`\x20字段\x0a','_extend','primaryKey','这是一段较长的文本内容示例','selectBestOperator','({\x20currentPage,\x20pageSize\x20});','操作名称','getDbName','string','getFieldList','datasetSDKKey','getHTTPFields','getIds','getEnumMetas','SELECT','请求示例','requestFieldCount','181616mefBlx','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','Integer','substring','where','test','join','getTooltip','hasConflict','每页条数','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getEnabled','object','9147123FKmMpi','type','_raw','Field(','add','dbtableConfig','trim','findByCode','Operation\x20not\x20found:\x20','EXCEL_EXPORT','datasetId','FILE','has','_instance','toConfigArray','();','isUpdateTime','getDOType','isNumericField','聚合函数配置数组(type:\x20sum/count/avg/max/min)','Array','forEach','requestBody','getHTTPRequestParamsDocInfo','getAutoIncrement','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getByType','GET','getNames','tableKey','TIMESTAMP',',\x20doType=','getDisplayName','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','createDate','source','prefix','withDeleted','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dbId','文件上传','no\x20conflicts','valueLabels','$gteq','字段名称','getOneUpdate','round','HTTP\x20直接调用时使用平铺格式:\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','indexes','getFieldListWithDeleted','INTEGER','getConflictStats','排序规则(与\x20Filter\x20API\x20一致)','parseRawRequestBody','isOpenAPI','normalizeDbType','DrivenDataDetailPlus(','getDBConfig','isBusiness','generateSDKInitCode','FieldListV2(','2024-12-31','RICH_TEXT','查询单条(原始)','<!--\x5cs*CONDITION:\x5cs*','getOne','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','_min','getFieldListV2','data','getDatasetMeta','createFields','getFieldDisplayName','getDatasetDocMeta','success','STRING','address','解析\x20responseBody\x20失败:','requestFields','TINYINT','getSource','enumValues','getOperationAnalysesByType','null','getEnabledOperations','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','hasConflicts','长文本','每页数量(默认:\x2020)','repeat','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getCodes','getFieldName','getFieldRaw','forceVersion','_fieldListV2','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','[generateRequestExample]\x20Invalid\x20field:','获取数据集列表失败:\x20','avg','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','path','\x20fields,\x20','item1','getOperationDocMeta','创建导入','generateRequestExample','dbVersion','creatorIdField','15974500OOIYux','demo-app','detectConflicts','function','array','\x5c{\x5c{','dataIndex','multiple','//\x20Usage\x20examples','GET_LIST','isEnabled','ensureFilterOperation','field_name','map','GET_ONE_ORIGIN','getFileUrl','(id);','daily','value2','msg','获取上传脚本','DatasetGroup(','code','delete','getAppCode','max','CREATE_EXPORT','getEnumValues','update\x20接口接受两个参数:\x0a\x0a','UPLOAD','getDisabled','getOperators','tableName','TIME','getList','getSelectOptions','totalCount','getFieldsByType','getCountByMethod','getName','alias','isFieldPrimaryKey','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','modifierNameField','DbtableConfig(table:\x20','获取文件URL','BIGINT','having','orderBy','//\x20','$or','empty','getField','appCode','DECIMAL','method','generateUsageExample','https://example.com/image.jpg','排序规则','189951FjGfIP','_max','random','enabledOperationCount','示例文本','$lte','includeRequestExample','FieldV2(','const\x20fileUrl\x20=\x20await\x20client.models.','create','单值查询','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getFieldOptions','getModelName','sdkCallCode','groupByTableName','GET_FILE_URL','relations','getModelAlias','主键ID(必填)','slice','all','$lteq','options','getEnumFields','$and','autoIncrement','\x22,数据集:\x20','value1','name','generateFieldExample','_fieldListV1WithDeleted','mapDbTypeToType','getRealTables','modifierIdField','doType','length','includes','toTableName','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getRelationsByField','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getFieldDescription','getFieldsWithDeleted','IMPORT_TEMPLATE','getIndexes','getDisabledOperationInstances','-\x20其他要更新的字段直接平铺在同一层级','generateHTTPRequestExample','getCreateTime','labelField','tableColumns','responseBody','Filter\x20API\x20-\x20高级查询接口','N/A','warn','getLatest','\x20operations,\x20v1)','\x20operation','getEnum','https://example.com/file.pdf','value','GET_ONE_UPDATE','-\x20`','updateTimeField','generateAllOperationsFullSDKExample','_operations','getRawDbtableConfig','当前页码(从\x201\x20开始,默认:\x201)','(支持单值或数组)','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','_fieldListWithDeleted','modifyDate','generateOperationSummary','getOperationRequestFields','String','getRaw',',\x20currentPage,\x20pageSize,\x20...\x20});','errorCode','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getId','columnName','getType','datasetMap','getFilterOperators','SDK\x20调用','getRequired','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','_avg','getSystemFields','customFilter','size','0000','_requestExampleCache','hasFilterOperation','getRequiredFields','({\x20code,\x20label\x20});','isDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getConflictingItems','env','getSelectItemsSource','RADIO','getSDKInitData','isSystem','exampleWhere','suffix','getUploadFileScript','getPath','createTimeField','extend','getVirtualTables','precision','String[]','stringify','富文本','$eq','$ne','padStart','total','defaultValue','toArray','BOOLEAN','2024-01-01','push','toString','hasCreatorIdField','pkField','DATETIME','[dsparser]\x20跳过重复的表名\x20\x22','$in','getFieldSelectItemsSource','$startWith','tableData','generateDefaultFilterOperation','item2','isPrimaryKey','VARCHAR','解析\x20requestBody\x20失败:','getStats','getEnumFieldMeta','({\x20','创建导出','email','status','createTime','\x20operations,\x20','host','getOperationList','getAllFieldsArray','getSystemAnalysisResult','total_count','dataset','LONGBLOB','isRequiredField','DrivenDataDetail(','getDatabaseVersion','getOperation','getOperationsOverviewData','hasCreateTimeField','useFullExample','from','_datasetMeta','_operationList','getDisabledOperations','\x20的\x20extend\x20配置失败:','getDisabledNames','getEnumMeta','SWITCH','includeDisabled','时间戳','DrivenDataDetailV2(','distinct','getBusiness','4588BNYJiq','groups','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','isSystemField','getOperationCount','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','toFieldDefinition','isArray','toDatasetCode','getBusinessFields','getOperationFieldOperators','getRequestParamsDocInfo','94278gtBnTo','placeholder','usageExample','getRelatedDataset','getFieldNames','groupByType','dataset_','FieldList(','sortOperationsWithFilterFirst','logicField','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','hasOperation','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFieldCode','LONGTEXT','datasetCode','values','isVirtualTable','每页数量(可选)','getAll','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','toJSON','hasDblinkInfo','获取下拉选项','sortNum','isRequired','TEXT','includeDeleted','\x20indexes)','getOperationsData','generateRequestAllExamples','generateExampleValue','aggregate','/filter','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','set','lastIndexOf','任务信息','**可更新的字段列表:**','doVersion','FLOAT','replace','getInternalInstance','getExtendField','every','isMultipleSelectField','getSystem','<p>富文本内容</p>','sort','导入模板','displayName','BIT','当前页码(可选)','items','find','tenantCode','datasetKey','online','getPrimaryKeys','getCode','creatorNameField','pageSize','isEnum','支持多个条件','查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)','4lCXWSC','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','successCode','count','toUpperCase','isMultipleSelect','主键ID','boolean','allFields','_datasetMap','系统自动生成','##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a','DELETE','operationCount','CHAR','dataset_000000','version','isOperatorApplicableToField','TEXTAREA','generateAliasExplanation','getOperations','isAutoIncrement','getAt','getDatabaseType','完整的\x20SDK\x20调用代码','toListItem','prototype','\x20relations,\x20','hasLogicField','CREATE_IMPORT','createImport','Number','split','getResponseSchema','findById','context','DESC','hasModifierIdField','isEmpty','modelId','_operationAnalyses','filter','min','keyword','(params);','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','dbName','column','title','hasRelation','分组字段列表','分组后的过滤条件(对聚合结果进行过滤)','getFieldV2','toObject','getApplicableOperators','getAllDatasets','154yWzpBX','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','sum','DatasetItem(','parse','getUpdateFields','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','toDatasetName','errorMsg','fromField','iterator','label','index','operations','params','fromApiResponse','hasField','toISOString','currentPage','getFilterOperation','findByTableName','getFieldInstance','getDeleted','has\x20conflicts','generateResponseExample','default','getOperationAnalyses','dbTypeLen','taskInfo','TASK_INFO','CHECKBOX','some','getFirst','initDataset','properties','$contain','update','entries','findByName','getOperationFieldsOperatorsMap','children','OperationList(','getFieldOperators','当前页码','charAt','parseRawResponseBody','BOOL','datasetInfo','字段编码','datasetName','sdkCall','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','dblinkInfoDTO','number','getPrimaryKeyFields','getEnabledNames','getFields','generateAllOperationsSummary','getOperationAnalysis','toDatasetId','condition','getItems','$gte','\x20groups)','getRequestFields','getVersion','desc','\x20fields)','\x20items,\x20','parseFieldExtend','getTableKey','要更新的字段数据对象','getFieldsFilterOperatorsMap','getEnumOptions','validateEnumValue','_sum','isCreateTime','//\x20Call\x20the\x20','supportsCRUD','(实际字段:','enabled','示例值','conflictGroupCount','2.0','paging','createAll','getOperationStats','const\x20result\x20=\x20await\x20client.models.','responseSchema','getFilteredOperations','查询单条','select','获取数据集失败:\x20','_fieldListV1','13800138000','$endWith','get','hasUpdateTimeField','createExport','isPrimaryKeyField','getFullUrl','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getRequestParams','getPkField','yourModel','totalGroups','filterBlacklist','excelExport','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getOperationOperators','getMethod','查询单条(用于更新)','bind','getRelations','_fields','toField','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','importTemplate','required','hasTableName','getEnumFieldsMeta','Object','10715112okpqFS','fields','215qcCvwJ','DATE','INT','fieldCode','description','getFieldDefinition','getOldest','toFullConfig','getEnabledOperationInstances','modelCode','isEnumField','\x20API\x20文档','groupBy','deleted','updateTime','IMAGE','_relations','dbType','getFieldCount','getGroupedParams',',\x20...\x20});','NUMBER','Invalid\x20API\x20response:\x20success\x20is\x20false','getCount','CREATE','getDatasetSDKKey','conflictItemCount','now','-$1','keys','hasExtendField','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','raw','systemRetain','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','getFiltered','_fieldList','generateSDKCallCode','DOUBLE','query','getTableName','getEnabledOperationAnalyses','getMissingCRUDOperations','selectItemsSource','getOneOrigin'];a0_0xbb4d=function(){return _0x4595d8;};return a0_0xbb4d();}function formatOptionsForDoc(_0x2670a6){const _0x271187=a0_0x5456ff;return _0x2670a6[_0x271187(0x418)](_0x19ead0=>_0x19ead0[_0x271187(0x1d0)]+'('+_0x19ead0[_0x271187(0x2d1)]+')')[_0x271187(0x396)](',\x20');}function formatOptionsAsMarkdownList(_0x3811b2,_0x409a3a=0x0){const _0x559ce0=a0_0x5456ff,_0x39e16a='\x20\x20'[_0x559ce0(0x3f7)](_0x409a3a),_0x40a2d8=[];return _0x3811b2['forEach'](_0x2d8775=>{const _0x26c2f8=_0x559ce0;_0x40a2d8[_0x26c2f8(0x20f)](_0x39e16a+_0x26c2f8(0x1d2)+_0x2d8775[_0x26c2f8(0x1d0)]+'`:\x20'+_0x2d8775['label']),_0x2d8775[_0x26c2f8(0x2ee)]&&_0x2d8775[_0x26c2f8(0x2ee)]['length']>0x0&&_0x40a2d8[_0x26c2f8(0x20f)](formatOptionsAsMarkdownList(_0x2d8775['children'],_0x409a3a+0x1));}),_0x40a2d8[_0x559ce0(0x396)]('\x0a');}class DbtableConfig{[a0_0x5456ff(0x39f)];constructor(_0xe127a9){const _0x347d15=a0_0x5456ff,_0x545e28={..._0xe127a9};this[_0x347d15(0x39f)]=_0x545e28;}get['dbId'](){const _0x2ff46b=a0_0x5456ff;return this[_0x2ff46b(0x39f)][_0x2ff46b(0x3c4)];}get['dbName'](){const _0x4f6069=a0_0x5456ff;return this[_0x4f6069(0x39f)][_0x4f6069(0x2bc)]??this[_0x4f6069(0x39f)][_0x4f6069(0x2fa)]?.[_0x4f6069(0x2bc)];}get[a0_0x5456ff(0x42b)](){const _0x573c0b=a0_0x5456ff;return this[_0x573c0b(0x39f)][_0x573c0b(0x42b)];}get[a0_0x5456ff(0x285)](){const _0x3ff57c=a0_0x5456ff;return this['_raw'][_0x3ff57c(0x285)];}get['pkField'](){const _0x3f11d8=a0_0x5456ff;return this[_0x3f11d8(0x39f)][_0x3f11d8(0x212)];}get['labelField'](){const _0x504a66=a0_0x5456ff;return this[_0x504a66(0x39f)][_0x504a66(0x479)];}get['logicField'](){const _0x555110=a0_0x5456ff;return this[_0x555110(0x39f)][_0x555110(0x256)];}get['createTimeField'](){const _0x4e9f99=a0_0x5456ff;return this['_raw'][_0x4e9f99(0x200)];}get[a0_0x5456ff(0x1d3)](){const _0x3c89d5=a0_0x5456ff;return this[_0x3c89d5(0x39f)][_0x3c89d5(0x1d3)];}get[a0_0x5456ff(0x40a)](){const _0x168a51=a0_0x5456ff;return this[_0x168a51(0x39f)][_0x168a51(0x40a)];}get['creatorNameField'](){const _0x495c2a=a0_0x5456ff;return this['_raw'][_0x495c2a(0x289)];}get[a0_0x5456ff(0x469)](){const _0x2a65bf=a0_0x5456ff;return this[_0x2a65bf(0x39f)]['modifierIdField'];}get[a0_0x5456ff(0x437)](){const _0x11b192=a0_0x5456ff;return this[_0x11b192(0x39f)]['modifierNameField'];}get[a0_0x5456ff(0x2fa)](){const _0x7d4e19=a0_0x5456ff;return this[_0x7d4e19(0x39f)][_0x7d4e19(0x2fa)];}[a0_0x5456ff(0x228)](){const _0x55e171=a0_0x5456ff;if(!this[_0x55e171(0x39f)][_0x55e171(0x296)])return[];return this[_0x55e171(0x39f)][_0x55e171(0x296)]['split'](',')[_0x55e171(0x418)](_0x3c2b22=>_0x3c2b22['trim']())[_0x55e171(0x2b7)](Boolean);}['getAllFieldsString'](){const _0x38b073=a0_0x5456ff;return this[_0x38b073(0x39f)][_0x38b073(0x296)];}[a0_0x5456ff(0x2d6)](_0x31a3c4){const _0x2fbefe=a0_0x5456ff;return this[_0x2fbefe(0x228)]()[_0x2fbefe(0x46c)](_0x31a3c4);}[a0_0x5456ff(0x33d)](){const _0x7ed8fd=a0_0x5456ff;return Boolean(this[_0x7ed8fd(0x39f)]['tableName']);}['hasDblinkInfo'](){const _0x173d6e=a0_0x5456ff;return Boolean(this['_raw'][_0x173d6e(0x2fa)]);}[a0_0x5456ff(0x2aa)](){const _0xbc0fc5=a0_0x5456ff;return Boolean(this['_raw']['logicField']?.[_0xbc0fc5(0x379)]);}['hasCreateTimeField'](){const _0x52701f=a0_0x5456ff;return Boolean(this['_raw']['createTimeField']?.[_0x52701f(0x379)]);}['hasUpdateTimeField'](){const _0x47f9c0=a0_0x5456ff;return Boolean(this[_0x47f9c0(0x39f)][_0x47f9c0(0x1d3)]?.['fieldName']);}[a0_0x5456ff(0x211)](){const _0x502cf0=a0_0x5456ff;return Boolean(this['_raw']['creatorIdField']?.[_0x502cf0(0x379)]);}[a0_0x5456ff(0x2b3)](){const _0x473442=a0_0x5456ff;return Boolean(this['_raw'][_0x473442(0x469)]?.['fieldName']);}['isPrimaryKeyField'](_0x118345){const _0x4a6da5=a0_0x5456ff;return this[_0x4a6da5(0x39f)][_0x4a6da5(0x212)]===_0x118345;}[a0_0x5456ff(0x244)](_0x1a83ba){const _0x5666e9=a0_0x5456ff;return this[_0x5666e9(0x329)](_0x1a83ba)||this['_raw']['logicField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['createTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)]['updateTimeField']?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x40a)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x289)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x469)]?.[_0x5666e9(0x379)]===_0x1a83ba||this[_0x5666e9(0x39f)][_0x5666e9(0x437)]?.[_0x5666e9(0x379)]===_0x1a83ba;}['getDatabaseName'](){const _0x5dc579=a0_0x5456ff;return this[_0x5dc579(0x39f)][_0x5dc579(0x2fa)]?.[_0x5dc579(0x2bc)];}[a0_0x5456ff(0x2a5)](){const _0x27da8a=a0_0x5456ff;return this[_0x27da8a(0x39f)][_0x27da8a(0x2fa)]?.[_0x27da8a(0x353)];}[a0_0x5456ff(0x22f)](){const _0x2d0d87=a0_0x5456ff;return this['_raw'][_0x2d0d87(0x2fa)]?.[_0x2d0d87(0x409)];}['getTenantCode'](){const _0x2119a1=a0_0x5456ff;return this[_0x2119a1(0x39f)][_0x2119a1(0x2fa)]?.[_0x2119a1(0x284)];}[a0_0x5456ff(0x423)](){const _0x473763=a0_0x5456ff;return this['_raw'][_0x473763(0x2fa)]?.['appCode'];}[a0_0x5456ff(0x229)](){const _0xbcabd2=a0_0x5456ff;return this['_raw'][_0xbcabd2(0x2fa)]?.['systemAnalysisResult'];}[a0_0x5456ff(0x21e)](){const _0x1d54a9=a0_0x5456ff;return{'hasTableName':this[_0x1d54a9(0x33d)](),'hasDblinkInfo':this[_0x1d54a9(0x263)](),'fieldCount':this['getAllFieldsArray']()[_0x1d54a9(0x46b)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1d54a9(0x232)](),'hasUpdateTimeField':this[_0x1d54a9(0x327)](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this['hasModifierIdField']()}};}['toConfig'](){const _0xbbb7ed=a0_0x5456ff,_0x20994a={};return _0x20994a[_0xbbb7ed(0x42b)]=this[_0xbbb7ed(0x42b)],_0x20994a[_0xbbb7ed(0x212)]=this[_0xbbb7ed(0x212)],_0x20994a[_0xbbb7ed(0x285)]=this['datasetKey'],_0x20994a[_0xbbb7ed(0x3c4)]=this[_0xbbb7ed(0x3c4)],_0x20994a;}['toJSON'](){const _0x2c14ad=a0_0x5456ff,_0x46d805={...this[_0x2c14ad(0x39f)]};return _0x46d805;}[a0_0x5456ff(0x1df)](){const _0x2c0cd4={...this['_raw']};return _0x2c0cd4;}[a0_0x5456ff(0x210)](){const _0x5cb9b0=a0_0x5456ff,_0x2437b4=this[_0x5cb9b0(0x42b)]||_0x5cb9b0(0x47d),_0x2044d3=this[_0x5cb9b0(0x228)]()[_0x5cb9b0(0x46b)];return _0x5cb9b0(0x438)+_0x2437b4+',\x20fields:\x20'+_0x2044d3+')';}static[a0_0x5456ff(0x43f)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x5456ff(0x39f)];constructor(_0x5ed77c){const _0x4edc0b=a0_0x5456ff,_0x1d7457=_0x5ed77c[_0x4edc0b(0x25c)]||_0x5ed77c[_0x4edc0b(0x421)]||_0x5ed77c[_0x4edc0b(0x34b)],_0x365e4c={..._0x5ed77c};_0x365e4c[_0x4edc0b(0x25c)]=_0x1d7457,this[_0x4edc0b(0x39f)]=_0x365e4c;}get['id'](){const _0x4152f5=a0_0x5456ff;return this[_0x4152f5(0x39f)]['id'];}get[a0_0x5456ff(0x464)](){const _0xfdc6e7=a0_0x5456ff;return this['_raw'][_0xfdc6e7(0x464)];}['getName'](){const _0x4fa5fd=a0_0x5456ff;return this[_0x4fa5fd(0x464)];}get[a0_0x5456ff(0x25c)](){const _0x5b8324=a0_0x5456ff;return this[_0x5b8324(0x39f)][_0x5b8324(0x25c)]||'';}get[a0_0x5456ff(0x3a2)](){const _0x2d7a54=a0_0x5456ff;if(!this[_0x2d7a54(0x39f)][_0x2d7a54(0x3a2)])return null;return new DbtableConfig(this['_raw'][_0x2d7a54(0x3a2)]);}['getRawDbtableConfig'](){const _0xa64ce5=a0_0x5456ff;return this[_0xa64ce5(0x39f)][_0xa64ce5(0x3a2)];}[a0_0x5456ff(0x385)](){const _0x2fabd3=a0_0x5456ff;return this[_0x2fabd3(0x3a2)]?.[_0x2fabd3(0x2bc)]||'';}[a0_0x5456ff(0x36a)](){const _0x2f5494=a0_0x5456ff;return getTableName(this[_0x2f5494(0x39f)]);}[a0_0x5456ff(0x30c)](){const _0xa211c8=a0_0x5456ff;return getTableKey(this[_0xa211c8(0x36a)]());}[a0_0x5456ff(0x35b)](){const _0x32931d=a0_0x5456ff;return generateModelKeyFromCode(this[_0x32931d(0x25c)]);}[a0_0x5456ff(0x25e)](){const _0x4aa415=a0_0x5456ff;return isVirtualTableName(this[_0x4aa415(0x36a)]());}[a0_0x5456ff(0x454)](){const _0x3d6be3=a0_0x5456ff;return getTableKey(this[_0x3d6be3(0x36a)]());}[a0_0x5456ff(0x370)](){const _0xc40275=a0_0x5456ff,_0x5ce273=getTableKey(this['getTableName']());return{'key':_0x5ce273,'alias':_0x5ce273,'tableName':this[_0xc40275(0x36a)](),'datasetCode':this[_0xc40275(0x25c)],'name':this[_0xc40275(0x464)]};}[a0_0x5456ff(0x262)](){const _0x23cd36=a0_0x5456ff,_0x4ad7e6={...this[_0x23cd36(0x39f)]};return _0x4ad7e6[_0x23cd36(0x25c)]=this[_0x23cd36(0x25c)],_0x4ad7e6;}[a0_0x5456ff(0x1df)](){const _0x4960fc=a0_0x5456ff,_0x498683={...this[_0x4960fc(0x39f)]};return _0x498683;}['hasDbtableConfig'](){const _0x173bfe=a0_0x5456ff,_0x2cd305=this[_0x173bfe(0x3a2)];return _0x2cd305!==null&&_0x2cd305[_0x173bfe(0x33d)]();}[a0_0x5456ff(0x278)](_0x30198b){const _0x243248=a0_0x5456ff;return this[_0x243248(0x39f)][_0x30198b];}[a0_0x5456ff(0x360)](_0x4d8566){return _0x4d8566 in this['_raw'];}[a0_0x5456ff(0x210)](){const _0x3e68f9=a0_0x5456ff;return _0x3e68f9(0x2c9)+this['name']+',\x20'+this[_0x3e68f9(0x25c)]+')';}}class Operation{[a0_0x5456ff(0x464)];[a0_0x5456ff(0x39f)];[a0_0x5456ff(0x2b1)];constructor(_0x4ca34e,_0x2d354c,_0x293ca9){const _0x16ea49=a0_0x5456ff;this[_0x16ea49(0x464)]=_0x4ca34e,this[_0x16ea49(0x39f)]=_0x2d354c,this['context']=_0x293ca9;}[a0_0x5456ff(0x432)](){return this['name'];}['getDisplayName'](){const _0x148140=a0_0x5456ff;return OPERATION_TYPE_DISPLAY_NAME[this[_0x148140(0x464)]]||this[_0x148140(0x464)];}[a0_0x5456ff(0x1e5)](){const _0x1cb3ac=a0_0x5456ff;return parseOperationType(this[_0x1cb3ac(0x464)]);}[a0_0x5456ff(0x415)](){const _0x3fe4a3=a0_0x5456ff;return this[_0x3fe4a3(0x39f)]!==null&&this[_0x3fe4a3(0x39f)]!==![];}[a0_0x5456ff(0x334)](){const _0x57eca8=a0_0x5456ff,_0x23ea05=this[_0x57eca8(0x39f)];if(_0x23ea05===![]||_0x23ea05===null)return'';return _0x23ea05[_0x57eca8(0x443)]||_0x57eca8(0x3b8);}['getPath'](){const _0x24f21c=a0_0x5456ff,_0x418d9b=this['_raw'];if(_0x418d9b===![]||_0x418d9b===null)return'';return _0x418d9b[_0x24f21c(0x403)]||'';}['getFullUrl'](){const _0x3bdd81=a0_0x5456ff,_0x12cda2=this[_0x3bdd81(0x39f)];let _0x197e8c='';_0x12cda2!==![]&&_0x12cda2!==null&&_0x12cda2[_0x3bdd81(0x226)]&&(_0x197e8c=_0x12cda2[_0x3bdd81(0x226)]);const _0x4c19ef=this[_0x3bdd81(0x1ff)]();return _0x197e8c&&_0x4c19ef?''+_0x197e8c+_0x4c19ef:_0x4c19ef;}[a0_0x5456ff(0x3d3)](){const _0x2c9ce9=a0_0x5456ff,_0x29b666=this[_0x2c9ce9(0x39f)];if(_0x29b666===![]||_0x29b666===null||!_0x29b666[_0x2c9ce9(0x3b3)])return{};try{return JSON[_0x2c9ce9(0x2ca)](_0x29b666['requestBody']);}catch{return{};}}[a0_0x5456ff(0x2f3)](){const _0x1dd876=a0_0x5456ff,_0x120a1b=this['_raw'];if(_0x120a1b===![]||_0x120a1b===null||!_0x120a1b[_0x1dd876(0x47b)])return null;try{return JSON[_0x1dd876(0x2ca)](_0x120a1b['responseBody']);}catch{return null;}}['getRequestParams'](){const _0xc5e8f=a0_0x5456ff;return this[_0xc5e8f(0x3d3)]();}[a0_0x5456ff(0x2af)](){const _0x397dde=a0_0x5456ff;return this[_0x397dde(0x2f3)]();}[a0_0x5456ff(0x306)](){const _0x31edfc=a0_0x5456ff,_0x56b7f3=this['getRequestParams']();return Object[_0x31edfc(0x35f)](_0x56b7f3);}[a0_0x5456ff(0x408)](){const _0x5b1e43=a0_0x5456ff,_0x102b6b=this[_0x5b1e43(0x32c)](),_0x1a5c28={};return Object[_0x5b1e43(0x2eb)](_0x102b6b)[_0x5b1e43(0x3b2)](([_0x2ea11a,_0x3e3a60])=>{const _0x19b5d2=_0x5b1e43,_0x35e2ad=_0x3e3a60;_0x1a5c28[_0x2ea11a]=generateExampleValue(_0x2ea11a,_0x35e2ad['type']||'String',undefined,{'description':_0x35e2ad[_0x19b5d2(0x346)]});}),_0x1a5c28;}[a0_0x5456ff(0x374)](){const _0x26acd9=a0_0x5456ff;return this[_0x26acd9(0x408)]();}[a0_0x5456ff(0x2de)](){const _0x315b22=a0_0x5456ff,_0x388205=this['parseRawResponseBody']();if(!_0x388205){const _0x3e78e4={};return _0x3e78e4['success']=!![],_0x3e78e4['msg']='操作成功',_0x3e78e4[_0x315b22(0x2ce)]='',_0x3e78e4[_0x315b22(0x1e1)]=_0x315b22(0x1ef),_0x3e78e4[_0x315b22(0x3e3)]=null,_0x3e78e4;}return this[_0x315b22(0x373)](_0x388205);}[a0_0x5456ff(0x373)](_0x3a3384){const _0x95235c=a0_0x5456ff;if(!_0x3a3384||typeof _0x3a3384!==_0x95235c(0x39c))return{};if(Array[_0x95235c(0x248)](_0x3a3384))return _0x3a3384['length']>0x0?[this['generateFromSchema'](_0x3a3384[0x0])]:[];const _0x3c93fc={};for(const [_0x26fb32,_0x3eff88]of Object[_0x95235c(0x2eb)](_0x3a3384)){if(_0x3eff88&&typeof _0x3eff88==='object'&&!Array[_0x95235c(0x248)](_0x3eff88)){const _0x5c34ab=_0x3eff88;_0x3c93fc[_0x26fb32]=generateExampleValue(_0x26fb32,_0x5c34ab[_0x95235c(0x39e)]||'String',undefined,{'description':_0x5c34ab[_0x95235c(0x346)]});}else Array['isArray'](_0x3eff88)?_0x3c93fc[_0x26fb32]=_0x3eff88['length']>0x0?[this[_0x95235c(0x373)](_0x3eff88[0x0])]:[]:_0x3c93fc[_0x26fb32]=_0x3eff88;}return _0x3c93fc;}[a0_0x5456ff(0x465)](_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd){return generateExampleValue(_0x4ed1a9,_0x51c6da,_0x41c204,_0x4344fd);}[a0_0x5456ff(0x367)](_0x14f7fc,_0x15d181){const _0x198f0c=a0_0x5456ff,_0x212d33=this[_0x198f0c(0x432)]();return _0x198f0c(0x31d)+_0x14f7fc+'.'+_0x212d33+_0x198f0c(0x3ac);}['generateUsageExample'](_0x1b5700){const _0x5db664=a0_0x5456ff,_0x421e59=this['getName'](),_0x464fb1=_0x1b5700||_0x5db664(0x32e),_0x116852={};return _0x116852['successCode']='const\x20data\x20=\x20await\x20client.models.'+_0x464fb1+'.'+_0x421e59+_0x5db664(0x3ac),_0x116852[_0x5db664(0x1e1)]=_0x5db664(0x3e0)+_0x464fb1+'.'+_0x421e59+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x116852;}[a0_0x5456ff(0x24c)](){const _0x44baa6=a0_0x5456ff,_0x263968=this[_0x44baa6(0x32c)](),_0x503a9f=Object[_0x44baa6(0x2eb)](_0x263968)[_0x44baa6(0x418)](([_0x9ef2,_0x5e5f96])=>{const _0x28bb56=_0x44baa6,_0x105c11=_0x5e5f96,_0x23de83={};return _0x23de83[_0x28bb56(0x464)]=_0x9ef2,_0x23de83['type']=_0x105c11[_0x28bb56(0x39e)]||_0x28bb56(0x1de),_0x23de83[_0x28bb56(0x346)]=_0x105c11['description']||'-',_0x23de83[_0x28bb56(0x33c)]=_0x105c11[_0x28bb56(0x33c)],_0x23de83;}),_0x41251d={};return _0x41251d[_0x44baa6(0x2d4)]=_0x503a9f,_0x41251d;}['getResponseParamsDocInfo'](){const _0x45bdf7=a0_0x5456ff,_0x45cd34=this[_0x45bdf7(0x2f3)]();if(!_0x45cd34){const _0x4c3783={};return _0x4c3783[_0x45bdf7(0x2d4)]=[],_0x4c3783;}const _0x554a2e=Object['entries'](_0x45cd34)[_0x45bdf7(0x418)](([_0xd6e426,_0x43873b])=>{const _0xdae793=_0x45bdf7,_0x8e06f2=_0x43873b,_0x23b5c5={};return _0x23b5c5[_0xdae793(0x464)]=_0xd6e426,_0x23b5c5['type']=_0x8e06f2[_0xdae793(0x39e)]||'String',_0x23b5c5[_0xdae793(0x346)]=_0x8e06f2[_0xdae793(0x346)]||'-',_0x23b5c5;}),_0x9fa844={};return _0x9fa844[_0x45bdf7(0x2d4)]=_0x554a2e,_0x9fa844;}[a0_0x5456ff(0x1ec)](){return[];}[a0_0x5456ff(0x24a)](){return this['context']['fields']||[];}['getAllParams'](){return{'systemFields':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}['getFieldDefinition'](_0x1c4640){const _0x122047=a0_0x5456ff;return this[_0x122047(0x2b1)][_0x122047(0x341)]['find'](_0x280a35=>_0x280a35?.[_0x122047(0x421)]===_0x1c4640);}[a0_0x5456ff(0x25a)](_0x24bf82){const _0x29e05d=a0_0x5456ff;return _0x24bf82[_0x29e05d(0x421)];}['getFieldType'](_0x5be854){return _0x5be854['type'];}[a0_0x5456ff(0x3e6)](_0x182293){const _0x51ebf4=a0_0x5456ff;return _0x182293[_0x51ebf4(0x464)];}[a0_0x5456ff(0x471)](_0x541175){const _0x5d6bdf=a0_0x5456ff;return _0x541175[_0x5d6bdf(0x346)];}['getFieldOptions'](_0x1e97e3){const _0x35e9e3=a0_0x5456ff;return _0x1e97e3[_0x35e9e3(0x30f)]()||null;}[a0_0x5456ff(0x434)](_0x31cfe6){const _0x4793c0=a0_0x5456ff;return _0x31cfe6[_0x4793c0(0x21b)]();}[a0_0x5456ff(0x42a)](){return[];}[a0_0x5456ff(0x2f0)](_0x530358){return[];}[a0_0x5456ff(0x262)](){const _0x4493db=a0_0x5456ff;return{'name':this[_0x4493db(0x432)](),'displayName':this[_0x4493db(0x3bd)](),'type':this['getType'](),'enabled':this[_0x4493db(0x415)](),'method':this[_0x4493db(0x334)](),'path':this['getPath'](),'fullUrl':this[_0x4493db(0x32a)](),'requestParams':this[_0x4493db(0x32c)](),'requestExample':this[_0x4493db(0x408)](),'responseExample':this[_0x4493db(0x2de)]()};}[a0_0x5456ff(0x210)](){const _0x1c98a2=a0_0x5456ff,_0x11e738=this[_0x1c98a2(0x415)]()?'启用':'禁用';return this[_0x1c98a2(0x3bd)]()+'('+this[_0x1c98a2(0x464)]+',\x20'+_0x11e738+')';}}class GenericOperation extends Operation{[a0_0x5456ff(0x1f0)];[a0_0x5456ff(0x32c)](){const _0x4a9e83=a0_0x5456ff;return this[_0x4a9e83(0x3d3)]();}[a0_0x5456ff(0x2af)](){return this['parseRawResponseBody']();}[a0_0x5456ff(0x408)](){const _0x34857c=a0_0x5456ff;if(this[_0x34857c(0x1f0)])return this[_0x34857c(0x1f0)];const _0x49ca26={},_0x4b28e3=this[_0x34857c(0x32c)](),_0x4f4c99=this[_0x34857c(0x1e5)]();if(Object[_0x34857c(0x35f)](_0x4b28e3)['length']===0x0&&_0x4f4c99){const _0x5832da=this[_0x34857c(0x24a)]();return _0x5832da[_0x34857c(0x3b2)](_0x31e782=>{const _0x5c425f=_0x34857c,_0x4d0b89=_0x31e782[_0x5c425f(0x421)],_0x243ed8=_0x31e782[_0x5c425f(0x39e)],_0x3dd941=this['generateFieldExample'](_0x4d0b89,_0x243ed8,_0x31e782['getDbTypeForOperation'](),{'isPrimaryKey':_0x31e782[_0x5c425f(0x21b)](),'description':_0x31e782[_0x5c425f(0x346)]||_0x31e782[_0x5c425f(0x464)]});_0x49ca26[_0x4d0b89]=_0x3dd941;}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}return Object['entries'](_0x4b28e3)[_0x34857c(0x3b2)](([_0x1d46ff,_0x12b386])=>{const _0x8b62a0=_0x34857c,_0x41f055=_0x12b386;let _0x53e9e5;if(typeof _0x41f055[_0x8b62a0(0x39e)]===_0x8b62a0(0x386))_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)];else _0x41f055['type']&&typeof _0x41f055['type']===_0x8b62a0(0x39c)?_0x53e9e5=_0x41f055[_0x8b62a0(0x39e)][_0x8b62a0(0x39e)]||_0x8b62a0(0x267):_0x53e9e5=_0x8b62a0(0x267);const _0x483f6f=_0x41f055[_0x8b62a0(0x346)],_0x39ba61=this[_0x8b62a0(0x347)](_0x1d46ff);if(_0x1d46ff===_0x8b62a0(0x2d8))_0x49ca26[_0x1d46ff]=0x1;else{if(_0x1d46ff===_0x8b62a0(0x28a))_0x49ca26[_0x1d46ff]=0xa;else{if(_0x1d46ff==='id')_0x49ca26[_0x1d46ff]=0x1;else{const _0xea4bfe=_0x39ba61?_0x39ba61['getDbTypeForOperation']():undefined,_0x8989a2=_0x39ba61?_0x39ba61[_0x8b62a0(0x346)]:undefined,_0x2f326e=_0x39ba61?_0x39ba61['name']:undefined;_0x49ca26[_0x1d46ff]=this[_0x8b62a0(0x465)](_0x1d46ff,_0x53e9e5,_0xea4bfe||undefined,{'isPrimaryKey':_0x1d46ff===this['context'][_0x8b62a0(0x212)]||_0x1d46ff==='id','description':_0x483f6f||_0x8989a2||_0x2f326e});}}}}),this[_0x34857c(0x1f0)]=_0x49ca26,_0x49ca26;}[a0_0x5456ff(0x2de)](){const _0x48f98a=a0_0x5456ff,_0x2264e9=this[_0x48f98a(0x2af)]();if(!_0x2264e9){const _0x14e397={};return _0x14e397[_0x48f98a(0x3e8)]=!![],_0x14e397[_0x48f98a(0x41e)]='操作成功',_0x14e397[_0x48f98a(0x2ce)]='',_0x14e397[_0x48f98a(0x1e1)]=_0x48f98a(0x1ef),_0x14e397['data']=null,_0x14e397;}return this[_0x48f98a(0x373)](_0x2264e9);}[a0_0x5456ff(0x373)](_0x10f665){const _0x3dbe1e=a0_0x5456ff;if(!_0x10f665||typeof _0x10f665!==_0x3dbe1e(0x39c))return{};if(Array[_0x3dbe1e(0x248)](_0x10f665)){if(_0x10f665[_0x3dbe1e(0x46b)]>0x0)return[this[_0x3dbe1e(0x373)](_0x10f665[0x0])];return[];}const _0x3f506e={};return Object[_0x3dbe1e(0x35f)](_0x10f665)[_0x3dbe1e(0x3b2)](_0x1b98f9=>{const _0x302d0f=_0x3dbe1e,_0x14f6a9=_0x10f665[_0x1b98f9];if(_0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)&&!Array[_0x302d0f(0x248)](_0x14f6a9)&&_0x14f6a9['type']){const _0x13f607=_0x14f6a9;let _0x2be6fb;if(typeof _0x13f607[_0x302d0f(0x39e)]==='string')_0x2be6fb=_0x13f607[_0x302d0f(0x39e)];else _0x13f607[_0x302d0f(0x39e)]&&typeof _0x13f607[_0x302d0f(0x39e)]===_0x302d0f(0x39c)?_0x2be6fb=_0x13f607['type'][_0x302d0f(0x39e)]||_0x302d0f(0x267):_0x2be6fb=_0x302d0f(0x267);const _0x3cc4f9=_0x13f607[_0x302d0f(0x346)],_0x3cbfcd={};_0x3cbfcd[_0x302d0f(0x346)]=_0x3cc4f9,_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x465)](_0x1b98f9,_0x2be6fb,undefined,_0x3cbfcd);}else{if(Array[_0x302d0f(0x248)](_0x14f6a9))_0x3f506e[_0x1b98f9]=_0x14f6a9[_0x302d0f(0x46b)]>0x0?[this[_0x302d0f(0x373)](_0x14f6a9[0x0])]:[];else _0x14f6a9&&typeof _0x14f6a9===_0x302d0f(0x39c)?_0x3f506e[_0x1b98f9]=this[_0x302d0f(0x373)](_0x14f6a9):_0x3f506e[_0x1b98f9]=_0x14f6a9;}}),_0x3f506e;}[a0_0x5456ff(0x367)](_0xf80432,_0x2f6d18){const _0x1c46cb=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2f6d18||{},_0x4124e9=this['getName'](),_0x88b03d=this[_0x1c46cb(0x1e5)](),_0x21b98d=this[_0x1c46cb(0x306)](),_0x191691=this['generateRequestExample'](),_0x1e33a7=_0x5a4139=>{const _0xf8239e=_0x1c46cb;if(Object[_0xf8239e(0x35f)](_0x5a4139)['length']===0x0)return'{}';const _0x1f205d=JSON[_0xf8239e(0x205)](_0x5a4139,null,0x2)['split']('\x0a')[_0xf8239e(0x418)]((_0x1e676d,_0x51d8d8)=>_0x51d8d8===0x0?_0x1e676d:indent+_0x1e676d)[_0xf8239e(0x396)]('\x0a');return _0x1f205d;};switch(_0x88b03d){case _0x1c46cb(0x3df):case'delete':return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x41b);case _0x1c46cb(0x2ea):if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20'+_0x1e33a7(_0x191691)+');';return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'(id,\x20data);';case _0x1c46cb(0x450):case'getList':case _0x1c46cb(0x42e):default:if(_0x21b98d[_0x1c46cb(0x46b)]>0x0){if(useFullExample&&Object[_0x1c46cb(0x35f)](_0x191691)[_0x1c46cb(0x46b)]>0x0)return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+'('+_0x1e33a7(_0x191691)+');';else{const _0x573ef2=Object['keys'](_0x191691);if(_0x573ef2[_0x1c46cb(0x46b)]>0x0){const _0x4e588e=_0x573ef2[_0x1c46cb(0x45b)](0x0,0x2)[_0x1c46cb(0x396)](',\x20');return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x220)+_0x4e588e+_0x1c46cb(0x356);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x2ba);}}else return _0x1c46cb(0x31d)+_0xf80432+'.'+_0x4124e9+_0x1c46cb(0x3ac);}}['generateRequestAllExamples'](){const _0x2f9d3d=a0_0x5456ff;return[{'title':_0x2f9d3d(0x38d),'data':this['generateRequestExample']()}];}[a0_0x5456ff(0x1ec)](){const _0xe42431=a0_0x5456ff,_0x4d4d8b=this[_0xe42431(0x1e5)](),_0x3d8b0d=[];switch(_0x4d4d8b){case _0xe42431(0x3df):case'delete':const _0x44ba39={};_0x44ba39['code']='id',_0x44ba39[_0xe42431(0x39e)]=_0xe42431(0x357),_0x44ba39[_0xe42431(0x346)]=_0xe42431(0x294),_0x3d8b0d[_0xe42431(0x20f)](_0x44ba39);break;case _0xe42431(0x42d):const _0x373728={};_0x373728[_0xe42431(0x421)]=_0xe42431(0x2d8),_0x373728[_0xe42431(0x39e)]='NUMBER',_0x373728['description']=_0xe42431(0x2f1);const _0xe19717={};_0xe19717['code']=_0xe42431(0x28a),_0xe19717['type']='NUMBER',_0xe19717['description']=_0xe42431(0x399),_0x3d8b0d['push'](_0x373728,_0xe19717);break;case'getSelectOptions':const _0xf25458={};_0xf25458['code']=_0xe42431(0x421),_0xf25458['type']='STRING',_0xf25458[_0xe42431(0x346)]='选项编码(可选)',_0x3d8b0d[_0xe42431(0x20f)](_0xf25458);break;default:break;}return _0x3d8b0d;}[a0_0x5456ff(0x24a)](){const _0x59af69=a0_0x5456ff,_0x59f16b=this[_0x59af69(0x1e5)](),_0x265006=this[_0x59af69(0x2b1)][_0x59af69(0x341)]||[];switch(_0x59f16b){case _0x59af69(0x3df):case'delete':return[];case _0x59af69(0x450):return _0x265006[_0x59af69(0x2b7)](_0x52099d=>{const _0x5bfe35=_0x59af69;if(_0x52099d[_0x5bfe35(0x34f)])return![];if(_0x52099d[_0x5bfe35(0x21b)]()&&_0x52099d[_0x5bfe35(0x2a3)]())return![];if(_0x52099d[_0x5bfe35(0x1fb)]())return![];if(_0x52099d['isCreateTime']()||_0x52099d[_0x5bfe35(0x3ad)]())return![];return!![];});case _0x59af69(0x2ea):return _0x265006['filter'](_0x2baa16=>{const _0x27caa6=_0x59af69;if(_0x2baa16[_0x27caa6(0x34f)])return![];if(_0x2baa16[_0x27caa6(0x21b)]())return![];if(_0x2baa16[_0x27caa6(0x1fb)]())return![];if(_0x2baa16['isCreateTime']()||_0x2baa16['isUpdateTime']())return![];if(_0x2baa16[_0x27caa6(0x2a3)]())return![];return!![];});case _0x59af69(0x42d):case'getSelectOptions':return _0x265006['filter'](_0x5e1246=>!_0x5e1246[_0x59af69(0x34f)]&&_0x5e1246[_0x59af69(0x3d8)]());default:return _0x265006[_0x59af69(0x2b7)](_0x32f571=>!_0x32f571['deleted']&&_0x32f571[_0x59af69(0x3d8)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x834b8f=a0_0x5456ff,_0x598353=super[_0x834b8f(0x32c)](),_0x5cee8f=Object[_0x834b8f(0x35f)](_0x598353);if(_0x5cee8f[_0x834b8f(0x46b)]===0x0||_0x5cee8f[_0x834b8f(0x46b)]===0x1&&_0x5cee8f[0x0]===_0x834b8f(0x421)){if(!_0x598353[_0x834b8f(0x421)]){const _0x53a788={};_0x53a788[_0x834b8f(0x39e)]=_0x834b8f(0x1de),_0x53a788[_0x834b8f(0x346)]=_0x834b8f(0x2f6),_0x598353[_0x834b8f(0x421)]=_0x53a788;}const _0x1e5b22={};_0x1e5b22[_0x834b8f(0x39e)]='String',_0x1e5b22[_0x834b8f(0x346)]=_0x834b8f(0x3c9),_0x598353['label']=_0x1e5b22;}return _0x598353;}[a0_0x5456ff(0x24a)](){return[];}['getSystemFields'](){const _0xa17775=a0_0x5456ff,_0x375f49={};_0x375f49['code']=_0xa17775(0x421),_0x375f49[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x375f49[_0xa17775(0x346)]=_0xa17775(0x2f6);const _0x45e999={};return _0x45e999['code']=_0xa17775(0x2d1),_0x45e999[_0xa17775(0x39e)]=_0xa17775(0x1de),_0x45e999[_0xa17775(0x346)]=_0xa17775(0x3c9),[_0x375f49,_0x45e999];}['generateRequestExample'](){const _0x230304=a0_0x5456ff,_0x388f08={};return _0x388f08[_0x230304(0x421)]='field_name',_0x388f08[_0x230304(0x2d1)]=_0x230304(0x417),_0x388f08;}['generateSDKCallCode'](_0x65c0fd){const _0x1b0edc=a0_0x5456ff,_0x5a1d78=this[_0x1b0edc(0x432)]();return _0x1b0edc(0x31d)+_0x65c0fd+'.'+_0x5a1d78+_0x1b0edc(0x1f3);}}class GetListOperation extends GenericOperation{[a0_0x5456ff(0x32c)](){const _0x4ee2a1=a0_0x5456ff,_0x561925=super[_0x4ee2a1(0x32c)](),{currentPage:_0x10466f,pageSize:_0x3cd558,..._0x394e8c}=_0x561925,_0x360ae4={};Object[_0x4ee2a1(0x2eb)](_0x394e8c)[_0x4ee2a1(0x3b2)](([_0x59aebf,_0x2cbc09])=>{const _0x431a07=_0x4ee2a1;if(typeof _0x2cbc09===_0x431a07(0x39c)&&_0x2cbc09!==null){const _0x4dc144=_0x2cbc09,_0x406a29=_0x4dc144[_0x431a07(0x346)]||'',_0x59d39c={..._0x4dc144};_0x59d39c['description']=_0x406a29?_0x406a29+_0x431a07(0x1d8):'支持单值或数组',_0x360ae4[_0x59aebf]=_0x59d39c;}else _0x360ae4[_0x59aebf]=_0x2cbc09;});const _0x3918ab={...typeof _0x10466f===_0x4ee2a1(0x39c)?_0x10466f:{}};_0x3918ab['type']='Number',_0x3918ab[_0x4ee2a1(0x346)]='当前页码';const _0x1f06c2={...typeof _0x3cd558===_0x4ee2a1(0x39c)?_0x3cd558:{}};_0x1f06c2[_0x4ee2a1(0x39e)]=_0x4ee2a1(0x2ad),_0x1f06c2[_0x4ee2a1(0x346)]='每页数量';const _0x146cb9={..._0x360ae4};return _0x146cb9[_0x4ee2a1(0x2d8)]=_0x3918ab,_0x146cb9[_0x4ee2a1(0x28a)]=_0x1f06c2,_0x146cb9;}['generateRequestExample'](_0x1b4821){const _0x31c44a=a0_0x5456ff,{useArrayValues:useArrayValues=!![]}=_0x1b4821||{},_0x1ec3de=super['generateRequestExample'](),{currentPage:_0x170775,pageSize:_0x2fff2d,..._0x28c3c7}=_0x1ec3de;if(!useArrayValues){const _0x337b6e={..._0x28c3c7};return _0x337b6e[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x337b6e[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x337b6e;}const _0xab67d5={},_0x547777=['id',_0x31c44a(0x223),_0x31c44a(0x421),'type'];Object[_0x31c44a(0x2eb)](_0x28c3c7)['forEach'](([_0x39e8be,_0x165667],_0x20c42d)=>{const _0x40aa79=_0x31c44a,_0x594e4f=_0x547777[_0x40aa79(0x2e5)](_0x119fbb=>_0x39e8be['toLowerCase']()[_0x40aa79(0x46c)](_0x119fbb))||_0x20c42d%0x3===0x0;if(_0x594e4f&&_0x165667!==null&&_0x165667!==undefined){if(typeof _0x165667===_0x40aa79(0x2fb))_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+0x1,_0x165667+0x2];else typeof _0x165667===_0x40aa79(0x386)?_0xab67d5[_0x39e8be]=[_0x165667,_0x165667+'_2',_0x165667+'_3']:_0xab67d5[_0x39e8be]=[_0x165667];}else _0xab67d5[_0x39e8be]=_0x165667;});const _0x47f375={..._0xab67d5};return _0x47f375[_0x31c44a(0x2d8)]=_0x170775??0x1,_0x47f375[_0x31c44a(0x28a)]=_0x2fff2d??0xa,_0x47f375;}[a0_0x5456ff(0x36f)](){const _0x4bd93f=a0_0x5456ff,_0x50f0cd={};return _0x50f0cd['useArrayValues']=![],this[_0x4bd93f(0x408)](_0x50f0cd);}[a0_0x5456ff(0x26b)](){const _0x2e0b85=a0_0x5456ff;return[{'title':_0x2e0b85(0x451),'description':'查询单个条件','data':this[_0x2e0b85(0x36f)]()},{'title':'数组查询(支持多选)','description':_0x2e0b85(0x28c),'data':this[_0x2e0b85(0x408)]()}];}[a0_0x5456ff(0x367)](_0x116c0a,_0x25d8a7){const _0x10031f=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x25d8a7||{},_0x1538e7=this[_0x10031f(0x432)](),_0x33f705={};_0x33f705['useArrayValues']=!![];const _0x462e37=this['generateRequestExample'](_0x33f705),{currentPage:_0x5b8c04,pageSize:_0x6bfce,..._0x1f3409}=_0x462e37;if(useFullExample&&Object['keys'](_0x462e37)[_0x10031f(0x46b)]>0x0){const _0x3883be=Object[_0x10031f(0x35f)](_0x1f3409)['length']>0x0;if(_0x3883be){const _0x23ce7e=this[_0x10031f(0x36f)](),_0x1581e5=_0x36e5d6=>{const _0x158fd5=_0x10031f;return JSON[_0x158fd5(0x205)](_0x36e5d6,null,0x2)[_0x158fd5(0x2ae)]('\x0a')[_0x158fd5(0x418)]((_0xbd144e,_0x5aecbf)=>_0x5aecbf===0x0?_0xbd144e:indent+_0xbd144e)[_0x158fd5(0x396)]('\x0a');};return _0x10031f(0x2f9)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x23ce7e)+_0x10031f(0x391)+_0x116c0a+'.'+_0x1538e7+'('+_0x1581e5(_0x462e37)+');';}else{const _0x40cfbe=JSON['stringify'](_0x462e37,null,0x2)[_0x10031f(0x2ae)]('\x0a')[_0x10031f(0x418)]((_0x42b39b,_0x8ba1ac)=>_0x8ba1ac===0x0?_0x42b39b:indent+_0x42b39b)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x116c0a+'.'+_0x1538e7+'('+_0x40cfbe+');';}}if(Object['keys'](_0x1f3409)['length']>0x0){const _0x358a85=Object[_0x10031f(0x35f)](_0x1f3409)[0x0];return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+'({\x20'+_0x358a85+_0x10031f(0x1e0);}return _0x10031f(0x31d)+_0x116c0a+'.'+_0x1538e7+_0x10031f(0x383);}}var AGGREGATE_FUNCTIONS=[a0_0x5456ff(0x2c8),'count',a0_0x5456ff(0x401),a0_0x5456ff(0x424),a0_0x5456ff(0x2b8)],FILTER_OPERATORS=[a0_0x5456ff(0x207),a0_0x5456ff(0x208),a0_0x5456ff(0x304),a0_0x5456ff(0x3c8),a0_0x5456ff(0x44c),'$lteq',a0_0x5456ff(0x215),'$contain',a0_0x5456ff(0x217),a0_0x5456ff(0x325),'$and',a0_0x5456ff(0x43e)];class FilterOperation extends GenericOperation{constructor(_0x2e47e2,_0xa1dce1,_0xc2683f){super(_0x2e47e2,_0xa1dce1,_0xc2683f);}[a0_0x5456ff(0x42a)](){return FILTER_OPERATORS;}[a0_0x5456ff(0x2f0)](_0x1491c1){const _0x4fabf5=a0_0x5456ff,_0x2b76ea=this['getFieldDefinition'](_0x1491c1);if(!_0x2b76ea)return[];return this[_0x4fabf5(0x2c4)](_0x2b76ea);}[a0_0x5456ff(0x32c)](){const _0x49a151=a0_0x5456ff,_0x598ce3=super[_0x49a151(0x32c)](),_0x4f80e0={};_0x4f80e0['type']=_0x49a151(0x33f),_0x4f80e0[_0x49a151(0x346)]=_0x49a151(0x28d),_0x4f80e0[_0x49a151(0x33c)]=![];const _0x126f60={};_0x126f60[_0x49a151(0x39e)]=_0x49a151(0x204),_0x126f60[_0x49a151(0x346)]='返回字段列表(字段投影)',_0x126f60[_0x49a151(0x33c)]=![];const _0x4f958a={};_0x4f958a[_0x49a151(0x39e)]='Object[]',_0x4f958a['description']=_0x49a151(0x446),_0x4f958a[_0x49a151(0x33c)]=![];const _0x350418={};_0x350418[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x350418[_0x49a151(0x346)]='当前页码',_0x350418[_0x49a151(0x33c)]=![],_0x350418[_0x49a151(0x2df)]=0x1;const _0x242959={};_0x242959[_0x49a151(0x39e)]=_0x49a151(0x2ad),_0x242959[_0x49a151(0x346)]='每页数量',_0x242959[_0x49a151(0x33c)]=![],_0x242959[_0x49a151(0x2df)]=0xa;const _0x5abbaf={..._0x598ce3};return _0x5abbaf['where']=_0x4f80e0,_0x5abbaf[_0x49a151(0x321)]=_0x126f60,_0x5abbaf[_0x49a151(0x43c)]=_0x4f958a,_0x5abbaf['currentPage']=_0x350418,_0x5abbaf[_0x49a151(0x28a)]=_0x242959,_0x5abbaf;}['getSystemFields'](){const _0x3f8e4d=a0_0x5456ff,_0x3cf346=this['getRequestParams'](),_0x17d9c1=[],_0x4c2d62=[_0x3f8e4d(0x394),'select',_0x3f8e4d(0x43c),'currentPage',_0x3f8e4d(0x28a)];return Object[_0x3f8e4d(0x2eb)](_0x3cf346)[_0x3f8e4d(0x3b2)](([_0x571cf9,_0x316887])=>{const _0xcd7be2=_0x3f8e4d;if(_0x4c2d62['includes'](_0x571cf9)){const _0x3bc3c8=_0x316887,_0x152d97={};_0x152d97[_0xcd7be2(0x421)]=_0x571cf9,_0x152d97[_0xcd7be2(0x39e)]=_0x3bc3c8[_0xcd7be2(0x39e)]||'Object',_0x152d97[_0xcd7be2(0x346)]=_0x3bc3c8['description']||'-',_0x17d9c1[_0xcd7be2(0x20f)](_0x152d97);}}),_0x17d9c1;}['getBusinessFields'](){const _0x86e607=a0_0x5456ff;return this[_0x86e607(0x2b1)][_0x86e607(0x341)]||[];}[a0_0x5456ff(0x355)](){const _0x2a277a=a0_0x5456ff;return{'systemParams':this[_0x2a277a(0x1ec)](),'businessFields':this['getBusinessFields']()};}['generateRequestExample'](){const _0x2f21dd=a0_0x5456ff,_0x2a0dde=this['context'][_0x2f21dd(0x341)]||[];if(_0x2a0dde[_0x2f21dd(0x46b)]===0x0){const _0x1525b7={};return _0x1525b7['where']={},_0x1525b7[_0x2f21dd(0x2d8)]=0x1,_0x1525b7[_0x2f21dd(0x28a)]=0x14,_0x1525b7;}const _0x4082e7={},_0x3515ac=_0x2a0dde[_0x2f21dd(0x45b)](0x0,Math[_0x2f21dd(0x2b8)](0x3,_0x2a0dde[_0x2f21dd(0x46b)]));_0x3515ac['forEach'](_0x4835aa=>{const _0x92ad3=_0x2f21dd,_0x216fab=this['getApplicableOperators'](_0x4835aa);if(_0x216fab[_0x92ad3(0x46b)]===0x0)return;const _0x540b62=this[_0x92ad3(0x382)](_0x4835aa,_0x216fab),_0x4bb7b8=this[_0x92ad3(0x26c)](_0x4835aa,_0x540b62),_0xc4345b={};_0xc4345b[_0x540b62]=_0x4bb7b8,_0x4082e7[_0x4835aa[_0x92ad3(0x421)]]=_0xc4345b;});const _0x3a1f30=_0x2a0dde['slice'](0x0,Math[_0x2f21dd(0x2b8)](0x5,_0x2a0dde['length']))[_0x2f21dd(0x418)](_0x2ea0e1=>_0x2ea0e1['code']),_0x4dfdf7=_0x2a0dde[0x0]?_0x2a0dde[0x0][_0x2f21dd(0x421)]:'id',_0x1cd7a4={};_0x1cd7a4[_0x4dfdf7]=_0x2f21dd(0x2b2);const _0xa0abd3={};return _0xa0abd3[_0x2f21dd(0x394)]=_0x4082e7,_0xa0abd3[_0x2f21dd(0x321)]=_0x3a1f30,_0xa0abd3[_0x2f21dd(0x43c)]=[_0x1cd7a4],_0xa0abd3[_0x2f21dd(0x2d8)]=0x1,_0xa0abd3['pageSize']=0x14,_0xa0abd3;}[a0_0x5456ff(0x367)](_0x27f71a,_0x16b20b){const _0x5518d5=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x16b20b||{},_0xfafe05=this[_0x5518d5(0x432)](),_0x3b0f5c=this[_0x5518d5(0x408)](),_0x7a2315=_0x16003a=>{const _0x2eb281=_0x5518d5;return JSON['stringify'](_0x16003a,null,0x2)[_0x2eb281(0x2ae)]('\x0a')[_0x2eb281(0x418)]((_0x5f3929,_0x54faf9)=>_0x54faf9===0x0?_0x5f3929:indent+_0x5f3929)[_0x2eb281(0x396)]('\x0a');};if(useFullExample){const _0x37fe66=this['context'][_0x5518d5(0x341)]||[],_0x4a7d00={'where':_0x37fe66[0x0]?{[_0x37fe66[0x0][_0x5518d5(0x421)]]:{'$eq':this[_0x5518d5(0x26c)](_0x37fe66[0x0],_0x5518d5(0x207))}}:{},'select':_0x37fe66[_0x5518d5(0x45b)](0x0,0x3)[_0x5518d5(0x418)](_0x2079ea=>_0x2079ea[_0x5518d5(0x421)]),'currentPage':0x1,'pageSize':0x14};let _0xe3c57e='';if(_0x37fe66[_0x5518d5(0x46b)]>=0x3){const _0x11a454={};_0x11a454[_0x5518d5(0x460)]=[];const _0x14df76=_0x11a454,_0x1b2673=[];if(_0x37fe66[_0x5518d5(0x46b)]>0x0){const _0x5dfc82=_0x37fe66[_0x5518d5(0x283)](_0x53b04b=>{const _0x47783a=_0x5518d5,_0x4d50d5=_0x53b04b[_0x47783a(0x37d)]();return[_0x47783a(0x357),'INTEGER','BIGINT',_0x47783a(0x344),_0x47783a(0x3ed),_0x47783a(0x37b)]['includes'](_0x4d50d5);});if(_0x5dfc82){const _0x594c38={};_0x594c38[_0x5518d5(0x304)]=0x0,_0x594c38[_0x5518d5(0x44c)]=0x64;const _0x2b26a9={[_0x5dfc82[_0x5518d5(0x421)]]:_0x594c38};_0x1b2673[_0x5518d5(0x20f)](_0x2b26a9);}}if(_0x37fe66[_0x5518d5(0x46b)]>0x1){const _0x5dd4a6=_0x37fe66['find'](_0x1c48e6=>{const _0x15fbc5=_0x5518d5,_0x10888a=_0x1c48e6['getDbTypeForOperation']();return[_0x15fbc5(0x3e9),_0x15fbc5(0x267),_0x15fbc5(0x21c),_0x15fbc5(0x29c),_0x15fbc5(0x25b)][_0x15fbc5(0x46c)](_0x10888a);});if(_0x5dd4a6){const _0x489c21={};_0x489c21[_0x5518d5(0x2e9)]=_0x5518d5(0x2b9);const _0x19a562={[_0x5dd4a6[_0x5518d5(0x421)]]:_0x489c21};_0x1b2673[_0x5518d5(0x20f)](_0x19a562);}}if(_0x1b2673[_0x5518d5(0x46b)]>0x0){_0x14df76['$and']=_0x1b2673;const _0x414cb6={'where':_0x14df76,'select':_0x37fe66['slice'](0x0,0x4)[_0x5518d5(0x418)](_0x213be8=>_0x213be8[_0x5518d5(0x421)]),'orderBy':[{[_0x37fe66[0x0]['code']]:_0x5518d5(0x2b2)}],'currentPage':0x1,'pageSize':0x14};_0xe3c57e='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x414cb6)+');';}}return _0x5518d5(0x3b6)+_0x27f71a+'.'+_0xfafe05+'('+_0x7a2315(_0x4a7d00)+');'+_0xe3c57e;}const _0x2e3573=JSON['stringify'](_0x3b0f5c,null,0x2)['split']('\x0a')[_0x5518d5(0x418)]((_0x27c524,_0x42a985)=>_0x42a985===0x0?_0x27c524:indent+_0x27c524)['join']('\x0a');return _0x5518d5(0x31d)+_0x27f71a+'.'+_0xfafe05+'('+_0x2e3573+');';}[a0_0x5456ff(0x2c4)](_0x5c79fb){const _0x1e425a=a0_0x5456ff,_0x1a1c5f=_0x5c79fb['getDbTypeForOperation'](),_0x3fed73=[];if([_0x1e425a(0x357),_0x1e425a(0x3d0),_0x1e425a(0x43a),_0x1e425a(0x442)][_0x1e425a(0x46c)](_0x1a1c5f)||['INT',_0x1e425a(0x3ed),_0x1e425a(0x37b),_0x1e425a(0x368),_0x1e425a(0x275)][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73['push']('$eq',_0x1e425a(0x208),'$gte',_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d),_0x1e425a(0x215));else{if([_0x1e425a(0x3e9),_0x1e425a(0x267),_0x1e425a(0x21c)]['includes'](_0x1a1c5f)||[_0x1e425a(0x29c),'LONGTEXT'][_0x1e425a(0x46c)](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208),_0x1e425a(0x215),'$contain','$startWith',_0x1e425a(0x325));else{if(['DATE','DATETIME',_0x1e425a(0x3bb)][_0x1e425a(0x46c)](_0x1a1c5f)||[_0x1e425a(0x42c)]['includes'](_0x1a1c5f))_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),'$ne',_0x1e425a(0x304),_0x1e425a(0x44c),_0x1e425a(0x3c8),_0x1e425a(0x45d));else[_0x1e425a(0x20d),_0x1e425a(0x2f4),_0x1e425a(0x280)][_0x1e425a(0x46c)](_0x1a1c5f)?_0x3fed73[_0x1e425a(0x20f)](_0x1e425a(0x207),_0x1e425a(0x208)):_0x3fed73[_0x1e425a(0x20f)]('$eq',_0x1e425a(0x208));}}return _0x3fed73;}[a0_0x5456ff(0x382)](_0x37cfb4,_0x4c8839){const _0x7a6ec0=a0_0x5456ff,_0x4dbfed=_0x37cfb4['getDbTypeForOperation']();if([_0x7a6ec0(0x357),_0x7a6ec0(0x3d0),_0x7a6ec0(0x43a),_0x7a6ec0(0x442)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x344),_0x7a6ec0(0x3ed),'SMALLINT',_0x7a6ec0(0x368),_0x7a6ec0(0x275)][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x304))?'$gte':_0x7a6ec0(0x207);if([_0x7a6ec0(0x3e9),_0x7a6ec0(0x267),_0x7a6ec0(0x21c)][_0x7a6ec0(0x46c)](_0x4dbfed)||[_0x7a6ec0(0x29c),'LONGTEXT'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839[_0x7a6ec0(0x46c)](_0x7a6ec0(0x2e9))?'$contain':'$eq';if(['DATE',_0x7a6ec0(0x213),'TIMESTAMP','TIME'][_0x7a6ec0(0x46c)](_0x4dbfed))return _0x4c8839['includes'](_0x7a6ec0(0x304))?_0x7a6ec0(0x304):'$eq';return _0x7a6ec0(0x207);}[a0_0x5456ff(0x26c)](_0x4403d1,_0x3e2fca){const _0x5a036a=a0_0x5456ff,_0x128abc=_0x4403d1[_0x5a036a(0x37d)](),_0x260c08=_0x4403d1[_0x5a036a(0x30f)]();if(_0x260c08&&_0x260c08[_0x5a036a(0x46b)]>0x0){if(_0x3e2fca==='$in')return _0x260c08[_0x5a036a(0x45b)](0x0,0x2)[_0x5a036a(0x418)](_0x12a20f=>_0x12a20f[_0x5a036a(0x1d0)]);return _0x260c08[0x0][_0x5a036a(0x1d0)];}if([_0x5a036a(0x357),_0x5a036a(0x3d0),_0x5a036a(0x43a),_0x5a036a(0x442)][_0x5a036a(0x46c)](_0x128abc)||[_0x5a036a(0x344),'TINYINT',_0x5a036a(0x37b),_0x5a036a(0x368),_0x5a036a(0x275)]['includes'](_0x128abc)){if(_0x3e2fca==='$in')return[0x1,0x2,0x3];if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca==='$gteq')return 0x0;if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return 0x64;return 0x1;}if([_0x5a036a(0x3e9),_0x5a036a(0x267),_0x5a036a(0x21c)][_0x5a036a(0x46c)](_0x128abc)||['CHAR','LONGTEXT'][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x215))return[_0x5a036a(0x463),_0x5a036a(0x41d)];if(_0x3e2fca===_0x5a036a(0x2e9))return _0x5a036a(0x2b9);if(_0x3e2fca===_0x5a036a(0x217))return _0x5a036a(0x3c1);if(_0x3e2fca===_0x5a036a(0x325))return _0x5a036a(0x1fd);return'value';}if([_0x5a036a(0x343),_0x5a036a(0x213),_0x5a036a(0x3bb),_0x5a036a(0x42c)][_0x5a036a(0x46c)](_0x128abc)){if(_0x3e2fca===_0x5a036a(0x304)||_0x3e2fca===_0x5a036a(0x3c8))return'2024-01-01';if(_0x3e2fca===_0x5a036a(0x44c)||_0x3e2fca===_0x5a036a(0x45d))return _0x5a036a(0x3db);return'2024-01-01';}if([_0x5a036a(0x20d),_0x5a036a(0x2f4),_0x5a036a(0x280)][_0x5a036a(0x46c)](_0x128abc))return!![];return _0x3e2fca===_0x5a036a(0x215)?['value1',_0x5a036a(0x41d)]:_0x5a036a(0x1d0);}[a0_0x5456ff(0x24c)](){const _0x2c6f67=a0_0x5456ff,_0x9442bc=super['getRequestParams'](),_0x5a5952=Object[_0x2c6f67(0x2eb)](_0x9442bc)[_0x2c6f67(0x2b7)](([_0x5b2850])=>_0x5b2850!==_0x2c6f67(0x2d8)&&_0x5b2850!==_0x2c6f67(0x28a))['map'](([_0x436738,_0x255648])=>{const _0x34f51d=_0x2c6f67,_0x56bb5f=_0x255648,_0x11276d={};return _0x11276d[_0x34f51d(0x464)]=_0x436738,_0x11276d[_0x34f51d(0x39e)]=_0x56bb5f['type']||_0x34f51d(0x1de),_0x11276d[_0x34f51d(0x346)]=_0x56bb5f[_0x34f51d(0x346)]||'-',_0x11276d[_0x34f51d(0x33c)]=_0x56bb5f['required'],_0x11276d;}),_0x3710fb={};return _0x3710fb[_0x2c6f67(0x346)]=_0x2c6f67(0x2bb),_0x3710fb[_0x2c6f67(0x2d4)]=_0x5a5952,_0x3710fb;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x55377f=a0_0x5456ff,_0x6bcd97=super[_0x55377f(0x32c)]();if(Object[_0x55377f(0x35f)](_0x6bcd97)[_0x55377f(0x46b)]===0x0){const _0x589a2b={};this[_0x55377f(0x2b1)][_0x55377f(0x341)]['forEach'](_0x83b6e1=>{const _0x5e7829=_0x55377f;if(_0x83b6e1){const _0x451523=_0x83b6e1[_0x5e7829(0x421)],_0x386ea8=_0x83b6e1[_0x5e7829(0x37d)](),_0x4acdbe={};_0x4acdbe[_0x5e7829(0x39e)]=_0x386ea8||'TEXT',_0x4acdbe[_0x5e7829(0x265)]=_0x83b6e1[_0x5e7829(0x265)],_0x4acdbe[_0x5e7829(0x346)]=_0x83b6e1[_0x5e7829(0x346)]||_0x83b6e1['name'],_0x589a2b[_0x451523]=_0x4acdbe;}});const _0x2dbc8f={};_0x2dbc8f[_0x55377f(0x39e)]=_0x55377f(0x392),_0x2dbc8f[_0x55377f(0x346)]=_0x55377f(0x281),_0x589a2b[_0x55377f(0x2d8)]=_0x2dbc8f;const _0x316314={};return _0x316314[_0x55377f(0x39e)]=_0x55377f(0x392),_0x316314['description']=_0x55377f(0x25f),_0x589a2b['pageSize']=_0x316314,_0x589a2b;}return _0x6bcd97;}[a0_0x5456ff(0x408)](){const _0x568747=a0_0x5456ff,_0x4f5e48=super[_0x568747(0x408)]();if(Object['keys'](_0x4f5e48)[_0x568747(0x46b)]===0x0){const _0x34c2ae={};return _0x34c2ae['currentPage']=0x1,_0x34c2ae['pageSize']=0x64,_0x34c2ae;}const _0x2a8c52={..._0x4f5e48};return _0x2a8c52[_0x568747(0x2d8)]=_0x4f5e48['currentPage']??0x1,_0x2a8c52[_0x568747(0x28a)]=_0x4f5e48[_0x568747(0x28a)]??0x64,_0x2a8c52;}[a0_0x5456ff(0x2de)](){const _0x5b503a=a0_0x5456ff,_0x599001={};return _0x599001[_0x5b503a(0x3e8)]=!![],_0x599001[_0x5b503a(0x41e)]='',_0x599001[_0x5b503a(0x2ce)]='',_0x599001[_0x5b503a(0x1e1)]='0000',_0x599001['data']=_0x5b503a(0x243),_0x599001[_0x5b503a(0x2d4)]=null,_0x599001;}[a0_0x5456ff(0x367)](_0x58c7bf,_0x563db4){const _0x58f1ad=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x563db4||{},_0x2edda1=this[_0x58f1ad(0x432)]();if(useFullExample){const _0x1e3971=this[_0x58f1ad(0x408)](),{currentPage:_0x2cba02,pageSize:_0x14c886,..._0xc54cfc}=_0x1e3971,_0xd4a60c=Object['keys'](_0xc54cfc)[_0x58f1ad(0x46b)]>0x0;if(_0xd4a60c){const _0x1d38d8=_0x1d051c=>{const _0x18ae7a=_0x58f1ad;return JSON[_0x18ae7a(0x205)](_0x1d051c,null,0x2)[_0x18ae7a(0x2ae)]('\x0a')[_0x18ae7a(0x418)]((_0x45d6b0,_0x4ff5fc)=>_0x4ff5fc===0x0?_0x45d6b0:indent+_0x45d6b0)[_0x18ae7a(0x396)]('\x0a');};return _0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x46e)+_0x58c7bf+'.'+_0x2edda1+'('+_0x1d38d8(_0x1e3971)+');';}else{const _0x2426ae=_0x5015fe=>{const _0x27571f=_0x58f1ad;return JSON[_0x27571f(0x205)](_0x5015fe,null,0x2)[_0x27571f(0x2ae)]('\x0a')[_0x27571f(0x418)]((_0x147beb,_0x4d6fc8)=>_0x4d6fc8===0x0?_0x147beb:indent+_0x147beb)['join']('\x0a');},_0x10a8e8={};return _0x10a8e8[_0x58f1ad(0x2d8)]=0x1,_0x10a8e8['pageSize']=0x64,_0x58f1ad(0x257)+_0x58c7bf+'.'+_0x2edda1+_0x58f1ad(0x332)+_0x58c7bf+'.'+_0x2edda1+'('+_0x2426ae(_0x10a8e8)+');';}}return _0x58f1ad(0x44f)+_0x58c7bf+'.'+_0x2edda1+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x5456ff(0x444)](_0x1f9795){const _0x540c89=a0_0x5456ff,_0x459377=this[_0x540c89(0x432)](),_0x2376d0=_0x1f9795||_0x540c89(0x32e),_0x48c1ee='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x2376d0+'.'+_0x459377+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x85e2d1=_0x540c89(0x32b)+_0x2376d0+'.'+_0x459377+'();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}',_0x381b14={};return _0x381b14['successCode']=_0x48c1ee,_0x381b14[_0x540c89(0x1e1)]=_0x85e2d1,_0x381b14;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x59a447=a0_0x5456ff;return this[_0x59a447(0x3d3)]();}[a0_0x5456ff(0x32c)](){const _0x475782=a0_0x5456ff,_0x598ca3=this[_0x475782(0x2cb)](),_0x5f4a1d={};_0x5f4a1d[_0x475782(0x39e)]=_0x475782(0x357),_0x5f4a1d['description']=_0x475782(0x45a),_0x5f4a1d[_0x475782(0x33c)]=!![];const _0x370e95={};_0x370e95['type']=_0x475782(0x39c),_0x370e95[_0x475782(0x346)]=_0x475782(0x30d),_0x370e95['required']=!![],_0x370e95['properties']=_0x598ca3;const _0x77d8a4={};return _0x77d8a4['id']=_0x5f4a1d,_0x77d8a4[_0x475782(0x3e3)]=_0x370e95,_0x77d8a4;}['getUpdatableFields'](){const _0x3353c3=a0_0x5456ff;return this[_0x3353c3(0x2cb)]();}[a0_0x5456ff(0x389)](){const _0x2e0d60=a0_0x5456ff,_0x208513=this[_0x2e0d60(0x2b1)][_0x2e0d60(0x341)]||[],_0x495ad5=this['context'][_0x2e0d60(0x212)],_0x3756ef=_0x208513['find'](_0xd9ed36=>_0xd9ed36[_0x2e0d60(0x21b)]()||_0xd9ed36['code']===_0x495ad5),_0x23089a=_0x208513[_0x2e0d60(0x2b7)](_0x4e8894=>{const _0x4f2129=_0x2e0d60;if(_0x4e8894[_0x4f2129(0x34f)])return![];if(_0x4e8894===_0x3756ef||_0x4e8894[_0x4f2129(0x21b)]())return![];if(_0x4e8894[_0x4f2129(0x312)]()||_0x4e8894[_0x4f2129(0x3ad)]())return![];if(_0x4e8894[_0x4f2129(0x2a3)]())return![];return!![];});return _0x3756ef?[_0x3756ef,..._0x23089a]:_0x23089a;}[a0_0x5456ff(0x3b4)](){const _0x489181=a0_0x5456ff,_0x49c1f4=this['getHTTPFields'](),_0x2bc30c=this[_0x489181(0x2b1)]['pkField'],_0x5aed1a=_0x49c1f4[_0x489181(0x418)](_0x492374=>{const _0x4087cb=_0x489181,_0x7068b7=_0x492374[_0x4087cb(0x21b)]()||_0x492374[_0x4087cb(0x421)]===_0x2bc30c,_0x5c3027=_0x7068b7?'id':_0x492374['code'],_0x3ccd1b={};return _0x3ccd1b[_0x4087cb(0x464)]=_0x5c3027,_0x3ccd1b[_0x4087cb(0x39e)]=_0x492374[_0x4087cb(0x39e)],_0x3ccd1b[_0x4087cb(0x346)]=_0x7068b7?'主键,用于定位要更新的记录'+(_0x2bc30c&&_0x2bc30c!==_0x492374[_0x4087cb(0x421)]?_0x4087cb(0x315)+_0x492374[_0x4087cb(0x421)]+')':''):_0x492374['description']||_0x492374['name'],_0x3ccd1b;}),_0x59214d={};return _0x59214d[_0x489181(0x346)]=_0x489181(0x28f),_0x59214d['params']=_0x5aed1a,_0x59214d;}[a0_0x5456ff(0x24c)](){const _0x459a6c=a0_0x5456ff,_0x5cb249=this[_0x459a6c(0x2cb)](),_0x539358=Object[_0x459a6c(0x2eb)](_0x5cb249)['map'](([_0xa96712,_0x28e526])=>{const _0x1420d4=_0x459a6c,_0x2865be=_0x28e526,_0x2e808={};return _0x2e808['name']=_0xa96712,_0x2e808[_0x1420d4(0x39e)]=_0x2865be[_0x1420d4(0x39e)]||_0x1420d4(0x1de),_0x2e808[_0x1420d4(0x346)]=_0x2865be[_0x1420d4(0x346)]||'-',_0x2e808;}),_0x11bdd2={};return _0x11bdd2[_0x459a6c(0x346)]=_0x459a6c(0x427)+_0x459a6c(0x1ea)+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+_0x459a6c(0x3cd)+_0x459a6c(0x361)+_0x459a6c(0x273),_0x11bdd2[_0x459a6c(0x2d4)]=_0x539358,_0x11bdd2;}[a0_0x5456ff(0x408)](){const _0x2d0298=a0_0x5456ff,_0x1fd8fa=this['getUpdateFields'](),_0x4682d7={};Object[_0x2d0298(0x2eb)](_0x1fd8fa)[_0x2d0298(0x3b2)](([_0x3311c0,_0x579ffd])=>{const _0x36ba01=_0x2d0298,_0x5ee997=_0x579ffd;let _0x4b95bb;if(typeof _0x5ee997[_0x36ba01(0x39e)]==='string')_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)];else _0x5ee997['type']&&typeof _0x5ee997[_0x36ba01(0x39e)]===_0x36ba01(0x39c)?_0x4b95bb=_0x5ee997[_0x36ba01(0x39e)][_0x36ba01(0x39e)]||_0x36ba01(0x267):_0x4b95bb='TEXT';const _0x236239=_0x5ee997[_0x36ba01(0x346)],_0x4ee8a8=this[_0x36ba01(0x347)](_0x3311c0);_0x4682d7[_0x3311c0]=this[_0x36ba01(0x465)](_0x3311c0,_0x4b95bb,_0x4ee8a8?.[_0x36ba01(0x37d)](),{'isPrimaryKey':![],'description':_0x236239||_0x4ee8a8?.[_0x36ba01(0x346)]||_0x4ee8a8?.['name']});});const _0x48d9f3={};return _0x48d9f3['id']=0x1,_0x48d9f3[_0x2d0298(0x3e3)]=_0x4682d7,_0x48d9f3;}['generateRequestAllExamples'](){const _0x22b16c=a0_0x5456ff,_0x3983eb=this[_0x22b16c(0x408)](),_0x4efada={};return _0x4efada[_0x22b16c(0x2be)]='SDK\x20调用示例(两参数格式)',_0x4efada['description']='SDK\x20调用时传递两个参数:\x0a'+_0x22b16c(0x3f3)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x4efada[_0x22b16c(0x3e3)]=_0x3983eb,[_0x4efada,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x22b16c(0x3cc)+_0x22b16c(0x37e)+_0x22b16c(0x476),'data':this[_0x22b16c(0x477)]()}];}[a0_0x5456ff(0x477)](){const _0x540d9a=a0_0x5456ff,_0x3b2411=this[_0x540d9a(0x2cb)](),_0x54ecc2={};_0x54ecc2['id']=0x1;const _0x8429c=_0x54ecc2;return Object['entries'](_0x3b2411)[_0x540d9a(0x3b2)](([_0x33f6fe,_0x2056de])=>{const _0x18ada7=_0x540d9a,_0x437d3c=_0x2056de;let _0x14c804;if(typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x386))_0x14c804=_0x437d3c['type'];else _0x437d3c[_0x18ada7(0x39e)]&&typeof _0x437d3c[_0x18ada7(0x39e)]===_0x18ada7(0x39c)?_0x14c804=_0x437d3c[_0x18ada7(0x39e)]['type']||_0x18ada7(0x267):_0x14c804=_0x18ada7(0x267);const _0x4b0a4e=_0x437d3c['description'],_0x4df3cd=this[_0x18ada7(0x347)](_0x33f6fe);if(_0x4df3cd?.[_0x18ada7(0x21b)]())return;_0x8429c[_0x33f6fe]=this[_0x18ada7(0x465)](_0x33f6fe,_0x14c804,_0x4df3cd?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x4b0a4e||_0x4df3cd?.[_0x18ada7(0x346)]||_0x4df3cd?.[_0x18ada7(0x464)]});}),_0x8429c;}[a0_0x5456ff(0x374)](){return this['generateHTTPRequestExample']();}['generateSDKCallCode'](_0x26646a,_0x15b875){const _0x26133e=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x15b875||{},_0x1da909=this[_0x26133e(0x432)]();if(useFullExample){const _0x7ac47a=this['generateRequestExample'](),_0xd503a1=JSON[_0x26133e(0x205)](_0x7ac47a['data'],null,0x2)[_0x26133e(0x2ae)]('\x0a')[_0x26133e(0x418)]((_0x2dce59,_0x2e1651)=>_0x2e1651===0x0?_0x2dce59:indent+_0x2dce59)[_0x26133e(0x396)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x26646a+'.'+_0x1da909+'('+_0x7ac47a['id']+',\x20'+_0xd503a1+');';}return _0x26133e(0x31d)+_0x26646a+'.'+_0x1da909+'(id,\x20data);';}}class AggregateOperation extends GenericOperation{constructor(_0x7d2dbf,_0x1e62c5,_0x5b2da8){super(_0x7d2dbf,_0x1e62c5,_0x5b2da8);}[a0_0x5456ff(0x3d5)](_0x411507){const _0x33c9b9=a0_0x5456ff;return _0x411507[_0x33c9b9(0x276)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x33c9b9(0x3a3)]()[_0x33c9b9(0x292)]();}['getAggregates'](){return AGGREGATE_FUNCTIONS;}[a0_0x5456ff(0x32c)](){const _0x137109=a0_0x5456ff,_0x40e990=super[_0x137109(0x32c)](),_0x471c1a={};_0x471c1a['type']='String[]',_0x471c1a['description']=_0x137109(0x3fe),_0x471c1a[_0x137109(0x33c)]=![];const _0x4549e3={};_0x4549e3[_0x137109(0x39e)]=_0x137109(0x33f),_0x4549e3[_0x137109(0x346)]=_0x137109(0x390),_0x4549e3['required']=![];const _0x5c90e0={};_0x5c90e0[_0x137109(0x39e)]=_0x137109(0x204),_0x5c90e0[_0x137109(0x346)]=_0x137109(0x2c0),_0x5c90e0[_0x137109(0x33c)]=![];const _0x202818={};_0x202818[_0x137109(0x39e)]=_0x137109(0x3b1),_0x202818[_0x137109(0x346)]='聚合函数配置数组',_0x202818[_0x137109(0x33c)]=![];const _0x547de0={};_0x547de0[_0x137109(0x39e)]=_0x137109(0x3b1),_0x547de0['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x547de0[_0x137109(0x33c)]=![];const _0x2888ca={};_0x2888ca[_0x137109(0x39e)]='Array',_0x2888ca[_0x137109(0x346)]='排序规则(与\x20Filter\x20API\x20一致)',_0x2888ca['required']=![];const _0x49179d={};_0x49179d[_0x137109(0x39e)]=_0x137109(0x2ad),_0x49179d[_0x137109(0x346)]=_0x137109(0x1d7),_0x49179d['required']=![];const _0x25fa82={};_0x25fa82[_0x137109(0x39e)]='Number',_0x25fa82[_0x137109(0x346)]=_0x137109(0x3f6),_0x25fa82[_0x137109(0x33c)]=![];const _0x5bf996={..._0x40e990};return _0x5bf996[_0x137109(0x321)]=_0x471c1a,_0x5bf996[_0x137109(0x394)]=_0x4549e3,_0x5bf996[_0x137109(0x34e)]=_0x5c90e0,_0x5bf996['aggregate']=_0x202818,_0x5bf996[_0x137109(0x43b)]=_0x547de0,_0x5bf996['orderBy']=_0x2888ca,_0x5bf996['currentPage']=_0x49179d,_0x5bf996[_0x137109(0x28a)]=_0x25fa82,_0x5bf996;}[a0_0x5456ff(0x1ec)](){const _0x41f5fc=a0_0x5456ff,_0x399085={};_0x399085[_0x41f5fc(0x421)]=_0x41f5fc(0x321),_0x399085[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x399085['description']=_0x41f5fc(0x3fe);const _0x5af293={};_0x5af293[_0x41f5fc(0x421)]='where',_0x5af293[_0x41f5fc(0x39e)]='Object',_0x5af293[_0x41f5fc(0x346)]=_0x41f5fc(0x390);const _0x329517={};_0x329517[_0x41f5fc(0x421)]=_0x41f5fc(0x34e),_0x329517[_0x41f5fc(0x39e)]=_0x41f5fc(0x204),_0x329517['description']='分组字段列表';const _0x27546d={};_0x27546d[_0x41f5fc(0x421)]=_0x41f5fc(0x26d),_0x27546d[_0x41f5fc(0x39e)]='Array',_0x27546d['description']=_0x41f5fc(0x3b0);const _0x5dff3c={};_0x5dff3c[_0x41f5fc(0x421)]=_0x41f5fc(0x43b),_0x5dff3c[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x5dff3c[_0x41f5fc(0x346)]=_0x41f5fc(0x2c1);const _0x26a6e3={};_0x26a6e3['code']=_0x41f5fc(0x43c),_0x26a6e3[_0x41f5fc(0x39e)]=_0x41f5fc(0x3b1),_0x26a6e3[_0x41f5fc(0x346)]=_0x41f5fc(0x3d2);const _0x208479={};_0x208479[_0x41f5fc(0x421)]=_0x41f5fc(0x2d8),_0x208479[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x208479[_0x41f5fc(0x346)]=_0x41f5fc(0x1d7);const _0x5c5e26={};return _0x5c5e26[_0x41f5fc(0x421)]='pageSize',_0x5c5e26[_0x41f5fc(0x39e)]=_0x41f5fc(0x2ad),_0x5c5e26[_0x41f5fc(0x346)]=_0x41f5fc(0x3f6),[_0x399085,_0x5af293,_0x329517,_0x27546d,_0x5dff3c,_0x26a6e3,_0x208479,_0x5c5e26];}[a0_0x5456ff(0x408)](){const _0x7aca43=a0_0x5456ff,_0x5b0c5b=this['context'][_0x7aca43(0x341)]||[];if(_0x5b0c5b[_0x7aca43(0x46b)]===0x0){const _0x3edf0a={};return _0x3edf0a[_0x7aca43(0x394)]={},_0x3edf0a[_0x7aca43(0x34e)]=[],_0x3edf0a[_0x7aca43(0x26d)]=[],_0x3edf0a;}const _0x845cc4={},_0x37c2ad=_0x5b0c5b['slice'](0x0,Math['min'](0x3,_0x5b0c5b['length']));_0x37c2ad[_0x7aca43(0x3b2)](_0x55b0cb=>{const _0x2b2b30=_0x7aca43,_0x4da786=this[_0x2b2b30(0x2c4)](_0x55b0cb);if(_0x4da786['length']===0x0)return;const _0x1c35cd=this[_0x2b2b30(0x382)](_0x55b0cb,_0x4da786),_0x673bfb=this['generateExampleValue'](_0x55b0cb,_0x1c35cd),_0x47c617={};_0x47c617[_0x1c35cd]=_0x673bfb,_0x845cc4[_0x55b0cb[_0x2b2b30(0x421)]]=_0x47c617;});const _0x19e825=_0x5b0c5b['slice'](0x0,Math[_0x7aca43(0x2b8)](0x2,_0x5b0c5b['length']))[_0x7aca43(0x418)](_0x43d5f6=>_0x43d5f6[_0x7aca43(0x421)]),_0x1dd092=[],_0x1e76b6=_0x5b0c5b[_0x7aca43(0x2b7)](_0x3dd731=>this[_0x7aca43(0x3af)](_0x3dd731));if(_0x1e76b6[_0x7aca43(0x46b)]>0x0){const _0x588561=_0x1e76b6[0x0],_0x589579=_0x588561[_0x7aca43(0x421)],_0x563009={};_0x563009[_0x7aca43(0x39e)]=_0x7aca43(0x2c8),_0x563009[_0x7aca43(0x2bd)]=_0x589579,_0x563009[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x311),_0x563009[_0x7aca43(0x23f)]=![],_0x563009[_0x7aca43(0x3cb)]=!![],_0x563009['precision']=0x2,_0x1dd092['push'](_0x563009);const _0x5d48c9={};_0x5d48c9[_0x7aca43(0x39e)]='avg',_0x5d48c9[_0x7aca43(0x2bd)]=_0x589579,_0x5d48c9[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x1eb),_0x5d48c9[_0x7aca43(0x23f)]=![],_0x5d48c9[_0x7aca43(0x3cb)]=!![],_0x5d48c9['precision']=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x5d48c9);const _0x4e26a2={};_0x4e26a2['type']='max',_0x4e26a2['column']=_0x589579,_0x4e26a2[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x448),_0x4e26a2[_0x7aca43(0x23f)]=![],_0x4e26a2[_0x7aca43(0x3cb)]=!![],_0x4e26a2[_0x7aca43(0x203)]=0x2,_0x1dd092['push'](_0x4e26a2);const _0x4eff32={};_0x4eff32[_0x7aca43(0x39e)]=_0x7aca43(0x2b8),_0x4eff32[_0x7aca43(0x2bd)]=_0x589579,_0x4eff32[_0x7aca43(0x433)]=_0x589579+_0x7aca43(0x3e1),_0x4eff32[_0x7aca43(0x23f)]=![],_0x4eff32[_0x7aca43(0x3cb)]=!![],_0x4eff32[_0x7aca43(0x203)]=0x2,_0x1dd092[_0x7aca43(0x20f)](_0x4eff32);}else{if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0xb3e9df=_0x5b0c5b[0x0],_0x408716=_0xb3e9df[_0x7aca43(0x421)],_0x5f2658={};_0x5f2658[_0x7aca43(0x39e)]=_0x7aca43(0x291),_0x5f2658[_0x7aca43(0x2bd)]=_0x408716,_0x5f2658['alias']=_0x7aca43(0x22a),_0x5f2658[_0x7aca43(0x23f)]=!![],_0x1dd092['push'](_0x5f2658);}}const _0x16b63b=[];if(_0x5b0c5b[_0x7aca43(0x46b)]>0x0){const _0x14fcac=_0x5b0c5b[0x0][_0x7aca43(0x421)],_0x45ba3a={};_0x45ba3a[_0x14fcac]=_0x7aca43(0x308),_0x16b63b[_0x7aca43(0x20f)](_0x45ba3a);}const _0x19aa05=[..._0x19e825,..._0x1dd092[_0x7aca43(0x418)](_0x30baaf=>_0x30baaf[_0x7aca43(0x433)])],_0x299725=[];if(_0x1dd092[_0x7aca43(0x46b)]>0x0){const _0x383001={};_0x383001['$gte']=0x0;const _0x3ac762={};_0x3ac762[_0x7aca43(0x1e4)]=_0x1dd092[0x0]['alias'],_0x3ac762[_0x7aca43(0x302)]=_0x383001,_0x299725[_0x7aca43(0x20f)](_0x3ac762);}const _0x4b53d6={};return _0x4b53d6[_0x7aca43(0x321)]=_0x19aa05,_0x4b53d6[_0x7aca43(0x394)]=_0x845cc4,_0x4b53d6[_0x7aca43(0x34e)]=_0x19e825,_0x4b53d6[_0x7aca43(0x26d)]=_0x1dd092,_0x4b53d6['having']=_0x299725[_0x7aca43(0x46b)]>0x0?_0x299725:undefined,_0x4b53d6[_0x7aca43(0x43c)]=_0x16b63b,_0x4b53d6[_0x7aca43(0x2d8)]=0x1,_0x4b53d6[_0x7aca43(0x28a)]=0x14,_0x4b53d6;}[a0_0x5456ff(0x367)](_0x1e29ff,_0x1e3695){const _0x10b08a=a0_0x5456ff,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1e3695||{},_0x1e3b41=this[_0x10b08a(0x432)](),_0x169f38=this[_0x10b08a(0x408)](),_0x3f0af=_0x1172f3=>{const _0x2f9d0b=_0x10b08a;return JSON[_0x2f9d0b(0x205)](_0x1172f3,null,0x2)[_0x2f9d0b(0x2ae)]('\x0a')[_0x2f9d0b(0x418)]((_0x221406,_0xaf1732)=>_0xaf1732===0x0?_0x221406:indent+_0x221406)['join']('\x0a');};if(useFullExample){const _0x35f401=this[_0x10b08a(0x2b1)][_0x10b08a(0x341)]||[],_0x4b2fe0=_0x35f401[_0x10b08a(0x2b7)](_0x2a517d=>this[_0x10b08a(0x3af)](_0x2a517d)),_0x4a558b={'where':_0x35f401[0x0]?{[_0x35f401[0x0][_0x10b08a(0x421)]]:{'$eq':this['generateExampleValue'](_0x35f401[0x0],_0x10b08a(0x207))}}:{},'aggregate':_0x4b2fe0['length']>0x0?[{'type':_0x10b08a(0x2c8),'column':_0x4b2fe0[0x0]['code'],'alias':_0x4b2fe0[0x0][_0x10b08a(0x421)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x35f401[0x0][_0x10b08a(0x421)],'alias':_0x10b08a(0x22a),'distinct':!![]}],'orderBy':[{[_0x35f401[0x0]['code']]:_0x10b08a(0x308)}]};let _0x1ae6ed='';return _0x35f401[_0x10b08a(0x46b)]>=0x3&&(_0x1ae6ed='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x169f38)+');'),_0x10b08a(0x452)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x3f0af(_0x4a558b)+');'+_0x1ae6ed;}const _0x34eab5=JSON['stringify'](_0x169f38,null,0x2)[_0x10b08a(0x2ae)]('\x0a')[_0x10b08a(0x418)]((_0x436954,_0x22882a)=>_0x22882a===0x0?_0x436954:indent+_0x436954)[_0x10b08a(0x396)]('\x0a');return _0x10b08a(0x31d)+_0x1e29ff+'.'+_0x1e3b41+'('+_0x34eab5+');';}['isNumericField'](_0x517996){const _0x1982ff=a0_0x5456ff,_0x1c7266=_0x517996[_0x1982ff(0x37d)]();return[_0x1982ff(0x357),'INTEGER',_0x1982ff(0x43a),_0x1982ff(0x442)][_0x1982ff(0x46c)](_0x1c7266)||[_0x1982ff(0x344),'TINYINT',_0x1982ff(0x37b),_0x1982ff(0x368),_0x1982ff(0x275)][_0x1982ff(0x46c)](_0x1c7266);}['getApplicableOperators'](_0x2785c0){const _0x5b64f3=a0_0x5456ff,_0x5b42fa=_0x2785c0[_0x5b64f3(0x37d)](),_0x164fc2=[];if([_0x5b64f3(0x357),_0x5b64f3(0x3d0),_0x5b64f3(0x43a),_0x5b64f3(0x442)]['includes'](_0x5b42fa)||[_0x5b64f3(0x344),_0x5b64f3(0x3ed),_0x5b64f3(0x37b),_0x5b64f3(0x368),'FLOAT'][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),_0x5b64f3(0x3c8),'$lteq',_0x5b64f3(0x215));else{if([_0x5b64f3(0x3e9),_0x5b64f3(0x267),_0x5b64f3(0x21c)][_0x5b64f3(0x46c)](_0x5b42fa)||['CHAR',_0x5b64f3(0x25b)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2['push']('$eq',_0x5b64f3(0x208),_0x5b64f3(0x215),'$contain',_0x5b64f3(0x217),_0x5b64f3(0x325));else{if([_0x5b64f3(0x343),'DATETIME',_0x5b64f3(0x3bb)][_0x5b64f3(0x46c)](_0x5b42fa)||[_0x5b64f3(0x42c)][_0x5b64f3(0x46c)](_0x5b42fa))_0x164fc2[_0x5b64f3(0x20f)](_0x5b64f3(0x207),_0x5b64f3(0x208),_0x5b64f3(0x304),_0x5b64f3(0x44c),'$gteq',_0x5b64f3(0x45d));else['BOOLEAN',_0x5b64f3(0x2f4),_0x5b64f3(0x280)][_0x5b64f3(0x46c)](_0x5b42fa)?_0x164fc2['push']('$eq',_0x5b64f3(0x208)):_0x164fc2[_0x5b64f3(0x20f)]('$eq',_0x5b64f3(0x208));}}return _0x164fc2;}[a0_0x5456ff(0x382)](_0x593b6e,_0x4e2660){const _0x597ee5=a0_0x5456ff,_0x58cb0b=_0x593b6e['getDbTypeForOperation']();if([_0x597ee5(0x357),_0x597ee5(0x3d0),_0x597ee5(0x43a),_0x597ee5(0x442)][_0x597ee5(0x46c)](_0x58cb0b)||['INT',_0x597ee5(0x3ed),_0x597ee5(0x37b),'DOUBLE','FLOAT']['includes'](_0x58cb0b))return _0x4e2660['includes']('$gte')?_0x597ee5(0x304):_0x597ee5(0x207);if([_0x597ee5(0x3e9),_0x597ee5(0x267),'VARCHAR'][_0x597ee5(0x46c)](_0x58cb0b)||[_0x597ee5(0x29c),_0x597ee5(0x25b)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660[_0x597ee5(0x46c)]('$contain')?_0x597ee5(0x2e9):'$eq';if([_0x597ee5(0x343),_0x597ee5(0x213),_0x597ee5(0x3bb),_0x597ee5(0x42c)][_0x597ee5(0x46c)](_0x58cb0b))return _0x4e2660['includes'](_0x597ee5(0x304))?_0x597ee5(0x304):_0x597ee5(0x207);return _0x597ee5(0x207);}['generateExampleValue'](_0x21d8b9,_0xfbcdb){const _0x14a93a=a0_0x5456ff,_0x4d3a00=_0x21d8b9[_0x14a93a(0x37d)](),_0x25edbf=_0x21d8b9[_0x14a93a(0x30f)]();if(_0x25edbf&&_0x25edbf[_0x14a93a(0x46b)]>0x0){if(_0xfbcdb==='$in')return _0x25edbf[_0x14a93a(0x45b)](0x0,0x2)[_0x14a93a(0x418)](_0x18442f=>_0x18442f[_0x14a93a(0x1d0)]);return _0x25edbf[0x0]['value'];}if([_0x14a93a(0x357),_0x14a93a(0x3d0),_0x14a93a(0x43a),'DECIMAL'][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x344),_0x14a93a(0x3ed),'SMALLINT','DOUBLE',_0x14a93a(0x275)]['includes'](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x215))return[0x1,0x2,0x3];if(_0xfbcdb==='$gte'||_0xfbcdb===_0x14a93a(0x3c8))return 0x0;if(_0xfbcdb===_0x14a93a(0x44c)||_0xfbcdb===_0x14a93a(0x45d))return 0x64;return 0x1;}if([_0x14a93a(0x3e9),_0x14a93a(0x267),_0x14a93a(0x21c)][_0x14a93a(0x46c)](_0x4d3a00)||[_0x14a93a(0x29c),_0x14a93a(0x25b)]['includes'](_0x4d3a00)){if(_0xfbcdb==='$in')return['value1',_0x14a93a(0x41d)];if(_0xfbcdb===_0x14a93a(0x2e9))return _0x14a93a(0x2b9);if(_0xfbcdb===_0x14a93a(0x217))return'prefix';if(_0xfbcdb==='$endWith')return _0x14a93a(0x1fd);return _0x14a93a(0x1d0);}if([_0x14a93a(0x343),_0x14a93a(0x213),_0x14a93a(0x3bb),_0x14a93a(0x42c)][_0x14a93a(0x46c)](_0x4d3a00)){if(_0xfbcdb===_0x14a93a(0x304)||_0xfbcdb===_0x14a93a(0x3c8))return _0x14a93a(0x20e);if(_0xfbcdb==='$lte'||_0xfbcdb===_0x14a93a(0x45d))return _0x14a93a(0x3db);return _0x14a93a(0x20e);}if([_0x14a93a(0x20d),'BOOL','BIT'][_0x14a93a(0x46c)](_0x4d3a00))return!![];return _0xfbcdb==='$in'?[_0x14a93a(0x463),'value2']:'value';}['getRequestParamsDocInfo'](){const _0x36fcbc=a0_0x5456ff,_0x5e4d06=this['getRequestParams'](),_0x350bc4=Object[_0x36fcbc(0x2eb)](_0x5e4d06)[_0x36fcbc(0x2b7)](([_0x303ae1])=>_0x303ae1!==_0x36fcbc(0x2d8)&&_0x303ae1!==_0x36fcbc(0x28a))['map'](([_0x3f1914,_0x44aceb])=>{const _0x3ad347=_0x36fcbc,_0x11da9=_0x44aceb,_0xa15f46={};return _0xa15f46[_0x3ad347(0x464)]=_0x3f1914,_0xa15f46['type']=_0x11da9['type']||_0x3ad347(0x1de),_0xa15f46['description']=_0x11da9['description']||'-',_0xa15f46['required']=_0x11da9[_0x3ad347(0x33c)],_0xa15f46;}),_0x5c1774={};return _0x5c1774[_0x36fcbc(0x346)]=_0x36fcbc(0x33a),_0x5c1774['params']=_0x350bc4,_0x5c1774;}[a0_0x5456ff(0x2de)](){const _0x389e6a=a0_0x5456ff,_0x531c44=this[_0x389e6a(0x408)]()[_0x389e6a(0x26d)],_0x13cdfd=[{}],_0x4bacd1=[];_0x531c44?.[_0x389e6a(0x3b2)](_0x4c94cc=>{const _0x2229cb=_0x389e6a,_0x1b10f5={};_0x1b10f5[_0x2229cb(0x2be)]=_0x4c94cc[_0x2229cb(0x433)],_0x1b10f5[_0x2229cb(0x411)]=_0x4c94cc['alias'],_0x4bacd1[_0x2229cb(0x20f)](_0x1b10f5),_0x13cdfd[0x0][_0x4c94cc[_0x2229cb(0x433)]]=_0x4c94cc[_0x2229cb(0x39e)]==='count'?0x64:Math['round'](Math[_0x2229cb(0x449)]()*0x64*0x64)/0x64;});const _0x1313e3={};_0x1313e3[_0x389e6a(0x28a)]=0x1,_0x1313e3[_0x389e6a(0x42f)]=0x64,_0x1313e3['currentPage']=0x1;const _0x3c788b={};_0x3c788b[_0x389e6a(0x31a)]=_0x1313e3,_0x3c788b['tableData']=_0x13cdfd,_0x3c788b[_0x389e6a(0x47a)]=_0x4bacd1;const _0xa81998={};return _0xa81998[_0x389e6a(0x3e8)]=!![],_0xa81998[_0x389e6a(0x41e)]='',_0xa81998['errorMsg']='',_0xa81998['errorCode']='0000',_0xa81998[_0x389e6a(0x3e3)]=_0x3c788b,_0xa81998[_0x389e6a(0x2d4)]=null,_0xa81998;}}class OperationFactory{[a0_0x5456ff(0x450)](_0x4f0692,_0x321a8e,_0x5c5f8f){const _0x26c09b=a0_0x5456ff;switch(_0x4f0692){case _0x26c09b(0x42e):return new GetSelectOptionsOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x42d):return new GetListOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'filter':return new FilterOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x331):return new ExcelExportOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case'update':return new UpdateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);case _0x26c09b(0x26d):return new AggregateOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);default:return new GenericOperation(_0x4f0692,_0x321a8e,_0x5c5f8f);}}[a0_0x5456ff(0x31b)](_0x584914,_0x4a83ce){const _0x3edcc8=a0_0x5456ff,_0x299a07=new Map();return Object[_0x3edcc8(0x2eb)](_0x584914)[_0x3edcc8(0x3b2)](([_0x15858c,_0x772842])=>{const _0x5d20e1=_0x3edcc8;_0x299a07['set'](_0x15858c,this[_0x5d20e1(0x450)](_0x15858c,_0x772842,_0x4a83ce));}),_0x299a07;}}class OperationList{[a0_0x5456ff(0x1d5)];constructor(_0x4bfe29,_0x52e496){const _0xfc8448=a0_0x5456ff,_0x2167c3=new OperationFactory();this[_0xfc8448(0x1d5)]=_0x2167c3['createAll'](_0x4bfe29,_0x52e496);}[a0_0x5456ff(0x326)](_0x1a4c22){const _0x171a94=a0_0x5456ff;return this[_0x171a94(0x1d5)][_0x171a94(0x326)](_0x1a4c22);}[a0_0x5456ff(0x3a9)](_0x43f1dc){const _0x2dafda=a0_0x5456ff;return this[_0x2dafda(0x1d5)]['has'](_0x43f1dc);}['size'](){const _0x4d66d5=a0_0x5456ff;return this[_0x4d66d5(0x1d5)]['size'];}[a0_0x5456ff(0x3b9)](){const _0x3595cf=a0_0x5456ff;return Array[_0x3595cf(0x234)](this['_operations'][_0x3595cf(0x35f)]());}['toArray'](){const _0x44679c=a0_0x5456ff,_0x1144e6=Array[_0x44679c(0x234)](this[_0x44679c(0x1d5)][_0x44679c(0x25d)]());return this[_0x44679c(0x255)](_0x1144e6);}[a0_0x5456ff(0x39b)](){const _0x38a3e3=a0_0x5456ff;return this[_0x38a3e3(0x20c)]()[_0x38a3e3(0x2b7)](_0x1914e8=>_0x1914e8[_0x38a3e3(0x415)]());}[a0_0x5456ff(0x429)](){const _0x52281e=a0_0x5456ff;return this[_0x52281e(0x20c)]()[_0x52281e(0x2b7)](_0x1a8387=>!_0x1a8387[_0x52281e(0x415)]());}[a0_0x5456ff(0x2fd)](){const _0x4378c6=a0_0x5456ff;return this[_0x4378c6(0x39b)]()[_0x4378c6(0x418)](_0x38b9c9=>_0x38b9c9[_0x4378c6(0x432)]());}[a0_0x5456ff(0x239)](){const _0x5754ed=a0_0x5456ff;return this[_0x5754ed(0x429)]()[_0x5754ed(0x418)](_0x4e5d01=>_0x4e5d01[_0x5754ed(0x432)]());}[a0_0x5456ff(0x3b7)](_0x408e12){const _0x2d8d47=a0_0x5456ff;return this['toArray']()['filter'](_0x4c78b9=>_0x4c78b9[_0x2d8d47(0x1e5)]()===_0x408e12);}[a0_0x5456ff(0x2b7)](_0xdd9f7c){const _0x3b01b1=a0_0x5456ff;return this[_0x3b01b1(0x20c)]()[_0x3b01b1(0x2b7)](_0xdd9f7c);}[a0_0x5456ff(0x365)](_0x59a1b9={}){const _0x5c0818=a0_0x5456ff;let _0x311662=this[_0x5c0818(0x20c)]();!_0x59a1b9[_0x5c0818(0x23c)]&&(_0x311662=_0x311662['filter'](_0x239e5b=>_0x239e5b[_0x5c0818(0x415)]()));if(_0x59a1b9[_0x5c0818(0x330)]!==![]){const _0x3f5190=_0x311662[_0x5c0818(0x418)](_0x22df93=>({'name':_0x22df93[_0x5c0818(0x432)](),'operation':_0x22df93})),_0xebf1ba=filterApiOperations(_0x3f5190);_0x311662=_0xebf1ba[_0x5c0818(0x418)](_0x32d79c=>_0x32d79c['operation']),_0x311662=this['sortOperationsWithFilterFirst'](_0x311662);}return _0x59a1b9['customFilter']&&(_0x311662=_0x311662[_0x5c0818(0x2b7)](_0x59a1b9[_0x5c0818(0x1ed)])),_0x311662;}[a0_0x5456ff(0x255)](_0x52e2b0){const _0x56747f=a0_0x5456ff,_0x44d627=_0x52e2b0['find'](_0x4d1966=>_0x4d1966[_0x56747f(0x432)]()==='filter'),_0x5562da=_0x52e2b0['filter'](_0x190bd4=>_0x190bd4[_0x56747f(0x432)]()!==_0x56747f(0x2b7));return _0x44d627?[_0x44d627,..._0x5562da]:_0x5562da;}[a0_0x5456ff(0x21e)](){const _0x78ea1c=a0_0x5456ff,_0x58c7c1=this[_0x78ea1c(0x39b)]();return{'total':this[_0x78ea1c(0x1ee)](),'enabled':_0x58c7c1['length'],'disabled':this[_0x78ea1c(0x1ee)]()-_0x58c7c1[_0x78ea1c(0x46b)],'byType':this['getCountByType'](_0x58c7c1),'byMethod':this['getCountByMethod'](_0x58c7c1)};}['getCountByType'](_0x2bbf93){const _0x2578c4={};return _0x2bbf93['forEach'](_0x520bcc=>{const _0x22b5f7=_0x520bcc['getType']();_0x22b5f7&&(_0x2578c4[_0x22b5f7]=(_0x2578c4[_0x22b5f7]||0x0)+0x1);}),_0x2578c4;}[a0_0x5456ff(0x431)](_0x1f3ddb){const _0x3f5c57=a0_0x5456ff,_0x4cad18={};return _0x1f3ddb[_0x3f5c57(0x3b2)](_0x136935=>{const _0x203afc=_0x3f5c57,_0x179e4f=_0x136935[_0x203afc(0x334)]();_0x179e4f&&(_0x4cad18[_0x179e4f]=(_0x4cad18[_0x179e4f]||0x0)+0x1);}),_0x4cad18;}[Symbol[a0_0x5456ff(0x2d0)]](){const _0x486827=a0_0x5456ff;return this['_operations'][_0x486827(0x25d)]();}[a0_0x5456ff(0x210)](){const _0x63ea25=a0_0x5456ff,_0x7eaefd=this[_0x63ea25(0x21e)]();return _0x63ea25(0x2ef)+_0x7eaefd[_0x63ea25(0x316)]+'/'+_0x7eaefd['total']+'\x20operations)';}}class DBConfig{[a0_0x5456ff(0x362)];['dbId'];['dbName'];[a0_0x5456ff(0x353)];[a0_0x5456ff(0x409)];[a0_0x5456ff(0x42b)];['datasetKey'];[a0_0x5456ff(0x212)];['tenantCode'];['appCode'];constructor(_0x19345d,_0x427288){const _0xdb93c4=a0_0x5456ff;this[_0xdb93c4(0x362)]=_0x427288,this[_0xdb93c4(0x3c4)]=_0x19345d[_0xdb93c4(0x3c4)],this[_0xdb93c4(0x2bc)]=_0x19345d[_0xdb93c4(0x2bc)],this[_0xdb93c4(0x353)]=_0x19345d['dbType'],this[_0xdb93c4(0x409)]=_0x19345d[_0xdb93c4(0x409)],this[_0xdb93c4(0x42b)]=_0x19345d['tableName'],this[_0xdb93c4(0x285)]=_0x19345d['datasetKey'],this[_0xdb93c4(0x212)]=_0x19345d[_0xdb93c4(0x212)],this[_0xdb93c4(0x284)]=_0x19345d[_0xdb93c4(0x284)],this[_0xdb93c4(0x441)]=_0x19345d[_0xdb93c4(0x441)];}[a0_0x5456ff(0x1df)](){const _0x126c24=a0_0x5456ff;return this[_0x126c24(0x362)];}}class DrivenDataDetailBase extends DatasetItem{['_operationList'];['_fieldList'];[a0_0x5456ff(0x1da)];constructor(_0x5d8a4b){const _0x2ed5dc=a0_0x5456ff,_0x707d17={..._0x5d8a4b};_0x707d17['id']=_0x5d8a4b['modelId']||_0x5d8a4b['id'],_0x707d17[_0x2ed5dc(0x25c)]=_0x5d8a4b[_0x2ed5dc(0x34b)]||_0x5d8a4b[_0x2ed5dc(0x25c)]||_0x5d8a4b[_0x2ed5dc(0x421)],super(_0x707d17);}[a0_0x5456ff(0x3e4)](){return;}[a0_0x5456ff(0x337)](){return[];}[a0_0x5456ff(0x474)](){return[];}get[a0_0x5456ff(0x3c0)](){const _0xc53e41=a0_0x5456ff;return this[_0xc53e41(0x3ee)]();}[a0_0x5456ff(0x387)](){const _0x5dd4e7=a0_0x5456ff;if(!this[_0x5dd4e7(0x366)])throw new Error(_0x5dd4e7(0x1e2));return this[_0x5dd4e7(0x366)];}['getFieldListWithDeleted'](){const _0x14d202=a0_0x5456ff;if(!this[_0x14d202(0x1da)])throw new Error(_0x14d202(0x246));return this['_fieldListWithDeleted'];}[a0_0x5456ff(0x2fe)](){return[];}[a0_0x5456ff(0x472)](){const _0x4d51c5=a0_0x5456ff,_0xc25722=this[_0x4d51c5(0x376)]();return _0xc25722[_0x4d51c5(0x341)];}[a0_0x5456ff(0x354)](){return this['getFields']()['length'];}['getField'](_0x5ca966){const _0x5148c5=a0_0x5456ff,_0x56b301=this[_0x5148c5(0x2db)](_0x5ca966);return _0x56b301?_0x56b301[_0x5148c5(0x362)]:undefined;}[a0_0x5456ff(0x3fb)](_0x6170d0){return;}[a0_0x5456ff(0x30b)](_0x16bc8a){const _0x33399a=a0_0x5456ff;if(!_0x16bc8a||typeof _0x16bc8a!=='object')return!![]&&console[_0x33399a(0x47e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x16bc8a),{};if(_0x33399a(0x212)in _0x16bc8a){const _0x4cdb33=_0x16bc8a;return{'primaryKey':typeof _0x4cdb33[_0x33399a(0x212)]===_0x33399a(0x295)?_0x4cdb33['pkField']:Boolean(_0x4cdb33[_0x33399a(0x212)]),'required':_0x4cdb33['required'],'systemRetain':Boolean(_0x4cdb33[_0x33399a(0x363)]),'autoIncrement':_0x4cdb33['autoIncrement']??undefined};}if(!(_0x33399a(0x201)in _0x16bc8a)||!_0x16bc8a['extend'])return{};try{const _0x5e849a=typeof _0x16bc8a[_0x33399a(0x201)]===_0x33399a(0x386)?JSON['parse'](_0x16bc8a[_0x33399a(0x201)]):_0x16bc8a[_0x33399a(0x201)];if(typeof _0x5e849a!=='object'||_0x5e849a===null)return{};return _0x5e849a;}catch{return{};}}[a0_0x5456ff(0x227)](){const _0x1b2f5b=a0_0x5456ff;if(!this[_0x1b2f5b(0x236)]){const _0x4c8600=this[_0x1b2f5b(0x416)](this[_0x1b2f5b(0x26a)]()||{});this['_operationList']=new OperationList(_0x4c8600,{'fields':this[_0x1b2f5b(0x387)]()[_0x1b2f5b(0x45c)](),'pkField':this[_0x1b2f5b(0x39f)][_0x1b2f5b(0x3a2)]?.[_0x1b2f5b(0x212)],'dbtableConfig':this['_raw'][_0x1b2f5b(0x3a2)]||null});}return this['_operationList'];}[a0_0x5456ff(0x416)](_0x56a980){const _0x3f3781=a0_0x5456ff;if(_0x56a980[_0x3f3781(0x2b7)]!==undefined)return _0x56a980;return{..._0x56a980,'filter':this[_0x3f3781(0x219)]()};}[a0_0x5456ff(0x219)](){const _0x5423d4=a0_0x5456ff,_0x4faee9=this['getOperationsData']()?.['getList'];let _0xba28f5=_0x4faee9?.['host'],_0x40af1a='';if(!_0xba28f5&&this[_0x5423d4(0x26a)]()){const _0xbed32b=Object[_0x5423d4(0x25d)](this[_0x5423d4(0x26a)]());for(const _0x149abd of _0xbed32b){if(_0x149abd&&typeof _0x149abd===_0x5423d4(0x39c)&&_0x5423d4(0x226)in _0x149abd){_0xba28f5=_0x149abd['host'];break;}}}if(_0x4faee9?.[_0x5423d4(0x403)]){const _0x358e73=_0x4faee9[_0x5423d4(0x403)],_0x22c1e1=_0x358e73[_0x5423d4(0x271)]('/');_0x22c1e1!==-0x1&&(_0x40af1a=_0x358e73[_0x5423d4(0x393)](0x0,_0x22c1e1));}const _0xbd62cc={};_0xbd62cc[_0x5423d4(0x464)]=_0x5423d4(0x394),_0xbd62cc[_0x5423d4(0x39e)]=_0x5423d4(0x39c),_0xbd62cc['required']=![];const _0x5cfd14={};_0x5cfd14[_0x5423d4(0x464)]=_0x5423d4(0x321),_0x5cfd14[_0x5423d4(0x39e)]='array',_0x5cfd14['required']=![];const _0x330c8a={};_0x330c8a[_0x5423d4(0x464)]=_0x5423d4(0x43c),_0x330c8a[_0x5423d4(0x39e)]=_0x5423d4(0x40f),_0x330c8a[_0x5423d4(0x33c)]=![];const _0x341d97={};_0x341d97['name']=_0x5423d4(0x2d8),_0x341d97['type']=_0x5423d4(0x2fb),_0x341d97[_0x5423d4(0x33c)]=![],_0x341d97['default']=0x1;const _0x4fbc90={};_0x4fbc90[_0x5423d4(0x464)]=_0x5423d4(0x28a),_0x4fbc90[_0x5423d4(0x39e)]=_0x5423d4(0x2fb),_0x4fbc90[_0x5423d4(0x33c)]=![],_0x4fbc90[_0x5423d4(0x2df)]=0xa;const _0x59c100={};return _0x59c100[_0x5423d4(0x464)]=_0x5423d4(0x2b7),_0x59c100[_0x5423d4(0x39e)]=_0x5423d4(0x369),_0x59c100[_0x5423d4(0x346)]=_0x5423d4(0x47c),_0x59c100[_0x5423d4(0x443)]='POST',_0x59c100[_0x5423d4(0x226)]=_0xba28f5,_0x59c100[_0x5423d4(0x403)]=_0x40af1a?_0x40af1a+_0x5423d4(0x26e):_0x5423d4(0x26e),_0x59c100[_0x5423d4(0x2d4)]=_0x4faee9?.[_0x5423d4(0x2d4)]||[_0xbd62cc,_0x5cfd14,_0x330c8a,_0x341d97,_0x4fbc90],_0x59c100['_autoGenerated']=!![],_0x59c100;}[a0_0x5456ff(0x2a2)](){const _0x2a3ea8=a0_0x5456ff;return this[_0x2a3ea8(0x227)]()['toArray']();}['getOperationCount'](){const _0x1f479f=a0_0x5456ff;return this['getOperationList']()[_0x1f479f(0x1ee)]();}[a0_0x5456ff(0x230)](_0x3bef92){const _0x178810=a0_0x5456ff;if(typeof _0x3bef92!==_0x178810(0x386)){!![]&&console[_0x178810(0x47e)](_0x178810(0x39a),_0x3bef92);return;}return this[_0x178810(0x227)]()[_0x178810(0x326)](_0x3bef92);}[a0_0x5456ff(0x258)](_0x28d32b){const _0xa09318=a0_0x5456ff;if(typeof _0x28d32b!==_0xa09318(0x386))return![];return this[_0xa09318(0x227)]()[_0xa09318(0x3a9)](_0x28d32b);}['isOperationEnabled'](_0xa511f4){const _0x1fa778=a0_0x5456ff;if(typeof _0xa511f4!==_0x1fa778(0x386))return![];const _0x455c5b=this[_0x1fa778(0x230)](_0xa511f4);return _0x455c5b?.[_0x1fa778(0x415)]()||![];}['getEnabledOperations'](){const _0x1aa59c=a0_0x5456ff;return this[_0x1aa59c(0x227)]()[_0x1aa59c(0x2fd)]();}[a0_0x5456ff(0x237)](){const _0x74469=a0_0x5456ff;return this[_0x74469(0x227)]()[_0x74469(0x239)]();}[a0_0x5456ff(0x34a)](){const _0x365122=a0_0x5456ff;return this[_0x365122(0x227)]()[_0x365122(0x39b)]();}['getDisabledOperationInstances'](){return this['getOperationList']()['getDisabled']();}[a0_0x5456ff(0x31f)](_0x58edaf={}){const _0x4686ed=a0_0x5456ff;return this[_0x4686ed(0x227)]()[_0x4686ed(0x365)](_0x58edaf);}[a0_0x5456ff(0x21e)](){const _0x2a4d6c=a0_0x5456ff;return{'fieldCount':this[_0x2a4d6c(0x354)](),'systemFieldCount':this[_0x2a4d6c(0x1ec)]()['length'],'businessFieldCount':this[_0x2a4d6c(0x24a)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0x2a4d6c(0x46b)],'primaryKeyCount':this[_0x2a4d6c(0x2fc)]()['length'],'operationCount':this[_0x2a4d6c(0x245)](),'enabledOperationCount':this[_0x2a4d6c(0x3f2)]()[_0x2a4d6c(0x46b)]};}['getFieldCode'](_0x24a7db){const _0x4fa0c8=a0_0x5456ff;if(!_0x24a7db||typeof _0x24a7db!=='object')return'';if(_0x4fa0c8(0x421)in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x421)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x421)];if('name'in _0x24a7db&&typeof _0x24a7db[_0x4fa0c8(0x464)]===_0x4fa0c8(0x386))return _0x24a7db[_0x4fa0c8(0x464)];return'';}['hasField'](_0x4202d8){const _0x4e3e6c=a0_0x5456ff;return this[_0x4e3e6c(0x387)]()[_0x4e3e6c(0x3a9)](_0x4202d8);}[a0_0x5456ff(0x329)](_0x403e43){const _0x168837=a0_0x5456ff;if(!_0x403e43||typeof _0x403e43!==_0x168837(0x39c))return![];const _0x50a044=this[_0x168837(0x25a)](_0x403e43),_0x388e01=this[_0x168837(0x2db)](_0x50a044);return _0x388e01?_0x388e01['isPrimaryKey']():![];}[a0_0x5456ff(0x244)](_0x42a283){const _0x14b9b2=a0_0x5456ff;if(!_0x42a283||typeof _0x42a283!==_0x14b9b2(0x39c))return![];const _0x812907=this[_0x14b9b2(0x25a)](_0x42a283),_0x2f1bf5=this['getFieldInstance'](_0x812907);return _0x2f1bf5?_0x2f1bf5[_0x14b9b2(0x1fb)]():![];}['isRequiredField'](_0x5546aa){const _0x4900c0=a0_0x5456ff;if(!_0x5546aa||typeof _0x5546aa!==_0x4900c0(0x39c))return![];const _0x208407=this['getFieldCode'](_0x5546aa),_0x58bca2=this['getFieldInstance'](_0x208407);return _0x58bca2?_0x58bca2[_0x4900c0(0x266)]():![];}[a0_0x5456ff(0x34c)](_0xca2d84){const _0x22c708=a0_0x5456ff;if(!_0xca2d84||typeof _0xca2d84!=='object')return![];const _0x5db626=this[_0x22c708(0x25a)](_0xca2d84),_0x311900=this[_0x22c708(0x2db)](_0x5db626);return _0x311900?_0x311900[_0x22c708(0x28b)]():![];}[a0_0x5456ff(0x27a)](_0x1e8e6d){const _0x5acd6e=a0_0x5456ff;if(!_0x1e8e6d||typeof _0x1e8e6d!==_0x5acd6e(0x39c))return![];const _0x249469=this[_0x5acd6e(0x25a)](_0x1e8e6d),_0x3228aa=this[_0x5acd6e(0x2db)](_0x249469);return _0x3228aa?_0x3228aa[_0x5acd6e(0x293)]():![];}[a0_0x5456ff(0x453)](_0x3ae235){const _0x5b4caf=a0_0x5456ff;if(!_0x3ae235||typeof _0x3ae235!==_0x5b4caf(0x39c))return[];const _0x37fd53=this[_0x5b4caf(0x25a)](_0x3ae235),_0x4d55e7=this[_0x5b4caf(0x2db)](_0x37fd53);if(!_0x4d55e7||!_0x4d55e7['isEnum']())return[];return _0x4d55e7[_0x5b4caf(0x30f)]()||[];}[a0_0x5456ff(0x216)](_0xc5c1bd){const _0x594833=a0_0x5456ff;if(!_0xc5c1bd||typeof _0xc5c1bd!=='object')return;const _0x3bfae0=this[_0x594833(0x25a)](_0xc5c1bd),_0x5a4ed5=this[_0x594833(0x2db)](_0x3bfae0);if(!_0x5a4ed5||!_0x5a4ed5[_0x594833(0x28b)]())return;return _0x5a4ed5[_0x594833(0x1f8)]();}[a0_0x5456ff(0x21f)](_0x149bfb){const _0x303d25=a0_0x5456ff;if(!_0x149bfb||typeof _0x149bfb!==_0x303d25(0x39c))return;const _0x2bf13c=this[_0x303d25(0x25a)](_0x149bfb),_0x2f9b3e=this['getFieldInstance'](_0x2bf13c);if(!_0x2f9b3e||!_0x2f9b3e[_0x303d25(0x28b)]())return;return _0x2f9b3e[_0x303d25(0x23a)]();}[a0_0x5456ff(0x2fc)](){const _0x486dc7=a0_0x5456ff;return this['getFieldList']()[_0x486dc7(0x287)]()[_0x486dc7(0x418)](_0x39c123=>_0x39c123[_0x486dc7(0x362)]);}[a0_0x5456ff(0x1ec)](){const _0x758041=a0_0x5456ff;return this[_0x758041(0x387)]()[_0x758041(0x27b)]()[_0x758041(0x418)](_0x14ae77=>_0x14ae77['raw']);}[a0_0x5456ff(0x24a)](){const _0x5b49e7=a0_0x5456ff;return this[_0x5b49e7(0x387)]()['getBusiness']()['map'](_0x1cd210=>_0x1cd210['raw']);}[a0_0x5456ff(0x1f2)](){const _0x5a5bbc=a0_0x5456ff;return this[_0x5a5bbc(0x387)]()[_0x5a5bbc(0x1e9)]()[_0x5a5bbc(0x418)](_0xa28f79=>_0xa28f79[_0x5a5bbc(0x362)]);}['getFieldsByType'](){const _0x1af390=a0_0x5456ff,_0x318b47=this['getFieldList']()[_0x1af390(0x252)](),_0xb73d64={};for(const [_0x5ba1a4,_0xb9fd5d]of Object[_0x1af390(0x2eb)](_0x318b47)){_0xb73d64[_0x5ba1a4]=_0xb9fd5d[_0x1af390(0x418)](_0x326adf=>_0x326adf[_0x1af390(0x362)]);}return _0xb73d64;}['getEnumFields'](){const _0x48e2f0=a0_0x5456ff;return this['getFieldList']()[_0x48e2f0(0x482)]()['map'](_0x203578=>_0x203578[_0x48e2f0(0x362)]);}[a0_0x5456ff(0x33e)](){const _0x1d8c9a=a0_0x5456ff,_0x8142e4={};return this['getEnumFields']()[_0x1d8c9a(0x3b2)](_0x50f086=>{const _0x4d6e04=_0x1d8c9a,_0x360862=this[_0x4d6e04(0x21f)](_0x50f086);if(_0x360862){const _0x2265a8=this['getFieldCode'](_0x50f086);_0x8142e4[_0x2265a8]=_0x360862;}}),_0x8142e4;}[a0_0x5456ff(0x310)](_0x547625,_0x4bd629){const _0x291d85=a0_0x5456ff,_0x5577e2=this[_0x291d85(0x21f)](_0x547625);if(!_0x5577e2)return!![];if(_0x5577e2[_0x291d85(0x36d)]&&!_0x5577e2['options'])return!![];const _0xe0ad3b=this['getFieldCode'](_0x547625),_0x46d273=this['getFieldInstance'](_0xe0ad3b),_0x574534=_0x46d273?_0x46d273[_0x291d85(0x293)]():![];if(_0x574534&&Array['isArray'](_0x4bd629))return _0x4bd629[_0x291d85(0x279)](_0xc5c9a4=>_0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0xc5c9a4));return _0x5577e2[_0x291d85(0x25d)][_0x291d85(0x46c)](_0x4bd629);}[a0_0x5456ff(0x2a7)](){const _0x587eeb=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x587eeb(0x464)],'datasetCode':this[_0x587eeb(0x25c)],'dbtableConfig':this[_0x587eeb(0x1d6)]()});}[a0_0x5456ff(0x210)](){const _0x3bdc08=a0_0x5456ff;return _0x3bdc08(0x22e)+this['name']+',\x20'+this[_0x3bdc08(0x25c)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+this['getOperationCount']()+'\x20operations,\x20'+this[_0x3bdc08(0x307)]()+')';}[a0_0x5456ff(0x1e7)](){const _0x456ea8=a0_0x5456ff;return this[_0x456ea8(0x333)](_0x456ea8(0x2b7));}['getFieldFilterOperators'](_0x46fe24){const _0x174260=a0_0x5456ff;return this[_0x174260(0x24b)](_0x174260(0x2b7),_0x46fe24);}['getFieldsFilterOperatorsMap'](){const _0x261587=a0_0x5456ff;return this[_0x261587(0x2ed)](_0x261587(0x2b7));}[a0_0x5456ff(0x333)](_0x1107f3){const _0x2692ca=a0_0x5456ff,_0x34cc79=this['getOperation'](_0x1107f3);return _0x34cc79?_0x34cc79[_0x2692ca(0x42a)]():[];}[a0_0x5456ff(0x24b)](_0x16f123,_0x5c461c){const _0x35dfb5=a0_0x5456ff,_0x33a81a=this[_0x35dfb5(0x230)](_0x16f123);return _0x33a81a?_0x33a81a[_0x35dfb5(0x2f0)](_0x5c461c):[];}[a0_0x5456ff(0x2ed)](_0x188e7b){const _0x2bd8ef=a0_0x5456ff,_0x5e85ec={};return this[_0x2bd8ef(0x387)]()[_0x2bd8ef(0x3b2)](_0x3fe504=>{const _0x35a7ea=_0x2bd8ef,_0x47f417=this['getOperationFieldOperators'](_0x188e7b,_0x3fe504['code']);_0x47f417[_0x35a7ea(0x46b)]>0x0&&(_0x5e85ec[_0x3fe504['code']]=_0x47f417);}),_0x5e85ec;}[a0_0x5456ff(0x29f)](_0x2434b7,_0x5af883,_0x41c733){const _0x514269=a0_0x5456ff,_0x28e8a1=this[_0x514269(0x24b)](_0x2434b7,_0x5af883);return _0x28e8a1['includes'](_0x41c733);}}class FieldBase{get[a0_0x5456ff(0x353)](){return;}get[a0_0x5456ff(0x2e1)](){return;}get[a0_0x5456ff(0x27f)](){return;}get['doType'](){return;}[a0_0x5456ff(0x3d8)](){return!this['isSystem']();}[a0_0x5456ff(0x1f4)](){const _0x197c35=a0_0x5456ff;return this[_0x197c35(0x34f)];}['isEnum'](){const _0x5e1605=a0_0x5456ff,_0x5f4d4a=[_0x5e1605(0x1f9),'SELECT',_0x5e1605(0x2e4)];return _0x5f4d4a[_0x5e1605(0x46c)](this['type']);}[a0_0x5456ff(0x293)](){const _0x4da5dc=a0_0x5456ff;return this['type']===_0x4da5dc(0x2e4);}[a0_0x5456ff(0x426)](){const _0x295b67=a0_0x5456ff,_0x4068ca=this[_0x295b67(0x23a)]();return _0x4068ca?.[_0x295b67(0x25d)]||[];}[a0_0x5456ff(0x23a)](){const _0x37a68e=a0_0x5456ff;if(!this[_0x37a68e(0x28b)]())return;const _0x3c85c0=this[_0x37a68e(0x30f)](),_0x9e44dc=this['getSelectItemsSource'](),_0x57f316=[],_0x7f672e={},_0x194d82=_0xa1b43=>{_0xa1b43['forEach'](_0x164afc=>{const _0x313f6d=a0_0x2d67;_0x57f316[_0x313f6d(0x20f)](_0x164afc[_0x313f6d(0x1d0)]),_0x7f672e[String(_0x164afc[_0x313f6d(0x1d0)])]=_0x164afc[_0x313f6d(0x2d1)],_0x164afc['children']&&_0x164afc[_0x313f6d(0x2ee)][_0x313f6d(0x46b)]>0x0&&_0x194d82(_0x164afc[_0x313f6d(0x2ee)]);});};return _0x3c85c0&&_0x3c85c0[_0x37a68e(0x46b)]>0x0&&_0x194d82(_0x3c85c0),{'code':this['code'],'name':this['name'],'type':this[_0x37a68e(0x39e)],'multiple':this[_0x37a68e(0x293)](),'options':_0x3c85c0,'selectItemsSource':_0x9e44dc,'values':_0x57f316,'valueLabels':_0x7f672e};}get[a0_0x5456ff(0x3ef)](){const _0x540dfc=a0_0x5456ff;return this[_0x540dfc(0x426)]();}[a0_0x5456ff(0x210)](){const _0x2594ec=a0_0x5456ff;return _0x2594ec(0x3a0)+this[_0x2594ec(0x464)]+',\x20'+this[_0x2594ec(0x421)]+',\x20'+this[_0x2594ec(0x39e)]+',\x20'+this[_0x2594ec(0x307)]()+')';}}class FieldV1 extends FieldBase{[a0_0x5456ff(0x39f)];['_extend']=null;constructor(_0xbdee60){const _0x408b29=a0_0x5456ff;super();if(!_0xbdee60||typeof _0xbdee60!==_0x408b29(0x39c))throw new Error('[Field]\x20Invalid\x20field\x20definition');this[_0x408b29(0x39f)]=_0xbdee60;}[a0_0x5456ff(0x247)](){const _0x951ce0=a0_0x5456ff;return this[_0x951ce0(0x39f)];}[a0_0x5456ff(0x307)](){return'v1';}get['raw'](){return this['_raw'];}get[a0_0x5456ff(0x464)](){const _0x142f5a=a0_0x5456ff;return this[_0x142f5a(0x39f)][_0x142f5a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x5639e0=a0_0x5456ff;return this[_0x5639e0(0x39f)][_0x5639e0(0x421)]||'';}get[a0_0x5456ff(0x39e)](){const _0x2a0370=a0_0x5456ff;return this[_0x2a0370(0x39f)][_0x2a0370(0x39e)]||'';}get[a0_0x5456ff(0x346)](){const _0x2a7cb9=a0_0x5456ff;return this[_0x2a7cb9(0x39f)][_0x2a7cb9(0x346)]||'';}get['deleted'](){const _0x453fe3=a0_0x5456ff;return Boolean(this[_0x453fe3(0x39f)][_0x453fe3(0x34f)]);}get['dbType'](){const _0x2f21e4=a0_0x5456ff;return this[_0x2f21e4(0x39f)][_0x2f21e4(0x353)];}get[a0_0x5456ff(0x2e1)](){const _0x4fbd37=a0_0x5456ff;return this[_0x4fbd37(0x39f)][_0x4fbd37(0x2e1)];}get['displayName'](){const _0x2ff4f8=a0_0x5456ff;return this[_0x2ff4f8(0x39f)][_0x2ff4f8(0x433)];}get[a0_0x5456ff(0x46a)](){return;}get[a0_0x5456ff(0x201)](){const _0xb50b53=a0_0x5456ff;if(this[_0xb50b53(0x37f)]!==null&&typeof this['_extend']===_0xb50b53(0x39c))return this[_0xb50b53(0x37f)];const _0x414a68=this[_0xb50b53(0x39f)][_0xb50b53(0x201)];if(!_0x414a68||typeof _0x414a68!==_0xb50b53(0x386))return this[_0xb50b53(0x37f)]={},this['_extend'];if(_0x414a68===_0xb50b53(0x3f1)||_0x414a68[_0xb50b53(0x3a3)]()===_0xb50b53(0x3f1))return this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];try{const _0x4d2e99=JSON[_0xb50b53(0x2ca)](_0x414a68);return this['_extend']=_0x4d2e99!==null&&typeof _0x4d2e99==='object'&&!Array['isArray'](_0x4d2e99)?_0x4d2e99:{},this[_0xb50b53(0x37f)];}catch(_0x5b4c22){return!![]&&console[_0xb50b53(0x47e)]('[FieldV1.extend]\x20解析字段\x20'+this[_0xb50b53(0x421)]+_0xb50b53(0x238),_0x5b4c22),this[_0xb50b53(0x37f)]={},this[_0xb50b53(0x37f)];}}[a0_0x5456ff(0x266)](){const _0x44c152=a0_0x5456ff;return Boolean(this[_0x44c152(0x201)][_0x44c152(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0x65e394=a0_0x5456ff;return Boolean(this['extend']['primaryKey']||this[_0x65e394(0x201)][_0x65e394(0x212)]);}['isSystem'](){const _0x25ec40=a0_0x5456ff;return Boolean(this[_0x25ec40(0x201)][_0x25ec40(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x40531b=a0_0x5456ff;return Boolean(this[_0x40531b(0x201)]['autoIncrement']);}[a0_0x5456ff(0x312)](){const _0x41b183=a0_0x5456ff;return Boolean(this['extend'][_0x41b183(0x224)]);}['isUpdateTime'](){const _0x487bec=a0_0x5456ff;return Boolean(this[_0x487bec(0x201)][_0x487bec(0x350)]);}['getDisplayName'](){const _0x5d1ac0=a0_0x5456ff;return this[_0x5d1ac0(0x464)];}[a0_0x5456ff(0x3fa)](){const _0x43fa1c=a0_0x5456ff;return this[_0x43fa1c(0x421)];}[a0_0x5456ff(0x28b)](){const _0x1d66ff=a0_0x5456ff,_0x4afc1c=['RADIO',_0x1d66ff(0x38c),_0x1d66ff(0x2e4)];if(_0x4afc1c[_0x1d66ff(0x46c)](this[_0x1d66ff(0x39e)]))return!![];const _0x34147d=this[_0x1d66ff(0x201)];return Boolean(_0x34147d[_0x1d66ff(0x45e)]&&Array[_0x1d66ff(0x248)](_0x34147d[_0x1d66ff(0x45e)])&&_0x34147d[_0x1d66ff(0x45e)][_0x1d66ff(0x46b)]>0x0||_0x34147d['selectItemsSource']);}[a0_0x5456ff(0x293)](){const _0x1d754d=a0_0x5456ff;if(this[_0x1d754d(0x39e)]===_0x1d754d(0x2e4))return!![];return Boolean(this[_0x1d754d(0x201)][_0x1d754d(0x412)]);}[a0_0x5456ff(0x30f)](){const _0x527665=a0_0x5456ff,_0x4be5df=this[_0x527665(0x201)];if(_0x4be5df[_0x527665(0x45e)]&&Array[_0x527665(0x248)](_0x4be5df['options']))return _0x4be5df['options'];return;}['getSelectItemsSource'](){const _0x5cda87=a0_0x5456ff,_0x5c4823=this[_0x5cda87(0x201)];if(_0x5c4823[_0x5cda87(0x36d)]&&typeof _0x5c4823[_0x5cda87(0x36d)]===_0x5cda87(0x39c))return _0x5c4823[_0x5cda87(0x36d)];return;}[a0_0x5456ff(0x37d)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x1d75c3=a0_0x5456ff;return this['extend'][_0x1d75c3(0x20b)];}[a0_0x5456ff(0x397)](){const _0xa49cc4=a0_0x5456ff;return this[_0xa49cc4(0x201)]['tooltip'];}[a0_0x5456ff(0x262)](){const _0x53d918=a0_0x5456ff;return{'name':this[_0x53d918(0x464)],'code':this[_0x53d918(0x421)],'type':this[_0x53d918(0x39e)],'dbType':this[_0x53d918(0x353)],'dbTypeLen':this[_0x53d918(0x2e1)],'description':this['description'],'required':this[_0x53d918(0x266)](),'primaryKey':this[_0x53d918(0x21b)](),'system':this[_0x53d918(0x1fb)](),'autoIncrement':this[_0x53d918(0x2a3)](),'createTime':this['isCreateTime'](),'updateTime':this[_0x53d918(0x3ad)](),'isEnum':this[_0x53d918(0x28b)](),'enumMeta':this['isEnum']()?this[_0x53d918(0x23a)]():undefined};}['toString'](){const _0x1b5b67=a0_0x5456ff;return'FieldV1('+this['name']+',\x20'+this[_0x1b5b67(0x421)]+',\x20'+this[_0x1b5b67(0x39e)]+')';}}class FieldListBase{[a0_0x5456ff(0x338)];constructor(_0x27647b,_0x429ba6){const _0x5971cb=a0_0x5456ff;if(!Array[_0x5971cb(0x248)](_0x27647b))throw new Error(_0x5971cb(0x3c3));const _0x3e56b1=_0x429ba6?.[_0x5971cb(0x268)]??![],_0x65ca3=_0x3e56b1?_0x27647b:_0x27647b[_0x5971cb(0x2b7)](_0x2c657f=>{const _0x1d649b=_0x5971cb,_0x556f36=_0x2c657f;return!_0x556f36[_0x1d649b(0x34f)];});this[_0x5971cb(0x338)]=this['createFields'](_0x65ca3);}get[a0_0x5456ff(0x46b)](){const _0x459dfe=a0_0x5456ff;return this[_0x459dfe(0x338)][_0x459dfe(0x46b)];}['all'](){return[...this['_fields']];}['at'](_0x4e1f70){const _0x24d3e1=a0_0x5456ff;return this[_0x24d3e1(0x338)]['at'](_0x4e1f70);}[a0_0x5456ff(0x283)](_0x33fb3e){const _0x2ad2bb=a0_0x5456ff;return this[_0x2ad2bb(0x338)][_0x2ad2bb(0x283)](_0x4a21d1=>_0x4a21d1[_0x2ad2bb(0x421)]===_0x33fb3e);}[a0_0x5456ff(0x2ec)](_0x1fea3c){const _0x4c31e3=a0_0x5456ff;return this[_0x4c31e3(0x338)][_0x4c31e3(0x283)](_0x4ab765=>_0x4ab765[_0x4c31e3(0x464)]===_0x1fea3c);}[a0_0x5456ff(0x3a9)](_0x320dcb){const _0x1d750d=a0_0x5456ff;return this[_0x1d750d(0x338)][_0x1d750d(0x2e5)](_0x11fe04=>_0x11fe04[_0x1d750d(0x421)]===_0x320dcb);}[a0_0x5456ff(0x3b2)](_0x4b576f){const _0x20def2=a0_0x5456ff;this[_0x20def2(0x338)][_0x20def2(0x3b2)](_0x4b576f);}[a0_0x5456ff(0x418)](_0x52f848){const _0x2b47e0=a0_0x5456ff;return this[_0x2b47e0(0x338)]['map'](_0x52f848);}['filter'](_0xdabfcb){const _0x515e1c=a0_0x5456ff;return this[_0x515e1c(0x338)][_0x515e1c(0x2b7)](_0xdabfcb);}[a0_0x5456ff(0x279)](_0x42c946){return this['_fields']['every'](_0x42c946);}[a0_0x5456ff(0x2e5)](_0x2bf6d8){const _0x5cb481=a0_0x5456ff;return this[_0x5cb481(0x338)][_0x5cb481(0x2e5)](_0x2bf6d8);}[a0_0x5456ff(0x1e9)](){const _0x22eb12=a0_0x5456ff;return this['_fields'][_0x22eb12(0x2b7)](_0x52796a=>_0x52796a[_0x22eb12(0x266)]());}['getPrimaryKeys'](){const _0x43f0ec=a0_0x5456ff;return this[_0x43f0ec(0x338)][_0x43f0ec(0x2b7)](_0x126c16=>_0x126c16[_0x43f0ec(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x55e0af=a0_0x5456ff;return this[_0x55e0af(0x338)][_0x55e0af(0x2b7)](_0x12ab61=>_0x12ab61['isSystem']());}['getBusiness'](){const _0x2a30a9=a0_0x5456ff;return this[_0x2a30a9(0x338)][_0x2a30a9(0x2b7)](_0x1d7ece=>_0x1d7ece[_0x2a30a9(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0x3537c1=a0_0x5456ff;return this[_0x3537c1(0x338)]['filter'](_0x3fed3c=>_0x3fed3c[_0x3537c1(0x28b)]());}[a0_0x5456ff(0x3b5)](){const _0x269440=a0_0x5456ff;return this['_fields']['filter'](_0xa70cb8=>_0xa70cb8[_0x269440(0x2a3)]());}[a0_0x5456ff(0x478)](){const _0x216c77=a0_0x5456ff;return this[_0x216c77(0x338)][_0x216c77(0x2b7)](_0x584585=>_0x584585[_0x216c77(0x312)]());}['getUpdateTime'](){const _0x48e8e5=a0_0x5456ff;return this[_0x48e8e5(0x338)][_0x48e8e5(0x2b7)](_0x411670=>_0x411670[_0x48e8e5(0x3ad)]());}[a0_0x5456ff(0x2dc)](){const _0xabd337=a0_0x5456ff;return this[_0xabd337(0x338)][_0xabd337(0x2b7)](_0x4d654a=>_0x4d654a['isDeleted']());}['getActive'](){const _0x57f36c=a0_0x5456ff;return this[_0x57f36c(0x338)]['filter'](_0x15b930=>!_0x15b930[_0x57f36c(0x1f4)]());}['groupByType'](){const _0x3091ff=a0_0x5456ff,_0xcbd7a1={};return this[_0x3091ff(0x338)][_0x3091ff(0x3b2)](_0x113af9=>{const _0x3ced74=_0x3091ff,_0x2a5938=_0x113af9[_0x3ced74(0x39e)];!_0xcbd7a1[_0x2a5938]&&(_0xcbd7a1[_0x2a5938]=[]),_0xcbd7a1[_0x2a5938][_0x3ced74(0x20f)](_0x113af9);}),_0xcbd7a1;}[a0_0x5456ff(0x38b)](){const _0x284643=a0_0x5456ff,_0x364dc3={};return this[_0x284643(0x338)][_0x284643(0x3b2)](_0x3cd953=>{const _0x6c4f57=_0x284643;if(_0x3cd953['isEnum']()){const _0x1cca9d=_0x3cd953[_0x6c4f57(0x23a)]();_0x1cca9d&&(_0x364dc3[_0x3cd953[_0x6c4f57(0x421)]]=_0x1cca9d);}}),_0x364dc3;}[a0_0x5456ff(0x21e)](){const _0x50cd3a=a0_0x5456ff;return{'total':this[_0x50cd3a(0x46b)],'required':this[_0x50cd3a(0x1e9)]()['length'],'primaryKey':this[_0x50cd3a(0x287)]()['length'],'system':this[_0x50cd3a(0x27b)]()['length'],'business':this[_0x50cd3a(0x240)]()['length'],'enum':this['getEnum']()[_0x50cd3a(0x46b)],'autoIncrement':this[_0x50cd3a(0x3b5)]()[_0x50cd3a(0x46b)]};}[a0_0x5456ff(0x3f9)](){const _0x1c2b6a=a0_0x5456ff;return this[_0x1c2b6a(0x338)][_0x1c2b6a(0x418)](_0x456ada=>_0x456ada[_0x1c2b6a(0x421)]);}[a0_0x5456ff(0x3b9)](){const _0x8c1e92=a0_0x5456ff;return this['_fields']['map'](_0x1ba90f=>_0x1ba90f[_0x8c1e92(0x3bd)]());}[a0_0x5456ff(0x251)](){const _0x3ab012=a0_0x5456ff;return this['_fields'][_0x3ab012(0x418)](_0x3a915d=>_0x3a915d[_0x3ab012(0x3fa)]());}[a0_0x5456ff(0x262)](){const _0x4b111f=a0_0x5456ff;return this[_0x4b111f(0x338)]['map'](_0x4094de=>_0x4094de['toJSON']());}[a0_0x5456ff(0x210)](){const _0x2a0a0e=a0_0x5456ff;return _0x2a0a0e(0x254)+this[_0x2a0a0e(0x46b)]+_0x2a0a0e(0x309);}}class FieldListV1 extends FieldListBase{constructor(_0x5f0434,_0x182856){super(_0x5f0434,_0x182856);}[a0_0x5456ff(0x3e5)](_0x46e604){const _0x3dc7a6=a0_0x5456ff;return _0x46e604[_0x3dc7a6(0x418)](_0x25d35e=>new FieldV1(_0x25d35e));}['all'](){const _0x4280ce=a0_0x5456ff;return[...this[_0x4280ce(0x338)]];}['at'](_0x46ff9b){return this['_fields']['at'](_0x46ff9b);}['find'](_0x32dc1b){const _0x3e4bbf=a0_0x5456ff;return this['_fields'][_0x3e4bbf(0x283)](_0x4f959c=>_0x4f959c[_0x3e4bbf(0x421)]===_0x32dc1b);}[a0_0x5456ff(0x2ec)](_0x268fdb){const _0x38a86f=a0_0x5456ff;return this['_fields']['find'](_0xb83601=>_0xb83601[_0x38a86f(0x464)]===_0x268fdb);}[a0_0x5456ff(0x2b7)](_0x29c70e){const _0x3f2833=a0_0x5456ff;return this[_0x3f2833(0x338)][_0x3f2833(0x2b7)](_0x29c70e);}['map'](_0x4a3a5b){return this['_fields']['map'](_0x4a3a5b);}[a0_0x5456ff(0x1e9)](){const _0x6c09b2=a0_0x5456ff;return this[_0x6c09b2(0x338)][_0x6c09b2(0x2b7)](_0x4149e1=>_0x4149e1['isRequired']());}[a0_0x5456ff(0x287)](){const _0x3f02ea=a0_0x5456ff;return this['_fields'][_0x3f02ea(0x2b7)](_0x3a4cef=>_0x3a4cef[_0x3f02ea(0x21b)]());}[a0_0x5456ff(0x27b)](){const _0x5651ac=a0_0x5456ff;return this[_0x5651ac(0x338)]['filter'](_0x1e5ba4=>_0x1e5ba4[_0x5651ac(0x1fb)]());}['getBusiness'](){const _0x452a99=a0_0x5456ff;return this[_0x452a99(0x338)][_0x452a99(0x2b7)](_0x471df5=>_0x471df5[_0x452a99(0x3d8)]());}['getEnum'](){const _0x58fac1=a0_0x5456ff;return this[_0x58fac1(0x338)]['filter'](_0x14b88a=>_0x14b88a[_0x58fac1(0x28b)]());}['groupByType'](){const _0x36f6e0=a0_0x5456ff,_0x51ea8b={};return this['_fields'][_0x36f6e0(0x3b2)](_0x5875db=>{const _0x5b1537=_0x36f6e0,_0x1a91fa=_0x5875db[_0x5b1537(0x39e)];!_0x51ea8b[_0x1a91fa]&&(_0x51ea8b[_0x1a91fa]=[]),_0x51ea8b[_0x1a91fa][_0x5b1537(0x20f)](_0x5875db);}),_0x51ea8b;}[a0_0x5456ff(0x362)](){const _0x3c59b9=a0_0x5456ff;return this[_0x3c59b9(0x338)]['map'](_0x11f30=>_0x11f30[_0x3c59b9(0x362)]);}static[a0_0x5456ff(0x234)](_0x338548){const _0x3fb2df=a0_0x5456ff,_0x521375=_0x338548['map'](_0x1cfdeb=>_0x1cfdeb[_0x3fb2df(0x362)]);return new FieldListV1(_0x521375);}static[a0_0x5456ff(0x3c2)](_0x1b9f0a){const _0x1bdd3d=a0_0x5456ff,_0xf2fa14={};return _0xf2fa14[_0x1bdd3d(0x268)]=!![],new FieldListV1(_0x1b9f0a,_0xf2fa14);}}class FieldV2 extends FieldBase{[a0_0x5456ff(0x39f)];constructor(_0x27d556){const _0x83e162=a0_0x5456ff;super();if(!_0x27d556||typeof _0x27d556!==_0x83e162(0x39c))throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this['_raw']=_0x27d556;}[a0_0x5456ff(0x307)](){return'v2';}get[a0_0x5456ff(0x362)](){const _0x1342f7=a0_0x5456ff;return this[_0x1342f7(0x39f)];}get[a0_0x5456ff(0x464)](){const _0x519a2a=a0_0x5456ff;return this[_0x519a2a(0x39f)][_0x519a2a(0x464)]||'';}get[a0_0x5456ff(0x421)](){const _0x36707f=a0_0x5456ff;return this[_0x36707f(0x39f)][_0x36707f(0x464)]||'';}get[a0_0x5456ff(0x27f)](){const _0x429825=a0_0x5456ff;return this['_raw'][_0x429825(0x27f)]||'';}get[a0_0x5456ff(0x39e)](){const _0x13f5c6=a0_0x5456ff;return this['mapDbTypeToType'](this[_0x13f5c6(0x39f)]['dbType']);}get['description'](){const _0x14b029=a0_0x5456ff;return this[_0x14b029(0x39f)][_0x14b029(0x346)]||'';}get['deleted'](){const _0x4db8c9=a0_0x5456ff;return Boolean(this[_0x4db8c9(0x39f)][_0x4db8c9(0x34f)]);}[a0_0x5456ff(0x266)](){const _0x4434f4=a0_0x5456ff;return Boolean(this[_0x4434f4(0x39f)][_0x4434f4(0x33c)]);}[a0_0x5456ff(0x21b)](){const _0xf5d202=a0_0x5456ff;return Boolean(this[_0xf5d202(0x39f)][_0xf5d202(0x212)]);}[a0_0x5456ff(0x1fb)](){const _0x5e5cca=a0_0x5456ff;return Boolean(this['_raw'][_0x5e5cca(0x363)]);}[a0_0x5456ff(0x2a3)](){const _0x3486a0=a0_0x5456ff;return Boolean(this[_0x3486a0(0x39f)]['autoIncrement']);}['isCreateTime'](){const _0x25714c=a0_0x5456ff;return this[_0x25714c(0x39f)][_0x25714c(0x363)]===_0x25714c(0x224);}[a0_0x5456ff(0x3ad)](){const _0x25c4b7=a0_0x5456ff;return this[_0x25c4b7(0x39f)][_0x25c4b7(0x363)]===_0x25c4b7(0x350);}[a0_0x5456ff(0x3bd)](){const _0x3f9d26=a0_0x5456ff;return this[_0x3f9d26(0x39f)][_0x3f9d26(0x27f)]||'';}[a0_0x5456ff(0x3fa)](){const _0x429b4f=a0_0x5456ff;return this[_0x429b4f(0x39f)]['name']||'';}['isEnum'](){const _0x1cd0b8=a0_0x5456ff;return Boolean(this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)]&&Array[_0x1cd0b8(0x248)](this[_0x1cd0b8(0x39f)][_0x1cd0b8(0x45e)])&&this['_raw'][_0x1cd0b8(0x45e)][_0x1cd0b8(0x46b)]>0x0);}[a0_0x5456ff(0x293)](){const _0x46ae4d=a0_0x5456ff,_0x1c6197=this['_raw'][_0x46ae4d(0x201)];if(!_0x1c6197)return![];try{const _0x44eabb=JSON['parse'](_0x1c6197);if(_0x44eabb&&typeof _0x44eabb===_0x46ae4d(0x39c)&&_0x46ae4d(0x412)in _0x44eabb)return Boolean(_0x44eabb['multiple']);}catch{}return![];}[a0_0x5456ff(0x30f)](){const _0x5ee159=a0_0x5456ff;if(this[_0x5ee159(0x39f)]['options']&&Array['isArray'](this[_0x5ee159(0x39f)][_0x5ee159(0x45e)]))return this[_0x5ee159(0x39f)]['options'];return;}['getSelectItemsSource'](){const _0x5126cd=a0_0x5456ff,_0x2da75f=this[_0x5126cd(0x39f)][_0x5126cd(0x201)];if(!_0x2da75f)return;try{const _0x25a63c=JSON['parse'](_0x2da75f);if(_0x25a63c&&typeof _0x25a63c===_0x5126cd(0x39c)&&_0x5126cd(0x36d)in _0x25a63c)return _0x25a63c['selectItemsSource'];}catch{}return;}['getDbTypeForOperation'](){const _0x48713f=a0_0x5456ff;return this['_raw'][_0x48713f(0x353)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x5456ff(0x397)](){return;}get[a0_0x5456ff(0x353)](){const _0x14cfb9=a0_0x5456ff;return this[_0x14cfb9(0x39f)][_0x14cfb9(0x353)];}get['dbTypeLen'](){const _0x253553=a0_0x5456ff;return this[_0x253553(0x39f)][_0x253553(0x2e1)];}['getDOType'](){const _0x21855b=a0_0x5456ff;return this[_0x21855b(0x39f)][_0x21855b(0x46a)]??null;}get[a0_0x5456ff(0x46a)](){const _0x56d76a=a0_0x5456ff;return this[_0x56d76a(0x39f)][_0x56d76a(0x46a)]??null;}['toJSON'](){const _0x5350e7=a0_0x5456ff;return{'name':this['name'],'code':this[_0x5350e7(0x421)],'type':this[_0x5350e7(0x39e)],'dbType':this[_0x5350e7(0x353)],'dbTypeLen':this[_0x5350e7(0x2e1)],'doType':this[_0x5350e7(0x3ae)](),'displayName':this[_0x5350e7(0x27f)],'description':this[_0x5350e7(0x346)],'required':this[_0x5350e7(0x266)](),'primaryKey':this[_0x5350e7(0x21b)](),'system':this[_0x5350e7(0x1fb)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x5350e7(0x312)](),'updateTime':this[_0x5350e7(0x3ad)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x5350e7(0x28b)]()?this[_0x5350e7(0x23a)]():undefined};}[a0_0x5456ff(0x210)](){const _0x150f48=a0_0x5456ff;return _0x150f48(0x44e)+this[_0x150f48(0x464)]+',\x20'+this['code']+',\x20'+this[_0x150f48(0x353)]+_0x150f48(0x3bc)+this[_0x150f48(0x3ae)]()+')';}[a0_0x5456ff(0x467)](_0x49b96e){const _0x13517b=a0_0x5456ff,_0x5d1124={};_0x5d1124['VARCHAR']=_0x13517b(0x267),_0x5d1124['CHAR']=_0x13517b(0x267),_0x5d1124['TEXT']=_0x13517b(0x2a0),_0x5d1124['LONGTEXT']=_0x13517b(0x2a0),_0x5d1124[_0x13517b(0x344)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x43a)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x3ed)]='NUMBER',_0x5d1124[_0x13517b(0x37b)]='NUMBER',_0x5d1124[_0x13517b(0x442)]='NUMBER',_0x5d1124['DOUBLE']=_0x13517b(0x357),_0x5d1124[_0x13517b(0x275)]=_0x13517b(0x357),_0x5d1124[_0x13517b(0x213)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x3bb)]='DATE',_0x5d1124[_0x13517b(0x343)]=_0x13517b(0x343),_0x5d1124[_0x13517b(0x42c)]=_0x13517b(0x42c),_0x5d1124[_0x13517b(0x20d)]=_0x13517b(0x23b),_0x5d1124[_0x13517b(0x280)]=_0x13517b(0x23b),_0x5d1124['BLOB']=_0x13517b(0x3a8),_0x5d1124[_0x13517b(0x22c)]=_0x13517b(0x3a8);const _0x53a6ca=_0x5d1124,_0x19de39=_0x49b96e['toUpperCase']();return _0x53a6ca[_0x19de39]||_0x13517b(0x267);}}class FieldListV2 extends FieldListBase{constructor(_0x29a08c,_0x2e4794){super(_0x29a08c,_0x2e4794);}[a0_0x5456ff(0x3e5)](_0x46ff4c){const _0x168dda=a0_0x5456ff;return _0x46ff4c[_0x168dda(0x418)](_0x5c3caf=>new FieldV2(_0x5c3caf));}['all'](){const _0x237a2b=a0_0x5456ff;return[...this[_0x237a2b(0x338)]];}['at'](_0x2261ad){const _0x56c510=a0_0x5456ff;return this[_0x56c510(0x338)]['at'](_0x2261ad);}[a0_0x5456ff(0x283)](_0x348d35){const _0x21c5e6=a0_0x5456ff;return this[_0x21c5e6(0x338)][_0x21c5e6(0x283)](_0x2414b9=>_0x2414b9['code']===_0x348d35);}[a0_0x5456ff(0x2ec)](_0x7144ac){const _0x2b1c3c=a0_0x5456ff;return this[_0x2b1c3c(0x338)][_0x2b1c3c(0x283)](_0x5ceea3=>_0x5ceea3[_0x2b1c3c(0x3bd)]()===_0x7144ac);}['filter'](_0x48faa0){const _0x2e69b8=a0_0x5456ff;return this[_0x2e69b8(0x338)][_0x2e69b8(0x2b7)](_0x48faa0);}[a0_0x5456ff(0x418)](_0x59d2e0){const _0x4ae336=a0_0x5456ff;return this['_fields'][_0x4ae336(0x418)](_0x59d2e0);}[a0_0x5456ff(0x1e9)](){const _0x194acb=a0_0x5456ff;return this[_0x194acb(0x338)][_0x194acb(0x2b7)](_0x14d9d0=>_0x14d9d0['isRequired']());}[a0_0x5456ff(0x287)](){const _0x53df19=a0_0x5456ff;return this['_fields'][_0x53df19(0x2b7)](_0xb65748=>_0xb65748['isPrimaryKey']());}['getSystem'](){const _0x205056=a0_0x5456ff;return this[_0x205056(0x338)][_0x205056(0x2b7)](_0x2e40ad=>_0x2e40ad[_0x205056(0x1fb)]());}[a0_0x5456ff(0x240)](){const _0x17be79=a0_0x5456ff;return this['_fields'][_0x17be79(0x2b7)](_0x83be17=>_0x83be17[_0x17be79(0x3d8)]());}[a0_0x5456ff(0x482)](){const _0xdedba=a0_0x5456ff;return this[_0xdedba(0x338)]['filter'](_0x46ec69=>_0x46ec69[_0xdedba(0x28b)]());}['groupByType'](){const _0x3fef9f=a0_0x5456ff,_0x1e2566={};return this[_0x3fef9f(0x338)]['forEach'](_0x1cffda=>{const _0x31b550=_0x3fef9f,_0x234e4a=_0x1cffda['type'];!_0x1e2566[_0x234e4a]&&(_0x1e2566[_0x234e4a]=[]),_0x1e2566[_0x234e4a][_0x31b550(0x20f)](_0x1cffda);}),_0x1e2566;}[a0_0x5456ff(0x362)](){const _0x34558a=a0_0x5456ff;return this[_0x34558a(0x338)][_0x34558a(0x418)](_0x318061=>_0x318061['raw']);}static[a0_0x5456ff(0x234)](_0x11dbde){const _0x4c542f=a0_0x5456ff,_0x73486a=_0x11dbde[_0x4c542f(0x418)](_0x216bee=>_0x216bee[_0x4c542f(0x362)]);return new FieldListV2(_0x73486a);}static[a0_0x5456ff(0x3c2)](_0x4a918e){const _0x5a7a1c={};return _0x5a7a1c['includeDeleted']=!![],new FieldListV2(_0x4a918e,_0x5a7a1c);}['toString'](){const _0x5a07d7=a0_0x5456ff;return _0x5a07d7(0x3da)+this['length']+_0x5a07d7(0x309);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x5456ff(0x323)];['_fieldListV1WithDeleted'];constructor(_0x1cdea0){super(_0x1cdea0);}[a0_0x5456ff(0x387)](){const _0x5ba6f8=a0_0x5456ff;if(!this[_0x5ba6f8(0x323)]){const _0x2ebbf9={};_0x2ebbf9[_0x5ba6f8(0x268)]=![],this['_fieldListV1']=new FieldListV1(this[_0x5ba6f8(0x39f)]['properties']||[],_0x2ebbf9);}return this[_0x5ba6f8(0x323)];}['getFieldListWithDeleted'](){const _0x167a85=a0_0x5456ff;if(!this[_0x167a85(0x466)]){const _0x46c140={};_0x46c140[_0x167a85(0x268)]=!![],this[_0x167a85(0x466)]=new FieldListV1(this[_0x167a85(0x39f)][_0x167a85(0x2e8)]||[],_0x46c140);}return this[_0x167a85(0x466)];}[a0_0x5456ff(0x2fe)](){const _0x1f6524=a0_0x5456ff;return(this['_raw'][_0x1f6524(0x2e8)]||[])[_0x1f6524(0x2b7)](_0x45efce=>!_0x45efce['deleted']);}[a0_0x5456ff(0x354)](){const _0x3a90f5=a0_0x5456ff;return this['getFieldList']()[_0x3a90f5(0x46b)];}[a0_0x5456ff(0x3fb)](_0xe069b8){const _0x482394=a0_0x5456ff;return this[_0x482394(0x39f)][_0x482394(0x2e8)]?.[_0x482394(0x283)](_0x18c7af=>_0x18c7af['code']===_0xe069b8);}['getVersion'](){return'v1';}[a0_0x5456ff(0x376)](){const _0x22ec2e=a0_0x5456ff,_0x43be5f={};return _0x43be5f[_0x22ec2e(0x341)]=this['_raw'][_0x22ec2e(0x2e8)]||[],_0x43be5f[_0x22ec2e(0x268)]=![],_0x43be5f;}[a0_0x5456ff(0x26a)](){const _0x15ea9f=a0_0x5456ff;return this[_0x15ea9f(0x39f)]['operations'];}[a0_0x5456ff(0x3ee)](){const _0x5a7d13=a0_0x5456ff;return this['_raw'][_0x5a7d13(0x3c0)];}[a0_0x5456ff(0x3d7)](){const _0x55c6c7=a0_0x5456ff,_0x138a31=this[_0x55c6c7(0x1d6)](),_0x4cedd5=_0x138a31?.['dblinkInfoDTO'],_0xc0ded2={};return _0xc0ded2[_0x55c6c7(0x3c4)]=_0x138a31?.['dbId'],_0xc0ded2[_0x55c6c7(0x2bc)]=_0x138a31?.[_0x55c6c7(0x2bc)]??_0x4cedd5?.[_0x55c6c7(0x2bc)],_0xc0ded2[_0x55c6c7(0x353)]=_0x4cedd5?.[_0x55c6c7(0x353)],_0xc0ded2[_0x55c6c7(0x409)]=_0x4cedd5?.['dbVersion'],_0xc0ded2['tableName']=_0x138a31?.[_0x55c6c7(0x42b)],_0xc0ded2[_0x55c6c7(0x285)]=_0x138a31?.[_0x55c6c7(0x285)],_0xc0ded2[_0x55c6c7(0x212)]=_0x138a31?.[_0x55c6c7(0x212)],_0xc0ded2[_0x55c6c7(0x284)]=_0x4cedd5?.[_0x55c6c7(0x284)],_0xc0ded2['appCode']=_0x4cedd5?.['appCode'],new DBConfig(_0xc0ded2,_0x138a31);}get[a0_0x5456ff(0x29e)](){const _0x107f0c=a0_0x5456ff;return this[_0x107f0c(0x39f)][_0x107f0c(0x29e)];}[a0_0x5456ff(0x2db)](_0x567b10){const _0x177106=a0_0x5456ff;if(typeof _0x567b10!==_0x177106(0x386)){!![]&&console['warn'](_0x177106(0x26f),_0x567b10);return;}return this[_0x177106(0x387)]()['find'](_0x567b10);}[a0_0x5456ff(0x27a)](_0x38510a){const _0x41857d=a0_0x5456ff;if(!_0x38510a||typeof _0x38510a!==_0x41857d(0x39c))return![];const _0x2cf4f4=this[_0x41857d(0x2db)](_0x38510a[_0x41857d(0x421)]);return _0x2cf4f4?_0x2cf4f4[_0x41857d(0x293)]():![];}['getFilterOperation'](){const _0x173ff4=a0_0x5456ff,_0x213dac=this[_0x173ff4(0x230)]('filter');return _0x213dac;}[a0_0x5456ff(0x1f1)](){const _0x3d450c=a0_0x5456ff;return this['hasOperation'](_0x3d450c(0x2b7));}['toListItem'](){const _0x3b33de=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x3b33de(0x464)],'datasetCode':this[_0x3b33de(0x25c)],'dbtableConfig':this[_0x3b33de(0x1d6)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x5456ff(0x3fd)];['_datasetMeta'];['_relations'];constructor(_0x382234){const _0x2a4a7e=a0_0x5456ff;super(_0x382234),this[_0x2a4a7e(0x235)]=_0x382234[_0x2a4a7e(0x22b)],this[_0x2a4a7e(0x352)]=_0x382234[_0x2a4a7e(0x458)]||[];}[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x376)](){const _0x4ab78e=a0_0x5456ff,_0x146fd8={};return _0x146fd8['fields']=this[_0x4ab78e(0x39f)][_0x4ab78e(0x341)],_0x146fd8[_0x4ab78e(0x268)]=![],_0x146fd8;}[a0_0x5456ff(0x26a)](){const _0x321314=a0_0x5456ff;return this[_0x321314(0x39f)][_0x321314(0x2d3)];}[a0_0x5456ff(0x3ee)](){const _0x1ceff9=a0_0x5456ff;return this[_0x1ceff9(0x39f)]['source'];}[a0_0x5456ff(0x3d7)](){const _0x4fc528=a0_0x5456ff,_0x3f9caa=this[_0x4fc528(0x39f)][_0x4fc528(0x3a2)],_0x1fa0b2=_0x3f9caa?.[_0x4fc528(0x2fa)],_0x449c1c={};return _0x449c1c[_0x4fc528(0x3c4)]=_0x3f9caa?.[_0x4fc528(0x3c4)],_0x449c1c[_0x4fc528(0x2bc)]=_0x3f9caa?.['dbName']??_0x1fa0b2?.[_0x4fc528(0x2bc)],_0x449c1c[_0x4fc528(0x353)]=_0x1fa0b2?.[_0x4fc528(0x353)],_0x449c1c[_0x4fc528(0x409)]=_0x1fa0b2?.['dbVersion'],_0x449c1c['tableName']=_0x3f9caa?.[_0x4fc528(0x42b)],_0x449c1c['datasetKey']=_0x3f9caa?.[_0x4fc528(0x285)],_0x449c1c['pkField']=_0x3f9caa?.[_0x4fc528(0x212)],_0x449c1c[_0x4fc528(0x284)]=_0x3f9caa?.[_0x4fc528(0x284)]??_0x1fa0b2?.['tenantCode'],_0x449c1c['appCode']=_0x3f9caa?.[_0x4fc528(0x441)]??_0x1fa0b2?.['appCode'],new DBConfig(_0x449c1c,_0x3f9caa);}[a0_0x5456ff(0x387)](){const _0x40efaf=a0_0x5456ff;return this[_0x40efaf(0x3e2)]();}[a0_0x5456ff(0x2fe)](){const _0x479ccd=a0_0x5456ff;return this[_0x479ccd(0x39f)][_0x479ccd(0x341)];}[a0_0x5456ff(0x354)](){const _0x2f3755=a0_0x5456ff;return this[_0x2f3755(0x39f)][_0x2f3755(0x341)][_0x2f3755(0x46b)];}[a0_0x5456ff(0x3fb)](_0x5c6b01){const _0x428892=a0_0x5456ff;return this[_0x428892(0x39f)][_0x428892(0x341)][_0x428892(0x283)](_0x3c15e5=>_0x3c15e5[_0x428892(0x464)]===_0x5c6b01);}['getDatasetMeta'](){return this['_datasetMeta'];}[a0_0x5456ff(0x337)](){const _0x2d1f49=a0_0x5456ff;return this[_0x2d1f49(0x352)];}[a0_0x5456ff(0x474)](){const _0x208d52=a0_0x5456ff;return this[_0x208d52(0x235)][_0x208d52(0x3ce)]||[];}[a0_0x5456ff(0x46f)](_0x415ab0){const _0x3b3305=a0_0x5456ff;return this[_0x3b3305(0x352)][_0x3b3305(0x2b7)](_0x2c0d4b=>_0x2c0d4b[_0x3b3305(0x2cf)]===_0x415ab0);}[a0_0x5456ff(0x2bf)](_0x53bf2f){const _0x2c2279=a0_0x5456ff;return this[_0x2c2279(0x352)][_0x2c2279(0x2e5)](_0x362668=>_0x362668[_0x2c2279(0x2cf)]===_0x53bf2f);}[a0_0x5456ff(0x250)](_0x56247f){const _0xff0e1d=a0_0x5456ff,_0x3840e8=this[_0xff0e1d(0x352)]['find'](_0x349415=>_0x349415['fromField']===_0x56247f);if(!_0x3840e8)return;const _0x4a810f={};return _0x4a810f[_0xff0e1d(0x3a7)]=_0x3840e8[_0xff0e1d(0x301)],_0x4a810f[_0xff0e1d(0x25c)]=_0x3840e8[_0xff0e1d(0x249)],_0x4a810f[_0xff0e1d(0x2f7)]=_0x3840e8[_0xff0e1d(0x2cd)],_0x4a810f[_0xff0e1d(0x42b)]=_0x3840e8[_0xff0e1d(0x46d)],_0x4a810f[_0xff0e1d(0x339)]=_0x3840e8[_0xff0e1d(0x339)],_0x4a810f;}['getForeignKeyFields'](){const _0x2b0662=a0_0x5456ff;return this[_0x2b0662(0x352)]['map'](_0x2a8363=>_0x2a8363[_0x2b0662(0x2cf)]);}[a0_0x5456ff(0x3e2)](){const _0x5417f4=a0_0x5456ff;if(!this[_0x5417f4(0x3fd)]){const _0xc89b41=this[_0x5417f4(0x39f)][_0x5417f4(0x341)]||[];this[_0x5417f4(0x3fd)]=new FieldListV2(_0xc89b41);}return this[_0x5417f4(0x3fd)];}[a0_0x5456ff(0x2db)](_0x34a8ca){const _0xfe9c3=a0_0x5456ff;if(typeof _0x34a8ca!=='string'){!![]&&console[_0xfe9c3(0x47e)](_0xfe9c3(0x470),_0x34a8ca);return;}return this[_0xfe9c3(0x3e2)]()[_0xfe9c3(0x283)](_0x34a8ca);}[a0_0x5456ff(0x27a)](_0x141592){const _0x41d5e0=a0_0x5456ff;if(!_0x141592||typeof _0x141592!==_0x41d5e0(0x39c))return![];const _0x5efd32=_0x141592['name']||_0x141592[_0x41d5e0(0x421)],_0x17d333=this[_0x41d5e0(0x2db)](_0x5efd32);return _0x17d333?_0x17d333['isMultipleSelect']():![];}[a0_0x5456ff(0x227)](){const _0x35a18b=a0_0x5456ff;if(!this['_operationList']){const _0x1c8bc4=this[_0x35a18b(0x416)](this[_0x35a18b(0x26a)]()||{});this[_0x35a18b(0x236)]=new OperationList(_0x1c8bc4,{'fields':this[_0x35a18b(0x3e2)]()[_0x35a18b(0x45c)](),'pkField':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]?.['pkField'],'dbtableConfig':this[_0x35a18b(0x39f)][_0x35a18b(0x3a2)]||null});}return this[_0x35a18b(0x236)];}[a0_0x5456ff(0x2d9)](){const _0x5583a8=a0_0x5456ff,_0x1ced39=this[_0x5583a8(0x230)](_0x5583a8(0x2b7));return _0x1ced39;}['hasFilterOperation'](){const _0x2a5b3d=a0_0x5456ff;return this[_0x2a5b3d(0x258)](_0x2a5b3d(0x2b7));}[a0_0x5456ff(0x2a7)](){const _0x2f987f=a0_0x5456ff;return new DatasetItem({'id':this['id'],'name':this[_0x2f987f(0x464)],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x5456ff(0x210)](){const _0x3217db=a0_0x5456ff,_0x2f6bdd=this['_relations'][_0x3217db(0x46b)],_0x2013ec=this[_0x3217db(0x474)]()[_0x3217db(0x46b)];return _0x3217db(0x23e)+this[_0x3217db(0x464)]+',\x20'+this[_0x3217db(0x25c)]+',\x20'+this['getFieldCount']()+_0x3217db(0x404)+this[_0x3217db(0x245)]()+_0x3217db(0x225)+_0x2f6bdd+_0x3217db(0x2a9)+_0x2013ec+_0x3217db(0x269);}['getFieldsV2'](){const _0x5e2701=a0_0x5456ff;return this[_0x5e2701(0x39f)][_0x5e2701(0x341)];}[a0_0x5456ff(0x2c2)](_0x3d8910){const _0x30ff97=a0_0x5456ff;return this['_raw'][_0x30ff97(0x341)][_0x30ff97(0x283)](_0x25c44f=>_0x25c44f[_0x30ff97(0x464)]===_0x3d8910);}}function detectDatasetVersion(_0x541426){const _0x5ce68d=a0_0x5456ff;if(_0x541426[_0x5ce68d(0x274)]==='v2'&&_0x5ce68d(0x341)in _0x541426&&Array[_0x5ce68d(0x248)](_0x541426[_0x5ce68d(0x341)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x5456ff(0x3aa)];constructor(_0x45a918){const _0x39a7fb=a0_0x5456ff;super(_0x45a918);const _0x2ab81d=detectDatasetVersion(_0x45a918);this[_0x39a7fb(0x3aa)]=_0x2ab81d==='v2'?new DrivenDataDetailV2(_0x45a918):new DrivenDataDetailV1(_0x45a918);}get['id'](){return this['_instance']['id'];}get[a0_0x5456ff(0x464)](){const _0x1b408f=a0_0x5456ff;return this[_0x1b408f(0x3aa)]['name'];}get[a0_0x5456ff(0x25c)](){const _0x2dcc75=a0_0x5456ff;return this[_0x2dcc75(0x3aa)][_0x2dcc75(0x25c)];}get[a0_0x5456ff(0x29e)](){const _0x33a36a=a0_0x5456ff;return this[_0x33a36a(0x3aa)][_0x33a36a(0x307)]()==='v2'?_0x33a36a(0x319):'1.0';}[a0_0x5456ff(0x307)](){const _0x5789d8=a0_0x5456ff;return this[_0x5789d8(0x3aa)][_0x5789d8(0x307)]();}[a0_0x5456ff(0x1e3)](){return this['_instance']['id'];}[a0_0x5456ff(0x288)](){const _0x480c9f=a0_0x5456ff;return this[_0x480c9f(0x3aa)][_0x480c9f(0x25c)];}[a0_0x5456ff(0x432)](){return this['_instance']['name'];}[a0_0x5456ff(0x376)](){const _0x5f4b35=a0_0x5456ff;return this['_instance'][_0x5f4b35(0x376)]();}['getOperationsData'](){const _0x21961e=a0_0x5456ff;return this[_0x21961e(0x3aa)][_0x21961e(0x26a)]();}[a0_0x5456ff(0x3ee)](){const _0x58dce0=a0_0x5456ff;return this[_0x58dce0(0x3aa)][_0x58dce0(0x3ee)]();}[a0_0x5456ff(0x3cf)](){const _0x51d048=a0_0x5456ff;return this[_0x51d048(0x3aa)][_0x51d048(0x3cf)]();}['getFieldList'](){const _0x52743a=a0_0x5456ff;return this['_instance'][_0x52743a(0x387)]();}['getFieldsWithDeleted'](){const _0x12f3cb=a0_0x5456ff;return this[_0x12f3cb(0x3aa)]['getFieldsWithDeleted']();}[a0_0x5456ff(0x2fe)](){return this['_instance']['getFields']();}[a0_0x5456ff(0x354)](){const _0x29003a=a0_0x5456ff;return this['_instance'][_0x29003a(0x354)]();}[a0_0x5456ff(0x32d)](){const _0x57cf0c=a0_0x5456ff,_0x291de4=this[_0x57cf0c(0x3aa)][_0x57cf0c(0x1d6)]();return _0x291de4?.['pkField'];}[a0_0x5456ff(0x3d7)](){const _0x4b1974=a0_0x5456ff;return this[_0x4b1974(0x3aa)][_0x4b1974(0x3d7)]();}[a0_0x5456ff(0x2db)](_0x171820){const _0x2a0275=a0_0x5456ff;return this[_0x2a0275(0x3aa)][_0x2a0275(0x2db)](_0x171820);}['getPrimaryKeyFields'](){const _0x1c5847=a0_0x5456ff;return this[_0x1c5847(0x3aa)][_0x1c5847(0x2fc)]();}[a0_0x5456ff(0x1ec)](){const _0x9ac9c9=a0_0x5456ff;return this['_instance'][_0x9ac9c9(0x1ec)]();}[a0_0x5456ff(0x24a)](){const _0x51d23f=a0_0x5456ff;return this[_0x51d23f(0x3aa)][_0x51d23f(0x24a)]();}['getRequiredFields'](){return this['_instance']['getRequiredFields']();}['getFieldsByType'](){const _0x4ad50f=a0_0x5456ff;return this[_0x4ad50f(0x3aa)][_0x4ad50f(0x430)]();}[a0_0x5456ff(0x45f)](){const _0x2f7c30=a0_0x5456ff;return this[_0x2f7c30(0x3aa)][_0x2f7c30(0x45f)]();}['getEnumFieldsMeta'](){return this['_instance']['getEnumFieldsMeta']();}[a0_0x5456ff(0x2a2)](){const _0x32ca42=a0_0x5456ff;return this[_0x32ca42(0x3aa)][_0x32ca42(0x2a2)]();}[a0_0x5456ff(0x245)](){const _0x153851=a0_0x5456ff;return this[_0x153851(0x3aa)][_0x153851(0x245)]();}[a0_0x5456ff(0x3f2)](){const _0x25c322=a0_0x5456ff;return this[_0x25c322(0x3aa)][_0x25c322(0x3f2)]();}['getDisabledOperations'](){const _0x3c8cb6=a0_0x5456ff;return this[_0x3c8cb6(0x3aa)][_0x3c8cb6(0x237)]();}[a0_0x5456ff(0x34a)](){const _0x1d693e=a0_0x5456ff;return this[_0x1d693e(0x3aa)][_0x1d693e(0x34a)]();}['getDisabledOperationInstances'](){const _0x4b4fa4=a0_0x5456ff;return this['_instance'][_0x4b4fa4(0x475)]();}['getStats'](){const _0x5c8db2=a0_0x5456ff;return this[_0x5c8db2(0x3aa)][_0x5c8db2(0x21e)]();}[a0_0x5456ff(0x3e4)](){const _0x1dc89c=a0_0x5456ff;return this[_0x1dc89c(0x3aa)][_0x1dc89c(0x3e4)]();}[a0_0x5456ff(0x337)](){const _0x54f3b0=a0_0x5456ff;return this[_0x54f3b0(0x3aa)]['getRelations']();}[a0_0x5456ff(0x474)](){const _0xef4f3f=a0_0x5456ff;return this[_0xef4f3f(0x3aa)]['getIndexes']();}[a0_0x5456ff(0x1e7)](){const _0x8b20ef=a0_0x5456ff;return this[_0x8b20ef(0x3aa)][_0x8b20ef(0x1e7)]();}[a0_0x5456ff(0x30e)](){const _0x390cd3=a0_0x5456ff;return this['_instance'][_0x390cd3(0x30e)]();}[a0_0x5456ff(0x262)](){const _0x967330=a0_0x5456ff;return this['_instance'][_0x967330(0x262)]();}['getFilterOperation'](){const _0xc65279=a0_0x5456ff;return this[_0xc65279(0x3aa)]['getFilterOperation']();}[a0_0x5456ff(0x1f1)](){const _0x294416=a0_0x5456ff;return this[_0x294416(0x3aa)][_0x294416(0x1f1)]();}['toListItem'](){const _0x354318=a0_0x5456ff;return this['_instance'][_0x354318(0x2a7)]();}[a0_0x5456ff(0x210)](){const _0x2725a9=a0_0x5456ff;return this[_0x2725a9(0x3aa)]['toString']();}[a0_0x5456ff(0x277)](){const _0x17c62f=a0_0x5456ff;return this[_0x17c62f(0x3aa)];}}function detectDatasetVersion2(_0x2367ec){const _0x1feba2=a0_0x5456ff;if(_0x2367ec['doVersion']==='v2'&&_0x1feba2(0x341)in _0x2367ec&&Array['isArray'](_0x2367ec[_0x1feba2(0x341)]))return'v2';return'v1';}function createDrivenDataDetail(_0x270fa3,_0x5a7b0e={}){const {forceVersion:_0x5582f4}=_0x5a7b0e;if(_0x5582f4==='v2')return new DrivenDataDetailV2(_0x270fa3);if(_0x5582f4==='v1')return new DrivenDataDetailV1(_0x270fa3);const _0x4f6758=detectDatasetVersion2(_0x270fa3);if(_0x4f6758==='v2')return new DrivenDataDetailV2(_0x270fa3);return new DrivenDataDetailV1(_0x270fa3);}function isV2Data(_0xabd19e){return detectDatasetVersion2(_0xabd19e)==='v2';}function isV1Data(_0x25ec3a){return detectDatasetVersion2(_0x25ec3a)==='v1';}function isV2Instance(_0x119a14){return _0x119a14['getVersion']()==='v2';}function isV1Instance(_0x2d6cb8){return _0x2d6cb8['getVersion']()==='v1';}class DatasetGroup{[a0_0x5456ff(0x282)];constructor(_0x73853){const _0x56a7eb=a0_0x5456ff;this[_0x56a7eb(0x282)]=Array['isArray'](_0x73853)?[..._0x73853]:[_0x73853],this['items'][_0x56a7eb(0x27d)]((_0x38b88d,_0x252b69)=>{const _0x3f16c2=Number(_0x38b88d['id'])||0x0,_0x45da77=Number(_0x252b69['id'])||0x0;return _0x45da77-_0x3f16c2;});}[a0_0x5456ff(0x398)](){const _0x56f118=a0_0x5456ff;return this[_0x56f118(0x282)][_0x56f118(0x46b)]>0x1;}[a0_0x5456ff(0x47f)](){const _0x3edc08=a0_0x5456ff;return this[_0x3edc08(0x282)][0x0];}[a0_0x5456ff(0x348)](){const _0x1eeaac=a0_0x5456ff;return this[_0x1eeaac(0x282)][this[_0x1eeaac(0x282)][_0x1eeaac(0x46b)]-0x1];}[a0_0x5456ff(0x260)](){const _0x344f0a=a0_0x5456ff;return[...this[_0x344f0a(0x282)]];}['getCount'](){const _0x14a023=a0_0x5456ff;return this[_0x14a023(0x282)][_0x14a023(0x46b)];}['getAt'](_0x345b8b){const _0x128155=a0_0x5456ff;return this[_0x128155(0x282)][_0x345b8b];}['findById'](_0x1550f8){const _0x263976=a0_0x5456ff;return this[_0x263976(0x282)][_0x263976(0x283)](_0x1e1dfd=>_0x1e1dfd['id']===_0x1550f8);}[a0_0x5456ff(0x3a4)](_0xa3879e){const _0x189913=a0_0x5456ff;return this[_0x189913(0x282)][_0x189913(0x283)](_0x5d6e23=>_0x5d6e23[_0x189913(0x25c)]===_0xa3879e);}[a0_0x5456ff(0x38a)](){const _0x4656b7=a0_0x5456ff;return this[_0x4656b7(0x282)][_0x4656b7(0x418)](_0x4c2cb7=>_0x4c2cb7['id'])[_0x4656b7(0x2b7)](_0x1e7bc5=>_0x1e7bc5!==undefined);}[a0_0x5456ff(0x3f9)](){const _0x5665c2=a0_0x5456ff;return this['items'][_0x5665c2(0x418)](_0x9a4206=>_0x9a4206[_0x5665c2(0x25c)]);}[a0_0x5456ff(0x210)](){const _0x8d0357=a0_0x5456ff;if(this['hasConflict']())return _0x8d0357(0x420)+this['items'][_0x8d0357(0x46b)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x8d0357(0x47f)]()['name']+')';return'DatasetGroup('+this[_0x8d0357(0x282)][0x0][_0x8d0357(0x464)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x1281b1){const _0x5d9fc4=a0_0x5456ff;this[_0x5d9fc4(0x242)]=new Map();for(const _0x1cb965 of _0x1281b1){const _0x1ac4d1=getTableKey(_0x1cb965);if(!this['groups'][_0x5d9fc4(0x3a9)](_0x1ac4d1))this[_0x5d9fc4(0x242)]['set'](_0x1ac4d1,new DatasetGroup(_0x1cb965));else{const _0x5c31e5=this[_0x5d9fc4(0x242)][_0x5d9fc4(0x326)](_0x1ac4d1),_0x421ab1=[..._0x5c31e5[_0x5d9fc4(0x260)](),_0x1cb965];this[_0x5d9fc4(0x242)][_0x5d9fc4(0x270)](_0x1ac4d1,new DatasetGroup(_0x421ab1));}}}[a0_0x5456ff(0x326)](_0xb9fe3e){const _0x498586=a0_0x5456ff;return this[_0x498586(0x242)][_0x498586(0x326)](_0xb9fe3e);}[a0_0x5456ff(0x3a9)](_0x49c1c3){const _0x19b833=a0_0x5456ff;return this['groups'][_0x19b833(0x3a9)](_0x49c1c3);}get[a0_0x5456ff(0x1ee)](){const _0x50b82e=a0_0x5456ff;return this[_0x50b82e(0x242)][_0x50b82e(0x1ee)];}[a0_0x5456ff(0x35f)](){const _0x200464=a0_0x5456ff;return this[_0x200464(0x242)][_0x200464(0x35f)]();}[a0_0x5456ff(0x25d)](){const _0x239ddf=a0_0x5456ff;return this[_0x239ddf(0x242)][_0x239ddf(0x25d)]();}[a0_0x5456ff(0x2eb)](){const _0x51097c=a0_0x5456ff;return this[_0x51097c(0x242)][_0x51097c(0x2eb)]();}[Symbol[a0_0x5456ff(0x2d0)]](){return this['groups']['entries']();}[a0_0x5456ff(0x3b2)](_0x52f926){const _0x2673fb=a0_0x5456ff;this['groups'][_0x2673fb(0x3b2)]((_0x458172,_0x245f42)=>_0x52f926(_0x458172,_0x245f42,this));}[a0_0x5456ff(0x372)](){const _0x16a632=a0_0x5456ff,_0x5f5f26=new Map();for(const [_0x2f4074,_0x349dd1]of this[_0x16a632(0x242)]){_0x349dd1['hasConflict']()&&_0x5f5f26[_0x16a632(0x270)](_0x2f4074,_0x349dd1);}return _0x5f5f26;}[a0_0x5456ff(0x3f4)](){const _0x3144c7=a0_0x5456ff;for(const _0x347ad8 of this[_0x3144c7(0x242)][_0x3144c7(0x25d)]()){if(_0x347ad8[_0x3144c7(0x398)]())return!![];}return![];}[a0_0x5456ff(0x3d1)](){const _0x3d83df=a0_0x5456ff;let _0x4036b1=0x0,_0x2e5078=0x0;for(const _0x48ca76 of this[_0x3d83df(0x242)][_0x3d83df(0x25d)]()){_0x48ca76[_0x3d83df(0x398)]()&&(_0x4036b1++,_0x2e5078+=_0x48ca76[_0x3d83df(0x359)]());}const _0x53e03a={};return _0x53e03a[_0x3d83df(0x318)]=_0x4036b1,_0x53e03a[_0x3d83df(0x35c)]=_0x2e5078,_0x53e03a[_0x3d83df(0x32f)]=this[_0x3d83df(0x242)][_0x3d83df(0x1ee)],_0x53e03a;}[a0_0x5456ff(0x2c5)](){const _0x5196d8=a0_0x5456ff,_0x399df1=[];for(const _0x2d0ab3 of this['groups'][_0x5196d8(0x25d)]()){_0x399df1['push'](..._0x2d0ab3['getAll']());}return _0x399df1;}[a0_0x5456ff(0x37c)](){const _0x15b86e=a0_0x5456ff,_0x512b0a=[];for(const _0x5daaf8 of this['groups']['values']()){_0x512b0a[_0x15b86e(0x20f)](_0x5daaf8[_0x15b86e(0x47f)]());}return _0x512b0a;}[a0_0x5456ff(0x47f)](_0x12a589){const _0xdde0d=a0_0x5456ff;return this[_0xdde0d(0x242)]['get'](_0x12a589)?.[_0xdde0d(0x47f)]();}[a0_0x5456ff(0x260)](_0x38be3e){const _0x1925bf=a0_0x5456ff;return this[_0x1925bf(0x242)][_0x1925bf(0x326)](_0x38be3e)?.[_0x1925bf(0x260)]()||[];}['toConfig'](){const _0x34b703=a0_0x5456ff,_0x194a9e=this[_0x34b703(0x37c)](),_0x339ca6=_0x194a9e['map'](_0x3ef76b=>_0x3ef76b[_0x34b703(0x262)]()),_0x4abde8={};return _0x4abde8['enableDeduplication']=![],generateDatasetsConfig(_0x339ca6,_0x4abde8);}[a0_0x5456ff(0x349)](){const _0x16651f=a0_0x5456ff,_0xba1b52=this['getAllDatasets'](),_0x48af31=_0xba1b52[_0x16651f(0x418)](_0x480db6=>_0x480db6[_0x16651f(0x262)]());return generateFullDatasetsConfig(_0x48af31);}[a0_0x5456ff(0x2c3)](){const _0x409836={};for(const [_0x4f3e0c,_0x17211e]of this['groups']){_0x409836[_0x4f3e0c]=_0x17211e;}return _0x409836;}['toJSON'](){const _0x46256f=a0_0x5456ff,_0x1d50f5={};for(const [_0x2b0daa,_0x1b3cef]of this[_0x46256f(0x242)]){_0x1d50f5[_0x2b0daa]=_0x1b3cef[_0x46256f(0x260)]()[_0x46256f(0x418)](_0x256e0c=>_0x256e0c[_0x46256f(0x262)]());}return _0x1d50f5;}[a0_0x5456ff(0x210)](){const _0x4843f8=a0_0x5456ff;return'DatasetGroupMap('+this['groups'][_0x4843f8(0x1ee)]+'\x20groups,\x20'+(this[_0x4843f8(0x3f4)]()?_0x4843f8(0x2dd):_0x4843f8(0x3c6))+')';}}class DatasetList{['_datasetMap'];constructor(_0x49d2a3){const _0x512626=a0_0x5456ff;let _0x4164b1;if(Array['isArray'](_0x49d2a3))_0x4164b1=_0x49d2a3;else{if('success'in _0x49d2a3){if(!_0x49d2a3[_0x512626(0x3e8)])throw new Error(_0x512626(0x358));if(Array['isArray'](_0x49d2a3[_0x512626(0x3e3)]))_0x4164b1=_0x49d2a3[_0x512626(0x3e3)][_0x512626(0x418)](_0x3a0c8e=>({..._0x3a0c8e,'datasetCode':_0x3a0c8e['code']||_0x3a0c8e[_0x512626(0x25c)]}));else{if(_0x49d2a3[_0x512626(0x3e3)]?.[_0x512626(0x218)])_0x4164b1=_0x49d2a3['data'][_0x512626(0x218)][_0x512626(0x418)](_0x3228b5=>({..._0x3228b5,'datasetCode':_0x3228b5['code']||_0x3228b5[_0x512626(0x25c)]}));else throw new Error(_0x512626(0x435));}}else{if(_0x512626(0x218)in _0x49d2a3){if(!Array[_0x512626(0x248)](_0x49d2a3['tableData']))throw new Error(_0x512626(0x2c7));_0x4164b1=_0x49d2a3[_0x512626(0x218)][_0x512626(0x418)](_0x57b6ec=>({..._0x57b6ec,'datasetCode':_0x57b6ec[_0x512626(0x421)]||_0x57b6ec[_0x512626(0x25c)]}));}else throw new Error(_0x512626(0x3be));}}const _0x37b8be=cleanDatasetNames(_0x4164b1),_0xe2f60a=_0x37b8be[_0x512626(0x418)](_0x77753c=>new DatasetItem(_0x77753c));this[_0x512626(0x297)]=new DatasetGroupMap(_0xe2f60a);}get[a0_0x5456ff(0x1e6)](){const _0x31f042=a0_0x5456ff;return this[_0x31f042(0x297)];}[a0_0x5456ff(0x303)](){const _0x509a0d=a0_0x5456ff;return this[_0x509a0d(0x297)][_0x509a0d(0x2c5)]();}['getCount'](){const _0x4033c3=a0_0x5456ff;return this['getItems']()[_0x4033c3(0x46b)];}[a0_0x5456ff(0x2b4)](){const _0x269460=a0_0x5456ff;return this[_0x269460(0x297)][_0x269460(0x1ee)]===0x0;}[a0_0x5456ff(0x2a4)](_0x2a42c0){const _0x3b6061=a0_0x5456ff;return this[_0x3b6061(0x303)]()[_0x2a42c0];}[a0_0x5456ff(0x2e6)](){const _0x288b32=a0_0x5456ff;return this[_0x288b32(0x303)]()[0x0];}['getLast'](){const _0x62fb44=this['getItems']();return _0x62fb44[_0x62fb44['length']-0x1];}[a0_0x5456ff(0x3a4)](_0x8c3eb0){const _0x1a174c=a0_0x5456ff;for(const _0x58102a of this[_0x1a174c(0x297)][_0x1a174c(0x25d)]()){const _0x223dd6=_0x58102a[_0x1a174c(0x3a4)](_0x8c3eb0);if(_0x223dd6)return _0x223dd6;}return;}[a0_0x5456ff(0x2ec)](_0x5abf40){const _0x397813=a0_0x5456ff;return this[_0x397813(0x303)]()[_0x397813(0x283)](_0x632fdd=>_0x632fdd[_0x397813(0x464)]===_0x5abf40);}[a0_0x5456ff(0x2b0)](_0x47d572){const _0x532b0a=a0_0x5456ff;for(const _0x1bf8ea of this[_0x532b0a(0x297)][_0x532b0a(0x25d)]()){const _0x20083c=_0x1bf8ea['findById'](_0x47d572);if(_0x20083c)return _0x20083c;}return;}[a0_0x5456ff(0x2da)](_0x49fe47){const _0x331a98=a0_0x5456ff,_0x36d3e9=getTableKey(_0x49fe47);return this[_0x331a98(0x297)][_0x331a98(0x47f)](_0x36d3e9);}['filter'](_0xed823e){const _0x11eeb2=a0_0x5456ff,_0x57f473=this[_0x11eeb2(0x303)]()[_0x11eeb2(0x2b7)](_0xed823e);return new DatasetList(_0x57f473[_0x11eeb2(0x418)](_0x410ee6=>_0x410ee6[_0x11eeb2(0x262)]()));}['findAll'](_0x3b2ef1){const _0x2d0330=a0_0x5456ff;return this[_0x2d0330(0x303)]()[_0x2d0330(0x2b7)](_0x3b2ef1);}['forEach'](_0x3b90b7){const _0x1cc1fb=a0_0x5456ff;this['getItems']()[_0x1cc1fb(0x3b2)](_0x3b90b7);}['map'](_0x34503f){const _0x1bce57=a0_0x5456ff;return this[_0x1bce57(0x303)]()['map'](_0x34503f);}[Symbol['iterator']](){const _0x4e1d69=a0_0x5456ff;return this['getItems']()[Symbol[_0x4e1d69(0x2d0)]]();}['getVirtualTables'](){const _0x4cce2f=a0_0x5456ff;return this[_0x4cce2f(0x303)]()[_0x4cce2f(0x2b7)](_0x1d8cb6=>_0x1d8cb6[_0x4cce2f(0x25e)]());}[a0_0x5456ff(0x468)](){const _0x34f76c=a0_0x5456ff;return this[_0x34f76c(0x303)]()[_0x34f76c(0x2b7)](_0x33adf5=>!_0x33adf5[_0x34f76c(0x25e)]());}[a0_0x5456ff(0x456)](){const _0x5b0bda=a0_0x5456ff,_0x3c8665={};for(const _0x313d77 of this[_0x5b0bda(0x297)][_0x5b0bda(0x25d)]()){const _0x2713c9=_0x313d77[_0x5b0bda(0x47f)]()[_0x5b0bda(0x36a)]();_0x3c8665[_0x2713c9]=_0x313d77[_0x5b0bda(0x260)]();}return _0x3c8665;}[a0_0x5456ff(0x40d)](){const _0x5cb274=a0_0x5456ff,_0x57e94c={};for(const _0x484a43 of this[_0x5cb274(0x297)][_0x5cb274(0x372)]()[_0x5cb274(0x25d)]()){const _0x6bcdab=_0x484a43[_0x5cb274(0x47f)]()[_0x5cb274(0x36a)]();_0x57e94c[_0x6bcdab]=_0x484a43[_0x5cb274(0x260)]()[_0x5cb274(0x418)](_0x129a96=>_0x129a96['toJSON']());}return{'hasConflicts':Object[_0x5cb274(0x35f)](_0x57e94c)[_0x5cb274(0x46b)]>0x0,'conflicts':_0x57e94c};}[a0_0x5456ff(0x3f4)](){const _0x5ea920=a0_0x5456ff;return this[_0x5ea920(0x297)][_0x5ea920(0x3f4)]();}[a0_0x5456ff(0x1f6)](){const _0x4b8e0e=a0_0x5456ff,_0x4d9fa5=[];for(const _0x418cb5 of this[_0x4b8e0e(0x297)][_0x4b8e0e(0x372)]()['values']()){_0x4d9fa5['push'](..._0x418cb5['getAll']());}return _0x4d9fa5;}['generateConfig'](_0x10d994){const _0xc4c325=a0_0x5456ff;if(!_0x10d994||Object[_0xc4c325(0x35f)](_0x10d994)['length']===0x0)return this[_0xc4c325(0x1e6)]['toConfig']();const _0x511b9c=this[_0xc4c325(0x303)]()[_0xc4c325(0x418)](_0x33fd30=>_0x33fd30[_0xc4c325(0x262)]());return generateDatasetsConfig(_0x511b9c,_0x10d994);}['generateConfigArray'](_0x50bea3){const _0x265818=this['generateConfig'](_0x50bea3);return datasetsConfigToArray(_0x265818);}[a0_0x5456ff(0x3ab)](){const _0x2848b0=a0_0x5456ff;return this[_0x2848b0(0x303)]()['map'](_0x3d9c53=>_0x3d9c53['toConfig']());}[a0_0x5456ff(0x21e)](){const _0xa6a89=a0_0x5456ff;return{'total':this[_0xa6a89(0x359)](),'virtualTables':this[_0xa6a89(0x202)]()[_0xa6a89(0x46b)],'realTables':this[_0xa6a89(0x468)]()[_0xa6a89(0x46b)],'hasConflicts':this[_0xa6a89(0x3f4)](),'conflictCount':this[_0xa6a89(0x1f6)]()[_0xa6a89(0x46b)]};}[a0_0x5456ff(0x20c)](){const _0x30264b=a0_0x5456ff;return this[_0x30264b(0x303)]()[_0x30264b(0x418)](_0x20e714=>_0x20e714['toJSON']());}['toJSON'](){const _0x5ef820=a0_0x5456ff;return this[_0x5ef820(0x20c)]();}['toString'](){const _0x23a0c0=a0_0x5456ff;return'DatasetList('+this[_0x23a0c0(0x359)]()+_0x23a0c0(0x30a)+this[_0x23a0c0(0x297)][_0x23a0c0(0x1ee)]+_0x23a0c0(0x305);}static[a0_0x5456ff(0x2d5)](_0x54760c){return new DatasetList(_0x54760c);}static[a0_0x5456ff(0x2e7)](_0x8a3435){return new DatasetList(_0x8a3435);}static[a0_0x5456ff(0x43f)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x5456ff(0x261);function renderTemplate(_0x4c2af1,_0x4ca15b,_0x4675ae={}){const _0x30297a=a0_0x5456ff;let _0x214e02=_0x4c2af1;return Object['entries'](_0x4675ae)['forEach'](([_0x472440,_0x1eacda])=>{const _0x2dd222=a0_0x2d67,_0x244006=new RegExp(_0x2dd222(0x3de)+_0x472440+_0x2dd222(0x1d9),'g');_0x214e02=_0x214e02['replace'](_0x244006,_0x1eacda?'$1':'');}),Object[_0x30297a(0x2eb)](_0x4ca15b)[_0x30297a(0x3b2)](([_0x223932,_0x2ab1c3])=>{const _0x447ab2=_0x30297a;if(_0x2ab1c3!==undefined){const _0x494795=new RegExp(_0x447ab2(0x410)+_0x223932+_0x447ab2(0x375),'g');_0x214e02=_0x214e02[_0x447ab2(0x276)](_0x494795,_0x2ab1c3);}}),_0x214e02;}function generateSDKInitCode(_0xd19437,_0x5c73d6,_0x5721f5,_0x19daf2,_0x1ff26a){const _0x4756f8=a0_0x5456ff,_0x55a03a={};_0x55a03a['appCode']=_0xd19437,_0x55a03a['datasetCode']=_0x5c73d6,_0x55a03a[_0x4756f8(0x433)]=_0x5721f5,_0x55a03a[_0x4756f8(0x1f7)]=_0x19daf2==='daily'?'daily':undefined;const _0x4a709c={};return _0x4a709c['env']=_0x19daf2!==undefined&&_0x19daf2!==_0x4756f8(0x286),_0x4a709c[_0x4756f8(0x3d4)]=_0x1ff26a===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x55a03a,_0x4a709c);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x5456ff(0x299);function generateAliasExplanation(_0x10b5f8,_0x21cb22,_0x5b490a,_0x310801){const _0x190488=a0_0x5456ff,_0x5014c6=_0x190488(0x253)+_0x10b5f8,_0x217a78=_0x190488(0x1f5),_0x38dc7c={};return _0x38dc7c[_0x190488(0x25c)]=_0x10b5f8,_0x38dc7c[_0x190488(0x388)]=_0x5014c6,_0x38dc7c['tableName']=_0x21cb22,_0x38dc7c[_0x190488(0x433)]=_0x5b490a,_0x38dc7c[_0x190488(0x441)]=_0x310801,_0x38dc7c[_0x190488(0x1fc)]=_0x217a78,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x38dc7c,{});}function DrivenDataDetailPlusMixin(_0x5e0c89){const _0x3b4e85=a0_0x5456ff;return class _0x157c6b extends _0x5e0c89{[_0x3b4e85(0x1fa)](_0x4f9112){const _0x4c2aa9=_0x3b4e85;return{'appCode':_0x4f9112,'datasetSDKKey':this[_0x4c2aa9(0x35b)](),'alias':this[_0x4c2aa9(0x459)](),'tableName':this[_0x4c2aa9(0x36a)](),'datasetCode':this[_0x4c2aa9(0x25c)]};}[_0x3b4e85(0x3d9)](_0x160de3,_0x2d4e36=_0x3b4e85(0x286),_0x2bb46d=![]){const _0x2dbc48=_0x3b4e85;return generateSDKInitCode(_0x160de3,this[_0x2dbc48(0x25c)],this[_0x2dbc48(0x459)](),_0x2d4e36===_0x2dbc48(0x41c)?_0x2d4e36:undefined,_0x2bb46d);}['generateFullSDKExample'](_0x74eb65,_0x44d225,_0x20f846={}){const _0x443fbd=_0x3b4e85,_0x157027=this[_0x443fbd(0x2a2)]()[_0x443fbd(0x283)](_0x7b890e=>_0x7b890e['getName']()===_0x74eb65);if(!_0x157027)return null;const _0x1f5b8c={};_0x1f5b8c[_0x443fbd(0x233)]=_0x20f846[_0x443fbd(0x44d)]!==![];const _0x5e96b3=this[_0x443fbd(0x406)](_0x74eb65,_0x1f5b8c);if(!_0x5e96b3)return null;const _0x799f5a=[];return _0x799f5a[_0x443fbd(0x20f)](_0x443fbd(0x313)+_0x157027[_0x443fbd(0x432)]()+_0x443fbd(0x481)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3['sdkCall']['code']),_0x799f5a[_0x443fbd(0x20f)](''),_0x20f846[_0x443fbd(0x37a)]!==![]&&(_0x799f5a['push'](_0x443fbd(0x413)),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x290)]),_0x799f5a[_0x443fbd(0x20f)](''),_0x799f5a[_0x443fbd(0x20f)](_0x5e96b3[_0x443fbd(0x24f)][_0x443fbd(0x1e1)])),_0x799f5a[_0x443fbd(0x396)]('\x0a');}[_0x3b4e85(0x1d4)](_0x1ccd87={}){const _0x24adf5=_0x3b4e85,_0x1fcaf6=this[_0x24adf5(0x36b)](),_0x58b7b0=[];return _0x1fcaf6['forEach']((_0x574d1e,_0x4b9395)=>{const _0xb4d26e=_0x24adf5,_0x29086b=this['generateFullSDKExample'](_0x574d1e[_0xb4d26e(0x464)],_0xb4d26e(0x40c),_0x1ccd87);_0x29086b&&(_0x58b7b0[_0xb4d26e(0x20f)](_0xb4d26e(0x43d)+(_0x4b9395+0x1)+'.\x20'+_0x574d1e['displayName']),_0x58b7b0[_0xb4d26e(0x20f)](_0x29086b),_0x58b7b0[_0xb4d26e(0x20f)](''));}),_0x58b7b0['join']('\x0a');}[_0x3b4e85(0x1dc)](_0xece1d6){const _0x461881=_0x3b4e85,_0x69081c=this[_0x461881(0x300)](_0xece1d6);if(!_0x69081c)return null;const _0x2a5bb4={};return _0x2a5bb4[_0x461881(0x464)]=_0x69081c[_0x461881(0x464)],_0x2a5bb4[_0x461881(0x27f)]=_0x69081c[_0x461881(0x27f)],_0x2a5bb4[_0x461881(0x443)]=_0x69081c[_0x461881(0x443)],_0x2a5bb4['path']=_0x69081c['path'],_0x2a5bb4[_0x461881(0x316)]=_0x69081c[_0x461881(0x316)],_0x2a5bb4[_0x461881(0x38e)]=_0x69081c[_0x461881(0x3ec)][_0x461881(0x46b)],_0x2a5bb4['hasResponseSchema']=_0x69081c[_0x461881(0x31e)]!==null,_0x2a5bb4;}[_0x3b4e85(0x2ff)](_0x4a6bcc={}){const _0x244580=_0x3b4e85,_0x196ac9=this[_0x244580(0x36b)]();return{'datasetName':this['name'],'datasetCode':this[_0x244580(0x25c)],'tableName':this['getTableName'](),'totalOperations':_0x196ac9[_0x244580(0x46b)],'operations':_0x196ac9[_0x244580(0x418)](_0x2edee7=>({'name':_0x2edee7[_0x244580(0x464)],'displayName':_0x2edee7[_0x244580(0x27f)],'method':_0x2edee7['method'],'enabled':_0x2edee7[_0x244580(0x316)]}))};}[_0x3b4e85(0x1dd)](_0x313daa){const _0x40c3fc=_0x3b4e85,_0x8a1cb3=this[_0x40c3fc(0x300)](_0x313daa);if(!_0x8a1cb3)return[];return _0x8a1cb3[_0x40c3fc(0x3ec)][_0x40c3fc(0x418)](_0x5325d9=>{const _0x4bd2f3=_0x40c3fc,_0x50896f=this['getFieldInstance'](_0x5325d9);if(!_0x50896f)return null;const _0x486652={};return _0x486652[_0x4bd2f3(0x421)]=_0x5325d9,_0x486652[_0x4bd2f3(0x464)]=_0x50896f[_0x4bd2f3(0x464)]||_0x5325d9,_0x486652;})['filter'](_0x1b3bb1=>_0x1b3bb1!==null);}['getMissingCRUDOperations'](){const _0x341c00=_0x3b4e85,_0x5b57d3=new Set(this[_0x341c00(0x36b)]()['map'](_0x52ade8=>String(_0x52ade8[_0x341c00(0x39e)]))),_0x3a5684=['create',_0x341c00(0x42d),'update',_0x341c00(0x422)];return _0x3a5684[_0x341c00(0x2b7)](_0x3ef3c4=>!_0x5b57d3[_0x341c00(0x3a9)](String(_0x3ef3c4)));}[_0x3b4e85(0x2a1)](_0x586937='demo-app'){const _0x45ffee=_0x3b4e85;return generateAliasExplanation(this[_0x45ffee(0x25c)],this['getTableName'](),this['getModelAlias'](),_0x586937);}};}function operationToAnalysis(_0xb34a49){const _0x2c3f70=a0_0x5456ff;return{'name':_0xb34a49['getName'](),'displayName':_0xb34a49[_0x2c3f70(0x3bd)](),'type':_0xb34a49[_0x2c3f70(0x1e5)](),'method':_0xb34a49[_0x2c3f70(0x334)](),'path':_0xb34a49[_0x2c3f70(0x1ff)](),'fullUrl':_0xb34a49['getFullUrl'](),'requestFields':_0xb34a49[_0x2c3f70(0x306)](),'requestParams':_0xb34a49[_0x2c3f70(0x32c)](),'responseSchema':_0xb34a49['getResponseSchema'](),'requestExample':_0xb34a49[_0x2c3f70(0x408)](),'responseExample':_0xb34a49[_0x2c3f70(0x2de)](),'enabled':_0xb34a49['isEnabled']()};}function operationsToAnalyses(_0xce7396){const _0x2452ab=a0_0x5456ff;if(!Array[_0x2452ab(0x248)](_0xce7396))return!![]&&console[_0x2452ab(0x47e)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0xce7396),[];return _0xce7396[_0x2452ab(0x418)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4e9db3){const _0x22403f=a0_0x5456ff,_0x4df2e8=_0x4e9db3[_0x22403f(0x283)](_0x22b2d8=>_0x22b2d8['name']===_0x22403f(0x2b7)),_0x2889ad=_0x4e9db3['filter'](_0x445ec4=>_0x445ec4[_0x22403f(0x464)]!=='filter');return _0x4df2e8?[_0x4df2e8,..._0x2889ad]:_0x2889ad;}function filterOperationAnalyses(_0x4f36d8,_0x168057={}){const _0x4c23e6=a0_0x5456ff;let _0x43a9a1=_0x4f36d8;return!_0x168057[_0x4c23e6(0x23c)]&&(_0x43a9a1=_0x43a9a1['filter'](_0x34fb91=>_0x34fb91[_0x4c23e6(0x316)])),_0x168057[_0x4c23e6(0x330)]!==![]&&(_0x43a9a1=filterApiOperations(_0x43a9a1)),_0x168057[_0x4c23e6(0x1ed)]&&(_0x43a9a1=_0x43a9a1[_0x4c23e6(0x2b7)](_0x168057['customFilter'])),sortOperationsWithFilterFirst(_0x43a9a1);}function getOperationStats(_0x1d1e9a){const _0x58e0b4=a0_0x5456ff,_0x139769=_0x1d1e9a['filter'](_0x25d2ea=>_0x25d2ea[_0x58e0b4(0x316)]);return{'total':_0x1d1e9a[_0x58e0b4(0x46b)],'enabled':_0x139769[_0x58e0b4(0x46b)],'disabled':_0x1d1e9a[_0x58e0b4(0x46b)]-_0x139769[_0x58e0b4(0x46b)],'byType':getCountByType(_0x139769),'byMethod':getCountByMethod(_0x139769)};}function getCountByType(_0x417ad4){const _0x4caddd=a0_0x5456ff,_0x22d843={};return _0x417ad4[_0x4caddd(0x3b2)](_0x3af6f3=>{const _0x131a90=_0x4caddd;if(_0x3af6f3['type'])_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]=(_0x22d843[_0x3af6f3[_0x131a90(0x39e)]]||0x0)+0x1;}),_0x22d843;}function getCountByMethod(_0x3f1140){const _0x2aeb89=a0_0x5456ff,_0x32118a={};return _0x3f1140[_0x2aeb89(0x3b2)](_0x4e8136=>{const _0x4d9de0=_0x2aeb89;_0x32118a[_0x4e8136['method']]=(_0x32118a[_0x4e8136[_0x4d9de0(0x443)]]||0x0)+0x1;}),_0x32118a;}function supportsCRUD(_0x409036){const _0x1cfbe=a0_0x5456ff,_0x217f40=new Set(_0x409036[_0x1cfbe(0x418)](_0x2e65eb=>_0x2e65eb['type'])[_0x1cfbe(0x2b7)](Boolean));return _0x217f40[_0x1cfbe(0x3a9)]('create')&&_0x217f40['has'](_0x1cfbe(0x42d))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x2ea))&&_0x217f40[_0x1cfbe(0x3a9)](_0x1cfbe(0x422));}function createOperationDocMeta(_0x537d18,_0x4a1dd5,_0x1b3ced,_0x4222f9,_0x1801b8,_0x355e61){const _0x10baa0=a0_0x5456ff,_0xbf03f8={};return _0xbf03f8[_0x10baa0(0x233)]=_0x355e61?.[_0x10baa0(0x233)],{'operation':_0x537d18,'operationInstance':_0x4a1dd5,'basicInfo':{'name':_0x537d18[_0x10baa0(0x464)],'displayName':_0x537d18['displayName'],'method':_0x537d18[_0x10baa0(0x443)],'path':_0x537d18['path'],'fullUrl':_0x537d18['fullUrl'],'enabled':_0x537d18['enabled']},'sdkCall':{'datasetCode':_0x1b3ced,'datasetSDKKey':_0x4222f9,'tableName':_0x1801b8,'operationName':_0x537d18[_0x10baa0(0x464)],'params':_0x537d18[_0x10baa0(0x3ec)],'code':_0x4a1dd5[_0x10baa0(0x367)](_0x4222f9,_0xbf03f8)},'usageExample':_0x4a1dd5[_0x10baa0(0x444)](_0x4222f9)};}function createOperationsOverviewData(_0x6281b4){const _0x4077be=a0_0x5456ff,_0x1c6766={};_0x1c6766[_0x4077be(0x2d2)]=_0x4077be(0x464),_0x1c6766[_0x4077be(0x2d1)]='接口名称';const _0x3708bf={};_0x3708bf['index']=_0x4077be(0x27f),_0x3708bf['label']=_0x4077be(0x384);const _0x16edd0={};_0x16edd0[_0x4077be(0x2d2)]=_0x4077be(0x443),_0x16edd0[_0x4077be(0x2d1)]='方法';const _0x341e48={};_0x341e48[_0x4077be(0x2d2)]='sdkCall',_0x341e48[_0x4077be(0x2d1)]=_0x4077be(0x1e8);const _0x338814={};_0x338814[_0x4077be(0x2d2)]=_0x4077be(0x403),_0x338814[_0x4077be(0x2d1)]='API路径';const _0x239330={};_0x239330[_0x4077be(0x2d2)]=_0x4077be(0x455),_0x239330['label']=_0x4077be(0x2a6);const _0x49fcfb=[_0x1c6766,_0x3708bf,_0x16edd0,_0x341e48,_0x338814,_0x239330],_0x183067=_0x6281b4[_0x4077be(0x418)](_0x37ef77=>{const _0x8f1772=_0x4077be,{basicInfo:_0x606965,sdkCall:_0x4724ff}=_0x37ef77,_0x2995b8=_0x4724ff[_0x8f1772(0x421)][_0x8f1772(0x276)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x8f1772(0x276)](/;$/,''),_0x3d8e24={};return _0x3d8e24[_0x8f1772(0x27f)]=_0x606965[_0x8f1772(0x27f)],_0x3d8e24[_0x8f1772(0x464)]=_0x606965['name'],_0x3d8e24[_0x8f1772(0x443)]=_0x606965[_0x8f1772(0x443)],_0x3d8e24[_0x8f1772(0x403)]=_0x606965[_0x8f1772(0x403)],_0x3d8e24[_0x8f1772(0x2f8)]=_0x2995b8,_0x3d8e24['sdkCallCode']=_0x4724ff[_0x8f1772(0x421)],_0x3d8e24;}),_0x126846={};return _0x126846[_0x4077be(0x47a)]=_0x49fcfb,_0x126846[_0x4077be(0x218)]=_0x183067,_0x126846;}function createDatasetDocMeta(_0x3ee037,_0x533b5d,_0x999ebb,_0x385b2f,_0x21e4ce,_0x505e58,_0x324346,_0x792eed,_0x12125c){const _0x17ec04=a0_0x5456ff,_0x43e44a={};return _0x43e44a[_0x17ec04(0x2be)]=_0x3ee037+_0x17ec04(0x34d),_0x43e44a[_0x17ec04(0x2f5)]={},_0x43e44a['operations']=_0x12125c,_0x43e44a[_0x17ec04(0x2f5)]['name']=_0x3ee037,_0x43e44a[_0x17ec04(0x2f5)]['code']=_0x533b5d,_0x43e44a[_0x17ec04(0x2f5)]['tableName']=_0x999ebb,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x388)]=_0x385b2f,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3ba)]=_0x21e4ce,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x3c0)]=_0x505e58,_0x43e44a[_0x17ec04(0x2f5)]['fieldCount']=_0x324346,_0x43e44a[_0x17ec04(0x2f5)]['businessFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)]['systemFieldCount']=0x0,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x29b)]=_0x792eed,_0x43e44a[_0x17ec04(0x2f5)][_0x17ec04(0x44a)]=_0x12125c[_0x17ec04(0x46b)],_0x43e44a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x5456ff(0x459)](){const _0x4a245a=a0_0x5456ff;return this[_0x4a245a(0x30c)]();}[a0_0x5456ff(0x2e0)](_0x5b424a=![]){const _0x4e7911=a0_0x5456ff;if(!_0x5b424a&&this['_operationAnalyses'])return this[_0x4e7911(0x2b6)];const _0x49588e=this[_0x4e7911(0x2a2)]();return this[_0x4e7911(0x2b6)]=operationsToAnalyses(_0x49588e),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x596378={};return _0x596378['includeDisabled']=![],_0x596378['filterBlacklist']=!![],this['getFilteredOperationAnalyses'](_0x596378);}['getFilteredOperationAnalyses'](_0x503bcb={}){const _0x25c1c4=a0_0x5456ff;return filterOperationAnalyses(this[_0x25c1c4(0x2e0)](),_0x503bcb);}[a0_0x5456ff(0x300)](_0x2633e7){const _0x42060e=a0_0x5456ff;return this[_0x42060e(0x2e0)]()[_0x42060e(0x283)](_0x116588=>_0x116588[_0x42060e(0x464)]===_0x2633e7);}[a0_0x5456ff(0x3f0)](_0x5c5e87){const _0x224020=a0_0x5456ff;return this[_0x224020(0x2e0)]()[_0x224020(0x2b7)](_0x3b424c=>_0x3b424c[_0x224020(0x39e)]===_0x5c5e87);}[a0_0x5456ff(0x406)](_0x34f69b,_0x41ac9c){const _0x1b9964=a0_0x5456ff,_0x3a4781=this[_0x1b9964(0x300)](_0x34f69b);if(!_0x3a4781)return null;const _0x47836b=this[_0x1b9964(0x2a2)]()[_0x1b9964(0x283)](_0x30a807=>_0x30a807[_0x1b9964(0x432)]()===_0x3a4781[_0x1b9964(0x464)]);if(!_0x47836b)throw new Error('Operation\x20not\x20found:\x20'+_0x3a4781[_0x1b9964(0x464)]);return createOperationDocMeta(_0x3a4781,_0x47836b,this['datasetCode'],this[_0x1b9964(0x35b)](),this[_0x1b9964(0x36a)](),_0x41ac9c);}[a0_0x5456ff(0x3e7)](_0x34afc6={}){const _0x4b788e=a0_0x5456ff,_0x377055=this[_0x4b788e(0x377)](_0x34afc6),_0x5859a4=_0x377055[_0x4b788e(0x418)](_0x1f072b=>this[_0x4b788e(0x406)](_0x1f072b[_0x4b788e(0x464)]))[_0x4b788e(0x2b7)](_0x5cee43=>_0x5cee43!==null);return createDatasetDocMeta(this[_0x4b788e(0x464)],this[_0x4b788e(0x25c)],this[_0x4b788e(0x36a)](),this[_0x4b788e(0x35b)](),this[_0x4b788e(0x30c)](),this[_0x4b788e(0x3c0)],this[_0x4b788e(0x354)](),this[_0x4b788e(0x245)](),_0x5859a4);}[a0_0x5456ff(0x231)](_0x595ab0){return createOperationsOverviewData(_0x595ab0);}[a0_0x5456ff(0x314)](){const _0x5b9c29=a0_0x5456ff;return supportsCRUD(this[_0x5b9c29(0x36b)]());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}['toString'](){const _0x2c7a95=a0_0x5456ff,_0x5ba60a=this[_0x2c7a95(0x31c)]();return _0x2c7a95(0x3d6)+this[_0x2c7a95(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c7a95(0x354)]()+'\x20fields,\x20'+_0x5ba60a[_0x2c7a95(0x316)]+'/'+_0x5ba60a[_0x2c7a95(0x20a)]+_0x2c7a95(0x480);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x5456ff(0x2b6)];[a0_0x5456ff(0x307)](){return'v2';}[a0_0x5456ff(0x459)](){const _0x4d624f=a0_0x5456ff;return this[_0x4d624f(0x30c)]();}['getOperationAnalyses'](_0x51c987=![]){const _0x5087d3=a0_0x5456ff;if(!_0x51c987&&this[_0x5087d3(0x2b6)])return this['_operationAnalyses'];const _0x51bc51=this[_0x5087d3(0x2a2)]();return this[_0x5087d3(0x2b6)]=operationsToAnalyses(_0x51bc51),this[_0x5087d3(0x2b6)];}[a0_0x5456ff(0x36b)](){const _0x126604=a0_0x5456ff,_0xfb95af={};return _0xfb95af['includeDisabled']=![],_0xfb95af[_0x126604(0x330)]=!![],this[_0x126604(0x377)](_0xfb95af);}[a0_0x5456ff(0x377)](_0x5de855={}){const _0x14c88a=a0_0x5456ff;return filterOperationAnalyses(this[_0x14c88a(0x2e0)](),_0x5de855);}[a0_0x5456ff(0x300)](_0x5259e8){const _0x4551f9=a0_0x5456ff;return this[_0x4551f9(0x2e0)]()[_0x4551f9(0x283)](_0x5c3b61=>_0x5c3b61[_0x4551f9(0x464)]===_0x5259e8);}[a0_0x5456ff(0x3f0)](_0x34b35b){const _0x363eb2=a0_0x5456ff;return this[_0x363eb2(0x2e0)]()[_0x363eb2(0x2b7)](_0x24fab2=>_0x24fab2[_0x363eb2(0x39e)]===_0x34b35b);}['getOperationDocMeta'](_0x25a948,_0x32a445){const _0x4e70ce=a0_0x5456ff,_0x480a4f=this[_0x4e70ce(0x300)](_0x25a948);if(!_0x480a4f)return null;const _0x3de5de=this['getOperations']()[_0x4e70ce(0x283)](_0x3967b4=>_0x3967b4[_0x4e70ce(0x432)]()===_0x480a4f[_0x4e70ce(0x464)]);if(!_0x3de5de)throw new Error(_0x4e70ce(0x3a5)+_0x480a4f[_0x4e70ce(0x464)]);return createOperationDocMeta(_0x480a4f,_0x3de5de,this['datasetCode'],this['getDatasetSDKKey'](),this[_0x4e70ce(0x36a)](),_0x32a445);}['getDatasetDocMeta'](_0x312850={}){const _0x3cf9be=a0_0x5456ff,_0x4ec1f3=this[_0x3cf9be(0x377)](_0x312850),_0x6b551d=_0x4ec1f3[_0x3cf9be(0x418)](_0x468233=>this[_0x3cf9be(0x406)](_0x468233['name']))['filter'](_0x439a07=>_0x439a07!==null);return createDatasetDocMeta(this['name'],this[_0x3cf9be(0x25c)],this[_0x3cf9be(0x36a)](),this[_0x3cf9be(0x35b)](),this['getTableKey'](),this[_0x3cf9be(0x3c0)],this[_0x3cf9be(0x354)](),this[_0x3cf9be(0x245)](),_0x6b551d);}[a0_0x5456ff(0x231)](_0x5cad8e){return createOperationsOverviewData(_0x5cad8e);}[a0_0x5456ff(0x314)](){const _0x47cd02=a0_0x5456ff;return supportsCRUD(this[_0x47cd02(0x36b)]());}['getOperationStats'](){const _0x50e89c=a0_0x5456ff;return getOperationStats(this[_0x50e89c(0x2e0)]());}[a0_0x5456ff(0x210)](){const _0x2f8be5=a0_0x5456ff,_0xe82fee=this[_0x2f8be5(0x31c)]();return'DrivenDataDetailPlusV2('+this[_0x2f8be5(0x464)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2f8be5(0x354)]()+_0x2f8be5(0x404)+_0xe82fee[_0x2f8be5(0x316)]+'/'+_0xe82fee['total']+'\x20operations,\x20v2)';}}function a0_0x2d67(_0x548578,_0x1b278d){_0x548578=_0x548578-0x1cf;const _0xbb4d91=a0_0xbb4d();let _0x2d6732=_0xbb4d91[_0x548578];return _0x2d6732;}function detectDatasetVersion3(_0x595e19){const _0x5b6ad5=a0_0x5456ff;if(_0x595e19['doVersion']==='v2'&&_0x5b6ad5(0x341)in _0x595e19&&Array[_0x5b6ad5(0x248)](_0x595e19[_0x5b6ad5(0x341)]))return'v2';return'v1';}class DrivenDataDetailPlus{['_instance'];constructor(_0x129630){const _0x595bbd=a0_0x5456ff,_0x37e500=detectDatasetVersion3(_0x129630);return this[_0x595bbd(0x3aa)]=_0x37e500==='v2'?new DrivenDataDetailPlusV2(_0x129630):new DrivenDataDetailPlusV1(_0x129630),new Proxy(this,{'get'(_0x2125e9,_0x50bc29){const _0x1e4110=_0x595bbd;if(_0x50bc29 in _0x2125e9){const _0x413ac1=_0x2125e9[_0x50bc29];return typeof _0x413ac1==='function'?_0x413ac1[_0x1e4110(0x336)](_0x2125e9):_0x413ac1;}if(_0x50bc29 in _0x2125e9['_instance']){const _0x5b788f=_0x2125e9[_0x1e4110(0x3aa)][_0x50bc29];return typeof _0x5b788f===_0x1e4110(0x40e)?_0x5b788f[_0x1e4110(0x336)](_0x2125e9['_instance']):_0x5b788f;}return;},'set'(_0x26afa7,_0x119f6a,_0x198dc6){return _0x26afa7[_0x119f6a]=_0x198dc6,!![];},'getPrototypeOf'(_0x4041ce){const _0x5419cf=_0x595bbd;return DrivenDataDetailPlus[_0x5419cf(0x2a8)];}});}get[a0_0x5456ff(0x464)](){const _0x28bafc=a0_0x5456ff;return this[_0x28bafc(0x3aa)][_0x28bafc(0x464)];}get['id'](){const _0x182728=a0_0x5456ff;return this[_0x182728(0x3aa)]['id'];}get[a0_0x5456ff(0x25c)](){const _0x281ee8=a0_0x5456ff;return this[_0x281ee8(0x3aa)]['datasetCode'];}get['source'](){const _0x2d3385=a0_0x5456ff;return this[_0x2d3385(0x3aa)][_0x2d3385(0x3c0)];}get[a0_0x5456ff(0x3a2)](){const _0x609712=a0_0x5456ff;return this[_0x609712(0x3aa)][_0x609712(0x3d7)]();}[a0_0x5456ff(0x307)](){const _0x577f02=a0_0x5456ff,_0xeee5b9=this[_0x577f02(0x3aa)][_0x577f02(0x307)]();return _0xeee5b9==='v2'?'v2':'v1';}[a0_0x5456ff(0x354)](){const _0x33b71=a0_0x5456ff;return this[_0x33b71(0x3aa)]['getFieldCount']();}[a0_0x5456ff(0x245)](){const _0x2e530e=a0_0x5456ff;return this['_instance'][_0x2e530e(0x245)]();}[a0_0x5456ff(0x2fe)](){const _0x4efced=a0_0x5456ff;return this[_0x4efced(0x3aa)]['getFields']();}[a0_0x5456ff(0x2a2)](){const _0x2c7f2d=a0_0x5456ff;return this[_0x2c7f2d(0x3aa)][_0x2c7f2d(0x2a2)]();}[a0_0x5456ff(0x31f)](_0x5e5eac){const _0x56f940=a0_0x5456ff;return this[_0x56f940(0x3aa)]['getFilteredOperations'](_0x5e5eac);}[a0_0x5456ff(0x2db)](_0x2e28c9){const _0x3f4f9d=a0_0x5456ff;return this[_0x3f4f9d(0x3aa)][_0x3f4f9d(0x2db)](_0x2e28c9);}['getTableName'](){const _0xbb9239=a0_0x5456ff;return this['_instance'][_0xbb9239(0x36a)]();}[a0_0x5456ff(0x30c)](){const _0x5ad3d3=a0_0x5456ff;return this[_0x5ad3d3(0x3aa)][_0x5ad3d3(0x30c)]();}[a0_0x5456ff(0x35b)](){const _0x532854=a0_0x5456ff;return this['_instance'][_0x532854(0x35b)]();}[a0_0x5456ff(0x387)](){const _0x593e90=a0_0x5456ff;return this[_0x593e90(0x3aa)][_0x593e90(0x387)]();}['getEnumFields'](){const _0x2a1495=a0_0x5456ff;return this['_instance'][_0x2a1495(0x45f)]();}['getEnumFieldsMeta'](){const _0xc40b2f=a0_0x5456ff;return this[_0xc40b2f(0x3aa)][_0xc40b2f(0x33e)]();}['isMultipleSelectField'](_0x2fa6c2){const _0x43862e=a0_0x5456ff;return this[_0x43862e(0x3aa)][_0x43862e(0x27a)](_0x2fa6c2);}[a0_0x5456ff(0x440)](_0x32c6af){const _0x5d09f1=a0_0x5456ff;return this[_0x5d09f1(0x3aa)][_0x5d09f1(0x440)](_0x32c6af);}[a0_0x5456ff(0x453)](_0x10dbb3){const _0x2cfbf8=a0_0x5456ff;return this['_instance'][_0x2cfbf8(0x453)](_0x10dbb3);}[a0_0x5456ff(0x216)](_0x208829){const _0x4473b4=a0_0x5456ff;return this[_0x4473b4(0x3aa)][_0x4473b4(0x216)](_0x208829);}[a0_0x5456ff(0x21f)](_0x4107c6){const _0xddfe40=a0_0x5456ff;return this[_0xddfe40(0x3aa)][_0xddfe40(0x21f)](_0x4107c6);}['validateEnumValue'](_0x2fd327,_0x2b3369){const _0x2d1ed5=a0_0x5456ff;return this['_instance'][_0x2d1ed5(0x310)](_0x2fd327,_0x2b3369);}[a0_0x5456ff(0x22d)](_0x4cb89f){const _0x181c7f=a0_0x5456ff;return this[_0x181c7f(0x3aa)][_0x181c7f(0x22d)](_0x4cb89f);}[a0_0x5456ff(0x21e)](){const _0x42f5d4=a0_0x5456ff;return this[_0x42f5d4(0x3aa)][_0x42f5d4(0x21e)]();}[a0_0x5456ff(0x2d9)](){const _0x5e029f=a0_0x5456ff;return this[_0x5e029f(0x3aa)][_0x5e029f(0x2d9)]();}[a0_0x5456ff(0x1f1)](){const _0x4a35e6=a0_0x5456ff;return this[_0x4a35e6(0x3aa)][_0x4a35e6(0x1f1)]();}['hasOperation'](_0x366c6b){const _0x5beb01=a0_0x5456ff;return this[_0x5beb01(0x3aa)]['hasOperation'](_0x366c6b);}['getDBConfig'](){const _0x42e16c=a0_0x5456ff;return this[_0x42e16c(0x3aa)][_0x42e16c(0x3d7)]();}[a0_0x5456ff(0x1d6)](){const _0x28753c=a0_0x5456ff;return this['_instance'][_0x28753c(0x1d6)]();}[a0_0x5456ff(0x3ee)](){return this['_instance']['getSource']();}[a0_0x5456ff(0x2e0)](_0x379b7a){const _0x297f17=a0_0x5456ff;return this[_0x297f17(0x3aa)][_0x297f17(0x2e0)](_0x379b7a);}[a0_0x5456ff(0x36b)](){const _0x2bb86e=a0_0x5456ff;return this[_0x2bb86e(0x3aa)][_0x2bb86e(0x36b)]();}[a0_0x5456ff(0x377)](_0xc1adf6){return this['_instance']['getFilteredOperationAnalyses'](_0xc1adf6);}['getOperationAnalysis'](_0x384d56){const _0x111e2e=a0_0x5456ff;return this[_0x111e2e(0x3aa)]['getOperationAnalysis'](_0x384d56);}[a0_0x5456ff(0x3f0)](_0x3dc974){const _0x59a34b=a0_0x5456ff;return this[_0x59a34b(0x3aa)][_0x59a34b(0x3f0)](_0x3dc974);}[a0_0x5456ff(0x406)](_0x39761e,_0x1f9a5a){const _0x46e690=a0_0x5456ff;return this[_0x46e690(0x3aa)][_0x46e690(0x406)](_0x39761e,_0x1f9a5a);}['getDatasetDocMeta'](_0x3e4885){const _0x161e4c=a0_0x5456ff;return this[_0x161e4c(0x3aa)][_0x161e4c(0x3e7)](_0x3e4885);}[a0_0x5456ff(0x231)](_0x935d8c){const _0x579870=a0_0x5456ff;return this[_0x579870(0x3aa)][_0x579870(0x231)](_0x935d8c);}[a0_0x5456ff(0x459)](){const _0x38b0d0=a0_0x5456ff;return this[_0x38b0d0(0x3aa)]['getModelAlias']();}[a0_0x5456ff(0x314)](){const _0x4d1c9c=a0_0x5456ff;return this[_0x4d1c9c(0x3aa)][_0x4d1c9c(0x314)]();}['getOperationStats'](){return this['_instance']['getOperationStats']();}[a0_0x5456ff(0x210)](){const _0x44c1b0=a0_0x5456ff;return this[_0x44c1b0(0x3aa)]['toString']();}[a0_0x5456ff(0x230)](_0x11076f){const _0x4ec641=a0_0x5456ff;return this[_0x4ec641(0x3aa)]['getOperation'](_0x11076f);}[a0_0x5456ff(0x1fa)](_0x56bb3f){const _0x368064=a0_0x5456ff;return this[_0x368064(0x3aa)][_0x368064(0x1fa)](_0x56bb3f);}['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042){const _0x4aee35=a0_0x5456ff;return this[_0x4aee35(0x3aa)]['generateSDKInitCode'](_0x2a52,_0x20cc82,_0x191042);}['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb){return this['_instance']['generateFullSDKExample'](_0x337b4e,_0x488497,_0xda5feb);}[a0_0x5456ff(0x1d4)](_0x187566){const _0x3bb958=a0_0x5456ff;return this[_0x3bb958(0x3aa)][_0x3bb958(0x1d4)](_0x187566);}[a0_0x5456ff(0x1dc)](_0x155cd9){const _0x230d24=a0_0x5456ff;return this['_instance'][_0x230d24(0x1dc)](_0x155cd9);}[a0_0x5456ff(0x2ff)](_0x35d576){const _0x4e9f23=a0_0x5456ff;return this[_0x4e9f23(0x3aa)][_0x4e9f23(0x2ff)](_0x35d576);}[a0_0x5456ff(0x1dd)](_0x21728e){const _0x580ff3=a0_0x5456ff;return this['_instance'][_0x580ff3(0x1dd)](_0x21728e);}[a0_0x5456ff(0x36c)](){const _0xedc4f1=a0_0x5456ff;return this[_0xedc4f1(0x3aa)]['getMissingCRUDOperations']();}[a0_0x5456ff(0x2a1)](){const _0x39e2b8=a0_0x5456ff;return this[_0x39e2b8(0x3aa)][_0x39e2b8(0x2a1)]();}[a0_0x5456ff(0x277)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x333a64,_0x5afd61={}){const _0x1d681d=a0_0x5456ff;if(_0x5afd61[_0x1d681d(0x3fc)]==='v1')return new DrivenDataDetailPlusV1(_0x333a64);if(_0x5afd61[_0x1d681d(0x3fc)]==='v2')return new DrivenDataDetailPlusV2(_0x333a64);if(_0x333a64['doVersion']==='v2'||_0x1d681d(0x22b)in _0x333a64)return new DrivenDataDetailPlusV2(_0x333a64);return new DrivenDataDetailPlusV1(_0x333a64);}function isPlusV2Instance(_0x1755c7){return _0x1755c7['getVersion']()==='v2';}function isPlusV1Instance(_0x5b8266){const _0x765257=a0_0x5456ff;return _0x5b8266[_0x765257(0x307)]()==='v1';}var VERSION='1.0.0-beta.8';export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x4986fd=a0_0x5c95;(function(_0x2ce3f5,_0x2fd46f){const _0x3aea2c=a0_0x5c95,_0x574cf6=_0x2ce3f5();while(!![]){try{const _0x1057fa=parseInt(_0x3aea2c(0x295))/0x1+parseInt(_0x3aea2c(0x2c5))/0x2+-parseInt(_0x3aea2c(0x363))/0x3*(-parseInt(_0x3aea2c(0x2c4))/0x4)+-parseInt(_0x3aea2c(0x379))/0x5*(parseInt(_0x3aea2c(0x308))/0x6)+parseInt(_0x3aea2c(0x20b))/0x7*(parseInt(_0x3aea2c(0x244))/0x8)+-parseInt(_0x3aea2c(0x307))/0x9+-parseInt(_0x3aea2c(0x277))/0xa*(-parseInt(_0x3aea2c(0x1f8))/0xb);if(_0x1057fa===_0x2fd46f)break;else _0x574cf6['push'](_0x574cf6['shift']());}catch(_0xc4b10a){_0x574cf6['push'](_0x574cf6['shift']());}}}(a0_0x57bd,0xcea65));function toCamelCase(_0x298944){const _0x2a25a9=a0_0x5c95;if(!_0x298944)return'';return _0x298944[_0x2a25a9(0x398)](/[_-]/)[_0x2a25a9(0x30d)]((_0x1feca1,_0x4d121b)=>{const _0x12c698=_0x2a25a9;if(_0x4d121b===0x0)return _0x1feca1[_0x12c698(0x258)]();return _0x1feca1[_0x12c698(0x272)](0x0)['toUpperCase']()+_0x1feca1['slice'](0x1)[_0x12c698(0x258)]();})[_0x2a25a9(0x348)]('');}function toPascalCase(_0x45445d){const _0x3f7a8e=a0_0x5c95;if(!_0x45445d)return'';const _0x34d1c3=toCamelCase(_0x45445d);return _0x34d1c3['charAt'](0x0)[_0x3f7a8e(0x39b)]()+_0x34d1c3[_0x3f7a8e(0x14d)](0x1);}function toSnakeCase(_0x58057c){const _0x34ef63=a0_0x5c95;if(!_0x58057c)return'';return _0x58057c[_0x34ef63(0x15c)](/([A-Z])/g,'_$1')[_0x34ef63(0x258)]()[_0x34ef63(0x15c)](/^_/,'');}function toKebabCase(_0x15db88){const _0x12bb8b=a0_0x5c95;if(!_0x15db88)return'';return _0x15db88['replace'](/([A-Z])/g,_0x12bb8b(0x3b1))[_0x12bb8b(0x258)]()['replace'](/^-/,'');}function normalizeFieldName(_0x4256f2){const _0x4c09ba=a0_0x5c95;if(!_0x4256f2)return'';return _0x4256f2['trim']()[_0x4c09ba(0x15c)](/\s+/g,'_')[_0x4c09ba(0x15c)](/[^a-zA-Z0-9_]/g,'_')[_0x4c09ba(0x15c)](/_+/g,'_')[_0x4c09ba(0x15c)](/^_|_$/g,'');}function getTableName(_0x2fce8b){const _0x50a966=a0_0x5c95;if(!_0x2fce8b)return'dataset_000000';if(_0x2fce8b[_0x50a966(0x128)]?.['tableName'])return _0x2fce8b[_0x50a966(0x128)][_0x50a966(0x1ca)];const _0x30ae98=_0x2fce8b[_0x50a966(0x2e2)]||_0x2fce8b[_0x50a966(0x3b7)]||_0x2fce8b[_0x50a966(0x395)];if(_0x30ae98)return generateTableNameFromCode(_0x30ae98);return'dataset_000000';}function getTableKey(_0x33b480){if(typeof _0x33b480==='string')return toCamelCase(_0x33b480);const _0x3bf0fd=getTableName(_0x33b480);return toCamelCase(_0x3bf0fd);}function generateTableNameFromCode(_0xf84bd0){const _0x29467a=a0_0x5c95;if(!_0xf84bd0)return'dataset_000000';const _0x38fe53=_0xf84bd0[_0x29467a(0x14d)](-0x6)[_0x29467a(0x153)](0x6,'0');return _0x29467a(0x10c)+_0x38fe53;}function isVirtualTableName(_0xc42abe){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0xc42abe);}function a0_0x57bd(){const _0x2a2081=['getFilteredOperations','1.0.0-beta.8','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','_avg','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','enableDeduplication','toArray','getDisplayName','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','useArrayValues','getConflictingItems','152gtsZWS','raw','parseFieldExtend','创建导出','datasetId','hasCreatorIdField','每页条数','$endWith','选项编码(可选)','_max','toFieldDefinition','getActive','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','getFilterOperators','getType','isDeleted','getApplicableOperators','exampleWhere','GET_ONE_UPDATE','ARRAY','toLowerCase','getFiltered','getFieldNames','Number','2024-01-01','getItems','fieldCode','getRequestParamsDocInfo','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','[FieldV2]\x20Invalid\x20field\x20definition','datasetMap','iterator','聚合函数配置数组','长文本','findAll','主键ID(必填)','createTime','getRelations','$contain','getFieldFilterOperators','getLatestDatasets','fields','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','createAll','delete','valueLabels','charAt','index','getFieldDataSource','groupBy','filter','972350JWMumi','13800138000','push','has','filterBlacklist','\x20API\x20文档','IMAGE','warn','currentPage','_operations','getRequestFields','isEnabled','_raw','labelField','sdkCallCode','generateHTTPRequestExample','hasConflicts','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','Excel导出','toString','getUpdatableFields','hasDbtableConfig','DELETE','alias','这是一段较长的文本内容示例','getOperationStats','字段名称','OperationList(','getFilteredOperationAnalyses','getVersion','380868vhAPqi','some','getFieldListWithDeleted','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','CREATE_EXPORT','GET','_autoGenerated','getModelAlias','/filter','getCountByMethod','要更新的字段数据对象','toField','getCodes','array','parse','items','getEnumOptions','GET_ONE','_datasetMap','TIME','dbName','<!--\x5cs*CONDITION:\x5cs*','_fieldList','findById','toISOString','generateAllOperationsSummary','all','getDatasetSDKKey','requestFieldCount','getOperationAnalysesByType','isSystem','find','round','getIds','getTableKey','datasetName','getFieldsWithDeleted','创建导入','getOperationFieldsOperatorsMap','isPrimaryKeyField','getEnumFieldsMeta','查询单条','getFieldRaw','getByType','hasUpdateTimeField','-\x20主键ID,用于定位要更新的记录\x0a\x0a','getOperationsData','8ivIMsK','1030792TAaMju','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getBusinessFields','getGroupedParams','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','query','\x5c}\x5c}','-\x20其他要更新的字段直接平铺在同一层级','FieldV2(','返回字段列表(字段投影)','isAutoIncrement','获取上传脚本','查询单个条件','add','https://example.com/image.jpg','values','getConflicts','total_count','set','getCount','DrivenDataDetailPlusV2(','hasResponseSchema','TASK_INFO','SDK\x20调用','toDatasetId',',\x20doType=','\x20groups,\x20','(id,\x20','UPLOAD','datasetCode','keyword','yourModel','errorCode','hasField','getResponseParamsDocInfo','getLatest','VARCHAR','_fieldListV1','isMultipleSelectField','getDatasetDocMeta','TINYINT','//\x20','示例值','N/A','modifierIdField','示例文本','update\x20接口接受两个参数:\x0a\x0a','source','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','isPrimaryKey','主键,用于定位要更新的记录','required','LONGBLOB','createImport','BIT','method','getFieldDefinition','字段编码','properties','_requestExampleCache','getTooltip','getEnumFields','getFieldList','INTEGER','includeRequestExample','getCountByType','1194192zHPvKY','4362gFXkeF','getHTTPFields','Filter\x20API\x20-\x20高级查询接口','field_name','appCode','map','name','BOOLEAN','//\x20Call\x20the\x20','ensureFilterOperation','has\x20conflicts','getInternalInstance','msg','GET_SELECT_OPTIONS','getFieldDisplayName','version','isEmpty','CHAR','forEach','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','Field(','当前页码(从\x201\x20开始,默认:\x201)','value','totalGroups','CHECKBOX','getDisabledOperationInstances','DatasetGroupMap(','`:\x20','children','导入模板','getOperationsOverviewData','sdkCall','hasDblinkInfo','getPath','getEnumValues','address','支持单值或数组','DATE','\x20operations,\x20v2)','toConfig','condition','getOneUpdate','操作名称','supportsCRUD','DOUBLE','_fieldListV1WithDeleted','normalizeDbType','isUpdateTime','length','DatasetList(','_operationList','DrivenDataDetailV2(','200','$eq','getAutoIncrement','prefix','getCreateTime','getAllFieldsString','分组字段列表','getVirtualTables','getOne','getPrimaryKeyFields','hasLogicField','generateDefaultFilterOperation','join','dbId','HTTP\x20直接调用时使用平铺格式:\x0a','taskInfo','isCreateTime','params','getFullUrl','operationCount','generateSDKInitCode','isMultipleSelect','desc','entries','fieldName','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','trim','Integer','host','isOperationEnabled','\x20operation','groups','_operationAnalyses','responseBody','generateOperationSummary','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','dbVersion','String[]','getEnabledOperations','66273MXIPDx','mapDbTypeToType','doType','generateConfigArray','LONGTEXT','getRealTables','(支持单值或数组)','generateFromSchema','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getMissingCRUDOperations','const\x20fileUrl\x20=\x20await\x20client.models.','\x20operations,\x20','findByCode','selectItemsSource',',\x20fields:\x20','hasCreateTimeField','getAllDatasets','generateRequestExample','(id);','getRelatedDataset','detectConflicts','hasOperation','9015txkFfl','2024-12-31','avg','orderBy','deleted','Object','getRequired','const\x20result\x20=\x20await\x20client.models.','excelExport','$ne','getFieldV2','BLOB','-\x20`','请求示例','multiple','string','getOldest','create','getEnumMeta','BIGINT','size','distinct','({\x20','createTimeField','SWITCH','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getFieldsByType','usageExample','modelCode','$and','tableColumns','split','success','FLOAT','toUpperCase','now','({\x20/*\x20可选:筛选条件\x20*/\x20});','null',',\x20...\x20});','dblinkInfoDTO','groupByType','getSDKInitData','updateTime','[FieldV1.extend]\x20解析字段\x20','getFilterOperation','online','datasetInfo','getDbName','\x20fields)','操作成功','STRING','DATETIME','EXCEL_EXPORT','getOperationDocMeta','isNumericField','generateRequestAllExamples','-$1','getEnum','selectBestOperator','generateExampleValue','data','customFilter','code','[parseFieldExtend]\x20Invalid\x20field:','initDataset','datasetKey','getFieldName','单值查询','SELECT','(实际字段:','\x20indexes)','$lte','({\x20currentPage,\x20pageSize\x20});','getPrimaryKeys','min','createExport','$gteq','value2','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getDatasetMeta','fieldCount','max','HTTP\x20请求示例(平铺格式)','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','aggregate','tenantCode','dataset_','every','groupByTableName','getUpdateTime','TIMESTAMP','createFields','getAppCode','requestFields','no\x20conflicts','isRequired','getFieldOptions','getEnabled','getEnabledOperationInstances','getRawDbtableConfig','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','toDatasetCode','getIndexes','排序规则(与\x20Filter\x20API\x20一致)','env','getOperationAnalysis','当前页码','[generateRequestExample]\x20Invalid\x20field:','stringify','demo-app','getOneOrigin','$in','isFieldPrimaryKey','parseRawRequestBody','dbtableConfig','dataset_unknown','context','getMethod','获取文件URL','getRequestParams','getDOType','displayName','getDisabledNames','\x20items,\x20','**可更新的字段列表:**','forceVersion','hasConflict','status','Array','generateSDKCallCode','creatorNameField','TEXT','placeholder','getExtendField','getDefaultValue','_fields','getTableName','DatasetGroup(','获取下拉选项','_fieldListV2','extend','getResponseSchema','分组后的过滤条件(对聚合结果进行过滤)','CREATE_IMPORT','getSelectItemsSource','toDatasetName','tableData','getAllFieldsArray','findByTableName','parseRawResponseBody','getOperations','slice','获取数据集列表失败:\x20','getSource','JSON','getStats','isSystemField','padStart','\x22,数据集:\x20','$startWith','_datasetMeta','getOperationAnalyses','getOperationList','options','SDK\x20调用时传递两个参数:\x0a','operations','replace','文件上传','getOperationCount','generateFullSDKExample','[Field]\x20Invalid\x20field\x20definition','get','查询列表','$gte','北京市朝阳区','getSystemFields','(id,\x20data);','columnName','creatorIdField','label','item1','select','RADIO','Object[]','conflictGroupCount','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','toJSON','getUpdateFields','getFieldCount','systemRetain','查询单条(原始)','getFieldInstance','();','importTemplate','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','getFieldsFilterOperatorsMap','日期时间','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','indexes','operation','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','getEnabledNames','datasetSDKKey','doVersion','modifyDate','每页数量','sortOperationsWithFilterFirst','type','substring','systemFieldCount','getEnabledOperationAnalyses','getRequiredFields','modelId','toObject','column','getRelationsByField','isArray','hasFilterOperation','FieldV1(','getAt','getOperationOperators','generateConfig','getDbTypeForOperation','generateAllOperationsFullSDKExample','toConfigArray','解析\x20responseBody\x20失败:','_relations','DECIMAL','FieldList(','conflictItemCount','getSystem','description','fromApiResponse','lastIndexOf','pkField','hasTableName','\x20operations,\x20v1)','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','includeDisabled','useFullExample','getAll','数组查询(支持多选)','isRequiredField',',\x20currentPage,\x20pageSize,\x20...\x20});','getHTTPRequestParamsDocInfo','enabled','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getLast','getFields','getField','keys','INT','String','getFieldListV2','autoIncrement','_instance','getBusiness','relations','每页数量(可选)','getDisabledOperations','isBusiness','pageSize','toListItem','_fieldListWithDeleted','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','POST','({\x20code,\x20label\x20});','0000','getNames','repeat','update','RICH_TEXT','generateAliasExplanation','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','successCode','tableName','withDeleted','SDK\x20调用示例(两参数格式)','enumValues','getEnumFieldMeta','getEnumMetas','getDisabled','sortNum','generateResponseExample','sort','BOOL','UPDATE','requestBody','getOperationFieldOperators','email','isVirtualTable','value1','errorMsg','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','getName','_extend','from','Operation\x20not\x20found:\x20','primaryKey','bind','//\x20Usage\x20examples','GET_LIST','getDBConfig','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','where','[FieldList]\x20Field\x20definitions\x20must\x20be\x20an\x20array','dataIndex','当前页码(可选)','generateSingleValueExample','tooltip','聚合函数配置数组(type:\x20sum/count/avg/max/min)','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','-\x20主键使用\x20`id`\x20字段\x0a','generateHTTPExample','path','suffix','fromField','DrivenDataDetail(','precision','tableKey','isEnum','143AUqWhj','NUMBER','getOperation','getFieldSelectItemsSource','allFields','getCode','getOperationRequestFields','default','having','\x20operations)','count','random','每页数量(默认:\x2020)','GET_ONE_ORIGIN','modifierNameField','TEXTAREA','getList','logicField','dbTypeLen','31465wjnbrG','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','createDate','getDeleted','findByName','updateTimeField','includeDeleted','Invalid\x20API\x20response:\x20success\x20is\x20false','getOperators','getAggregates','SMALLINT','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','\x20relations,\x20','dataset','解析\x20requestBody\x20失败:','<p>富文本内容</p>','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','generateFieldExample','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getForeignKeyFields','\x20fields,\x20','DESC','$lteq','\x20的\x20extend\x20配置失败:','$or','getSelectOptions','hasModifierIdField','\x20items,\x20conflict,\x20latest:\x20','dbType','includes','boolean','getFieldCode','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','排序规则','getFieldsV2','title','number','getRaw','getFieldOperators','empty','_sum','接口名称','generateUsageExample','object','getUploadFileScript','total'];a0_0x57bd=function(){return _0x2a2081;};return a0_0x57bd();}function generateModelKeyFromCode(_0x4e37af){const _0x458b1a=a0_0x5c95;if(!_0x4e37af)return _0x458b1a(0x129);return _0x458b1a(0x10c)+_0x4e37af;}function getDbName(_0x265e26){const _0x3ca35d=a0_0x5c95;return _0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x2a9)]||_0x265e26[_0x3ca35d(0x128)]?.[_0x3ca35d(0x3a0)]?.[_0x3ca35d(0x2a9)]||'';}function generateDatasetsConfig(_0x49ff89,_0x5277b3={}){const _0x409097=a0_0x5c95,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x3f516c,filter:_0x17d0b4}=_0x5277b3,_0x4b85e2=_0x17d0b4?_0x49ff89[_0x409097(0x276)](_0x17d0b4):_0x49ff89,_0x46f309=new Map();for(const _0x1ebd14 of _0x4b85e2){const _0x34f150=getTableName(_0x1ebd14),_0x3612e3=getDbName(_0x1ebd14);!_0x46f309[_0x409097(0x27a)](_0x34f150)&&_0x46f309[_0x409097(0x2d7)](_0x34f150,new Set()),_0x46f309[_0x409097(0x161)](_0x34f150)['add'](_0x3612e3);}const _0x24a456=new Set();for(const [_0x229ddc,_0x2862bc]of _0x46f309){_0x2862bc[_0x409097(0x38d)]>0x1&&_0x24a456[_0x409097(0x2d2)](_0x229ddc);}const _0x345935={},_0x4c8969=new Set();for(const _0x167826 of _0x4b85e2){const _0x2195fb=getTableName(_0x167826);if(enableDeduplication&&_0x4c8969['has'](_0x2195fb)){console[_0x409097(0x27e)]('[dsparser]\x20跳过重复的表名\x20\x22'+_0x2195fb+_0x409097(0x154)+_0x167826[_0x409097(0x30e)]+'\x20('+_0x167826[_0x409097(0x2e2)]+')');continue;}_0x4c8969[_0x409097(0x2d2)](_0x2195fb);const _0x360b96=_0x3f516c?_0x3f516c(_0x2195fb,_0x167826):getTableKey(_0x2195fb),_0x58435a=getDbName(_0x167826),_0x2e2fd8=_0x24a456[_0x409097(0x27a)](_0x2195fb)&&_0x58435a?getTableKey(_0x58435a)+'_'+_0x360b96:_0x360b96;_0x345935[_0x360b96]={'key':_0x360b96,'alias':_0x2e2fd8,'tableName':_0x2195fb,'datasetCode':_0x167826['datasetCode'],'name':_0x167826[_0x409097(0x30e)],'id':_0x167826['id'],'dbName':_0x58435a};}return _0x345935;}function generateFullDatasetsConfig(_0x530f8f,_0xa83116={}){const _0x4b0f6e=a0_0x5c95,{filter:_0x2fcba3,datasetNameGenerator:_0x5b72e6}=_0xa83116,_0x40f3d0=_0x2fcba3?_0x530f8f['filter'](_0x2fcba3):_0x530f8f,_0x5136d3=new Map();for(const _0x587ae0 of _0x40f3d0){const _0x3c2d9a=getTableName(_0x587ae0),_0x123e75=getDbName(_0x587ae0);!_0x5136d3[_0x4b0f6e(0x27a)](_0x3c2d9a)&&_0x5136d3[_0x4b0f6e(0x2d7)](_0x3c2d9a,new Set()),_0x5136d3['get'](_0x3c2d9a)[_0x4b0f6e(0x2d2)](_0x123e75);}const _0x845b6e=new Set();for(const [_0x17b4b9,_0xea1759]of _0x5136d3){_0xea1759[_0x4b0f6e(0x38d)]>0x1&&_0x845b6e[_0x4b0f6e(0x2d2)](_0x17b4b9);}const _0x123dc1=groupByTableName(_0x40f3d0),_0x52b516={};for(const [_0x3762f4,_0x5a0a4c]of Object[_0x4b0f6e(0x353)](_0x123dc1)){if(_0x5a0a4c['length']===0x1){const _0x262feb=_0x5a0a4c[0x0],_0x20e597=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x262feb):getTableKey(_0x3762f4),_0x146faf=getDbName(_0x262feb),_0xa56a34=_0x845b6e[_0x4b0f6e(0x27a)](_0x3762f4)&&_0x146faf?getTableKey(_0x146faf)+'_'+_0x20e597:_0x20e597;_0x52b516[_0x20e597]={'key':_0x20e597,'alias':_0xa56a34,'tableName':_0x3762f4,'datasetCode':_0x262feb[_0x4b0f6e(0x2e2)],'name':_0x262feb['name'],'id':_0x262feb['id'],'dbName':_0x146faf};}else{const _0x56b5e6=[..._0x5a0a4c][_0x4b0f6e(0x1d3)]((_0x3558cd,_0x13b4b4)=>{const _0x347f7e=Number(_0x3558cd['id'])||0x0,_0x13c080=Number(_0x13b4b4['id'])||0x0;return _0x13c080-_0x347f7e;});_0x56b5e6[_0x4b0f6e(0x31a)]((_0x4adda1,_0x342c90)=>{const _0x2b272f=_0x4b0f6e,_0x359510=_0x5b72e6?_0x5b72e6(_0x3762f4,_0x4adda1):getTableKey(_0x3762f4),_0x542ef8=_0x342c90===0x0?_0x359510:_0x359510+'_'+_0x342c90,_0x5cdadb=getDbName(_0x4adda1),_0x43ddc1=_0x845b6e[_0x2b272f(0x27a)](_0x3762f4)&&_0x5cdadb?getTableKey(_0x5cdadb)+'_'+_0x542ef8:_0x542ef8;_0x52b516[_0x542ef8]={'key':_0x542ef8,'alias':_0x43ddc1,'tableName':_0x3762f4,'datasetCode':_0x4adda1[_0x2b272f(0x2e2)],'name':_0x4adda1['name'],'id':_0x4adda1['id'],'dbName':_0x5cdadb};});}}return _0x52b516;}function detectTableNameConflicts(_0x2128d7){const _0x4c5855=a0_0x5c95,_0x2753ba={};for(const _0x167c16 of _0x2128d7){const _0x3c70a8=getTableName(_0x167c16);!_0x2753ba[_0x3c70a8]&&(_0x2753ba[_0x3c70a8]=[]),_0x2753ba[_0x3c70a8]['push'](_0x167c16);}const _0x8a6fd3={};for(const [_0x35bae5,_0x1f6ab9]of Object[_0x4c5855(0x353)](_0x2753ba)){_0x1f6ab9[_0x4c5855(0x338)]>0x1&&(_0x8a6fd3[_0x35bae5]=_0x1f6ab9);}return{'hasConflicts':Object[_0x4c5855(0x1b1)](_0x8a6fd3)[_0x4c5855(0x338)]>0x0,'conflicts':_0x8a6fd3};}function createDatasetNameMap(_0xadc2eb){const _0x33647d=a0_0x5c95,_0x27b300={};for(const [_0x2bcd90,_0x1a45d3]of Object['entries'](_0xadc2eb)){_0x27b300[_0x2bcd90]=_0x1a45d3[_0x33647d(0x2e2)]||'';}return _0x27b300;}function groupByTableName(_0x396643){const _0x5ad9e4={};for(const _0x4c71d8 of _0x396643){const _0x32069f=getTableName(_0x4c71d8);!_0x5ad9e4[_0x32069f]&&(_0x5ad9e4[_0x32069f]=[]),_0x5ad9e4[_0x32069f]['push'](_0x4c71d8);}return _0x5ad9e4;}function datasetsConfigToArray(_0x1b2e23){const _0x5c1187=a0_0x5c95;return Object[_0x5c1187(0x2d4)](_0x1b2e23);}function adaptDrivenDataDetail(_0x3041eb){const _0x4d256d=a0_0x5c95,_0x8d3dfd={};return _0x8d3dfd['id']=_0x3041eb[_0x4d256d(0x18b)],_0x8d3dfd['name']=_0x3041eb[_0x4d256d(0x30e)],_0x8d3dfd[_0x4d256d(0x2e2)]=_0x3041eb[_0x4d256d(0x395)],_0x8d3dfd['dbtableConfig']=_0x3041eb[_0x4d256d(0x128)],_0x8d3dfd[_0x4d256d(0x2f4)]=_0x3041eb[_0x4d256d(0x2f4)],_0x8d3dfd['version']=_0x3041eb[_0x4d256d(0x317)],_0x8d3dfd[_0x4d256d(0x142)]=_0x3041eb[_0x4d256d(0x142)],_0x8d3dfd['properties']=_0x3041eb['properties'],_0x8d3dfd[_0x4d256d(0x15b)]=_0x3041eb[_0x4d256d(0x15b)],_0x8d3dfd;}function adaptDrivenDataDetails(_0x5d15fd){return _0x5d15fd['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x274940){const _0x2dbf71=a0_0x5c95;if(!_0x274940[_0x2dbf71(0x399)]||!_0x274940['data'])throw new Error('获取数据集失败:\x20'+(_0x274940[_0x2dbf71(0x1db)]||_0x274940[_0x2dbf71(0x314)]));return adaptDrivenDataDetail(_0x274940[_0x2dbf71(0x3b5)]);}function extractDatasetsFromListResponse(_0x133437){const _0x1e015f=a0_0x5c95;if(!_0x133437[_0x1e015f(0x399)]||!_0x133437['data']?.[_0x1e015f(0x148)])throw new Error(_0x1e015f(0x14e)+(_0x133437['errorMsg']||_0x133437[_0x1e015f(0x314)]));return _0x133437[_0x1e015f(0x3b5)][_0x1e015f(0x148)][_0x1e015f(0x30d)](_0x58415c=>({..._0x58415c,'datasetCode':_0x58415c[_0x1e015f(0x3b7)]||_0x58415c[_0x1e015f(0x2e2)]}));}function isDrivenDataDetail(_0x157285){const _0x4603fc=a0_0x5c95;return Boolean(_0x157285&&typeof _0x157285[_0x4603fc(0x395)]===_0x4603fc(0x388));}function smartAdapt(_0x26b02e){const _0xe00d9b=a0_0x5c95;if(isDrivenDataDetail(_0x26b02e))return adaptDrivenDataDetail(_0x26b02e);if(_0x26b02e[_0xe00d9b(0x2e2)])return _0x26b02e;if(_0x26b02e[_0xe00d9b(0x3b7)]){const _0x36f11e={..._0x26b02e};return _0x36f11e[_0xe00d9b(0x2e2)]=_0x26b02e[_0xe00d9b(0x3b7)],_0x36f11e;}return _0x26b02e;}function cleanNewlines(_0x10c584){const _0xc580d4=a0_0x5c95;return _0x10c584[_0xc580d4(0x15c)](/[\r\n]+/g,'\x20')['trim']();}function cleanDatasetName(_0x546805){const _0x35a2a3=a0_0x5c95;if(!_0x546805[_0x35a2a3(0x30e)])return _0x546805;return{..._0x546805,'name':cleanNewlines(_0x546805[_0x35a2a3(0x30e)])};}function cleanDatasetNames(_0x40f0d9){return _0x40f0d9['map'](cleanDatasetName);}var DatasetOperationType;(_0x3b5923=>{const _0x1256c8=a0_0x5c95;_0x3b5923[_0x1256c8(0x1e4)]='getList',_0x3b5923[_0x1256c8(0x2a6)]=_0x1256c8(0x344),_0x3b5923[_0x1256c8(0x205)]=_0x1256c8(0x124),_0x3b5923[_0x1256c8(0x256)]=_0x1256c8(0x331),_0x3b5923['CREATE']=_0x1256c8(0x38a),_0x3b5923[_0x1256c8(0x1d5)]=_0x1256c8(0x1c5),_0x3b5923[_0x1256c8(0x28d)]=_0x1256c8(0x270),_0x3b5923[_0x1256c8(0x315)]='getSelectOptions',_0x3b5923['GET_FILE_URL']='getFileUrl',_0x3b5923[_0x1256c8(0x3ad)]=_0x1256c8(0x381),_0x3b5923['GET_UPLOAD_FILE_SCRIPT']=_0x1256c8(0x237),_0x3b5923[_0x1256c8(0x145)]='createImport',_0x3b5923[_0x1256c8(0x299)]=_0x1256c8(0x3c4),_0x3b5923[_0x1256c8(0x2db)]=_0x1256c8(0x34b),_0x3b5923['IMPORT_TEMPLATE']=_0x1256c8(0x178);})(DatasetOperationType||={});const a0_0xa14466={};a0_0xa14466['getList']=a0_0x4986fd(0x162),a0_0xa14466[a0_0x4986fd(0x344)]=a0_0x4986fd(0x2be),a0_0xa14466[a0_0x4986fd(0x124)]=a0_0x4986fd(0x175),a0_0xa14466['getOneUpdate']='查询单条(用于更新)',a0_0xa14466[a0_0x4986fd(0x38a)]='创建',a0_0xa14466[a0_0x4986fd(0x1c5)]='更新',a0_0xa14466[a0_0x4986fd(0x270)]='删除',a0_0xa14466[a0_0x4986fd(0x224)]=a0_0x4986fd(0x140),a0_0xa14466['getFileUrl']=a0_0x4986fd(0x12c),a0_0xa14466[a0_0x4986fd(0x381)]=a0_0x4986fd(0x289),a0_0xa14466[a0_0x4986fd(0x237)]=a0_0x4986fd(0x2d0),a0_0xa14466[a0_0x4986fd(0x2fa)]=a0_0x4986fd(0x2ba),a0_0xa14466[a0_0x4986fd(0x3c4)]=a0_0x4986fd(0x247),a0_0xa14466[a0_0x4986fd(0x34b)]='任务信息',a0_0xa14466['importTemplate']=a0_0x4986fd(0x325);var OPERATION_TYPE_DISPLAY_NAME=a0_0xa14466,API_BLACKLIST=[a0_0x4986fd(0x208),a0_0x4986fd(0x124),a0_0x4986fd(0x331),'getFileUrl'];function parseFieldExtend(_0x4de958){const _0x4e2a63=a0_0x4986fd;if(!_0x4de958||typeof _0x4de958!==_0x4e2a63(0x236))return!![]&&console[_0x4e2a63(0x27e)](_0x4e2a63(0x3b8),_0x4de958),{};if(!_0x4de958[_0x4e2a63(0x142)])return{};try{const _0x98609a=typeof _0x4de958[_0x4e2a63(0x142)]==='string'?JSON[_0x4e2a63(0x2a3)](_0x4de958[_0x4e2a63(0x142)]):_0x4de958[_0x4e2a63(0x142)];if(typeof _0x98609a!=='object'||_0x98609a===null)return{};return _0x98609a;}catch{return{};}}function isPrimaryKeyField(_0x62067f,_0x406059){const _0x48af87=a0_0x4986fd;if(!_0x62067f||typeof _0x62067f!==_0x48af87(0x236))return![];if(typeof _0x406059===_0x48af87(0x388)&&_0x62067f['code']===_0x406059)return!![];const _0x41f974=parseFieldExtend(_0x62067f);return Boolean(_0x41f974[_0x48af87(0x1e1)]||_0x41f974['pkField']);}function isSystemField(_0x108b41){const _0x5b266e=a0_0x4986fd,_0x28204e=parseFieldExtend(_0x108b41);return Boolean(_0x28204e[_0x5b266e(0x174)]);}function isRequiredField(_0x9ff7f1){const _0x277798=a0_0x4986fd,_0x3e15f4=parseFieldExtend(_0x9ff7f1);return Boolean(_0x3e15f4[_0x277798(0x2f8)]);}function isAutoIncrementField(_0x113521){const _0x4053cc=a0_0x4986fd,_0x38a259=parseFieldExtend(_0x113521);return Boolean(_0x38a259[_0x4053cc(0x1b5)]);}function isCreateTimeField(_0x3a21a7){const _0x19982a=a0_0x4986fd,_0x2f5844=parseFieldExtend(_0x3a21a7);return Boolean(_0x2f5844[_0x19982a(0x20d)]);}function isModifyTimeField(_0x18cee0){const _0x58f31f=a0_0x4986fd,_0x1e18bb=parseFieldExtend(_0x18cee0);return Boolean(_0x1e18bb[_0x58f31f(0x183)]);}const a0_0x3b6c87={};a0_0x3b6c87['NUMBER']='数字',a0_0x3b6c87[a0_0x4986fd(0x139)]='文本',a0_0x3b6c87[a0_0x4986fd(0x207)]=a0_0x4986fd(0x265),a0_0x3b6c87[a0_0x4986fd(0x32d)]='日期',a0_0x3b6c87[a0_0x4986fd(0x3ac)]=a0_0x4986fd(0x17b),a0_0x3b6c87[a0_0x4986fd(0x110)]='时间戳',a0_0x3b6c87[a0_0x4986fd(0x3bd)]='下拉选择',a0_0x3b6c87[a0_0x4986fd(0x320)]='多选',a0_0x3b6c87[a0_0x4986fd(0x16c)]='单选',a0_0x3b6c87[a0_0x4986fd(0x391)]='开关',a0_0x3b6c87[a0_0x4986fd(0x2e1)]=a0_0x4986fd(0x15d),a0_0x3b6c87[a0_0x4986fd(0x27d)]='图片',a0_0x3b6c87[a0_0x4986fd(0x1c6)]='富文本',a0_0x3b6c87['JSON']=a0_0x4986fd(0x150),a0_0x3b6c87[a0_0x4986fd(0x257)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x3b6c87;function getDbTypeDisplay(_0x5a742c){const _0x137eb1=a0_0x4986fd;if(typeof _0x5a742c!==_0x137eb1(0x388))return!![]&&console[_0x137eb1(0x27e)](_0x137eb1(0x26e),_0x5a742c),String(_0x5a742c||'-');return DB_TYPE_DISPLAY_MAP[_0x5a742c]||_0x5a742c;}function formatDbType(_0x1a4e5a,_0x383733){const _0x555283=a0_0x4986fd;if(!_0x1a4e5a||typeof _0x1a4e5a!==_0x555283(0x388))return'-';if(!_0x383733||typeof _0x383733!==_0x555283(0x22f))return _0x1a4e5a;const _0xc804f2=[_0x555283(0x139),_0x555283(0x3ac),_0x555283(0x110),_0x555283(0x32d)];if(_0xc804f2[_0x555283(0x228)](_0x1a4e5a['toUpperCase']()))return _0x1a4e5a;return _0x1a4e5a+'('+_0x383733+')';}function parseOperationType(_0x2ff09c){const _0x18418d=a0_0x4986fd;if(typeof _0x2ff09c!=='string'){!![]&&console[_0x18418d(0x27e)](_0x18418d(0x216),_0x2ff09c);return;}if(Object[_0x18418d(0x2d4)](DatasetOperationType)['includes'](_0x2ff09c))return _0x2ff09c;const _0x1a5037=Object[_0x18418d(0x353)](OPERATION_TYPE_DISPLAY_NAME)[_0x18418d(0x2b4)](([_0x5d5efe,_0x1349a7])=>_0x1349a7===_0x2ff09c);return _0x1a5037?_0x1a5037[0x0]:undefined;}function shouldIncludeField(_0x41524e,_0x37bbca,_0x983316){const _0xf7b910=a0_0x4986fd,_0x5d26f3=parseFieldExtend(_0x41524e),_0x44304d=isPrimaryKeyField(_0x41524e,_0x983316),_0x313d2b=Boolean(_0x5d26f3[_0xf7b910(0x174)]),_0x58957d=Boolean(_0x5d26f3[_0xf7b910(0x1b5)]),_0x5e6f8a=Boolean(_0x5d26f3[_0xf7b910(0x20d)]),_0x40f765=Boolean(_0x5d26f3[_0xf7b910(0x183)]);switch(_0x37bbca){case'getList':return!![];case _0xf7b910(0x344):case'getOneOrigin':case _0xf7b910(0x270):return _0x44304d;case _0xf7b910(0x38a):if(_0x44304d&&_0x58957d)return![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case _0xf7b910(0x1c5):case _0xf7b910(0x331):if(_0x44304d)return!![];if(_0x313d2b)return![];if(_0x5e6f8a||_0x40f765)return![];return!![];case'getSelectOptions':return _0x41524e[_0xf7b910(0x3b7)]===_0xf7b910(0x3b7);default:return!![];}}function getFieldsForOperation(_0x18b770,_0x3dc101,_0xc5f6d6){const _0x3c5417=a0_0x4986fd;if(!Array['isArray'](_0x18b770))return!![]&&console[_0x3c5417(0x27e)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x18b770),[];return _0x18b770[_0x3c5417(0x276)](_0x3a548d=>shouldIncludeField(_0x3a548d,_0x3dc101,_0xc5f6d6));}function isApiBlacklisted(_0x222b75){const _0x5c6656=a0_0x4986fd;if(typeof _0x222b75!==_0x5c6656(0x388))return!![]&&console[_0x5c6656(0x27e)](_0x5c6656(0x2f5),_0x222b75),![];return API_BLACKLIST[_0x5c6656(0x228)](_0x222b75);}function a0_0x5c95(_0xdae66f,_0x209759){_0xdae66f=_0xdae66f-0x103;const _0x57bd23=a0_0x57bd();let _0x5c9523=_0x57bd23[_0xdae66f];return _0x5c9523;}function filterApiOperations(_0xa3486a){const _0x2f64c1=a0_0x4986fd;if(!Array[_0x2f64c1(0x18f)](_0xa3486a))return!![]&&console['warn'](_0x2f64c1(0x36b),_0xa3486a),[];return _0xa3486a['filter'](_0x5ef722=>_0x5ef722&&typeof _0x5ef722===_0x2f64c1(0x236)&&!isApiBlacklisted(_0x5ef722[_0x2f64c1(0x30e)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x4986fd(0x39c)](),'SELECT':({fieldInfo:_0x4de5c2})=>{const _0x4ae731=a0_0x4986fd;if(_0x4de5c2?.[_0x4ae731(0x159)]&&Array['isArray'](_0x4de5c2['options'])&&_0x4de5c2[_0x4ae731(0x159)][_0x4ae731(0x338)]>0x0)return _0x4de5c2['options'][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x5c3fa2})=>{const _0x1d382d=a0_0x4986fd;if(_0x5c3fa2===_0x1d382d(0x27f))return 0x1;if(_0x5c3fa2===_0x1d382d(0x1bc))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x56b308})=>{const _0x3f0a97=a0_0x4986fd;if(_0x56b308&&typeof _0x56b308===_0x3f0a97(0x388)){const _0x319cfa=_0x56b308[_0x3f0a97(0x258)]();if(_0x319cfa[_0x3f0a97(0x228)]('邮箱')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x1d8)))return'user@example.com';if(_0x319cfa['includes']('电话')||_0x319cfa['includes']('手机')||_0x319cfa[_0x3f0a97(0x228)]('phone'))return _0x3f0a97(0x278);if(_0x319cfa[_0x3f0a97(0x228)]('地址')||_0x319cfa[_0x3f0a97(0x228)](_0x3f0a97(0x32b)))return _0x3f0a97(0x164);if(_0x319cfa[_0x3f0a97(0x228)]('姓名')||_0x319cfa['includes']('name'))return'张三';}return _0x3f0a97(0x2f2);},'VARCHAR':({description:_0x7a8cb9})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x7a8cb9}),'CHAR':({description:_0x3a7128})=>TYPE_VALUE_GENERATORS[a0_0x4986fd(0x139)]({'description':_0x3a7128}),'STRING':({fieldInfo:_0x44ef5f,description:_0x7f4719})=>{const _0x305d5c=a0_0x4986fd;if(_0x44ef5f?.[_0x305d5c(0x13a)]&&typeof _0x44ef5f[_0x305d5c(0x13a)]===_0x305d5c(0x388)&&_0x44ef5f[_0x305d5c(0x13a)]!=='系统自动生成')return _0x44ef5f[_0x305d5c(0x13a)][_0x305d5c(0x15c)](/^请输入|^请选择/,'');const _0x4b6829={};return _0x4b6829[_0x305d5c(0x19e)]=_0x7f4719,TYPE_VALUE_GENERATORS[_0x305d5c(0x139)](_0x4b6829);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x4986fd(0x28f),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x4986fd(0x16a),'item2'],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x4986fd(0x2d3),'RICH_TEXT':()=>a0_0x4986fd(0x21a)};function generateExampleValue(_0x2bf921,_0x2b02e5,_0x4435c5,_0x150da3={}){const _0xabd26=a0_0x4986fd;typeof _0x2bf921!==_0xabd26(0x388)&&(!![]&&console[_0xabd26(0x27e)](_0xabd26(0x11a),_0x2bf921),_0x2bf921=String(_0x2bf921||''));if(typeof _0x2b02e5!==_0xabd26(0x388))return!![]&&console[_0xabd26(0x27e)](_0xabd26(0x103),_0x2b02e5),_0xabd26(0x2ef);const {isPrimaryKey:_0x26fbdd,dbtableConfig:_0x1b22dc}=_0x150da3;if(_0x26fbdd)return 0x1;if(_0x1b22dc&&typeof _0x1b22dc===_0xabd26(0x236)){const _0x5e1411=_0x1b22dc[_0xabd26(0x390)]?.[_0xabd26(0x354)]===_0x2bf921,_0x16ac58=_0x1b22dc[_0xabd26(0x210)]?.[_0xabd26(0x354)]===_0x2bf921;if(_0x5e1411||_0x16ac58){if(_0x4435c5&&typeof _0x4435c5===_0xabd26(0x388)&&_0x4435c5[_0xabd26(0x39b)]()[_0xabd26(0x228)](_0xabd26(0x110)))return Date[_0xabd26(0x39c)]();return new Date()[_0xabd26(0x2ad)]()[_0xabd26(0x15c)]('T','\x20')[_0xabd26(0x398)]('.')[0x0];}}const _0x3a8cb3={..._0x150da3};_0x3a8cb3[_0xabd26(0x25e)]=_0x2bf921;const _0x58799a=_0x3a8cb3;if(_0x4435c5&&typeof _0x4435c5==='string'){const _0x59bdb0=_0x4435c5[_0xabd26(0x39b)](),_0x29bb16=TYPE_VALUE_GENERATORS[_0x59bdb0];if(_0x29bb16)return _0x29bb16(_0x58799a);}if(_0x2b02e5&&typeof _0x2b02e5===_0xabd26(0x388)){const _0x5129f5=_0x2b02e5[_0xabd26(0x39b)](),_0xb20653=TYPE_VALUE_GENERATORS[_0x5129f5];if(_0xb20653)return _0xb20653(_0x58799a);}return _0xabd26(0x2ef);}function generateExampleFromSchema(_0x4f96f3,_0x5c2f1f){const _0x14c22f=a0_0x4986fd;if(!_0x4f96f3||typeof _0x4f96f3!==_0x14c22f(0x236))return{};if(Array['isArray'](_0x4f96f3)){if(_0x4f96f3[_0x14c22f(0x338)]>0x0)return[generateExampleFromSchema(_0x4f96f3[0x0],_0x5c2f1f)];return[];}const _0x26998c={};return Object['keys'](_0x4f96f3)['forEach'](_0x445d97=>{const _0x329e84=_0x14c22f,_0x3ee4e5=_0x4f96f3[_0x445d97];if(_0x3ee4e5&&typeof _0x3ee4e5===_0x329e84(0x236)&&!Array[_0x329e84(0x18f)](_0x3ee4e5)&&_0x3ee4e5[_0x329e84(0x186)]){const _0x67239a=_0x3ee4e5,_0x1ac1cd=_0x67239a['type'],_0x3ae49c=_0x67239a[_0x329e84(0x19e)];if(typeof _0x1ac1cd===_0x329e84(0x388)){const _0x4b9de2={};_0x4b9de2['description']=_0x3ae49c,_0x4b9de2[_0x329e84(0x128)]=_0x5c2f1f,_0x26998c[_0x445d97]=generateExampleValue(_0x445d97,_0x1ac1cd,undefined,_0x4b9de2);}else _0x26998c[_0x445d97]='示例值';}else{if(Array[_0x329e84(0x18f)](_0x3ee4e5))_0x26998c[_0x445d97]=_0x3ee4e5[_0x329e84(0x338)]>0x0?[generateExampleFromSchema(_0x3ee4e5[0x0],_0x5c2f1f)]:[];else _0x3ee4e5&&typeof _0x3ee4e5==='object'?_0x26998c[_0x445d97]=generateExampleFromSchema(_0x3ee4e5,_0x5c2f1f):_0x26998c[_0x445d97]=_0x3ee4e5;}}),_0x26998c;}function parseRequestBody(_0x50bd13){const _0x4aa4c1=a0_0x4986fd;if(!_0x50bd13)return{};try{return JSON[_0x4aa4c1(0x2a3)](_0x50bd13);}catch(_0x89b500){return!![]&&console[_0x4aa4c1(0x27e)](_0x4aa4c1(0x219),_0x89b500),{};}}function parseResponseBody(_0x5af419){const _0x42ec0f=a0_0x4986fd;if(!_0x5af419)return null;try{const _0x20438c=JSON[_0x42ec0f(0x2a3)](_0x5af419);return _0x20438c[_0x42ec0f(0x33c)]||_0x20438c;}catch(_0x42020c){return!![]&&console[_0x42ec0f(0x27e)](_0x42ec0f(0x198),_0x42020c),null;}}function generateRequestExample(_0x401854,_0x20e2e6,_0xb67e58,_0x3da408){const _0x5ad712=a0_0x4986fd,_0x44e741={};if(!Array[_0x5ad712(0x18f)](_0x401854))return!![]&&console[_0x5ad712(0x27e)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x401854),_0x44e741;return _0x401854[_0x5ad712(0x31a)](_0x3057d8=>{const _0x216e98=_0x5ad712;if(!_0x3057d8||typeof _0x3057d8!==_0x216e98(0x236)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x121),_0x3057d8);return;}if(typeof _0x3057d8[_0x216e98(0x3b7)]!==_0x216e98(0x388)||typeof _0x3057d8[_0x216e98(0x186)]!==_0x216e98(0x388)){!![]&&console[_0x216e98(0x27e)](_0x216e98(0x21b),_0x3057d8);return;}const _0x2b9a40=parseFieldExtend(_0x3057d8),_0x5093ba=_0x3057d8[_0x216e98(0x3b7)]===_0xb67e58||Boolean(_0x2b9a40?.['primaryKey']),_0x175ff4=generateExampleValue(_0x3057d8[_0x216e98(0x3b7)],_0x3057d8[_0x216e98(0x186)],typeof _0x3057d8[_0x216e98(0x227)]===_0x216e98(0x388)?_0x3057d8[_0x216e98(0x227)]:undefined,{'fieldInfo':_0x2b9a40,'isPrimaryKey':_0x5093ba,'description':_0x3057d8[_0x216e98(0x19e)]||_0x3057d8[_0x216e98(0x30e)],'dbtableConfig':_0x3da408});_0x44e741[_0x3057d8[_0x216e98(0x3b7)]]=_0x175ff4;}),_0x20e2e6==='getList'&&(_0x44e741['currentPage']=0x1,_0x44e741[_0x5ad712(0x1bc)]=0xa),_0x44e741;}function formatEnumValue(_0x24a53c,_0x1f5afb){const _0x2ac589=a0_0x4986fd;if(_0x24a53c[_0x2ac589(0x387)]&&Array[_0x2ac589(0x18f)](_0x1f5afb))return _0x1f5afb['map'](_0x4e0886=>_0x24a53c['valueLabels'][String(_0x4e0886)]||String(_0x4e0886))[_0x2ac589(0x348)](',\x20');return _0x24a53c[_0x2ac589(0x271)][String(_0x1f5afb)]||String(_0x1f5afb);}function formatOptionsForDoc(_0x4545b3){const _0xee527c=a0_0x4986fd;return _0x4545b3[_0xee527c(0x30d)](_0x7b3ab5=>_0x7b3ab5['value']+'('+_0x7b3ab5['label']+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x138152,_0x229e96=0x0){const _0x57c9dd=a0_0x4986fd,_0x34ad9b='\x20\x20'[_0x57c9dd(0x1c4)](_0x229e96),_0x29d87b=[];return _0x138152[_0x57c9dd(0x31a)](_0x70b4cf=>{const _0x690714=_0x57c9dd;_0x29d87b[_0x690714(0x279)](_0x34ad9b+_0x690714(0x385)+_0x70b4cf['value']+_0x690714(0x323)+_0x70b4cf[_0x690714(0x169)]),_0x70b4cf['children']&&_0x70b4cf['children']['length']>0x0&&_0x29d87b[_0x690714(0x279)](formatOptionsAsMarkdownList(_0x70b4cf[_0x690714(0x324)],_0x229e96+0x1));}),_0x29d87b[_0x57c9dd(0x348)]('\x0a');}class DbtableConfig{[a0_0x4986fd(0x283)];constructor(_0x2efede){const _0x31f920={..._0x2efede};this['_raw']=_0x31f920;}get[a0_0x4986fd(0x349)](){const _0x3b2a4d=a0_0x4986fd;return this[_0x3b2a4d(0x283)][_0x3b2a4d(0x349)];}get[a0_0x4986fd(0x2a9)](){const _0x975e7=a0_0x4986fd;return this['_raw'][_0x975e7(0x2a9)]??this['_raw'][_0x975e7(0x3a0)]?.[_0x975e7(0x2a9)];}get[a0_0x4986fd(0x1ca)](){return this['_raw']['tableName'];}get[a0_0x4986fd(0x3ba)](){const _0x4a4620=a0_0x4986fd;return this['_raw'][_0x4a4620(0x3ba)];}get[a0_0x4986fd(0x1a1)](){const _0x3bcd9b=a0_0x4986fd;return this[_0x3bcd9b(0x283)][_0x3bcd9b(0x1a1)];}get[a0_0x4986fd(0x284)](){const _0x32492d=a0_0x4986fd;return this[_0x32492d(0x283)][_0x32492d(0x284)];}get['logicField'](){return this['_raw']['logicField'];}get[a0_0x4986fd(0x390)](){const _0x558fb5=a0_0x4986fd;return this[_0x558fb5(0x283)][_0x558fb5(0x390)];}get[a0_0x4986fd(0x210)](){const _0x2a34e0=a0_0x4986fd;return this[_0x2a34e0(0x283)][_0x2a34e0(0x210)];}get[a0_0x4986fd(0x168)](){const _0x4420b7=a0_0x4986fd;return this[_0x4420b7(0x283)][_0x4420b7(0x168)];}get['creatorNameField'](){const _0x1b3ce2=a0_0x4986fd;return this['_raw'][_0x1b3ce2(0x138)];}get[a0_0x4986fd(0x2f1)](){const _0x517971=a0_0x4986fd;return this['_raw'][_0x517971(0x2f1)];}get[a0_0x4986fd(0x206)](){const _0x890ac0=a0_0x4986fd;return this[_0x890ac0(0x283)][_0x890ac0(0x206)];}get['dblinkInfoDTO'](){const _0x414613=a0_0x4986fd;return this['_raw'][_0x414613(0x3a0)];}[a0_0x4986fd(0x149)](){const _0x50883f=a0_0x4986fd;if(!this[_0x50883f(0x283)][_0x50883f(0x1fc)])return[];return this[_0x50883f(0x283)][_0x50883f(0x1fc)][_0x50883f(0x398)](',')[_0x50883f(0x30d)](_0x3ff079=>_0x3ff079[_0x50883f(0x356)]())[_0x50883f(0x276)](Boolean);}[a0_0x4986fd(0x341)](){const _0x50fa06=a0_0x4986fd;return this[_0x50fa06(0x283)][_0x50fa06(0x1fc)];}[a0_0x4986fd(0x2e6)](_0x2556e5){const _0x542ebf=a0_0x4986fd;return this['getAllFieldsArray']()[_0x542ebf(0x228)](_0x2556e5);}[a0_0x4986fd(0x1a2)](){const _0x45344a=a0_0x4986fd;return Boolean(this[_0x45344a(0x283)][_0x45344a(0x1ca)]);}[a0_0x4986fd(0x328)](){const _0x69a476=a0_0x4986fd;return Boolean(this['_raw'][_0x69a476(0x3a0)]);}['hasLogicField'](){const _0x445e62=a0_0x4986fd;return Boolean(this[_0x445e62(0x283)][_0x445e62(0x209)]?.['fieldName']);}[a0_0x4986fd(0x372)](){const _0x6abb06=a0_0x4986fd;return Boolean(this[_0x6abb06(0x283)]['createTimeField']?.[_0x6abb06(0x354)]);}[a0_0x4986fd(0x2c1)](){const _0x4e236e=a0_0x4986fd;return Boolean(this[_0x4e236e(0x283)][_0x4e236e(0x210)]?.[_0x4e236e(0x354)]);}[a0_0x4986fd(0x249)](){const _0x3ddabc=a0_0x4986fd;return Boolean(this[_0x3ddabc(0x283)][_0x3ddabc(0x168)]?.[_0x3ddabc(0x354)]);}['hasModifierIdField'](){const _0x5e8338=a0_0x4986fd;return Boolean(this[_0x5e8338(0x283)][_0x5e8338(0x2f1)]?.[_0x5e8338(0x354)]);}[a0_0x4986fd(0x2bc)](_0xf5891b){const _0x54e79f=a0_0x4986fd;return this[_0x54e79f(0x283)][_0x54e79f(0x1a1)]===_0xf5891b;}['isSystemField'](_0x5921f2){const _0x5204bf=a0_0x4986fd;return this[_0x5204bf(0x2bc)](_0x5921f2)||this[_0x5204bf(0x283)][_0x5204bf(0x209)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x390)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x210)]?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)]['creatorIdField']?.[_0x5204bf(0x354)]===_0x5921f2||this[_0x5204bf(0x283)][_0x5204bf(0x138)]?.['fieldName']===_0x5921f2||this['_raw'][_0x5204bf(0x2f1)]?.[_0x5204bf(0x354)]===_0x5921f2||this['_raw'][_0x5204bf(0x206)]?.[_0x5204bf(0x354)]===_0x5921f2;}['getDatabaseName'](){const _0x317231=a0_0x4986fd;return this[_0x317231(0x283)][_0x317231(0x3a0)]?.['dbName'];}['getDatabaseType'](){const _0x4168b0=a0_0x4986fd;return this[_0x4168b0(0x283)][_0x4168b0(0x3a0)]?.[_0x4168b0(0x227)];}['getDatabaseVersion'](){const _0x284d62=a0_0x4986fd;return this[_0x284d62(0x283)]['dblinkInfoDTO']?.[_0x284d62(0x360)];}['getTenantCode'](){const _0x3bed2a=a0_0x4986fd;return this[_0x3bed2a(0x283)][_0x3bed2a(0x3a0)]?.[_0x3bed2a(0x10b)];}[a0_0x4986fd(0x112)](){const _0x373fbc=a0_0x4986fd;return this[_0x373fbc(0x283)][_0x373fbc(0x3a0)]?.[_0x373fbc(0x30c)];}['getSystemAnalysisResult'](){const _0x514bd9=a0_0x4986fd;return this[_0x514bd9(0x283)][_0x514bd9(0x3a0)]?.['systemAnalysisResult'];}[a0_0x4986fd(0x151)](){const _0x1cada1=a0_0x4986fd;return{'hasTableName':this[_0x1cada1(0x1a2)](),'hasDblinkInfo':this[_0x1cada1(0x328)](),'fieldCount':this[_0x1cada1(0x149)]()[_0x1cada1(0x338)],'systemFields':{'hasLogicField':this[_0x1cada1(0x346)](),'hasCreateTimeField':this[_0x1cada1(0x372)](),'hasUpdateTimeField':this[_0x1cada1(0x2c1)](),'hasCreatorIdField':this[_0x1cada1(0x249)](),'hasModifierIdField':this[_0x1cada1(0x225)]()}};}[a0_0x4986fd(0x32f)](){const _0x491545=a0_0x4986fd,_0x202366={};return _0x202366[_0x491545(0x1ca)]=this[_0x491545(0x1ca)],_0x202366['pkField']=this[_0x491545(0x1a1)],_0x202366[_0x491545(0x3ba)]=this['datasetKey'],_0x202366['dbId']=this['dbId'],_0x202366;}[a0_0x4986fd(0x171)](){const _0x527680=a0_0x4986fd,_0x31cc55={...this[_0x527680(0x283)]};return _0x31cc55;}[a0_0x4986fd(0x230)](){const _0x135d0f={...this['_raw']};return _0x135d0f;}[a0_0x4986fd(0x28a)](){const _0x82e106=a0_0x4986fd,_0x587493=this[_0x82e106(0x1ca)]||_0x82e106(0x2f0),_0x287ab7=this[_0x82e106(0x149)]()[_0x82e106(0x338)];return'DbtableConfig(table:\x20'+_0x587493+_0x82e106(0x371)+_0x287ab7+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x4986fd(0x283)];constructor(_0x1c6e1a){const _0x831b43=a0_0x4986fd,_0x4ab55a=_0x1c6e1a[_0x831b43(0x2e2)]||_0x1c6e1a['code']||_0x1c6e1a[_0x831b43(0x395)],_0x12f960={..._0x1c6e1a};_0x12f960[_0x831b43(0x2e2)]=_0x4ab55a,this[_0x831b43(0x283)]=_0x12f960;}get['id'](){const _0x21a73e=a0_0x4986fd;return this[_0x21a73e(0x283)]['id'];}get['name'](){const _0x274315=a0_0x4986fd;return this[_0x274315(0x283)][_0x274315(0x30e)];}[a0_0x4986fd(0x1dd)](){const _0x233057=a0_0x4986fd;return this[_0x233057(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x5b142b=a0_0x4986fd;return this[_0x5b142b(0x283)][_0x5b142b(0x2e2)]||'';}get['dbtableConfig'](){const _0x55001d=a0_0x4986fd;if(!this[_0x55001d(0x283)][_0x55001d(0x128)])return null;return new DbtableConfig(this[_0x55001d(0x283)][_0x55001d(0x128)]);}[a0_0x4986fd(0x119)](){const _0x4f775a=a0_0x4986fd;return this[_0x4f775a(0x283)]['dbtableConfig'];}[a0_0x4986fd(0x3a8)](){const _0x92fda3=a0_0x4986fd;return this[_0x92fda3(0x128)]?.[_0x92fda3(0x2a9)]||'';}[a0_0x4986fd(0x13e)](){return getTableName(this['_raw']);}[a0_0x4986fd(0x2b7)](){const _0x11afde=a0_0x4986fd;return getTableKey(this[_0x11afde(0x13e)]());}[a0_0x4986fd(0x2b0)](){const _0x339eb1=a0_0x4986fd;return generateModelKeyFromCode(this[_0x339eb1(0x2e2)]);}['isVirtualTable'](){const _0x7faed3=a0_0x4986fd;return isVirtualTableName(this[_0x7faed3(0x13e)]());}['getModelName'](){const _0x574781=a0_0x4986fd;return getTableKey(this[_0x574781(0x13e)]());}[a0_0x4986fd(0x32f)](){const _0x5d5b22=a0_0x4986fd,_0x2b5992=getTableKey(this[_0x5d5b22(0x13e)]());return{'key':_0x2b5992,'alias':_0x2b5992,'tableName':this[_0x5d5b22(0x13e)](),'datasetCode':this[_0x5d5b22(0x2e2)],'name':this[_0x5d5b22(0x30e)]};}[a0_0x4986fd(0x171)](){const _0x446b78=a0_0x4986fd,_0x2cf060={...this[_0x446b78(0x283)]};return _0x2cf060['datasetCode']=this[_0x446b78(0x2e2)],_0x2cf060;}[a0_0x4986fd(0x230)](){const _0x3e1a60=a0_0x4986fd,_0x207b37={...this[_0x3e1a60(0x283)]};return _0x207b37;}[a0_0x4986fd(0x28c)](){const _0x5b0562=a0_0x4986fd,_0x25d9a2=this[_0x5b0562(0x128)];return _0x25d9a2!==null&&_0x25d9a2[_0x5b0562(0x1a2)]();}[a0_0x4986fd(0x13b)](_0x4b4554){const _0x319cce=a0_0x4986fd;return this[_0x319cce(0x283)][_0x4b4554];}['hasExtendField'](_0x2fdb5e){const _0x329679=a0_0x4986fd;return _0x2fdb5e in this[_0x329679(0x283)];}[a0_0x4986fd(0x28a)](){const _0x4545f6=a0_0x4986fd;return'DatasetItem('+this[_0x4545f6(0x30e)]+',\x20'+this[_0x4545f6(0x2e2)]+')';}}class Operation{[a0_0x4986fd(0x30e)];['_raw'];['context'];constructor(_0x537920,_0x44735a,_0x4c924a){const _0x4026e5=a0_0x4986fd;this[_0x4026e5(0x30e)]=_0x537920,this[_0x4026e5(0x283)]=_0x44735a,this[_0x4026e5(0x12a)]=_0x4c924a;}[a0_0x4986fd(0x1dd)](){const _0x6dc436=a0_0x4986fd;return this[_0x6dc436(0x30e)];}[a0_0x4986fd(0x240)](){const _0x2c3674=a0_0x4986fd;return OPERATION_TYPE_DISPLAY_NAME[this[_0x2c3674(0x30e)]]||this[_0x2c3674(0x30e)];}[a0_0x4986fd(0x252)](){return parseOperationType(this['name']);}['isEnabled'](){return this['_raw']!==null&&this['_raw']!==![];}[a0_0x4986fd(0x12b)](){const _0x3d3a39=a0_0x4986fd,_0x91ba30=this[_0x3d3a39(0x283)];if(_0x91ba30===![]||_0x91ba30===null)return'';return _0x91ba30[_0x3d3a39(0x2fc)]||_0x3d3a39(0x29a);}['getPath'](){const _0x506aa1=a0_0x4986fd,_0x6826b9=this[_0x506aa1(0x283)];if(_0x6826b9===![]||_0x6826b9===null)return'';return _0x6826b9[_0x506aa1(0x1f1)]||'';}['getFullUrl'](){const _0x620933=a0_0x4986fd,_0x58610e=this[_0x620933(0x283)];let _0x1ea980='';_0x58610e!==![]&&_0x58610e!==null&&_0x58610e[_0x620933(0x358)]&&(_0x1ea980=_0x58610e['host']);const _0x752fd=this[_0x620933(0x329)]();return _0x1ea980&&_0x752fd?''+_0x1ea980+_0x752fd:_0x752fd;}['parseRawRequestBody'](){const _0x5e715f=a0_0x4986fd,_0x257a58=this[_0x5e715f(0x283)];if(_0x257a58===![]||_0x257a58===null||!_0x257a58['requestBody'])return{};try{return JSON[_0x5e715f(0x2a3)](_0x257a58[_0x5e715f(0x1d6)]);}catch{return{};}}['parseRawResponseBody'](){const _0x5b8603=a0_0x4986fd,_0x1bd872=this[_0x5b8603(0x283)];if(_0x1bd872===![]||_0x1bd872===null||!_0x1bd872['responseBody'])return null;return parseResponseBody(_0x1bd872[_0x5b8603(0x35d)]);}[a0_0x4986fd(0x12d)](){const _0x58577f=a0_0x4986fd;return this[_0x58577f(0x127)]();}[a0_0x4986fd(0x143)](){const _0x5e56a1=a0_0x4986fd;return this[_0x5e56a1(0x14b)]();}[a0_0x4986fd(0x281)](){const _0x5c3023=this['getRequestParams']();return Object['keys'](_0x5c3023);}['generateRequestExample'](){const _0x189293=a0_0x4986fd,_0x454537=this['getRequestParams'](),_0x5edc5c={};return Object[_0x189293(0x353)](_0x454537)['forEach'](([_0x211dc1,_0x399734])=>{const _0x42604a=_0x189293,_0x5c4591=_0x399734;_0x5edc5c[_0x211dc1]=generateExampleValue(_0x211dc1,_0x5c4591[_0x42604a(0x186)]||_0x42604a(0x1b3),undefined,{'description':_0x5c4591[_0x42604a(0x19e)]});}),_0x5edc5c;}[a0_0x4986fd(0x1f0)](){const _0x1ddf01=a0_0x4986fd;return this[_0x1ddf01(0x374)]();}[a0_0x4986fd(0x1d2)](){const _0x410b94=a0_0x4986fd,_0x2ad600=this[_0x410b94(0x14b)]();if(!_0x2ad600){const _0x924f27={};return _0x924f27[_0x410b94(0x399)]=!![],_0x924f27[_0x410b94(0x314)]=_0x410b94(0x3aa),_0x924f27[_0x410b94(0x1db)]='',_0x924f27[_0x410b94(0x2e5)]='0000',_0x924f27[_0x410b94(0x3b5)]=null,_0x924f27;}return this[_0x410b94(0x36a)](_0x2ad600);}['generateFromSchema'](_0x1159fa){const _0x4932d1=a0_0x4986fd;if(!_0x1159fa||typeof _0x1159fa!==_0x4932d1(0x236))return{};if(Array[_0x4932d1(0x18f)](_0x1159fa))return _0x1159fa[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1159fa[0x0])]:[];const _0x437afb={};for(const [_0x50ca7f,_0x1823e8]of Object[_0x4932d1(0x353)](_0x1159fa)){if(_0x1823e8&&typeof _0x1823e8===_0x4932d1(0x236)&&!Array['isArray'](_0x1823e8)){const _0x527248=_0x1823e8;_0x437afb[_0x50ca7f]=generateExampleValue(_0x50ca7f,_0x527248['type']||_0x4932d1(0x1b3),undefined,{'description':_0x527248[_0x4932d1(0x19e)]});}else Array[_0x4932d1(0x18f)](_0x1823e8)?_0x437afb[_0x50ca7f]=_0x1823e8[_0x4932d1(0x338)]>0x0?[this[_0x4932d1(0x36a)](_0x1823e8[0x0])]:[]:_0x437afb[_0x50ca7f]=_0x1823e8;}return _0x437afb;}[a0_0x4986fd(0x21c)](_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035){return generateExampleValue(_0xce2e7e,_0xdc63b6,_0x497406,_0x5f3035);}[a0_0x4986fd(0x137)](_0x2a4442,_0x3607ed){const _0xecee5b=a0_0x4986fd,_0x2c7b35=this[_0xecee5b(0x1dd)]();return _0xecee5b(0x380)+_0x2a4442+'.'+_0x2c7b35+_0xecee5b(0x177);}[a0_0x4986fd(0x235)](_0x4451de){const _0x34b8a0=a0_0x4986fd,_0x1727a1=this['getName'](),_0x8c4724=_0x4451de||_0x34b8a0(0x2e4),_0x453d89={};return _0x453d89[_0x34b8a0(0x1c9)]='const\x20data\x20=\x20await\x20client.models.'+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x177),_0x453d89[_0x34b8a0(0x2e5)]=_0x34b8a0(0x1a4)+_0x8c4724+'.'+_0x1727a1+_0x34b8a0(0x35f),_0x453d89;}[a0_0x4986fd(0x25f)](){const _0x2aac69=a0_0x4986fd,_0x22f58c=this[_0x2aac69(0x12d)](),_0x1d0b03=Object[_0x2aac69(0x353)](_0x22f58c)[_0x2aac69(0x30d)](([_0xe8e0fe,_0x213d03])=>{const _0x489bb1=_0x2aac69,_0xc51ab5=_0x213d03,_0x7f40c3={};return _0x7f40c3[_0x489bb1(0x30e)]=_0xe8e0fe,_0x7f40c3[_0x489bb1(0x186)]=_0xc51ab5[_0x489bb1(0x186)]||'String',_0x7f40c3[_0x489bb1(0x19e)]=_0xc51ab5[_0x489bb1(0x19e)]||'-',_0x7f40c3['required']=_0xc51ab5[_0x489bb1(0x2f8)],_0x7f40c3;}),_0x1fad77={};return _0x1fad77[_0x2aac69(0x34d)]=_0x1d0b03,_0x1fad77;}[a0_0x4986fd(0x2e7)](){const _0x771574=a0_0x4986fd,_0x19c568=this[_0x771574(0x14b)]();if(!_0x19c568){const _0x2eb161={};return _0x2eb161[_0x771574(0x34d)]=[],_0x2eb161;}const _0x2b8741=Object[_0x771574(0x353)](_0x19c568)[_0x771574(0x30d)](([_0x5b76a6,_0x1e8e5d])=>{const _0x2bd1b3=_0x771574,_0x595ad4=_0x1e8e5d,_0x3764e4={};return _0x3764e4[_0x2bd1b3(0x30e)]=_0x5b76a6,_0x3764e4[_0x2bd1b3(0x186)]=_0x595ad4[_0x2bd1b3(0x186)]||'String',_0x3764e4[_0x2bd1b3(0x19e)]=_0x595ad4[_0x2bd1b3(0x19e)]||'-',_0x3764e4;}),_0x3046bc={};return _0x3046bc[_0x771574(0x34d)]=_0x2b8741,_0x3046bc;}['getSystemFields'](){return[];}[a0_0x4986fd(0x2c7)](){const _0x1c6624=a0_0x4986fd;return this[_0x1c6624(0x12a)]['fields']||[];}['getAllParams'](){const _0x5d5b20=a0_0x4986fd;return{'systemFields':this[_0x5d5b20(0x165)](),'businessFields':this[_0x5d5b20(0x2c7)]()};}[a0_0x4986fd(0x2fd)](_0x124758){const _0x1ac50d=a0_0x4986fd;return this['context'][_0x1ac50d(0x26d)][_0x1ac50d(0x2b4)](_0x523776=>_0x523776?.[_0x1ac50d(0x3b7)]===_0x124758);}['getFieldCode'](_0x4489ea){const _0x42c86b=a0_0x4986fd;return _0x4489ea[_0x42c86b(0x3b7)];}['getFieldType'](_0x1fff4f){return _0x1fff4f['type'];}[a0_0x4986fd(0x316)](_0x47e834){const _0x5c1fd9=a0_0x4986fd;return _0x47e834[_0x5c1fd9(0x30e)];}['getFieldDescription'](_0x23da94){const _0x3e955f=a0_0x4986fd;return _0x23da94[_0x3e955f(0x19e)];}[a0_0x4986fd(0x116)](_0x5ecde4){const _0x58980c=a0_0x4986fd;return _0x5ecde4[_0x58980c(0x2a5)]()||null;}[a0_0x4986fd(0x126)](_0x385b61){const _0x48b2e1=a0_0x4986fd;return _0x385b61[_0x48b2e1(0x2f6)]();}['getOperators'](){return[];}[a0_0x4986fd(0x231)](_0xb98cb0){return[];}[a0_0x4986fd(0x171)](){const _0x34e27b=a0_0x4986fd;return{'name':this[_0x34e27b(0x1dd)](),'displayName':this[_0x34e27b(0x240)](),'type':this['getType'](),'enabled':this[_0x34e27b(0x282)](),'method':this[_0x34e27b(0x12b)](),'path':this[_0x34e27b(0x329)](),'fullUrl':this[_0x34e27b(0x34e)](),'requestParams':this[_0x34e27b(0x12d)](),'requestExample':this[_0x34e27b(0x374)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x4da4be=a0_0x4986fd,_0x201430=this[_0x4da4be(0x282)]()?'启用':'禁用';return this[_0x4da4be(0x240)]()+'('+this['name']+',\x20'+_0x201430+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x4986fd(0x12d)](){const _0x396171=a0_0x4986fd;return this[_0x396171(0x127)]();}[a0_0x4986fd(0x143)](){const _0x3852ee=a0_0x4986fd;return this[_0x3852ee(0x14b)]();}[a0_0x4986fd(0x374)](){const _0x3368a7=a0_0x4986fd;if(this[_0x3368a7(0x300)])return this[_0x3368a7(0x300)];const _0x6e3fa={},_0x58c478=this[_0x3368a7(0x12d)](),_0x65691f=this[_0x3368a7(0x252)]();if(Object['keys'](_0x58c478)[_0x3368a7(0x338)]===0x0&&_0x65691f){const _0x539ea5=this['getBusinessFields']();return _0x539ea5[_0x3368a7(0x31a)](_0x5910a9=>{const _0x36596a=_0x3368a7,_0x1ed364=_0x5910a9[_0x36596a(0x3b7)],_0x4c55d9=_0x5910a9[_0x36596a(0x186)],_0x2b7e5f=this['generateFieldExample'](_0x1ed364,_0x4c55d9,_0x5910a9[_0x36596a(0x195)](),{'isPrimaryKey':_0x5910a9[_0x36596a(0x2f6)](),'description':_0x5910a9['description']||_0x5910a9[_0x36596a(0x30e)]});_0x6e3fa[_0x1ed364]=_0x2b7e5f;}),this[_0x3368a7(0x300)]=_0x6e3fa,_0x6e3fa;}return Object[_0x3368a7(0x353)](_0x58c478)[_0x3368a7(0x31a)](([_0x1758bd,_0x104b50])=>{const _0x98e929=_0x3368a7,_0x52d545=_0x104b50;let _0x3a67ad;if(typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x388))_0x3a67ad=_0x52d545[_0x98e929(0x186)];else _0x52d545['type']&&typeof _0x52d545[_0x98e929(0x186)]===_0x98e929(0x236)?_0x3a67ad=_0x52d545[_0x98e929(0x186)][_0x98e929(0x186)]||_0x98e929(0x139):_0x3a67ad=_0x98e929(0x139);const _0x46472a=_0x52d545[_0x98e929(0x19e)],_0x3e7da9=this[_0x98e929(0x2fd)](_0x1758bd);if(_0x1758bd===_0x98e929(0x27f))_0x6e3fa[_0x1758bd]=0x1;else{if(_0x1758bd===_0x98e929(0x1bc))_0x6e3fa[_0x1758bd]=0xa;else{if(_0x1758bd==='id')_0x6e3fa[_0x1758bd]=0x1;else{const _0x564e78=_0x3e7da9?_0x3e7da9[_0x98e929(0x195)]():undefined,_0x1c3b9b=_0x3e7da9?_0x3e7da9['description']:undefined,_0x209eb2=_0x3e7da9?_0x3e7da9[_0x98e929(0x30e)]:undefined;_0x6e3fa[_0x1758bd]=this['generateFieldExample'](_0x1758bd,_0x3a67ad,_0x564e78||undefined,{'isPrimaryKey':_0x1758bd===this[_0x98e929(0x12a)][_0x98e929(0x1a1)]||_0x1758bd==='id','description':_0x46472a||_0x1c3b9b||_0x209eb2});}}}}),this['_requestExampleCache']=_0x6e3fa,_0x6e3fa;}[a0_0x4986fd(0x1d2)](){const _0x4173a9=a0_0x4986fd,_0x4fda0e=this['getResponseSchema']();if(!_0x4fda0e){const _0x2f0db4={};return _0x2f0db4['success']=!![],_0x2f0db4[_0x4173a9(0x314)]=_0x4173a9(0x3aa),_0x2f0db4['errorMsg']='',_0x2f0db4[_0x4173a9(0x2e5)]=_0x4173a9(0x1c2),_0x2f0db4[_0x4173a9(0x3b5)]=null,_0x2f0db4;}return this[_0x4173a9(0x36a)](_0x4fda0e);}[a0_0x4986fd(0x36a)](_0x17aabc){const _0x32c40f=a0_0x4986fd;if(!_0x17aabc||typeof _0x17aabc!==_0x32c40f(0x236))return{};if(Array[_0x32c40f(0x18f)](_0x17aabc)){if(_0x17aabc[_0x32c40f(0x338)]>0x0)return[this['generateFromSchema'](_0x17aabc[0x0])];return[];}const _0xcbd701={};return Object[_0x32c40f(0x1b1)](_0x17aabc)[_0x32c40f(0x31a)](_0x3f5f85=>{const _0x3f193e=_0x32c40f,_0x261b6c=_0x17aabc[_0x3f5f85];if(_0x261b6c&&typeof _0x261b6c==='object'&&!Array[_0x3f193e(0x18f)](_0x261b6c)&&_0x261b6c['type']){const _0x16722b=_0x261b6c;let _0x42d313;if(typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x388))_0x42d313=_0x16722b['type'];else _0x16722b[_0x3f193e(0x186)]&&typeof _0x16722b[_0x3f193e(0x186)]===_0x3f193e(0x236)?_0x42d313=_0x16722b[_0x3f193e(0x186)]['type']||_0x3f193e(0x139):_0x42d313=_0x3f193e(0x139);const _0xcb84fb=_0x16722b['description'],_0x18ef7b={};_0x18ef7b['description']=_0xcb84fb,_0xcbd701[_0x3f5f85]=this['generateFieldExample'](_0x3f5f85,_0x42d313,undefined,_0x18ef7b);}else{if(Array[_0x3f193e(0x18f)](_0x261b6c))_0xcbd701[_0x3f5f85]=_0x261b6c['length']>0x0?[this[_0x3f193e(0x36a)](_0x261b6c[0x0])]:[];else _0x261b6c&&typeof _0x261b6c===_0x3f193e(0x236)?_0xcbd701[_0x3f5f85]=this[_0x3f193e(0x36a)](_0x261b6c):_0xcbd701[_0x3f5f85]=_0x261b6c;}}),_0xcbd701;}[a0_0x4986fd(0x137)](_0x19e5ce,_0x538de3){const _0x5eda79=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x538de3||{},_0x500ddc=this['getName'](),_0x2cb4e3=this[_0x5eda79(0x252)](),_0x5b4dfe=this[_0x5eda79(0x281)](),_0x47ddcc=this[_0x5eda79(0x374)](),_0x33a956=_0x30ed7b=>{const _0x511694=_0x5eda79;if(Object[_0x511694(0x1b1)](_0x30ed7b)['length']===0x0)return'{}';const _0x4b1b70=JSON[_0x511694(0x122)](_0x30ed7b,null,0x2)[_0x511694(0x398)]('\x0a')['map']((_0x29af77,_0x41af28)=>_0x41af28===0x0?_0x29af77:indent+_0x29af77)[_0x511694(0x348)]('\x0a');return _0x4b1b70;};switch(_0x2cb4e3){case _0x5eda79(0x344):case _0x5eda79(0x270):return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x375);case _0x5eda79(0x1c5):if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x2e0)+_0x33a956(_0x47ddcc)+');';return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x166);case _0x5eda79(0x38a):case _0x5eda79(0x208):case _0x5eda79(0x224):default:if(_0x5b4dfe[_0x5eda79(0x338)]>0x0){if(useFullExample&&Object[_0x5eda79(0x1b1)](_0x47ddcc)[_0x5eda79(0x338)]>0x0)return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'('+_0x33a956(_0x47ddcc)+');';else{const _0x27ced9=Object[_0x5eda79(0x1b1)](_0x47ddcc);if(_0x27ced9[_0x5eda79(0x338)]>0x0){const _0x11ba07=_0x27ced9[_0x5eda79(0x14d)](0x0,0x2)['join'](',\x20');return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x38f)+_0x11ba07+_0x5eda79(0x39f);}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+'(params);';}}else return _0x5eda79(0x380)+_0x19e5ce+'.'+_0x500ddc+_0x5eda79(0x177);}}[a0_0x4986fd(0x3b0)](){const _0x234915=a0_0x4986fd;return[{'title':_0x234915(0x386),'data':this[_0x234915(0x374)]()}];}[a0_0x4986fd(0x165)](){const _0x1e1c46=a0_0x4986fd,_0x3df8bf=this[_0x1e1c46(0x252)](),_0x52af7d=[];switch(_0x3df8bf){case _0x1e1c46(0x344):case _0x1e1c46(0x270):const _0x3ba0b6={};_0x3ba0b6[_0x1e1c46(0x3b7)]='id',_0x3ba0b6[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x3ba0b6[_0x1e1c46(0x19e)]='主键ID',_0x52af7d['push'](_0x3ba0b6);break;case _0x1e1c46(0x208):const _0x581c18={};_0x581c18[_0x1e1c46(0x3b7)]='currentPage',_0x581c18[_0x1e1c46(0x186)]='NUMBER',_0x581c18[_0x1e1c46(0x19e)]='当前页码';const _0x532be3={};_0x532be3[_0x1e1c46(0x3b7)]=_0x1e1c46(0x1bc),_0x532be3[_0x1e1c46(0x186)]=_0x1e1c46(0x1f9),_0x532be3['description']=_0x1e1c46(0x24a),_0x52af7d['push'](_0x581c18,_0x532be3);break;case'getSelectOptions':const _0x1df286={};_0x1df286[_0x1e1c46(0x3b7)]=_0x1e1c46(0x3b7),_0x1df286[_0x1e1c46(0x186)]='STRING',_0x1df286[_0x1e1c46(0x19e)]=_0x1e1c46(0x24c),_0x52af7d[_0x1e1c46(0x279)](_0x1df286);break;default:break;}return _0x52af7d;}[a0_0x4986fd(0x2c7)](){const _0x4a5704=a0_0x4986fd,_0x515435=this['getType'](),_0x1e6bcf=this[_0x4a5704(0x12a)][_0x4a5704(0x26d)]||[];switch(_0x515435){case'getOne':case _0x4a5704(0x270):return[];case _0x4a5704(0x38a):return _0x1e6bcf[_0x4a5704(0x276)](_0x4a9e9=>{const _0x2d2042=_0x4a5704;if(_0x4a9e9[_0x2d2042(0x37d)])return![];if(_0x4a9e9[_0x2d2042(0x2f6)]()&&_0x4a9e9[_0x2d2042(0x2cf)]())return![];if(_0x4a9e9[_0x2d2042(0x2b3)]())return![];if(_0x4a9e9[_0x2d2042(0x34c)]()||_0x4a9e9[_0x2d2042(0x337)]())return![];return!![];});case _0x4a5704(0x1c5):return _0x1e6bcf[_0x4a5704(0x276)](_0x519a7e=>{const _0x181567=_0x4a5704;if(_0x519a7e[_0x181567(0x37d)])return![];if(_0x519a7e[_0x181567(0x2f6)]())return![];if(_0x519a7e[_0x181567(0x2b3)]())return![];if(_0x519a7e[_0x181567(0x34c)]()||_0x519a7e[_0x181567(0x337)]())return![];if(_0x519a7e[_0x181567(0x2cf)]())return![];return!![];});case'getList':case _0x4a5704(0x224):return _0x1e6bcf[_0x4a5704(0x276)](_0xd87d7f=>!_0xd87d7f[_0x4a5704(0x37d)]&&_0xd87d7f[_0x4a5704(0x1bb)]());default:return _0x1e6bcf[_0x4a5704(0x276)](_0x16934b=>!_0x16934b[_0x4a5704(0x37d)]&&_0x16934b[_0x4a5704(0x1bb)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x58fd56=a0_0x4986fd,_0x5783cd=super['getRequestParams'](),_0x43898e=Object[_0x58fd56(0x1b1)](_0x5783cd);if(_0x43898e[_0x58fd56(0x338)]===0x0||_0x43898e[_0x58fd56(0x338)]===0x1&&_0x43898e[0x0]===_0x58fd56(0x3b7)){if(!_0x5783cd['code']){const _0x62ed3a={};_0x62ed3a[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x62ed3a['description']=_0x58fd56(0x2fe),_0x5783cd[_0x58fd56(0x3b7)]=_0x62ed3a;}const _0x84357c={};_0x84357c[_0x58fd56(0x186)]=_0x58fd56(0x1b3),_0x84357c[_0x58fd56(0x19e)]=_0x58fd56(0x291),_0x5783cd[_0x58fd56(0x169)]=_0x84357c;}return _0x5783cd;}['getBusinessFields'](){return[];}[a0_0x4986fd(0x165)](){const _0x3f6827=a0_0x4986fd,_0x10985a={};_0x10985a[_0x3f6827(0x3b7)]='code',_0x10985a[_0x3f6827(0x186)]=_0x3f6827(0x1b3),_0x10985a[_0x3f6827(0x19e)]=_0x3f6827(0x2fe);const _0x1646a4={};return _0x1646a4['code']=_0x3f6827(0x169),_0x1646a4[_0x3f6827(0x186)]='String',_0x1646a4[_0x3f6827(0x19e)]='字段名称',[_0x10985a,_0x1646a4];}[a0_0x4986fd(0x374)](){const _0x479beb=a0_0x4986fd,_0x3080f4={};return _0x3080f4[_0x479beb(0x3b7)]=_0x479beb(0x30b),_0x3080f4[_0x479beb(0x169)]=_0x479beb(0x30b),_0x3080f4;}[a0_0x4986fd(0x137)](_0x5887ca){const _0x60b83c=a0_0x4986fd,_0x5aa80c=this['getName']();return'const\x20result\x20=\x20await\x20client.models.'+_0x5887ca+'.'+_0x5aa80c+_0x60b83c(0x1c1);}}class GetListOperation extends GenericOperation{[a0_0x4986fd(0x12d)](){const _0x2472f0=a0_0x4986fd,_0x2f9d3e=super[_0x2472f0(0x12d)](),{currentPage:_0x52b310,pageSize:_0x3cecab,..._0x7405f6}=_0x2f9d3e,_0x2eb11b={};Object[_0x2472f0(0x353)](_0x7405f6)[_0x2472f0(0x31a)](([_0x1f59f1,_0x484f9b])=>{const _0x3dd846=_0x2472f0;if(typeof _0x484f9b==='object'&&_0x484f9b!==null){const _0x41f9b5=_0x484f9b,_0x6efd76=_0x41f9b5[_0x3dd846(0x19e)]||'',_0x428eb1={..._0x41f9b5};_0x428eb1[_0x3dd846(0x19e)]=_0x6efd76?_0x6efd76+_0x3dd846(0x369):_0x3dd846(0x32c),_0x2eb11b[_0x1f59f1]=_0x428eb1;}else _0x2eb11b[_0x1f59f1]=_0x484f9b;});const _0x3456dc={...typeof _0x52b310===_0x2472f0(0x236)?_0x52b310:{}};_0x3456dc[_0x2472f0(0x186)]=_0x2472f0(0x25b),_0x3456dc['description']=_0x2472f0(0x120);const _0x4e2326={...typeof _0x3cecab===_0x2472f0(0x236)?_0x3cecab:{}};_0x4e2326['type']=_0x2472f0(0x25b),_0x4e2326[_0x2472f0(0x19e)]=_0x2472f0(0x184);const _0x293f92={..._0x2eb11b};return _0x293f92['currentPage']=_0x3456dc,_0x293f92[_0x2472f0(0x1bc)]=_0x4e2326,_0x293f92;}['generateRequestExample'](_0xc74371){const _0x4d251d=a0_0x4986fd,{useArrayValues:useArrayValues=!![]}=_0xc74371||{},_0x38e75f=super[_0x4d251d(0x374)](),{currentPage:_0x162b55,pageSize:_0x9a0b91,..._0x1f106c}=_0x38e75f;if(!useArrayValues){const _0x14193c={..._0x1f106c};return _0x14193c[_0x4d251d(0x27f)]=_0x162b55??0x1,_0x14193c[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x14193c;}const _0x25abb0={},_0x288346=['id',_0x4d251d(0x135),_0x4d251d(0x3b7),_0x4d251d(0x186)];Object['entries'](_0x1f106c)[_0x4d251d(0x31a)](([_0x2ac3b6,_0x3fdec2],_0x3e37d0)=>{const _0x2100d9=_0x4d251d,_0x1bd1c2=_0x288346['some'](_0x378264=>_0x2ac3b6[_0x2100d9(0x258)]()['includes'](_0x378264))||_0x3e37d0%0x3===0x0;if(_0x1bd1c2&&_0x3fdec2!==null&&_0x3fdec2!==undefined){if(typeof _0x3fdec2==='number')_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+0x1,_0x3fdec2+0x2];else typeof _0x3fdec2===_0x2100d9(0x388)?_0x25abb0[_0x2ac3b6]=[_0x3fdec2,_0x3fdec2+'_2',_0x3fdec2+'_3']:_0x25abb0[_0x2ac3b6]=[_0x3fdec2];}else _0x25abb0[_0x2ac3b6]=_0x3fdec2;});const _0x1dc982={..._0x25abb0};return _0x1dc982['currentPage']=_0x162b55??0x1,_0x1dc982[_0x4d251d(0x1bc)]=_0x9a0b91??0xa,_0x1dc982;}['generateSingleValueExample'](){const _0x3a13d3=a0_0x4986fd,_0x488ce4={};return _0x488ce4['useArrayValues']=![],this[_0x3a13d3(0x374)](_0x488ce4);}[a0_0x4986fd(0x3b0)](){const _0xa040d5=a0_0x4986fd;return[{'title':_0xa040d5(0x3bc),'description':_0xa040d5(0x2d1),'data':this[_0xa040d5(0x1eb)]()},{'title':_0xa040d5(0x1a8),'description':'支持多个条件','data':this[_0xa040d5(0x374)]()}];}['generateSDKCallCode'](_0x3f5919,_0x39a374){const _0x2930db=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x39a374||{},_0xc19525=this[_0x2930db(0x1dd)](),_0x42e0a4={};_0x42e0a4[_0x2930db(0x242)]=!![];const _0x4a9373=this['generateRequestExample'](_0x42e0a4),{currentPage:_0x214883,pageSize:_0x492423,..._0x510889}=_0x4a9373;if(useFullExample&&Object['keys'](_0x4a9373)['length']>0x0){const _0x3e2e25=Object[_0x2930db(0x1b1)](_0x510889)[_0x2930db(0x338)]>0x0;if(_0x3e2e25){const _0x389426=this[_0x2930db(0x1eb)](),_0x182cd3=_0x4f9aac=>{const _0x118399=_0x2930db;return JSON[_0x118399(0x122)](_0x4f9aac,null,0x2)[_0x118399(0x398)]('\x0a')['map']((_0x39e575,_0x34ab18)=>_0x34ab18===0x0?_0x39e575:indent+_0x39e575)['join']('\x0a');};return _0x2930db(0x23b)+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x389426)+');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x182cd3(_0x4a9373)+');';}else{const _0x4a43ca=JSON[_0x2930db(0x122)](_0x4a9373,null,0x2)[_0x2930db(0x398)]('\x0a')[_0x2930db(0x30d)]((_0x53a02e,_0x57bc58)=>_0x57bc58===0x0?_0x53a02e:indent+_0x53a02e)[_0x2930db(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+'('+_0x4a43ca+');';}}if(Object[_0x2930db(0x1b1)](_0x510889)['length']>0x0){const _0xc0d80e=Object['keys'](_0x510889)[0x0];return'const\x20result\x20=\x20await\x20client.models.'+_0x3f5919+'.'+_0xc19525+_0x2930db(0x38f)+_0xc0d80e+_0x2930db(0x1aa);}return _0x2930db(0x380)+_0x3f5919+'.'+_0xc19525+_0x2930db(0x3c1);}}var AGGREGATE_FUNCTIONS=['sum',a0_0x4986fd(0x202),a0_0x4986fd(0x37b),a0_0x4986fd(0x107),a0_0x4986fd(0x3c3)],FILTER_OPERATORS=[a0_0x4986fd(0x33d),a0_0x4986fd(0x382),a0_0x4986fd(0x163),a0_0x4986fd(0x3c5),a0_0x4986fd(0x3c0),a0_0x4986fd(0x221),a0_0x4986fd(0x125),a0_0x4986fd(0x26a),a0_0x4986fd(0x155),a0_0x4986fd(0x24b),a0_0x4986fd(0x396),a0_0x4986fd(0x223)];class FilterOperation extends GenericOperation{constructor(_0x5113ea,_0x4e883d,_0x313e6a){super(_0x5113ea,_0x4e883d,_0x313e6a);}[a0_0x4986fd(0x213)](){return FILTER_OPERATORS;}['getFieldOperators'](_0x19f93f){const _0x3d0dc9=a0_0x4986fd,_0x28a8ec=this[_0x3d0dc9(0x2fd)](_0x19f93f);if(!_0x28a8ec)return[];return this[_0x3d0dc9(0x254)](_0x28a8ec);}[a0_0x4986fd(0x12d)](){const _0x529cb2=a0_0x4986fd,_0x4d1e84=super[_0x529cb2(0x12d)](),_0x3f01ec={};_0x3f01ec[_0x529cb2(0x186)]=_0x529cb2(0x37e),_0x3f01ec[_0x529cb2(0x19e)]='查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)',_0x3f01ec['required']=![];const _0x556b6b={};_0x556b6b[_0x529cb2(0x186)]=_0x529cb2(0x361),_0x556b6b['description']=_0x529cb2(0x2ce),_0x556b6b[_0x529cb2(0x2f8)]=![];const _0x29d967={};_0x29d967['type']=_0x529cb2(0x16d),_0x29d967[_0x529cb2(0x19e)]=_0x529cb2(0x22c),_0x29d967[_0x529cb2(0x2f8)]=![];const _0x4b3d2c={};_0x4b3d2c[_0x529cb2(0x186)]=_0x529cb2(0x25b),_0x4b3d2c[_0x529cb2(0x19e)]=_0x529cb2(0x120),_0x4b3d2c[_0x529cb2(0x2f8)]=![],_0x4b3d2c[_0x529cb2(0x1ff)]=0x1;const _0xe0bfde={};_0xe0bfde['type']=_0x529cb2(0x25b),_0xe0bfde[_0x529cb2(0x19e)]=_0x529cb2(0x184),_0xe0bfde['required']=![],_0xe0bfde[_0x529cb2(0x1ff)]=0xa;const _0xe29bbe={..._0x4d1e84};return _0xe29bbe[_0x529cb2(0x1e7)]=_0x3f01ec,_0xe29bbe[_0x529cb2(0x16b)]=_0x556b6b,_0xe29bbe['orderBy']=_0x29d967,_0xe29bbe[_0x529cb2(0x27f)]=_0x4b3d2c,_0xe29bbe[_0x529cb2(0x1bc)]=_0xe0bfde,_0xe29bbe;}[a0_0x4986fd(0x165)](){const _0x19ec29=a0_0x4986fd,_0x4e3274=this[_0x19ec29(0x12d)](),_0xaf8b8d=[],_0x24c61b=[_0x19ec29(0x1e7),_0x19ec29(0x16b),_0x19ec29(0x37c),_0x19ec29(0x27f),'pageSize'];return Object[_0x19ec29(0x353)](_0x4e3274)[_0x19ec29(0x31a)](([_0x5d56ca,_0x284b98])=>{const _0x2ac858=_0x19ec29;if(_0x24c61b[_0x2ac858(0x228)](_0x5d56ca)){const _0x2a3f3a=_0x284b98,_0x3bb522={};_0x3bb522[_0x2ac858(0x3b7)]=_0x5d56ca,_0x3bb522[_0x2ac858(0x186)]=_0x2a3f3a[_0x2ac858(0x186)]||'Object',_0x3bb522[_0x2ac858(0x19e)]=_0x2a3f3a[_0x2ac858(0x19e)]||'-',_0xaf8b8d['push'](_0x3bb522);}}),_0xaf8b8d;}[a0_0x4986fd(0x2c7)](){const _0x7d7d2=a0_0x4986fd;return this[_0x7d7d2(0x12a)][_0x7d7d2(0x26d)]||[];}[a0_0x4986fd(0x2c8)](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x4986fd(0x374)](){const _0x42df96=a0_0x4986fd,_0x32be88=this[_0x42df96(0x12a)][_0x42df96(0x26d)]||[];if(_0x32be88['length']===0x0){const _0x35a63a={};return _0x35a63a[_0x42df96(0x1e7)]={},_0x35a63a[_0x42df96(0x27f)]=0x1,_0x35a63a['pageSize']=0x14,_0x35a63a;}const _0x1d9a03={},_0x352f78=_0x32be88[_0x42df96(0x14d)](0x0,Math['min'](0x3,_0x32be88[_0x42df96(0x338)]));_0x352f78['forEach'](_0x440694=>{const _0x1cc9b1=_0x42df96,_0x5a1911=this[_0x1cc9b1(0x254)](_0x440694);if(_0x5a1911[_0x1cc9b1(0x338)]===0x0)return;const _0x24f32f=this[_0x1cc9b1(0x3b3)](_0x440694,_0x5a1911),_0x1bca66=this[_0x1cc9b1(0x3b4)](_0x440694,_0x24f32f),_0x30351a={};_0x30351a[_0x24f32f]=_0x1bca66,_0x1d9a03[_0x440694[_0x1cc9b1(0x3b7)]]=_0x30351a;});const _0x19a0d4=_0x32be88['slice'](0x0,Math[_0x42df96(0x3c3)](0x5,_0x32be88[_0x42df96(0x338)]))['map'](_0x3ecd16=>_0x3ecd16['code']),_0x3bc124=_0x32be88[0x0]?_0x32be88[0x0][_0x42df96(0x3b7)]:'id',_0x385801={};_0x385801[_0x3bc124]='DESC';const _0x1836b5={};return _0x1836b5['where']=_0x1d9a03,_0x1836b5['select']=_0x19a0d4,_0x1836b5[_0x42df96(0x37c)]=[_0x385801],_0x1836b5['currentPage']=0x1,_0x1836b5[_0x42df96(0x1bc)]=0x14,_0x1836b5;}[a0_0x4986fd(0x137)](_0x5b5376,_0xcb62d2){const _0x3780c5=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0xcb62d2||{},_0x1c2d49=this[_0x3780c5(0x1dd)](),_0x14b02a=this[_0x3780c5(0x374)](),_0x832e2=_0x178e3c=>{const _0x5e5455=_0x3780c5;return JSON[_0x5e5455(0x122)](_0x178e3c,null,0x2)[_0x5e5455(0x398)]('\x0a')[_0x5e5455(0x30d)]((_0x1d0009,_0x460d10)=>_0x460d10===0x0?_0x1d0009:indent+_0x1d0009)[_0x5e5455(0x348)]('\x0a');};if(useFullExample){const _0x4b5cf8=this[_0x3780c5(0x12a)]['fields']||[],_0x5c4468={'where':_0x4b5cf8[0x0]?{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:{'$eq':this[_0x3780c5(0x3b4)](_0x4b5cf8[0x0],'$eq')}}:{},'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x3)[_0x3780c5(0x30d)](_0x203b78=>_0x203b78[_0x3780c5(0x3b7)]),'currentPage':0x1,'pageSize':0x14};let _0x4e18d3='';if(_0x4b5cf8[_0x3780c5(0x338)]>=0x3){const _0xf3bf20={};_0xf3bf20[_0x3780c5(0x396)]=[];const _0x49050b=_0xf3bf20,_0xdedf8c=[];if(_0x4b5cf8[_0x3780c5(0x338)]>0x0){const _0x5578fb=_0x4b5cf8[_0x3780c5(0x2b4)](_0x85d38a=>{const _0x3db14b=_0x3780c5,_0x2e22cd=_0x85d38a['getDbTypeForOperation']();return['NUMBER','INTEGER','BIGINT',_0x3db14b(0x1b2),_0x3db14b(0x2ed),'SMALLINT'][_0x3db14b(0x228)](_0x2e22cd);});if(_0x5578fb){const _0x3a54df={};_0x3a54df[_0x3780c5(0x163)]=0x0,_0x3a54df['$lte']=0x64;const _0x2c0b01={[_0x5578fb['code']]:_0x3a54df};_0xdedf8c[_0x3780c5(0x279)](_0x2c0b01);}}if(_0x4b5cf8['length']>0x1){const _0x582b94=_0x4b5cf8[_0x3780c5(0x2b4)](_0x5ba6a7=>{const _0x31a97d=_0x3780c5,_0xa0beae=_0x5ba6a7[_0x31a97d(0x195)]();return[_0x31a97d(0x3ab),'TEXT',_0x31a97d(0x2e9),_0x31a97d(0x319),_0x31a97d(0x367)][_0x31a97d(0x228)](_0xa0beae);});if(_0x582b94){const _0x1526eb={};_0x1526eb['$contain']=_0x3780c5(0x2e3);const _0x79580e={[_0x582b94[_0x3780c5(0x3b7)]]:_0x1526eb};_0xdedf8c[_0x3780c5(0x279)](_0x79580e);}}if(_0xdedf8c[_0x3780c5(0x338)]>0x0){_0x49050b[_0x3780c5(0x396)]=_0xdedf8c;const _0x55913d={'where':_0x49050b,'select':_0x4b5cf8[_0x3780c5(0x14d)](0x0,0x4)['map'](_0x5d15a9=>_0x5d15a9[_0x3780c5(0x3b7)]),'orderBy':[{[_0x4b5cf8[0x0][_0x3780c5(0x3b7)]]:_0x3780c5(0x220)}],'currentPage':0x1,'pageSize':0x14};_0x4e18d3='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x55913d)+');';}}return _0x3780c5(0x20c)+_0x5b5376+'.'+_0x1c2d49+'('+_0x832e2(_0x5c4468)+');'+_0x4e18d3;}const _0x35b5de=JSON[_0x3780c5(0x122)](_0x14b02a,null,0x2)['split']('\x0a')[_0x3780c5(0x30d)]((_0x19f7cd,_0x207955)=>_0x207955===0x0?_0x19f7cd:indent+_0x19f7cd)[_0x3780c5(0x348)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5b5376+'.'+_0x1c2d49+'('+_0x35b5de+');';}[a0_0x4986fd(0x254)](_0x200759){const _0x39ae3d=a0_0x4986fd,_0x6449f5=_0x200759[_0x39ae3d(0x195)](),_0x355df3=[];if([_0x39ae3d(0x1f9),'INTEGER',_0x39ae3d(0x38c),_0x39ae3d(0x19a)]['includes'](_0x6449f5)||[_0x39ae3d(0x1b2),'TINYINT',_0x39ae3d(0x215),_0x39ae3d(0x334),_0x39ae3d(0x39a)]['includes'](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),_0x39ae3d(0x3c0),_0x39ae3d(0x3c5),_0x39ae3d(0x221),_0x39ae3d(0x125));else{if(['STRING',_0x39ae3d(0x139),_0x39ae3d(0x2e9)][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x319),'LONGTEXT'][_0x39ae3d(0x228)](_0x6449f5))_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x125),_0x39ae3d(0x26a),_0x39ae3d(0x155),_0x39ae3d(0x24b));else{if([_0x39ae3d(0x32d),_0x39ae3d(0x3ac),'TIMESTAMP'][_0x39ae3d(0x228)](_0x6449f5)||[_0x39ae3d(0x2a8)]['includes'](_0x6449f5))_0x355df3['push'](_0x39ae3d(0x33d),_0x39ae3d(0x382),_0x39ae3d(0x163),'$lte','$gteq','$lteq');else[_0x39ae3d(0x30f),'BOOL',_0x39ae3d(0x2fb)][_0x39ae3d(0x228)](_0x6449f5)?_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382)):_0x355df3[_0x39ae3d(0x279)](_0x39ae3d(0x33d),_0x39ae3d(0x382));}}return _0x355df3;}[a0_0x4986fd(0x3b3)](_0x54f78b,_0x23c723){const _0x2432a6=a0_0x4986fd,_0x269c1c=_0x54f78b['getDbTypeForOperation']();if([_0x2432a6(0x1f9),_0x2432a6(0x304),'BIGINT','DECIMAL'][_0x2432a6(0x228)](_0x269c1c)||[_0x2432a6(0x1b2),'TINYINT',_0x2432a6(0x215),_0x2432a6(0x334),_0x2432a6(0x39a)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$gte')?'$gte':_0x2432a6(0x33d);if(['STRING',_0x2432a6(0x139),_0x2432a6(0x2e9)]['includes'](_0x269c1c)||[_0x2432a6(0x319),'LONGTEXT'][_0x2432a6(0x228)](_0x269c1c))return _0x23c723[_0x2432a6(0x228)]('$contain')?'$contain':'$eq';if([_0x2432a6(0x32d),'DATETIME',_0x2432a6(0x110),_0x2432a6(0x2a8)][_0x2432a6(0x228)](_0x269c1c))return _0x23c723['includes'](_0x2432a6(0x163))?'$gte':_0x2432a6(0x33d);return _0x2432a6(0x33d);}[a0_0x4986fd(0x3b4)](_0x406e0f,_0x4b19a1){const _0x858cd5=a0_0x4986fd,_0x30f3a4=_0x406e0f['getDbTypeForOperation'](),_0x835da7=_0x406e0f[_0x858cd5(0x2a5)]();if(_0x835da7&&_0x835da7[_0x858cd5(0x338)]>0x0){if(_0x4b19a1==='$in')return _0x835da7[_0x858cd5(0x14d)](0x0,0x2)['map'](_0x3146f0=>_0x3146f0[_0x858cd5(0x31e)]);return _0x835da7[0x0][_0x858cd5(0x31e)];}if(['NUMBER',_0x858cd5(0x304),_0x858cd5(0x38c),_0x858cd5(0x19a)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x1b2),_0x858cd5(0x2ed),_0x858cd5(0x215),'DOUBLE',_0x858cd5(0x39a)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1==='$in')return[0x1,0x2,0x3];if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return 0x0;if(_0x4b19a1===_0x858cd5(0x3c0)||_0x4b19a1===_0x858cd5(0x221))return 0x64;return 0x1;}if([_0x858cd5(0x3ab),_0x858cd5(0x139),_0x858cd5(0x2e9)][_0x858cd5(0x228)](_0x30f3a4)||[_0x858cd5(0x319),_0x858cd5(0x367)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x125))return['value1',_0x858cd5(0x3c6)];if(_0x4b19a1===_0x858cd5(0x26a))return'keyword';if(_0x4b19a1==='$startWith')return _0x858cd5(0x33f);if(_0x4b19a1===_0x858cd5(0x24b))return _0x858cd5(0x1f2);return _0x858cd5(0x31e);}if(['DATE','DATETIME',_0x858cd5(0x110),_0x858cd5(0x2a8)][_0x858cd5(0x228)](_0x30f3a4)){if(_0x4b19a1===_0x858cd5(0x163)||_0x4b19a1===_0x858cd5(0x3c5))return'2024-01-01';if(_0x4b19a1==='$lte'||_0x4b19a1===_0x858cd5(0x221))return _0x858cd5(0x37a);return'2024-01-01';}if(['BOOLEAN','BOOL',_0x858cd5(0x2fb)][_0x858cd5(0x228)](_0x30f3a4))return!![];return _0x4b19a1===_0x858cd5(0x125)?['value1',_0x858cd5(0x3c6)]:'value';}[a0_0x4986fd(0x25f)](){const _0x8896d9=a0_0x4986fd,_0x14bf6d=super[_0x8896d9(0x12d)](),_0x969a44=Object[_0x8896d9(0x353)](_0x14bf6d)[_0x8896d9(0x276)](([_0x33e08d])=>_0x33e08d!==_0x8896d9(0x27f)&&_0x33e08d!=='pageSize')['map'](([_0x28407d,_0x273e7d])=>{const _0x251f0c=_0x8896d9,_0x11e884=_0x273e7d,_0x53ca7a={};return _0x53ca7a['name']=_0x28407d,_0x53ca7a[_0x251f0c(0x186)]=_0x11e884[_0x251f0c(0x186)]||'String',_0x53ca7a[_0x251f0c(0x19e)]=_0x11e884[_0x251f0c(0x19e)]||'-',_0x53ca7a[_0x251f0c(0x2f8)]=_0x11e884['required'],_0x53ca7a;}),_0x402d5f={};return _0x402d5f[_0x8896d9(0x19e)]=_0x8896d9(0x260),_0x402d5f[_0x8896d9(0x34d)]=_0x969a44,_0x402d5f;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x257075=a0_0x4986fd,_0x1dcec9=super[_0x257075(0x12d)]();if(Object[_0x257075(0x1b1)](_0x1dcec9)[_0x257075(0x338)]===0x0){const _0x598b5a={};this[_0x257075(0x12a)][_0x257075(0x26d)][_0x257075(0x31a)](_0x3c218a=>{const _0x26b576=_0x257075;if(_0x3c218a){const _0x44a00b=_0x3c218a[_0x26b576(0x3b7)],_0x15933b=_0x3c218a['getDbTypeForOperation'](),_0x4e9f28={};_0x4e9f28[_0x26b576(0x186)]=_0x15933b||_0x26b576(0x139),_0x4e9f28[_0x26b576(0x1d1)]=_0x3c218a['sortNum'],_0x4e9f28['description']=_0x3c218a[_0x26b576(0x19e)]||_0x3c218a['name'],_0x598b5a[_0x44a00b]=_0x4e9f28;}});const _0x5a3f9c={};_0x5a3f9c[_0x257075(0x186)]=_0x257075(0x357),_0x5a3f9c[_0x257075(0x19e)]=_0x257075(0x1ea),_0x598b5a['currentPage']=_0x5a3f9c;const _0x4fcace={};return _0x4fcace['type']=_0x257075(0x357),_0x4fcace['description']=_0x257075(0x1b9),_0x598b5a[_0x257075(0x1bc)]=_0x4fcace,_0x598b5a;}return _0x1dcec9;}[a0_0x4986fd(0x374)](){const _0xbf2f2a=a0_0x4986fd,_0x7d6ee5=super[_0xbf2f2a(0x374)]();if(Object[_0xbf2f2a(0x1b1)](_0x7d6ee5)[_0xbf2f2a(0x338)]===0x0){const _0x5ad994={};return _0x5ad994[_0xbf2f2a(0x27f)]=0x1,_0x5ad994[_0xbf2f2a(0x1bc)]=0x64,_0x5ad994;}const _0x9662c1={..._0x7d6ee5};return _0x9662c1['currentPage']=_0x7d6ee5[_0xbf2f2a(0x27f)]??0x1,_0x9662c1[_0xbf2f2a(0x1bc)]=_0x7d6ee5[_0xbf2f2a(0x1bc)]??0x64,_0x9662c1;}[a0_0x4986fd(0x1d2)](){const _0x4fe86=a0_0x4986fd,_0x52d154={};return _0x52d154[_0x4fe86(0x399)]=!![],_0x52d154[_0x4fe86(0x314)]='',_0x52d154[_0x4fe86(0x1db)]='',_0x52d154['errorCode']=_0x4fe86(0x1c2),_0x52d154[_0x4fe86(0x3b5)]=_0x4fe86(0x1dc),_0x52d154[_0x4fe86(0x34d)]=null,_0x52d154;}[a0_0x4986fd(0x137)](_0x3b7810,_0x18838f){const _0x2bf8e8=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x18838f||{},_0x475c5c=this[_0x2bf8e8(0x1dd)]();if(useFullExample){const _0xbae615=this[_0x2bf8e8(0x374)](),{currentPage:_0x2ffded,pageSize:_0x5a1f64,..._0x8e2535}=_0xbae615,_0x9f77cc=Object[_0x2bf8e8(0x1b1)](_0x8e2535)[_0x2bf8e8(0x338)]>0x0;if(_0x9f77cc){const _0x3f607b=_0x2e1a3e=>{const _0xdf3898=_0x2bf8e8;return JSON[_0xdf3898(0x122)](_0x2e1a3e,null,0x2)[_0xdf3898(0x398)]('\x0a')['map']((_0xf79bf9,_0x5e598c)=>_0x5e598c===0x0?_0xf79bf9:indent+_0xf79bf9)['join']('\x0a');};return _0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x392)+_0x3b7810+'.'+_0x475c5c+'('+_0x3f607b(_0xbae615)+');';}else{const _0x72651b=_0xdf0c42=>{const _0x1f42cd=_0x2bf8e8;return JSON['stringify'](_0xdf0c42,null,0x2)[_0x1f42cd(0x398)]('\x0a')[_0x1f42cd(0x30d)]((_0x32ed7b,_0x399322)=>_0x399322===0x0?_0x32ed7b:indent+_0x32ed7b)[_0x1f42cd(0x348)]('\x0a');},_0xaeb687={};return _0xaeb687[_0x2bf8e8(0x27f)]=0x1,_0xaeb687[_0x2bf8e8(0x1bc)]=0x64,_0x2bf8e8(0x2c6)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x109)+_0x3b7810+'.'+_0x475c5c+'('+_0x72651b(_0xaeb687)+');';}}return _0x2bf8e8(0x36d)+_0x3b7810+'.'+_0x475c5c+_0x2bf8e8(0x39d);}[a0_0x4986fd(0x235)](_0x2667b0){const _0x2c57dd=a0_0x4986fd,_0x75dc82=this[_0x2c57dd(0x1dd)](),_0x4bb5f1=_0x2667b0||_0x2c57dd(0x2e4),_0x5541d2=_0x2c57dd(0x1e6)+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x1ee),_0x2fe595='//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.'+_0x4bb5f1+'.'+_0x75dc82+_0x2c57dd(0x179),_0x5ff24d={};return _0x5ff24d[_0x2c57dd(0x1c9)]=_0x5541d2,_0x5ff24d['errorCode']=_0x2fe595,_0x5ff24d;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0x14a422=a0_0x4986fd;return this[_0x14a422(0x127)]();}[a0_0x4986fd(0x12d)](){const _0x1593bd=a0_0x4986fd,_0x51f29f=this[_0x1593bd(0x172)](),_0x489bdf={};_0x489bdf[_0x1593bd(0x186)]='NUMBER',_0x489bdf[_0x1593bd(0x19e)]=_0x1593bd(0x267),_0x489bdf[_0x1593bd(0x2f8)]=!![];const _0x112621={};_0x112621[_0x1593bd(0x186)]=_0x1593bd(0x236),_0x112621[_0x1593bd(0x19e)]=_0x1593bd(0x29f),_0x112621[_0x1593bd(0x2f8)]=!![],_0x112621[_0x1593bd(0x2ff)]=_0x51f29f;const _0x4241d5={};return _0x4241d5['id']=_0x489bdf,_0x4241d5['data']=_0x112621,_0x4241d5;}[a0_0x4986fd(0x28b)](){const _0x42c338=a0_0x4986fd;return this[_0x42c338(0x172)]();}[a0_0x4986fd(0x309)](){const _0x565c74=a0_0x4986fd,_0x5db358=this[_0x565c74(0x12a)][_0x565c74(0x26d)]||[],_0x422f15=this[_0x565c74(0x12a)][_0x565c74(0x1a1)],_0x368119=_0x5db358['find'](_0x217cde=>_0x217cde['isPrimaryKey']()||_0x217cde[_0x565c74(0x3b7)]===_0x422f15),_0x5bd023=_0x5db358[_0x565c74(0x276)](_0x3efb62=>{const _0x2abb57=_0x565c74;if(_0x3efb62[_0x2abb57(0x37d)])return![];if(_0x3efb62===_0x368119||_0x3efb62[_0x2abb57(0x2f6)]())return![];if(_0x3efb62[_0x2abb57(0x34c)]()||_0x3efb62[_0x2abb57(0x337)]())return![];if(_0x3efb62[_0x2abb57(0x2cf)]())return![];return!![];});return _0x368119?[_0x368119,..._0x5bd023]:_0x5bd023;}[a0_0x4986fd(0x1ab)](){const _0x14191d=a0_0x4986fd,_0x542ed6=this[_0x14191d(0x309)](),_0x5a0453=this[_0x14191d(0x12a)][_0x14191d(0x1a1)],_0x6412df=_0x542ed6[_0x14191d(0x30d)](_0x291d85=>{const _0x22cc55=_0x14191d,_0x7a6572=_0x291d85[_0x22cc55(0x2f6)]()||_0x291d85['code']===_0x5a0453,_0x4704b5=_0x7a6572?'id':_0x291d85[_0x22cc55(0x3b7)],_0x2467f9={};return _0x2467f9[_0x22cc55(0x30e)]=_0x4704b5,_0x2467f9[_0x22cc55(0x186)]=_0x291d85[_0x22cc55(0x186)],_0x2467f9['description']=_0x7a6572?_0x22cc55(0x2f7)+(_0x5a0453&&_0x5a0453!==_0x291d85[_0x22cc55(0x3b7)]?_0x22cc55(0x3be)+_0x291d85[_0x22cc55(0x3b7)]+')':''):_0x291d85[_0x22cc55(0x19e)]||_0x291d85[_0x22cc55(0x30e)],_0x2467f9;}),_0x2ffb5e={};return _0x2ffb5e[_0x14191d(0x19e)]=_0x14191d(0x355),_0x2ffb5e[_0x14191d(0x34d)]=_0x6412df,_0x2ffb5e;}[a0_0x4986fd(0x25f)](){const _0x2d95c1=a0_0x4986fd,_0x1a8e03=this[_0x2d95c1(0x172)](),_0x2c8ab5=Object[_0x2d95c1(0x353)](_0x1a8e03)[_0x2d95c1(0x30d)](([_0xec20b8,_0x451d6b])=>{const _0x560abb=_0x2d95c1,_0xc8c47a=_0x451d6b,_0x455044={};return _0x455044[_0x560abb(0x30e)]=_0xec20b8,_0x455044[_0x560abb(0x186)]=_0xc8c47a[_0x560abb(0x186)]||_0x560abb(0x1b3),_0x455044[_0x560abb(0x19e)]=_0xc8c47a['description']||'-',_0x455044;}),_0x14ddff={};return _0x14ddff['description']=_0x2d95c1(0x2f3)+_0x2d95c1(0x1c8)+_0x2d95c1(0x2c2)+_0x2d95c1(0x16f)+_0x2d95c1(0x17c)+_0x2d95c1(0x132),_0x14ddff[_0x2d95c1(0x34d)]=_0x2c8ab5,_0x14ddff;}[a0_0x4986fd(0x374)](){const _0x353397=a0_0x4986fd,_0x709a1f=this['getUpdateFields'](),_0x498585={};Object[_0x353397(0x353)](_0x709a1f)[_0x353397(0x31a)](([_0x529a79,_0x5ef5ac])=>{const _0x502207=_0x353397,_0x57aa81=_0x5ef5ac;let _0x5c29b4;if(typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x388))_0x5c29b4=_0x57aa81[_0x502207(0x186)];else _0x57aa81['type']&&typeof _0x57aa81[_0x502207(0x186)]===_0x502207(0x236)?_0x5c29b4=_0x57aa81[_0x502207(0x186)]['type']||_0x502207(0x139):_0x5c29b4=_0x502207(0x139);const _0xaddac=_0x57aa81['description'],_0x1893f9=this['getFieldDefinition'](_0x529a79);_0x498585[_0x529a79]=this[_0x502207(0x21c)](_0x529a79,_0x5c29b4,_0x1893f9?.[_0x502207(0x195)](),{'isPrimaryKey':![],'description':_0xaddac||_0x1893f9?.['description']||_0x1893f9?.[_0x502207(0x30e)]});});const _0x2df90b={};return _0x2df90b['id']=0x1,_0x2df90b[_0x353397(0x3b5)]=_0x498585,_0x2df90b;}[a0_0x4986fd(0x3b0)](){const _0x5ad91d=a0_0x4986fd,_0xb1f567=this[_0x5ad91d(0x374)](),_0x38f0b6={};return _0x38f0b6['title']=_0x5ad91d(0x1cc),_0x38f0b6[_0x5ad91d(0x19e)]=_0x5ad91d(0x15a)+_0x5ad91d(0x21d)+'-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段',_0x38f0b6[_0x5ad91d(0x3b5)]=_0xb1f567,[_0x38f0b6,{'title':_0x5ad91d(0x108),'description':_0x5ad91d(0x34a)+_0x5ad91d(0x1ef)+_0x5ad91d(0x2cc),'data':this[_0x5ad91d(0x286)]()}];}[a0_0x4986fd(0x286)](){const _0xade2b2=a0_0x4986fd,_0x5f1eb8=this[_0xade2b2(0x172)](),_0x1d1f46={};_0x1d1f46['id']=0x1;const _0x39b4e1=_0x1d1f46;return Object['entries'](_0x5f1eb8)[_0xade2b2(0x31a)](([_0x5e1215,_0x141089])=>{const _0x2d392d=_0xade2b2,_0x2b00e9=_0x141089;let _0x11ccea;if(typeof _0x2b00e9[_0x2d392d(0x186)]===_0x2d392d(0x388))_0x11ccea=_0x2b00e9[_0x2d392d(0x186)];else _0x2b00e9['type']&&typeof _0x2b00e9[_0x2d392d(0x186)]==='object'?_0x11ccea=_0x2b00e9[_0x2d392d(0x186)][_0x2d392d(0x186)]||_0x2d392d(0x139):_0x11ccea=_0x2d392d(0x139);const _0x5868b6=_0x2b00e9[_0x2d392d(0x19e)],_0x3ae214=this['getFieldDefinition'](_0x5e1215);if(_0x3ae214?.[_0x2d392d(0x2f6)]())return;_0x39b4e1[_0x5e1215]=this[_0x2d392d(0x21c)](_0x5e1215,_0x11ccea,_0x3ae214?.[_0x2d392d(0x195)](),{'isPrimaryKey':![],'description':_0x5868b6||_0x3ae214?.[_0x2d392d(0x19e)]||_0x3ae214?.[_0x2d392d(0x30e)]});}),_0x39b4e1;}[a0_0x4986fd(0x1f0)](){const _0x296d3f=a0_0x4986fd;return this[_0x296d3f(0x286)]();}[a0_0x4986fd(0x137)](_0x4a7ea9,_0x3557c9){const _0x4f5bea=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3557c9||{},_0x53b9b2=this[_0x4f5bea(0x1dd)]();if(useFullExample){const _0x5855b6=this[_0x4f5bea(0x374)](),_0x5210f6=JSON[_0x4f5bea(0x122)](_0x5855b6[_0x4f5bea(0x3b5)],null,0x2)[_0x4f5bea(0x398)]('\x0a')[_0x4f5bea(0x30d)]((_0x5ade64,_0x2eb662)=>_0x2eb662===0x0?_0x5ade64:indent+_0x5ade64)[_0x4f5bea(0x348)]('\x0a');return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+'('+_0x5855b6['id']+',\x20'+_0x5210f6+');';}return _0x4f5bea(0x380)+_0x4a7ea9+'.'+_0x53b9b2+_0x4f5bea(0x166);}}class AggregateOperation extends GenericOperation{constructor(_0x437224,_0x3ba89e,_0x3e4997){super(_0x437224,_0x3ba89e,_0x3e4997);}[a0_0x4986fd(0x336)](_0x4c7313){const _0xc5039=a0_0x4986fd;return _0x4c7313[_0xc5039(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xc5039(0x356)]()[_0xc5039(0x39b)]();}[a0_0x4986fd(0x214)](){return AGGREGATE_FUNCTIONS;}[a0_0x4986fd(0x12d)](){const _0x257ef6=a0_0x4986fd,_0x3faebe=super[_0x257ef6(0x12d)](),_0x5d57ff={};_0x5d57ff[_0x257ef6(0x186)]='String[]',_0x5d57ff[_0x257ef6(0x19e)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x5d57ff[_0x257ef6(0x2f8)]=![];const _0x115274={};_0x115274[_0x257ef6(0x186)]='Object',_0x115274[_0x257ef6(0x19e)]=_0x257ef6(0x22b),_0x115274[_0x257ef6(0x2f8)]=![];const _0x56745b={};_0x56745b[_0x257ef6(0x186)]=_0x257ef6(0x361),_0x56745b[_0x257ef6(0x19e)]=_0x257ef6(0x342),_0x56745b[_0x257ef6(0x2f8)]=![];const _0x51bfa6={};_0x51bfa6[_0x257ef6(0x186)]=_0x257ef6(0x136),_0x51bfa6['description']=_0x257ef6(0x264),_0x51bfa6[_0x257ef6(0x2f8)]=![];const _0x324fb7={};_0x324fb7[_0x257ef6(0x186)]='Array',_0x324fb7['description']=_0x257ef6(0x144),_0x324fb7[_0x257ef6(0x2f8)]=![];const _0x11c161={};_0x11c161[_0x257ef6(0x186)]='Array',_0x11c161[_0x257ef6(0x19e)]=_0x257ef6(0x11d),_0x11c161['required']=![];const _0x2aaf99={};_0x2aaf99[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x2aaf99[_0x257ef6(0x19e)]=_0x257ef6(0x31d),_0x2aaf99['required']=![];const _0x127d46={};_0x127d46[_0x257ef6(0x186)]=_0x257ef6(0x25b),_0x127d46[_0x257ef6(0x19e)]=_0x257ef6(0x204),_0x127d46['required']=![];const _0x530603={..._0x3faebe};return _0x530603[_0x257ef6(0x16b)]=_0x5d57ff,_0x530603[_0x257ef6(0x1e7)]=_0x115274,_0x530603[_0x257ef6(0x275)]=_0x56745b,_0x530603[_0x257ef6(0x10a)]=_0x51bfa6,_0x530603[_0x257ef6(0x200)]=_0x324fb7,_0x530603[_0x257ef6(0x37c)]=_0x11c161,_0x530603['currentPage']=_0x2aaf99,_0x530603[_0x257ef6(0x1bc)]=_0x127d46,_0x530603;}[a0_0x4986fd(0x165)](){const _0x2e467d=a0_0x4986fd,_0x117520={};_0x117520['code']=_0x2e467d(0x16b),_0x117520[_0x2e467d(0x186)]='String[]',_0x117520[_0x2e467d(0x19e)]=_0x2e467d(0x1ad);const _0x544a50={};_0x544a50[_0x2e467d(0x3b7)]=_0x2e467d(0x1e7),_0x544a50['type']=_0x2e467d(0x37e),_0x544a50['description']=_0x2e467d(0x22b);const _0x310f65={};_0x310f65[_0x2e467d(0x3b7)]='groupBy',_0x310f65[_0x2e467d(0x186)]='String[]',_0x310f65[_0x2e467d(0x19e)]=_0x2e467d(0x342);const _0x53875e={};_0x53875e[_0x2e467d(0x3b7)]=_0x2e467d(0x10a),_0x53875e[_0x2e467d(0x186)]=_0x2e467d(0x136),_0x53875e[_0x2e467d(0x19e)]=_0x2e467d(0x1ed);const _0x56104d={};_0x56104d[_0x2e467d(0x3b7)]=_0x2e467d(0x200),_0x56104d['type']=_0x2e467d(0x136),_0x56104d['description']='分组后的过滤条件(对聚合结果进行过滤)';const _0x5bf415={};_0x5bf415['code']=_0x2e467d(0x37c),_0x5bf415[_0x2e467d(0x186)]='Array',_0x5bf415[_0x2e467d(0x19e)]=_0x2e467d(0x11d);const _0x507308={};_0x507308[_0x2e467d(0x3b7)]='currentPage',_0x507308['type']=_0x2e467d(0x25b),_0x507308[_0x2e467d(0x19e)]=_0x2e467d(0x31d);const _0x2d4acd={};return _0x2d4acd[_0x2e467d(0x3b7)]=_0x2e467d(0x1bc),_0x2d4acd[_0x2e467d(0x186)]=_0x2e467d(0x25b),_0x2d4acd['description']=_0x2e467d(0x204),[_0x117520,_0x544a50,_0x310f65,_0x53875e,_0x56104d,_0x5bf415,_0x507308,_0x2d4acd];}[a0_0x4986fd(0x374)](){const _0x336254=a0_0x4986fd,_0x4a6983=this[_0x336254(0x12a)][_0x336254(0x26d)]||[];if(_0x4a6983[_0x336254(0x338)]===0x0){const _0x180b05={};return _0x180b05[_0x336254(0x1e7)]={},_0x180b05[_0x336254(0x275)]=[],_0x180b05[_0x336254(0x10a)]=[],_0x180b05;}const _0x8a5519={},_0x5b648d=_0x4a6983[_0x336254(0x14d)](0x0,Math[_0x336254(0x3c3)](0x3,_0x4a6983[_0x336254(0x338)]));_0x5b648d[_0x336254(0x31a)](_0x3b35aa=>{const _0x36e79b=_0x336254,_0x593a50=this[_0x36e79b(0x254)](_0x3b35aa);if(_0x593a50['length']===0x0)return;const _0x3b5842=this['selectBestOperator'](_0x3b35aa,_0x593a50),_0x5d81c9=this['generateExampleValue'](_0x3b35aa,_0x3b5842),_0x2d01d4={};_0x2d01d4[_0x3b5842]=_0x5d81c9,_0x8a5519[_0x3b35aa['code']]=_0x2d01d4;});const _0x172c94=_0x4a6983['slice'](0x0,Math[_0x336254(0x3c3)](0x2,_0x4a6983['length']))[_0x336254(0x30d)](_0x58134c=>_0x58134c[_0x336254(0x3b7)]),_0x27ea88=[],_0xb92ea7=_0x4a6983[_0x336254(0x276)](_0xd0be3=>this[_0x336254(0x3af)](_0xd0be3));if(_0xb92ea7[_0x336254(0x338)]>0x0){const _0x13d081=_0xb92ea7[0x0],_0x9dc65a=_0x13d081[_0x336254(0x3b7)],_0x1dd956={};_0x1dd956[_0x336254(0x186)]='sum',_0x1dd956[_0x336254(0x18d)]=_0x9dc65a,_0x1dd956[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x233),_0x1dd956[_0x336254(0x38e)]=![],_0x1dd956['round']=!![],_0x1dd956['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x1dd956);const _0x2ca1a1={};_0x2ca1a1[_0x336254(0x186)]=_0x336254(0x37b),_0x2ca1a1[_0x336254(0x18d)]=_0x9dc65a,_0x2ca1a1[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x23c),_0x2ca1a1[_0x336254(0x38e)]=![],_0x2ca1a1['round']=!![],_0x2ca1a1['precision']=0x2,_0x27ea88['push'](_0x2ca1a1);const _0x4b6889={};_0x4b6889[_0x336254(0x186)]='max',_0x4b6889[_0x336254(0x18d)]=_0x9dc65a,_0x4b6889[_0x336254(0x28e)]=_0x9dc65a+_0x336254(0x24d),_0x4b6889[_0x336254(0x38e)]=![],_0x4b6889['round']=!![],_0x4b6889[_0x336254(0x1f5)]=0x2,_0x27ea88[_0x336254(0x279)](_0x4b6889);const _0x5d448f={};_0x5d448f[_0x336254(0x186)]=_0x336254(0x3c3),_0x5d448f[_0x336254(0x18d)]=_0x9dc65a,_0x5d448f[_0x336254(0x28e)]=_0x9dc65a+'_min',_0x5d448f[_0x336254(0x38e)]=![],_0x5d448f[_0x336254(0x2b5)]=!![],_0x5d448f['precision']=0x2,_0x27ea88[_0x336254(0x279)](_0x5d448f);}else{if(_0x4a6983['length']>0x0){const _0x1532f9=_0x4a6983[0x0],_0x2e4bac=_0x1532f9[_0x336254(0x3b7)],_0x334cff={};_0x334cff[_0x336254(0x186)]=_0x336254(0x202),_0x334cff[_0x336254(0x18d)]=_0x2e4bac,_0x334cff['alias']=_0x336254(0x2d6),_0x334cff['distinct']=!![],_0x27ea88[_0x336254(0x279)](_0x334cff);}}const _0x17f2fd=[];if(_0x4a6983['length']>0x0){const _0x2994f1=_0x4a6983[0x0][_0x336254(0x3b7)],_0x543c0d={};_0x543c0d[_0x2994f1]='desc',_0x17f2fd[_0x336254(0x279)](_0x543c0d);}const _0x27a0e0=[..._0x172c94,..._0x27ea88[_0x336254(0x30d)](_0x2e431c=>_0x2e431c[_0x336254(0x28e)])],_0x1d8b6e=[];if(_0x27ea88[_0x336254(0x338)]>0x0){const _0x4b47dc={};_0x4b47dc[_0x336254(0x163)]=0x0;const _0x2d39ae={};_0x2d39ae[_0x336254(0x167)]=_0x27ea88[0x0][_0x336254(0x28e)],_0x2d39ae[_0x336254(0x330)]=_0x4b47dc,_0x1d8b6e['push'](_0x2d39ae);}const _0x3af158={};return _0x3af158[_0x336254(0x16b)]=_0x27a0e0,_0x3af158['where']=_0x8a5519,_0x3af158[_0x336254(0x275)]=_0x172c94,_0x3af158['aggregate']=_0x27ea88,_0x3af158[_0x336254(0x200)]=_0x1d8b6e[_0x336254(0x338)]>0x0?_0x1d8b6e:undefined,_0x3af158[_0x336254(0x37c)]=_0x17f2fd,_0x3af158['currentPage']=0x1,_0x3af158[_0x336254(0x1bc)]=0x14,_0x3af158;}[a0_0x4986fd(0x137)](_0x5a4de5,_0x3812d3){const _0x10c73e=a0_0x4986fd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3812d3||{},_0x688ac=this[_0x10c73e(0x1dd)](),_0x56b77f=this[_0x10c73e(0x374)](),_0x127204=_0x127bd5=>{const _0x28b9c2=_0x10c73e;return JSON[_0x28b9c2(0x122)](_0x127bd5,null,0x2)['split']('\x0a')['map']((_0x419120,_0x3bb2c2)=>_0x3bb2c2===0x0?_0x419120:indent+_0x419120)['join']('\x0a');};if(useFullExample){const _0x1f6849=this[_0x10c73e(0x12a)][_0x10c73e(0x26d)]||[],_0x5c8a6d=_0x1f6849[_0x10c73e(0x276)](_0x1a58ec=>this['isNumericField'](_0x1a58ec)),_0x550520={'where':_0x1f6849[0x0]?{[_0x1f6849[0x0][_0x10c73e(0x3b7)]]:{'$eq':this[_0x10c73e(0x3b4)](_0x1f6849[0x0],'$eq')}}:{},'aggregate':_0x5c8a6d[_0x10c73e(0x338)]>0x0?[{'type':'sum','column':_0x5c8a6d[0x0][_0x10c73e(0x3b7)],'alias':_0x5c8a6d[0x0][_0x10c73e(0x3b7)]+_0x10c73e(0x233),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x10c73e(0x202),'column':_0x1f6849[0x0]['code'],'alias':_0x10c73e(0x2d6),'distinct':!![]}],'orderBy':[{[_0x1f6849[0x0]['code']]:_0x10c73e(0x352)}]};let _0x58a656='';return _0x1f6849[_0x10c73e(0x338)]>=0x3&&(_0x58a656=_0x10c73e(0x17f)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x56b77f)+');'),_0x10c73e(0x170)+_0x5a4de5+'.'+_0x688ac+'('+_0x127204(_0x550520)+');'+_0x58a656;}const _0x58511e=JSON[_0x10c73e(0x122)](_0x56b77f,null,0x2)['split']('\x0a')[_0x10c73e(0x30d)]((_0x36a038,_0x3bad04)=>_0x3bad04===0x0?_0x36a038:indent+_0x36a038)[_0x10c73e(0x348)]('\x0a');return _0x10c73e(0x380)+_0x5a4de5+'.'+_0x688ac+'('+_0x58511e+');';}[a0_0x4986fd(0x3af)](_0xcffff8){const _0x329866=a0_0x4986fd,_0x4e509e=_0xcffff8['getDbTypeForOperation']();return[_0x329866(0x1f9),_0x329866(0x304),'BIGINT',_0x329866(0x19a)][_0x329866(0x228)](_0x4e509e)||[_0x329866(0x1b2),'TINYINT',_0x329866(0x215),_0x329866(0x334),_0x329866(0x39a)]['includes'](_0x4e509e);}['getApplicableOperators'](_0x318dde){const _0x5237db=a0_0x4986fd,_0x320b2e=_0x318dde['getDbTypeForOperation'](),_0x663a93=[];if(['NUMBER',_0x5237db(0x304),_0x5237db(0x38c),_0x5237db(0x19a)]['includes'](_0x320b2e)||['INT',_0x5237db(0x2ed),_0x5237db(0x215),_0x5237db(0x334),_0x5237db(0x39a)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x163),_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221),_0x5237db(0x125));else{if([_0x5237db(0x3ab),_0x5237db(0x139),_0x5237db(0x2e9)]['includes'](_0x320b2e)||['CHAR',_0x5237db(0x367)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),_0x5237db(0x125),'$contain','$startWith',_0x5237db(0x24b));else{if(['DATE',_0x5237db(0x3ac),_0x5237db(0x110)][_0x5237db(0x228)](_0x320b2e)||[_0x5237db(0x2a8)][_0x5237db(0x228)](_0x320b2e))_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382),'$gte',_0x5237db(0x3c0),_0x5237db(0x3c5),_0x5237db(0x221));else[_0x5237db(0x30f),_0x5237db(0x1d4),_0x5237db(0x2fb)][_0x5237db(0x228)](_0x320b2e)?_0x663a93[_0x5237db(0x279)](_0x5237db(0x33d),_0x5237db(0x382)):_0x663a93[_0x5237db(0x279)]('$eq',_0x5237db(0x382));}}return _0x663a93;}[a0_0x4986fd(0x3b3)](_0x54061c,_0x305b39){const _0x24b8a5=a0_0x4986fd,_0x31b0a6=_0x54061c['getDbTypeForOperation']();if([_0x24b8a5(0x1f9),_0x24b8a5(0x304),_0x24b8a5(0x38c),_0x24b8a5(0x19a)]['includes'](_0x31b0a6)||['INT',_0x24b8a5(0x2ed),_0x24b8a5(0x215),_0x24b8a5(0x334),_0x24b8a5(0x39a)]['includes'](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);if([_0x24b8a5(0x3ab),_0x24b8a5(0x139),_0x24b8a5(0x2e9)]['includes'](_0x31b0a6)||[_0x24b8a5(0x319),_0x24b8a5(0x367)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39['includes'](_0x24b8a5(0x26a))?_0x24b8a5(0x26a):_0x24b8a5(0x33d);if([_0x24b8a5(0x32d),_0x24b8a5(0x3ac),'TIMESTAMP',_0x24b8a5(0x2a8)][_0x24b8a5(0x228)](_0x31b0a6))return _0x305b39[_0x24b8a5(0x228)](_0x24b8a5(0x163))?_0x24b8a5(0x163):_0x24b8a5(0x33d);return _0x24b8a5(0x33d);}['generateExampleValue'](_0x2e2652,_0x1bf465){const _0x5de230=a0_0x4986fd,_0x5dcd77=_0x2e2652['getDbTypeForOperation'](),_0x6916bf=_0x2e2652[_0x5de230(0x2a5)]();if(_0x6916bf&&_0x6916bf['length']>0x0){if(_0x1bf465===_0x5de230(0x125))return _0x6916bf[_0x5de230(0x14d)](0x0,0x2)[_0x5de230(0x30d)](_0x1df165=>_0x1df165[_0x5de230(0x31e)]);return _0x6916bf[0x0][_0x5de230(0x31e)];}if([_0x5de230(0x1f9),_0x5de230(0x304),_0x5de230(0x38c),_0x5de230(0x19a)]['includes'](_0x5dcd77)||[_0x5de230(0x1b2),'TINYINT',_0x5de230(0x215),_0x5de230(0x334),'FLOAT'][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[0x1,0x2,0x3];if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return 0x0;if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return 0x64;return 0x1;}if([_0x5de230(0x3ab),_0x5de230(0x139),'VARCHAR']['includes'](_0x5dcd77)||[_0x5de230(0x319),_0x5de230(0x367)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x125))return[_0x5de230(0x1da),_0x5de230(0x3c6)];if(_0x1bf465===_0x5de230(0x26a))return _0x5de230(0x2e3);if(_0x1bf465==='$startWith')return _0x5de230(0x33f);if(_0x1bf465===_0x5de230(0x24b))return _0x5de230(0x1f2);return _0x5de230(0x31e);}if([_0x5de230(0x32d),_0x5de230(0x3ac),_0x5de230(0x110),_0x5de230(0x2a8)][_0x5de230(0x228)](_0x5dcd77)){if(_0x1bf465===_0x5de230(0x163)||_0x1bf465===_0x5de230(0x3c5))return _0x5de230(0x25c);if(_0x1bf465===_0x5de230(0x3c0)||_0x1bf465===_0x5de230(0x221))return _0x5de230(0x37a);return _0x5de230(0x25c);}if([_0x5de230(0x30f),_0x5de230(0x1d4),_0x5de230(0x2fb)][_0x5de230(0x228)](_0x5dcd77))return!![];return _0x1bf465==='$in'?['value1','value2']:_0x5de230(0x31e);}[a0_0x4986fd(0x25f)](){const _0x2254cb=a0_0x4986fd,_0x30db01=this['getRequestParams'](),_0x2a07ec=Object[_0x2254cb(0x353)](_0x30db01)[_0x2254cb(0x276)](([_0x5bae93])=>_0x5bae93!==_0x2254cb(0x27f)&&_0x5bae93!==_0x2254cb(0x1bc))[_0x2254cb(0x30d)](([_0x4f464f,_0x2642df])=>{const _0x1b873f=_0x2254cb,_0x4a8d8b=_0x2642df,_0x27da48={};return _0x27da48[_0x1b873f(0x30e)]=_0x4f464f,_0x27da48[_0x1b873f(0x186)]=_0x4a8d8b[_0x1b873f(0x186)]||_0x1b873f(0x1b3),_0x27da48[_0x1b873f(0x19e)]=_0x4a8d8b[_0x1b873f(0x19e)]||'-',_0x27da48['required']=_0x4a8d8b[_0x1b873f(0x2f8)],_0x27da48;}),_0x23ff2c={};return _0x23ff2c[_0x2254cb(0x19e)]=_0x2254cb(0x31b),_0x23ff2c[_0x2254cb(0x34d)]=_0x2a07ec,_0x23ff2c;}[a0_0x4986fd(0x1d2)](){const _0xd22833=a0_0x4986fd,_0x313cbe=this[_0xd22833(0x374)]()[_0xd22833(0x10a)],_0x11a7fb=[{}],_0x2eec4b=[];_0x313cbe?.[_0xd22833(0x31a)](_0x3a0bcd=>{const _0x6b5037=_0xd22833,_0xcaf57d={};_0xcaf57d[_0x6b5037(0x22e)]=_0x3a0bcd[_0x6b5037(0x28e)],_0xcaf57d[_0x6b5037(0x1e9)]=_0x3a0bcd[_0x6b5037(0x28e)],_0x2eec4b[_0x6b5037(0x279)](_0xcaf57d),_0x11a7fb[0x0][_0x3a0bcd[_0x6b5037(0x28e)]]=_0x3a0bcd['type']==='count'?0x64:Math[_0x6b5037(0x2b5)](Math[_0x6b5037(0x203)]()*0x64*0x64)/0x64;});const _0x32bdb9={};_0x32bdb9[_0xd22833(0x1bc)]=0x1,_0x32bdb9['totalCount']=0x64,_0x32bdb9[_0xd22833(0x27f)]=0x1;const _0xf74a93={};_0xf74a93['paging']=_0x32bdb9,_0xf74a93[_0xd22833(0x148)]=_0x11a7fb,_0xf74a93[_0xd22833(0x397)]=_0x2eec4b;const _0x409ecc={};return _0x409ecc[_0xd22833(0x399)]=!![],_0x409ecc['msg']='',_0x409ecc[_0xd22833(0x1db)]='',_0x409ecc[_0xd22833(0x2e5)]=_0xd22833(0x1c2),_0x409ecc[_0xd22833(0x3b5)]=_0xf74a93,_0x409ecc[_0xd22833(0x34d)]=null,_0x409ecc;}}class OperationFactory{['create'](_0x1bb368,_0x161fe3,_0x1d803f){const _0x5ae6e7=a0_0x4986fd;switch(_0x1bb368){case _0x5ae6e7(0x224):return new GetSelectOptionsOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x208):return new GetListOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x276):return new FilterOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x381):return new ExcelExportOperation(_0x1bb368,_0x161fe3,_0x1d803f);case _0x5ae6e7(0x1c5):return new UpdateOperation(_0x1bb368,_0x161fe3,_0x1d803f);case'aggregate':return new AggregateOperation(_0x1bb368,_0x161fe3,_0x1d803f);default:return new GenericOperation(_0x1bb368,_0x161fe3,_0x1d803f);}}[a0_0x4986fd(0x26f)](_0x3e402f,_0x12862a){const _0x1e2a21=a0_0x4986fd,_0x4db50f=new Map();return Object['entries'](_0x3e402f)[_0x1e2a21(0x31a)](([_0x437bfe,_0x259c2f])=>{const _0x57d605=_0x1e2a21;_0x4db50f[_0x57d605(0x2d7)](_0x437bfe,this['create'](_0x437bfe,_0x259c2f,_0x12862a));}),_0x4db50f;}}class OperationList{['_operations'];constructor(_0x16cab0,_0x5a703b){const _0x5e0dfd=a0_0x4986fd,_0x39a041=new OperationFactory();this[_0x5e0dfd(0x280)]=_0x39a041['createAll'](_0x16cab0,_0x5a703b);}[a0_0x4986fd(0x161)](_0x47e703){const _0x101035=a0_0x4986fd;return this[_0x101035(0x280)][_0x101035(0x161)](_0x47e703);}[a0_0x4986fd(0x27a)](_0x4c65e5){const _0x173baf=a0_0x4986fd;return this[_0x173baf(0x280)]['has'](_0x4c65e5);}[a0_0x4986fd(0x38d)](){const _0x4031a8=a0_0x4986fd;return this[_0x4031a8(0x280)][_0x4031a8(0x38d)];}[a0_0x4986fd(0x1c3)](){const _0x880942=a0_0x4986fd;return Array[_0x880942(0x1df)](this[_0x880942(0x280)][_0x880942(0x1b1)]());}[a0_0x4986fd(0x23f)](){const _0x532a1f=a0_0x4986fd,_0x5dbb86=Array[_0x532a1f(0x1df)](this[_0x532a1f(0x280)][_0x532a1f(0x2d4)]());return this[_0x532a1f(0x185)](_0x5dbb86);}[a0_0x4986fd(0x117)](){const _0x21f61d=a0_0x4986fd;return this[_0x21f61d(0x23f)]()[_0x21f61d(0x276)](_0x5b70af=>_0x5b70af[_0x21f61d(0x282)]());}[a0_0x4986fd(0x1d0)](){const _0x46b92d=a0_0x4986fd;return this[_0x46b92d(0x23f)]()[_0x46b92d(0x276)](_0x1c04ab=>!_0x1c04ab[_0x46b92d(0x282)]());}[a0_0x4986fd(0x180)](){const _0x3e2c78=a0_0x4986fd;return this[_0x3e2c78(0x117)]()['map'](_0xa110a1=>_0xa110a1[_0x3e2c78(0x1dd)]());}['getDisabledNames'](){const _0x107285=a0_0x4986fd;return this[_0x107285(0x1d0)]()['map'](_0x23db5e=>_0x23db5e[_0x107285(0x1dd)]());}[a0_0x4986fd(0x2c0)](_0x56224a){const _0x54842e=a0_0x4986fd;return this['toArray']()[_0x54842e(0x276)](_0x31742d=>_0x31742d[_0x54842e(0x252)]()===_0x56224a);}[a0_0x4986fd(0x276)](_0x3d7ff8){const _0x4d0286=a0_0x4986fd;return this[_0x4d0286(0x23f)]()[_0x4d0286(0x276)](_0x3d7ff8);}[a0_0x4986fd(0x259)](_0x32850f={}){const _0x4eb9d5=a0_0x4986fd;let _0x1f9fe5=this['toArray']();!_0x32850f['includeDisabled']&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x51256c=>_0x51256c[_0x4eb9d5(0x282)]()));if(_0x32850f[_0x4eb9d5(0x27b)]!==![]){const _0x672266=_0x1f9fe5['map'](_0x52d10c=>({'name':_0x52d10c[_0x4eb9d5(0x1dd)](),'operation':_0x52d10c})),_0x50fe99=filterApiOperations(_0x672266);_0x1f9fe5=_0x50fe99[_0x4eb9d5(0x30d)](_0x3fc383=>_0x3fc383[_0x4eb9d5(0x17e)]),_0x1f9fe5=this[_0x4eb9d5(0x185)](_0x1f9fe5);}return _0x32850f[_0x4eb9d5(0x3b6)]&&(_0x1f9fe5=_0x1f9fe5[_0x4eb9d5(0x276)](_0x32850f['customFilter'])),_0x1f9fe5;}[a0_0x4986fd(0x185)](_0x3bf815){const _0x2a3584=a0_0x4986fd,_0x29d3d4=_0x3bf815[_0x2a3584(0x2b4)](_0x28b4c2=>_0x28b4c2['getName']()===_0x2a3584(0x276)),_0x51ae5e=_0x3bf815[_0x2a3584(0x276)](_0x216cf2=>_0x216cf2[_0x2a3584(0x1dd)]()!=='filter');return _0x29d3d4?[_0x29d3d4,..._0x51ae5e]:_0x51ae5e;}[a0_0x4986fd(0x151)](){const _0x39797f=a0_0x4986fd,_0x2664e7=this[_0x39797f(0x117)]();return{'total':this['size'](),'enabled':_0x2664e7[_0x39797f(0x338)],'disabled':this['size']()-_0x2664e7[_0x39797f(0x338)],'byType':this[_0x39797f(0x306)](_0x2664e7),'byMethod':this[_0x39797f(0x29e)](_0x2664e7)};}[a0_0x4986fd(0x306)](_0x11ba56){const _0x2637df={};return _0x11ba56['forEach'](_0x2c120e=>{const _0x41044d=_0x2c120e['getType']();_0x41044d&&(_0x2637df[_0x41044d]=(_0x2637df[_0x41044d]||0x0)+0x1);}),_0x2637df;}[a0_0x4986fd(0x29e)](_0x392e46){const _0x3d6b22={};return _0x392e46['forEach'](_0x23bcc8=>{const _0x1847d9=a0_0x5c95,_0x4ed774=_0x23bcc8[_0x1847d9(0x12b)]();_0x4ed774&&(_0x3d6b22[_0x4ed774]=(_0x3d6b22[_0x4ed774]||0x0)+0x1);}),_0x3d6b22;}[Symbol[a0_0x4986fd(0x263)]](){const _0x207ba4=a0_0x4986fd;return this[_0x207ba4(0x280)][_0x207ba4(0x2d4)]();}['toString'](){const _0x5da13d=a0_0x4986fd,_0x7eb7d3=this[_0x5da13d(0x151)]();return _0x5da13d(0x292)+_0x7eb7d3[_0x5da13d(0x1ac)]+'/'+_0x7eb7d3[_0x5da13d(0x238)]+_0x5da13d(0x201);}}class DBConfig{[a0_0x4986fd(0x245)];[a0_0x4986fd(0x349)];[a0_0x4986fd(0x2a9)];[a0_0x4986fd(0x227)];[a0_0x4986fd(0x360)];[a0_0x4986fd(0x1ca)];[a0_0x4986fd(0x3ba)];[a0_0x4986fd(0x1a1)];['tenantCode'];[a0_0x4986fd(0x30c)];constructor(_0xb2c617,_0x1e0d58){const _0x2d1597=a0_0x4986fd;this[_0x2d1597(0x245)]=_0x1e0d58,this[_0x2d1597(0x349)]=_0xb2c617[_0x2d1597(0x349)],this[_0x2d1597(0x2a9)]=_0xb2c617[_0x2d1597(0x2a9)],this[_0x2d1597(0x227)]=_0xb2c617[_0x2d1597(0x227)],this[_0x2d1597(0x360)]=_0xb2c617[_0x2d1597(0x360)],this[_0x2d1597(0x1ca)]=_0xb2c617[_0x2d1597(0x1ca)],this[_0x2d1597(0x3ba)]=_0xb2c617[_0x2d1597(0x3ba)],this[_0x2d1597(0x1a1)]=_0xb2c617[_0x2d1597(0x1a1)],this[_0x2d1597(0x10b)]=_0xb2c617[_0x2d1597(0x10b)],this[_0x2d1597(0x30c)]=_0xb2c617[_0x2d1597(0x30c)];}[a0_0x4986fd(0x230)](){const _0x126dc1=a0_0x4986fd;return this[_0x126dc1(0x245)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x4986fd(0x33a)];[a0_0x4986fd(0x2ab)];[a0_0x4986fd(0x1be)];constructor(_0x3467ee){const _0x3a9bb8=a0_0x4986fd,_0x576c9c={..._0x3467ee};_0x576c9c['id']=_0x3467ee['modelId']||_0x3467ee['id'],_0x576c9c[_0x3a9bb8(0x2e2)]=_0x3467ee['modelCode']||_0x3467ee[_0x3a9bb8(0x2e2)]||_0x3467ee[_0x3a9bb8(0x3b7)],super(_0x576c9c);}[a0_0x4986fd(0x105)](){return;}[a0_0x4986fd(0x269)](){return[];}[a0_0x4986fd(0x11c)](){return[];}get[a0_0x4986fd(0x2f4)](){const _0x2f7640=a0_0x4986fd;return this[_0x2f7640(0x14f)]();}['getFieldList'](){if(!this['_fieldList'])throw new Error('getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass');return this['_fieldList'];}[a0_0x4986fd(0x297)](){const _0x592b08=a0_0x4986fd;if(!this['_fieldListWithDeleted'])throw new Error(_0x592b08(0x23d));return this['_fieldListWithDeleted'];}[a0_0x4986fd(0x1af)](){return[];}[a0_0x4986fd(0x2b9)](){const _0x551610=a0_0x4986fd,_0x2bf3a6=this[_0x551610(0x274)]();return _0x2bf3a6[_0x551610(0x26d)];}[a0_0x4986fd(0x173)](){const _0x9c542a=a0_0x4986fd;return this[_0x9c542a(0x1af)]()['length'];}[a0_0x4986fd(0x1b0)](_0x480150){const _0x3c2a2b=a0_0x4986fd,_0x1fbc4b=this[_0x3c2a2b(0x176)](_0x480150);return _0x1fbc4b?_0x1fbc4b[_0x3c2a2b(0x245)]:undefined;}[a0_0x4986fd(0x2bf)](_0x1e12e8){return;}[a0_0x4986fd(0x246)](_0x4ec054){const _0x3e794c=a0_0x4986fd;if(!_0x4ec054||typeof _0x4ec054!=='object')return!![]&&console[_0x3e794c(0x27e)]('[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:',_0x4ec054),{};if(_0x3e794c(0x1a1)in _0x4ec054){const _0x5c3efc=_0x4ec054;return{'primaryKey':typeof _0x5c3efc['pkField']===_0x3e794c(0x229)?_0x5c3efc[_0x3e794c(0x1a1)]:Boolean(_0x5c3efc['pkField']),'required':_0x5c3efc[_0x3e794c(0x2f8)],'systemRetain':Boolean(_0x5c3efc['systemRetain']),'autoIncrement':_0x5c3efc[_0x3e794c(0x1b5)]??undefined};}if(!('extend'in _0x4ec054)||!_0x4ec054[_0x3e794c(0x142)])return{};try{const _0x4935f8=typeof _0x4ec054['extend']==='string'?JSON[_0x3e794c(0x2a3)](_0x4ec054[_0x3e794c(0x142)]):_0x4ec054[_0x3e794c(0x142)];if(typeof _0x4935f8!==_0x3e794c(0x236)||_0x4935f8===null)return{};return _0x4935f8;}catch{return{};}}[a0_0x4986fd(0x158)](){const _0x211aee=a0_0x4986fd;if(!this[_0x211aee(0x33a)]){const _0x46dc9b=this[_0x211aee(0x311)](this['getOperationsData']()||{});this[_0x211aee(0x33a)]=new OperationList(_0x46dc9b,{'fields':this[_0x211aee(0x303)]()[_0x211aee(0x2af)](),'pkField':this['_raw'][_0x211aee(0x128)]?.[_0x211aee(0x1a1)],'dbtableConfig':this['_raw'][_0x211aee(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x311)](_0x297016){const _0x4ec277=a0_0x4986fd;if(_0x297016['filter']!==undefined)return _0x297016;return{..._0x297016,'filter':this[_0x4ec277(0x347)]()};}[a0_0x4986fd(0x347)](){const _0x503a08=a0_0x4986fd,_0x389390=this[_0x503a08(0x2c3)]()?.[_0x503a08(0x208)];let _0x236eb1=_0x389390?.[_0x503a08(0x358)],_0x5b266b='';if(!_0x236eb1&&this[_0x503a08(0x2c3)]()){const _0x4ca377=Object[_0x503a08(0x2d4)](this['getOperationsData']());for(const _0x44b97a of _0x4ca377){if(_0x44b97a&&typeof _0x44b97a===_0x503a08(0x236)&&_0x503a08(0x358)in _0x44b97a){_0x236eb1=_0x44b97a['host'];break;}}}if(_0x389390?.[_0x503a08(0x1f1)]){const _0x23b334=_0x389390[_0x503a08(0x1f1)],_0x2cff39=_0x23b334[_0x503a08(0x1a0)]('/');_0x2cff39!==-0x1&&(_0x5b266b=_0x23b334[_0x503a08(0x187)](0x0,_0x2cff39));}const _0x4e655c={};_0x4e655c[_0x503a08(0x30e)]=_0x503a08(0x1e7),_0x4e655c[_0x503a08(0x186)]=_0x503a08(0x236),_0x4e655c[_0x503a08(0x2f8)]=![];const _0x5c19d9={};_0x5c19d9[_0x503a08(0x30e)]=_0x503a08(0x16b),_0x5c19d9[_0x503a08(0x186)]=_0x503a08(0x2a2),_0x5c19d9[_0x503a08(0x2f8)]=![];const _0x1f3d54={};_0x1f3d54[_0x503a08(0x30e)]=_0x503a08(0x37c),_0x1f3d54['type']=_0x503a08(0x2a2),_0x1f3d54[_0x503a08(0x2f8)]=![];const _0x12453e={};_0x12453e['name']=_0x503a08(0x27f),_0x12453e['type']='number',_0x12453e[_0x503a08(0x2f8)]=![],_0x12453e[_0x503a08(0x1ff)]=0x1;const _0x3ddc64={};_0x3ddc64['name']=_0x503a08(0x1bc),_0x3ddc64[_0x503a08(0x186)]='number',_0x3ddc64[_0x503a08(0x2f8)]=![],_0x3ddc64[_0x503a08(0x1ff)]=0xa;const _0x26809f={};return _0x26809f[_0x503a08(0x30e)]='filter',_0x26809f[_0x503a08(0x186)]=_0x503a08(0x2ca),_0x26809f[_0x503a08(0x19e)]=_0x503a08(0x30a),_0x26809f[_0x503a08(0x2fc)]=_0x503a08(0x1c0),_0x26809f[_0x503a08(0x358)]=_0x236eb1,_0x26809f['path']=_0x5b266b?_0x5b266b+_0x503a08(0x29d):_0x503a08(0x29d),_0x26809f[_0x503a08(0x34d)]=_0x389390?.[_0x503a08(0x34d)]||[_0x4e655c,_0x5c19d9,_0x1f3d54,_0x12453e,_0x3ddc64],_0x26809f[_0x503a08(0x29b)]=!![],_0x26809f;}[a0_0x4986fd(0x14c)](){const _0x54cb9c=a0_0x4986fd;return this[_0x54cb9c(0x158)]()[_0x54cb9c(0x23f)]();}[a0_0x4986fd(0x15e)](){const _0x4349cf=a0_0x4986fd;return this[_0x4349cf(0x158)]()[_0x4349cf(0x38d)]();}[a0_0x4986fd(0x1fa)](_0x58364d){const _0x2f0324=a0_0x4986fd;if(typeof _0x58364d!=='string'){!![]&&console[_0x2f0324(0x27e)](_0x2f0324(0x250),_0x58364d);return;}return this[_0x2f0324(0x158)]()['get'](_0x58364d);}[a0_0x4986fd(0x378)](_0x1ebf17){const _0x1fe7df=a0_0x4986fd;if(typeof _0x1ebf17!==_0x1fe7df(0x388))return![];return this['getOperationList']()[_0x1fe7df(0x27a)](_0x1ebf17);}[a0_0x4986fd(0x359)](_0x1b93b1){const _0x45f36c=a0_0x4986fd;if(typeof _0x1b93b1!=='string')return![];const _0x50654a=this[_0x45f36c(0x1fa)](_0x1b93b1);return _0x50654a?.['isEnabled']()||![];}[a0_0x4986fd(0x362)](){const _0x4e4a25=a0_0x4986fd;return this['getOperationList']()[_0x4e4a25(0x180)]();}[a0_0x4986fd(0x1ba)](){const _0x3d7fa8=a0_0x4986fd;return this[_0x3d7fa8(0x158)]()[_0x3d7fa8(0x130)]();}['getEnabledOperationInstances'](){const _0x1d76c4=a0_0x4986fd;return this[_0x1d76c4(0x158)]()['getEnabled']();}[a0_0x4986fd(0x321)](){const _0x28c437=a0_0x4986fd;return this[_0x28c437(0x158)]()[_0x28c437(0x1d0)]();}[a0_0x4986fd(0x239)](_0x488f92={}){const _0x49a752=a0_0x4986fd;return this['getOperationList']()[_0x49a752(0x259)](_0x488f92);}[a0_0x4986fd(0x151)](){const _0x14cab3=a0_0x4986fd;return{'fieldCount':this['getFieldCount'](),'systemFieldCount':this[_0x14cab3(0x165)]()[_0x14cab3(0x338)],'businessFieldCount':this[_0x14cab3(0x2c7)]()['length'],'requiredFieldCount':this[_0x14cab3(0x18a)]()[_0x14cab3(0x338)],'primaryKeyCount':this[_0x14cab3(0x345)]()['length'],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x14cab3(0x362)]()[_0x14cab3(0x338)]};}[a0_0x4986fd(0x22a)](_0x426aad){const _0x1cac4e=a0_0x4986fd;if(!_0x426aad||typeof _0x426aad!==_0x1cac4e(0x236))return'';if(_0x1cac4e(0x3b7)in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x3b7)]==='string')return _0x426aad[_0x1cac4e(0x3b7)];if('name'in _0x426aad&&typeof _0x426aad[_0x1cac4e(0x30e)]==='string')return _0x426aad[_0x1cac4e(0x30e)];return'';}['hasField'](_0x1fbb73){const _0x58ec8b=a0_0x4986fd;return this[_0x58ec8b(0x303)]()[_0x58ec8b(0x27a)](_0x1fbb73);}[a0_0x4986fd(0x2bc)](_0x34b97b){const _0x551581=a0_0x4986fd;if(!_0x34b97b||typeof _0x34b97b!==_0x551581(0x236))return![];const _0x3bacf9=this['getFieldCode'](_0x34b97b),_0x1ca9f9=this[_0x551581(0x176)](_0x3bacf9);return _0x1ca9f9?_0x1ca9f9[_0x551581(0x2f6)]():![];}[a0_0x4986fd(0x152)](_0x249053){const _0xaab4c2=a0_0x4986fd;if(!_0x249053||typeof _0x249053!==_0xaab4c2(0x236))return![];const _0xca4320=this[_0xaab4c2(0x22a)](_0x249053),_0x52dd70=this[_0xaab4c2(0x176)](_0xca4320);return _0x52dd70?_0x52dd70['isSystem']():![];}[a0_0x4986fd(0x1a9)](_0x3af3fa){const _0x53f30e=a0_0x4986fd;if(!_0x3af3fa||typeof _0x3af3fa!==_0x53f30e(0x236))return![];const _0x40425c=this['getFieldCode'](_0x3af3fa),_0x37a61d=this[_0x53f30e(0x176)](_0x40425c);return _0x37a61d?_0x37a61d[_0x53f30e(0x115)]():![];}['isEnumField'](_0x703386){const _0x9a074b=a0_0x4986fd;if(!_0x703386||typeof _0x703386!==_0x9a074b(0x236))return![];const _0x2dc7da=this[_0x9a074b(0x22a)](_0x703386),_0x213cc9=this[_0x9a074b(0x176)](_0x2dc7da);return _0x213cc9?_0x213cc9[_0x9a074b(0x1f7)]():![];}[a0_0x4986fd(0x2eb)](_0x4988d8){const _0x4c3339=a0_0x4986fd;if(!_0x4988d8||typeof _0x4988d8!=='object')return![];const _0x5d3954=this[_0x4c3339(0x22a)](_0x4988d8),_0x23a724=this['getFieldInstance'](_0x5d3954);return _0x23a724?_0x23a724[_0x4c3339(0x351)]():![];}[a0_0x4986fd(0x116)](_0x41844b){const _0x569377=a0_0x4986fd;if(!_0x41844b||typeof _0x41844b!==_0x569377(0x236))return[];const _0x39ca87=this['getFieldCode'](_0x41844b),_0x7863dc=this[_0x569377(0x176)](_0x39ca87);if(!_0x7863dc||!_0x7863dc[_0x569377(0x1f7)]())return[];return _0x7863dc[_0x569377(0x2a5)]()||[];}[a0_0x4986fd(0x1fb)](_0x262bfe){const _0x14eb48=a0_0x4986fd;if(!_0x262bfe||typeof _0x262bfe!==_0x14eb48(0x236))return;const _0x184eb6=this[_0x14eb48(0x22a)](_0x262bfe),_0x2a989c=this['getFieldInstance'](_0x184eb6);if(!_0x2a989c||!_0x2a989c[_0x14eb48(0x1f7)]())return;return _0x2a989c[_0x14eb48(0x146)]();}[a0_0x4986fd(0x1ce)](_0x5317fd){const _0x49267e=a0_0x4986fd;if(!_0x5317fd||typeof _0x5317fd!==_0x49267e(0x236))return;const _0x20cd15=this[_0x49267e(0x22a)](_0x5317fd),_0x29c918=this[_0x49267e(0x176)](_0x20cd15);if(!_0x29c918||!_0x29c918['isEnum']())return;return _0x29c918[_0x49267e(0x38b)]();}[a0_0x4986fd(0x345)](){const _0x53c3e6=a0_0x4986fd;return this[_0x53c3e6(0x303)]()[_0x53c3e6(0x3c2)]()[_0x53c3e6(0x30d)](_0x37226b=>_0x37226b[_0x53c3e6(0x245)]);}[a0_0x4986fd(0x165)](){const _0x2b52c7=a0_0x4986fd;return this[_0x2b52c7(0x303)]()['getSystem']()['map'](_0x2b292b=>_0x2b292b[_0x2b52c7(0x245)]);}[a0_0x4986fd(0x2c7)](){const _0x1710a5=a0_0x4986fd;return this[_0x1710a5(0x303)]()[_0x1710a5(0x1b7)]()[_0x1710a5(0x30d)](_0x3f6707=>_0x3f6707[_0x1710a5(0x245)]);}[a0_0x4986fd(0x18a)](){const _0x3859b0=a0_0x4986fd;return this[_0x3859b0(0x303)]()[_0x3859b0(0x37f)]()['map'](_0x27c2a7=>_0x27c2a7['raw']);}[a0_0x4986fd(0x393)](){const _0x104e39=a0_0x4986fd,_0x2f9751=this['getFieldList']()[_0x104e39(0x3a1)](),_0x43bbdc={};for(const [_0x1290c4,_0xbde429]of Object['entries'](_0x2f9751)){_0x43bbdc[_0x1290c4]=_0xbde429[_0x104e39(0x30d)](_0xc72832=>_0xc72832[_0x104e39(0x245)]);}return _0x43bbdc;}[a0_0x4986fd(0x302)](){const _0x5f4488=a0_0x4986fd;return this[_0x5f4488(0x303)]()[_0x5f4488(0x3b2)]()[_0x5f4488(0x30d)](_0x3359cf=>_0x3359cf['raw']);}[a0_0x4986fd(0x2bd)](){const _0x455f88=a0_0x4986fd,_0x1da2c9={};return this[_0x455f88(0x302)]()[_0x455f88(0x31a)](_0xd6126b=>{const _0x277139=this['getEnumFieldMeta'](_0xd6126b);if(_0x277139){const _0x617805=this['getFieldCode'](_0xd6126b);_0x1da2c9[_0x617805]=_0x277139;}}),_0x1da2c9;}['validateEnumValue'](_0x178a21,_0x4a3999){const _0x536ec0=a0_0x4986fd,_0x2d9dd2=this['getEnumFieldMeta'](_0x178a21);if(!_0x2d9dd2)return!![];if(_0x2d9dd2[_0x536ec0(0x370)]&&!_0x2d9dd2['options'])return!![];const _0x5178e2=this[_0x536ec0(0x22a)](_0x178a21),_0x3515d9=this['getFieldInstance'](_0x5178e2),_0x37918a=_0x3515d9?_0x3515d9[_0x536ec0(0x351)]():![];if(_0x37918a&&Array[_0x536ec0(0x18f)](_0x4a3999))return _0x4a3999[_0x536ec0(0x10d)](_0x4a16ad=>_0x2d9dd2['values'][_0x536ec0(0x228)](_0x4a16ad));return _0x2d9dd2[_0x536ec0(0x2d4)][_0x536ec0(0x228)](_0x4a3999);}[a0_0x4986fd(0x1bd)](){const _0x4e885c=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this[_0x4e885c(0x30e)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x4e885c(0x119)]()});}['toString'](){const _0x26a363=a0_0x4986fd;return _0x26a363(0x1f4)+this[_0x26a363(0x30e)]+',\x20'+this[_0x26a363(0x2e2)]+',\x20'+this[_0x26a363(0x173)]()+_0x26a363(0x21f)+this[_0x26a363(0x15e)]()+_0x26a363(0x36e)+this['getVersion']()+')';}[a0_0x4986fd(0x251)](){const _0x23b3b1=a0_0x4986fd;return this[_0x23b3b1(0x193)]('filter');}[a0_0x4986fd(0x26b)](_0x25ab7e){const _0x3719bb=a0_0x4986fd;return this[_0x3719bb(0x1d7)](_0x3719bb(0x276),_0x25ab7e);}[a0_0x4986fd(0x17a)](){const _0x2042d5=a0_0x4986fd;return this[_0x2042d5(0x2bb)](_0x2042d5(0x276));}['getOperationOperators'](_0x34999b){const _0x194bc3=a0_0x4986fd,_0xddeed0=this[_0x194bc3(0x1fa)](_0x34999b);return _0xddeed0?_0xddeed0[_0x194bc3(0x213)]():[];}[a0_0x4986fd(0x1d7)](_0x4f2aa0,_0x1020fd){const _0x4420f2=a0_0x4986fd,_0x56e156=this['getOperation'](_0x4f2aa0);return _0x56e156?_0x56e156[_0x4420f2(0x231)](_0x1020fd):[];}[a0_0x4986fd(0x2bb)](_0x32d906){const _0x2bd706=a0_0x4986fd,_0x17d15b={};return this[_0x2bd706(0x303)]()[_0x2bd706(0x31a)](_0x1f6227=>{const _0x2da472=_0x2bd706,_0x5f3e75=this[_0x2da472(0x1d7)](_0x32d906,_0x1f6227['code']);_0x5f3e75[_0x2da472(0x338)]>0x0&&(_0x17d15b[_0x1f6227[_0x2da472(0x3b7)]]=_0x5f3e75);}),_0x17d15b;}['isOperatorApplicableToField'](_0x25327f,_0x4a4911,_0x380906){const _0x979458=a0_0x4986fd,_0x468f7c=this[_0x979458(0x1d7)](_0x25327f,_0x4a4911);return _0x468f7c[_0x979458(0x228)](_0x380906);}}class FieldBase{get[a0_0x4986fd(0x227)](){return;}get[a0_0x4986fd(0x20a)](){return;}get['displayName'](){return;}get[a0_0x4986fd(0x365)](){return;}[a0_0x4986fd(0x1bb)](){const _0x263e6b=a0_0x4986fd;return!this[_0x263e6b(0x2b3)]();}[a0_0x4986fd(0x253)](){return this['deleted'];}[a0_0x4986fd(0x1f7)](){const _0xbc4152=a0_0x4986fd,_0x421e24=[_0xbc4152(0x16c),_0xbc4152(0x3bd),'CHECKBOX'];return _0x421e24[_0xbc4152(0x228)](this['type']);}[a0_0x4986fd(0x351)](){const _0x719033=a0_0x4986fd;return this[_0x719033(0x186)]===_0x719033(0x320);}[a0_0x4986fd(0x32a)](){const _0x12864d=a0_0x4986fd,_0x182dae=this[_0x12864d(0x38b)]();return _0x182dae?.[_0x12864d(0x2d4)]||[];}[a0_0x4986fd(0x38b)](){const _0x22fb88=a0_0x4986fd;if(!this[_0x22fb88(0x1f7)]())return;const _0x2fce2d=this[_0x22fb88(0x2a5)](),_0x495054=this['getSelectItemsSource'](),_0x3d905a=[],_0xe3f16f={},_0x13bf92=_0xd71359=>{_0xd71359['forEach'](_0x357d4b=>{const _0x1821b4=a0_0x5c95;_0x3d905a[_0x1821b4(0x279)](_0x357d4b['value']),_0xe3f16f[String(_0x357d4b[_0x1821b4(0x31e)])]=_0x357d4b[_0x1821b4(0x169)],_0x357d4b['children']&&_0x357d4b[_0x1821b4(0x324)][_0x1821b4(0x338)]>0x0&&_0x13bf92(_0x357d4b[_0x1821b4(0x324)]);});};return _0x2fce2d&&_0x2fce2d[_0x22fb88(0x338)]>0x0&&_0x13bf92(_0x2fce2d),{'code':this['code'],'name':this[_0x22fb88(0x30e)],'type':this[_0x22fb88(0x186)],'multiple':this[_0x22fb88(0x351)](),'options':_0x2fce2d,'selectItemsSource':_0x495054,'values':_0x3d905a,'valueLabels':_0xe3f16f};}get[a0_0x4986fd(0x1cd)](){const _0x2d0fa9=a0_0x4986fd;return this[_0x2d0fa9(0x32a)]();}['toString'](){const _0x136028=a0_0x4986fd;return _0x136028(0x31c)+this[_0x136028(0x30e)]+',\x20'+this[_0x136028(0x3b7)]+',\x20'+this['type']+',\x20'+this[_0x136028(0x294)]()+')';}}class FieldV1 extends FieldBase{[a0_0x4986fd(0x283)];[a0_0x4986fd(0x1de)]=null;constructor(_0x1ae13a){const _0x19919b=a0_0x4986fd;super();if(!_0x1ae13a||typeof _0x1ae13a!=='object')throw new Error(_0x19919b(0x160));this[_0x19919b(0x283)]=_0x1ae13a;}[a0_0x4986fd(0x24e)](){const _0x2cba52=a0_0x4986fd;return this[_0x2cba52(0x283)];}['getVersion'](){return'v1';}get[a0_0x4986fd(0x245)](){const _0x154f73=a0_0x4986fd;return this[_0x154f73(0x283)];}get[a0_0x4986fd(0x30e)](){const _0x1e3b48=a0_0x4986fd;return this[_0x1e3b48(0x283)]['name']||'';}get[a0_0x4986fd(0x3b7)](){const _0x14cda7=a0_0x4986fd;return this[_0x14cda7(0x283)][_0x14cda7(0x3b7)]||'';}get[a0_0x4986fd(0x186)](){return this['_raw']['type']||'';}get['description'](){const _0x58650c=a0_0x4986fd;return this[_0x58650c(0x283)][_0x58650c(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x2658d8=a0_0x4986fd;return Boolean(this['_raw'][_0x2658d8(0x37d)]);}get['dbType'](){const _0x11428b=a0_0x4986fd;return this[_0x11428b(0x283)][_0x11428b(0x227)];}get[a0_0x4986fd(0x20a)](){const _0x3cc999=a0_0x4986fd;return this['_raw'][_0x3cc999(0x20a)];}get[a0_0x4986fd(0x12f)](){const _0x40a0b6=a0_0x4986fd;return this['_raw'][_0x40a0b6(0x28e)];}get[a0_0x4986fd(0x365)](){return;}get[a0_0x4986fd(0x142)](){const _0x2f02f0=a0_0x4986fd;if(this['_extend']!==null&&typeof this['_extend']===_0x2f02f0(0x236))return this['_extend'];const _0x9207c9=this['_raw'][_0x2f02f0(0x142)];if(!_0x9207c9||typeof _0x9207c9!==_0x2f02f0(0x388))return this['_extend']={},this[_0x2f02f0(0x1de)];if(_0x9207c9===_0x2f02f0(0x39e)||_0x9207c9[_0x2f02f0(0x356)]()==='null')return this['_extend']={},this[_0x2f02f0(0x1de)];try{const _0x23dca3=JSON['parse'](_0x9207c9);return this[_0x2f02f0(0x1de)]=_0x23dca3!==null&&typeof _0x23dca3===_0x2f02f0(0x236)&&!Array[_0x2f02f0(0x18f)](_0x23dca3)?_0x23dca3:{},this[_0x2f02f0(0x1de)];}catch(_0x115c84){return!![]&&console['warn'](_0x2f02f0(0x3a4)+this['code']+_0x2f02f0(0x222),_0x115c84),this[_0x2f02f0(0x1de)]={},this[_0x2f02f0(0x1de)];}}['isRequired'](){const _0x1e3dd8=a0_0x4986fd;return Boolean(this[_0x1e3dd8(0x142)][_0x1e3dd8(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x44899b=a0_0x4986fd;return Boolean(this[_0x44899b(0x142)]['primaryKey']||this[_0x44899b(0x142)]['pkField']);}[a0_0x4986fd(0x2b3)](){const _0x12b049=a0_0x4986fd;return Boolean(this[_0x12b049(0x142)][_0x12b049(0x174)]);}['isAutoIncrement'](){const _0x3d177c=a0_0x4986fd;return Boolean(this[_0x3d177c(0x142)][_0x3d177c(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x146b9a=a0_0x4986fd;return Boolean(this[_0x146b9a(0x142)][_0x146b9a(0x268)]);}[a0_0x4986fd(0x337)](){const _0x4a58bb=a0_0x4986fd;return Boolean(this['extend'][_0x4a58bb(0x3a3)]);}[a0_0x4986fd(0x240)](){return this['name'];}['getFieldName'](){const _0x177b78=a0_0x4986fd;return this[_0x177b78(0x3b7)];}['isEnum'](){const _0x41cc1c=a0_0x4986fd,_0x23b183=['RADIO',_0x41cc1c(0x3bd),_0x41cc1c(0x320)];if(_0x23b183[_0x41cc1c(0x228)](this[_0x41cc1c(0x186)]))return!![];const _0x3c36b8=this[_0x41cc1c(0x142)];return Boolean(_0x3c36b8['options']&&Array[_0x41cc1c(0x18f)](_0x3c36b8['options'])&&_0x3c36b8[_0x41cc1c(0x159)][_0x41cc1c(0x338)]>0x0||_0x3c36b8['selectItemsSource']);}[a0_0x4986fd(0x351)](){const _0x46ee7c=a0_0x4986fd;if(this[_0x46ee7c(0x186)]===_0x46ee7c(0x320))return!![];return Boolean(this['extend'][_0x46ee7c(0x387)]);}[a0_0x4986fd(0x2a5)](){const _0xb1d350=a0_0x4986fd,_0xb958c6=this[_0xb1d350(0x142)];if(_0xb958c6[_0xb1d350(0x159)]&&Array[_0xb1d350(0x18f)](_0xb958c6[_0xb1d350(0x159)]))return _0xb958c6[_0xb1d350(0x159)];return;}[a0_0x4986fd(0x146)](){const _0x161661=a0_0x4986fd,_0x5482da=this[_0x161661(0x142)];if(_0x5482da[_0x161661(0x370)]&&typeof _0x5482da['selectItemsSource']===_0x161661(0x236))return _0x5482da['selectItemsSource'];return;}[a0_0x4986fd(0x195)](){const _0x395173=a0_0x4986fd;return this[_0x395173(0x186)][_0x395173(0x39b)]();}[a0_0x4986fd(0x13c)](){const _0x563d2c=a0_0x4986fd;return this[_0x563d2c(0x142)]['defaultValue'];}['getTooltip'](){const _0xc95f9=a0_0x4986fd;return this[_0xc95f9(0x142)][_0xc95f9(0x1ec)];}[a0_0x4986fd(0x171)](){const _0x336246=a0_0x4986fd;return{'name':this[_0x336246(0x30e)],'code':this[_0x336246(0x3b7)],'type':this[_0x336246(0x186)],'dbType':this[_0x336246(0x227)],'dbTypeLen':this[_0x336246(0x20a)],'description':this[_0x336246(0x19e)],'required':this[_0x336246(0x115)](),'primaryKey':this[_0x336246(0x2f6)](),'system':this['isSystem'](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x336246(0x34c)](),'updateTime':this['isUpdateTime'](),'isEnum':this[_0x336246(0x1f7)](),'enumMeta':this[_0x336246(0x1f7)]()?this[_0x336246(0x38b)]():undefined};}['toString'](){const _0x2c554b=a0_0x4986fd;return _0x2c554b(0x191)+this[_0x2c554b(0x30e)]+',\x20'+this[_0x2c554b(0x3b7)]+',\x20'+this[_0x2c554b(0x186)]+')';}}class FieldListBase{[a0_0x4986fd(0x13d)];constructor(_0x1fcfa1,_0x512507){const _0x56b8e9=a0_0x4986fd;if(!Array[_0x56b8e9(0x18f)](_0x1fcfa1))throw new Error(_0x56b8e9(0x1e8));const _0x98a276=_0x512507?.[_0x56b8e9(0x211)]??![],_0x53d960=_0x98a276?_0x1fcfa1:_0x1fcfa1[_0x56b8e9(0x276)](_0x8f7f7e=>{const _0xde11ed=_0x56b8e9,_0x1ba269=_0x8f7f7e;return!_0x1ba269[_0xde11ed(0x37d)];});this[_0x56b8e9(0x13d)]=this[_0x56b8e9(0x111)](_0x53d960);}get['length'](){const _0xfac983=a0_0x4986fd;return this[_0xfac983(0x13d)]['length'];}[a0_0x4986fd(0x2af)](){const _0x2549aa=a0_0x4986fd;return[...this[_0x2549aa(0x13d)]];}['at'](_0x5eb656){const _0x43095c=a0_0x4986fd;return this[_0x43095c(0x13d)]['at'](_0x5eb656);}[a0_0x4986fd(0x2b4)](_0x28b11a){const _0x4558cb=a0_0x4986fd;return this['_fields'][_0x4558cb(0x2b4)](_0x27c5c9=>_0x27c5c9[_0x4558cb(0x3b7)]===_0x28b11a);}[a0_0x4986fd(0x20f)](_0x1524a7){const _0x5a5a7f=a0_0x4986fd;return this[_0x5a5a7f(0x13d)]['find'](_0x3dccba=>_0x3dccba[_0x5a5a7f(0x30e)]===_0x1524a7);}[a0_0x4986fd(0x27a)](_0x1fcbf8){const _0x3b696e=a0_0x4986fd;return this[_0x3b696e(0x13d)]['some'](_0x336adb=>_0x336adb[_0x3b696e(0x3b7)]===_0x1fcbf8);}[a0_0x4986fd(0x31a)](_0x597a8a){const _0x3ca5fb=a0_0x4986fd;this[_0x3ca5fb(0x13d)][_0x3ca5fb(0x31a)](_0x597a8a);}[a0_0x4986fd(0x30d)](_0x239a9c){const _0x20db51=a0_0x4986fd;return this[_0x20db51(0x13d)]['map'](_0x239a9c);}[a0_0x4986fd(0x276)](_0x317771){const _0xe85a77=a0_0x4986fd;return this[_0xe85a77(0x13d)]['filter'](_0x317771);}[a0_0x4986fd(0x10d)](_0x411237){const _0x3e25e0=a0_0x4986fd;return this[_0x3e25e0(0x13d)][_0x3e25e0(0x10d)](_0x411237);}[a0_0x4986fd(0x296)](_0x5af862){const _0x226965=a0_0x4986fd;return this[_0x226965(0x13d)][_0x226965(0x296)](_0x5af862);}[a0_0x4986fd(0x37f)](){const _0x10ec04=a0_0x4986fd;return this['_fields'][_0x10ec04(0x276)](_0x197555=>_0x197555[_0x10ec04(0x115)]());}['getPrimaryKeys'](){const _0x1d9ce9=a0_0x4986fd;return this[_0x1d9ce9(0x13d)][_0x1d9ce9(0x276)](_0x38218e=>_0x38218e[_0x1d9ce9(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x5408e8=a0_0x4986fd;return this['_fields'][_0x5408e8(0x276)](_0x261eb4=>_0x261eb4[_0x5408e8(0x2b3)]());}['getBusiness'](){const _0x5b9169=a0_0x4986fd;return this['_fields'][_0x5b9169(0x276)](_0xb34588=>_0xb34588[_0x5b9169(0x1bb)]());}[a0_0x4986fd(0x3b2)](){const _0xc0a328=a0_0x4986fd;return this[_0xc0a328(0x13d)][_0xc0a328(0x276)](_0x16ad93=>_0x16ad93[_0xc0a328(0x1f7)]());}[a0_0x4986fd(0x33e)](){const _0x4ac423=a0_0x4986fd;return this[_0x4ac423(0x13d)][_0x4ac423(0x276)](_0x5071c3=>_0x5071c3['isAutoIncrement']());}[a0_0x4986fd(0x340)](){const _0x56e2f3=a0_0x4986fd;return this['_fields'][_0x56e2f3(0x276)](_0x5a0451=>_0x5a0451[_0x56e2f3(0x34c)]());}[a0_0x4986fd(0x10f)](){const _0x191252=a0_0x4986fd;return this[_0x191252(0x13d)][_0x191252(0x276)](_0x2aa095=>_0x2aa095[_0x191252(0x337)]());}[a0_0x4986fd(0x20e)](){const _0x290382=a0_0x4986fd;return this[_0x290382(0x13d)]['filter'](_0x5445ba=>_0x5445ba[_0x290382(0x253)]());}[a0_0x4986fd(0x24f)](){const _0x3ae527=a0_0x4986fd;return this[_0x3ae527(0x13d)][_0x3ae527(0x276)](_0x4c60c0=>!_0x4c60c0[_0x3ae527(0x253)]());}['groupByType'](){const _0x805771=a0_0x4986fd,_0x8c375f={};return this[_0x805771(0x13d)][_0x805771(0x31a)](_0x3f950f=>{const _0x261530=_0x805771,_0x590c94=_0x3f950f[_0x261530(0x186)];!_0x8c375f[_0x590c94]&&(_0x8c375f[_0x590c94]=[]),_0x8c375f[_0x590c94][_0x261530(0x279)](_0x3f950f);}),_0x8c375f;}[a0_0x4986fd(0x1cf)](){const _0x3780ac=a0_0x4986fd,_0x46de44={};return this[_0x3780ac(0x13d)]['forEach'](_0x3098a8=>{const _0x3c4d64=_0x3780ac;if(_0x3098a8[_0x3c4d64(0x1f7)]()){const _0x10d5d6=_0x3098a8[_0x3c4d64(0x38b)]();_0x10d5d6&&(_0x46de44[_0x3098a8[_0x3c4d64(0x3b7)]]=_0x10d5d6);}}),_0x46de44;}[a0_0x4986fd(0x151)](){const _0x49dd67=a0_0x4986fd;return{'total':this[_0x49dd67(0x338)],'required':this[_0x49dd67(0x37f)]()['length'],'primaryKey':this[_0x49dd67(0x3c2)]()['length'],'system':this[_0x49dd67(0x19d)]()[_0x49dd67(0x338)],'business':this[_0x49dd67(0x1b7)]()['length'],'enum':this[_0x49dd67(0x3b2)]()['length'],'autoIncrement':this[_0x49dd67(0x33e)]()[_0x49dd67(0x338)]};}[a0_0x4986fd(0x2a1)](){const _0x5b0a20=a0_0x4986fd;return this[_0x5b0a20(0x13d)][_0x5b0a20(0x30d)](_0xed00c5=>_0xed00c5[_0x5b0a20(0x3b7)]);}['getNames'](){const _0xef046a=a0_0x4986fd;return this['_fields'][_0xef046a(0x30d)](_0x2bd5bc=>_0x2bd5bc[_0xef046a(0x240)]());}[a0_0x4986fd(0x25a)](){const _0x53eccb=a0_0x4986fd;return this[_0x53eccb(0x13d)]['map'](_0x43c616=>_0x43c616[_0x53eccb(0x3bb)]());}[a0_0x4986fd(0x171)](){const _0x4fe42c=a0_0x4986fd;return this[_0x4fe42c(0x13d)]['map'](_0x132773=>_0x132773['toJSON']());}[a0_0x4986fd(0x28a)](){const _0x495e22=a0_0x4986fd;return _0x495e22(0x19b)+this[_0x495e22(0x338)]+_0x495e22(0x3a9);}}class FieldListV1 extends FieldListBase{constructor(_0x38a169,_0x1b66c2){super(_0x38a169,_0x1b66c2);}[a0_0x4986fd(0x111)](_0x1150f5){const _0x2bdb72=a0_0x4986fd;return _0x1150f5[_0x2bdb72(0x30d)](_0x171fe9=>new FieldV1(_0x171fe9));}['all'](){const _0x3d84cc=a0_0x4986fd;return[...this[_0x3d84cc(0x13d)]];}['at'](_0x2586df){return this['_fields']['at'](_0x2586df);}[a0_0x4986fd(0x2b4)](_0x50a37d){const _0x13b54c=a0_0x4986fd;return this[_0x13b54c(0x13d)][_0x13b54c(0x2b4)](_0x41693b=>_0x41693b['code']===_0x50a37d);}[a0_0x4986fd(0x20f)](_0xa8702f){const _0x9c7261=a0_0x4986fd;return this[_0x9c7261(0x13d)][_0x9c7261(0x2b4)](_0x4ddf19=>_0x4ddf19[_0x9c7261(0x30e)]===_0xa8702f);}[a0_0x4986fd(0x276)](_0x14d744){const _0x130ab3=a0_0x4986fd;return this[_0x130ab3(0x13d)]['filter'](_0x14d744);}[a0_0x4986fd(0x30d)](_0x3adfdf){const _0x186398=a0_0x4986fd;return this[_0x186398(0x13d)]['map'](_0x3adfdf);}[a0_0x4986fd(0x37f)](){const _0x5891a1=a0_0x4986fd;return this[_0x5891a1(0x13d)][_0x5891a1(0x276)](_0x199ad9=>_0x199ad9[_0x5891a1(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0xc7b6b1=a0_0x4986fd;return this[_0xc7b6b1(0x13d)][_0xc7b6b1(0x276)](_0x233b20=>_0x233b20['isPrimaryKey']());}[a0_0x4986fd(0x19d)](){const _0x466b4a=a0_0x4986fd;return this[_0x466b4a(0x13d)]['filter'](_0x750cbb=>_0x750cbb[_0x466b4a(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x47a2a9=a0_0x4986fd;return this[_0x47a2a9(0x13d)][_0x47a2a9(0x276)](_0x12dabc=>_0x12dabc[_0x47a2a9(0x1bb)]());}['getEnum'](){const _0x2f6919=a0_0x4986fd;return this[_0x2f6919(0x13d)][_0x2f6919(0x276)](_0x5a7e78=>_0x5a7e78[_0x2f6919(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x4d9159=a0_0x4986fd,_0x159a2a={};return this[_0x4d9159(0x13d)][_0x4d9159(0x31a)](_0x4e5e44=>{const _0x4e6dae=_0x4d9159,_0x4ba81a=_0x4e5e44[_0x4e6dae(0x186)];!_0x159a2a[_0x4ba81a]&&(_0x159a2a[_0x4ba81a]=[]),_0x159a2a[_0x4ba81a][_0x4e6dae(0x279)](_0x4e5e44);}),_0x159a2a;}[a0_0x4986fd(0x245)](){const _0x17e799=a0_0x4986fd;return this[_0x17e799(0x13d)][_0x17e799(0x30d)](_0x51515b=>_0x51515b[_0x17e799(0x245)]);}static[a0_0x4986fd(0x1df)](_0x57a010){const _0x5edc3f=a0_0x4986fd,_0x13bf78=_0x57a010[_0x5edc3f(0x30d)](_0x35e39b=>_0x35e39b[_0x5edc3f(0x245)]);return new FieldListV1(_0x13bf78);}static[a0_0x4986fd(0x1cb)](_0x20a61e){const _0x3ae280=a0_0x4986fd,_0x34d983={};return _0x34d983[_0x3ae280(0x211)]=!![],new FieldListV1(_0x20a61e,_0x34d983);}}class FieldV2 extends FieldBase{[a0_0x4986fd(0x283)];constructor(_0x4db0ec){const _0x50448b=a0_0x4986fd;super();if(!_0x4db0ec||typeof _0x4db0ec!=='object')throw new Error(_0x50448b(0x261));this[_0x50448b(0x283)]=_0x4db0ec;}['getVersion'](){return'v2';}get['raw'](){return this['_raw'];}get['name'](){const _0x4a4969=a0_0x4986fd;return this['_raw'][_0x4a4969(0x30e)]||'';}get[a0_0x4986fd(0x3b7)](){const _0x5a2e9b=a0_0x4986fd;return this[_0x5a2e9b(0x283)][_0x5a2e9b(0x30e)]||'';}get[a0_0x4986fd(0x12f)](){const _0x18c921=a0_0x4986fd;return this[_0x18c921(0x283)]['displayName']||'';}get[a0_0x4986fd(0x186)](){const _0x39af31=a0_0x4986fd;if(this[_0x39af31(0x283)][_0x39af31(0x365)])return this['_raw'][_0x39af31(0x365)];return this[_0x39af31(0x364)](this[_0x39af31(0x283)][_0x39af31(0x227)]);}get['description'](){const _0x3fcd02=a0_0x4986fd;return this[_0x3fcd02(0x283)][_0x3fcd02(0x19e)]||'';}get[a0_0x4986fd(0x37d)](){const _0x449f50=a0_0x4986fd;return Boolean(this[_0x449f50(0x283)][_0x449f50(0x37d)]);}['isRequired'](){const _0x3a5b96=a0_0x4986fd;return Boolean(this[_0x3a5b96(0x283)][_0x3a5b96(0x2f8)]);}[a0_0x4986fd(0x2f6)](){const _0x2bc035=a0_0x4986fd;return Boolean(this['_raw'][_0x2bc035(0x1a1)]);}[a0_0x4986fd(0x2b3)](){const _0x5c0c=a0_0x4986fd;return Boolean(this[_0x5c0c(0x283)][_0x5c0c(0x174)]);}[a0_0x4986fd(0x2cf)](){const _0x4fca37=a0_0x4986fd;return Boolean(this[_0x4fca37(0x283)][_0x4fca37(0x1b5)]);}[a0_0x4986fd(0x34c)](){const _0x2d6191=a0_0x4986fd;return this[_0x2d6191(0x283)][_0x2d6191(0x174)]===_0x2d6191(0x268);}[a0_0x4986fd(0x337)](){const _0x387488=a0_0x4986fd;return this[_0x387488(0x283)]['systemRetain']==='updateTime';}['getDisplayName'](){return this['_raw']['displayName']||'';}[a0_0x4986fd(0x3bb)](){const _0x4c66a7=a0_0x4986fd;return this[_0x4c66a7(0x283)][_0x4c66a7(0x30e)]||'';}[a0_0x4986fd(0x1f7)](){const _0x3d5306=a0_0x4986fd;return Boolean(this[_0x3d5306(0x283)]['options']&&Array[_0x3d5306(0x18f)](this[_0x3d5306(0x283)][_0x3d5306(0x159)])&&this[_0x3d5306(0x283)][_0x3d5306(0x159)][_0x3d5306(0x338)]>0x0);}[a0_0x4986fd(0x351)](){const _0x25cc97=a0_0x4986fd,_0x466271=this[_0x25cc97(0x283)][_0x25cc97(0x142)];if(!_0x466271)return![];try{const _0x913033=JSON['parse'](_0x466271);if(_0x913033&&typeof _0x913033===_0x25cc97(0x236)&&'multiple'in _0x913033)return Boolean(_0x913033[_0x25cc97(0x387)]);}catch{}return![];}[a0_0x4986fd(0x2a5)](){const _0x21ec83=a0_0x4986fd;if(this[_0x21ec83(0x283)][_0x21ec83(0x159)]&&Array[_0x21ec83(0x18f)](this[_0x21ec83(0x283)][_0x21ec83(0x159)]))return this['_raw']['options'];return;}[a0_0x4986fd(0x146)](){const _0x23d82d=a0_0x4986fd,_0x498812=this[_0x23d82d(0x283)][_0x23d82d(0x142)];if(!_0x498812)return;try{const _0x1c74fa=JSON['parse'](_0x498812);if(_0x1c74fa&&typeof _0x1c74fa===_0x23d82d(0x236)&&_0x23d82d(0x370)in _0x1c74fa)return _0x1c74fa[_0x23d82d(0x370)];}catch{}return;}[a0_0x4986fd(0x195)](){const _0x361198=a0_0x4986fd;if(!this['_raw']['dbType'])return'';return this[_0x361198(0x283)]['dbType'][_0x361198(0x15c)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x361198(0x356)]()['toUpperCase']();}['getDefaultValue'](){return;}[a0_0x4986fd(0x301)](){return;}get[a0_0x4986fd(0x227)](){const _0x4e5adf=a0_0x4986fd;return this[_0x4e5adf(0x283)][_0x4e5adf(0x227)]??undefined;}get['dbTypeLen'](){const _0x3acc09=a0_0x4986fd;return this[_0x3acc09(0x283)][_0x3acc09(0x20a)];}[a0_0x4986fd(0x12e)](){const _0x5bfd6e=a0_0x4986fd;return this[_0x5bfd6e(0x283)]['doType']??null;}get[a0_0x4986fd(0x365)](){return this['_raw']['doType']??null;}[a0_0x4986fd(0x171)](){const _0x14a50a=a0_0x4986fd;return{'name':this[_0x14a50a(0x30e)],'code':this['code'],'type':this[_0x14a50a(0x186)],'dbType':this[_0x14a50a(0x227)],'dbTypeLen':this[_0x14a50a(0x20a)],'doType':this[_0x14a50a(0x12e)](),'displayName':this['displayName'],'description':this[_0x14a50a(0x19e)],'required':this['isRequired'](),'primaryKey':this[_0x14a50a(0x2f6)](),'system':this[_0x14a50a(0x2b3)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x14a50a(0x34c)](),'updateTime':this[_0x14a50a(0x337)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x14a50a(0x1f7)]()?this[_0x14a50a(0x38b)]():undefined};}[a0_0x4986fd(0x28a)](){const _0x45ea78=a0_0x4986fd;return _0x45ea78(0x2cd)+this[_0x45ea78(0x30e)]+',\x20'+this[_0x45ea78(0x3b7)]+',\x20'+this[_0x45ea78(0x227)]+_0x45ea78(0x2de)+this[_0x45ea78(0x12e)]()+')';}[a0_0x4986fd(0x364)](_0x543580){const _0x1f673f=a0_0x4986fd;if(!_0x543580)return _0x1f673f(0x139);const _0x35f9c8={};_0x35f9c8[_0x1f673f(0x2e9)]=_0x1f673f(0x139),_0x35f9c8['CHAR']=_0x1f673f(0x139),_0x35f9c8['TEXT']='TEXTAREA',_0x35f9c8[_0x1f673f(0x367)]=_0x1f673f(0x207),_0x35f9c8[_0x1f673f(0x1b2)]=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x38c)]=_0x1f673f(0x1f9),_0x35f9c8['TINYINT']='NUMBER',_0x35f9c8['SMALLINT']=_0x1f673f(0x1f9),_0x35f9c8[_0x1f673f(0x19a)]=_0x1f673f(0x1f9),_0x35f9c8['DOUBLE']='NUMBER',_0x35f9c8[_0x1f673f(0x39a)]='NUMBER',_0x35f9c8['DATETIME']=_0x1f673f(0x32d),_0x35f9c8['TIMESTAMP']=_0x1f673f(0x32d),_0x35f9c8[_0x1f673f(0x32d)]=_0x1f673f(0x32d),_0x35f9c8['TIME']=_0x1f673f(0x2a8),_0x35f9c8[_0x1f673f(0x30f)]=_0x1f673f(0x391),_0x35f9c8['BIT']=_0x1f673f(0x391),_0x35f9c8[_0x1f673f(0x384)]='FILE',_0x35f9c8[_0x1f673f(0x2f9)]='FILE';const _0x226b8e=_0x35f9c8,_0x5b38aa=_0x543580['toUpperCase']();return _0x226b8e[_0x5b38aa]||'TEXT';}}class FieldListV2 extends FieldListBase{constructor(_0x13ba21,_0x4a16f9){super(_0x13ba21,_0x4a16f9);}[a0_0x4986fd(0x111)](_0x21261e){return _0x21261e['map'](_0x353405=>new FieldV2(_0x353405));}[a0_0x4986fd(0x2af)](){const _0x416297=a0_0x4986fd;return[...this[_0x416297(0x13d)]];}['at'](_0x146a74){const _0x411d92=a0_0x4986fd;return this[_0x411d92(0x13d)]['at'](_0x146a74);}['find'](_0x2a05c4){const _0x5bb285=a0_0x4986fd;return this[_0x5bb285(0x13d)]['find'](_0x2f8eba=>_0x2f8eba[_0x5bb285(0x3b7)]===_0x2a05c4);}[a0_0x4986fd(0x20f)](_0x43f6dd){const _0x39920e=a0_0x4986fd;return this[_0x39920e(0x13d)][_0x39920e(0x2b4)](_0x1f1955=>_0x1f1955['getDisplayName']()===_0x43f6dd);}[a0_0x4986fd(0x276)](_0x28777b){const _0x5d10c5=a0_0x4986fd;return this['_fields'][_0x5d10c5(0x276)](_0x28777b);}['map'](_0x427b7a){const _0x130905=a0_0x4986fd;return this[_0x130905(0x13d)][_0x130905(0x30d)](_0x427b7a);}[a0_0x4986fd(0x37f)](){const _0x343afe=a0_0x4986fd;return this[_0x343afe(0x13d)][_0x343afe(0x276)](_0x34fd80=>_0x34fd80[_0x343afe(0x115)]());}[a0_0x4986fd(0x3c2)](){const _0x40a3d2=a0_0x4986fd;return this[_0x40a3d2(0x13d)]['filter'](_0x37f4d1=>_0x37f4d1[_0x40a3d2(0x2f6)]());}[a0_0x4986fd(0x19d)](){const _0x2abbdf=a0_0x4986fd;return this[_0x2abbdf(0x13d)][_0x2abbdf(0x276)](_0x1f03f9=>_0x1f03f9[_0x2abbdf(0x2b3)]());}[a0_0x4986fd(0x1b7)](){const _0x1d825c=a0_0x4986fd;return this[_0x1d825c(0x13d)][_0x1d825c(0x276)](_0x4110b4=>_0x4110b4['isBusiness']());}[a0_0x4986fd(0x3b2)](){const _0xbd21f9=a0_0x4986fd;return this['_fields'][_0xbd21f9(0x276)](_0x12133f=>_0x12133f[_0xbd21f9(0x1f7)]());}[a0_0x4986fd(0x3a1)](){const _0x3ad050=a0_0x4986fd,_0x3a4137={};return this['_fields'][_0x3ad050(0x31a)](_0x21cc70=>{const _0xbf0166=_0x3ad050,_0x3e2ac6=_0x21cc70[_0xbf0166(0x186)];!_0x3a4137[_0x3e2ac6]&&(_0x3a4137[_0x3e2ac6]=[]),_0x3a4137[_0x3e2ac6][_0xbf0166(0x279)](_0x21cc70);}),_0x3a4137;}['raw'](){const _0x72197c=a0_0x4986fd;return this[_0x72197c(0x13d)][_0x72197c(0x30d)](_0x14b9b8=>_0x14b9b8['raw']);}static[a0_0x4986fd(0x1df)](_0x5b358b){const _0x53e355=a0_0x4986fd,_0x44460c=_0x5b358b[_0x53e355(0x30d)](_0x4edae7=>_0x4edae7[_0x53e355(0x245)]);return new FieldListV2(_0x44460c);}static[a0_0x4986fd(0x1cb)](_0x3b3cbd){const _0x1664c5=a0_0x4986fd,_0x58d2ff={};return _0x58d2ff[_0x1664c5(0x211)]=!![],new FieldListV2(_0x3b3cbd,_0x58d2ff);}[a0_0x4986fd(0x28a)](){const _0x1a5fac=a0_0x4986fd;return'FieldListV2('+this[_0x1a5fac(0x338)]+_0x1a5fac(0x3a9);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x4986fd(0x2ea)];['_fieldListV1WithDeleted'];constructor(_0x2c5eb5){super(_0x2c5eb5);}[a0_0x4986fd(0x303)](){const _0x23b9f8=a0_0x4986fd;if(!this['_fieldListV1']){const _0x54ed87={};_0x54ed87[_0x23b9f8(0x211)]=![],this['_fieldListV1']=new FieldListV1(this[_0x23b9f8(0x283)][_0x23b9f8(0x2ff)]||[],_0x54ed87);}return this[_0x23b9f8(0x2ea)];}['getFieldListWithDeleted'](){const _0x34b4fc=a0_0x4986fd;if(!this[_0x34b4fc(0x335)]){const _0x33fbe8={};_0x33fbe8[_0x34b4fc(0x211)]=!![],this[_0x34b4fc(0x335)]=new FieldListV1(this[_0x34b4fc(0x283)][_0x34b4fc(0x2ff)]||[],_0x33fbe8);}return this[_0x34b4fc(0x335)];}[a0_0x4986fd(0x1af)](){const _0x124b73=a0_0x4986fd;return(this['_raw'][_0x124b73(0x2ff)]||[])[_0x124b73(0x276)](_0x615c8c=>!_0x615c8c[_0x124b73(0x37d)]);}[a0_0x4986fd(0x173)](){const _0x484049=a0_0x4986fd;return this[_0x484049(0x303)]()[_0x484049(0x338)];}[a0_0x4986fd(0x2bf)](_0x21609a){const _0x56ba42=a0_0x4986fd;return this['_raw']['properties']?.['find'](_0x167359=>_0x167359[_0x56ba42(0x3b7)]===_0x21609a);}['getVersion'](){return'v1';}[a0_0x4986fd(0x274)](){const _0x2bee4f=a0_0x4986fd,_0x405e67={};return _0x405e67[_0x2bee4f(0x26d)]=this['_raw'][_0x2bee4f(0x2ff)]||[],_0x405e67[_0x2bee4f(0x211)]=![],_0x405e67;}[a0_0x4986fd(0x2c3)](){const _0x4ace0f=a0_0x4986fd;return this['_raw'][_0x4ace0f(0x15b)];}[a0_0x4986fd(0x14f)](){const _0xd8d51d=a0_0x4986fd;return this['_raw'][_0xd8d51d(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x12258d=a0_0x4986fd,_0x53ddf9=this[_0x12258d(0x119)](),_0x2724bf=_0x53ddf9?.[_0x12258d(0x3a0)],_0x25cad9={};return _0x25cad9[_0x12258d(0x349)]=_0x53ddf9?.[_0x12258d(0x349)],_0x25cad9['dbName']=_0x53ddf9?.[_0x12258d(0x2a9)]??_0x2724bf?.[_0x12258d(0x2a9)],_0x25cad9['dbType']=_0x2724bf?.[_0x12258d(0x227)],_0x25cad9[_0x12258d(0x360)]=_0x2724bf?.[_0x12258d(0x360)],_0x25cad9[_0x12258d(0x1ca)]=_0x53ddf9?.['tableName'],_0x25cad9[_0x12258d(0x3ba)]=_0x53ddf9?.['datasetKey'],_0x25cad9[_0x12258d(0x1a1)]=_0x53ddf9?.['pkField'],_0x25cad9[_0x12258d(0x10b)]=_0x2724bf?.['tenantCode'],_0x25cad9[_0x12258d(0x30c)]=_0x2724bf?.[_0x12258d(0x30c)],new DBConfig(_0x25cad9,_0x53ddf9);}get[a0_0x4986fd(0x317)](){const _0x46cb8f=a0_0x4986fd;return this[_0x46cb8f(0x283)][_0x46cb8f(0x317)];}[a0_0x4986fd(0x176)](_0x389aef){const _0x436e67=a0_0x4986fd;if(typeof _0x389aef!==_0x436e67(0x388)){!![]&&console['warn'](_0x436e67(0x298),_0x389aef);return;}return this[_0x436e67(0x303)]()['find'](_0x389aef);}[a0_0x4986fd(0x2eb)](_0x4cb054){const _0x3f0bc6=a0_0x4986fd;if(!_0x4cb054||typeof _0x4cb054!==_0x3f0bc6(0x236))return![];const _0x26b014=this[_0x3f0bc6(0x176)](_0x4cb054[_0x3f0bc6(0x3b7)]);return _0x26b014?_0x26b014['isMultipleSelect']():![];}[a0_0x4986fd(0x3a5)](){const _0x52492c=a0_0x4986fd,_0x3953e8=this['getOperation'](_0x52492c(0x276));return _0x3953e8;}[a0_0x4986fd(0x190)](){const _0x27b6ac=a0_0x4986fd;return this[_0x27b6ac(0x378)](_0x27b6ac(0x276));}[a0_0x4986fd(0x1bd)](){return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x4986fd(0x141)];['_datasetMeta'];[a0_0x4986fd(0x199)];constructor(_0x11ca89){const _0x4e1704=a0_0x4986fd;super(_0x11ca89),this[_0x4e1704(0x156)]=_0x11ca89[_0x4e1704(0x218)],this[_0x4e1704(0x199)]=_0x11ca89[_0x4e1704(0x1b8)]||[];}[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x274)](){const _0x255e99=a0_0x4986fd,_0x3dc45c={};return _0x3dc45c[_0x255e99(0x26d)]=this[_0x255e99(0x283)][_0x255e99(0x26d)],_0x3dc45c[_0x255e99(0x211)]=![],_0x3dc45c;}[a0_0x4986fd(0x2c3)](){const _0x1ed685=a0_0x4986fd;return this[_0x1ed685(0x283)][_0x1ed685(0x15b)];}[a0_0x4986fd(0x14f)](){const _0x4a93ea=a0_0x4986fd;return this[_0x4a93ea(0x283)][_0x4a93ea(0x2f4)];}[a0_0x4986fd(0x1e5)](){const _0x5dd866=a0_0x4986fd,_0x4e43ac=this[_0x5dd866(0x283)][_0x5dd866(0x128)],_0x43263b=_0x4e43ac?.[_0x5dd866(0x3a0)],_0x6c95e9={};return _0x6c95e9['dbId']=_0x4e43ac?.[_0x5dd866(0x349)],_0x6c95e9[_0x5dd866(0x2a9)]=_0x4e43ac?.[_0x5dd866(0x2a9)]??_0x43263b?.[_0x5dd866(0x2a9)],_0x6c95e9['dbType']=_0x43263b?.['dbType'],_0x6c95e9[_0x5dd866(0x360)]=_0x43263b?.['dbVersion'],_0x6c95e9[_0x5dd866(0x1ca)]=_0x4e43ac?.[_0x5dd866(0x1ca)],_0x6c95e9[_0x5dd866(0x3ba)]=_0x4e43ac?.[_0x5dd866(0x3ba)],_0x6c95e9[_0x5dd866(0x1a1)]=_0x4e43ac?.['pkField'],_0x6c95e9[_0x5dd866(0x10b)]=_0x4e43ac?.[_0x5dd866(0x10b)]??_0x43263b?.[_0x5dd866(0x10b)],_0x6c95e9[_0x5dd866(0x30c)]=_0x4e43ac?.[_0x5dd866(0x30c)]??_0x43263b?.[_0x5dd866(0x30c)],new DBConfig(_0x6c95e9,_0x4e43ac);}[a0_0x4986fd(0x303)](){const _0xe16d21=a0_0x4986fd;return this[_0xe16d21(0x1b4)]();}['getFields'](){const _0x42155d=a0_0x4986fd;return this[_0x42155d(0x283)][_0x42155d(0x26d)];}['getFieldCount'](){const _0x5a97d9=a0_0x4986fd;return this['_raw'][_0x5a97d9(0x26d)][_0x5a97d9(0x338)];}['getFieldRaw'](_0x3370a4){const _0x501a5d=a0_0x4986fd;return this[_0x501a5d(0x283)][_0x501a5d(0x26d)]['find'](_0x3a3bce=>_0x3a3bce[_0x501a5d(0x30e)]===_0x3370a4);}[a0_0x4986fd(0x105)](){const _0x4c542c=a0_0x4986fd;return this[_0x4c542c(0x156)];}[a0_0x4986fd(0x269)](){const _0x3dea36=a0_0x4986fd;return this[_0x3dea36(0x199)];}[a0_0x4986fd(0x11c)](){const _0x36d8c5=a0_0x4986fd;return this[_0x36d8c5(0x156)][_0x36d8c5(0x17d)]||[];}[a0_0x4986fd(0x18e)](_0x1827f9){const _0x786cef=a0_0x4986fd;return this['_relations']['filter'](_0x4c45a1=>_0x4c45a1[_0x786cef(0x1f3)]===_0x1827f9);}['hasRelation'](_0x3346b8){const _0x16e66d=a0_0x4986fd;return this[_0x16e66d(0x199)][_0x16e66d(0x296)](_0x14d8d8=>_0x14d8d8[_0x16e66d(0x1f3)]===_0x3346b8);}[a0_0x4986fd(0x376)](_0x3ee487){const _0x40ca6b=a0_0x4986fd,_0x1042a6=this[_0x40ca6b(0x199)][_0x40ca6b(0x2b4)](_0x3c07b5=>_0x3c07b5[_0x40ca6b(0x1f3)]===_0x3ee487);if(!_0x1042a6)return;const _0x57fd5c={};return _0x57fd5c[_0x40ca6b(0x248)]=_0x1042a6[_0x40ca6b(0x2dd)],_0x57fd5c[_0x40ca6b(0x2e2)]=_0x1042a6[_0x40ca6b(0x11b)],_0x57fd5c[_0x40ca6b(0x2b8)]=_0x1042a6[_0x40ca6b(0x147)],_0x57fd5c[_0x40ca6b(0x1ca)]=_0x1042a6['toTableName'],_0x57fd5c[_0x40ca6b(0x2a0)]=_0x1042a6['toField'],_0x57fd5c;}[a0_0x4986fd(0x21e)](){const _0x584cd7=a0_0x4986fd;return this[_0x584cd7(0x199)]['map'](_0x242a2c=>_0x242a2c[_0x584cd7(0x1f3)]);}[a0_0x4986fd(0x1b4)](){const _0x580ae9=a0_0x4986fd;if(!this['_fieldListV2']){const _0x5de621=this[_0x580ae9(0x283)][_0x580ae9(0x26d)]||[];this['_fieldListV2']=new FieldListV2(_0x5de621);}return this[_0x580ae9(0x141)];}[a0_0x4986fd(0x176)](_0x48425c){const _0x584985=a0_0x4986fd;if(typeof _0x48425c!==_0x584985(0x388)){!![]&&console[_0x584985(0x27e)](_0x584985(0x104),_0x48425c);return;}return this[_0x584985(0x1b4)]()[_0x584985(0x2b4)](_0x48425c);}[a0_0x4986fd(0x2eb)](_0x55302d){const _0x2101d5=a0_0x4986fd;if(!_0x55302d||typeof _0x55302d!==_0x2101d5(0x236))return![];const _0x5c8701=_0x55302d[_0x2101d5(0x30e)]||_0x55302d['code'],_0x3cb52b=this[_0x2101d5(0x176)](_0x5c8701);return _0x3cb52b?_0x3cb52b[_0x2101d5(0x351)]():![];}[a0_0x4986fd(0x158)](){const _0x1256f0=a0_0x4986fd;if(!this[_0x1256f0(0x33a)]){const _0x5ebc63=this[_0x1256f0(0x311)](this[_0x1256f0(0x2c3)]()||{});this['_operationList']=new OperationList(_0x5ebc63,{'fields':this[_0x1256f0(0x1b4)]()[_0x1256f0(0x2af)](),'pkField':this[_0x1256f0(0x283)]['dbtableConfig']?.[_0x1256f0(0x1a1)],'dbtableConfig':this[_0x1256f0(0x283)][_0x1256f0(0x128)]||null});}return this['_operationList'];}[a0_0x4986fd(0x3a5)](){const _0x5ac0ed=a0_0x4986fd,_0xc48e17=this['getOperation'](_0x5ac0ed(0x276));return _0xc48e17;}[a0_0x4986fd(0x190)](){const _0x40b021=a0_0x4986fd;return this['hasOperation'](_0x40b021(0x276));}[a0_0x4986fd(0x1bd)](){const _0x5dc8e0=a0_0x4986fd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5dc8e0(0x119)]()});}[a0_0x4986fd(0x28a)](){const _0x5d65f7=a0_0x4986fd,_0xad5fe=this[_0x5d65f7(0x199)][_0x5d65f7(0x338)],_0x3904f0=this[_0x5d65f7(0x11c)]()[_0x5d65f7(0x338)];return _0x5d65f7(0x33b)+this[_0x5d65f7(0x30e)]+',\x20'+this[_0x5d65f7(0x2e2)]+',\x20'+this[_0x5d65f7(0x173)]()+_0x5d65f7(0x21f)+this['getOperationCount']()+_0x5d65f7(0x36e)+_0xad5fe+_0x5d65f7(0x217)+_0x3904f0+_0x5d65f7(0x3bf);}[a0_0x4986fd(0x22d)](){const _0x286eab=a0_0x4986fd;return this[_0x286eab(0x283)][_0x286eab(0x26d)];}[a0_0x4986fd(0x383)](_0x48831c){const _0x5891fd=a0_0x4986fd;return this[_0x5891fd(0x283)][_0x5891fd(0x26d)]['find'](_0x13d41e=>_0x13d41e[_0x5891fd(0x30e)]===_0x48831c);}}function detectDatasetVersion(_0x4126eb){const _0x50e71f=a0_0x4986fd;if(_0x4126eb[_0x50e71f(0x182)]==='v2'&&_0x50e71f(0x26d)in _0x4126eb&&Array[_0x50e71f(0x18f)](_0x4126eb['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x4986fd(0x1b6)];constructor(_0x734ba5){const _0xe773a3=a0_0x4986fd;super(_0x734ba5);const _0x4a1a2b=detectDatasetVersion(_0x734ba5);this[_0xe773a3(0x1b6)]=_0x4a1a2b==='v2'?new DrivenDataDetailV2(_0x734ba5):new DrivenDataDetailV1(_0x734ba5);}get['id'](){const _0xf14917=a0_0x4986fd;return this[_0xf14917(0x1b6)]['id'];}get[a0_0x4986fd(0x30e)](){const _0x4f1a4c=a0_0x4986fd;return this[_0x4f1a4c(0x1b6)][_0x4f1a4c(0x30e)];}get[a0_0x4986fd(0x2e2)](){const _0x20fd84=a0_0x4986fd;return this[_0x20fd84(0x1b6)][_0x20fd84(0x2e2)];}get[a0_0x4986fd(0x317)](){const _0x19109f=a0_0x4986fd;return this[_0x19109f(0x1b6)][_0x19109f(0x294)]()==='v2'?'2.0':'1.0';}['getVersion'](){const _0x14870f=a0_0x4986fd;return this[_0x14870f(0x1b6)]['getVersion']();}['getId'](){const _0x5c3895=a0_0x4986fd;return this[_0x5c3895(0x1b6)]['id'];}[a0_0x4986fd(0x1fd)](){const _0x5e2ec6=a0_0x4986fd;return this['_instance'][_0x5e2ec6(0x2e2)];}[a0_0x4986fd(0x1dd)](){return this['_instance']['name'];}[a0_0x4986fd(0x274)](){const _0x217bab=a0_0x4986fd;return this[_0x217bab(0x1b6)]['getFieldDataSource']();}[a0_0x4986fd(0x2c3)](){const _0x148717=a0_0x4986fd;return this[_0x148717(0x1b6)][_0x148717(0x2c3)]();}[a0_0x4986fd(0x14f)](){const _0xa5d44c=a0_0x4986fd;return this[_0xa5d44c(0x1b6)][_0xa5d44c(0x14f)]();}['getFieldListWithDeleted'](){const _0xb66abc=a0_0x4986fd;return this[_0xb66abc(0x1b6)]['getFieldListWithDeleted']();}[a0_0x4986fd(0x303)](){const _0x19f1d7=a0_0x4986fd;return this[_0x19f1d7(0x1b6)]['getFieldList']();}[a0_0x4986fd(0x2b9)](){const _0x56f200=a0_0x4986fd;return this[_0x56f200(0x1b6)][_0x56f200(0x2b9)]();}[a0_0x4986fd(0x1af)](){const _0x1762e4=a0_0x4986fd;return this[_0x1762e4(0x1b6)][_0x1762e4(0x1af)]();}[a0_0x4986fd(0x173)](){const _0x76b718=a0_0x4986fd;return this[_0x76b718(0x1b6)]['getFieldCount']();}['getPkField'](){const _0x3fac3a=a0_0x4986fd,_0x5d6589=this[_0x3fac3a(0x1b6)][_0x3fac3a(0x119)]();return _0x5d6589?.[_0x3fac3a(0x1a1)];}['getDBConfig'](){const _0x12b83b=a0_0x4986fd;return this[_0x12b83b(0x1b6)]['getDBConfig']();}[a0_0x4986fd(0x176)](_0x3f9e2b){const _0x5604ae=a0_0x4986fd;return this[_0x5604ae(0x1b6)]['getFieldInstance'](_0x3f9e2b);}[a0_0x4986fd(0x345)](){const _0x1d5b83=a0_0x4986fd;return this[_0x1d5b83(0x1b6)][_0x1d5b83(0x345)]();}[a0_0x4986fd(0x165)](){const _0x2398f3=a0_0x4986fd;return this[_0x2398f3(0x1b6)][_0x2398f3(0x165)]();}[a0_0x4986fd(0x2c7)](){const _0x130fe0=a0_0x4986fd;return this[_0x130fe0(0x1b6)][_0x130fe0(0x2c7)]();}[a0_0x4986fd(0x18a)](){const _0x4cee3a=a0_0x4986fd;return this[_0x4cee3a(0x1b6)]['getRequiredFields']();}[a0_0x4986fd(0x393)](){const _0x33ef0d=a0_0x4986fd;return this[_0x33ef0d(0x1b6)]['getFieldsByType']();}['getEnumFields'](){return this['_instance']['getEnumFields']();}[a0_0x4986fd(0x2bd)](){const _0x265f2a=a0_0x4986fd;return this[_0x265f2a(0x1b6)][_0x265f2a(0x2bd)]();}['getOperations'](){const _0x319d77=a0_0x4986fd;return this[_0x319d77(0x1b6)][_0x319d77(0x14c)]();}['getOperationCount'](){const _0x512f01=a0_0x4986fd;return this[_0x512f01(0x1b6)][_0x512f01(0x15e)]();}[a0_0x4986fd(0x362)](){const _0x3037b9=a0_0x4986fd;return this[_0x3037b9(0x1b6)][_0x3037b9(0x362)]();}[a0_0x4986fd(0x1ba)](){const _0x581fae=a0_0x4986fd;return this[_0x581fae(0x1b6)][_0x581fae(0x1ba)]();}[a0_0x4986fd(0x118)](){const _0x361660=a0_0x4986fd;return this[_0x361660(0x1b6)]['getEnabledOperationInstances']();}[a0_0x4986fd(0x321)](){return this['_instance']['getDisabledOperationInstances']();}[a0_0x4986fd(0x151)](){const _0x169278=a0_0x4986fd;return this[_0x169278(0x1b6)][_0x169278(0x151)]();}['getDatasetMeta'](){return this['_instance']['getDatasetMeta']();}['getRelations'](){const _0x2fc888=a0_0x4986fd;return this[_0x2fc888(0x1b6)]['getRelations']();}[a0_0x4986fd(0x11c)](){const _0xb8e6bf=a0_0x4986fd;return this[_0xb8e6bf(0x1b6)]['getIndexes']();}['getFilterOperators'](){const _0x1a914a=a0_0x4986fd;return this[_0x1a914a(0x1b6)][_0x1a914a(0x251)]();}['getFieldsFilterOperatorsMap'](){const _0x53e719=a0_0x4986fd;return this[_0x53e719(0x1b6)][_0x53e719(0x17a)]();}['toJSON'](){const _0x477974=a0_0x4986fd;return this[_0x477974(0x1b6)][_0x477974(0x171)]();}['getFilterOperation'](){const _0x5f4125=a0_0x4986fd;return this[_0x5f4125(0x1b6)]['getFilterOperation']();}[a0_0x4986fd(0x190)](){const _0x19c799=a0_0x4986fd;return this[_0x19c799(0x1b6)][_0x19c799(0x190)]();}[a0_0x4986fd(0x1bd)](){return this['_instance']['toListItem']();}[a0_0x4986fd(0x28a)](){const _0x20e6f2=a0_0x4986fd;return this[_0x20e6f2(0x1b6)][_0x20e6f2(0x28a)]();}[a0_0x4986fd(0x313)](){const _0x49a085=a0_0x4986fd;return this[_0x49a085(0x1b6)];}}function detectDatasetVersion2(_0x3b7add){const _0x3db174=a0_0x4986fd;if(_0x3b7add[_0x3db174(0x182)]==='v2'&&'fields'in _0x3b7add&&Array['isArray'](_0x3b7add[_0x3db174(0x26d)]))return'v2';return'v1';}function createDrivenDataDetail(_0x9cd481,_0xbb9e79={}){const {forceVersion:_0x45e107}=_0xbb9e79;if(_0x45e107==='v2')return new DrivenDataDetailV2(_0x9cd481);if(_0x45e107==='v1')return new DrivenDataDetailV1(_0x9cd481);const _0x437fac=detectDatasetVersion2(_0x9cd481);if(_0x437fac==='v2')return new DrivenDataDetailV2(_0x9cd481);return new DrivenDataDetailV1(_0x9cd481);}function isV2Data(_0x55fcfa){return detectDatasetVersion2(_0x55fcfa)==='v2';}function isV1Data(_0x21beff){return detectDatasetVersion2(_0x21beff)==='v1';}function isV2Instance(_0x2d59d5){return _0x2d59d5['getVersion']()==='v2';}function isV1Instance(_0x290ab8){return _0x290ab8['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x1cb3ee){const _0x100d52=a0_0x4986fd;this[_0x100d52(0x2a4)]=Array[_0x100d52(0x18f)](_0x1cb3ee)?[..._0x1cb3ee]:[_0x1cb3ee],this[_0x100d52(0x2a4)]['sort']((_0xf13757,_0x1d90f4)=>{const _0x138d41=Number(_0xf13757['id'])||0x0,_0x19bc0d=Number(_0x1d90f4['id'])||0x0;return _0x19bc0d-_0x138d41;});}[a0_0x4986fd(0x134)](){const _0x4a446a=a0_0x4986fd;return this[_0x4a446a(0x2a4)][_0x4a446a(0x338)]>0x1;}[a0_0x4986fd(0x2e8)](){const _0x2091be=a0_0x4986fd;return this[_0x2091be(0x2a4)][0x0];}[a0_0x4986fd(0x389)](){return this['items'][this['items']['length']-0x1];}[a0_0x4986fd(0x1a7)](){return[...this['items']];}[a0_0x4986fd(0x2d8)](){return this['items']['length'];}[a0_0x4986fd(0x192)](_0x567865){const _0x1467ce=a0_0x4986fd;return this[_0x1467ce(0x2a4)][_0x567865];}[a0_0x4986fd(0x2ac)](_0x1161ec){const _0x1bbf44=a0_0x4986fd;return this['items'][_0x1bbf44(0x2b4)](_0x4908c6=>_0x4908c6['id']===_0x1161ec);}[a0_0x4986fd(0x36f)](_0x5d8865){const _0x5f45b8=a0_0x4986fd;return this[_0x5f45b8(0x2a4)]['find'](_0x5d8421=>_0x5d8421[_0x5f45b8(0x2e2)]===_0x5d8865);}[a0_0x4986fd(0x2b6)](){const _0x5caf43=a0_0x4986fd;return this[_0x5caf43(0x2a4)][_0x5caf43(0x30d)](_0x3399cd=>_0x3399cd['id'])[_0x5caf43(0x276)](_0x1061ed=>_0x1061ed!==undefined);}[a0_0x4986fd(0x2a1)](){const _0x463371=a0_0x4986fd;return this['items'][_0x463371(0x30d)](_0x3a4a33=>_0x3a4a33[_0x463371(0x2e2)]);}[a0_0x4986fd(0x28a)](){const _0x4284cb=a0_0x4986fd;if(this[_0x4284cb(0x134)]())return _0x4284cb(0x13f)+this['items'][_0x4284cb(0x338)]+_0x4284cb(0x226)+this[_0x4284cb(0x2e8)]()[_0x4284cb(0x30e)]+')';return _0x4284cb(0x13f)+this[_0x4284cb(0x2a4)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x4986fd(0x35b)];constructor(_0x498b4c){const _0x2be2d6=a0_0x4986fd;this['groups']=new Map();for(const _0x22364d of _0x498b4c){const _0x3b12c0=getTableKey(_0x22364d);if(!this[_0x2be2d6(0x35b)][_0x2be2d6(0x27a)](_0x3b12c0))this['groups'][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0x22364d));else{const _0x4cb5c5=this[_0x2be2d6(0x35b)][_0x2be2d6(0x161)](_0x3b12c0),_0xbfbb1b=[..._0x4cb5c5[_0x2be2d6(0x1a7)](),_0x22364d];this[_0x2be2d6(0x35b)][_0x2be2d6(0x2d7)](_0x3b12c0,new DatasetGroup(_0xbfbb1b));}}}[a0_0x4986fd(0x161)](_0x333a77){const _0xaf723=a0_0x4986fd;return this['groups'][_0xaf723(0x161)](_0x333a77);}[a0_0x4986fd(0x27a)](_0x550b0e){const _0x53ab98=a0_0x4986fd;return this[_0x53ab98(0x35b)][_0x53ab98(0x27a)](_0x550b0e);}get['size'](){const _0xc8424e=a0_0x4986fd;return this[_0xc8424e(0x35b)][_0xc8424e(0x38d)];}[a0_0x4986fd(0x1b1)](){const _0x72e88c=a0_0x4986fd;return this[_0x72e88c(0x35b)][_0x72e88c(0x1b1)]();}[a0_0x4986fd(0x2d4)](){const _0xc8719b=a0_0x4986fd;return this[_0xc8719b(0x35b)][_0xc8719b(0x2d4)]();}[a0_0x4986fd(0x353)](){const _0x13217f=a0_0x4986fd;return this[_0x13217f(0x35b)][_0x13217f(0x353)]();}[Symbol['iterator']](){const _0x40853a=a0_0x4986fd;return this[_0x40853a(0x35b)]['entries']();}[a0_0x4986fd(0x31a)](_0x37120d){const _0x20d51d=a0_0x4986fd;this[_0x20d51d(0x35b)][_0x20d51d(0x31a)]((_0x3d153e,_0x15e2b0)=>_0x37120d(_0x3d153e,_0x15e2b0,this));}['getConflicts'](){const _0x4ae0e7=a0_0x4986fd,_0xb2260a=new Map();for(const [_0x5d708a,_0x285a15]of this[_0x4ae0e7(0x35b)]){_0x285a15[_0x4ae0e7(0x134)]()&&_0xb2260a['set'](_0x5d708a,_0x285a15);}return _0xb2260a;}[a0_0x4986fd(0x287)](){const _0x104d7=a0_0x4986fd;for(const _0x1b7950 of this[_0x104d7(0x35b)]['values']()){if(_0x1b7950[_0x104d7(0x134)]())return!![];}return![];}['getConflictStats'](){const _0x6c373f=a0_0x4986fd;let _0x589c99=0x0,_0x34ea20=0x0;for(const _0x8b09d2 of this[_0x6c373f(0x35b)][_0x6c373f(0x2d4)]()){_0x8b09d2[_0x6c373f(0x134)]()&&(_0x589c99++,_0x34ea20+=_0x8b09d2['getCount']());}const _0x252c74={};return _0x252c74[_0x6c373f(0x16e)]=_0x589c99,_0x252c74[_0x6c373f(0x19c)]=_0x34ea20,_0x252c74[_0x6c373f(0x31f)]=this[_0x6c373f(0x35b)]['size'],_0x252c74;}['getAllDatasets'](){const _0x13f212=a0_0x4986fd,_0x489caa=[];for(const _0x1eb069 of this[_0x13f212(0x35b)][_0x13f212(0x2d4)]()){_0x489caa[_0x13f212(0x279)](..._0x1eb069['getAll']());}return _0x489caa;}[a0_0x4986fd(0x26c)](){const _0x439336=a0_0x4986fd,_0x481723=[];for(const _0x3de161 of this[_0x439336(0x35b)][_0x439336(0x2d4)]()){_0x481723[_0x439336(0x279)](_0x3de161[_0x439336(0x2e8)]());}return _0x481723;}[a0_0x4986fd(0x2e8)](_0xdb68f5){const _0x3237d4=a0_0x4986fd;return this[_0x3237d4(0x35b)]['get'](_0xdb68f5)?.[_0x3237d4(0x2e8)]();}['getAll'](_0x2ea2cf){const _0x602dc3=a0_0x4986fd;return this[_0x602dc3(0x35b)][_0x602dc3(0x161)](_0x2ea2cf)?.[_0x602dc3(0x1a7)]()||[];}[a0_0x4986fd(0x32f)](){const _0x3f2a82=a0_0x4986fd,_0x1440e2=this[_0x3f2a82(0x26c)](),_0x2a762d=_0x1440e2[_0x3f2a82(0x30d)](_0x2519dc=>_0x2519dc[_0x3f2a82(0x171)]()),_0x4f6457={};return _0x4f6457[_0x3f2a82(0x23e)]=![],generateDatasetsConfig(_0x2a762d,_0x4f6457);}['toFullConfig'](){const _0x5538a7=a0_0x4986fd,_0x400f0f=this[_0x5538a7(0x373)](),_0x4e3af3=_0x400f0f[_0x5538a7(0x30d)](_0x3ea664=>_0x3ea664[_0x5538a7(0x171)]());return generateFullDatasetsConfig(_0x4e3af3);}[a0_0x4986fd(0x18c)](){const _0x411f78={};for(const [_0x35cc67,_0x3792d4]of this['groups']){_0x411f78[_0x35cc67]=_0x3792d4;}return _0x411f78;}[a0_0x4986fd(0x171)](){const _0x638882=a0_0x4986fd,_0xd41b7e={};for(const [_0x1ca16b,_0x23170d]of this['groups']){_0xd41b7e[_0x1ca16b]=_0x23170d[_0x638882(0x1a7)]()[_0x638882(0x30d)](_0x533e7d=>_0x533e7d[_0x638882(0x171)]());}return _0xd41b7e;}[a0_0x4986fd(0x28a)](){const _0x82bd9a=a0_0x4986fd;return _0x82bd9a(0x322)+this[_0x82bd9a(0x35b)][_0x82bd9a(0x38d)]+_0x82bd9a(0x2df)+(this['hasConflicts']()?_0x82bd9a(0x312):_0x82bd9a(0x114))+')';}}class DatasetList{[a0_0x4986fd(0x2a7)];constructor(_0x19d309){const _0xc36274=a0_0x4986fd;let _0x34fa1f;if(Array[_0xc36274(0x18f)](_0x19d309))_0x34fa1f=_0x19d309;else{if(_0xc36274(0x399)in _0x19d309){if(!_0x19d309['success'])throw new Error(_0xc36274(0x212));if(Array['isArray'](_0x19d309[_0xc36274(0x3b5)]))_0x34fa1f=_0x19d309[_0xc36274(0x3b5)][_0xc36274(0x30d)](_0xf49ad5=>({..._0xf49ad5,'datasetCode':_0xf49ad5[_0xc36274(0x3b7)]||_0xf49ad5[_0xc36274(0x2e2)]}));else{if(_0x19d309['data']?.[_0xc36274(0x148)])_0x34fa1f=_0x19d309['data'][_0xc36274(0x148)][_0xc36274(0x30d)](_0x7f6a2c=>({..._0x7f6a2c,'datasetCode':_0x7f6a2c['code']||_0x7f6a2c[_0xc36274(0x2e2)]}));else throw new Error(_0xc36274(0x288));}}else{if('tableData'in _0x19d309){if(!Array[_0xc36274(0x18f)](_0x19d309[_0xc36274(0x148)]))throw new Error('Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array');_0x34fa1f=_0x19d309['tableData'][_0xc36274(0x30d)](_0x33a718=>({..._0x33a718,'datasetCode':_0x33a718[_0xc36274(0x3b7)]||_0x33a718[_0xc36274(0x2e2)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x329a07=cleanDatasetNames(_0x34fa1f),_0x17b3bb=_0x329a07[_0xc36274(0x30d)](_0x123987=>new DatasetItem(_0x123987));this[_0xc36274(0x2a7)]=new DatasetGroupMap(_0x17b3bb);}get['datasetMap'](){const _0x1f2da0=a0_0x4986fd;return this[_0x1f2da0(0x2a7)];}[a0_0x4986fd(0x25d)](){const _0x125002=a0_0x4986fd;return this[_0x125002(0x2a7)]['getAllDatasets']();}[a0_0x4986fd(0x2d8)](){const _0x365527=a0_0x4986fd;return this[_0x365527(0x25d)]()[_0x365527(0x338)];}[a0_0x4986fd(0x318)](){const _0x2a68c9=a0_0x4986fd;return this[_0x2a68c9(0x2a7)][_0x2a68c9(0x38d)]===0x0;}['getAt'](_0x2dc40f){const _0x4f42c9=a0_0x4986fd;return this[_0x4f42c9(0x25d)]()[_0x2dc40f];}['getFirst'](){const _0x2276a7=a0_0x4986fd;return this[_0x2276a7(0x25d)]()[0x0];}[a0_0x4986fd(0x1ae)](){const _0x1d4680=a0_0x4986fd,_0x3ad9d6=this[_0x1d4680(0x25d)]();return _0x3ad9d6[_0x3ad9d6[_0x1d4680(0x338)]-0x1];}[a0_0x4986fd(0x36f)](_0x503955){const _0x34095f=a0_0x4986fd;for(const _0x4dfa05 of this[_0x34095f(0x2a7)][_0x34095f(0x2d4)]()){const _0x3a2b5e=_0x4dfa05[_0x34095f(0x36f)](_0x503955);if(_0x3a2b5e)return _0x3a2b5e;}return;}[a0_0x4986fd(0x20f)](_0x52df3c){const _0x187018=a0_0x4986fd;return this['getItems']()[_0x187018(0x2b4)](_0x1e9594=>_0x1e9594[_0x187018(0x30e)]===_0x52df3c);}[a0_0x4986fd(0x2ac)](_0x1bf210){const _0x268bf1=a0_0x4986fd;for(const _0x19dfa2 of this[_0x268bf1(0x2a7)]['values']()){const _0x26faf4=_0x19dfa2[_0x268bf1(0x2ac)](_0x1bf210);if(_0x26faf4)return _0x26faf4;}return;}[a0_0x4986fd(0x14a)](_0x2fa42d){const _0x44f682=a0_0x4986fd,_0x541bde=getTableKey(_0x2fa42d);return this[_0x44f682(0x2a7)][_0x44f682(0x2e8)](_0x541bde);}['filter'](_0x4887de){const _0x30f51e=a0_0x4986fd,_0x421e00=this[_0x30f51e(0x25d)]()[_0x30f51e(0x276)](_0x4887de);return new DatasetList(_0x421e00[_0x30f51e(0x30d)](_0x3c379b=>_0x3c379b[_0x30f51e(0x171)]()));}[a0_0x4986fd(0x266)](_0x326fa9){const _0x682269=a0_0x4986fd;return this[_0x682269(0x25d)]()['filter'](_0x326fa9);}[a0_0x4986fd(0x31a)](_0x32ae5e){const _0x193b6d=a0_0x4986fd;this['getItems']()[_0x193b6d(0x31a)](_0x32ae5e);}[a0_0x4986fd(0x30d)](_0x25608e){const _0xe1374c=a0_0x4986fd;return this['getItems']()[_0xe1374c(0x30d)](_0x25608e);}[Symbol[a0_0x4986fd(0x263)]](){const _0x9857fd=a0_0x4986fd;return this['getItems']()[Symbol[_0x9857fd(0x263)]]();}[a0_0x4986fd(0x343)](){const _0x318114=a0_0x4986fd;return this[_0x318114(0x25d)]()['filter'](_0x465e86=>_0x465e86[_0x318114(0x1d9)]());}['getRealTables'](){const _0x15d757=a0_0x4986fd;return this[_0x15d757(0x25d)]()[_0x15d757(0x276)](_0x299a7=>!_0x299a7[_0x15d757(0x1d9)]());}[a0_0x4986fd(0x10e)](){const _0xf1c71a=a0_0x4986fd,_0x311f05={};for(const _0x528895 of this['_datasetMap']['values']()){const _0x4f00fd=_0x528895[_0xf1c71a(0x2e8)]()[_0xf1c71a(0x13e)]();_0x311f05[_0x4f00fd]=_0x528895[_0xf1c71a(0x1a7)]();}return _0x311f05;}[a0_0x4986fd(0x377)](){const _0x4f36b3=a0_0x4986fd,_0x20bf4b={};for(const _0x1e8ed2 of this[_0x4f36b3(0x2a7)][_0x4f36b3(0x2d5)]()[_0x4f36b3(0x2d4)]()){const _0x24d63d=_0x1e8ed2['getLatest']()['getTableName']();_0x20bf4b[_0x24d63d]=_0x1e8ed2[_0x4f36b3(0x1a7)]()[_0x4f36b3(0x30d)](_0x4a8208=>_0x4a8208[_0x4f36b3(0x171)]());}return{'hasConflicts':Object[_0x4f36b3(0x1b1)](_0x20bf4b)[_0x4f36b3(0x338)]>0x0,'conflicts':_0x20bf4b};}[a0_0x4986fd(0x287)](){const _0x38a82b=a0_0x4986fd;return this[_0x38a82b(0x2a7)][_0x38a82b(0x287)]();}['getConflictingItems'](){const _0x5dd6ed=a0_0x4986fd,_0x42dcf8=[];for(const _0x2c64bc of this[_0x5dd6ed(0x2a7)]['getConflicts']()[_0x5dd6ed(0x2d4)]()){_0x42dcf8[_0x5dd6ed(0x279)](..._0x2c64bc[_0x5dd6ed(0x1a7)]());}return _0x42dcf8;}[a0_0x4986fd(0x194)](_0x239ea5){const _0x12330f=a0_0x4986fd;if(!_0x239ea5||Object[_0x12330f(0x1b1)](_0x239ea5)[_0x12330f(0x338)]===0x0)return this[_0x12330f(0x262)][_0x12330f(0x32f)]();const _0x544ae9=this[_0x12330f(0x25d)]()['map'](_0x2dc92a=>_0x2dc92a[_0x12330f(0x171)]());return generateDatasetsConfig(_0x544ae9,_0x239ea5);}[a0_0x4986fd(0x366)](_0x18e9f4){const _0xace7ac=this['generateConfig'](_0x18e9f4);return datasetsConfigToArray(_0xace7ac);}[a0_0x4986fd(0x197)](){const _0x24a8de=a0_0x4986fd;return this['getItems']()[_0x24a8de(0x30d)](_0x5adc02=>_0x5adc02[_0x24a8de(0x32f)]());}[a0_0x4986fd(0x151)](){const _0xdfa085=a0_0x4986fd;return{'total':this['getCount'](),'virtualTables':this['getVirtualTables']()[_0xdfa085(0x338)],'realTables':this[_0xdfa085(0x368)]()['length'],'hasConflicts':this[_0xdfa085(0x287)](),'conflictCount':this[_0xdfa085(0x243)]()[_0xdfa085(0x338)]};}[a0_0x4986fd(0x23f)](){const _0x55041f=a0_0x4986fd;return this['getItems']()['map'](_0x2905dd=>_0x2905dd[_0x55041f(0x171)]());}['toJSON'](){return this['toArray']();}[a0_0x4986fd(0x28a)](){const _0xcddd9b=a0_0x4986fd;return _0xcddd9b(0x339)+this[_0xcddd9b(0x2d8)]()+_0xcddd9b(0x131)+this[_0xcddd9b(0x2a7)]['size']+'\x20groups)';}static[a0_0x4986fd(0x19f)](_0x42d2cc){return new DatasetList(_0x42d2cc);}static[a0_0x4986fd(0x3b9)](_0x12d03b){return new DatasetList(_0x12d03b);}static[a0_0x4986fd(0x232)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x4986fd(0x241);function renderTemplate(_0x229ded,_0x52cfd8,_0xddd68a={}){const _0x21ec98=a0_0x4986fd;let _0x112fbf=_0x229ded;return Object[_0x21ec98(0x353)](_0xddd68a)[_0x21ec98(0x31a)](([_0x1d5c45,_0x2bbec8])=>{const _0x513a24=_0x21ec98,_0x4cb511=new RegExp(_0x513a24(0x2aa)+_0x1d5c45+'\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','g');_0x112fbf=_0x112fbf[_0x513a24(0x15c)](_0x4cb511,_0x2bbec8?'$1':'');}),Object[_0x21ec98(0x353)](_0x52cfd8)['forEach'](([_0x1db96b,_0x2be9e6])=>{const _0x1b9f0a=_0x21ec98;if(_0x2be9e6!==undefined){const _0xaf35cd=new RegExp('\x5c{\x5c{'+_0x1db96b+_0x1b9f0a(0x2cb),'g');_0x112fbf=_0x112fbf[_0x1b9f0a(0x15c)](_0xaf35cd,_0x2be9e6);}}),_0x112fbf;}function generateSDKInitCode(_0x410fa3,_0x465706,_0x5eff05,_0x1a8768,_0x588bd8){const _0x44e57a=a0_0x4986fd,_0x19f8ed={};_0x19f8ed[_0x44e57a(0x30c)]=_0x410fa3,_0x19f8ed[_0x44e57a(0x2e2)]=_0x465706,_0x19f8ed['alias']=_0x5eff05,_0x19f8ed[_0x44e57a(0x11e)]=_0x1a8768==='daily'?'daily':undefined;const _0x57ef85={};return _0x57ef85[_0x44e57a(0x11e)]=_0x1a8768!==undefined&&_0x1a8768!==_0x44e57a(0x3a6),_0x57ef85['isOpenAPI']=_0x588bd8===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x19f8ed,_0x57ef85);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x26160a,_0x15b825,_0x5eb2d5,_0x3776f8){const _0x7174a0=a0_0x4986fd,_0x47f491='dataset_'+_0x26160a,_0x22701f=_0x7174a0(0x1bf),_0x154460={};return _0x154460[_0x7174a0(0x2e2)]=_0x26160a,_0x154460['datasetSDKKey']=_0x47f491,_0x154460[_0x7174a0(0x1ca)]=_0x15b825,_0x154460[_0x7174a0(0x28e)]=_0x5eb2d5,_0x154460[_0x7174a0(0x30c)]=_0x3776f8,_0x154460[_0x7174a0(0x255)]=_0x22701f,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x154460,{});}function DrivenDataDetailPlusMixin(_0x144689){const _0x56ac75=a0_0x4986fd;return class _0x3738ef extends _0x144689{[_0x56ac75(0x3a2)](_0x33f206){const _0x2be04e=_0x56ac75;return{'appCode':_0x33f206,'datasetSDKKey':this['getDatasetSDKKey'](),'alias':this['getModelAlias'](),'tableName':this[_0x2be04e(0x13e)](),'datasetCode':this[_0x2be04e(0x2e2)]};}[_0x56ac75(0x350)](_0x4d0837,_0x51412b=_0x56ac75(0x3a6),_0x585bba=![]){const _0x19e789=_0x56ac75;return generateSDKInitCode(_0x4d0837,this[_0x19e789(0x2e2)],this[_0x19e789(0x29c)](),_0x51412b==='daily'?_0x51412b:undefined,_0x585bba);}['generateFullSDKExample'](_0x43abd6,_0x116496,_0x488d2f={}){const _0x1aafce=_0x56ac75,_0x4a2ad7=this[_0x1aafce(0x14c)]()[_0x1aafce(0x2b4)](_0x436e18=>_0x436e18[_0x1aafce(0x1dd)]()===_0x43abd6);if(!_0x4a2ad7)return null;const _0x2e7227={};_0x2e7227[_0x1aafce(0x1a6)]=_0x488d2f[_0x1aafce(0x305)]!==![];const _0x284aa2=this['getOperationDocMeta'](_0x43abd6,_0x2e7227);if(!_0x284aa2)return null;const _0x1036fc=[];return _0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x310)+_0x4a2ad7['getName']()+_0x1aafce(0x35a)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x327)]['code']),_0x1036fc[_0x1aafce(0x279)](''),_0x488d2f['includeUsageExample']!==![]&&(_0x1036fc[_0x1aafce(0x279)](_0x1aafce(0x1e3)),_0x1036fc[_0x1aafce(0x279)](_0x284aa2[_0x1aafce(0x394)][_0x1aafce(0x1c9)]),_0x1036fc[_0x1aafce(0x279)](''),_0x1036fc[_0x1aafce(0x279)](_0x284aa2['usageExample'][_0x1aafce(0x2e5)])),_0x1036fc[_0x1aafce(0x348)]('\x0a');}[_0x56ac75(0x196)](_0x527926={}){const _0x3f4bb7=_0x56ac75,_0x256135=this[_0x3f4bb7(0x189)](),_0x3274c8=[];return _0x256135[_0x3f4bb7(0x31a)]((_0x219f69,_0x224125)=>{const _0x1b1b28=_0x3f4bb7,_0x5c316f=this['generateFullSDKExample'](_0x219f69[_0x1b1b28(0x30e)],'demo-app',_0x527926);_0x5c316f&&(_0x3274c8[_0x1b1b28(0x279)](_0x1b1b28(0x2ee)+(_0x224125+0x1)+'.\x20'+_0x219f69[_0x1b1b28(0x12f)]),_0x3274c8[_0x1b1b28(0x279)](_0x5c316f),_0x3274c8[_0x1b1b28(0x279)](''));}),_0x3274c8[_0x3f4bb7(0x348)]('\x0a');}[_0x56ac75(0x35e)](_0x47f671){const _0x888a69=_0x56ac75,_0x3da2d7=this['getOperationAnalysis'](_0x47f671);if(!_0x3da2d7)return null;const _0x22131d={};return _0x22131d[_0x888a69(0x30e)]=_0x3da2d7[_0x888a69(0x30e)],_0x22131d[_0x888a69(0x12f)]=_0x3da2d7['displayName'],_0x22131d['method']=_0x3da2d7['method'],_0x22131d[_0x888a69(0x1f1)]=_0x3da2d7[_0x888a69(0x1f1)],_0x22131d[_0x888a69(0x1ac)]=_0x3da2d7['enabled'],_0x22131d[_0x888a69(0x2b1)]=_0x3da2d7[_0x888a69(0x113)]['length'],_0x22131d[_0x888a69(0x2da)]=_0x3da2d7['responseSchema']!==null,_0x22131d;}[_0x56ac75(0x2ae)](_0x2a48fc={}){const _0x35e6ec=_0x56ac75,_0x299a3f=this[_0x35e6ec(0x189)]();return{'datasetName':this[_0x35e6ec(0x30e)],'datasetCode':this[_0x35e6ec(0x2e2)],'tableName':this['getTableName'](),'totalOperations':_0x299a3f[_0x35e6ec(0x338)],'operations':_0x299a3f[_0x35e6ec(0x30d)](_0x4428e9=>({'name':_0x4428e9[_0x35e6ec(0x30e)],'displayName':_0x4428e9[_0x35e6ec(0x12f)],'method':_0x4428e9[_0x35e6ec(0x2fc)],'enabled':_0x4428e9[_0x35e6ec(0x1ac)]}))};}[_0x56ac75(0x1fe)](_0x3c306a){const _0x3d503c=_0x56ac75,_0xf2fe05=this[_0x3d503c(0x11f)](_0x3c306a);if(!_0xf2fe05)return[];return _0xf2fe05[_0x3d503c(0x113)][_0x3d503c(0x30d)](_0x1c38c1=>{const _0x4607cb=_0x3d503c,_0x1a23ca=this[_0x4607cb(0x176)](_0x1c38c1);if(!_0x1a23ca)return null;const _0x13fbdf={};return _0x13fbdf[_0x4607cb(0x3b7)]=_0x1c38c1,_0x13fbdf[_0x4607cb(0x30e)]=_0x1a23ca[_0x4607cb(0x30e)]||_0x1c38c1,_0x13fbdf;})[_0x3d503c(0x276)](_0xac6425=>_0xac6425!==null);}[_0x56ac75(0x36c)](){const _0x596f9b=_0x56ac75,_0x1697ff=new Set(this['getEnabledOperationAnalyses']()['map'](_0x20f97c=>String(_0x20f97c[_0x596f9b(0x186)]))),_0x50b3d2=[_0x596f9b(0x38a),_0x596f9b(0x208),'update',_0x596f9b(0x270)];return _0x50b3d2[_0x596f9b(0x276)](_0x27f829=>!_0x1697ff['has'](String(_0x27f829)));}[_0x56ac75(0x1c7)](_0x5165a5=_0x56ac75(0x123)){const _0x45026a=_0x56ac75;return generateAliasExplanation(this[_0x45026a(0x2e2)],this['getTableName'](),this['getModelAlias'](),_0x5165a5);}};}function operationToAnalysis(_0x2fab36){const _0x1b0f74=a0_0x4986fd;return{'name':_0x2fab36[_0x1b0f74(0x1dd)](),'displayName':_0x2fab36[_0x1b0f74(0x240)](),'type':_0x2fab36[_0x1b0f74(0x252)](),'method':_0x2fab36['getMethod'](),'path':_0x2fab36['getPath'](),'fullUrl':_0x2fab36['getFullUrl'](),'requestFields':_0x2fab36[_0x1b0f74(0x281)](),'requestParams':_0x2fab36[_0x1b0f74(0x12d)](),'responseSchema':_0x2fab36['getResponseSchema'](),'requestExample':_0x2fab36['generateRequestExample'](),'responseExample':_0x2fab36[_0x1b0f74(0x1d2)](),'enabled':_0x2fab36[_0x1b0f74(0x282)]()};}function operationsToAnalyses(_0x364cb7){const _0x13b912=a0_0x4986fd;if(!Array[_0x13b912(0x18f)](_0x364cb7))return!![]&&console[_0x13b912(0x27e)](_0x13b912(0x2c9),_0x364cb7),[];return _0x364cb7['map'](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x2162b2){const _0x34ecc2=a0_0x4986fd,_0x5f21a0=_0x2162b2['find'](_0x15f089=>_0x15f089[_0x34ecc2(0x30e)]===_0x34ecc2(0x276)),_0x2ddb0b=_0x2162b2[_0x34ecc2(0x276)](_0xde52ba=>_0xde52ba[_0x34ecc2(0x30e)]!==_0x34ecc2(0x276));return _0x5f21a0?[_0x5f21a0,..._0x2ddb0b]:_0x2ddb0b;}function filterOperationAnalyses(_0x478f4e,_0x36db24={}){const _0x157fc3=a0_0x4986fd;let _0x18d79a=_0x478f4e;return!_0x36db24[_0x157fc3(0x1a5)]&&(_0x18d79a=_0x18d79a[_0x157fc3(0x276)](_0x1e1b09=>_0x1e1b09[_0x157fc3(0x1ac)])),_0x36db24['filterBlacklist']!==![]&&(_0x18d79a=filterApiOperations(_0x18d79a)),_0x36db24[_0x157fc3(0x3b6)]&&(_0x18d79a=_0x18d79a['filter'](_0x36db24[_0x157fc3(0x3b6)])),sortOperationsWithFilterFirst(_0x18d79a);}function getOperationStats(_0x29634e){const _0x4244d0=a0_0x4986fd,_0x1e758b=_0x29634e['filter'](_0x3a4457=>_0x3a4457[_0x4244d0(0x1ac)]);return{'total':_0x29634e[_0x4244d0(0x338)],'enabled':_0x1e758b['length'],'disabled':_0x29634e['length']-_0x1e758b[_0x4244d0(0x338)],'byType':getCountByType(_0x1e758b),'byMethod':getCountByMethod(_0x1e758b)};}function getCountByType(_0x81491f){const _0x13ec9b=a0_0x4986fd,_0x379138={};return _0x81491f[_0x13ec9b(0x31a)](_0x5c8bb8=>{const _0x326375=_0x13ec9b;if(_0x5c8bb8['type'])_0x379138[_0x5c8bb8[_0x326375(0x186)]]=(_0x379138[_0x5c8bb8['type']]||0x0)+0x1;}),_0x379138;}function getCountByMethod(_0x1b2fd5){const _0x1eec0d=a0_0x4986fd,_0x2c0f68={};return _0x1b2fd5[_0x1eec0d(0x31a)](_0x25235e=>{const _0xa37836=_0x1eec0d;_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]=(_0x2c0f68[_0x25235e[_0xa37836(0x2fc)]]||0x0)+0x1;}),_0x2c0f68;}function supportsCRUD(_0x5791f0){const _0x5a382c=a0_0x4986fd,_0x1550dc=new Set(_0x5791f0[_0x5a382c(0x30d)](_0x1c270d=>_0x1c270d[_0x5a382c(0x186)])[_0x5a382c(0x276)](Boolean));return _0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x38a))&&_0x1550dc[_0x5a382c(0x27a)]('getList')&&_0x1550dc['has'](_0x5a382c(0x1c5))&&_0x1550dc[_0x5a382c(0x27a)](_0x5a382c(0x270));}function createOperationDocMeta(_0x51845e,_0x172d61,_0x5b7c0e,_0x502da5,_0x44bdaf,_0x4c29e7){const _0x6cc899=a0_0x4986fd,_0x52c928={};return _0x52c928[_0x6cc899(0x1a6)]=_0x4c29e7?.[_0x6cc899(0x1a6)],{'operation':_0x51845e,'operationInstance':_0x172d61,'basicInfo':{'name':_0x51845e['name'],'displayName':_0x51845e[_0x6cc899(0x12f)],'method':_0x51845e['method'],'path':_0x51845e['path'],'fullUrl':_0x51845e['fullUrl'],'enabled':_0x51845e['enabled']},'sdkCall':{'datasetCode':_0x5b7c0e,'datasetSDKKey':_0x502da5,'tableName':_0x44bdaf,'operationName':_0x51845e[_0x6cc899(0x30e)],'params':_0x51845e[_0x6cc899(0x113)],'code':_0x172d61['generateSDKCallCode'](_0x502da5,_0x52c928)},'usageExample':_0x172d61[_0x6cc899(0x235)](_0x502da5)};}function createOperationsOverviewData(_0x4a1c9f){const _0x4cd9c5=a0_0x4986fd,_0x2b4919={};_0x2b4919[_0x4cd9c5(0x273)]='name',_0x2b4919[_0x4cd9c5(0x169)]=_0x4cd9c5(0x234);const _0x4125c8={};_0x4125c8['index']=_0x4cd9c5(0x12f),_0x4125c8[_0x4cd9c5(0x169)]=_0x4cd9c5(0x332);const _0x2e605a={};_0x2e605a[_0x4cd9c5(0x273)]=_0x4cd9c5(0x2fc),_0x2e605a[_0x4cd9c5(0x169)]='方法';const _0x1e6f0e={};_0x1e6f0e['index']=_0x4cd9c5(0x327),_0x1e6f0e['label']=_0x4cd9c5(0x2dc);const _0x3ed51b={};_0x3ed51b[_0x4cd9c5(0x273)]=_0x4cd9c5(0x1f1),_0x3ed51b[_0x4cd9c5(0x169)]='API路径';const _0x9629e7={};_0x9629e7[_0x4cd9c5(0x273)]=_0x4cd9c5(0x285),_0x9629e7[_0x4cd9c5(0x169)]='完整的\x20SDK\x20调用代码';const _0x68cd19=[_0x2b4919,_0x4125c8,_0x2e605a,_0x1e6f0e,_0x3ed51b,_0x9629e7],_0x22089b=_0x4a1c9f[_0x4cd9c5(0x30d)](_0x51a19b=>{const _0x53a5fa=_0x4cd9c5,{basicInfo:_0x2a3ef2,sdkCall:_0x4b5c54}=_0x51a19b,_0x1b5f38=_0x4b5c54[_0x53a5fa(0x3b7)][_0x53a5fa(0x15c)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x53a5fa(0x15c)](/;$/,''),_0x2de9c={};return _0x2de9c[_0x53a5fa(0x12f)]=_0x2a3ef2[_0x53a5fa(0x12f)],_0x2de9c[_0x53a5fa(0x30e)]=_0x2a3ef2['name'],_0x2de9c[_0x53a5fa(0x2fc)]=_0x2a3ef2[_0x53a5fa(0x2fc)],_0x2de9c[_0x53a5fa(0x1f1)]=_0x2a3ef2[_0x53a5fa(0x1f1)],_0x2de9c['sdkCall']=_0x1b5f38,_0x2de9c['sdkCallCode']=_0x4b5c54[_0x53a5fa(0x3b7)],_0x2de9c;}),_0x36105f={};return _0x36105f['tableColumns']=_0x68cd19,_0x36105f[_0x4cd9c5(0x148)]=_0x22089b,_0x36105f;}function createDatasetDocMeta(_0x3c97a2,_0xe25381,_0x2c3ede,_0x27e149,_0x51c63f,_0x3239ba,_0x3ec8f4,_0x28842a,_0x17d427){const _0xd86c62=a0_0x4986fd,_0xb10f8c={};return _0xb10f8c[_0xd86c62(0x22e)]=_0x3c97a2+_0xd86c62(0x27c),_0xb10f8c[_0xd86c62(0x3a7)]={},_0xb10f8c[_0xd86c62(0x15b)]=_0x17d427,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x30e)]=_0x3c97a2,_0xb10f8c[_0xd86c62(0x3a7)]['code']=_0xe25381,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1ca)]=_0x2c3ede,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x181)]=_0x27e149,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x1f6)]=_0x51c63f,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x2f4)]=_0x3239ba,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x106)]=_0x3ec8f4,_0xb10f8c[_0xd86c62(0x3a7)]['businessFieldCount']=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x188)]=0x0,_0xb10f8c[_0xd86c62(0x3a7)][_0xd86c62(0x34f)]=_0x28842a,_0xb10f8c[_0xd86c62(0x3a7)]['enabledOperationCount']=_0x17d427[_0xd86c62(0x338)],_0xb10f8c;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x4986fd(0x29c)](){const _0x1fd6bb=a0_0x4986fd;return this[_0x1fd6bb(0x2b7)]();}[a0_0x4986fd(0x157)](_0x4b3619=![]){const _0x3df1b1=a0_0x4986fd;if(!_0x4b3619&&this[_0x3df1b1(0x35c)])return this[_0x3df1b1(0x35c)];const _0x5f4a70=this[_0x3df1b1(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x5f4a70),this[_0x3df1b1(0x35c)];}[a0_0x4986fd(0x189)](){const _0x5a6e9e=a0_0x4986fd,_0x39531b={};return _0x39531b['includeDisabled']=![],_0x39531b[_0x5a6e9e(0x27b)]=!![],this[_0x5a6e9e(0x293)](_0x39531b);}['getFilteredOperationAnalyses'](_0x32bfcd={}){const _0x506fe2=a0_0x4986fd;return filterOperationAnalyses(this[_0x506fe2(0x157)](),_0x32bfcd);}[a0_0x4986fd(0x11f)](_0x1f2ed7){const _0x56b6d1=a0_0x4986fd;return this[_0x56b6d1(0x157)]()[_0x56b6d1(0x2b4)](_0x171642=>_0x171642[_0x56b6d1(0x30e)]===_0x1f2ed7);}['getOperationAnalysesByType'](_0x2133e9){const _0x411b1=a0_0x4986fd;return this['getOperationAnalyses']()[_0x411b1(0x276)](_0x1144c0=>_0x1144c0[_0x411b1(0x186)]===_0x2133e9);}[a0_0x4986fd(0x3ae)](_0xf7cd15,_0x413ea5){const _0x16c86c=a0_0x4986fd,_0x5ec90d=this[_0x16c86c(0x11f)](_0xf7cd15);if(!_0x5ec90d)return null;const _0x535704=this['getOperations']()['find'](_0xe1f87e=>_0xe1f87e['getName']()===_0x5ec90d['name']);if(!_0x535704)throw new Error(_0x16c86c(0x1e0)+_0x5ec90d[_0x16c86c(0x30e)]);return createOperationDocMeta(_0x5ec90d,_0x535704,this['datasetCode'],this[_0x16c86c(0x2b0)](),this[_0x16c86c(0x13e)](),_0x413ea5);}[a0_0x4986fd(0x2ec)](_0x46f49f={}){const _0x5bf26a=a0_0x4986fd,_0x234909=this[_0x5bf26a(0x293)](_0x46f49f),_0x315c9e=_0x234909['map'](_0x5d8aa0=>this['getOperationDocMeta'](_0x5d8aa0[_0x5bf26a(0x30e)]))[_0x5bf26a(0x276)](_0x5c161e=>_0x5c161e!==null);return createDatasetDocMeta(this[_0x5bf26a(0x30e)],this[_0x5bf26a(0x2e2)],this[_0x5bf26a(0x13e)](),this[_0x5bf26a(0x2b0)](),this[_0x5bf26a(0x2b7)](),this[_0x5bf26a(0x2f4)],this[_0x5bf26a(0x173)](),this['getOperationCount'](),_0x315c9e);}['getOperationsOverviewData'](_0x4e37d0){return createOperationsOverviewData(_0x4e37d0);}[a0_0x4986fd(0x333)](){const _0x54a72f=a0_0x4986fd;return supportsCRUD(this[_0x54a72f(0x189)]());}['getOperationStats'](){const _0x2b3527=a0_0x4986fd;return getOperationStats(this[_0x2b3527(0x157)]());}[a0_0x4986fd(0x28a)](){const _0x4c58b8=a0_0x4986fd,_0xe12987=this['getOperationStats']();return'DrivenDataDetailPlus('+this['name']+',\x20'+this[_0x4c58b8(0x2e2)]+',\x20'+this[_0x4c58b8(0x173)]()+_0x4c58b8(0x21f)+_0xe12987[_0x4c58b8(0x1ac)]+'/'+_0xe12987[_0x4c58b8(0x238)]+_0x4c58b8(0x1a3);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x4986fd(0x35c)];[a0_0x4986fd(0x294)](){return'v2';}[a0_0x4986fd(0x29c)](){const _0x28b460=a0_0x4986fd;return this[_0x28b460(0x2b7)]();}[a0_0x4986fd(0x157)](_0x26a98a=![]){const _0x8dd49d=a0_0x4986fd;if(!_0x26a98a&&this[_0x8dd49d(0x35c)])return this[_0x8dd49d(0x35c)];const _0x411f70=this[_0x8dd49d(0x14c)]();return this['_operationAnalyses']=operationsToAnalyses(_0x411f70),this[_0x8dd49d(0x35c)];}[a0_0x4986fd(0x189)](){const _0x127b69=a0_0x4986fd,_0x5e3c36={};return _0x5e3c36['includeDisabled']=![],_0x5e3c36['filterBlacklist']=!![],this[_0x127b69(0x293)](_0x5e3c36);}['getFilteredOperationAnalyses'](_0xc3bd78={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0xc3bd78);}[a0_0x4986fd(0x11f)](_0x3bbebf){const _0x18142f=a0_0x4986fd;return this[_0x18142f(0x157)]()[_0x18142f(0x2b4)](_0x3aa59c=>_0x3aa59c['name']===_0x3bbebf);}[a0_0x4986fd(0x2b2)](_0x500aea){const _0x5e3de6=a0_0x4986fd;return this[_0x5e3de6(0x157)]()[_0x5e3de6(0x276)](_0x279705=>_0x279705['type']===_0x500aea);}[a0_0x4986fd(0x3ae)](_0x401b47,_0x17a168){const _0x1310ab=a0_0x4986fd,_0x487d5d=this[_0x1310ab(0x11f)](_0x401b47);if(!_0x487d5d)return null;const _0x5af670=this[_0x1310ab(0x14c)]()[_0x1310ab(0x2b4)](_0x516e49=>_0x516e49['getName']()===_0x487d5d[_0x1310ab(0x30e)]);if(!_0x5af670)throw new Error(_0x1310ab(0x1e0)+_0x487d5d['name']);return createOperationDocMeta(_0x487d5d,_0x5af670,this[_0x1310ab(0x2e2)],this[_0x1310ab(0x2b0)](),this[_0x1310ab(0x13e)](),_0x17a168);}[a0_0x4986fd(0x2ec)](_0x275b89={}){const _0x4bc161=a0_0x4986fd,_0x2b0d17=this[_0x4bc161(0x293)](_0x275b89),_0x468dff=_0x2b0d17[_0x4bc161(0x30d)](_0x5dd849=>this[_0x4bc161(0x3ae)](_0x5dd849['name']))['filter'](_0x1228cd=>_0x1228cd!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x4bc161(0x13e)](),this[_0x4bc161(0x2b0)](),this['getTableKey'](),this[_0x4bc161(0x2f4)],this[_0x4bc161(0x173)](),this[_0x4bc161(0x15e)](),_0x468dff);}['getOperationsOverviewData'](_0xa97a92){return createOperationsOverviewData(_0xa97a92);}['supportsCRUD'](){const _0x11760c=a0_0x4986fd;return supportsCRUD(this[_0x11760c(0x189)]());}[a0_0x4986fd(0x290)](){return getOperationStats(this['getOperationAnalyses']());}[a0_0x4986fd(0x28a)](){const _0x2c9741=a0_0x4986fd,_0x4c8739=this[_0x2c9741(0x290)]();return _0x2c9741(0x2d9)+this[_0x2c9741(0x30e)]+',\x20'+this['datasetCode']+',\x20'+this[_0x2c9741(0x173)]()+_0x2c9741(0x21f)+_0x4c8739[_0x2c9741(0x1ac)]+'/'+_0x4c8739['total']+_0x2c9741(0x32e);}}function detectDatasetVersion3(_0x3128fa){const _0x5285e4=a0_0x4986fd;if(_0x3128fa[_0x5285e4(0x182)]==='v2'&&'fields'in _0x3128fa&&Array[_0x5285e4(0x18f)](_0x3128fa[_0x5285e4(0x26d)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x4986fd(0x1b6)];constructor(_0x2c0c12){const _0x407dfc=detectDatasetVersion3(_0x2c0c12);return this['_instance']=_0x407dfc==='v2'?new DrivenDataDetailPlusV2(_0x2c0c12):new DrivenDataDetailPlusV1(_0x2c0c12),new Proxy(this,{'get'(_0x10ba5c,_0x4f42ef){const _0x2fbe72=a0_0x5c95;if(_0x4f42ef in _0x10ba5c){const _0x590bd0=_0x10ba5c[_0x4f42ef];return typeof _0x590bd0==='function'?_0x590bd0[_0x2fbe72(0x1e2)](_0x10ba5c):_0x590bd0;}if(_0x4f42ef in _0x10ba5c[_0x2fbe72(0x1b6)]){const _0x53591b=_0x10ba5c[_0x2fbe72(0x1b6)][_0x4f42ef];return typeof _0x53591b==='function'?_0x53591b['bind'](_0x10ba5c[_0x2fbe72(0x1b6)]):_0x53591b;}return;},'set'(_0x578f91,_0x418f2e,_0x4b1a30){return _0x578f91[_0x418f2e]=_0x4b1a30,!![];},'getPrototypeOf'(_0x43b14f){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x4986fd(0x30e)](){const _0x119c37=a0_0x4986fd;return this[_0x119c37(0x1b6)][_0x119c37(0x30e)];}get['id'](){const _0x2fb1c6=a0_0x4986fd;return this[_0x2fb1c6(0x1b6)]['id'];}get[a0_0x4986fd(0x2e2)](){const _0x423c5f=a0_0x4986fd;return this['_instance'][_0x423c5f(0x2e2)];}get[a0_0x4986fd(0x2f4)](){const _0x5c72cc=a0_0x4986fd;return this[_0x5c72cc(0x1b6)][_0x5c72cc(0x2f4)];}get[a0_0x4986fd(0x128)](){const _0x83218b=a0_0x4986fd;return this[_0x83218b(0x1b6)][_0x83218b(0x1e5)]();}[a0_0x4986fd(0x294)](){const _0xec189e=a0_0x4986fd,_0x98adb5=this['_instance'][_0xec189e(0x294)]();return _0x98adb5==='v2'?'v2':'v1';}[a0_0x4986fd(0x173)](){const _0x4577ca=a0_0x4986fd;return this[_0x4577ca(0x1b6)][_0x4577ca(0x173)]();}[a0_0x4986fd(0x15e)](){const _0x5c549e=a0_0x4986fd;return this[_0x5c549e(0x1b6)][_0x5c549e(0x15e)]();}['getFields'](){const _0x3fd237=a0_0x4986fd;return this[_0x3fd237(0x1b6)][_0x3fd237(0x1af)]();}[a0_0x4986fd(0x14c)](){const _0x399520=a0_0x4986fd;return this[_0x399520(0x1b6)][_0x399520(0x14c)]();}['getFilteredOperations'](_0x16972c){return this['_instance']['getFilteredOperations'](_0x16972c);}['getFieldInstance'](_0x3fa891){const _0x3661cf=a0_0x4986fd;return this['_instance'][_0x3661cf(0x176)](_0x3fa891);}['getTableName'](){return this['_instance']['getTableName']();}[a0_0x4986fd(0x2b7)](){const _0x45e72e=a0_0x4986fd;return this['_instance'][_0x45e72e(0x2b7)]();}['getDatasetSDKKey'](){const _0x1051e0=a0_0x4986fd;return this[_0x1051e0(0x1b6)][_0x1051e0(0x2b0)]();}[a0_0x4986fd(0x303)](){const _0x2531f1=a0_0x4986fd;return this[_0x2531f1(0x1b6)][_0x2531f1(0x303)]();}[a0_0x4986fd(0x302)](){const _0x4e7e3f=a0_0x4986fd;return this[_0x4e7e3f(0x1b6)][_0x4e7e3f(0x302)]();}[a0_0x4986fd(0x2bd)](){const _0x59221e=a0_0x4986fd;return this[_0x59221e(0x1b6)][_0x59221e(0x2bd)]();}[a0_0x4986fd(0x2eb)](_0x316397){const _0x462248=a0_0x4986fd;return this[_0x462248(0x1b6)]['isMultipleSelectField'](_0x316397);}[a0_0x4986fd(0x1b0)](_0x1df27c){const _0x520fd1=a0_0x4986fd;return this[_0x520fd1(0x1b6)]['getField'](_0x1df27c);}[a0_0x4986fd(0x116)](_0xd138c0){const _0x3c41e9=a0_0x4986fd;return this[_0x3c41e9(0x1b6)][_0x3c41e9(0x116)](_0xd138c0);}['getFieldSelectItemsSource'](_0x254a38){const _0x20d5e8=a0_0x4986fd;return this[_0x20d5e8(0x1b6)][_0x20d5e8(0x1fb)](_0x254a38);}[a0_0x4986fd(0x1ce)](_0x5d34bd){const _0x34a4f2=a0_0x4986fd;return this[_0x34a4f2(0x1b6)][_0x34a4f2(0x1ce)](_0x5d34bd);}['validateEnumValue'](_0x49385d,_0x2e389b){return this['_instance']['validateEnumValue'](_0x49385d,_0x2e389b);}['isRequiredField'](_0x2049e7){const _0x26ab28=a0_0x4986fd;return this[_0x26ab28(0x1b6)][_0x26ab28(0x1a9)](_0x2049e7);}['getStats'](){const _0x4fb109=a0_0x4986fd;return this[_0x4fb109(0x1b6)]['getStats']();}[a0_0x4986fd(0x3a5)](){const _0x2295c2=a0_0x4986fd;return this[_0x2295c2(0x1b6)][_0x2295c2(0x3a5)]();}[a0_0x4986fd(0x190)](){const _0x44f71a=a0_0x4986fd;return this[_0x44f71a(0x1b6)][_0x44f71a(0x190)]();}['hasOperation'](_0xe95bc6){const _0xcb8a1e=a0_0x4986fd;return this[_0xcb8a1e(0x1b6)]['hasOperation'](_0xe95bc6);}[a0_0x4986fd(0x1e5)](){const _0x5267fb=a0_0x4986fd;return this[_0x5267fb(0x1b6)][_0x5267fb(0x1e5)]();}['getRawDbtableConfig'](){const _0x29f7cc=a0_0x4986fd;return this[_0x29f7cc(0x1b6)]['getRawDbtableConfig']();}['getSource'](){const _0x39fa69=a0_0x4986fd;return this[_0x39fa69(0x1b6)][_0x39fa69(0x14f)]();}[a0_0x4986fd(0x157)](_0x277a65){const _0x3d4671=a0_0x4986fd;return this['_instance'][_0x3d4671(0x157)](_0x277a65);}['getEnabledOperationAnalyses'](){const _0x518904=a0_0x4986fd;return this[_0x518904(0x1b6)][_0x518904(0x189)]();}['getFilteredOperationAnalyses'](_0x2a33e9){const _0x26a8fe=a0_0x4986fd;return this['_instance'][_0x26a8fe(0x293)](_0x2a33e9);}[a0_0x4986fd(0x11f)](_0x3c7b2e){const _0x47e095=a0_0x4986fd;return this['_instance'][_0x47e095(0x11f)](_0x3c7b2e);}['getOperationAnalysesByType'](_0x39b328){const _0x3138d8=a0_0x4986fd;return this[_0x3138d8(0x1b6)][_0x3138d8(0x2b2)](_0x39b328);}['getOperationDocMeta'](_0x181888,_0x2ca670){return this['_instance']['getOperationDocMeta'](_0x181888,_0x2ca670);}[a0_0x4986fd(0x2ec)](_0x15fc52){const _0x2e02f1=a0_0x4986fd;return this[_0x2e02f1(0x1b6)]['getDatasetDocMeta'](_0x15fc52);}['getOperationsOverviewData'](_0x191d01){const _0x7dfd03=a0_0x4986fd;return this[_0x7dfd03(0x1b6)][_0x7dfd03(0x326)](_0x191d01);}[a0_0x4986fd(0x29c)](){const _0x15a961=a0_0x4986fd;return this['_instance'][_0x15a961(0x29c)]();}[a0_0x4986fd(0x333)](){const _0x484e4c=a0_0x4986fd;return this[_0x484e4c(0x1b6)]['supportsCRUD']();}[a0_0x4986fd(0x290)](){const _0x15959a=a0_0x4986fd;return this[_0x15959a(0x1b6)][_0x15959a(0x290)]();}[a0_0x4986fd(0x28a)](){const _0x13a642=a0_0x4986fd;return this[_0x13a642(0x1b6)][_0x13a642(0x28a)]();}[a0_0x4986fd(0x1fa)](_0x2b4c98){const _0x10c65b=a0_0x4986fd;return this['_instance'][_0x10c65b(0x1fa)](_0x2b4c98);}[a0_0x4986fd(0x3a2)](_0x3ac39a){const _0x1eef42=a0_0x4986fd;return this[_0x1eef42(0x1b6)]['getSDKInitData'](_0x3ac39a);}[a0_0x4986fd(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430){const _0x16cb4c=a0_0x4986fd;return this['_instance'][_0x16cb4c(0x350)](_0x4e1bf7,_0x15d8dc,_0xece430);}[a0_0x4986fd(0x15f)](_0x5e703a,_0x1efcf2,_0x1e6a41){return this['_instance']['generateFullSDKExample'](_0x5e703a,_0x1efcf2,_0x1e6a41);}[a0_0x4986fd(0x196)](_0x3d7a20){const _0x5dd8f2=a0_0x4986fd;return this['_instance'][_0x5dd8f2(0x196)](_0x3d7a20);}['generateOperationSummary'](_0x2d8c26){const _0x179672=a0_0x4986fd;return this[_0x179672(0x1b6)]['generateOperationSummary'](_0x2d8c26);}[a0_0x4986fd(0x2ae)](_0x15a4d5){const _0x221577=a0_0x4986fd;return this[_0x221577(0x1b6)]['generateAllOperationsSummary'](_0x15a4d5);}['getOperationRequestFields'](_0x306f11){const _0x1756bd=a0_0x4986fd;return this[_0x1756bd(0x1b6)]['getOperationRequestFields'](_0x306f11);}[a0_0x4986fd(0x36c)](){const _0x42379c=a0_0x4986fd;return this[_0x42379c(0x1b6)][_0x42379c(0x36c)]();}['generateAliasExplanation'](){const _0x31a2ef=a0_0x4986fd;return this['_instance'][_0x31a2ef(0x1c7)]();}[a0_0x4986fd(0x313)](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x398777,_0x4c0110={}){const _0x25cf48=a0_0x4986fd;if(_0x4c0110[_0x25cf48(0x133)]==='v1')return new DrivenDataDetailPlusV1(_0x398777);if(_0x4c0110[_0x25cf48(0x133)]==='v2')return new DrivenDataDetailPlusV2(_0x398777);if(_0x398777[_0x25cf48(0x182)]==='v2'||_0x25cf48(0x218)in _0x398777)return new DrivenDataDetailPlusV2(_0x398777);return new DrivenDataDetailPlusV1(_0x398777);}function isPlusV2Instance(_0x113f33){const _0x8023aa=a0_0x4986fd;return _0x113f33[_0x8023aa(0x294)]()==='v2';}function isPlusV1Instance(_0xe8d9a8){return _0xe8d9a8['getVersion']()==='v1';}var VERSION=a0_0x4986fd(0x23a);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|