@lovrabet/dsparser 1.3.11-beta.0 → 1.3.11-beta.1
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/operations/BatchCreateOperation.d.ts +19 -0
- package/dist/src/core/operations/BatchCreateOperation.d.ts.map +1 -0
- package/dist/src/core/operations/Operation.d.ts +9 -0
- package/dist/src/core/operations/Operation.d.ts.map +1 -1
- package/dist/src/core/operations/OperationFactory.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x59051e=a0_0x4dcf;(function(_0x3eaf24,_0x33c6a6){const _0xe6d086=a0_0x4dcf,_0x359923=_0x3eaf24();while(!![]){try{const _0xc9fb74=-parseInt(_0xe6d086(0x20b))/0x1+parseInt(_0xe6d086(0x260))/0x2*(-parseInt(_0xe6d086(0x422))/0x3)+-parseInt(_0xe6d086(0x36e))/0x4+parseInt(_0xe6d086(0x355))/0x5*(-parseInt(_0xe6d086(0x39c))/0x6)+-parseInt(_0xe6d086(0x35b))/0x7+parseInt(_0xe6d086(0x2a6))/0x8*(parseInt(_0xe6d086(0x413))/0x9)+parseInt(_0xe6d086(0x28a))/0xa*(parseInt(_0xe6d086(0x1db))/0xb);if(_0xc9fb74===_0x33c6a6)break;else _0x359923['push'](_0x359923['shift']());}catch(_0x54ab69){_0x359923['push'](_0x359923['shift']());}}}(a0_0x33e0,0xc3fb2));function toCamelCase(_0x4a63b0){const _0x4a9883=a0_0x4dcf;if(!_0x4a63b0)return'';return _0x4a63b0[_0x4a9883(0x2c5)](/[_-]/)[_0x4a9883(0x390)]((_0x136147,_0x5e4967)=>{const _0x48f0c4=_0x4a9883;if(_0x5e4967===0x0)return _0x136147['toLowerCase']();return _0x136147[_0x48f0c4(0x24b)](0x0)[_0x48f0c4(0x40a)]()+_0x136147[_0x48f0c4(0x313)](0x1)[_0x48f0c4(0x3e6)]();})[_0x4a9883(0x2f5)]('');}function toPascalCase(_0x4d51fd){const _0x1de735=a0_0x4dcf;if(!_0x4d51fd)return'';const _0x156000=toCamelCase(_0x4d51fd);return _0x156000[_0x1de735(0x24b)](0x0)[_0x1de735(0x40a)]()+_0x156000['slice'](0x1);}function toSnakeCase(_0x528b4a){const _0xe02a9d=a0_0x4dcf;if(!_0x528b4a)return'';return _0x528b4a[_0xe02a9d(0x210)](/([A-Z])/g,_0xe02a9d(0x344))[_0xe02a9d(0x3e6)]()[_0xe02a9d(0x210)](/^_/,'');}function toKebabCase(_0x20e108){const _0x3dc387=a0_0x4dcf;if(!_0x20e108)return'';return _0x20e108['replace'](/([A-Z])/g,'-$1')[_0x3dc387(0x3e6)]()['replace'](/^-/,'');}function normalizeFieldName(_0x2a750e){const _0x14b154=a0_0x4dcf;if(!_0x2a750e)return'';return _0x2a750e[_0x14b154(0x242)]()['replace'](/\s+/g,'_')[_0x14b154(0x210)](/[^a-zA-Z0-9_]/g,'_')[_0x14b154(0x210)](/_+/g,'_')[_0x14b154(0x210)](/^_|_$/g,'');}function getTableName(_0x4a3d27){const _0x5a8e72=a0_0x4dcf;if(!_0x4a3d27)return _0x5a8e72(0x46a);if(_0x4a3d27[_0x5a8e72(0x36c)]?.[_0x5a8e72(0x424)])return _0x4a3d27[_0x5a8e72(0x36c)][_0x5a8e72(0x424)];const _0x277d60=_0x4a3d27[_0x5a8e72(0x43e)]||_0x4a3d27[_0x5a8e72(0x1cb)]||_0x4a3d27[_0x5a8e72(0x1cd)];if(_0x277d60)return generateTableNameFromCode(_0x277d60);return _0x5a8e72(0x46a);}function a0_0x4dcf(_0x24adad,_0x41f7bb){_0x24adad=_0x24adad-0x1ae;const _0x33e022=a0_0x33e0();let _0x4dcf07=_0x33e022[_0x24adad];return _0x4dcf07;}function getTableKey(_0x1dbb40){const _0x41bfb8=a0_0x4dcf;if(typeof _0x1dbb40===_0x41bfb8(0x236))return toCamelCase(_0x1dbb40);const _0x49bdbf=getTableName(_0x1dbb40);return toCamelCase(_0x49bdbf);}function generateTableNameFromCode(_0x21cd7a){const _0x5bda17=a0_0x4dcf;if(!_0x21cd7a)return _0x5bda17(0x46a);const _0x54755e=_0x21cd7a[_0x5bda17(0x313)](-0x6)[_0x5bda17(0x310)](0x6,'0');return _0x5bda17(0x3d8)+_0x54755e;}function isVirtualTableName(_0x427fa3){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x427fa3);}function generateModelKeyFromCode(_0x216ca3){const _0x64ce5f=a0_0x4dcf;if(!_0x216ca3)return _0x64ce5f(0x2df);return _0x64ce5f(0x3d8)+_0x216ca3;}function getDbName(_0x7657f0){const _0x32e5c0=a0_0x4dcf;return _0x7657f0[_0x32e5c0(0x36c)]?.[_0x32e5c0(0x2be)]||_0x7657f0[_0x32e5c0(0x36c)]?.[_0x32e5c0(0x448)]?.[_0x32e5c0(0x2be)]||'';}function generateDatasetsConfig(_0x19ccc6,_0x268473={}){const _0x160529=a0_0x4dcf,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x2963f7,filter:_0x360397}=_0x268473,_0x35ace5=_0x360397?_0x19ccc6[_0x160529(0x3a8)](_0x360397):_0x19ccc6,_0x3d9208=new Map();for(const _0x22f45c of _0x35ace5){const _0x5dc2d3=getTableName(_0x22f45c),_0x4efa9a=getDbName(_0x22f45c);!_0x3d9208['has'](_0x5dc2d3)&&_0x3d9208[_0x160529(0x380)](_0x5dc2d3,new Set()),_0x3d9208['get'](_0x5dc2d3)[_0x160529(0x394)](_0x4efa9a);}const _0x5eac4d=new Set();for(const [_0x17ba30,_0x19cf39]of _0x3d9208){_0x19cf39['size']>0x1&&_0x5eac4d[_0x160529(0x394)](_0x17ba30);}const _0x98bcac={},_0x5134c1=new Set();for(const _0x27dffd of _0x35ace5){const _0x45af72=getTableName(_0x27dffd);if(enableDeduplication&&_0x5134c1[_0x160529(0x370)](_0x45af72)){console[_0x160529(0x24e)](_0x160529(0x44c)+_0x45af72+_0x160529(0x3f3)+_0x27dffd[_0x160529(0x2e6)]+'\x20('+_0x27dffd[_0x160529(0x43e)]+')');continue;}_0x5134c1[_0x160529(0x394)](_0x45af72);const _0x2c8e58=_0x2963f7?_0x2963f7(_0x45af72,_0x27dffd):getTableKey(_0x45af72),_0x57de8f=getDbName(_0x27dffd),_0x45183c=_0x5eac4d['has'](_0x45af72)&&_0x57de8f?getTableKey(_0x57de8f)+'_'+_0x2c8e58:_0x2c8e58;_0x98bcac[_0x2c8e58]={'key':_0x2c8e58,'alias':_0x45183c,'tableName':_0x45af72,'datasetCode':_0x27dffd[_0x160529(0x43e)],'name':_0x27dffd[_0x160529(0x2e6)],'id':_0x27dffd['id'],'dbName':_0x57de8f};}return _0x98bcac;}function generateFullDatasetsConfig(_0x2cc9db,_0x472a7b={}){const _0x43529c=a0_0x4dcf,{filter:_0x3ecf63,datasetNameGenerator:_0x1c3be7}=_0x472a7b,_0x498d65=_0x3ecf63?_0x2cc9db[_0x43529c(0x3a8)](_0x3ecf63):_0x2cc9db,_0xdac48d=new Map();for(const _0x340824 of _0x498d65){const _0x79ad9a=getTableName(_0x340824),_0x24e9c9=getDbName(_0x340824);!_0xdac48d[_0x43529c(0x370)](_0x79ad9a)&&_0xdac48d['set'](_0x79ad9a,new Set()),_0xdac48d['get'](_0x79ad9a)[_0x43529c(0x394)](_0x24e9c9);}const _0xe63f49=new Set();for(const [_0x2e5819,_0x34046e]of _0xdac48d){_0x34046e[_0x43529c(0x203)]>0x1&&_0xe63f49['add'](_0x2e5819);}const _0x18fb03=groupByTableName(_0x498d65),_0x2627d3={};for(const [_0x270325,_0x38b7e0]of Object['entries'](_0x18fb03)){if(_0x38b7e0[_0x43529c(0x32e)]===0x1){const _0x2f4412=_0x38b7e0[0x0],_0x207968=_0x1c3be7?_0x1c3be7(_0x270325,_0x2f4412):getTableKey(_0x270325),_0x5aeb4d=getDbName(_0x2f4412),_0x28cfbe=_0xe63f49[_0x43529c(0x370)](_0x270325)&&_0x5aeb4d?getTableKey(_0x5aeb4d)+'_'+_0x207968:_0x207968;_0x2627d3[_0x207968]={'key':_0x207968,'alias':_0x28cfbe,'tableName':_0x270325,'datasetCode':_0x2f4412[_0x43529c(0x43e)],'name':_0x2f4412[_0x43529c(0x2e6)],'id':_0x2f4412['id'],'dbName':_0x5aeb4d};}else{const _0x4473a2=[..._0x38b7e0][_0x43529c(0x33a)]((_0xbeed08,_0x112d2a)=>{const _0x44c80c=Number(_0xbeed08['id'])||0x0,_0x9bb708=Number(_0x112d2a['id'])||0x0;return _0x9bb708-_0x44c80c;});_0x4473a2['forEach']((_0x2b0568,_0x3f5bf8)=>{const _0x5f323b=_0x43529c,_0x9d6097=_0x1c3be7?_0x1c3be7(_0x270325,_0x2b0568):getTableKey(_0x270325),_0x4c85bf=_0x3f5bf8===0x0?_0x9d6097:_0x9d6097+'_'+_0x3f5bf8,_0x6ae23=getDbName(_0x2b0568),_0x2c47f6=_0xe63f49[_0x5f323b(0x370)](_0x270325)&&_0x6ae23?getTableKey(_0x6ae23)+'_'+_0x4c85bf:_0x4c85bf;_0x2627d3[_0x4c85bf]={'key':_0x4c85bf,'alias':_0x2c47f6,'tableName':_0x270325,'datasetCode':_0x2b0568[_0x5f323b(0x43e)],'name':_0x2b0568[_0x5f323b(0x2e6)],'id':_0x2b0568['id'],'dbName':_0x6ae23};});}}return _0x2627d3;}function detectTableNameConflicts(_0x37ee2b){const _0xe54747=a0_0x4dcf,_0x524243={};for(const _0x29a80c of _0x37ee2b){const _0x3ce29e=getTableName(_0x29a80c);!_0x524243[_0x3ce29e]&&(_0x524243[_0x3ce29e]=[]),_0x524243[_0x3ce29e][_0xe54747(0x276)](_0x29a80c);}const _0x39b72d={};for(const [_0x583292,_0x181c7a]of Object[_0xe54747(0x3f5)](_0x524243)){_0x181c7a[_0xe54747(0x32e)]>0x1&&(_0x39b72d[_0x583292]=_0x181c7a);}return{'hasConflicts':Object[_0xe54747(0x3ba)](_0x39b72d)[_0xe54747(0x32e)]>0x0,'conflicts':_0x39b72d};}function createDatasetNameMap(_0x1ffb0e){const _0x1d0f68=a0_0x4dcf,_0x28801b={};for(const [_0x26d970,_0x379787]of Object['entries'](_0x1ffb0e)){_0x28801b[_0x26d970]=_0x379787[_0x1d0f68(0x43e)]||'';}return _0x28801b;}function groupByTableName(_0x2d0ba2){const _0x26a742=a0_0x4dcf,_0x37763a={};for(const _0x4d98ee of _0x2d0ba2){const _0x2e8c83=getTableName(_0x4d98ee);!_0x37763a[_0x2e8c83]&&(_0x37763a[_0x2e8c83]=[]),_0x37763a[_0x2e8c83][_0x26a742(0x276)](_0x4d98ee);}return _0x37763a;}function datasetsConfigToArray(_0x748f18){const _0x38990c=a0_0x4dcf;return Object[_0x38990c(0x34f)](_0x748f18);}function adaptDrivenDataDetail(_0xf6c707){const _0x3c46d3=a0_0x4dcf,_0x4fbef8={};return _0x4fbef8['id']=_0xf6c707[_0x3c46d3(0x425)],_0x4fbef8[_0x3c46d3(0x2e6)]=_0xf6c707[_0x3c46d3(0x2e6)],_0x4fbef8['datasetCode']=_0xf6c707['modelCode'],_0x4fbef8[_0x3c46d3(0x36c)]=_0xf6c707[_0x3c46d3(0x36c)],_0x4fbef8[_0x3c46d3(0x400)]=_0xf6c707[_0x3c46d3(0x400)],_0x4fbef8[_0x3c46d3(0x415)]=_0xf6c707[_0x3c46d3(0x415)],_0x4fbef8[_0x3c46d3(0x293)]=_0xf6c707[_0x3c46d3(0x293)],_0x4fbef8[_0x3c46d3(0x376)]=_0xf6c707[_0x3c46d3(0x376)],_0x4fbef8['operations']=_0xf6c707['operations'],_0x4fbef8;}function adaptDrivenDataDetails(_0x25c31c){const _0x5e3643=a0_0x4dcf;return _0x25c31c[_0x5e3643(0x390)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x1c5682){const _0x31a732=a0_0x4dcf;if(!_0x1c5682['success']||!_0x1c5682[_0x31a732(0x316)])throw new Error(_0x31a732(0x259)+(_0x1c5682[_0x31a732(0x2e1)]||_0x1c5682['msg']));return adaptDrivenDataDetail(_0x1c5682[_0x31a732(0x316)]);}function extractDatasetsFromListResponse(_0x52b57f){const _0x56d64e=a0_0x4dcf;if(!_0x52b57f[_0x56d64e(0x305)]||!_0x52b57f[_0x56d64e(0x316)]?.[_0x56d64e(0x465)])throw new Error(_0x56d64e(0x284)+(_0x52b57f[_0x56d64e(0x2e1)]||_0x52b57f[_0x56d64e(0x44d)]));return _0x52b57f['data'][_0x56d64e(0x465)][_0x56d64e(0x390)](_0x5ed214=>({..._0x5ed214,'datasetCode':_0x5ed214['code']||_0x5ed214[_0x56d64e(0x43e)]}));}function isDrivenDataDetail(_0x582b05){return Boolean(_0x582b05&&typeof _0x582b05['modelCode']==='string');}function smartAdapt(_0x46dcbd){const _0x19f991=a0_0x4dcf;if(isDrivenDataDetail(_0x46dcbd))return adaptDrivenDataDetail(_0x46dcbd);if(_0x46dcbd[_0x19f991(0x43e)])return _0x46dcbd;if(_0x46dcbd[_0x19f991(0x1cb)]){const _0x2f4ac0={..._0x46dcbd};return _0x2f4ac0[_0x19f991(0x43e)]=_0x46dcbd[_0x19f991(0x1cb)],_0x2f4ac0;}return _0x46dcbd;}function cleanNewlines(_0x14b698){const _0x198958=a0_0x4dcf;return _0x14b698[_0x198958(0x210)](/[\r\n]+/g,'\x20')[_0x198958(0x242)]();}function cleanDatasetName(_0xa71977){const _0x4b5c0e=a0_0x4dcf;if(!_0xa71977[_0x4b5c0e(0x2e6)])return _0xa71977;return{..._0xa71977,'name':cleanNewlines(_0xa71977[_0x4b5c0e(0x2e6)])};}function cleanDatasetNames(_0x39e1f2){const _0x178f33=a0_0x4dcf;return _0x39e1f2[_0x178f33(0x390)](cleanDatasetName);}var DatasetOperationType;(_0x1179a9=>{const _0xabd517=a0_0x4dcf;_0x1179a9['FILTER']='filter',_0x1179a9[_0xabd517(0x46d)]=_0xabd517(0x339),_0x1179a9[_0xabd517(0x464)]=_0xabd517(0x353),_0x1179a9['GET_ONE_ORIGIN']=_0xabd517(0x220),_0x1179a9[_0xabd517(0x3cf)]=_0xabd517(0x1b0),_0x1179a9[_0xabd517(0x1e7)]='create',_0x1179a9['BATCH_CREATE']=_0xabd517(0x3a6),_0x1179a9[_0xabd517(0x333)]=_0xabd517(0x234),_0x1179a9[_0xabd517(0x409)]=_0xabd517(0x28d),_0x1179a9[_0xabd517(0x2f4)]='getSelectOptions',_0x1179a9[_0xabd517(0x304)]=_0xabd517(0x332),_0x1179a9['EXCEL_EXPORT']=_0xabd517(0x33d),_0x1179a9[_0xabd517(0x389)]=_0xabd517(0x27a),_0x1179a9[_0xabd517(0x1c1)]='createImport',_0x1179a9[_0xabd517(0x3d5)]=_0xabd517(0x3a5),_0x1179a9[_0xabd517(0x44f)]='aggregate',_0x1179a9[_0xabd517(0x2e4)]=_0xabd517(0x456),_0x1179a9[_0xabd517(0x1d6)]=_0xabd517(0x45d);})(DatasetOperationType||={});const a0_0xb5ff3c={};a0_0xb5ff3c[a0_0x59051e(0x3a8)]=a0_0x59051e(0x442),a0_0xb5ff3c['getList']=a0_0x59051e(0x42d),a0_0xb5ff3c[a0_0x59051e(0x353)]='查询单条',a0_0xb5ff3c[a0_0x59051e(0x220)]=a0_0x59051e(0x37b),a0_0xb5ff3c['getOneUpdate']=a0_0x59051e(0x270),a0_0xb5ff3c[a0_0x59051e(0x382)]='创建',a0_0xb5ff3c[a0_0x59051e(0x3a6)]=a0_0x59051e(0x45e),a0_0xb5ff3c[a0_0x59051e(0x234)]='更新',a0_0xb5ff3c['delete']='删除',a0_0xb5ff3c[a0_0x59051e(0x238)]='获取下拉选项',a0_0xb5ff3c['getFileUrl']='获取文件URL',a0_0xb5ff3c[a0_0x59051e(0x33d)]=a0_0x59051e(0x1f5),a0_0xb5ff3c[a0_0x59051e(0x27a)]=a0_0x59051e(0x1d1),a0_0xb5ff3c['createImport']=a0_0x59051e(0x2bc),a0_0xb5ff3c[a0_0x59051e(0x3a5)]='创建导出',a0_0xb5ff3c['aggregate']=a0_0x59051e(0x1f8),a0_0xb5ff3c['taskInfo']=a0_0x59051e(0x3ad),a0_0xb5ff3c['importTemplate']=a0_0x59051e(0x1e9);var OPERATION_TYPE_DISPLAY_NAME=a0_0xb5ff3c,API_BLACKLIST=['getList',a0_0x59051e(0x220),a0_0x59051e(0x1b0),'getFileUrl'];function parseFieldExtend(_0x232c7b){const _0x18ca8f=a0_0x59051e;if(!_0x232c7b||typeof _0x232c7b!==_0x18ca8f(0x434))return!![]&&console[_0x18ca8f(0x24e)](_0x18ca8f(0x2b7),_0x232c7b),{};if(!_0x232c7b[_0x18ca8f(0x293)])return{};try{const _0x112b63=typeof _0x232c7b[_0x18ca8f(0x293)]==='string'?JSON[_0x18ca8f(0x1ae)](_0x232c7b[_0x18ca8f(0x293)]):_0x232c7b[_0x18ca8f(0x293)];if(typeof _0x112b63!=='object'||_0x112b63===null)return{};return _0x112b63;}catch{return{};}}function isPrimaryKeyField(_0x1c5263,_0x4e58ee){const _0x31f6ba=a0_0x59051e;if(!_0x1c5263||typeof _0x1c5263!==_0x31f6ba(0x434))return![];if(typeof _0x4e58ee===_0x31f6ba(0x236)&&_0x1c5263['code']===_0x4e58ee)return!![];const _0x4885ea=parseFieldExtend(_0x1c5263);return Boolean(_0x4885ea['primaryKey']||_0x4885ea[_0x31f6ba(0x46c)]);}function isSystemField(_0x493914){const _0x43aedc=parseFieldExtend(_0x493914);return Boolean(_0x43aedc['systemRetain']);}function isRequiredField(_0x2ea5d0){const _0x4ea8cd=a0_0x59051e,_0x9629af=parseFieldExtend(_0x2ea5d0);return Boolean(_0x9629af[_0x4ea8cd(0x2d3)]);}function isAutoIncrementField(_0x5ea87c){const _0x3c390c=a0_0x59051e,_0x33d569=parseFieldExtend(_0x5ea87c);return Boolean(_0x33d569[_0x3c390c(0x312)]);}function isCreateTimeField(_0x2e2055){const _0xf0426c=a0_0x59051e,_0x55e4e2=parseFieldExtend(_0x2e2055);return Boolean(_0x55e4e2[_0xf0426c(0x218)]);}function isModifyTimeField(_0xfe41d1){const _0x1baa32=a0_0x59051e,_0x19b9e8=parseFieldExtend(_0xfe41d1);return Boolean(_0x19b9e8[_0x1baa32(0x3b4)]);}const a0_0x27d32f={};a0_0x27d32f['NUMBER']='数字',a0_0x27d32f[a0_0x59051e(0x3fe)]='文本',a0_0x27d32f[a0_0x59051e(0x257)]=a0_0x59051e(0x37d),a0_0x27d32f[a0_0x59051e(0x23c)]='日期',a0_0x27d32f['DATETIME']='日期时间',a0_0x27d32f['TIMESTAMP']=a0_0x59051e(0x1e5),a0_0x27d32f[a0_0x59051e(0x283)]='下拉选择',a0_0x27d32f[a0_0x59051e(0x3e4)]='多选',a0_0x27d32f['RADIO']='单选',a0_0x27d32f[a0_0x59051e(0x224)]='开关',a0_0x27d32f[a0_0x59051e(0x1fd)]=a0_0x59051e(0x41d),a0_0x27d32f[a0_0x59051e(0x1ef)]='图片',a0_0x27d32f[a0_0x59051e(0x41a)]='富文本',a0_0x27d32f['JSON']=a0_0x59051e(0x29d),a0_0x27d32f[a0_0x59051e(0x449)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x27d32f;function getDbTypeDisplay(_0x5c6180){const _0x3de1de=a0_0x59051e;if(typeof _0x5c6180!==_0x3de1de(0x236))return!![]&&console[_0x3de1de(0x24e)](_0x3de1de(0x247),_0x5c6180),String(_0x5c6180||'-');return DB_TYPE_DISPLAY_MAP[_0x5c6180]||_0x5c6180;}function formatDbType(_0x25a4e5,_0x25b815){const _0xf5728e=a0_0x59051e;if(!_0x25a4e5||typeof _0x25a4e5!==_0xf5728e(0x236))return'-';if(!_0x25b815||typeof _0x25b815!==_0xf5728e(0x29a))return _0x25a4e5;const _0xd36e33=[_0xf5728e(0x3fe),_0xf5728e(0x1da),_0xf5728e(0x1fa),'DATE'];if(_0xd36e33[_0xf5728e(0x439)](_0x25a4e5['toUpperCase']()))return _0x25a4e5;return _0x25a4e5+'('+_0x25b815+')';}function parseOperationType(_0x312ffe){const _0x43c713=a0_0x59051e;if(typeof _0x312ffe!=='string'){!![]&&console[_0x43c713(0x24e)](_0x43c713(0x1cf),_0x312ffe);return;}if(Object[_0x43c713(0x34f)](DatasetOperationType)[_0x43c713(0x439)](_0x312ffe))return _0x312ffe;const _0x3de10d=Object[_0x43c713(0x3f5)](OPERATION_TYPE_DISPLAY_NAME)[_0x43c713(0x42e)](([_0x5f56cc,_0xe811ca])=>_0xe811ca===_0x312ffe);return _0x3de10d?_0x3de10d[0x0]:undefined;}function shouldIncludeField(_0x1b69e6,_0x51f074,_0x19119a){const _0x3cd60b=a0_0x59051e,_0x257781=parseFieldExtend(_0x1b69e6),_0x51015a=isPrimaryKeyField(_0x1b69e6,_0x19119a),_0x36fc90=Boolean(_0x257781[_0x3cd60b(0x426)]),_0x6331b=Boolean(_0x257781[_0x3cd60b(0x312)]),_0x330ef4=Boolean(_0x257781['createDate']),_0x504d2e=Boolean(_0x257781[_0x3cd60b(0x3b4)]);switch(_0x51f074){case'filter':case _0x3cd60b(0x339):case'aggregate':return!![];case _0x3cd60b(0x353):case _0x3cd60b(0x220):case _0x3cd60b(0x28d):return _0x51015a;case _0x3cd60b(0x382):case _0x3cd60b(0x3a6):if(_0x51015a&&_0x6331b)return![];if(_0x36fc90)return![];if(_0x330ef4||_0x504d2e)return![];return!![];case _0x3cd60b(0x234):case _0x3cd60b(0x1b0):if(_0x51015a)return!![];if(_0x36fc90)return![];if(_0x330ef4||_0x504d2e)return![];return!![];case'getSelectOptions':return _0x1b69e6['code']===_0x3cd60b(0x1cb);default:return!![];}}function a0_0x33e0(){const _0x395c83=['value1','dataset_unknown','isArray','errorMsg','字段名称','getTableKey','TASK_INFO','modifierNameField','name','getUpdateTime','_fieldListV1WithDeleted','getId','item2','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','();\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}','getEnabledNames','getRelations','getTableName','pageSize','`:\x20','from','toArray','GET_SELECT_OPTIONS','join','getDbTypeForOperation','datasetInfo','getOperationStats','method','some','getFieldDisplayName','getTooltip','$contain','getFieldsFilterOperatorsMap','useFullExample','status','getIds','getFilterOperators','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','GET_FILE_URL','success','bind','children','getDBConfig','generateExampleValue','avg','getOperationAnalysesByType','findByName','-\x20主键ID,用于定位要更新的记录\x0a\x0a','DrivenDataDetail(','email','padStart','toListItem','autoIncrement','slice','createFields','prefix','data','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','分组字段列表','index','isEnum','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','当前页码(可选)','getApplicableOperators','$eq','generateFromSchema','getEnum','getType','https://example.com/image.jpg','array','getOperationsOverviewData','getCountByType','selectItemsSource','includeUsageExample','value2','host','##\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','sum','2024-12-31','min','length','getAppCode','suffix','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getFileUrl','UPDATE','$lteq','operationCount','getEnumMeta','round','_operations','getList','sort','max','getCountByMethod','excelExport','_sum','_datasetMap','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','_fieldListWithDeleted','getDefaultValue','FieldV2(','_$1','toJSON','getExtendField','getEnumValues','systemAnalysisResult','getFieldType','DESC','toDatasetName','mapDbTypeToType','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','businessFieldCount','values','getItems','FieldList(','\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','getOne','getMissingCRUDOperations','1345OiEzky','parseRawRequestBody','sortOperationsWithFilterFirst','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','valueLabels','conflictItemCount','9683779zTIOVe','doVersion','getFieldOptions','SDK\x20调用示例(两参数格式)','请求示例','getDatabaseType','INT','getByType','fieldName','getOldest','Operation\x20not\x20found:\x20','generateDefaultFilterOperation','getFieldCount','toField','2.0','getCreateTime','Array','dbtableConfig','requestBody','1332260lajfRS','getSystem','has','getOperationAnalyses','items',',\x20...\x20});','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','properties','path','getFieldList','getFieldsByType','排序规则','查询单条(原始)','FLOAT','长文本','_operationAnalyses','toISOString','set','SMALLINT','create','repeat','findById','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','generateRequestAllExamples','_fieldListV2','getRequestParamsDocInfo','GET_UPLOAD_FILE_SCRIPT','generateResponseExample','$gteq','isSystem','fullUrl','_requestExampleCache','isOperationEnabled','map','\x20relations,\x20','\x20items,\x20','toDatasetId','add','getField','DbtableConfig(table:\x20','Object[]','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','getModelAlias','function','Field(','2874dHbBpa','getLatestDatasets','getCode','FILE','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','hasDblinkInfo','getOperationDocMeta','isMultipleSelect','isPrimaryKey','createExport','batchCreate','no\x20conflicts','filter','getInternalInstance','API路径','tableColumns','$lte','任务信息','getFieldsWithDeleted','(id);','_min','errorCode','createAll','isEnabled','modifyDate','createTime','isAutoIncrement','groupByType','_extend','getConflictingItems','keys','isPrimaryKeyField','keyword','主键ID(必填)','GET','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','String[]','isEmpty','数组查询(支持多选)','接口名称','单值查询','creatorNameField','prototype','isDeleted','toString','\x20operation','relations','getFieldDefinition','这是一段较长的文本内容示例','getFields','\x20indexes)','GET_ONE_UPDATE','getForeignKeyFields','$in','getFilteredOperationAnalyses','分组后的过滤条件(对聚合结果进行过滤)','enumValues','CREATE_EXPORT',',\x20fields:\x20','getFirst','dataset_','CHAR','labelField','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','dataIndex','getFieldListWithDeleted','2024-01-01','getFieldFilterOperators','generateHTTPExample','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','TIME','\x20groups,\x20','CHECKBOX','toObject','toLowerCase','\x5c}\x5c}','_fieldListV1','desc','sortNum','modifierIdField','当前页码','conflictGroupCount','const\x20data\x20=\x20await\x20client.models.','每页条数','getConflictStats','TINYINT','getDisabledOperations','\x22,数据集:\x20','getOperationsData','entries','having','generateHTTPRequestExample','hasCreateTimeField','HTTP\x20直接调用时使用平铺格式:\x0a','raw','columnName','updateTimeField','getDisabledNames','TEXT','parseRawResponseBody','source','datasetMap','generateUsageExample','initDataset','getFieldsV2','getIndexes','BIT','ensureFilterOperation','示例值','DELETE','toUpperCase','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','getDisplayName','hasConflicts','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','hasResponseSchema','_instance','要更新的字段数据对象','getTenantCode','9LawQta','getFieldDataSource','version','hasModifierIdField','getRaw','\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','getStats','RICH_TEXT','default','Integer','文件上传','Invalid\x20API\x20response:\x20success\x20is\x20false','(支持单值或数组)','dbId','getRelationsByField','458259QOtVFK','isVirtualTable','tableName','modelId','systemRetain','generateFieldExample','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','OperationList(','generateSDKInitCode','isMultipleSelectField','currentPage','查询列表','find','logicField','generateSingleValueExample','[Field]\x20Invalid\x20field\x20definition','generateConfig','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','object','getUpdateFields','LONGBLOB','getFieldOperators','getRequired','includes','column','value','\x20operations)','getDeleted','datasetCode','getDisabledOperationInstances','datasetId','enabled','筛选查询','getResponseParamsDocInfo','INTEGER','getEnabledOperationAnalyses','getLatest','DECIMAL','dblinkInfoDTO','ARRAY','deleted','$ne','[dsparser]\x20跳过重复的表名\x20\x22','msg','getDatasetDocMeta','AGGREGATE','getOperations','createTimeField','defaultValue','getAllDatasets','isEnumField','isSystemField','taskInfo','\x20operations,\x20','getAggregates','primaryKey','responseSchema','displayName','env','importTemplate','批量创建','LONGTEXT','操作名称','select','BOOL','fieldCode','GET_ONE','tableData','$and','getFieldSelectItemsSource','every','getFieldRaw','dataset_000000','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','pkField','GET_LIST','getOperation','-\x20`','isBusiness','字段编码','parse','DrivenDataDetailPlus(','getOneUpdate','includeDeleted','getEnabled','aggregate','getEnabledOperationInstances','field_name','usageExample','creatorIdField','updateTime','findByCode','groupByTableName','主键ID','hasCreatorIdField','operations','getFieldCode','distinct','排序规则(与\x20Filter\x20API\x20一致)','CREATE_IMPORT','requestFields','getEnumFieldMeta','getMethod','getEnumFields','getGroupedParams','update\x20接口接受两个参数:\x0a\x0a','\x20groups)','getCodes','stringify','code','isNumericField','modelCode','generateAllOperationsSummary','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getFilterOperation','获取上传脚本','getFilteredOperations','appCode','getName','_operationList','IMPORT_TEMPLATE','daily','getActive','condition','DATETIME','43957045SLHAeP','DrivenDataDetailPlusV2(','getDbName','-\x20其他要更新的字段直接平铺在同一层级','supportsCRUD','multiple','\x20的\x20extend\x20配置失败:','聚合函数配置数组','hasRelation','toTableName','时间戳','getFieldListV2','CREATE','generateSDKCallCode','导入模板','(实际字段:','DatasetGroup(','({\x20','generateAllOperationsFullSDKExample','generateAliasExplanation','IMAGE','totalCount','getConflicts','description','getSDKInitData','precision','Excel导出','context','where','聚合查询','getEnabledOperations','TIMESTAMP','demo-app','支持单值或数组','UPLOAD','hasConflict','-\x20主键使用\x20`id`\x20字段\x0a','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','getOperationOperators','orderBy','size','getRequestFields','generateFullSDKExample','getCount','successCode','fields','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getSystemFields','1503994SdfWHi','getHTTPFields','isUpdateTime','getBusinessFields','getAt','replace','datasetName','_relations','generateRequestExample','getOperationCount','每页数量(可选)','每页数量','getDatabaseName','createDate','POST','item1','random','getFullUrl','hasLogicField','\x20API\x20文档','BOOLEAN','getOneOrigin','getAll','BIGINT','fromApiResponse','SWITCH','includeDisabled','操作成功','getFieldInstance','返回字段列表(字段投影)','DatasetItem(','tableKey','getEnumMetas','\x20items,\x20conflict,\x20latest:\x20','200','(id,\x20data);','hasField','toFieldDefinition','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','$or','now','update','groupBy','string','Filter\x20API\x20-\x20高级查询接口','getSelectOptions','getSource','聚合函数配置数组(type:\x20sum/count/avg/max/min)','hasUpdateTimeField','DATE','systemFieldCount','validateEnumValue','getRealTables','label','isRequired','trim','查询单个条件','generateConfigArray','online','forEach','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','String','getVirtualTables','hasFilterOperation','charAt','toConfig','getAllFieldsArray','warn','total_count','datasetKey','dbTypeLen','getEnumFieldsMeta','SDK\x20调用时传递两个参数:\x0a','getOperationAnalysis','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','count','TEXTAREA','dbVersion','获取数据集失败:\x20','yourModel','**可更新的字段列表:**','options','getPath','dataset','getModelName','6VCmaee','_raw','$startWith','查询条件(支持\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)',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getVersion','0000','$endWith','getSelectItemsSource','getBusiness','findByTableName','hasTableName','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','getPrimaryKeyFields','null','查询单条(用于更新)','isFieldPrimaryKey','all','支持多个条件','_datasetMeta','placeholder','push','fieldCount','<!--\x5cs*CONDITION:\x5cs*','\x20fields,\x20','getUploadFileScript','\x20fields)','getDatasetSDKKey','includeRequestExample','customFilter','getPrimaryKeys','type','paging','detectConflicts','SELECT','获取数据集列表失败:\x20','toFullConfig','STRING','[generateRequestExample]\x20Invalid\x20field:','getEnumOptions','getNames','10hZgJvp','getOperationFieldsOperatorsMap','withDeleted','delete','const\x20fileUrl\x20=\x20await\x20client.models.','tenantCode','$gte','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','totalGroups','extend','const\x20result\x20=\x20await\x20client.models.','getOperators','北京市朝阳区','sdkCall','getDatasetMeta','DOUBLE','number','\x20operations,\x20v1)','getRelatedDataset','JSON','_fields','forceVersion','系统自动生成','getOperationList','responseBody','RADIO','title','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','4913672TIdNON','sdkCallCode','get','getRawDbtableConfig','VARCHAR','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','selectBestOperator','groups','isCreateTime','FieldListV2(','//\x20','getOperationFieldOperators','filterBlacklist','iterator','getRequiredFields','useArrayValues','BLOB','[parseFieldExtend]\x20Invalid\x20field:','total','generateOperationSummary','getHTTPRequestParamsDocInfo','({\x20code,\x20label\x20});','创建导入','解析\x20requestBody\x20失败:','dbName','allFields','/filter','doType','getOperationRequestFields','Number','fromField','split','Object','getDisabled','alias','getFieldName','DatasetList(','getUpdatableFields','hasOperation','isRequiredField','getRequestParams','params','getAutoIncrement','getResponseSchema','dbType','required','query','getFieldDescription','NUMBER','FieldV1(','getDatabaseVersion','getPkField','getAllParams','_fieldList','empty','getDOType'];a0_0x33e0=function(){return _0x395c83;};return a0_0x33e0();}function getFieldsForOperation(_0x38ad3e,_0x550845,_0x10528f){const _0x512691=a0_0x59051e;if(!Array[_0x512691(0x2e0)](_0x38ad3e))return!![]&&console[_0x512691(0x24e)](_0x512691(0x385),_0x38ad3e),[];return _0x38ad3e[_0x512691(0x3a8)](_0x58ecf5=>shouldIncludeField(_0x58ecf5,_0x550845,_0x10528f));}function isApiBlacklisted(_0x3fc9c3){const _0xdc8674=a0_0x59051e;if(typeof _0x3fc9c3!==_0xdc8674(0x236))return!![]&&console[_0xdc8674(0x24e)]('[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:',_0x3fc9c3),![];return API_BLACKLIST['includes'](_0x3fc9c3);}function filterApiOperations(_0x367cb2){const _0x32eafd=a0_0x59051e;if(!Array[_0x32eafd(0x2e0)](_0x367cb2))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x367cb2),[];return _0x367cb2['filter'](_0x4d7c15=>_0x4d7c15&&typeof _0x4d7c15===_0x32eafd(0x434)&&!isApiBlacklisted(_0x4d7c15[_0x32eafd(0x2e6)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x59051e(0x233)](),'DATE':()=>Date[a0_0x59051e(0x233)](),'SELECT':({fieldInfo:_0x40e244})=>{const _0xbac1bc=a0_0x59051e;if(_0x40e244?.[_0xbac1bc(0x25c)]&&Array[_0xbac1bc(0x2e0)](_0x40e244[_0xbac1bc(0x25c)])&&_0x40e244['options']['length']>0x0)return _0x40e244[_0xbac1bc(0x25c)][0x0][_0xbac1bc(0x43b)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x36b17d})=>{const _0x492300=a0_0x59051e;if(_0x36b17d===_0x492300(0x42c))return 0x1;if(_0x36b17d==='pageSize')return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0xfb5e5e})=>{const _0x209ee5=a0_0x59051e;if(_0xfb5e5e&&typeof _0xfb5e5e==='string'){const _0x22ea7d=_0xfb5e5e['toLowerCase']();if(_0x22ea7d[_0x209ee5(0x439)]('邮箱')||_0x22ea7d[_0x209ee5(0x439)](_0x209ee5(0x30f)))return'user@example.com';if(_0x22ea7d['includes']('电话')||_0x22ea7d['includes']('手机')||_0x22ea7d[_0x209ee5(0x439)]('phone'))return'13800138000';if(_0x22ea7d[_0x209ee5(0x439)]('地址')||_0x22ea7d[_0x209ee5(0x439)]('address'))return _0x209ee5(0x296);if(_0x22ea7d['includes']('姓名')||_0x22ea7d[_0x209ee5(0x439)](_0x209ee5(0x2e6)))return'张三';}return'示例文本';},'VARCHAR':({description:_0x4ebc67})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x4ebc67}),'CHAR':({description:_0x23a252})=>TYPE_VALUE_GENERATORS[a0_0x59051e(0x3fe)]({'description':_0x23a252}),'STRING':({fieldInfo:_0x2c6411,description:_0x3e7403})=>{const _0x49b7d6=a0_0x59051e;if(_0x2c6411?.[_0x49b7d6(0x275)]&&typeof _0x2c6411[_0x49b7d6(0x275)]===_0x49b7d6(0x236)&&_0x2c6411[_0x49b7d6(0x275)]!==_0x49b7d6(0x2a0))return _0x2c6411['placeholder'][_0x49b7d6(0x210)](/^请输入|^请选择/,'');const _0x2d80e6={};return _0x2d80e6[_0x49b7d6(0x1f2)]=_0x3e7403,TYPE_VALUE_GENERATORS[_0x49b7d6(0x3fe)](_0x2d80e6);},'TEXTAREA':()=>a0_0x59051e(0x3cc),'LONGTEXT':()=>a0_0x59051e(0x3cc),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':'value'}),'ARRAY':()=>[a0_0x59051e(0x21a),a0_0x59051e(0x2ea)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x59051e(0x322),'RICH_TEXT':()=>'<p>富文本内容</p>'};function generateExampleValue(_0x564c50,_0x531937,_0x597ba4,_0x255283={}){const _0x2afc66=a0_0x59051e;typeof _0x564c50!==_0x2afc66(0x236)&&(!![]&&console[_0x2afc66(0x24e)]('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x564c50),_0x564c50=String(_0x564c50||''));if(typeof _0x531937!==_0x2afc66(0x236))return!![]&&console[_0x2afc66(0x24e)](_0x2afc66(0x331),_0x531937),_0x2afc66(0x408);const {isPrimaryKey:_0x1402b8,dbtableConfig:_0x3bda8f}=_0x255283;if(_0x1402b8)return 0x1;if(_0x3bda8f&&typeof _0x3bda8f===_0x2afc66(0x434)){const _0x1dbd1f=_0x3bda8f[_0x2afc66(0x451)]?.[_0x2afc66(0x363)]===_0x564c50,_0x1600da=_0x3bda8f['updateTimeField']?.[_0x2afc66(0x363)]===_0x564c50;if(_0x1dbd1f||_0x1600da){if(_0x597ba4&&typeof _0x597ba4===_0x2afc66(0x236)&&_0x597ba4[_0x2afc66(0x40a)]()[_0x2afc66(0x439)]('TIMESTAMP'))return Date[_0x2afc66(0x233)]();return new Date()[_0x2afc66(0x37f)]()[_0x2afc66(0x210)]('T','\x20')[_0x2afc66(0x2c5)]('.')[0x0];}}const _0x27221f={..._0x255283};_0x27221f[_0x2afc66(0x463)]=_0x564c50;const _0x1fd8d7=_0x27221f;if(_0x597ba4&&typeof _0x597ba4==='string'){const _0x1b468a=_0x597ba4[_0x2afc66(0x40a)](),_0x4f33fd=TYPE_VALUE_GENERATORS[_0x1b468a];if(_0x4f33fd)return _0x4f33fd(_0x1fd8d7);}if(_0x531937&&typeof _0x531937==='string'){const _0x15edd4=_0x531937[_0x2afc66(0x40a)](),_0x1879d9=TYPE_VALUE_GENERATORS[_0x15edd4];if(_0x1879d9)return _0x1879d9(_0x1fd8d7);}return'示例值';}function generateExampleFromSchema(_0x5544d6,_0x38e855){const _0x221527=a0_0x59051e;if(!_0x5544d6||typeof _0x5544d6!==_0x221527(0x434))return{};if(Array[_0x221527(0x2e0)](_0x5544d6)){if(_0x5544d6[_0x221527(0x32e)]>0x0)return[generateExampleFromSchema(_0x5544d6[0x0],_0x38e855)];return[];}const _0x12fa77={};return Object[_0x221527(0x3ba)](_0x5544d6)['forEach'](_0x4542ce=>{const _0x4b3d99=_0x221527,_0x1d05c9=_0x5544d6[_0x4542ce];if(_0x1d05c9&&typeof _0x1d05c9==='object'&&!Array[_0x4b3d99(0x2e0)](_0x1d05c9)&&_0x1d05c9[_0x4b3d99(0x280)]){const _0x5196b0=_0x1d05c9,_0x45f77e=_0x5196b0[_0x4b3d99(0x280)],_0xf3c1b8=_0x5196b0[_0x4b3d99(0x1f2)];if(typeof _0x45f77e===_0x4b3d99(0x236)){const _0x795efd={};_0x795efd['description']=_0xf3c1b8,_0x795efd[_0x4b3d99(0x36c)]=_0x38e855,_0x12fa77[_0x4542ce]=generateExampleValue(_0x4542ce,_0x45f77e,undefined,_0x795efd);}else _0x12fa77[_0x4542ce]=_0x4b3d99(0x408);}else{if(Array[_0x4b3d99(0x2e0)](_0x1d05c9))_0x12fa77[_0x4542ce]=_0x1d05c9[_0x4b3d99(0x32e)]>0x0?[generateExampleFromSchema(_0x1d05c9[0x0],_0x38e855)]:[];else _0x1d05c9&&typeof _0x1d05c9===_0x4b3d99(0x434)?_0x12fa77[_0x4542ce]=generateExampleFromSchema(_0x1d05c9,_0x38e855):_0x12fa77[_0x4542ce]=_0x1d05c9;}}),_0x12fa77;}function parseRequestBody(_0x221531){const _0x5edcfd=a0_0x59051e;if(!_0x221531)return{};try{return JSON[_0x5edcfd(0x1ae)](_0x221531);}catch(_0x1dd6f7){return!![]&&console['warn'](_0x5edcfd(0x2bd),_0x1dd6f7),{};}}function parseResponseBody(_0x3af82a){const _0x1d4e30=a0_0x59051e;if(!_0x3af82a)return null;try{const _0x15b6e3=JSON[_0x1d4e30(0x1ae)](_0x3af82a);return _0x15b6e3[_0x1d4e30(0x22d)]||_0x15b6e3;}catch(_0x2a2520){return!![]&&console['warn']('解析\x20responseBody\x20失败:',_0x2a2520),null;}}function generateRequestExample(_0x14761d,_0x5d7f27,_0x46cada,_0x2f0f43){const _0x265abe=a0_0x59051e,_0x188e55={};if(!Array[_0x265abe(0x2e0)](_0x14761d))return!![]&&console[_0x265abe(0x24e)](_0x265abe(0x3bf),_0x14761d),_0x188e55;return _0x14761d['forEach'](_0x80a999=>{const _0x446504=_0x265abe;if(!_0x80a999||typeof _0x80a999!==_0x446504(0x434)){!![]&&console['warn'](_0x446504(0x287),_0x80a999);return;}if(typeof _0x80a999[_0x446504(0x1cb)]!=='string'||typeof _0x80a999[_0x446504(0x280)]!==_0x446504(0x236)){!![]&&console['warn'](_0x446504(0x3e1),_0x80a999);return;}const _0x3e8d23=parseFieldExtend(_0x80a999),_0x4a83a0=_0x80a999[_0x446504(0x1cb)]===_0x46cada||Boolean(_0x3e8d23?.['primaryKey']),_0x508c07=generateExampleValue(_0x80a999[_0x446504(0x1cb)],_0x80a999[_0x446504(0x280)],typeof _0x80a999['dbType']==='string'?_0x80a999[_0x446504(0x2d2)]:undefined,{'fieldInfo':_0x3e8d23,'isPrimaryKey':_0x4a83a0,'description':_0x80a999[_0x446504(0x1f2)]||_0x80a999[_0x446504(0x2e6)],'dbtableConfig':_0x2f0f43});_0x188e55[_0x80a999['code']]=_0x508c07;}),_0x5d7f27==='getList'&&(_0x188e55['currentPage']=0x1,_0x188e55[_0x265abe(0x2f0)]=0xa),_0x188e55;}function formatEnumValue(_0x4eae75,_0x2749d1){const _0x27a1e9=a0_0x59051e;if(_0x4eae75[_0x27a1e9(0x1e0)]&&Array[_0x27a1e9(0x2e0)](_0x2749d1))return _0x2749d1[_0x27a1e9(0x390)](_0x31408b=>_0x4eae75[_0x27a1e9(0x359)][String(_0x31408b)]||String(_0x31408b))[_0x27a1e9(0x2f5)](',\x20');return _0x4eae75[_0x27a1e9(0x359)][String(_0x2749d1)]||String(_0x2749d1);}function formatOptionsForDoc(_0x1fc53d){const _0x254899=a0_0x59051e;return _0x1fc53d[_0x254899(0x390)](_0x11606c=>_0x11606c[_0x254899(0x43b)]+'('+_0x11606c['label']+')')[_0x254899(0x2f5)](',\x20');}function formatOptionsAsMarkdownList(_0x2ad3cc,_0x3223a5=0x0){const _0x58c298=a0_0x59051e,_0x37b48a='\x20\x20'[_0x58c298(0x383)](_0x3223a5),_0x1ce3d8=[];return _0x2ad3cc[_0x58c298(0x246)](_0x20645d=>{const _0x32e069=_0x58c298;_0x1ce3d8['push'](_0x37b48a+_0x32e069(0x46f)+_0x20645d['value']+_0x32e069(0x2f1)+_0x20645d[_0x32e069(0x240)]),_0x20645d[_0x32e069(0x307)]&&_0x20645d['children'][_0x32e069(0x32e)]>0x0&&_0x1ce3d8[_0x32e069(0x276)](formatOptionsAsMarkdownList(_0x20645d[_0x32e069(0x307)],_0x3223a5+0x1));}),_0x1ce3d8['join']('\x0a');}class DbtableConfig{[a0_0x59051e(0x261)];constructor(_0x79b6e3){const _0x167b19=a0_0x59051e,_0x6dbeab={..._0x79b6e3};this[_0x167b19(0x261)]=_0x6dbeab;}get[a0_0x59051e(0x420)](){const _0x159bb7=a0_0x59051e;return this[_0x159bb7(0x261)][_0x159bb7(0x420)];}get['dbName'](){const _0x2aa1c5=a0_0x59051e;return this['_raw']['dbName']??this[_0x2aa1c5(0x261)][_0x2aa1c5(0x448)]?.['dbName'];}get[a0_0x59051e(0x424)](){const _0xc28085=a0_0x59051e;return this[_0xc28085(0x261)][_0xc28085(0x424)];}get[a0_0x59051e(0x250)](){const _0x40c493=a0_0x59051e;return this[_0x40c493(0x261)]['datasetKey'];}get[a0_0x59051e(0x46c)](){const _0x39d2e2=a0_0x59051e;return this[_0x39d2e2(0x261)][_0x39d2e2(0x46c)];}get['labelField'](){const _0x1b8d26=a0_0x59051e;return this[_0x1b8d26(0x261)][_0x1b8d26(0x3da)];}get[a0_0x59051e(0x42f)](){const _0x351cb1=a0_0x59051e;return this[_0x351cb1(0x261)][_0x351cb1(0x42f)];}get[a0_0x59051e(0x451)](){const _0x4e1777=a0_0x59051e;return this[_0x4e1777(0x261)][_0x4e1777(0x451)];}get[a0_0x59051e(0x3fc)](){return this['_raw']['updateTimeField'];}get['creatorIdField'](){return this['_raw']['creatorIdField'];}get[a0_0x59051e(0x3c5)](){const _0x5eebd1=a0_0x59051e;return this[_0x5eebd1(0x261)][_0x5eebd1(0x3c5)];}get[a0_0x59051e(0x3eb)](){const _0x5e81a6=a0_0x59051e;return this[_0x5e81a6(0x261)][_0x5e81a6(0x3eb)];}get[a0_0x59051e(0x2e5)](){const _0x3307a7=a0_0x59051e;return this['_raw'][_0x3307a7(0x2e5)];}get[a0_0x59051e(0x448)](){const _0x734e4c=a0_0x59051e;return this[_0x734e4c(0x261)][_0x734e4c(0x448)];}[a0_0x59051e(0x24d)](){const _0x56b7e0=a0_0x59051e;if(!this[_0x56b7e0(0x261)]['allFields'])return[];return this[_0x56b7e0(0x261)][_0x56b7e0(0x2bf)][_0x56b7e0(0x2c5)](',')[_0x56b7e0(0x390)](_0x34609e=>_0x34609e['trim']())[_0x56b7e0(0x3a8)](Boolean);}['getAllFieldsString'](){const _0x3b826f=a0_0x59051e;return this['_raw'][_0x3b826f(0x2bf)];}[a0_0x59051e(0x22f)](_0x58718a){const _0x187967=a0_0x59051e;return this['getAllFieldsArray']()[_0x187967(0x439)](_0x58718a);}['hasTableName'](){const _0x880c5f=a0_0x59051e;return Boolean(this[_0x880c5f(0x261)][_0x880c5f(0x424)]);}[a0_0x59051e(0x3a1)](){const _0x4983eb=a0_0x59051e;return Boolean(this['_raw'][_0x4983eb(0x448)]);}[a0_0x59051e(0x21d)](){const _0x561ec6=a0_0x59051e;return Boolean(this[_0x561ec6(0x261)][_0x561ec6(0x42f)]?.[_0x561ec6(0x363)]);}[a0_0x59051e(0x3f8)](){const _0x12e824=a0_0x59051e;return Boolean(this[_0x12e824(0x261)]['createTimeField']?.[_0x12e824(0x363)]);}[a0_0x59051e(0x23b)](){const _0x23ba1e=a0_0x59051e;return Boolean(this[_0x23ba1e(0x261)][_0x23ba1e(0x3fc)]?.[_0x23ba1e(0x363)]);}[a0_0x59051e(0x1bc)](){const _0x169d42=a0_0x59051e;return Boolean(this['_raw'][_0x169d42(0x1b7)]?.[_0x169d42(0x363)]);}[a0_0x59051e(0x416)](){const _0x2938ca=a0_0x59051e;return Boolean(this[_0x2938ca(0x261)]['modifierIdField']?.[_0x2938ca(0x363)]);}[a0_0x59051e(0x3bb)](_0x44bd25){const _0x2d2197=a0_0x59051e;return this[_0x2d2197(0x261)]['pkField']===_0x44bd25;}[a0_0x59051e(0x455)](_0x164da3){const _0x2296c4=a0_0x59051e;return this[_0x2296c4(0x3bb)](_0x164da3)||this[_0x2296c4(0x261)][_0x2296c4(0x42f)]?.['fieldName']===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x451)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x3fc)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x1b7)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)][_0x2296c4(0x3c5)]?.[_0x2296c4(0x363)]===_0x164da3||this[_0x2296c4(0x261)]['modifierIdField']?.['fieldName']===_0x164da3||this[_0x2296c4(0x261)]['modifierNameField']?.[_0x2296c4(0x363)]===_0x164da3;}[a0_0x59051e(0x217)](){const _0x28d621=a0_0x59051e;return this[_0x28d621(0x261)]['dblinkInfoDTO']?.[_0x28d621(0x2be)];}[a0_0x59051e(0x360)](){const _0x2de1b5=a0_0x59051e;return this[_0x2de1b5(0x261)][_0x2de1b5(0x448)]?.[_0x2de1b5(0x2d2)];}[a0_0x59051e(0x2d8)](){const _0x5ec838=a0_0x59051e;return this['_raw'][_0x5ec838(0x448)]?.[_0x5ec838(0x258)];}[a0_0x59051e(0x412)](){const _0x5a2a96=a0_0x59051e;return this[_0x5a2a96(0x261)][_0x5a2a96(0x448)]?.[_0x5a2a96(0x28f)];}[a0_0x59051e(0x32f)](){const _0x356a97=a0_0x59051e;return this[_0x356a97(0x261)][_0x356a97(0x448)]?.['appCode'];}['getSystemAnalysisResult'](){const _0x41113f=a0_0x59051e;return this['_raw']['dblinkInfoDTO']?.[_0x41113f(0x348)];}[a0_0x59051e(0x419)](){const _0x2eb1c1=a0_0x59051e;return{'hasTableName':this[_0x2eb1c1(0x26b)](),'hasDblinkInfo':this[_0x2eb1c1(0x3a1)](),'fieldCount':this['getAllFieldsArray']()[_0x2eb1c1(0x32e)],'systemFields':{'hasLogicField':this[_0x2eb1c1(0x21d)](),'hasCreateTimeField':this[_0x2eb1c1(0x3f8)](),'hasUpdateTimeField':this[_0x2eb1c1(0x23b)](),'hasCreatorIdField':this[_0x2eb1c1(0x1bc)](),'hasModifierIdField':this[_0x2eb1c1(0x416)]()}};}[a0_0x59051e(0x24c)](){const _0x45eb1b=a0_0x59051e,_0x485241={};return _0x485241['tableName']=this[_0x45eb1b(0x424)],_0x485241['pkField']=this['pkField'],_0x485241[_0x45eb1b(0x250)]=this[_0x45eb1b(0x250)],_0x485241[_0x45eb1b(0x420)]=this['dbId'],_0x485241;}[a0_0x59051e(0x345)](){const _0x3bbea2={...this['_raw']};return _0x3bbea2;}[a0_0x59051e(0x417)](){const _0x239a9a=a0_0x59051e,_0x3a812c={...this[_0x239a9a(0x261)]};return _0x3a812c;}['toString'](){const _0x398ba9=a0_0x59051e,_0x1fbd67=this[_0x398ba9(0x424)]||'N/A',_0x5b9b72=this[_0x398ba9(0x24d)]()['length'];return _0x398ba9(0x396)+_0x1fbd67+_0x398ba9(0x3d6)+_0x5b9b72+')';}static[a0_0x59051e(0x2dc)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x59051e(0x261)];constructor(_0x2e46a5){const _0x1e7fab=a0_0x59051e,_0x4f4400=_0x2e46a5[_0x1e7fab(0x43e)]||_0x2e46a5[_0x1e7fab(0x1cb)]||_0x2e46a5[_0x1e7fab(0x1cd)],_0x53175e={..._0x2e46a5};_0x53175e[_0x1e7fab(0x43e)]=_0x4f4400,this['_raw']=_0x53175e;}get['id'](){const _0x53f413=a0_0x59051e;return this[_0x53f413(0x261)]['id'];}get[a0_0x59051e(0x2e6)](){const _0xcd75d4=a0_0x59051e;return this[_0xcd75d4(0x261)][_0xcd75d4(0x2e6)];}[a0_0x59051e(0x1d4)](){const _0x2e4ac6=a0_0x59051e;return this[_0x2e4ac6(0x2e6)];}get[a0_0x59051e(0x43e)](){const _0x5269e3=a0_0x59051e;return this[_0x5269e3(0x261)][_0x5269e3(0x43e)]||'';}get[a0_0x59051e(0x36c)](){const _0x42febe=a0_0x59051e;if(!this[_0x42febe(0x261)][_0x42febe(0x36c)])return null;return new DbtableConfig(this['_raw'][_0x42febe(0x36c)]);}[a0_0x59051e(0x2a9)](){const _0x52cf5e=a0_0x59051e;return this[_0x52cf5e(0x261)][_0x52cf5e(0x36c)];}[a0_0x59051e(0x1dd)](){const _0x4aaac3=a0_0x59051e;return this[_0x4aaac3(0x36c)]?.[_0x4aaac3(0x2be)]||'';}[a0_0x59051e(0x2ef)](){const _0x2bfd53=a0_0x59051e;return getTableName(this[_0x2bfd53(0x261)]);}['getTableKey'](){const _0x4efc73=a0_0x59051e;return getTableKey(this[_0x4efc73(0x2ef)]());}[a0_0x59051e(0x27c)](){const _0x158676=a0_0x59051e;return generateModelKeyFromCode(this[_0x158676(0x43e)]);}['isVirtualTable'](){return isVirtualTableName(this['getTableName']());}[a0_0x59051e(0x25f)](){const _0x5466e5=a0_0x59051e;return getTableKey(this[_0x5466e5(0x2ef)]());}[a0_0x59051e(0x24c)](){const _0x479868=a0_0x59051e,_0x2c2596=getTableKey(this['getTableName']());return{'key':_0x2c2596,'alias':_0x2c2596,'tableName':this[_0x479868(0x2ef)](),'datasetCode':this[_0x479868(0x43e)],'name':this[_0x479868(0x2e6)]};}['toJSON'](){const _0x1c6e48=a0_0x59051e,_0xcebcc8={...this[_0x1c6e48(0x261)]};return _0xcebcc8['datasetCode']=this[_0x1c6e48(0x43e)],_0xcebcc8;}[a0_0x59051e(0x417)](){const _0xdcdc14=a0_0x59051e,_0x244b15={...this[_0xdcdc14(0x261)]};return _0x244b15;}['hasDbtableConfig'](){const _0xa57090=a0_0x59051e,_0x11906d=this['dbtableConfig'];return _0x11906d!==null&&_0x11906d[_0xa57090(0x26b)]();}[a0_0x59051e(0x346)](_0x5ea79c){const _0x5590cf=a0_0x59051e;return this[_0x5590cf(0x261)][_0x5ea79c];}['hasExtendField'](_0x566844){return _0x566844 in this['_raw'];}['toString'](){const _0x3a6cf3=a0_0x59051e;return _0x3a6cf3(0x229)+this[_0x3a6cf3(0x2e6)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x59051e(0x261)];[a0_0x59051e(0x1f6)];constructor(_0x2d8543,_0x2dcfd3,_0xab1fbe){const _0x448197=a0_0x59051e;this[_0x448197(0x2e6)]=_0x2d8543,this[_0x448197(0x261)]=_0x2dcfd3,this[_0x448197(0x1f6)]=_0xab1fbe;}[a0_0x59051e(0x1d4)](){const _0x1311a1=a0_0x59051e;return this[_0x1311a1(0x2e6)];}[a0_0x59051e(0x40c)](){const _0x5a9691=a0_0x59051e;return OPERATION_TYPE_DISPLAY_NAME[this[_0x5a9691(0x2e6)]]||this[_0x5a9691(0x2e6)];}[a0_0x59051e(0x321)](){return parseOperationType(this['name']);}[a0_0x59051e(0x3b3)](){const _0x5ecaf3=a0_0x59051e;return this[_0x5ecaf3(0x261)]!==null&&this['_raw']!==![];}[a0_0x59051e(0x1c4)](){const _0x31426f=a0_0x59051e,_0x6a9f50=this[_0x31426f(0x261)];if(_0x6a9f50===![]||_0x6a9f50===null)return'';return _0x6a9f50['method']||_0x31426f(0x3be);}[a0_0x59051e(0x25d)](){const _0x2fd1e2=a0_0x59051e,_0x23c307=this[_0x2fd1e2(0x261)];if(_0x23c307===![]||_0x23c307===null)return'';return _0x23c307[_0x2fd1e2(0x377)]||'';}[a0_0x59051e(0x21c)](){const _0x47f914=a0_0x59051e,_0x5bf164=this['_raw'];let _0x2b2e43='';_0x5bf164!==![]&&_0x5bf164!==null&&_0x5bf164[_0x47f914(0x329)]&&(_0x2b2e43=_0x5bf164[_0x47f914(0x329)]);const _0x54cdd4=this[_0x47f914(0x25d)]();return _0x2b2e43&&_0x54cdd4?''+_0x2b2e43+_0x54cdd4:_0x54cdd4;}[a0_0x59051e(0x356)](){const _0x45e2f1=a0_0x59051e,_0x5a8833=this['_raw'];if(_0x5a8833===![]||_0x5a8833===null||!_0x5a8833[_0x45e2f1(0x36d)])return{};try{return JSON[_0x45e2f1(0x1ae)](_0x5a8833['requestBody']);}catch{return{};}}[a0_0x59051e(0x3ff)](){const _0x179aa2=a0_0x59051e,_0x2cc32b=this['_raw'];if(_0x2cc32b===![]||_0x2cc32b===null||!_0x2cc32b[_0x179aa2(0x2a2)])return null;return parseResponseBody(_0x2cc32b[_0x179aa2(0x2a2)]);}[a0_0x59051e(0x2ce)](){const _0x5a06df=a0_0x59051e;return this[_0x5a06df(0x356)]();}[a0_0x59051e(0x2d1)](){const _0x180b41=a0_0x59051e;return this[_0x180b41(0x3ff)]();}[a0_0x59051e(0x204)](){const _0x2b6a3d=a0_0x59051e,_0x4583f5=this['getRequestParams']();return Object[_0x2b6a3d(0x3ba)](_0x4583f5);}[a0_0x59051e(0x213)](){const _0x327512=a0_0x59051e,_0x13537a=this[_0x327512(0x2ce)](),_0x540d5f={};return Object[_0x327512(0x3f5)](_0x13537a)[_0x327512(0x246)](([_0x57d3ff,_0x30d6c6])=>{const _0x5d152a=_0x327512,_0xdc73df=_0x30d6c6;_0x540d5f[_0x57d3ff]=generateExampleValue(_0x57d3ff,_0xdc73df[_0x5d152a(0x280)]||'String',undefined,{'description':_0xdc73df[_0x5d152a(0x1f2)]});}),_0x540d5f;}[a0_0x59051e(0x3e0)](){return this['generateRequestExample']();}['generateResponseExample'](){const _0x3de2b5=a0_0x59051e,_0xa8382d=this[_0x3de2b5(0x3ff)]();if(!_0xa8382d){const _0x14e638={};return _0x14e638[_0x3de2b5(0x305)]=!![],_0x14e638[_0x3de2b5(0x44d)]=_0x3de2b5(0x226),_0x14e638['errorMsg']='',_0x14e638[_0x3de2b5(0x3b1)]=_0x3de2b5(0x266),_0x14e638[_0x3de2b5(0x316)]=null,_0x14e638;}return this[_0x3de2b5(0x31f)](_0xa8382d);}[a0_0x59051e(0x31f)](_0x28ea53){const _0x1d8840=a0_0x59051e;if(!_0x28ea53||typeof _0x28ea53!=='object')return{};if(Array[_0x1d8840(0x2e0)](_0x28ea53))return _0x28ea53[_0x1d8840(0x32e)]>0x0?[this[_0x1d8840(0x31f)](_0x28ea53[0x0])]:[];const _0x5b5129={};for(const [_0xac8112,_0x3a2aeb]of Object['entries'](_0x28ea53)){if(_0x3a2aeb&&typeof _0x3a2aeb===_0x1d8840(0x434)&&!Array[_0x1d8840(0x2e0)](_0x3a2aeb)){const _0x3330bb=_0x3a2aeb;_0x5b5129[_0xac8112]=generateExampleValue(_0xac8112,_0x3330bb[_0x1d8840(0x280)]||_0x1d8840(0x248),undefined,{'description':_0x3330bb[_0x1d8840(0x1f2)]});}else Array['isArray'](_0x3a2aeb)?_0x5b5129[_0xac8112]=_0x3a2aeb['length']>0x0?[this[_0x1d8840(0x31f)](_0x3a2aeb[0x0])]:[]:_0x5b5129[_0xac8112]=_0x3a2aeb;}return _0x5b5129;}[a0_0x59051e(0x427)](_0x5818e2,_0x4b2f6e,_0x4c4326,_0x391865){return generateExampleValue(_0x5818e2,_0x4b2f6e,_0x4c4326,_0x391865);}[a0_0x59051e(0x1e8)](_0x20f14c,_0x239224){const _0x3b493e=a0_0x59051e,_0x1264a4=this[_0x3b493e(0x1d4)]();return _0x3b493e(0x294)+_0x20f14c+'.'+_0x1264a4+'();';}[a0_0x59051e(0x402)](_0x3c3165){const _0x55d004=a0_0x59051e,_0x29764a=this[_0x55d004(0x1d4)](),_0xecf69a=_0x3c3165||_0x55d004(0x25a),_0x399e3f={};return _0x399e3f['successCode']=_0x55d004(0x3ee)+_0xecf69a+'.'+_0x29764a+'();',_0x399e3f[_0x55d004(0x3b1)]=_0x55d004(0x2ab)+_0xecf69a+'.'+_0x29764a+_0x55d004(0x255),_0x399e3f;}[a0_0x59051e(0x388)](){const _0x443e02=a0_0x59051e,_0x43fdf2=this['getRequestParams'](),_0x54583a=Object[_0x443e02(0x3f5)](_0x43fdf2)['map'](([_0x988757,_0x361427])=>{const _0x4651e4=_0x443e02,_0x5b751a=_0x361427,_0xb311d1={};return _0xb311d1['name']=_0x988757,_0xb311d1[_0x4651e4(0x280)]=_0x5b751a[_0x4651e4(0x280)]||_0x4651e4(0x248),_0xb311d1['description']=_0x5b751a['description']||'-',_0xb311d1[_0x4651e4(0x2d3)]=_0x5b751a[_0x4651e4(0x2d3)],_0xb311d1;}),_0x5e0e3d={};return _0x5e0e3d[_0x443e02(0x2cf)]=_0x54583a,_0x5e0e3d;}[a0_0x59051e(0x443)](){const _0x44c348=a0_0x59051e,_0x325067=this['parseRawResponseBody']();if(!_0x325067){const _0x3986e4={};return _0x3986e4[_0x44c348(0x2cf)]=[],_0x3986e4;}const _0x54bcea=Object[_0x44c348(0x3f5)](_0x325067)[_0x44c348(0x390)](([_0x3a76ad,_0xc036a1])=>{const _0x4e6eb9=_0x44c348,_0x271e41=_0xc036a1,_0x5b9468={};return _0x5b9468[_0x4e6eb9(0x2e6)]=_0x3a76ad,_0x5b9468[_0x4e6eb9(0x280)]=_0x271e41[_0x4e6eb9(0x280)]||_0x4e6eb9(0x248),_0x5b9468[_0x4e6eb9(0x1f2)]=_0x271e41[_0x4e6eb9(0x1f2)]||'-',_0x5b9468;}),_0x2d5be3={};return _0x2d5be3[_0x44c348(0x2cf)]=_0x54bcea,_0x2d5be3;}[a0_0x59051e(0x20a)](){return[];}[a0_0x59051e(0x20e)](){const _0x32b5a4=a0_0x59051e;return this[_0x32b5a4(0x1f6)][_0x32b5a4(0x208)]||[];}[a0_0x59051e(0x2da)](){const _0x5a685d=a0_0x59051e;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x5a685d(0x20e)]()};}[a0_0x59051e(0x3cb)](_0x5bb888){const _0x1f4741=a0_0x59051e;return this['context']['fields'][_0x1f4741(0x42e)](_0x16266b=>_0x16266b?.[_0x1f4741(0x1cb)]===_0x5bb888);}[a0_0x59051e(0x1be)](_0x39bb9e){const _0x1fd1ce=a0_0x59051e;return _0x39bb9e[_0x1fd1ce(0x1cb)];}[a0_0x59051e(0x349)](_0x50b285){return _0x50b285['type'];}[a0_0x59051e(0x2fb)](_0x2a4305){const _0x397f35=a0_0x59051e;return _0x2a4305[_0x397f35(0x2e6)];}[a0_0x59051e(0x2d5)](_0x21f754){const _0x15c59f=a0_0x59051e;return _0x21f754[_0x15c59f(0x1f2)];}[a0_0x59051e(0x35d)](_0x2e1d1e){const _0x260aa2=a0_0x59051e;return _0x2e1d1e[_0x260aa2(0x288)]()||null;}[a0_0x59051e(0x271)](_0x517205){const _0x69f1eb=a0_0x59051e;return _0x517205[_0x69f1eb(0x3a4)]();}[a0_0x59051e(0x295)](){return[];}[a0_0x59051e(0x437)](_0x4aa2df){return[];}['toJSON'](){const _0x2d44ca=a0_0x59051e;return{'name':this[_0x2d44ca(0x1d4)](),'displayName':this[_0x2d44ca(0x40c)](),'type':this[_0x2d44ca(0x321)](),'enabled':this[_0x2d44ca(0x3b3)](),'method':this[_0x2d44ca(0x1c4)](),'path':this[_0x2d44ca(0x25d)](),'fullUrl':this[_0x2d44ca(0x21c)](),'requestParams':this[_0x2d44ca(0x2ce)](),'requestExample':this[_0x2d44ca(0x213)](),'responseExample':this[_0x2d44ca(0x38a)]()};}[a0_0x59051e(0x3c8)](){const _0x3eb217=a0_0x59051e,_0x4e17ea=this[_0x3eb217(0x3b3)]()?'启用':'禁用';return this[_0x3eb217(0x40c)]()+'('+this[_0x3eb217(0x2e6)]+',\x20'+_0x4e17ea+')';}}class GenericOperation extends Operation{[a0_0x59051e(0x38e)];[a0_0x59051e(0x2ce)](){const _0x1d51b7=a0_0x59051e;return this[_0x1d51b7(0x356)]();}['getResponseSchema'](){return this['parseRawResponseBody']();}[a0_0x59051e(0x213)](){const _0x1be254=a0_0x59051e;if(this[_0x1be254(0x38e)])return this[_0x1be254(0x38e)];const _0x431aa7={},_0x2fab61=this[_0x1be254(0x2ce)](),_0x1a9806=this[_0x1be254(0x321)]();if(Object[_0x1be254(0x3ba)](_0x2fab61)[_0x1be254(0x32e)]===0x0&&_0x1a9806){const _0x44671e=this['getBusinessFields']();return _0x44671e[_0x1be254(0x246)](_0x5cacc0=>{const _0x4e9437=_0x1be254,_0x18ab4c=_0x5cacc0[_0x4e9437(0x1cb)],_0x52bae3=_0x5cacc0['type'],_0x2c961f=this[_0x4e9437(0x427)](_0x18ab4c,_0x52bae3,_0x5cacc0['getDbTypeForOperation'](),{'isPrimaryKey':_0x5cacc0['isPrimaryKey'](),'description':_0x5cacc0['description']||_0x5cacc0[_0x4e9437(0x2e6)]});_0x431aa7[_0x18ab4c]=_0x2c961f;}),this[_0x1be254(0x38e)]=_0x431aa7,_0x431aa7;}return Object[_0x1be254(0x3f5)](_0x2fab61)[_0x1be254(0x246)](([_0x314592,_0x16e1be])=>{const _0x126290=_0x1be254,_0x291032=_0x16e1be;let _0x4b6c10;if(typeof _0x291032[_0x126290(0x280)]===_0x126290(0x236))_0x4b6c10=_0x291032['type'];else _0x291032[_0x126290(0x280)]&&typeof _0x291032[_0x126290(0x280)]===_0x126290(0x434)?_0x4b6c10=_0x291032[_0x126290(0x280)][_0x126290(0x280)]||_0x126290(0x3fe):_0x4b6c10=_0x126290(0x3fe);const _0x485961=_0x291032[_0x126290(0x1f2)],_0xd1e461=this[_0x126290(0x3cb)](_0x314592);if(_0x314592==='currentPage')_0x431aa7[_0x314592]=0x1;else{if(_0x314592===_0x126290(0x2f0))_0x431aa7[_0x314592]=0xa;else{if(_0x314592==='id')_0x431aa7[_0x314592]=0x1;else{const _0x274189=_0xd1e461?_0xd1e461[_0x126290(0x2f6)]():undefined,_0x3fafb6=_0xd1e461?_0xd1e461[_0x126290(0x1f2)]:undefined,_0x288631=_0xd1e461?_0xd1e461[_0x126290(0x2e6)]:undefined;_0x431aa7[_0x314592]=this[_0x126290(0x427)](_0x314592,_0x4b6c10,_0x274189||undefined,{'isPrimaryKey':_0x314592===this[_0x126290(0x1f6)][_0x126290(0x46c)]||_0x314592==='id','description':_0x485961||_0x3fafb6||_0x288631});}}}}),this[_0x1be254(0x38e)]=_0x431aa7,_0x431aa7;}[a0_0x59051e(0x38a)](){const _0x554985=a0_0x59051e,_0xd2e381=this[_0x554985(0x2d1)]();if(!_0xd2e381){const _0x158cfe={};return _0x158cfe[_0x554985(0x305)]=!![],_0x158cfe[_0x554985(0x44d)]='操作成功',_0x158cfe[_0x554985(0x2e1)]='',_0x158cfe['errorCode']=_0x554985(0x266),_0x158cfe[_0x554985(0x316)]=null,_0x158cfe;}return this[_0x554985(0x31f)](_0xd2e381);}[a0_0x59051e(0x31f)](_0x39f43a){const _0x14102b=a0_0x59051e;if(!_0x39f43a||typeof _0x39f43a!==_0x14102b(0x434))return{};if(Array['isArray'](_0x39f43a)){if(_0x39f43a[_0x14102b(0x32e)]>0x0)return[this[_0x14102b(0x31f)](_0x39f43a[0x0])];return[];}const _0x279ac0={};return Object['keys'](_0x39f43a)[_0x14102b(0x246)](_0x5bb61a=>{const _0x41c1ce=_0x14102b,_0x417c0a=_0x39f43a[_0x5bb61a];if(_0x417c0a&&typeof _0x417c0a===_0x41c1ce(0x434)&&!Array[_0x41c1ce(0x2e0)](_0x417c0a)&&_0x417c0a[_0x41c1ce(0x280)]){const _0x1cf0fd=_0x417c0a;let _0x5dab11;if(typeof _0x1cf0fd[_0x41c1ce(0x280)]===_0x41c1ce(0x236))_0x5dab11=_0x1cf0fd[_0x41c1ce(0x280)];else _0x1cf0fd[_0x41c1ce(0x280)]&&typeof _0x1cf0fd[_0x41c1ce(0x280)]===_0x41c1ce(0x434)?_0x5dab11=_0x1cf0fd[_0x41c1ce(0x280)][_0x41c1ce(0x280)]||_0x41c1ce(0x3fe):_0x5dab11=_0x41c1ce(0x3fe);const _0x417d4e=_0x1cf0fd[_0x41c1ce(0x1f2)],_0x3fb2cc={};_0x3fb2cc['description']=_0x417d4e,_0x279ac0[_0x5bb61a]=this[_0x41c1ce(0x427)](_0x5bb61a,_0x5dab11,undefined,_0x3fb2cc);}else{if(Array['isArray'](_0x417c0a))_0x279ac0[_0x5bb61a]=_0x417c0a[_0x41c1ce(0x32e)]>0x0?[this[_0x41c1ce(0x31f)](_0x417c0a[0x0])]:[];else _0x417c0a&&typeof _0x417c0a==='object'?_0x279ac0[_0x5bb61a]=this[_0x41c1ce(0x31f)](_0x417c0a):_0x279ac0[_0x5bb61a]=_0x417c0a;}}),_0x279ac0;}['generateSDKCallCode'](_0x3364ce,_0x426863){const _0x5ed27a=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x426863||{},_0x4c31c0=this[_0x5ed27a(0x1d4)](),_0x480d4a=this[_0x5ed27a(0x321)](),_0x25a738=this[_0x5ed27a(0x204)](),_0x3c91cd=this[_0x5ed27a(0x213)](),_0x31a20f=_0x3e9115=>{const _0x32cd6f=_0x5ed27a;if(Object[_0x32cd6f(0x3ba)](_0x3e9115)[_0x32cd6f(0x32e)]===0x0)return'{}';const _0x198207=JSON['stringify'](_0x3e9115,null,0x2)[_0x32cd6f(0x2c5)]('\x0a')[_0x32cd6f(0x390)]((_0x423261,_0x128d0c)=>_0x128d0c===0x0?_0x423261:indent+_0x423261)['join']('\x0a');return _0x198207;};switch(_0x480d4a){case _0x5ed27a(0x353):case _0x5ed27a(0x28d):return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x3af);case'update':if(useFullExample&&Object['keys'](_0x3c91cd)[_0x5ed27a(0x32e)]>0x0)return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'(id,\x20'+_0x31a20f(_0x3c91cd)+');';return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x22e);case _0x5ed27a(0x382):case _0x5ed27a(0x339):case _0x5ed27a(0x238):default:if(_0x25a738[_0x5ed27a(0x32e)]>0x0){if(useFullExample&&Object[_0x5ed27a(0x3ba)](_0x3c91cd)[_0x5ed27a(0x32e)]>0x0)return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'('+_0x31a20f(_0x3c91cd)+');';else{const _0x113cad=Object[_0x5ed27a(0x3ba)](_0x3c91cd);if(_0x113cad[_0x5ed27a(0x32e)]>0x0){const _0x45fd79=_0x113cad[_0x5ed27a(0x313)](0x0,0x2)[_0x5ed27a(0x2f5)](',\x20');return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+_0x5ed27a(0x1ec)+_0x45fd79+_0x5ed27a(0x373);}else return _0x5ed27a(0x294)+_0x3364ce+'.'+_0x4c31c0+'(params);';}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x3364ce+'.'+_0x4c31c0+'();';}}[a0_0x59051e(0x386)](){const _0x5aa4fc=a0_0x59051e;return[{'title':_0x5aa4fc(0x35f),'data':this[_0x5aa4fc(0x213)]()}];}[a0_0x59051e(0x20a)](){const _0x2f4569=a0_0x59051e,_0x134bd8=this['getType'](),_0x3f7c64=[];switch(_0x134bd8){case _0x2f4569(0x353):case _0x2f4569(0x28d):const _0x19b04e={};_0x19b04e[_0x2f4569(0x1cb)]='id',_0x19b04e[_0x2f4569(0x280)]=_0x2f4569(0x2d6),_0x19b04e['description']=_0x2f4569(0x1bb),_0x3f7c64[_0x2f4569(0x276)](_0x19b04e);break;case _0x2f4569(0x339):const _0x5c425d={};_0x5c425d[_0x2f4569(0x1cb)]='currentPage',_0x5c425d['type']=_0x2f4569(0x2d6),_0x5c425d[_0x2f4569(0x1f2)]='当前页码';const _0x2529b7={};_0x2529b7[_0x2f4569(0x1cb)]=_0x2f4569(0x2f0),_0x2529b7[_0x2f4569(0x280)]=_0x2f4569(0x2d6),_0x2529b7[_0x2f4569(0x1f2)]=_0x2f4569(0x3ef),_0x3f7c64[_0x2f4569(0x276)](_0x5c425d,_0x2529b7);break;case _0x2f4569(0x238):const _0x25b325={};_0x25b325[_0x2f4569(0x1cb)]=_0x2f4569(0x1cb),_0x25b325[_0x2f4569(0x280)]=_0x2f4569(0x286),_0x25b325['description']='选项编码(可选)',_0x3f7c64[_0x2f4569(0x276)](_0x25b325);break;default:break;}return _0x3f7c64;}[a0_0x59051e(0x20e)](){const _0x465268=a0_0x59051e,_0x3a3f4b=this[_0x465268(0x321)](),_0x17d5ed=this[_0x465268(0x1f6)][_0x465268(0x208)]||[];switch(_0x3a3f4b){case'getOne':case _0x465268(0x28d):return[];case _0x465268(0x382):case _0x465268(0x3a6):return _0x17d5ed['filter'](_0x5d9adc=>{const _0x174fae=_0x465268;if(_0x5d9adc[_0x174fae(0x44a)])return![];if(_0x5d9adc[_0x174fae(0x3a4)]()&&_0x5d9adc[_0x174fae(0x3b6)]())return![];if(_0x5d9adc[_0x174fae(0x38c)]())return![];if(_0x5d9adc[_0x174fae(0x2ae)]()||_0x5d9adc[_0x174fae(0x20d)]())return![];return!![];});case _0x465268(0x234):return _0x17d5ed['filter'](_0x15c7a8=>{const _0x5e10cc=_0x465268;if(_0x15c7a8[_0x5e10cc(0x44a)])return![];if(_0x15c7a8[_0x5e10cc(0x3a4)]())return![];if(_0x15c7a8[_0x5e10cc(0x38c)]())return![];if(_0x15c7a8['isCreateTime']()||_0x15c7a8[_0x5e10cc(0x20d)]())return![];if(_0x15c7a8[_0x5e10cc(0x3b6)]())return![];return!![];});case _0x465268(0x339):case'getSelectOptions':return _0x17d5ed[_0x465268(0x3a8)](_0x331e0e=>!_0x331e0e[_0x465268(0x44a)]&&_0x331e0e[_0x465268(0x470)]());default:return _0x17d5ed[_0x465268(0x3a8)](_0x5eb131=>!_0x5eb131['deleted']&&_0x5eb131[_0x465268(0x470)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0xb43dfe=a0_0x59051e,_0x1d42dd=super[_0xb43dfe(0x2ce)](),_0x3f8aaf=Object[_0xb43dfe(0x3ba)](_0x1d42dd);if(_0x3f8aaf[_0xb43dfe(0x32e)]===0x0||_0x3f8aaf[_0xb43dfe(0x32e)]===0x1&&_0x3f8aaf[0x0]===_0xb43dfe(0x1cb)){if(!_0x1d42dd[_0xb43dfe(0x1cb)]){const _0xe562cb={};_0xe562cb[_0xb43dfe(0x280)]=_0xb43dfe(0x248),_0xe562cb[_0xb43dfe(0x1f2)]=_0xb43dfe(0x471),_0x1d42dd[_0xb43dfe(0x1cb)]=_0xe562cb;}const _0x4f00ea={};_0x4f00ea[_0xb43dfe(0x280)]=_0xb43dfe(0x248),_0x4f00ea['description']=_0xb43dfe(0x2e2),_0x1d42dd[_0xb43dfe(0x240)]=_0x4f00ea;}return _0x1d42dd;}[a0_0x59051e(0x20e)](){return[];}[a0_0x59051e(0x20a)](){const _0x27a5c7=a0_0x59051e,_0x4793eb={};_0x4793eb[_0x27a5c7(0x1cb)]=_0x27a5c7(0x1cb),_0x4793eb[_0x27a5c7(0x280)]=_0x27a5c7(0x248),_0x4793eb[_0x27a5c7(0x1f2)]=_0x27a5c7(0x471);const _0x4311e9={};return _0x4311e9[_0x27a5c7(0x1cb)]=_0x27a5c7(0x240),_0x4311e9[_0x27a5c7(0x280)]=_0x27a5c7(0x248),_0x4311e9[_0x27a5c7(0x1f2)]='字段名称',[_0x4793eb,_0x4311e9];}[a0_0x59051e(0x213)](){const _0x45bc6d=a0_0x59051e,_0x243b05={};return _0x243b05[_0x45bc6d(0x1cb)]=_0x45bc6d(0x1b5),_0x243b05[_0x45bc6d(0x240)]=_0x45bc6d(0x1b5),_0x243b05;}['generateSDKCallCode'](_0xdc7974){const _0x529711=a0_0x59051e,_0xc010a5=this[_0x529711(0x1d4)]();return _0x529711(0x294)+_0xdc7974+'.'+_0xc010a5+_0x529711(0x2bb);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x30f721=a0_0x59051e,_0x54abfc=super[_0x30f721(0x2ce)](),{currentPage:_0x747631,pageSize:_0x1882d3,..._0x5c61c0}=_0x54abfc,_0xff2844={};Object[_0x30f721(0x3f5)](_0x5c61c0)[_0x30f721(0x246)](([_0x494e8d,_0x789cab])=>{const _0x4db811=_0x30f721;if(typeof _0x789cab==='object'&&_0x789cab!==null){const _0x386d34=_0x789cab,_0x1201f5=_0x386d34[_0x4db811(0x1f2)]||'',_0x2c7bf8={..._0x386d34};_0x2c7bf8['description']=_0x1201f5?_0x1201f5+_0x4db811(0x41f):_0x4db811(0x1fc),_0xff2844[_0x494e8d]=_0x2c7bf8;}else _0xff2844[_0x494e8d]=_0x789cab;});const _0x55ddb8={...typeof _0x747631===_0x30f721(0x434)?_0x747631:{}};_0x55ddb8[_0x30f721(0x280)]='Number',_0x55ddb8[_0x30f721(0x1f2)]='当前页码';const _0x12cc7e={...typeof _0x1882d3===_0x30f721(0x434)?_0x1882d3:{}};_0x12cc7e[_0x30f721(0x280)]=_0x30f721(0x2c3),_0x12cc7e[_0x30f721(0x1f2)]='每页数量';const _0x230bab={..._0xff2844};return _0x230bab['currentPage']=_0x55ddb8,_0x230bab[_0x30f721(0x2f0)]=_0x12cc7e,_0x230bab;}[a0_0x59051e(0x213)](_0x4def73){const _0x401969=a0_0x59051e,{useArrayValues:useArrayValues=!![]}=_0x4def73||{},_0x192711=super[_0x401969(0x213)](),{currentPage:_0x276656,pageSize:_0x4a5396,..._0x18818e}=_0x192711;if(!useArrayValues){const _0x2a13e9={..._0x18818e};return _0x2a13e9[_0x401969(0x42c)]=_0x276656??0x1,_0x2a13e9['pageSize']=_0x4a5396??0xa,_0x2a13e9;}const _0xdd5529={},_0x231d51=['id',_0x401969(0x300),_0x401969(0x1cb),_0x401969(0x280)];Object[_0x401969(0x3f5)](_0x18818e)[_0x401969(0x246)](([_0x58b946,_0x71991e],_0x3451a2)=>{const _0x455df3=_0x401969,_0x2fc4d2=_0x231d51[_0x455df3(0x2fa)](_0x19226=>_0x58b946['toLowerCase']()[_0x455df3(0x439)](_0x19226))||_0x3451a2%0x3===0x0;if(_0x2fc4d2&&_0x71991e!==null&&_0x71991e!==undefined){if(typeof _0x71991e===_0x455df3(0x29a))_0xdd5529[_0x58b946]=[_0x71991e,_0x71991e+0x1,_0x71991e+0x2];else typeof _0x71991e===_0x455df3(0x236)?_0xdd5529[_0x58b946]=[_0x71991e,_0x71991e+'_2',_0x71991e+'_3']:_0xdd5529[_0x58b946]=[_0x71991e];}else _0xdd5529[_0x58b946]=_0x71991e;});const _0x4facca={..._0xdd5529};return _0x4facca[_0x401969(0x42c)]=_0x276656??0x1,_0x4facca['pageSize']=_0x4a5396??0xa,_0x4facca;}[a0_0x59051e(0x430)](){const _0x5a47d9=a0_0x59051e,_0x1a2812={};return _0x1a2812[_0x5a47d9(0x2b5)]=![],this['generateRequestExample'](_0x1a2812);}[a0_0x59051e(0x386)](){const _0x4c5eaf=a0_0x59051e;return[{'title':_0x4c5eaf(0x3c4),'description':_0x4c5eaf(0x243),'data':this[_0x4c5eaf(0x430)]()},{'title':_0x4c5eaf(0x3c2),'description':_0x4c5eaf(0x273),'data':this[_0x4c5eaf(0x213)]()}];}[a0_0x59051e(0x1e8)](_0x1a5229,_0x27ed6d){const _0x403906=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27ed6d||{},_0x2dcf24=this[_0x403906(0x1d4)](),_0x177cde={};_0x177cde[_0x403906(0x2b5)]=!![];const _0x4be613=this['generateRequestExample'](_0x177cde),{currentPage:_0xdd9e79,pageSize:_0x4b3be0,..._0x6fa1a9}=_0x4be613;if(useFullExample&&Object['keys'](_0x4be613)['length']>0x0){const _0x3acc72=Object['keys'](_0x6fa1a9)['length']>0x0;if(_0x3acc72){const _0xe8ab92=this[_0x403906(0x430)](),_0x69f9ba=_0x33f88c=>{const _0x2d4582=_0x403906;return JSON[_0x2d4582(0x1ca)](_0x33f88c,null,0x2)[_0x2d4582(0x2c5)]('\x0a')[_0x2d4582(0x390)]((_0x178029,_0x1463a6)=>_0x1463a6===0x0?_0x178029:indent+_0x178029)[_0x2d4582(0x2f5)]('\x0a');};return _0x403906(0x428)+_0x1a5229+'.'+_0x2dcf24+'('+_0x69f9ba(_0xe8ab92)+_0x403906(0x264)+_0x1a5229+'.'+_0x2dcf24+'('+_0x69f9ba(_0x4be613)+');';}else{const _0x27a744=JSON[_0x403906(0x1ca)](_0x4be613,null,0x2)[_0x403906(0x2c5)]('\x0a')[_0x403906(0x390)]((_0x42f584,_0x2da7b5)=>_0x2da7b5===0x0?_0x42f584:indent+_0x42f584)['join']('\x0a');return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'('+_0x27a744+');';}}if(Object[_0x403906(0x3ba)](_0x6fa1a9)[_0x403906(0x32e)]>0x0){const _0x19af78=Object['keys'](_0x6fa1a9)[0x0];return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'({\x20'+_0x19af78+',\x20currentPage,\x20pageSize,\x20...\x20});';}return _0x403906(0x294)+_0x1a5229+'.'+_0x2dcf24+'({\x20currentPage,\x20pageSize\x20});';}}var AGGREGATE_FUNCTIONS=[a0_0x59051e(0x32b),a0_0x59051e(0x256),a0_0x59051e(0x30a),a0_0x59051e(0x33b),a0_0x59051e(0x32d)],FILTER_OPERATORS=['$eq',a0_0x59051e(0x44b),a0_0x59051e(0x290),a0_0x59051e(0x38b),a0_0x59051e(0x3ac),a0_0x59051e(0x334),a0_0x59051e(0x3d1),a0_0x59051e(0x2fd),a0_0x59051e(0x262),'$endWith',a0_0x59051e(0x466),a0_0x59051e(0x232)];class FilterOperation extends GenericOperation{constructor(_0x441f44,_0x259c9c,_0x550cd0){super(_0x441f44,_0x259c9c,_0x550cd0);}['getOperators'](){return FILTER_OPERATORS;}['getFieldOperators'](_0x54a1da){const _0xdbd832=a0_0x59051e,_0x56a4b7=this[_0xdbd832(0x3cb)](_0x54a1da);if(!_0x56a4b7)return[];return this[_0xdbd832(0x31d)](_0x56a4b7);}['getRequestParams'](){const _0x3f509d=a0_0x59051e,_0x5294d2=super['getRequestParams'](),_0x35617e={};_0x35617e['type']=_0x3f509d(0x2c6),_0x35617e[_0x3f509d(0x1f2)]=_0x3f509d(0x263),_0x35617e['required']=![];const _0x59b6b1={};_0x59b6b1[_0x3f509d(0x280)]=_0x3f509d(0x3c0),_0x59b6b1[_0x3f509d(0x1f2)]=_0x3f509d(0x228),_0x59b6b1[_0x3f509d(0x2d3)]=![];const _0x168721={};_0x168721[_0x3f509d(0x280)]=_0x3f509d(0x397),_0x168721[_0x3f509d(0x1f2)]=_0x3f509d(0x37a),_0x168721[_0x3f509d(0x2d3)]=![];const _0x30a624={};_0x30a624[_0x3f509d(0x280)]=_0x3f509d(0x2c3),_0x30a624[_0x3f509d(0x1f2)]=_0x3f509d(0x3ec),_0x30a624[_0x3f509d(0x2d3)]=![],_0x30a624[_0x3f509d(0x41b)]=0x1;const _0x3cba99={};_0x3cba99[_0x3f509d(0x280)]='Number',_0x3cba99[_0x3f509d(0x1f2)]=_0x3f509d(0x216),_0x3cba99['required']=![],_0x3cba99['default']=0xa;const _0x2b38b1={..._0x5294d2};return _0x2b38b1[_0x3f509d(0x1f7)]=_0x35617e,_0x2b38b1[_0x3f509d(0x461)]=_0x59b6b1,_0x2b38b1[_0x3f509d(0x202)]=_0x168721,_0x2b38b1[_0x3f509d(0x42c)]=_0x30a624,_0x2b38b1[_0x3f509d(0x2f0)]=_0x3cba99,_0x2b38b1;}[a0_0x59051e(0x20a)](){const _0x48dabd=a0_0x59051e,_0x57772f=this[_0x48dabd(0x2ce)](),_0x12c6f7=[],_0x2d01d5=[_0x48dabd(0x1f7),_0x48dabd(0x461),_0x48dabd(0x202),'currentPage',_0x48dabd(0x2f0)];return Object[_0x48dabd(0x3f5)](_0x57772f)[_0x48dabd(0x246)](([_0x358e70,_0x3d8cd1])=>{const _0x59ef3b=_0x48dabd;if(_0x2d01d5[_0x59ef3b(0x439)](_0x358e70)){const _0x5efd82=_0x3d8cd1,_0x571a3c={};_0x571a3c[_0x59ef3b(0x1cb)]=_0x358e70,_0x571a3c['type']=_0x5efd82[_0x59ef3b(0x280)]||_0x59ef3b(0x2c6),_0x571a3c[_0x59ef3b(0x1f2)]=_0x5efd82[_0x59ef3b(0x1f2)]||'-',_0x12c6f7[_0x59ef3b(0x276)](_0x571a3c);}}),_0x12c6f7;}[a0_0x59051e(0x20e)](){const _0x226eb1=a0_0x59051e;return this[_0x226eb1(0x1f6)][_0x226eb1(0x208)]||[];}[a0_0x59051e(0x1c6)](){const _0x41a93a=a0_0x59051e;return{'systemParams':this[_0x41a93a(0x20a)](),'businessFields':this[_0x41a93a(0x20e)]()};}['generateRequestExample'](){const _0x17913a=a0_0x59051e,_0x46aa17=this[_0x17913a(0x1f6)][_0x17913a(0x208)]||[];if(_0x46aa17[_0x17913a(0x32e)]===0x0){const _0x5d1e4e={};return _0x5d1e4e[_0x17913a(0x1f7)]={},_0x5d1e4e[_0x17913a(0x42c)]=0x1,_0x5d1e4e[_0x17913a(0x2f0)]=0x14,_0x5d1e4e;}const _0x5c6cb6={},_0x3bdba3=_0x46aa17[_0x17913a(0x313)](0x0,Math[_0x17913a(0x32d)](0x3,_0x46aa17[_0x17913a(0x32e)]));_0x3bdba3[_0x17913a(0x246)](_0x73025b=>{const _0x118cbb=_0x17913a,_0x4ca25d=this[_0x118cbb(0x31d)](_0x73025b);if(_0x4ca25d[_0x118cbb(0x32e)]===0x0)return;const _0x3ce5d2=this['selectBestOperator'](_0x73025b,_0x4ca25d),_0x4b1586=this[_0x118cbb(0x309)](_0x73025b,_0x3ce5d2),_0x2df245={};_0x2df245[_0x3ce5d2]=_0x4b1586,_0x5c6cb6[_0x73025b[_0x118cbb(0x1cb)]]=_0x2df245;});const _0x5d4b0d=_0x46aa17[_0x17913a(0x313)](0x0,Math[_0x17913a(0x32d)](0x5,_0x46aa17['length']))[_0x17913a(0x390)](_0x222c73=>_0x222c73[_0x17913a(0x1cb)]),_0x505a9a=_0x46aa17[0x0]?_0x46aa17[0x0]['code']:'id',_0x332ea0={};_0x332ea0[_0x505a9a]='DESC';const _0x265f27={};return _0x265f27['where']=_0x5c6cb6,_0x265f27[_0x17913a(0x461)]=_0x5d4b0d,_0x265f27['orderBy']=[_0x332ea0],_0x265f27[_0x17913a(0x42c)]=0x1,_0x265f27[_0x17913a(0x2f0)]=0x14,_0x265f27;}[a0_0x59051e(0x1e8)](_0x1250e5,_0x367d4d){const _0x320f21=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x367d4d||{},_0xc654f5=this[_0x320f21(0x1d4)](),_0x31d9a8=this[_0x320f21(0x213)](),_0x42df69=_0x285e4d=>{const _0x4c1f19=_0x320f21;return JSON[_0x4c1f19(0x1ca)](_0x285e4d,null,0x2)[_0x4c1f19(0x2c5)]('\x0a')['map']((_0x9c38ad,_0x3e2d04)=>_0x3e2d04===0x0?_0x9c38ad:indent+_0x9c38ad)['join']('\x0a');};if(useFullExample){const _0x5d0feb=this[_0x320f21(0x1f6)][_0x320f21(0x208)]||[],_0x131525={'where':_0x5d0feb[0x0]?{[_0x5d0feb[0x0][_0x320f21(0x1cb)]]:{'$eq':this[_0x320f21(0x309)](_0x5d0feb[0x0],'$eq')}}:{},'select':_0x5d0feb[_0x320f21(0x313)](0x0,0x3)[_0x320f21(0x390)](_0x251e08=>_0x251e08[_0x320f21(0x1cb)]),'currentPage':0x1,'pageSize':0x14};let _0x364872='';if(_0x5d0feb[_0x320f21(0x32e)]>=0x3){const _0x4d45c8={};_0x4d45c8[_0x320f21(0x466)]=[];const _0x15d7c6=_0x4d45c8,_0x3cbf9a=[];if(_0x5d0feb[_0x320f21(0x32e)]>0x0){const _0x18f1d8=_0x5d0feb[_0x320f21(0x42e)](_0x26010c=>{const _0x2a224b=_0x320f21,_0x5f252d=_0x26010c[_0x2a224b(0x2f6)]();return['NUMBER',_0x2a224b(0x444),_0x2a224b(0x222),_0x2a224b(0x361),'TINYINT',_0x2a224b(0x381)]['includes'](_0x5f252d);});if(_0x18f1d8){const _0x471b89={};_0x471b89[_0x320f21(0x290)]=0x0,_0x471b89[_0x320f21(0x3ac)]=0x64;const _0x17827b={[_0x18f1d8['code']]:_0x471b89};_0x3cbf9a['push'](_0x17827b);}}if(_0x5d0feb[_0x320f21(0x32e)]>0x1){const _0x5026d1=_0x5d0feb[_0x320f21(0x42e)](_0x4172c7=>{const _0x453e9c=_0x320f21,_0x19f07b=_0x4172c7[_0x453e9c(0x2f6)]();return['STRING',_0x453e9c(0x3fe),_0x453e9c(0x2aa),_0x453e9c(0x3d9),_0x453e9c(0x45f)][_0x453e9c(0x439)](_0x19f07b);});if(_0x5026d1){const _0xfa3d60={};_0xfa3d60['$contain']=_0x320f21(0x3bc);const _0x2d3fad={[_0x5026d1[_0x320f21(0x1cb)]]:_0xfa3d60};_0x3cbf9a[_0x320f21(0x276)](_0x2d3fad);}}if(_0x3cbf9a[_0x320f21(0x32e)]>0x0){_0x15d7c6[_0x320f21(0x466)]=_0x3cbf9a;const _0x5075d5={'where':_0x15d7c6,'select':_0x5d0feb[_0x320f21(0x313)](0x0,0x4)[_0x320f21(0x390)](_0x103ac7=>_0x103ac7['code']),'orderBy':[{[_0x5d0feb[0x0][_0x320f21(0x1cb)]]:_0x320f21(0x34a)}],'currentPage':0x1,'pageSize':0x14};_0x364872=_0x320f21(0x26d)+_0x1250e5+'.'+_0xc654f5+'('+_0x42df69(_0x5075d5)+');';}}return'//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x1250e5+'.'+_0xc654f5+'('+_0x42df69(_0x131525)+');'+_0x364872;}const _0x5a9ef8=JSON[_0x320f21(0x1ca)](_0x31d9a8,null,0x2)['split']('\x0a')['map']((_0x252eb0,_0x3c9ae8)=>_0x3c9ae8===0x0?_0x252eb0:indent+_0x252eb0)[_0x320f21(0x2f5)]('\x0a');return _0x320f21(0x294)+_0x1250e5+'.'+_0xc654f5+'('+_0x5a9ef8+');';}[a0_0x59051e(0x31d)](_0x38d0ff){const _0x1359e9=a0_0x59051e,_0xaa2f83=_0x38d0ff[_0x1359e9(0x2f6)](),_0x4cf0c5=[];if([_0x1359e9(0x2d6),_0x1359e9(0x444),'BIGINT','DECIMAL'][_0x1359e9(0x439)](_0xaa2f83)||[_0x1359e9(0x361),_0x1359e9(0x3f1),_0x1359e9(0x381),_0x1359e9(0x299),'FLOAT'][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne',_0x1359e9(0x290),_0x1359e9(0x3ac),_0x1359e9(0x38b),_0x1359e9(0x334),_0x1359e9(0x3d1));else{if([_0x1359e9(0x286),_0x1359e9(0x3fe),_0x1359e9(0x2aa)][_0x1359e9(0x439)](_0xaa2f83)||[_0x1359e9(0x3d9),'LONGTEXT'][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),_0x1359e9(0x44b),_0x1359e9(0x3d1),_0x1359e9(0x2fd),_0x1359e9(0x262),_0x1359e9(0x267));else{if(['DATE','DATETIME',_0x1359e9(0x1fa)]['includes'](_0xaa2f83)||[_0x1359e9(0x3e2)][_0x1359e9(0x439)](_0xaa2f83))_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),_0x1359e9(0x44b),_0x1359e9(0x290),_0x1359e9(0x3ac),'$gteq',_0x1359e9(0x334));else['BOOLEAN',_0x1359e9(0x462),'BIT'][_0x1359e9(0x439)](_0xaa2f83)?_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne'):_0x4cf0c5[_0x1359e9(0x276)](_0x1359e9(0x31e),'$ne');}}return _0x4cf0c5;}[a0_0x59051e(0x2ac)](_0x46bd06,_0x1c2b09){const _0x9076cf=a0_0x59051e,_0x6547c8=_0x46bd06[_0x9076cf(0x2f6)]();if([_0x9076cf(0x2d6),_0x9076cf(0x444),_0x9076cf(0x222),_0x9076cf(0x447)][_0x9076cf(0x439)](_0x6547c8)||['INT',_0x9076cf(0x3f1),_0x9076cf(0x381),_0x9076cf(0x299),_0x9076cf(0x37c)][_0x9076cf(0x439)](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x290))?_0x9076cf(0x290):_0x9076cf(0x31e);if([_0x9076cf(0x286),_0x9076cf(0x3fe),'VARCHAR'][_0x9076cf(0x439)](_0x6547c8)||[_0x9076cf(0x3d9),_0x9076cf(0x45f)][_0x9076cf(0x439)](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x2fd))?_0x9076cf(0x2fd):_0x9076cf(0x31e);if([_0x9076cf(0x23c),_0x9076cf(0x1da),_0x9076cf(0x1fa),'TIME']['includes'](_0x6547c8))return _0x1c2b09[_0x9076cf(0x439)](_0x9076cf(0x290))?_0x9076cf(0x290):_0x9076cf(0x31e);return _0x9076cf(0x31e);}[a0_0x59051e(0x309)](_0x47a121,_0x5a54dd){const _0x46033b=a0_0x59051e,_0x502c32=_0x47a121[_0x46033b(0x2f6)](),_0x20df47=_0x47a121[_0x46033b(0x288)]();if(_0x20df47&&_0x20df47[_0x46033b(0x32e)]>0x0){if(_0x5a54dd===_0x46033b(0x3d1))return _0x20df47[_0x46033b(0x313)](0x0,0x2)[_0x46033b(0x390)](_0x111dd5=>_0x111dd5[_0x46033b(0x43b)]);return _0x20df47[0x0][_0x46033b(0x43b)];}if([_0x46033b(0x2d6),_0x46033b(0x444),_0x46033b(0x222),_0x46033b(0x447)][_0x46033b(0x439)](_0x502c32)||['INT','TINYINT',_0x46033b(0x381),_0x46033b(0x299),_0x46033b(0x37c)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd==='$in')return[0x1,0x2,0x3];if(_0x5a54dd===_0x46033b(0x290)||_0x5a54dd==='$gteq')return 0x0;if(_0x5a54dd===_0x46033b(0x3ac)||_0x5a54dd==='$lteq')return 0x64;return 0x1;}if(['STRING',_0x46033b(0x3fe),_0x46033b(0x2aa)][_0x46033b(0x439)](_0x502c32)||['CHAR',_0x46033b(0x45f)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd===_0x46033b(0x3d1))return['value1','value2'];if(_0x5a54dd===_0x46033b(0x2fd))return _0x46033b(0x3bc);if(_0x5a54dd==='$startWith')return _0x46033b(0x315);if(_0x5a54dd===_0x46033b(0x267))return'suffix';return _0x46033b(0x43b);}if(['DATE',_0x46033b(0x1da),_0x46033b(0x1fa),_0x46033b(0x3e2)][_0x46033b(0x439)](_0x502c32)){if(_0x5a54dd===_0x46033b(0x290)||_0x5a54dd===_0x46033b(0x38b))return _0x46033b(0x3de);if(_0x5a54dd==='$lte'||_0x5a54dd===_0x46033b(0x334))return _0x46033b(0x32c);return _0x46033b(0x3de);}if([_0x46033b(0x21f),'BOOL',_0x46033b(0x406)][_0x46033b(0x439)](_0x502c32))return!![];return _0x5a54dd===_0x46033b(0x3d1)?[_0x46033b(0x2de),_0x46033b(0x328)]:_0x46033b(0x43b);}[a0_0x59051e(0x388)](){const _0x3b15e4=a0_0x59051e,_0x29f242=super[_0x3b15e4(0x2ce)](),_0x906b6b=Object[_0x3b15e4(0x3f5)](_0x29f242)[_0x3b15e4(0x3a8)](([_0x916e6f])=>_0x916e6f!==_0x3b15e4(0x42c)&&_0x916e6f!==_0x3b15e4(0x2f0))[_0x3b15e4(0x390)](([_0x5a01cb,_0x2473bd])=>{const _0x474c37=_0x3b15e4,_0x334910=_0x2473bd,_0x587af6={};return _0x587af6[_0x474c37(0x2e6)]=_0x5a01cb,_0x587af6[_0x474c37(0x280)]=_0x334910[_0x474c37(0x280)]||_0x474c37(0x248),_0x587af6[_0x474c37(0x1f2)]=_0x334910[_0x474c37(0x1f2)]||'-',_0x587af6['required']=_0x334910[_0x474c37(0x2d3)],_0x587af6;}),_0x1f2465={};return _0x1f2465[_0x3b15e4(0x1f2)]=_0x3b15e4(0x418),_0x1f2465[_0x3b15e4(0x2cf)]=_0x906b6b,_0x1f2465;}}class ExcelExportOperation extends GenericOperation{['getRequestParams'](){const _0x2db3f2=a0_0x59051e,_0x25462a=super[_0x2db3f2(0x2ce)]();if(Object[_0x2db3f2(0x3ba)](_0x25462a)[_0x2db3f2(0x32e)]===0x0){const _0x2f51ab={};this['context'][_0x2db3f2(0x208)][_0x2db3f2(0x246)](_0x42d378=>{const _0x123b1f=_0x2db3f2;if(_0x42d378){const _0x49ed5a=_0x42d378[_0x123b1f(0x1cb)],_0x44ec9e=_0x42d378[_0x123b1f(0x2f6)](),_0x566d82={};_0x566d82[_0x123b1f(0x280)]=_0x44ec9e||'TEXT',_0x566d82['sortNum']=_0x42d378[_0x123b1f(0x3ea)],_0x566d82[_0x123b1f(0x1f2)]=_0x42d378['description']||_0x42d378[_0x123b1f(0x2e6)],_0x2f51ab[_0x49ed5a]=_0x566d82;}});const _0x55596c={};_0x55596c['type']=_0x2db3f2(0x41c),_0x55596c[_0x2db3f2(0x1f2)]=_0x2db3f2(0x31c),_0x2f51ab[_0x2db3f2(0x42c)]=_0x55596c;const _0x559b8c={};return _0x559b8c[_0x2db3f2(0x280)]=_0x2db3f2(0x41c),_0x559b8c[_0x2db3f2(0x1f2)]=_0x2db3f2(0x215),_0x2f51ab[_0x2db3f2(0x2f0)]=_0x559b8c,_0x2f51ab;}return _0x25462a;}[a0_0x59051e(0x213)](){const _0x4ae51e=a0_0x59051e,_0x5f3dfb=super[_0x4ae51e(0x213)]();if(Object[_0x4ae51e(0x3ba)](_0x5f3dfb)[_0x4ae51e(0x32e)]===0x0){const _0xedebfd={};return _0xedebfd[_0x4ae51e(0x42c)]=0x1,_0xedebfd[_0x4ae51e(0x2f0)]=0x64,_0xedebfd;}const _0x445f5c={..._0x5f3dfb};return _0x445f5c[_0x4ae51e(0x42c)]=_0x5f3dfb[_0x4ae51e(0x42c)]??0x1,_0x445f5c['pageSize']=_0x5f3dfb[_0x4ae51e(0x2f0)]??0x64,_0x445f5c;}[a0_0x59051e(0x38a)](){const _0x1bd3ee=a0_0x59051e,_0x46e849={};return _0x46e849[_0x1bd3ee(0x305)]=!![],_0x46e849[_0x1bd3ee(0x44d)]='',_0x46e849[_0x1bd3ee(0x2e1)]='',_0x46e849[_0x1bd3ee(0x3b1)]=_0x1bd3ee(0x266),_0x46e849[_0x1bd3ee(0x316)]=_0x1bd3ee(0x3a0),_0x46e849[_0x1bd3ee(0x2cf)]=null,_0x46e849;}[a0_0x59051e(0x1e8)](_0x4779d9,_0x579021){const _0x6053c8=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x579021||{},_0x97f53a=this[_0x6053c8(0x1d4)]();if(useFullExample){const _0x9918c1=this[_0x6053c8(0x213)](),{currentPage:_0x46902e,pageSize:_0x53d82c,..._0x1c759a}=_0x9918c1,_0x2933dd=Object[_0x6053c8(0x3ba)](_0x1c759a)['length']>0x0;if(_0x2933dd){const _0x44dca6=_0x3a11ba=>{const _0xf46b27=_0x6053c8;return JSON[_0xf46b27(0x1ca)](_0x3a11ba,null,0x2)['split']('\x0a')[_0xf46b27(0x390)]((_0x56b947,_0x2374b6)=>_0x2374b6===0x0?_0x56b947:indent+_0x56b947)['join']('\x0a');};return _0x6053c8(0x433)+_0x4779d9+'.'+_0x97f53a+_0x6053c8(0x34d)+_0x4779d9+'.'+_0x97f53a+'('+_0x44dca6(_0x9918c1)+');';}else{const _0x567367=_0x4f4ff8=>{const _0xb8716=_0x6053c8;return JSON['stringify'](_0x4f4ff8,null,0x2)[_0xb8716(0x2c5)]('\x0a')[_0xb8716(0x390)]((_0x299c42,_0x48cae8)=>_0x48cae8===0x0?_0x299c42:indent+_0x299c42)['join']('\x0a');},_0x511bc1={};return _0x511bc1[_0x6053c8(0x42c)]=0x1,_0x511bc1[_0x6053c8(0x2f0)]=0x64,_0x6053c8(0x433)+_0x4779d9+'.'+_0x97f53a+_0x6053c8(0x375)+_0x4779d9+'.'+_0x97f53a+'('+_0x567367(_0x511bc1)+');';}}return _0x6053c8(0x28e)+_0x4779d9+'.'+_0x97f53a+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x59051e(0x402)](_0x34d253){const _0x33ddb8=a0_0x59051e,_0x2efdca=this[_0x33ddb8(0x1d4)](),_0x1472b4=_0x34d253||'yourModel',_0xd0dac0='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x1472b4+'.'+_0x2efdca+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x1e84bf=_0x33ddb8(0x40b)+_0x1472b4+'.'+_0x2efdca+_0x33ddb8(0x2ec),_0x12f874={};return _0x12f874[_0x33ddb8(0x207)]=_0xd0dac0,_0x12f874[_0x33ddb8(0x3b1)]=_0x1e84bf,_0x12f874;}}class UpdateOperation extends GenericOperation{[a0_0x59051e(0x435)](){const _0x2a0436=a0_0x59051e;return this[_0x2a0436(0x356)]();}['getRequestParams'](){const _0x205e3a=a0_0x59051e,_0x56115e=this[_0x205e3a(0x435)](),_0x4b4f25={};_0x4b4f25[_0x205e3a(0x280)]='NUMBER',_0x4b4f25[_0x205e3a(0x1f2)]=_0x205e3a(0x3bd),_0x4b4f25[_0x205e3a(0x2d3)]=!![];const _0x12e08b={};_0x12e08b[_0x205e3a(0x280)]=_0x205e3a(0x434),_0x12e08b[_0x205e3a(0x1f2)]=_0x205e3a(0x411),_0x12e08b[_0x205e3a(0x2d3)]=!![],_0x12e08b[_0x205e3a(0x376)]=_0x56115e;const _0x37844d={};return _0x37844d['id']=_0x4b4f25,_0x37844d[_0x205e3a(0x316)]=_0x12e08b,_0x37844d;}[a0_0x59051e(0x2cb)](){const _0x32cd2d=a0_0x59051e;return this[_0x32cd2d(0x435)]();}['getHTTPFields'](){const _0xf55e43=a0_0x59051e,_0x81b219=this['context'][_0xf55e43(0x208)]||[],_0x530f88=this[_0xf55e43(0x1f6)][_0xf55e43(0x46c)],_0x51c04f=_0x81b219[_0xf55e43(0x42e)](_0x16e75a=>_0x16e75a[_0xf55e43(0x3a4)]()||_0x16e75a[_0xf55e43(0x1cb)]===_0x530f88),_0x2a2557=_0x81b219[_0xf55e43(0x3a8)](_0x321d8b=>{const _0x29a113=_0xf55e43;if(_0x321d8b[_0x29a113(0x44a)])return![];if(_0x321d8b===_0x51c04f||_0x321d8b[_0x29a113(0x3a4)]())return![];if(_0x321d8b[_0x29a113(0x2ae)]()||_0x321d8b[_0x29a113(0x20d)]())return![];if(_0x321d8b['isAutoIncrement']())return![];return!![];});return _0x51c04f?[_0x51c04f,..._0x2a2557]:_0x2a2557;}[a0_0x59051e(0x2ba)](){const _0x553f08=a0_0x59051e,_0x3018f4=this[_0x553f08(0x20c)](),_0xecd135=this[_0x553f08(0x1f6)]['pkField'],_0x58831f=_0x3018f4['map'](_0x5af233=>{const _0x174a4a=_0x553f08,_0x10108c=_0x5af233[_0x174a4a(0x3a4)]()||_0x5af233[_0x174a4a(0x1cb)]===_0xecd135,_0x4bbc68=_0x10108c?'id':_0x5af233[_0x174a4a(0x1cb)],_0x1bf41b={};return _0x1bf41b[_0x174a4a(0x2e6)]=_0x4bbc68,_0x1bf41b[_0x174a4a(0x280)]=_0x5af233[_0x174a4a(0x280)],_0x1bf41b[_0x174a4a(0x1f2)]=_0x10108c?'主键,用于定位要更新的记录'+(_0xecd135&&_0xecd135!==_0x5af233[_0x174a4a(0x1cb)]?_0x174a4a(0x1ea)+_0x5af233[_0x174a4a(0x1cb)]+')':''):_0x5af233[_0x174a4a(0x1f2)]||_0x5af233[_0x174a4a(0x2e6)],_0x1bf41b;}),_0x43067a={};return _0x43067a[_0x553f08(0x1f2)]=_0x553f08(0x26c),_0x43067a[_0x553f08(0x2cf)]=_0x58831f,_0x43067a;}[a0_0x59051e(0x388)](){const _0x48bc34=a0_0x59051e,_0x199a87=this[_0x48bc34(0x435)](),_0x385dd1=Object['entries'](_0x199a87)[_0x48bc34(0x390)](([_0xa7e455,_0x21f793])=>{const _0x6cd9a4=_0x48bc34,_0x552cc1=_0x21f793,_0x408962={};return _0x408962['name']=_0xa7e455,_0x408962[_0x6cd9a4(0x280)]=_0x552cc1[_0x6cd9a4(0x280)]||_0x6cd9a4(0x248),_0x408962[_0x6cd9a4(0x1f2)]=_0x552cc1['description']||'-',_0x408962;}),_0x754c7d={};return _0x754c7d[_0x48bc34(0x1f2)]=_0x48bc34(0x1c7)+_0x48bc34(0x200)+_0x48bc34(0x30d)+_0x48bc34(0x317)+_0x48bc34(0x31b)+_0x48bc34(0x25b),_0x754c7d[_0x48bc34(0x2cf)]=_0x385dd1,_0x754c7d;}[a0_0x59051e(0x213)](){const _0x39f74c=a0_0x59051e,_0x14f874=this[_0x39f74c(0x435)](),_0x15230c={};Object[_0x39f74c(0x3f5)](_0x14f874)[_0x39f74c(0x246)](([_0x1a109c,_0x22eaba])=>{const _0x3d798f=_0x39f74c,_0x2e35c3=_0x22eaba;let _0x4a7def;if(typeof _0x2e35c3['type']===_0x3d798f(0x236))_0x4a7def=_0x2e35c3['type'];else _0x2e35c3['type']&&typeof _0x2e35c3[_0x3d798f(0x280)]==='object'?_0x4a7def=_0x2e35c3[_0x3d798f(0x280)][_0x3d798f(0x280)]||_0x3d798f(0x3fe):_0x4a7def=_0x3d798f(0x3fe);const _0x4cc1ff=_0x2e35c3[_0x3d798f(0x1f2)],_0x2f5057=this[_0x3d798f(0x3cb)](_0x1a109c);_0x15230c[_0x1a109c]=this['generateFieldExample'](_0x1a109c,_0x4a7def,_0x2f5057?.[_0x3d798f(0x2f6)](),{'isPrimaryKey':![],'description':_0x4cc1ff||_0x2f5057?.[_0x3d798f(0x1f2)]||_0x2f5057?.[_0x3d798f(0x2e6)]});});const _0x2832ae={};return _0x2832ae['id']=0x1,_0x2832ae['data']=_0x15230c,_0x2832ae;}['generateRequestAllExamples'](){const _0x1f80db=a0_0x59051e,_0x44781b=this[_0x1f80db(0x213)](),_0x281d5e={};return _0x281d5e['title']=_0x1f80db(0x35e),_0x281d5e['description']=_0x1f80db(0x253)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x1f80db(0x40e),_0x281d5e[_0x1f80db(0x316)]=_0x44781b,[_0x281d5e,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x1f80db(0x3f9)+_0x1f80db(0x1ff)+_0x1f80db(0x1de),'data':this[_0x1f80db(0x3f7)]()}];}[a0_0x59051e(0x3f7)](){const _0x190fd5=a0_0x59051e,_0x24361a=this[_0x190fd5(0x435)](),_0x19ceb6={};_0x19ceb6['id']=0x1;const _0x47be7a=_0x19ceb6;return Object[_0x190fd5(0x3f5)](_0x24361a)[_0x190fd5(0x246)](([_0x598495,_0x550580])=>{const _0x5740c7=_0x190fd5,_0x28855a=_0x550580;let _0x58616a;if(typeof _0x28855a['type']==='string')_0x58616a=_0x28855a[_0x5740c7(0x280)];else _0x28855a[_0x5740c7(0x280)]&&typeof _0x28855a[_0x5740c7(0x280)]==='object'?_0x58616a=_0x28855a[_0x5740c7(0x280)][_0x5740c7(0x280)]||_0x5740c7(0x3fe):_0x58616a=_0x5740c7(0x3fe);const _0xb56bc9=_0x28855a[_0x5740c7(0x1f2)],_0x3b3b97=this['getFieldDefinition'](_0x598495);if(_0x3b3b97?.[_0x5740c7(0x3a4)]())return;_0x47be7a[_0x598495]=this[_0x5740c7(0x427)](_0x598495,_0x58616a,_0x3b3b97?.[_0x5740c7(0x2f6)](),{'isPrimaryKey':![],'description':_0xb56bc9||_0x3b3b97?.['description']||_0x3b3b97?.[_0x5740c7(0x2e6)]});}),_0x47be7a;}[a0_0x59051e(0x3e0)](){const _0x1a544c=a0_0x59051e;return this[_0x1a544c(0x3f7)]();}[a0_0x59051e(0x1e8)](_0x23c786,_0x27005b){const _0x90fb2f=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x27005b||{},_0x3f81ee=this[_0x90fb2f(0x1d4)]();if(useFullExample){const _0xd61c7f=this['generateRequestExample'](),_0x466064=JSON[_0x90fb2f(0x1ca)](_0xd61c7f[_0x90fb2f(0x316)],null,0x2)[_0x90fb2f(0x2c5)]('\x0a')[_0x90fb2f(0x390)]((_0x550091,_0x282a6b)=>_0x282a6b===0x0?_0x550091:indent+_0x550091)[_0x90fb2f(0x2f5)]('\x0a');return _0x90fb2f(0x294)+_0x23c786+'.'+_0x3f81ee+'('+_0xd61c7f['id']+',\x20'+_0x466064+');';}return _0x90fb2f(0x294)+_0x23c786+'.'+_0x3f81ee+_0x90fb2f(0x22e);}}class AggregateOperation extends GenericOperation{constructor(_0x431a18,_0x1ee680,_0x81729f){super(_0x431a18,_0x1ee680,_0x81729f);}['normalizeDbType'](_0x33d7d5){const _0x243bf7=a0_0x59051e;return _0x33d7d5[_0x243bf7(0x210)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()[_0x243bf7(0x40a)]();}[a0_0x59051e(0x458)](){return AGGREGATE_FUNCTIONS;}[a0_0x59051e(0x2ce)](){const _0x43535e=a0_0x59051e,_0x38b181=super[_0x43535e(0x2ce)](),_0x4a2129={};_0x4a2129[_0x43535e(0x280)]=_0x43535e(0x3c0),_0x4a2129[_0x43535e(0x1f2)]=_0x43535e(0x303),_0x4a2129[_0x43535e(0x2d3)]=![];const _0x4ddb36={};_0x4ddb36[_0x43535e(0x280)]=_0x43535e(0x2c6),_0x4ddb36[_0x43535e(0x1f2)]=_0x43535e(0x2a5),_0x4ddb36[_0x43535e(0x2d3)]=![];const _0x2bf6c9={};_0x2bf6c9['type']=_0x43535e(0x3c0),_0x2bf6c9[_0x43535e(0x1f2)]=_0x43535e(0x318),_0x2bf6c9[_0x43535e(0x2d3)]=![];const _0x514f69={};_0x514f69[_0x43535e(0x280)]=_0x43535e(0x36b),_0x514f69[_0x43535e(0x1f2)]=_0x43535e(0x1e2),_0x514f69['required']=![];const _0x3d7b6a={};_0x3d7b6a[_0x43535e(0x280)]=_0x43535e(0x36b),_0x3d7b6a['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x3d7b6a[_0x43535e(0x2d3)]=![];const _0x1de405={};_0x1de405[_0x43535e(0x280)]='Array',_0x1de405[_0x43535e(0x1f2)]=_0x43535e(0x1c0),_0x1de405[_0x43535e(0x2d3)]=![];const _0x3cdc94={};_0x3cdc94['type']=_0x43535e(0x2c3),_0x3cdc94[_0x43535e(0x1f2)]='当前页码(从\x201\x20开始,默认:\x201)',_0x3cdc94[_0x43535e(0x2d3)]=![];const _0x3da367={};_0x3da367[_0x43535e(0x280)]=_0x43535e(0x2c3),_0x3da367[_0x43535e(0x1f2)]='每页数量(默认:\x2020)',_0x3da367[_0x43535e(0x2d3)]=![];const _0x966d78={..._0x38b181};return _0x966d78[_0x43535e(0x461)]=_0x4a2129,_0x966d78[_0x43535e(0x1f7)]=_0x4ddb36,_0x966d78[_0x43535e(0x235)]=_0x2bf6c9,_0x966d78[_0x43535e(0x1b3)]=_0x514f69,_0x966d78[_0x43535e(0x3f6)]=_0x3d7b6a,_0x966d78['orderBy']=_0x1de405,_0x966d78['currentPage']=_0x3cdc94,_0x966d78[_0x43535e(0x2f0)]=_0x3da367,_0x966d78;}[a0_0x59051e(0x20a)](){const _0x638a85=a0_0x59051e,_0x1f5627={};_0x1f5627[_0x638a85(0x1cb)]='select',_0x1f5627[_0x638a85(0x280)]=_0x638a85(0x3c0),_0x1f5627[_0x638a85(0x1f2)]=_0x638a85(0x303);const _0x54f1bc={};_0x54f1bc[_0x638a85(0x1cb)]=_0x638a85(0x1f7),_0x54f1bc['type']=_0x638a85(0x2c6),_0x54f1bc[_0x638a85(0x1f2)]=_0x638a85(0x2a5);const _0x4037e5={};_0x4037e5[_0x638a85(0x1cb)]=_0x638a85(0x235),_0x4037e5['type']='String[]',_0x4037e5[_0x638a85(0x1f2)]=_0x638a85(0x318);const _0x23855b={};_0x23855b['code']=_0x638a85(0x1b3),_0x23855b[_0x638a85(0x280)]=_0x638a85(0x36b),_0x23855b[_0x638a85(0x1f2)]=_0x638a85(0x23a);const _0x29e1e8={};_0x29e1e8['code']=_0x638a85(0x3f6),_0x29e1e8[_0x638a85(0x280)]=_0x638a85(0x36b),_0x29e1e8['description']=_0x638a85(0x3d3);const _0x47c32a={};_0x47c32a[_0x638a85(0x1cb)]=_0x638a85(0x202),_0x47c32a[_0x638a85(0x280)]=_0x638a85(0x36b),_0x47c32a[_0x638a85(0x1f2)]=_0x638a85(0x1c0);const _0x3c658f={};_0x3c658f[_0x638a85(0x1cb)]='currentPage',_0x3c658f['type']='Number',_0x3c658f['description']='当前页码(从\x201\x20开始,默认:\x201)';const _0x161c94={};return _0x161c94[_0x638a85(0x1cb)]='pageSize',_0x161c94['type']=_0x638a85(0x2c3),_0x161c94[_0x638a85(0x1f2)]='每页数量(默认:\x2020)',[_0x1f5627,_0x54f1bc,_0x4037e5,_0x23855b,_0x29e1e8,_0x47c32a,_0x3c658f,_0x161c94];}['generateRequestExample'](){const _0x5ebb99=a0_0x59051e,_0x2669a5=this[_0x5ebb99(0x1f6)]['fields']||[];if(_0x2669a5[_0x5ebb99(0x32e)]===0x0){const _0x54768d={};return _0x54768d['where']={},_0x54768d[_0x5ebb99(0x235)]=[],_0x54768d[_0x5ebb99(0x1b3)]=[],_0x54768d;}const _0x42e46d={},_0x589b91=_0x2669a5['slice'](0x0,Math[_0x5ebb99(0x32d)](0x3,_0x2669a5[_0x5ebb99(0x32e)]));_0x589b91['forEach'](_0x249ecb=>{const _0x1f9143=_0x5ebb99,_0x52e8f7=this[_0x1f9143(0x31d)](_0x249ecb);if(_0x52e8f7[_0x1f9143(0x32e)]===0x0)return;const _0x59ac9c=this[_0x1f9143(0x2ac)](_0x249ecb,_0x52e8f7),_0x5393cb=this[_0x1f9143(0x309)](_0x249ecb,_0x59ac9c),_0x24a43e={};_0x24a43e[_0x59ac9c]=_0x5393cb,_0x42e46d[_0x249ecb[_0x1f9143(0x1cb)]]=_0x24a43e;});const _0x31e93e=_0x2669a5['slice'](0x0,Math[_0x5ebb99(0x32d)](0x2,_0x2669a5[_0x5ebb99(0x32e)]))[_0x5ebb99(0x390)](_0xc4af66=>_0xc4af66['code']),_0x2516f7=[],_0x297c21=_0x2669a5['filter'](_0x555600=>this[_0x5ebb99(0x1cc)](_0x555600));if(_0x297c21['length']>0x0){const _0x1b495d=_0x297c21[0x0],_0x164ab2=_0x1b495d[_0x5ebb99(0x1cb)],_0x2f22c1={};_0x2f22c1[_0x5ebb99(0x280)]=_0x5ebb99(0x32b),_0x2f22c1[_0x5ebb99(0x43a)]=_0x164ab2,_0x2f22c1[_0x5ebb99(0x2c8)]=_0x164ab2+_0x5ebb99(0x33e),_0x2f22c1[_0x5ebb99(0x1bf)]=![],_0x2f22c1[_0x5ebb99(0x337)]=!![],_0x2f22c1['precision']=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2f22c1);const _0x5c29f2={};_0x5c29f2[_0x5ebb99(0x280)]='avg',_0x5c29f2[_0x5ebb99(0x43a)]=_0x164ab2,_0x5c29f2[_0x5ebb99(0x2c8)]=_0x164ab2+'_avg',_0x5c29f2['distinct']=![],_0x5c29f2[_0x5ebb99(0x337)]=!![],_0x5c29f2['precision']=0x2,_0x2516f7['push'](_0x5c29f2);const _0x2dd500={};_0x2dd500[_0x5ebb99(0x280)]=_0x5ebb99(0x33b),_0x2dd500[_0x5ebb99(0x43a)]=_0x164ab2,_0x2dd500[_0x5ebb99(0x2c8)]=_0x164ab2+'_max',_0x2dd500[_0x5ebb99(0x1bf)]=![],_0x2dd500[_0x5ebb99(0x337)]=!![],_0x2dd500[_0x5ebb99(0x1f4)]=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2dd500);const _0x2389b4={};_0x2389b4['type']=_0x5ebb99(0x32d),_0x2389b4[_0x5ebb99(0x43a)]=_0x164ab2,_0x2389b4[_0x5ebb99(0x2c8)]=_0x164ab2+_0x5ebb99(0x3b0),_0x2389b4[_0x5ebb99(0x1bf)]=![],_0x2389b4['round']=!![],_0x2389b4[_0x5ebb99(0x1f4)]=0x2,_0x2516f7[_0x5ebb99(0x276)](_0x2389b4);}else{if(_0x2669a5[_0x5ebb99(0x32e)]>0x0){const _0x143029=_0x2669a5[0x0],_0x1523fd=_0x143029[_0x5ebb99(0x1cb)],_0x447fd2={};_0x447fd2[_0x5ebb99(0x280)]=_0x5ebb99(0x256),_0x447fd2['column']=_0x1523fd,_0x447fd2[_0x5ebb99(0x2c8)]=_0x5ebb99(0x24f),_0x447fd2['distinct']=!![],_0x2516f7[_0x5ebb99(0x276)](_0x447fd2);}}const _0x57e6f5=[];if(_0x2669a5[_0x5ebb99(0x32e)]>0x0){const _0x11f051=_0x2669a5[0x0][_0x5ebb99(0x1cb)],_0x283b62={};_0x283b62[_0x11f051]=_0x5ebb99(0x3e9),_0x57e6f5[_0x5ebb99(0x276)](_0x283b62);}const _0xbdf405=[..._0x31e93e,..._0x2516f7['map'](_0x4df190=>_0x4df190[_0x5ebb99(0x2c8)])],_0x241702=[];if(_0x2516f7[_0x5ebb99(0x32e)]>0x0){const _0x32ea6f={};_0x32ea6f[_0x5ebb99(0x290)]=0x0;const _0x380c4c={};_0x380c4c[_0x5ebb99(0x3fb)]=_0x2516f7[0x0][_0x5ebb99(0x2c8)],_0x380c4c[_0x5ebb99(0x1d9)]=_0x32ea6f,_0x241702['push'](_0x380c4c);}const _0x53b070={};return _0x53b070[_0x5ebb99(0x461)]=_0xbdf405,_0x53b070[_0x5ebb99(0x1f7)]=_0x42e46d,_0x53b070['groupBy']=_0x31e93e,_0x53b070[_0x5ebb99(0x1b3)]=_0x2516f7,_0x53b070['having']=_0x241702[_0x5ebb99(0x32e)]>0x0?_0x241702:undefined,_0x53b070['orderBy']=_0x57e6f5,_0x53b070[_0x5ebb99(0x42c)]=0x1,_0x53b070['pageSize']=0x14,_0x53b070;}[a0_0x59051e(0x1e8)](_0x9ac05d,_0x579f6d){const _0x2a8641=a0_0x59051e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x579f6d||{},_0xa66162=this['getName'](),_0x1bea3e=this[_0x2a8641(0x213)](),_0x50323f=_0x135e4e=>{const _0x46b585=_0x2a8641;return JSON[_0x46b585(0x1ca)](_0x135e4e,null,0x2)[_0x46b585(0x2c5)]('\x0a')['map']((_0x3a56b2,_0x35518f)=>_0x35518f===0x0?_0x3a56b2:indent+_0x3a56b2)[_0x46b585(0x2f5)]('\x0a');};if(useFullExample){const _0x5780d5=this[_0x2a8641(0x1f6)][_0x2a8641(0x208)]||[],_0x574b33=_0x5780d5['filter'](_0x29e4af=>this[_0x2a8641(0x1cc)](_0x29e4af)),_0xcd87a9={'where':_0x5780d5[0x0]?{[_0x5780d5[0x0][_0x2a8641(0x1cb)]]:{'$eq':this[_0x2a8641(0x309)](_0x5780d5[0x0],_0x2a8641(0x31e))}}:{},'aggregate':_0x574b33[_0x2a8641(0x32e)]>0x0?[{'type':'sum','column':_0x574b33[0x0][_0x2a8641(0x1cb)],'alias':_0x574b33[0x0][_0x2a8641(0x1cb)]+'_sum','distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x2a8641(0x256),'column':_0x5780d5[0x0][_0x2a8641(0x1cb)],'alias':_0x2a8641(0x24f),'distinct':!![]}],'orderBy':[{[_0x5780d5[0x0][_0x2a8641(0x1cb)]]:_0x2a8641(0x3e9)}]};let _0xe96cb5='';return _0x5780d5[_0x2a8641(0x32e)]>=0x3&&(_0xe96cb5='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x9ac05d+'.'+_0xa66162+'('+_0x50323f(_0x1bea3e)+');'),_0x2a8641(0x358)+_0x9ac05d+'.'+_0xa66162+'('+_0x50323f(_0xcd87a9)+');'+_0xe96cb5;}const _0x3f70a7=JSON[_0x2a8641(0x1ca)](_0x1bea3e,null,0x2)['split']('\x0a')['map']((_0x22e267,_0x2142fe)=>_0x2142fe===0x0?_0x22e267:indent+_0x22e267)[_0x2a8641(0x2f5)]('\x0a');return _0x2a8641(0x294)+_0x9ac05d+'.'+_0xa66162+'('+_0x3f70a7+');';}[a0_0x59051e(0x1cc)](_0x2a6a9b){const _0x2645e6=a0_0x59051e,_0x5385ff=_0x2a6a9b[_0x2645e6(0x2f6)]();return[_0x2645e6(0x2d6),_0x2645e6(0x444),_0x2645e6(0x222),_0x2645e6(0x447)][_0x2645e6(0x439)](_0x5385ff)||[_0x2645e6(0x361),_0x2645e6(0x3f1),_0x2645e6(0x381),'DOUBLE',_0x2645e6(0x37c)][_0x2645e6(0x439)](_0x5385ff);}['getApplicableOperators'](_0xe86120){const _0x29f355=a0_0x59051e,_0x8115eb=_0xe86120[_0x29f355(0x2f6)](),_0x2807f5=[];if([_0x29f355(0x2d6),_0x29f355(0x444),_0x29f355(0x222),'DECIMAL'][_0x29f355(0x439)](_0x8115eb)||[_0x29f355(0x361),_0x29f355(0x3f1),'SMALLINT',_0x29f355(0x299),'FLOAT']['includes'](_0x8115eb))_0x2807f5['push'](_0x29f355(0x31e),_0x29f355(0x44b),_0x29f355(0x290),_0x29f355(0x3ac),_0x29f355(0x38b),_0x29f355(0x334),'$in');else{if(['STRING',_0x29f355(0x3fe),_0x29f355(0x2aa)][_0x29f355(0x439)](_0x8115eb)||['CHAR','LONGTEXT'][_0x29f355(0x439)](_0x8115eb))_0x2807f5[_0x29f355(0x276)]('$eq',_0x29f355(0x44b),'$in',_0x29f355(0x2fd),_0x29f355(0x262),_0x29f355(0x267));else{if([_0x29f355(0x23c),_0x29f355(0x1da),_0x29f355(0x1fa)][_0x29f355(0x439)](_0x8115eb)||[_0x29f355(0x3e2)][_0x29f355(0x439)](_0x8115eb))_0x2807f5['push']('$eq',_0x29f355(0x44b),_0x29f355(0x290),_0x29f355(0x3ac),_0x29f355(0x38b),_0x29f355(0x334));else[_0x29f355(0x21f),_0x29f355(0x462),_0x29f355(0x406)][_0x29f355(0x439)](_0x8115eb)?_0x2807f5['push'](_0x29f355(0x31e),_0x29f355(0x44b)):_0x2807f5[_0x29f355(0x276)]('$eq',_0x29f355(0x44b));}}return _0x2807f5;}['selectBestOperator'](_0x3141de,_0x3eb867){const _0x4f75b1=a0_0x59051e,_0xb7ff7f=_0x3141de[_0x4f75b1(0x2f6)]();if([_0x4f75b1(0x2d6),_0x4f75b1(0x444),_0x4f75b1(0x222),_0x4f75b1(0x447)][_0x4f75b1(0x439)](_0xb7ff7f)||[_0x4f75b1(0x361),_0x4f75b1(0x3f1),_0x4f75b1(0x381),_0x4f75b1(0x299),'FLOAT'][_0x4f75b1(0x439)](_0xb7ff7f))return _0x3eb867[_0x4f75b1(0x439)]('$gte')?_0x4f75b1(0x290):'$eq';if([_0x4f75b1(0x286),_0x4f75b1(0x3fe),_0x4f75b1(0x2aa)][_0x4f75b1(0x439)](_0xb7ff7f)||[_0x4f75b1(0x3d9),_0x4f75b1(0x45f)]['includes'](_0xb7ff7f))return _0x3eb867['includes']('$contain')?_0x4f75b1(0x2fd):_0x4f75b1(0x31e);if([_0x4f75b1(0x23c),_0x4f75b1(0x1da),_0x4f75b1(0x1fa),_0x4f75b1(0x3e2)][_0x4f75b1(0x439)](_0xb7ff7f))return _0x3eb867[_0x4f75b1(0x439)](_0x4f75b1(0x290))?_0x4f75b1(0x290):'$eq';return _0x4f75b1(0x31e);}[a0_0x59051e(0x309)](_0x96546c,_0x9ee578){const _0x140944=a0_0x59051e,_0x291f77=_0x96546c[_0x140944(0x2f6)](),_0x4b2ffe=_0x96546c[_0x140944(0x288)]();if(_0x4b2ffe&&_0x4b2ffe[_0x140944(0x32e)]>0x0){if(_0x9ee578===_0x140944(0x3d1))return _0x4b2ffe[_0x140944(0x313)](0x0,0x2)[_0x140944(0x390)](_0x43c55b=>_0x43c55b[_0x140944(0x43b)]);return _0x4b2ffe[0x0]['value'];}if(['NUMBER','INTEGER',_0x140944(0x222),_0x140944(0x447)][_0x140944(0x439)](_0x291f77)||[_0x140944(0x361),_0x140944(0x3f1),'SMALLINT',_0x140944(0x299),_0x140944(0x37c)][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x3d1))return[0x1,0x2,0x3];if(_0x9ee578===_0x140944(0x290)||_0x9ee578===_0x140944(0x38b))return 0x0;if(_0x9ee578===_0x140944(0x3ac)||_0x9ee578===_0x140944(0x334))return 0x64;return 0x1;}if([_0x140944(0x286),_0x140944(0x3fe),_0x140944(0x2aa)][_0x140944(0x439)](_0x291f77)||[_0x140944(0x3d9),_0x140944(0x45f)][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x3d1))return[_0x140944(0x2de),'value2'];if(_0x9ee578===_0x140944(0x2fd))return _0x140944(0x3bc);if(_0x9ee578===_0x140944(0x262))return _0x140944(0x315);if(_0x9ee578===_0x140944(0x267))return _0x140944(0x330);return _0x140944(0x43b);}if([_0x140944(0x23c),_0x140944(0x1da),_0x140944(0x1fa),'TIME'][_0x140944(0x439)](_0x291f77)){if(_0x9ee578===_0x140944(0x290)||_0x9ee578===_0x140944(0x38b))return _0x140944(0x3de);if(_0x9ee578===_0x140944(0x3ac)||_0x9ee578===_0x140944(0x334))return'2024-12-31';return _0x140944(0x3de);}if([_0x140944(0x21f),'BOOL',_0x140944(0x406)][_0x140944(0x439)](_0x291f77))return!![];return _0x9ee578===_0x140944(0x3d1)?[_0x140944(0x2de),'value2']:_0x140944(0x43b);}[a0_0x59051e(0x388)](){const _0x1197f4=a0_0x59051e,_0x1880b7=this['getRequestParams'](),_0x3337fe=Object[_0x1197f4(0x3f5)](_0x1880b7)['filter'](([_0x5e9696])=>_0x5e9696!==_0x1197f4(0x42c)&&_0x5e9696!==_0x1197f4(0x2f0))[_0x1197f4(0x390)](([_0x4a5847,_0x2b4821])=>{const _0x55c822=_0x1197f4,_0x5c3f8a=_0x2b4821,_0x1047bc={};return _0x1047bc[_0x55c822(0x2e6)]=_0x4a5847,_0x1047bc['type']=_0x5c3f8a[_0x55c822(0x280)]||_0x55c822(0x248),_0x1047bc['description']=_0x5c3f8a[_0x55c822(0x1f2)]||'-',_0x1047bc[_0x55c822(0x2d3)]=_0x5c3f8a['required'],_0x1047bc;}),_0x1ed212={};return _0x1ed212['description']=_0x1197f4(0x352),_0x1ed212[_0x1197f4(0x2cf)]=_0x3337fe,_0x1ed212;}[a0_0x59051e(0x38a)](){const _0x118fc5=a0_0x59051e,_0x568ef8=this['generateRequestExample']()[_0x118fc5(0x1b3)],_0x2d4fc0=[{}],_0x57793f=[];_0x568ef8?.[_0x118fc5(0x246)](_0x533cc7=>{const _0x11fbe0=_0x118fc5,_0x22cf05={};_0x22cf05[_0x11fbe0(0x2a4)]=_0x533cc7[_0x11fbe0(0x2c8)],_0x22cf05[_0x11fbe0(0x3dc)]=_0x533cc7[_0x11fbe0(0x2c8)],_0x57793f[_0x11fbe0(0x276)](_0x22cf05),_0x2d4fc0[0x0][_0x533cc7[_0x11fbe0(0x2c8)]]=_0x533cc7[_0x11fbe0(0x280)]===_0x11fbe0(0x256)?0x64:Math[_0x11fbe0(0x337)](Math[_0x11fbe0(0x21b)]()*0x64*0x64)/0x64;});const _0x508a3f={};_0x508a3f[_0x118fc5(0x2f0)]=0x1,_0x508a3f[_0x118fc5(0x1f0)]=0x64,_0x508a3f[_0x118fc5(0x42c)]=0x1;const _0x265574={};_0x265574[_0x118fc5(0x281)]=_0x508a3f,_0x265574[_0x118fc5(0x465)]=_0x2d4fc0,_0x265574[_0x118fc5(0x3ab)]=_0x57793f;const _0x3a5ed6={};return _0x3a5ed6[_0x118fc5(0x305)]=!![],_0x3a5ed6[_0x118fc5(0x44d)]='',_0x3a5ed6[_0x118fc5(0x2e1)]='',_0x3a5ed6[_0x118fc5(0x3b1)]=_0x118fc5(0x266),_0x3a5ed6[_0x118fc5(0x316)]=_0x265574,_0x3a5ed6[_0x118fc5(0x2cf)]=null,_0x3a5ed6;}}class OperationFactory{[a0_0x59051e(0x382)](_0x167ad3,_0x21148c,_0x362b7c){const _0x5bddf3=a0_0x59051e;switch(_0x167ad3){case _0x5bddf3(0x238):return new GetSelectOptionsOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x339):return new GetListOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x3a8):return new FilterOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x33d):return new ExcelExportOperation(_0x167ad3,_0x21148c,_0x362b7c);case _0x5bddf3(0x234):return new UpdateOperation(_0x167ad3,_0x21148c,_0x362b7c);case'aggregate':return new AggregateOperation(_0x167ad3,_0x21148c,_0x362b7c);default:return new GenericOperation(_0x167ad3,_0x21148c,_0x362b7c);}}[a0_0x59051e(0x3b2)](_0x2962a9,_0x41062a){const _0x5cc6be=a0_0x59051e,_0xcc9f5f=new Map();return Object[_0x5cc6be(0x3f5)](_0x2962a9)['forEach'](([_0x1409ef,_0x3edea9])=>{const _0xb22532=_0x5cc6be;_0xcc9f5f[_0xb22532(0x380)](_0x1409ef,this[_0xb22532(0x382)](_0x1409ef,_0x3edea9,_0x41062a));}),_0xcc9f5f;}}class OperationList{['_operations'];constructor(_0x47d42c,_0x2b5269){const _0x3767c7=a0_0x59051e,_0x3dca57=new OperationFactory();this['_operations']=_0x3dca57[_0x3767c7(0x3b2)](_0x47d42c,_0x2b5269);}['get'](_0x12e799){const _0x4d3e77=a0_0x59051e;return this[_0x4d3e77(0x338)][_0x4d3e77(0x2a8)](_0x12e799);}[a0_0x59051e(0x370)](_0x484f6e){const _0x5a7e93=a0_0x59051e;return this[_0x5a7e93(0x338)][_0x5a7e93(0x370)](_0x484f6e);}[a0_0x59051e(0x203)](){const _0x393da7=a0_0x59051e;return this[_0x393da7(0x338)][_0x393da7(0x203)];}[a0_0x59051e(0x289)](){const _0x493124=a0_0x59051e;return Array[_0x493124(0x2f2)](this[_0x493124(0x338)]['keys']());}[a0_0x59051e(0x2f3)](){const _0x1e4157=a0_0x59051e,_0x259bde=Array[_0x1e4157(0x2f2)](this[_0x1e4157(0x338)][_0x1e4157(0x34f)]());return this[_0x1e4157(0x357)](_0x259bde);}[a0_0x59051e(0x1b2)](){const _0x255063=a0_0x59051e;return this[_0x255063(0x2f3)]()['filter'](_0x1bb168=>_0x1bb168['isEnabled']());}[a0_0x59051e(0x2c7)](){const _0x564a33=a0_0x59051e;return this[_0x564a33(0x2f3)]()[_0x564a33(0x3a8)](_0x544a96=>!_0x544a96[_0x564a33(0x3b3)]());}[a0_0x59051e(0x2ed)](){const _0x4e65c6=a0_0x59051e;return this['getEnabled']()[_0x4e65c6(0x390)](_0x4ac4b6=>_0x4ac4b6['getName']());}[a0_0x59051e(0x3fd)](){const _0x424d98=a0_0x59051e;return this['getDisabled']()[_0x424d98(0x390)](_0xcb9fb1=>_0xcb9fb1['getName']());}[a0_0x59051e(0x362)](_0x1f11dd){const _0x38f308=a0_0x59051e;return this[_0x38f308(0x2f3)]()[_0x38f308(0x3a8)](_0x46f309=>_0x46f309[_0x38f308(0x321)]()===_0x1f11dd);}['filter'](_0x54eab2){return this['toArray']()['filter'](_0x54eab2);}['getFiltered'](_0x73ec3e={}){const _0x2ae9b7=a0_0x59051e;let _0x1a421a=this[_0x2ae9b7(0x2f3)]();!_0x73ec3e[_0x2ae9b7(0x225)]&&(_0x1a421a=_0x1a421a['filter'](_0x4f5450=>_0x4f5450[_0x2ae9b7(0x3b3)]()));if(_0x73ec3e[_0x2ae9b7(0x2b2)]!==![]){const _0x586795=_0x1a421a['map'](_0x585464=>({'name':_0x585464[_0x2ae9b7(0x1d4)](),'operation':_0x585464})),_0x48dd2f=filterApiOperations(_0x586795);_0x1a421a=_0x48dd2f[_0x2ae9b7(0x390)](_0x286f17=>_0x286f17['operation']),_0x1a421a=this['sortOperationsWithFilterFirst'](_0x1a421a);}return _0x73ec3e[_0x2ae9b7(0x27e)]&&(_0x1a421a=_0x1a421a['filter'](_0x73ec3e[_0x2ae9b7(0x27e)])),_0x1a421a;}[a0_0x59051e(0x357)](_0x25f253){const _0x3a774e=a0_0x59051e,_0x5a3a6d=_0x25f253[_0x3a774e(0x42e)](_0x1e5eff=>_0x1e5eff[_0x3a774e(0x1d4)]()===_0x3a774e(0x3a8)),_0x54d796=_0x25f253[_0x3a774e(0x3a8)](_0x9a504d=>_0x9a504d[_0x3a774e(0x1d4)]()!==_0x3a774e(0x3a8));return _0x5a3a6d?[_0x5a3a6d,..._0x54d796]:_0x54d796;}[a0_0x59051e(0x419)](){const _0x51e114=a0_0x59051e,_0x4ef388=this[_0x51e114(0x1b2)]();return{'total':this[_0x51e114(0x203)](),'enabled':_0x4ef388[_0x51e114(0x32e)],'disabled':this['size']()-_0x4ef388[_0x51e114(0x32e)],'byType':this[_0x51e114(0x325)](_0x4ef388),'byMethod':this[_0x51e114(0x33c)](_0x4ef388)};}[a0_0x59051e(0x325)](_0x54d60f){const _0x431279=a0_0x59051e,_0xe8e966={};return _0x54d60f[_0x431279(0x246)](_0x241d75=>{const _0x573cd=_0x431279,_0x4bfb6e=_0x241d75[_0x573cd(0x321)]();_0x4bfb6e&&(_0xe8e966[_0x4bfb6e]=(_0xe8e966[_0x4bfb6e]||0x0)+0x1);}),_0xe8e966;}['getCountByMethod'](_0x1cd39c){const _0x22b3ec=a0_0x59051e,_0x519449={};return _0x1cd39c[_0x22b3ec(0x246)](_0x54700c=>{const _0x103c49=_0x54700c['getMethod']();_0x103c49&&(_0x519449[_0x103c49]=(_0x519449[_0x103c49]||0x0)+0x1);}),_0x519449;}[Symbol['iterator']](){const _0x24b7dd=a0_0x59051e;return this[_0x24b7dd(0x338)]['values']();}['toString'](){const _0x351dc6=a0_0x59051e,_0x5dc646=this[_0x351dc6(0x419)]();return _0x351dc6(0x429)+_0x5dc646[_0x351dc6(0x441)]+'/'+_0x5dc646[_0x351dc6(0x2b8)]+_0x351dc6(0x43c);}}class DBConfig{['raw'];['dbId'];[a0_0x59051e(0x2be)];[a0_0x59051e(0x2d2)];[a0_0x59051e(0x258)];[a0_0x59051e(0x424)];[a0_0x59051e(0x250)];['pkField'];[a0_0x59051e(0x28f)];[a0_0x59051e(0x1d3)];constructor(_0xcc96b7,_0x1b4a72){const _0x52f76f=a0_0x59051e;this[_0x52f76f(0x3fa)]=_0x1b4a72,this['dbId']=_0xcc96b7[_0x52f76f(0x420)],this[_0x52f76f(0x2be)]=_0xcc96b7[_0x52f76f(0x2be)],this[_0x52f76f(0x2d2)]=_0xcc96b7['dbType'],this[_0x52f76f(0x258)]=_0xcc96b7[_0x52f76f(0x258)],this[_0x52f76f(0x424)]=_0xcc96b7[_0x52f76f(0x424)],this['datasetKey']=_0xcc96b7[_0x52f76f(0x250)],this[_0x52f76f(0x46c)]=_0xcc96b7[_0x52f76f(0x46c)],this[_0x52f76f(0x28f)]=_0xcc96b7[_0x52f76f(0x28f)],this[_0x52f76f(0x1d3)]=_0xcc96b7['appCode'];}['getRaw'](){const _0x54ce05=a0_0x59051e;return this[_0x54ce05(0x3fa)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x59051e(0x1d5)];[a0_0x59051e(0x2db)];['_fieldListWithDeleted'];constructor(_0x5b8650){const _0x4c2737=a0_0x59051e,_0x58ba53={..._0x5b8650};_0x58ba53['id']=_0x5b8650['modelId']||_0x5b8650['id'],_0x58ba53[_0x4c2737(0x43e)]=_0x5b8650[_0x4c2737(0x1cd)]||_0x5b8650[_0x4c2737(0x43e)]||_0x5b8650[_0x4c2737(0x1cb)],super(_0x58ba53);}[a0_0x59051e(0x298)](){return;}[a0_0x59051e(0x2ee)](){return[];}[a0_0x59051e(0x405)](){return[];}get['source'](){const _0x27929c=a0_0x59051e;return this[_0x27929c(0x239)]();}[a0_0x59051e(0x378)](){const _0x53c128=a0_0x59051e;if(!this['_fieldList'])throw new Error(_0x53c128(0x340));return this[_0x53c128(0x2db)];}[a0_0x59051e(0x3dd)](){const _0x26251a=a0_0x59051e;if(!this[_0x26251a(0x341)])throw new Error(_0x26251a(0x46b));return this['_fieldListWithDeleted'];}[a0_0x59051e(0x3cd)](){return[];}[a0_0x59051e(0x3ae)](){const _0x51a78b=a0_0x59051e,_0x2ea564=this[_0x51a78b(0x414)]();return _0x2ea564[_0x51a78b(0x208)];}[a0_0x59051e(0x367)](){const _0x250954=a0_0x59051e;return this['getFields']()[_0x250954(0x32e)];}[a0_0x59051e(0x395)](_0x3a910c){const _0x4b8e94=a0_0x59051e,_0x5b5da4=this[_0x4b8e94(0x227)](_0x3a910c);return _0x5b5da4?_0x5b5da4[_0x4b8e94(0x3fa)]:undefined;}[a0_0x59051e(0x469)](_0x1bf9b6){return;}['parseFieldExtend'](_0x4f08ae){const _0x4b432b=a0_0x59051e;if(!_0x4f08ae||typeof _0x4f08ae!==_0x4b432b(0x434))return!![]&&console['warn'](_0x4b432b(0x2eb),_0x4f08ae),{};if(_0x4b432b(0x46c)in _0x4f08ae){const _0xaceb4f=_0x4f08ae;return{'primaryKey':typeof _0xaceb4f['pkField']==='boolean'?_0xaceb4f[_0x4b432b(0x46c)]:Boolean(_0xaceb4f[_0x4b432b(0x46c)]),'required':_0xaceb4f[_0x4b432b(0x2d3)],'systemRetain':Boolean(_0xaceb4f['systemRetain']),'autoIncrement':_0xaceb4f[_0x4b432b(0x312)]??undefined};}if(!(_0x4b432b(0x293)in _0x4f08ae)||!_0x4f08ae[_0x4b432b(0x293)])return{};try{const _0x116515=typeof _0x4f08ae['extend']===_0x4b432b(0x236)?JSON['parse'](_0x4f08ae['extend']):_0x4f08ae[_0x4b432b(0x293)];if(typeof _0x116515!==_0x4b432b(0x434)||_0x116515===null)return{};return _0x116515;}catch{return{};}}[a0_0x59051e(0x2a1)](){const _0x14232a=a0_0x59051e;if(!this[_0x14232a(0x1d5)]){const _0x24c540=this[_0x14232a(0x407)](this[_0x14232a(0x3f4)]()||{});this[_0x14232a(0x1d5)]=new OperationList(_0x24c540,{'fields':this[_0x14232a(0x378)]()['all'](),'pkField':this[_0x14232a(0x261)][_0x14232a(0x36c)]?.[_0x14232a(0x46c)],'dbtableConfig':this['_raw'][_0x14232a(0x36c)]||null});}return this[_0x14232a(0x1d5)];}[a0_0x59051e(0x407)](_0x51b5a3){const _0x229820=a0_0x59051e;if(_0x51b5a3[_0x229820(0x3a8)]!==undefined)return _0x51b5a3;return{..._0x51b5a3,'filter':this[_0x229820(0x366)]()};}[a0_0x59051e(0x366)](){const _0x3489b8=a0_0x59051e,_0x53d4b6=this[_0x3489b8(0x3f4)]()?.[_0x3489b8(0x339)];let _0x3733d7=_0x53d4b6?.[_0x3489b8(0x329)],_0x3bb6dc='';if(!_0x3733d7&&this[_0x3489b8(0x3f4)]()){const _0x37e33d=Object[_0x3489b8(0x34f)](this['getOperationsData']());for(const _0x59217e of _0x37e33d){if(_0x59217e&&typeof _0x59217e===_0x3489b8(0x434)&&_0x3489b8(0x329)in _0x59217e){_0x3733d7=_0x59217e['host'];break;}}}if(_0x53d4b6?.[_0x3489b8(0x377)]){const _0x1f80ed=_0x53d4b6[_0x3489b8(0x377)],_0x3cc8fd=_0x1f80ed['lastIndexOf']('/');_0x3cc8fd!==-0x1&&(_0x3bb6dc=_0x1f80ed['substring'](0x0,_0x3cc8fd));}const _0x3585f0={};_0x3585f0[_0x3489b8(0x2e6)]='where',_0x3585f0[_0x3489b8(0x280)]=_0x3489b8(0x434),_0x3585f0[_0x3489b8(0x2d3)]=![];const _0x5a1342={};_0x5a1342['name']='select',_0x5a1342[_0x3489b8(0x280)]=_0x3489b8(0x323),_0x5a1342['required']=![];const _0x321ffe={};_0x321ffe[_0x3489b8(0x2e6)]=_0x3489b8(0x202),_0x321ffe['type']=_0x3489b8(0x323),_0x321ffe[_0x3489b8(0x2d3)]=![];const _0x161674={};_0x161674[_0x3489b8(0x2e6)]=_0x3489b8(0x42c),_0x161674[_0x3489b8(0x280)]='number',_0x161674['required']=![],_0x161674[_0x3489b8(0x41b)]=0x1;const _0x2477f5={};_0x2477f5['name']=_0x3489b8(0x2f0),_0x2477f5['type']=_0x3489b8(0x29a),_0x2477f5[_0x3489b8(0x2d3)]=![],_0x2477f5[_0x3489b8(0x41b)]=0xa;const _0x5b16f7={};return _0x5b16f7['name']=_0x3489b8(0x3a8),_0x5b16f7[_0x3489b8(0x280)]=_0x3489b8(0x2d4),_0x5b16f7[_0x3489b8(0x1f2)]=_0x3489b8(0x237),_0x5b16f7[_0x3489b8(0x2f9)]=_0x3489b8(0x219),_0x5b16f7[_0x3489b8(0x329)]=_0x3733d7,_0x5b16f7[_0x3489b8(0x377)]=_0x3bb6dc?_0x3bb6dc+_0x3489b8(0x2c0):_0x3489b8(0x2c0),_0x5b16f7[_0x3489b8(0x2cf)]=_0x53d4b6?.['params']||[_0x3585f0,_0x5a1342,_0x321ffe,_0x161674,_0x2477f5],_0x5b16f7['_autoGenerated']=!![],_0x5b16f7;}[a0_0x59051e(0x450)](){const _0x445f9c=a0_0x59051e;return this[_0x445f9c(0x2a1)]()[_0x445f9c(0x2f3)]();}[a0_0x59051e(0x214)](){const _0x1f4048=a0_0x59051e;return this[_0x1f4048(0x2a1)]()['size']();}[a0_0x59051e(0x46e)](_0x2e4893){const _0x1cbcb3=a0_0x59051e;if(typeof _0x2e4893!=='string'){!![]&&console[_0x1cbcb3(0x24e)](_0x1cbcb3(0x231),_0x2e4893);return;}return this['getOperationList']()[_0x1cbcb3(0x2a8)](_0x2e4893);}[a0_0x59051e(0x2cc)](_0x1f6a87){const _0x245410=a0_0x59051e;if(typeof _0x1f6a87!=='string')return![];return this['getOperationList']()[_0x245410(0x370)](_0x1f6a87);}[a0_0x59051e(0x38f)](_0x10f472){const _0x2d24e2=a0_0x59051e;if(typeof _0x10f472!==_0x2d24e2(0x236))return![];const _0x8cdc70=this[_0x2d24e2(0x46e)](_0x10f472);return _0x8cdc70?.['isEnabled']()||![];}['getEnabledOperations'](){const _0x592b96=a0_0x59051e;return this[_0x592b96(0x2a1)]()[_0x592b96(0x2ed)]();}[a0_0x59051e(0x3f2)](){const _0x3257bf=a0_0x59051e;return this['getOperationList']()[_0x3257bf(0x3fd)]();}[a0_0x59051e(0x1b4)](){const _0x3bcea2=a0_0x59051e;return this['getOperationList']()[_0x3bcea2(0x1b2)]();}[a0_0x59051e(0x43f)](){const _0x4b3180=a0_0x59051e;return this[_0x4b3180(0x2a1)]()[_0x4b3180(0x2c7)]();}[a0_0x59051e(0x1d2)](_0x45ab70={}){const _0x318cce=a0_0x59051e;return this[_0x318cce(0x2a1)]()['getFiltered'](_0x45ab70);}[a0_0x59051e(0x419)](){const _0xbddb5a=a0_0x59051e;return{'fieldCount':this[_0xbddb5a(0x367)](),'systemFieldCount':this['getSystemFields']()[_0xbddb5a(0x32e)],'businessFieldCount':this[_0xbddb5a(0x20e)]()[_0xbddb5a(0x32e)],'requiredFieldCount':this[_0xbddb5a(0x2b4)]()[_0xbddb5a(0x32e)],'primaryKeyCount':this[_0xbddb5a(0x26e)]()[_0xbddb5a(0x32e)],'operationCount':this[_0xbddb5a(0x214)](),'enabledOperationCount':this[_0xbddb5a(0x1f9)]()[_0xbddb5a(0x32e)]};}[a0_0x59051e(0x1be)](_0x197d88){const _0x450513=a0_0x59051e;if(!_0x197d88||typeof _0x197d88!==_0x450513(0x434))return'';if(_0x450513(0x1cb)in _0x197d88&&typeof _0x197d88[_0x450513(0x1cb)]==='string')return _0x197d88[_0x450513(0x1cb)];if(_0x450513(0x2e6)in _0x197d88&&typeof _0x197d88[_0x450513(0x2e6)]===_0x450513(0x236))return _0x197d88[_0x450513(0x2e6)];return'';}[a0_0x59051e(0x22f)](_0x26512c){const _0x220210=a0_0x59051e;return this[_0x220210(0x378)]()[_0x220210(0x370)](_0x26512c);}[a0_0x59051e(0x3bb)](_0x444898){const _0x4e8341=a0_0x59051e;if(!_0x444898||typeof _0x444898!==_0x4e8341(0x434))return![];const _0x3434da=this[_0x4e8341(0x1be)](_0x444898),_0x2b66bd=this[_0x4e8341(0x227)](_0x3434da);return _0x2b66bd?_0x2b66bd[_0x4e8341(0x3a4)]():![];}[a0_0x59051e(0x455)](_0x422f47){const _0x2fa92b=a0_0x59051e;if(!_0x422f47||typeof _0x422f47!==_0x2fa92b(0x434))return![];const _0x301213=this[_0x2fa92b(0x1be)](_0x422f47),_0xd17a41=this[_0x2fa92b(0x227)](_0x301213);return _0xd17a41?_0xd17a41[_0x2fa92b(0x38c)]():![];}[a0_0x59051e(0x2cd)](_0x49fd2a){const _0x10239e=a0_0x59051e;if(!_0x49fd2a||typeof _0x49fd2a!==_0x10239e(0x434))return![];const _0x1ac6e2=this['getFieldCode'](_0x49fd2a),_0x1aa4a7=this[_0x10239e(0x227)](_0x1ac6e2);return _0x1aa4a7?_0x1aa4a7[_0x10239e(0x241)]():![];}[a0_0x59051e(0x454)](_0x1af927){const _0x80dfd2=a0_0x59051e;if(!_0x1af927||typeof _0x1af927!=='object')return![];const _0x2e018e=this[_0x80dfd2(0x1be)](_0x1af927),_0x4b3e81=this['getFieldInstance'](_0x2e018e);return _0x4b3e81?_0x4b3e81[_0x80dfd2(0x31a)]():![];}[a0_0x59051e(0x42b)](_0x5a8874){const _0x599be9=a0_0x59051e;if(!_0x5a8874||typeof _0x5a8874!==_0x599be9(0x434))return![];const _0x34f536=this[_0x599be9(0x1be)](_0x5a8874),_0x78991f=this[_0x599be9(0x227)](_0x34f536);return _0x78991f?_0x78991f[_0x599be9(0x3a3)]():![];}[a0_0x59051e(0x35d)](_0x273231){const _0x19f7cf=a0_0x59051e;if(!_0x273231||typeof _0x273231!==_0x19f7cf(0x434))return[];const _0x19e6a3=this[_0x19f7cf(0x1be)](_0x273231),_0x422d54=this['getFieldInstance'](_0x19e6a3);if(!_0x422d54||!_0x422d54[_0x19f7cf(0x31a)]())return[];return _0x422d54['getEnumOptions']()||[];}[a0_0x59051e(0x467)](_0x110704){const _0xba91b6=a0_0x59051e;if(!_0x110704||typeof _0x110704!==_0xba91b6(0x434))return;const _0x27db47=this[_0xba91b6(0x1be)](_0x110704),_0x5f31e4=this[_0xba91b6(0x227)](_0x27db47);if(!_0x5f31e4||!_0x5f31e4['isEnum']())return;return _0x5f31e4['getSelectItemsSource']();}[a0_0x59051e(0x1c3)](_0x163ab4){const _0x466f4a=a0_0x59051e;if(!_0x163ab4||typeof _0x163ab4!==_0x466f4a(0x434))return;const _0x5cc21f=this[_0x466f4a(0x1be)](_0x163ab4),_0x26b346=this[_0x466f4a(0x227)](_0x5cc21f);if(!_0x26b346||!_0x26b346[_0x466f4a(0x31a)]())return;return _0x26b346[_0x466f4a(0x336)]();}[a0_0x59051e(0x26e)](){const _0x38ae06=a0_0x59051e;return this[_0x38ae06(0x378)]()['getPrimaryKeys']()['map'](_0x1c6272=>_0x1c6272['raw']);}[a0_0x59051e(0x20a)](){const _0x31a07f=a0_0x59051e;return this[_0x31a07f(0x378)]()[_0x31a07f(0x36f)]()[_0x31a07f(0x390)](_0x4249fe=>_0x4249fe[_0x31a07f(0x3fa)]);}[a0_0x59051e(0x20e)](){const _0x5923e9=a0_0x59051e;return this[_0x5923e9(0x378)]()[_0x5923e9(0x269)]()[_0x5923e9(0x390)](_0x1e4535=>_0x1e4535[_0x5923e9(0x3fa)]);}[a0_0x59051e(0x2b4)](){const _0x5e434c=a0_0x59051e;return this['getFieldList']()[_0x5e434c(0x438)]()[_0x5e434c(0x390)](_0x452e45=>_0x452e45[_0x5e434c(0x3fa)]);}[a0_0x59051e(0x379)](){const _0x3ec79d=a0_0x59051e,_0x41b0ef=this[_0x3ec79d(0x378)]()[_0x3ec79d(0x3b7)](),_0x264a33={};for(const [_0x1e8033,_0x531778]of Object[_0x3ec79d(0x3f5)](_0x41b0ef)){_0x264a33[_0x1e8033]=_0x531778['map'](_0x4e0f15=>_0x4e0f15['raw']);}return _0x264a33;}[a0_0x59051e(0x1c5)](){const _0x29b242=a0_0x59051e;return this[_0x29b242(0x378)]()[_0x29b242(0x320)]()[_0x29b242(0x390)](_0x3882f3=>_0x3882f3['raw']);}['getEnumFieldsMeta'](){const _0x81fc2c=a0_0x59051e,_0x298de3={};return this[_0x81fc2c(0x1c5)]()['forEach'](_0x347172=>{const _0x32469e=_0x81fc2c,_0x441fcb=this['getEnumFieldMeta'](_0x347172);if(_0x441fcb){const _0x491a97=this[_0x32469e(0x1be)](_0x347172);_0x298de3[_0x491a97]=_0x441fcb;}}),_0x298de3;}[a0_0x59051e(0x23e)](_0x45d8dc,_0x15b03d){const _0xa379bd=a0_0x59051e,_0x2fc905=this[_0xa379bd(0x1c3)](_0x45d8dc);if(!_0x2fc905)return!![];if(_0x2fc905[_0xa379bd(0x326)]&&!_0x2fc905[_0xa379bd(0x25c)])return!![];const _0x556f98=this[_0xa379bd(0x1be)](_0x45d8dc),_0x5dc3fb=this[_0xa379bd(0x227)](_0x556f98),_0x2f086b=_0x5dc3fb?_0x5dc3fb[_0xa379bd(0x3a3)]():![];if(_0x2f086b&&Array[_0xa379bd(0x2e0)](_0x15b03d))return _0x15b03d[_0xa379bd(0x468)](_0x46f024=>_0x2fc905[_0xa379bd(0x34f)]['includes'](_0x46f024));return _0x2fc905[_0xa379bd(0x34f)][_0xa379bd(0x439)](_0x15b03d);}[a0_0x59051e(0x311)](){const _0x470f23=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0x470f23(0x2e6)],'datasetCode':this[_0x470f23(0x43e)],'dbtableConfig':this[_0x470f23(0x2a9)]()});}[a0_0x59051e(0x3c8)](){const _0x1e33e2=a0_0x59051e;return _0x1e33e2(0x30e)+this['name']+',\x20'+this[_0x1e33e2(0x43e)]+',\x20'+this[_0x1e33e2(0x367)]()+'\x20fields,\x20'+this[_0x1e33e2(0x214)]()+_0x1e33e2(0x457)+this[_0x1e33e2(0x265)]()+')';}['getFilterOperators'](){const _0x47104f=a0_0x59051e;return this[_0x47104f(0x201)](_0x47104f(0x3a8));}[a0_0x59051e(0x3df)](_0x52f4d5){const _0x587cff=a0_0x59051e;return this['getOperationFieldOperators'](_0x587cff(0x3a8),_0x52f4d5);}[a0_0x59051e(0x2fe)](){const _0x20f921=a0_0x59051e;return this[_0x20f921(0x28b)](_0x20f921(0x3a8));}['getOperationOperators'](_0xf1ae41){const _0xfc8694=a0_0x59051e,_0x3891e2=this[_0xfc8694(0x46e)](_0xf1ae41);return _0x3891e2?_0x3891e2[_0xfc8694(0x295)]():[];}[a0_0x59051e(0x2b1)](_0x561934,_0x4f2f2b){const _0x563bfa=a0_0x59051e,_0x45a951=this[_0x563bfa(0x46e)](_0x561934);return _0x45a951?_0x45a951[_0x563bfa(0x437)](_0x4f2f2b):[];}['getOperationFieldsOperatorsMap'](_0x34c13a){const _0x3de6ac=a0_0x59051e,_0x5d1508={};return this[_0x3de6ac(0x378)]()['forEach'](_0x4e9ee4=>{const _0x4b0de2=_0x3de6ac,_0x5aef6b=this[_0x4b0de2(0x2b1)](_0x34c13a,_0x4e9ee4[_0x4b0de2(0x1cb)]);_0x5aef6b['length']>0x0&&(_0x5d1508[_0x4e9ee4[_0x4b0de2(0x1cb)]]=_0x5aef6b);}),_0x5d1508;}['isOperatorApplicableToField'](_0x13583c,_0x2c0e15,_0x27680f){const _0x4ace1f=a0_0x59051e,_0xae838b=this['getOperationFieldOperators'](_0x13583c,_0x2c0e15);return _0xae838b[_0x4ace1f(0x439)](_0x27680f);}}class FieldBase{get['dbType'](){return;}get[a0_0x59051e(0x251)](){return;}get['displayName'](){return;}get['doType'](){return;}[a0_0x59051e(0x470)](){const _0x2a1d7e=a0_0x59051e;return!this[_0x2a1d7e(0x38c)]();}[a0_0x59051e(0x3c7)](){return this['deleted'];}[a0_0x59051e(0x31a)](){const _0x18887b=a0_0x59051e,_0x500e96=[_0x18887b(0x2a3),_0x18887b(0x283),'CHECKBOX'];return _0x500e96[_0x18887b(0x439)](this[_0x18887b(0x280)]);}[a0_0x59051e(0x3a3)](){const _0x48f3bd=a0_0x59051e;return this[_0x48f3bd(0x280)]===_0x48f3bd(0x3e4);}[a0_0x59051e(0x347)](){const _0x58cd38=this['getEnumMeta']();return _0x58cd38?.['values']||[];}[a0_0x59051e(0x336)](){const _0x594849=a0_0x59051e;if(!this['isEnum']())return;const _0xcfddd0=this[_0x594849(0x288)](),_0x4276ed=this['getSelectItemsSource'](),_0x1d11a8=[],_0x4d2c53={},_0x131f6a=_0x551774=>{const _0x4f96ab=_0x594849;_0x551774[_0x4f96ab(0x246)](_0x11b65f=>{const _0x304848=_0x4f96ab;if(!_0x11b65f||typeof _0x11b65f!==_0x304848(0x434))return;_0x11b65f[_0x304848(0x43b)]!==undefined&&_0x11b65f[_0x304848(0x43b)]!==null&&(_0x1d11a8[_0x304848(0x276)](_0x11b65f[_0x304848(0x43b)]),_0x4d2c53[String(_0x11b65f[_0x304848(0x43b)])]=_0x11b65f[_0x304848(0x240)]||''),_0x11b65f['children']&&Array['isArray'](_0x11b65f['children'])&&_0x11b65f[_0x304848(0x307)][_0x304848(0x32e)]>0x0&&_0x131f6a(_0x11b65f[_0x304848(0x307)]);});};return _0xcfddd0&&Array[_0x594849(0x2e0)](_0xcfddd0)&&_0xcfddd0[_0x594849(0x32e)]>0x0&&_0x131f6a(_0xcfddd0),{'code':this['code'],'name':this[_0x594849(0x2e6)],'type':this['type'],'multiple':this[_0x594849(0x3a3)](),'options':_0xcfddd0,'selectItemsSource':_0x4276ed,'values':_0x1d11a8,'valueLabels':_0x4d2c53};}get[a0_0x59051e(0x3d4)](){const _0x582e8a=a0_0x59051e;return this[_0x582e8a(0x347)]();}[a0_0x59051e(0x3c8)](){const _0x6c7d02=a0_0x59051e;return _0x6c7d02(0x39b)+this['name']+',\x20'+this[_0x6c7d02(0x1cb)]+',\x20'+this['type']+',\x20'+this[_0x6c7d02(0x265)]()+')';}}class FieldV1 extends FieldBase{[a0_0x59051e(0x261)];[a0_0x59051e(0x3b8)]=null;constructor(_0x142ee4){const _0x9299b2=a0_0x59051e;super();if(!_0x142ee4||typeof _0x142ee4!=='object')throw new Error(_0x9299b2(0x431));this['_raw']=_0x142ee4;}[a0_0x59051e(0x230)](){const _0x4c1cc1=a0_0x59051e;return this[_0x4c1cc1(0x261)];}[a0_0x59051e(0x265)](){return'v1';}get[a0_0x59051e(0x3fa)](){const _0x5e4fab=a0_0x59051e;return this[_0x5e4fab(0x261)];}get[a0_0x59051e(0x2e6)](){const _0x314d3b=a0_0x59051e;return this[_0x314d3b(0x261)][_0x314d3b(0x2e6)]||'';}get[a0_0x59051e(0x1cb)](){const _0x3ec825=a0_0x59051e;return this[_0x3ec825(0x261)]['code']||'';}get['type'](){const _0x198513=a0_0x59051e;return this['_raw'][_0x198513(0x280)]||'';}get['description'](){const _0x460580=a0_0x59051e;return this[_0x460580(0x261)][_0x460580(0x1f2)]||'';}get[a0_0x59051e(0x44a)](){const _0x28bdf6=a0_0x59051e;return Boolean(this[_0x28bdf6(0x261)]['deleted']);}get[a0_0x59051e(0x2d2)](){const _0x40c4fe=a0_0x59051e;return this[_0x40c4fe(0x261)][_0x40c4fe(0x2d2)];}get[a0_0x59051e(0x251)](){const _0x206275=a0_0x59051e;return this['_raw'][_0x206275(0x251)];}get[a0_0x59051e(0x45b)](){const _0x1e8802=a0_0x59051e;return this[_0x1e8802(0x261)][_0x1e8802(0x2c8)];}get['doType'](){return;}get[a0_0x59051e(0x293)](){const _0x19146c=a0_0x59051e;if(this[_0x19146c(0x3b8)]!==null&&typeof this[_0x19146c(0x3b8)]===_0x19146c(0x434))return this[_0x19146c(0x3b8)];const _0x337c5e=this[_0x19146c(0x261)][_0x19146c(0x293)];if(!_0x337c5e||typeof _0x337c5e!==_0x19146c(0x236))return this['_extend']={},this['_extend'];if(_0x337c5e===_0x19146c(0x26f)||_0x337c5e[_0x19146c(0x242)]()===_0x19146c(0x26f))return this[_0x19146c(0x3b8)]={},this[_0x19146c(0x3b8)];try{const _0x1252cc=JSON[_0x19146c(0x1ae)](_0x337c5e);return this[_0x19146c(0x3b8)]=_0x1252cc!==null&&typeof _0x1252cc===_0x19146c(0x434)&&!Array[_0x19146c(0x2e0)](_0x1252cc)?_0x1252cc:{},this[_0x19146c(0x3b8)];}catch(_0x5767d1){return!![]&&console[_0x19146c(0x24e)]('[FieldV1.extend]\x20解析字段\x20'+this[_0x19146c(0x1cb)]+_0x19146c(0x1e1),_0x5767d1),this['_extend']={},this['_extend'];}}[a0_0x59051e(0x241)](){const _0x1c9685=a0_0x59051e;return Boolean(this[_0x1c9685(0x293)][_0x1c9685(0x2d3)]);}[a0_0x59051e(0x3a4)](){const _0xe3e16=a0_0x59051e;return Boolean(this[_0xe3e16(0x293)][_0xe3e16(0x459)]||this[_0xe3e16(0x293)][_0xe3e16(0x46c)]);}['isSystem'](){const _0x4c6dc3=a0_0x59051e;return Boolean(this[_0x4c6dc3(0x293)][_0x4c6dc3(0x426)]);}[a0_0x59051e(0x3b6)](){const _0x5b7b08=a0_0x59051e;return Boolean(this[_0x5b7b08(0x293)][_0x5b7b08(0x312)]);}['isCreateTime'](){const _0x1e2f96=a0_0x59051e;return Boolean(this[_0x1e2f96(0x293)][_0x1e2f96(0x3b5)]);}[a0_0x59051e(0x20d)](){const _0x12fe55=a0_0x59051e;return Boolean(this['extend'][_0x12fe55(0x1b8)]);}[a0_0x59051e(0x40c)](){const _0x2ec8a3=a0_0x59051e;return this[_0x2ec8a3(0x2e6)];}[a0_0x59051e(0x2c9)](){const _0x8c39c0=a0_0x59051e;return this[_0x8c39c0(0x1cb)];}['isEnum'](){const _0x4f0a70=a0_0x59051e,_0x1fed26=[_0x4f0a70(0x2a3),_0x4f0a70(0x283),_0x4f0a70(0x3e4)];if(_0x1fed26[_0x4f0a70(0x439)](this[_0x4f0a70(0x280)]))return!![];const _0x478fa6=this[_0x4f0a70(0x293)];return Boolean(_0x478fa6['options']&&Array[_0x4f0a70(0x2e0)](_0x478fa6[_0x4f0a70(0x25c)])&&_0x478fa6[_0x4f0a70(0x25c)][_0x4f0a70(0x32e)]>0x0||_0x478fa6[_0x4f0a70(0x326)]);}[a0_0x59051e(0x3a3)](){const _0x4a355e=a0_0x59051e;if(this[_0x4a355e(0x280)]===_0x4a355e(0x3e4))return!![];return Boolean(this[_0x4a355e(0x293)][_0x4a355e(0x1e0)]);}[a0_0x59051e(0x288)](){const _0x208e92=a0_0x59051e,_0x13e455=this[_0x208e92(0x293)];if(_0x13e455[_0x208e92(0x25c)]&&Array['isArray'](_0x13e455[_0x208e92(0x25c)]))return _0x13e455[_0x208e92(0x25c)];return;}['getSelectItemsSource'](){const _0x399c55=a0_0x59051e,_0x50b9ee=this[_0x399c55(0x293)];if(_0x50b9ee[_0x399c55(0x326)]&&typeof _0x50b9ee[_0x399c55(0x326)]==='object')return _0x50b9ee[_0x399c55(0x326)];return;}[a0_0x59051e(0x2f6)](){const _0x3f4018=a0_0x59051e;return this[_0x3f4018(0x280)][_0x3f4018(0x40a)]();}[a0_0x59051e(0x342)](){const _0x585335=a0_0x59051e;return this[_0x585335(0x293)][_0x585335(0x452)];}[a0_0x59051e(0x2fc)](){const _0x2bcbfb=a0_0x59051e;return this[_0x2bcbfb(0x293)]['tooltip'];}[a0_0x59051e(0x345)](){const _0x1a40b3=a0_0x59051e;return{'name':this[_0x1a40b3(0x2e6)],'code':this[_0x1a40b3(0x1cb)],'type':this[_0x1a40b3(0x280)],'dbType':this['dbType'],'dbTypeLen':this['dbTypeLen'],'description':this[_0x1a40b3(0x1f2)],'required':this[_0x1a40b3(0x241)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x1a40b3(0x38c)](),'autoIncrement':this['isAutoIncrement'](),'createTime':this[_0x1a40b3(0x2ae)](),'updateTime':this[_0x1a40b3(0x20d)](),'isEnum':this[_0x1a40b3(0x31a)](),'enumMeta':this[_0x1a40b3(0x31a)]()?this['getEnumMeta']():undefined};}['toString'](){const _0x39ef00=a0_0x59051e;return _0x39ef00(0x2d7)+this[_0x39ef00(0x2e6)]+',\x20'+this['code']+',\x20'+this[_0x39ef00(0x280)]+')';}}class FieldListBase{[a0_0x59051e(0x29e)];constructor(_0x5aba18,_0x25a002){const _0x48dcba=a0_0x59051e,_0x512883=Array['isArray'](_0x5aba18)?_0x5aba18:[],_0x25cfba=_0x25a002?.[_0x48dcba(0x1b1)]??![],_0x50648e=_0x25cfba?_0x512883:_0x512883['filter'](_0x536cf0=>{const _0xe3691d=_0x48dcba;if(!_0x536cf0||typeof _0x536cf0!==_0xe3691d(0x434))return![];const _0x2697f5=_0x536cf0;return!_0x2697f5[_0xe3691d(0x44a)];});this['_fields']=this[_0x48dcba(0x314)](_0x50648e);}get[a0_0x59051e(0x32e)](){const _0x470665=a0_0x59051e;return this[_0x470665(0x29e)]['length'];}[a0_0x59051e(0x272)](){return[...this['_fields']];}['at'](_0xf09bb4){const _0x3f273e=a0_0x59051e;return this[_0x3f273e(0x29e)]['at'](_0xf09bb4);}[a0_0x59051e(0x42e)](_0x192fe4){const _0x34bd62=a0_0x59051e;return this[_0x34bd62(0x29e)][_0x34bd62(0x42e)](_0x51c4ff=>_0x51c4ff[_0x34bd62(0x1cb)]===_0x192fe4);}[a0_0x59051e(0x30c)](_0x1729c5){const _0x178dc6=a0_0x59051e;return this['_fields'][_0x178dc6(0x42e)](_0x194037=>_0x194037[_0x178dc6(0x2e6)]===_0x1729c5);}[a0_0x59051e(0x370)](_0x49b465){const _0x2412ff=a0_0x59051e;return this['_fields'][_0x2412ff(0x2fa)](_0x3bce26=>_0x3bce26[_0x2412ff(0x1cb)]===_0x49b465);}['forEach'](_0x49252a){const _0x4493e6=a0_0x59051e;this['_fields'][_0x4493e6(0x246)](_0x49252a);}[a0_0x59051e(0x390)](_0x51498e){const _0x1cf634=a0_0x59051e;return this[_0x1cf634(0x29e)][_0x1cf634(0x390)](_0x51498e);}[a0_0x59051e(0x3a8)](_0x420b75){const _0x32ef78=a0_0x59051e;return this[_0x32ef78(0x29e)][_0x32ef78(0x3a8)](_0x420b75);}[a0_0x59051e(0x468)](_0x5e2551){const _0x216197=a0_0x59051e;return this[_0x216197(0x29e)][_0x216197(0x468)](_0x5e2551);}[a0_0x59051e(0x2fa)](_0x1046f3){const _0x52e53f=a0_0x59051e;return this['_fields'][_0x52e53f(0x2fa)](_0x1046f3);}[a0_0x59051e(0x438)](){const _0x17a04d=a0_0x59051e;return this['_fields'][_0x17a04d(0x3a8)](_0x4f805f=>_0x4f805f[_0x17a04d(0x241)]());}['getPrimaryKeys'](){const _0x513a6e=a0_0x59051e;return this[_0x513a6e(0x29e)][_0x513a6e(0x3a8)](_0x1c304f=>_0x1c304f[_0x513a6e(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0x40d126=a0_0x59051e;return this['_fields'][_0x40d126(0x3a8)](_0x178c45=>_0x178c45[_0x40d126(0x38c)]());}['getBusiness'](){const _0x4671de=a0_0x59051e;return this[_0x4671de(0x29e)][_0x4671de(0x3a8)](_0x5f0596=>_0x5f0596[_0x4671de(0x470)]());}[a0_0x59051e(0x320)](){const _0x4d26fb=a0_0x59051e;return this[_0x4d26fb(0x29e)][_0x4d26fb(0x3a8)](_0x1d5f61=>_0x1d5f61[_0x4d26fb(0x31a)]());}[a0_0x59051e(0x2d0)](){const _0x3972b7=a0_0x59051e;return this[_0x3972b7(0x29e)][_0x3972b7(0x3a8)](_0x266e11=>_0x266e11[_0x3972b7(0x3b6)]());}[a0_0x59051e(0x36a)](){const _0x1e4772=a0_0x59051e;return this[_0x1e4772(0x29e)][_0x1e4772(0x3a8)](_0x9bf9bf=>_0x9bf9bf[_0x1e4772(0x2ae)]());}[a0_0x59051e(0x2e7)](){const _0x5e5746=a0_0x59051e;return this[_0x5e5746(0x29e)][_0x5e5746(0x3a8)](_0x27c562=>_0x27c562[_0x5e5746(0x20d)]());}[a0_0x59051e(0x43d)](){const _0x56a377=a0_0x59051e;return this[_0x56a377(0x29e)][_0x56a377(0x3a8)](_0x407263=>_0x407263['isDeleted']());}[a0_0x59051e(0x1d8)](){const _0x275525=a0_0x59051e;return this[_0x275525(0x29e)]['filter'](_0x4f6154=>!_0x4f6154[_0x275525(0x3c7)]());}[a0_0x59051e(0x3b7)](){const _0x33c380=a0_0x59051e,_0x3c9c12={};return this[_0x33c380(0x29e)][_0x33c380(0x246)](_0x4ccd5b=>{const _0xe1a6be=_0x33c380,_0x3ef133=_0x4ccd5b[_0xe1a6be(0x280)];!_0x3c9c12[_0x3ef133]&&(_0x3c9c12[_0x3ef133]=[]),_0x3c9c12[_0x3ef133]['push'](_0x4ccd5b);}),_0x3c9c12;}[a0_0x59051e(0x22b)](){const _0x40cc1c=a0_0x59051e,_0x4972f2={};return this[_0x40cc1c(0x29e)][_0x40cc1c(0x246)](_0x23c456=>{const _0x4b4d70=_0x40cc1c;if(_0x23c456['isEnum']()){const _0x3e1e10=_0x23c456['getEnumMeta']();_0x3e1e10&&(_0x4972f2[_0x23c456[_0x4b4d70(0x1cb)]]=_0x3e1e10);}}),_0x4972f2;}[a0_0x59051e(0x419)](){const _0x548551=a0_0x59051e;return{'total':this[_0x548551(0x32e)],'required':this[_0x548551(0x438)]()['length'],'primaryKey':this[_0x548551(0x27f)]()['length'],'system':this['getSystem']()['length'],'business':this['getBusiness']()[_0x548551(0x32e)],'enum':this[_0x548551(0x320)]()[_0x548551(0x32e)],'autoIncrement':this[_0x548551(0x2d0)]()[_0x548551(0x32e)]};}[a0_0x59051e(0x1c9)](){const _0x193a1e=a0_0x59051e;return this[_0x193a1e(0x29e)][_0x193a1e(0x390)](_0x209b7c=>_0x209b7c[_0x193a1e(0x1cb)]);}['getNames'](){const _0x107f5a=a0_0x59051e;return this[_0x107f5a(0x29e)][_0x107f5a(0x390)](_0x11f29f=>_0x11f29f[_0x107f5a(0x40c)]());}['getFieldNames'](){const _0x5d2afc=a0_0x59051e;return this[_0x5d2afc(0x29e)][_0x5d2afc(0x390)](_0x4f1762=>_0x4f1762['getFieldName']());}['toJSON'](){const _0x5208d2=a0_0x59051e;return this[_0x5208d2(0x29e)][_0x5208d2(0x390)](_0xdae1ee=>_0xdae1ee[_0x5208d2(0x345)]());}['toString'](){const _0x4e5ae4=a0_0x59051e;return _0x4e5ae4(0x351)+this['length']+_0x4e5ae4(0x27b);}}class FieldListV1 extends FieldListBase{constructor(_0x4246fa,_0x4d8aae){super(_0x4246fa,_0x4d8aae);}[a0_0x59051e(0x314)](_0x7d7521){const _0xd4b50=a0_0x59051e;return _0x7d7521[_0xd4b50(0x390)](_0x2c87d5=>new FieldV1(_0x2c87d5));}[a0_0x59051e(0x272)](){const _0x52835c=a0_0x59051e;return[...this[_0x52835c(0x29e)]];}['at'](_0x5e15b7){return this['_fields']['at'](_0x5e15b7);}['find'](_0x276a8a){const _0x8cfb9e=a0_0x59051e;return this[_0x8cfb9e(0x29e)][_0x8cfb9e(0x42e)](_0x3a3be0=>_0x3a3be0[_0x8cfb9e(0x1cb)]===_0x276a8a);}[a0_0x59051e(0x30c)](_0x31df0f){const _0x35e477=a0_0x59051e;return this['_fields'][_0x35e477(0x42e)](_0x4347d1=>_0x4347d1[_0x35e477(0x2e6)]===_0x31df0f);}[a0_0x59051e(0x3a8)](_0x159f95){const _0xd9687e=a0_0x59051e;return this[_0xd9687e(0x29e)]['filter'](_0x159f95);}[a0_0x59051e(0x390)](_0x28543f){const _0x5acfce=a0_0x59051e;return this[_0x5acfce(0x29e)][_0x5acfce(0x390)](_0x28543f);}[a0_0x59051e(0x438)](){const _0x52407f=a0_0x59051e;return this['_fields'][_0x52407f(0x3a8)](_0x44507e=>_0x44507e[_0x52407f(0x241)]());}[a0_0x59051e(0x27f)](){const _0x59db4b=a0_0x59051e;return this[_0x59db4b(0x29e)][_0x59db4b(0x3a8)](_0x527da0=>_0x527da0[_0x59db4b(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0x4429b2=a0_0x59051e;return this[_0x4429b2(0x29e)]['filter'](_0x41a7c8=>_0x41a7c8[_0x4429b2(0x38c)]());}['getBusiness'](){const _0x476036=a0_0x59051e;return this[_0x476036(0x29e)][_0x476036(0x3a8)](_0x10f80d=>_0x10f80d[_0x476036(0x470)]());}[a0_0x59051e(0x320)](){const _0x1a8b90=a0_0x59051e;return this['_fields']['filter'](_0x94e083=>_0x94e083[_0x1a8b90(0x31a)]());}[a0_0x59051e(0x3b7)](){const _0xaa3a08=a0_0x59051e,_0x4c860e={};return this['_fields'][_0xaa3a08(0x246)](_0x142641=>{const _0x11f2b5=_0xaa3a08,_0x37f020=_0x142641[_0x11f2b5(0x280)];!_0x4c860e[_0x37f020]&&(_0x4c860e[_0x37f020]=[]),_0x4c860e[_0x37f020][_0x11f2b5(0x276)](_0x142641);}),_0x4c860e;}[a0_0x59051e(0x3fa)](){const _0x16cb5b=a0_0x59051e;return this[_0x16cb5b(0x29e)][_0x16cb5b(0x390)](_0x3ca671=>_0x3ca671['raw']);}static[a0_0x59051e(0x2f2)](_0x51a6d2){const _0x1c4c44=a0_0x59051e,_0x276131=_0x51a6d2[_0x1c4c44(0x390)](_0x482f23=>_0x482f23[_0x1c4c44(0x3fa)]);return new FieldListV1(_0x276131);}static['withDeleted'](_0x572ef7){const _0x4faad=a0_0x59051e,_0x4a9faf={};return _0x4a9faf[_0x4faad(0x1b1)]=!![],new FieldListV1(_0x572ef7,_0x4a9faf);}}class FieldV2 extends FieldBase{[a0_0x59051e(0x261)];constructor(_0x2d5bfe){const _0x3ee4c3=a0_0x59051e;super();if(!_0x2d5bfe||typeof _0x2d5bfe!=='object')throw new Error('[FieldV2]\x20Invalid\x20field\x20definition');this[_0x3ee4c3(0x261)]=_0x2d5bfe;}[a0_0x59051e(0x265)](){return'v2';}get['raw'](){const _0x296a25=a0_0x59051e;return this[_0x296a25(0x261)];}get[a0_0x59051e(0x2e6)](){const _0xf358e5=a0_0x59051e;return this[_0xf358e5(0x261)][_0xf358e5(0x2e6)]||'';}get['code'](){const _0x320919=a0_0x59051e;return this[_0x320919(0x261)]['name']||'';}get[a0_0x59051e(0x45b)](){const _0x259c43=a0_0x59051e;return this[_0x259c43(0x261)][_0x259c43(0x45b)]||'';}get[a0_0x59051e(0x280)](){const _0x5480d5=a0_0x59051e;if(this[_0x5480d5(0x261)][_0x5480d5(0x2c1)])return this[_0x5480d5(0x261)][_0x5480d5(0x2c1)];return this[_0x5480d5(0x34c)](this[_0x5480d5(0x261)][_0x5480d5(0x2d2)]);}get[a0_0x59051e(0x1f2)](){const _0x3a5e8c=a0_0x59051e;return this[_0x3a5e8c(0x261)][_0x3a5e8c(0x1f2)]||'';}get[a0_0x59051e(0x44a)](){const _0x3a4183=a0_0x59051e;return Boolean(this['_raw'][_0x3a4183(0x44a)]);}[a0_0x59051e(0x241)](){const _0x3ba192=a0_0x59051e;return Boolean(this['_raw'][_0x3ba192(0x2d3)]);}['isPrimaryKey'](){const _0x3d3182=a0_0x59051e;return Boolean(this[_0x3d3182(0x261)]['pkField']);}['isSystem'](){const _0x52a79c=a0_0x59051e;return Boolean(this['_raw'][_0x52a79c(0x426)]);}[a0_0x59051e(0x3b6)](){const _0x449808=a0_0x59051e;return Boolean(this[_0x449808(0x261)]['autoIncrement']);}[a0_0x59051e(0x2ae)](){return this['_raw']['systemRetain']==='createTime';}[a0_0x59051e(0x20d)](){const _0x26a644=a0_0x59051e;return this[_0x26a644(0x261)][_0x26a644(0x426)]==='updateTime';}[a0_0x59051e(0x40c)](){const _0x2e1656=a0_0x59051e;return this[_0x2e1656(0x261)]['displayName']||'';}[a0_0x59051e(0x2c9)](){const _0x3ba5b3=a0_0x59051e;return this[_0x3ba5b3(0x261)][_0x3ba5b3(0x2e6)]||'';}[a0_0x59051e(0x31a)](){const _0x26fc3c=a0_0x59051e;return Boolean(this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)]&&Array[_0x26fc3c(0x2e0)](this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)])&&this[_0x26fc3c(0x261)][_0x26fc3c(0x25c)][_0x26fc3c(0x32e)]>0x0);}['isMultipleSelect'](){const _0x1fb984=a0_0x59051e,_0x53d186=this[_0x1fb984(0x261)][_0x1fb984(0x293)];if(!_0x53d186)return![];try{const _0x96a134=JSON[_0x1fb984(0x1ae)](_0x53d186);if(_0x96a134&&typeof _0x96a134===_0x1fb984(0x434)&&_0x1fb984(0x1e0)in _0x96a134)return Boolean(_0x96a134['multiple']);}catch{}return![];}[a0_0x59051e(0x288)](){const _0x5dc34c=a0_0x59051e;if(this['_raw'][_0x5dc34c(0x25c)]&&Array[_0x5dc34c(0x2e0)](this[_0x5dc34c(0x261)][_0x5dc34c(0x25c)]))return this['_raw']['options'];return;}[a0_0x59051e(0x268)](){const _0x2abefc=a0_0x59051e,_0x3cc132=this[_0x2abefc(0x261)]['extend'];if(!_0x3cc132)return;try{const _0x49cd67=JSON[_0x2abefc(0x1ae)](_0x3cc132);if(_0x49cd67&&typeof _0x49cd67===_0x2abefc(0x434)&&_0x2abefc(0x326)in _0x49cd67)return _0x49cd67['selectItemsSource'];}catch{}return;}[a0_0x59051e(0x2f6)](){const _0x5bca42=a0_0x59051e;if(!this[_0x5bca42(0x261)][_0x5bca42(0x2d2)])return'';return this[_0x5bca42(0x261)][_0x5bca42(0x2d2)]['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x5bca42(0x242)]()[_0x5bca42(0x40a)]();}[a0_0x59051e(0x342)](){return;}[a0_0x59051e(0x2fc)](){return;}get[a0_0x59051e(0x2d2)](){return this['_raw']['dbType']??undefined;}get[a0_0x59051e(0x251)](){const _0x3cfc46=a0_0x59051e;return this[_0x3cfc46(0x261)]['dbTypeLen'];}[a0_0x59051e(0x2dd)](){const _0x2fec05=a0_0x59051e;return this[_0x2fec05(0x261)][_0x2fec05(0x2c1)]??null;}get[a0_0x59051e(0x2c1)](){const _0x43612c=a0_0x59051e;return this['_raw'][_0x43612c(0x2c1)]??null;}[a0_0x59051e(0x345)](){const _0x59464b=a0_0x59051e;return{'name':this['name'],'code':this[_0x59464b(0x1cb)],'type':this[_0x59464b(0x280)],'dbType':this[_0x59464b(0x2d2)],'dbTypeLen':this[_0x59464b(0x251)],'doType':this['getDOType'](),'displayName':this[_0x59464b(0x45b)],'description':this[_0x59464b(0x1f2)],'required':this['isRequired'](),'primaryKey':this[_0x59464b(0x3a4)](),'system':this[_0x59464b(0x38c)](),'autoIncrement':this[_0x59464b(0x3b6)](),'createTime':this[_0x59464b(0x2ae)](),'updateTime':this[_0x59464b(0x20d)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x59464b(0x31a)]()?this[_0x59464b(0x336)]():undefined};}[a0_0x59051e(0x3c8)](){const _0x88f066=a0_0x59051e;return _0x88f066(0x343)+this[_0x88f066(0x2e6)]+',\x20'+this[_0x88f066(0x1cb)]+',\x20'+this[_0x88f066(0x2d2)]+',\x20doType='+this['getDOType']()+')';}['mapDbTypeToType'](_0x3fb33d){const _0x294a07=a0_0x59051e;if(!_0x3fb33d)return _0x294a07(0x3fe);const _0x3179b4={};_0x3179b4[_0x294a07(0x2aa)]=_0x294a07(0x3fe),_0x3179b4[_0x294a07(0x3d9)]=_0x294a07(0x3fe),_0x3179b4[_0x294a07(0x3fe)]='TEXTAREA',_0x3179b4[_0x294a07(0x45f)]=_0x294a07(0x257),_0x3179b4[_0x294a07(0x361)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x222)]=_0x294a07(0x2d6),_0x3179b4['TINYINT']='NUMBER',_0x3179b4[_0x294a07(0x381)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x447)]=_0x294a07(0x2d6),_0x3179b4[_0x294a07(0x299)]='NUMBER',_0x3179b4['FLOAT']='NUMBER',_0x3179b4[_0x294a07(0x1da)]='DATE',_0x3179b4['TIMESTAMP']=_0x294a07(0x23c),_0x3179b4[_0x294a07(0x23c)]=_0x294a07(0x23c),_0x3179b4[_0x294a07(0x3e2)]=_0x294a07(0x3e2),_0x3179b4['BOOLEAN']='SWITCH',_0x3179b4[_0x294a07(0x406)]=_0x294a07(0x224),_0x3179b4[_0x294a07(0x2b6)]=_0x294a07(0x39f),_0x3179b4[_0x294a07(0x436)]='FILE';const _0x2bb85c=_0x3179b4,_0x3b6c4b=_0x3fb33d[_0x294a07(0x40a)]();return _0x2bb85c[_0x3b6c4b]||_0x294a07(0x3fe);}}class FieldListV2 extends FieldListBase{constructor(_0xbcc117,_0xe3f6fc){super(_0xbcc117,_0xe3f6fc);}[a0_0x59051e(0x314)](_0x108c9b){const _0x6dcb14=a0_0x59051e;return _0x108c9b[_0x6dcb14(0x390)](_0x49e60b=>new FieldV2(_0x49e60b));}[a0_0x59051e(0x272)](){const _0x312075=a0_0x59051e;return[...this[_0x312075(0x29e)]];}['at'](_0x52fc48){return this['_fields']['at'](_0x52fc48);}[a0_0x59051e(0x42e)](_0xb42015){const _0x18da8b=a0_0x59051e;return this[_0x18da8b(0x29e)]['find'](_0x1f4418=>_0x1f4418[_0x18da8b(0x1cb)]===_0xb42015);}[a0_0x59051e(0x30c)](_0x356f6a){const _0xa5e4c4=a0_0x59051e;return this[_0xa5e4c4(0x29e)][_0xa5e4c4(0x42e)](_0x8b66e9=>_0x8b66e9[_0xa5e4c4(0x40c)]()===_0x356f6a);}[a0_0x59051e(0x3a8)](_0x4458c1){const _0x2b1995=a0_0x59051e;return this[_0x2b1995(0x29e)]['filter'](_0x4458c1);}[a0_0x59051e(0x390)](_0x4b82b2){const _0x467317=a0_0x59051e;return this[_0x467317(0x29e)]['map'](_0x4b82b2);}[a0_0x59051e(0x438)](){const _0x5ad81d=a0_0x59051e;return this[_0x5ad81d(0x29e)]['filter'](_0x18537d=>_0x18537d['isRequired']());}[a0_0x59051e(0x27f)](){const _0x1a6652=a0_0x59051e;return this[_0x1a6652(0x29e)][_0x1a6652(0x3a8)](_0x575a9e=>_0x575a9e[_0x1a6652(0x3a4)]());}[a0_0x59051e(0x36f)](){const _0xd60796=a0_0x59051e;return this[_0xd60796(0x29e)][_0xd60796(0x3a8)](_0x10bea7=>_0x10bea7[_0xd60796(0x38c)]());}[a0_0x59051e(0x269)](){const _0x47765a=a0_0x59051e;return this[_0x47765a(0x29e)][_0x47765a(0x3a8)](_0x42aaf2=>_0x42aaf2['isBusiness']());}[a0_0x59051e(0x320)](){const _0x4b8927=a0_0x59051e;return this[_0x4b8927(0x29e)]['filter'](_0x1487b2=>_0x1487b2[_0x4b8927(0x31a)]());}[a0_0x59051e(0x3b7)](){const _0x2082c1=a0_0x59051e,_0x53925a={};return this[_0x2082c1(0x29e)][_0x2082c1(0x246)](_0x3ba3bc=>{const _0x14d5e2=_0x2082c1,_0x35a8e3=_0x3ba3bc[_0x14d5e2(0x280)];!_0x53925a[_0x35a8e3]&&(_0x53925a[_0x35a8e3]=[]),_0x53925a[_0x35a8e3]['push'](_0x3ba3bc);}),_0x53925a;}[a0_0x59051e(0x3fa)](){const _0x3f65e7=a0_0x59051e;return this[_0x3f65e7(0x29e)][_0x3f65e7(0x390)](_0x1bfc3f=>_0x1bfc3f['raw']);}static[a0_0x59051e(0x2f2)](_0x4ad3ff){const _0x17f26f=_0x4ad3ff['map'](_0x3882ad=>_0x3882ad['raw']);return new FieldListV2(_0x17f26f);}static[a0_0x59051e(0x28c)](_0x2afa69){const _0x879826=a0_0x59051e,_0x53eb30={};return _0x53eb30[_0x879826(0x1b1)]=!![],new FieldListV2(_0x2afa69,_0x53eb30);}['toString'](){const _0x3b65e7=a0_0x59051e;return _0x3b65e7(0x2af)+this[_0x3b65e7(0x32e)]+_0x3b65e7(0x27b);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x59051e(0x2e8)];constructor(_0x85d6f3){super(_0x85d6f3);}[a0_0x59051e(0x378)](){const _0x180729=a0_0x59051e;if(!this[_0x180729(0x3e8)]){const _0x39a20f={};_0x39a20f[_0x180729(0x1b1)]=![],this[_0x180729(0x3e8)]=new FieldListV1(this[_0x180729(0x261)][_0x180729(0x376)]||[],_0x39a20f);}return this[_0x180729(0x3e8)];}[a0_0x59051e(0x3dd)](){const _0x5f3cfb=a0_0x59051e;if(!this['_fieldListV1WithDeleted']){const _0x40deb0={};_0x40deb0[_0x5f3cfb(0x1b1)]=!![],this['_fieldListV1WithDeleted']=new FieldListV1(this[_0x5f3cfb(0x261)][_0x5f3cfb(0x376)]||[],_0x40deb0);}return this[_0x5f3cfb(0x2e8)];}[a0_0x59051e(0x3cd)](){const _0x8d524=a0_0x59051e;return(this['_raw'][_0x8d524(0x376)]||[])[_0x8d524(0x3a8)](_0x38ef28=>!_0x38ef28[_0x8d524(0x44a)]);}['getFieldCount'](){const _0x10d476=a0_0x59051e;return this[_0x10d476(0x378)]()[_0x10d476(0x32e)];}[a0_0x59051e(0x469)](_0x50c9fe){const _0x3ecf8a=a0_0x59051e;return this[_0x3ecf8a(0x261)]['properties']?.[_0x3ecf8a(0x42e)](_0x40a32d=>_0x40a32d['code']===_0x50c9fe);}[a0_0x59051e(0x265)](){return'v1';}['getFieldDataSource'](){const _0x535f81=a0_0x59051e,_0xd70319={};return _0xd70319[_0x535f81(0x208)]=this['_raw']['properties']||[],_0xd70319['includeDeleted']=![],_0xd70319;}[a0_0x59051e(0x3f4)](){const _0x5a6803=a0_0x59051e;return this[_0x5a6803(0x261)]['operations'];}[a0_0x59051e(0x239)](){const _0x494097=a0_0x59051e;return this['_raw'][_0x494097(0x400)];}['getDBConfig'](){const _0x4e8cbc=a0_0x59051e,_0x5ccfc2=this['getRawDbtableConfig'](),_0x23c33d=_0x5ccfc2?.[_0x4e8cbc(0x448)],_0x329622={};return _0x329622[_0x4e8cbc(0x420)]=_0x5ccfc2?.[_0x4e8cbc(0x420)],_0x329622[_0x4e8cbc(0x2be)]=_0x5ccfc2?.[_0x4e8cbc(0x2be)]??_0x23c33d?.[_0x4e8cbc(0x2be)],_0x329622[_0x4e8cbc(0x2d2)]=_0x23c33d?.[_0x4e8cbc(0x2d2)],_0x329622[_0x4e8cbc(0x258)]=_0x23c33d?.['dbVersion'],_0x329622['tableName']=_0x5ccfc2?.[_0x4e8cbc(0x424)],_0x329622[_0x4e8cbc(0x250)]=_0x5ccfc2?.['datasetKey'],_0x329622[_0x4e8cbc(0x46c)]=_0x5ccfc2?.[_0x4e8cbc(0x46c)],_0x329622['tenantCode']=_0x23c33d?.[_0x4e8cbc(0x28f)],_0x329622[_0x4e8cbc(0x1d3)]=_0x23c33d?.[_0x4e8cbc(0x1d3)],new DBConfig(_0x329622,_0x5ccfc2);}get[a0_0x59051e(0x415)](){const _0x4339c4=a0_0x59051e;return this[_0x4339c4(0x261)][_0x4339c4(0x415)];}[a0_0x59051e(0x227)](_0x5c7ad9){const _0x3678fd=a0_0x59051e;if(typeof _0x5c7ad9!=='string'){!![]&&console[_0x3678fd(0x24e)](_0x3678fd(0x374),_0x5c7ad9);return;}return this[_0x3678fd(0x378)]()[_0x3678fd(0x42e)](_0x5c7ad9);}['isMultipleSelectField'](_0x17fc30){const _0x39e9a8=a0_0x59051e;if(!_0x17fc30||typeof _0x17fc30!==_0x39e9a8(0x434))return![];const _0x1c2c3a=this[_0x39e9a8(0x227)](_0x17fc30[_0x39e9a8(0x1cb)]);return _0x1c2c3a?_0x1c2c3a[_0x39e9a8(0x3a3)]():![];}[a0_0x59051e(0x1d0)](){const _0x572162=this['getOperation']('filter');return _0x572162;}[a0_0x59051e(0x24a)](){const _0x3b23a7=a0_0x59051e;return this[_0x3b23a7(0x2cc)](_0x3b23a7(0x3a8));}['toListItem'](){const _0xdfb28f=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0xdfb28f(0x2e6)],'datasetCode':this[_0xdfb28f(0x43e)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x59051e(0x274)];['_relations'];constructor(_0x1f4653){const _0x3f9214=a0_0x59051e;super(_0x1f4653),this['_datasetMeta']=_0x1f4653[_0x3f9214(0x25e)],this['_relations']=_0x1f4653[_0x3f9214(0x3ca)]||[];}['getVersion'](){return'v2';}[a0_0x59051e(0x414)](){const _0x3ad071=a0_0x59051e,_0x1cf922={};return _0x1cf922[_0x3ad071(0x208)]=this[_0x3ad071(0x261)][_0x3ad071(0x208)],_0x1cf922[_0x3ad071(0x1b1)]=![],_0x1cf922;}['getOperationsData'](){return this['_raw']['operations'];}[a0_0x59051e(0x239)](){const _0x252e08=a0_0x59051e;return this[_0x252e08(0x261)][_0x252e08(0x400)];}[a0_0x59051e(0x308)](){const _0x47c5ee=a0_0x59051e,_0x3f18d0=this['_raw'][_0x47c5ee(0x36c)],_0x113d4a=_0x3f18d0?.[_0x47c5ee(0x448)],_0x5801ac={};return _0x5801ac['dbId']=_0x3f18d0?.['dbId'],_0x5801ac['dbName']=_0x3f18d0?.[_0x47c5ee(0x2be)]??_0x113d4a?.['dbName'],_0x5801ac['dbType']=_0x113d4a?.[_0x47c5ee(0x2d2)],_0x5801ac[_0x47c5ee(0x258)]=_0x113d4a?.['dbVersion'],_0x5801ac[_0x47c5ee(0x424)]=_0x3f18d0?.[_0x47c5ee(0x424)],_0x5801ac[_0x47c5ee(0x250)]=_0x3f18d0?.['datasetKey'],_0x5801ac[_0x47c5ee(0x46c)]=_0x3f18d0?.[_0x47c5ee(0x46c)],_0x5801ac[_0x47c5ee(0x28f)]=_0x3f18d0?.[_0x47c5ee(0x28f)]??_0x113d4a?.[_0x47c5ee(0x28f)],_0x5801ac[_0x47c5ee(0x1d3)]=_0x3f18d0?.['appCode']??_0x113d4a?.[_0x47c5ee(0x1d3)],new DBConfig(_0x5801ac,_0x3f18d0);}['getFieldList'](){const _0x6fe843=a0_0x59051e;return this[_0x6fe843(0x1e6)]();}['getFields'](){const _0x147dbf=a0_0x59051e;return this[_0x147dbf(0x261)][_0x147dbf(0x208)]||[];}[a0_0x59051e(0x367)](){const _0x2cfd47=a0_0x59051e;return(this[_0x2cfd47(0x261)][_0x2cfd47(0x208)]||[])[_0x2cfd47(0x32e)];}['getFieldRaw'](_0x2c0d00){const _0x46ad46=a0_0x59051e;return this['_raw'][_0x46ad46(0x208)][_0x46ad46(0x42e)](_0x259828=>_0x259828[_0x46ad46(0x2e6)]===_0x2c0d00);}[a0_0x59051e(0x298)](){const _0x37c459=a0_0x59051e;return this[_0x37c459(0x274)];}[a0_0x59051e(0x2ee)](){const _0x312b56=a0_0x59051e;return this[_0x312b56(0x212)];}[a0_0x59051e(0x405)](){const _0x5c6a8b=a0_0x59051e;return this[_0x5c6a8b(0x274)]['indexes']||[];}[a0_0x59051e(0x421)](_0x4f3793){const _0x64a5c9=a0_0x59051e;return this[_0x64a5c9(0x212)][_0x64a5c9(0x3a8)](_0x4caf24=>_0x4caf24[_0x64a5c9(0x2c4)]===_0x4f3793);}[a0_0x59051e(0x1e3)](_0x3b55a2){const _0x4a8a3a=a0_0x59051e;return this['_relations'][_0x4a8a3a(0x2fa)](_0x1979b3=>_0x1979b3['fromField']===_0x3b55a2);}[a0_0x59051e(0x29c)](_0x5e7af9){const _0x3dbd1b=a0_0x59051e,_0x2b4524=this['_relations']['find'](_0x253575=>_0x253575[_0x3dbd1b(0x2c4)]===_0x5e7af9);if(!_0x2b4524)return;const _0x1a85d9={};return _0x1a85d9[_0x3dbd1b(0x440)]=_0x2b4524[_0x3dbd1b(0x393)],_0x1a85d9['datasetCode']=_0x2b4524['toDatasetCode'],_0x1a85d9[_0x3dbd1b(0x211)]=_0x2b4524[_0x3dbd1b(0x34b)],_0x1a85d9[_0x3dbd1b(0x424)]=_0x2b4524[_0x3dbd1b(0x1e4)],_0x1a85d9[_0x3dbd1b(0x368)]=_0x2b4524[_0x3dbd1b(0x368)],_0x1a85d9;}[a0_0x59051e(0x3d0)](){const _0x271f4=a0_0x59051e;return this['_relations'][_0x271f4(0x390)](_0x1abbe8=>_0x1abbe8['fromField']);}[a0_0x59051e(0x1e6)](){const _0x409aea=a0_0x59051e;if(!this[_0x409aea(0x387)]){const _0x29c6b2=this['_raw'][_0x409aea(0x208)]||[];this['_fieldListV2']=new FieldListV2(_0x29c6b2);}return this['_fieldListV2'];}[a0_0x59051e(0x227)](_0x1ba842){const _0x561be=a0_0x59051e;if(typeof _0x1ba842!==_0x561be(0x236)){!![]&&console[_0x561be(0x24e)](_0x561be(0x209),_0x1ba842);return;}return this[_0x561be(0x1e6)]()[_0x561be(0x42e)](_0x1ba842);}[a0_0x59051e(0x42b)](_0xa5f01){const _0x237b41=a0_0x59051e;if(!_0xa5f01||typeof _0xa5f01!==_0x237b41(0x434))return![];const _0x1f7bfe=_0xa5f01[_0x237b41(0x2e6)]||_0xa5f01[_0x237b41(0x1cb)],_0x4eab8e=this[_0x237b41(0x227)](_0x1f7bfe);return _0x4eab8e?_0x4eab8e[_0x237b41(0x3a3)]():![];}[a0_0x59051e(0x2a1)](){const _0xd72756=a0_0x59051e;if(!this[_0xd72756(0x1d5)]){const _0x2061cc=this[_0xd72756(0x407)](this['getOperationsData']()||{});this['_operationList']=new OperationList(_0x2061cc,{'fields':this[_0xd72756(0x1e6)]()['all'](),'pkField':this[_0xd72756(0x261)][_0xd72756(0x36c)]?.[_0xd72756(0x46c)],'dbtableConfig':this[_0xd72756(0x261)][_0xd72756(0x36c)]||null});}return this[_0xd72756(0x1d5)];}['getFilterOperation'](){const _0x409990=a0_0x59051e,_0xee4434=this['getOperation'](_0x409990(0x3a8));return _0xee4434;}[a0_0x59051e(0x24a)](){const _0xa2fe41=a0_0x59051e;return this[_0xa2fe41(0x2cc)](_0xa2fe41(0x3a8));}[a0_0x59051e(0x311)](){const _0x2711a4=a0_0x59051e;return new DatasetItem({'id':this['id'],'name':this[_0x2711a4(0x2e6)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x2711a4(0x2a9)]()});}[a0_0x59051e(0x3c8)](){const _0x4ad65e=a0_0x59051e,_0x9aec47=this[_0x4ad65e(0x212)]['length'],_0x4d125f=this[_0x4ad65e(0x405)]()[_0x4ad65e(0x32e)];return'DrivenDataDetailV2('+this['name']+',\x20'+this[_0x4ad65e(0x43e)]+',\x20'+this['getFieldCount']()+_0x4ad65e(0x279)+this['getOperationCount']()+'\x20operations,\x20'+_0x9aec47+_0x4ad65e(0x391)+_0x4d125f+_0x4ad65e(0x3ce);}[a0_0x59051e(0x404)](){const _0x4df0f5=a0_0x59051e;return this[_0x4df0f5(0x261)][_0x4df0f5(0x208)];}['getFieldV2'](_0x21b475){const _0x231146=a0_0x59051e;return this['_raw'][_0x231146(0x208)][_0x231146(0x42e)](_0x304534=>_0x304534[_0x231146(0x2e6)]===_0x21b475);}}function detectDatasetVersion(_0x5c5846){const _0x1c4fc8=a0_0x59051e;if(_0x5c5846[_0x1c4fc8(0x35c)]==='v2'&&_0x1c4fc8(0x208)in _0x5c5846&&Array[_0x1c4fc8(0x2e0)](_0x5c5846[_0x1c4fc8(0x208)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x59051e(0x410)];constructor(_0x57e403){super(_0x57e403);const _0x2eaa0c=detectDatasetVersion(_0x57e403);this['_instance']=_0x2eaa0c==='v2'?new DrivenDataDetailV2(_0x57e403):new DrivenDataDetailV1(_0x57e403);}get['id'](){const _0x3d47ed=a0_0x59051e;return this[_0x3d47ed(0x410)]['id'];}get[a0_0x59051e(0x2e6)](){return this['_instance']['name'];}get[a0_0x59051e(0x43e)](){const _0x1622a8=a0_0x59051e;return this[_0x1622a8(0x410)]['datasetCode'];}get['version'](){const _0x5b569f=a0_0x59051e;return this[_0x5b569f(0x410)][_0x5b569f(0x265)]()==='v2'?_0x5b569f(0x369):'1.0';}[a0_0x59051e(0x265)](){const _0x1953ae=a0_0x59051e;return this['_instance'][_0x1953ae(0x265)]();}[a0_0x59051e(0x2e9)](){return this['_instance']['id'];}[a0_0x59051e(0x39e)](){const _0x40f08f=a0_0x59051e;return this[_0x40f08f(0x410)][_0x40f08f(0x43e)];}[a0_0x59051e(0x1d4)](){const _0xf45a2c=a0_0x59051e;return this[_0xf45a2c(0x410)][_0xf45a2c(0x2e6)];}[a0_0x59051e(0x414)](){const _0x2c80a8=a0_0x59051e;return this[_0x2c80a8(0x410)][_0x2c80a8(0x414)]();}[a0_0x59051e(0x3f4)](){const _0x2bc58e=a0_0x59051e;return this['_instance'][_0x2bc58e(0x3f4)]();}[a0_0x59051e(0x239)](){const _0x2440b6=a0_0x59051e;return this[_0x2440b6(0x410)][_0x2440b6(0x239)]();}['getFieldListWithDeleted'](){const _0x3501b9=a0_0x59051e;return this[_0x3501b9(0x410)][_0x3501b9(0x3dd)]();}[a0_0x59051e(0x378)](){const _0x56f767=a0_0x59051e;return this[_0x56f767(0x410)][_0x56f767(0x378)]();}['getFieldsWithDeleted'](){const _0x81d26f=a0_0x59051e;return this[_0x81d26f(0x410)][_0x81d26f(0x3ae)]();}[a0_0x59051e(0x3cd)](){const _0x294898=a0_0x59051e;return this['_instance'][_0x294898(0x3cd)]();}[a0_0x59051e(0x367)](){const _0x398a65=a0_0x59051e;return this[_0x398a65(0x410)][_0x398a65(0x367)]();}[a0_0x59051e(0x2d9)](){const _0x2d7532=a0_0x59051e,_0x1e8c94=this[_0x2d7532(0x410)]['getRawDbtableConfig']();return _0x1e8c94?.['pkField'];}[a0_0x59051e(0x308)](){const _0x620f7b=a0_0x59051e;return this['_instance'][_0x620f7b(0x308)]();}['getFieldInstance'](_0x15880d){const _0x430b76=a0_0x59051e;return this['_instance'][_0x430b76(0x227)](_0x15880d);}[a0_0x59051e(0x26e)](){const _0x59f18c=a0_0x59051e;return this[_0x59f18c(0x410)][_0x59f18c(0x26e)]();}[a0_0x59051e(0x20a)](){const _0x333f11=a0_0x59051e;return this[_0x333f11(0x410)][_0x333f11(0x20a)]();}[a0_0x59051e(0x20e)](){const _0x6fcd59=a0_0x59051e;return this[_0x6fcd59(0x410)]['getBusinessFields']();}[a0_0x59051e(0x2b4)](){const _0x54cee9=a0_0x59051e;return this['_instance'][_0x54cee9(0x2b4)]();}[a0_0x59051e(0x379)](){const _0x246c38=a0_0x59051e;return this[_0x246c38(0x410)]['getFieldsByType']();}[a0_0x59051e(0x1c5)](){const _0x10a36a=a0_0x59051e;return this[_0x10a36a(0x410)][_0x10a36a(0x1c5)]();}[a0_0x59051e(0x252)](){const _0x5949c3=a0_0x59051e;return this[_0x5949c3(0x410)]['getEnumFieldsMeta']();}['getOperations'](){const _0x5d938d=a0_0x59051e;return this[_0x5d938d(0x410)][_0x5d938d(0x450)]();}[a0_0x59051e(0x214)](){const _0x4ae542=a0_0x59051e;return this[_0x4ae542(0x410)][_0x4ae542(0x214)]();}[a0_0x59051e(0x1f9)](){const _0x5baefc=a0_0x59051e;return this['_instance'][_0x5baefc(0x1f9)]();}[a0_0x59051e(0x3f2)](){return this['_instance']['getDisabledOperations']();}[a0_0x59051e(0x1b4)](){const _0x4cc4ec=a0_0x59051e;return this[_0x4cc4ec(0x410)]['getEnabledOperationInstances']();}[a0_0x59051e(0x43f)](){const _0x495abf=a0_0x59051e;return this[_0x495abf(0x410)]['getDisabledOperationInstances']();}[a0_0x59051e(0x419)](){const _0x50482a=a0_0x59051e;return this[_0x50482a(0x410)]['getStats']();}[a0_0x59051e(0x298)](){const _0x1fc4d6=a0_0x59051e;return this['_instance'][_0x1fc4d6(0x298)]();}[a0_0x59051e(0x2ee)](){const _0x42dc63=a0_0x59051e;return this['_instance'][_0x42dc63(0x2ee)]();}[a0_0x59051e(0x405)](){const _0x1eb3e2=a0_0x59051e;return this[_0x1eb3e2(0x410)][_0x1eb3e2(0x405)]();}[a0_0x59051e(0x302)](){const _0xb87586=a0_0x59051e;return this['_instance'][_0xb87586(0x302)]();}[a0_0x59051e(0x2fe)](){const _0x15bc68=a0_0x59051e;return this['_instance'][_0x15bc68(0x2fe)]();}['toJSON'](){const _0x2b849f=a0_0x59051e;return this['_instance'][_0x2b849f(0x345)]();}['getFilterOperation'](){const _0x189302=a0_0x59051e;return this[_0x189302(0x410)][_0x189302(0x1d0)]();}[a0_0x59051e(0x24a)](){const _0x2a12ce=a0_0x59051e;return this['_instance'][_0x2a12ce(0x24a)]();}[a0_0x59051e(0x311)](){return this['_instance']['toListItem']();}[a0_0x59051e(0x3c8)](){const _0x63c4b3=a0_0x59051e;return this[_0x63c4b3(0x410)][_0x63c4b3(0x3c8)]();}[a0_0x59051e(0x3a9)](){return this['_instance'];}}function detectDatasetVersion2(_0x109cb8){const _0x18ee8b=a0_0x59051e;if(_0x109cb8[_0x18ee8b(0x35c)]==='v2'&&'fields'in _0x109cb8&&Array[_0x18ee8b(0x2e0)](_0x109cb8[_0x18ee8b(0x208)]))return'v2';return'v1';}function createDrivenDataDetail(_0x119f1a,_0x9b4d2a={}){const {forceVersion:_0x2b0fa0}=_0x9b4d2a;if(_0x2b0fa0==='v2')return new DrivenDataDetailV2(_0x119f1a);if(_0x2b0fa0==='v1')return new DrivenDataDetailV1(_0x119f1a);const _0x1a470c=detectDatasetVersion2(_0x119f1a);if(_0x1a470c==='v2')return new DrivenDataDetailV2(_0x119f1a);return new DrivenDataDetailV1(_0x119f1a);}function isV2Data(_0x3fc6f6){return detectDatasetVersion2(_0x3fc6f6)==='v2';}function isV1Data(_0x494a6c){return detectDatasetVersion2(_0x494a6c)==='v1';}function isV2Instance(_0x2b8a16){const _0x5ca70d=a0_0x59051e;return _0x2b8a16[_0x5ca70d(0x265)]()==='v2';}function isV1Instance(_0x357044){const _0x1fb4b7=a0_0x59051e;return _0x357044[_0x1fb4b7(0x265)]()==='v1';}class DatasetGroup{[a0_0x59051e(0x372)];constructor(_0x374128){const _0x367f5a=a0_0x59051e;this[_0x367f5a(0x372)]=Array['isArray'](_0x374128)?[..._0x374128]:[_0x374128],this[_0x367f5a(0x372)][_0x367f5a(0x33a)]((_0x2ca6b5,_0x8c36d)=>{const _0x2fd52b=Number(_0x2ca6b5['id'])||0x0,_0x254dc6=Number(_0x8c36d['id'])||0x0;return _0x254dc6-_0x2fd52b;});}[a0_0x59051e(0x1fe)](){const _0x4e5ac0=a0_0x59051e;return this[_0x4e5ac0(0x372)]['length']>0x1;}['getLatest'](){const _0x5593a7=a0_0x59051e;return this[_0x5593a7(0x372)][0x0];}[a0_0x59051e(0x364)](){const _0x286b49=a0_0x59051e;return this[_0x286b49(0x372)][this['items'][_0x286b49(0x32e)]-0x1];}['getAll'](){const _0x11bd9a=a0_0x59051e;return[...this[_0x11bd9a(0x372)]];}[a0_0x59051e(0x206)](){const _0x4386ad=a0_0x59051e;return this[_0x4386ad(0x372)][_0x4386ad(0x32e)];}[a0_0x59051e(0x20f)](_0x1d2737){return this['items'][_0x1d2737];}[a0_0x59051e(0x384)](_0x304856){const _0x1202e8=a0_0x59051e;return this[_0x1202e8(0x372)][_0x1202e8(0x42e)](_0x2bb321=>_0x2bb321['id']===_0x304856);}[a0_0x59051e(0x1b9)](_0x119f77){const _0x41e86c=a0_0x59051e;return this[_0x41e86c(0x372)][_0x41e86c(0x42e)](_0x5ace34=>_0x5ace34['datasetCode']===_0x119f77);}[a0_0x59051e(0x301)](){const _0x1e3dcf=a0_0x59051e;return this[_0x1e3dcf(0x372)][_0x1e3dcf(0x390)](_0x3d3446=>_0x3d3446['id'])[_0x1e3dcf(0x3a8)](_0x32c57a=>_0x32c57a!==undefined);}[a0_0x59051e(0x1c9)](){const _0x3d86bd=a0_0x59051e;return this[_0x3d86bd(0x372)]['map'](_0x388e72=>_0x388e72[_0x3d86bd(0x43e)]);}[a0_0x59051e(0x3c8)](){const _0x511bf2=a0_0x59051e;if(this[_0x511bf2(0x1fe)]())return _0x511bf2(0x1eb)+this[_0x511bf2(0x372)][_0x511bf2(0x32e)]+_0x511bf2(0x22c)+this['getLatest']()['name']+')';return _0x511bf2(0x1eb)+this[_0x511bf2(0x372)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x59051e(0x2ad)];constructor(_0x2e1d01){const _0x4f5234=a0_0x59051e;this[_0x4f5234(0x2ad)]=new Map();for(const _0x24d4d5 of _0x2e1d01){const _0x101b2e=_0x24d4d5[_0x4f5234(0x2ef)](),_0xd6b48b=_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x420)],_0x12240c=_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x2be)]||_0x24d4d5[_0x4f5234(0x36c)]?.[_0x4f5234(0x448)]?.['dbName']||'',_0x201b43=_0xd6b48b!==undefined&&_0xd6b48b!==null?'db'+_0xd6b48b:_0x12240c?getTableKey(_0x12240c):'',_0x326266=_0x201b43?_0x201b43+'_'+_0x101b2e:_0x101b2e,_0x187589=getTableKey(_0x326266);if(!this[_0x4f5234(0x2ad)][_0x4f5234(0x370)](_0x187589))this[_0x4f5234(0x2ad)]['set'](_0x187589,new DatasetGroup(_0x24d4d5));else{const _0x2f862d=this[_0x4f5234(0x2ad)]['get'](_0x187589),_0x5b6af3=[..._0x2f862d[_0x4f5234(0x221)](),_0x24d4d5];this[_0x4f5234(0x2ad)][_0x4f5234(0x380)](_0x187589,new DatasetGroup(_0x5b6af3));}}}[a0_0x59051e(0x2a8)](_0x3d0428){return this['groups']['get'](_0x3d0428);}[a0_0x59051e(0x370)](_0x52874b){const _0x44fe13=a0_0x59051e;return this[_0x44fe13(0x2ad)][_0x44fe13(0x370)](_0x52874b);}get[a0_0x59051e(0x203)](){const _0x329ab8=a0_0x59051e;return this['groups'][_0x329ab8(0x203)];}[a0_0x59051e(0x3ba)](){const _0x453575=a0_0x59051e;return this[_0x453575(0x2ad)][_0x453575(0x3ba)]();}[a0_0x59051e(0x34f)](){const _0x2be7f6=a0_0x59051e;return this['groups'][_0x2be7f6(0x34f)]();}[a0_0x59051e(0x3f5)](){const _0x1e38c1=a0_0x59051e;return this[_0x1e38c1(0x2ad)][_0x1e38c1(0x3f5)]();}[Symbol[a0_0x59051e(0x2b3)]](){const _0x585d07=a0_0x59051e;return this['groups'][_0x585d07(0x3f5)]();}[a0_0x59051e(0x246)](_0x1a8314){const _0x5eeeba=a0_0x59051e;this[_0x5eeeba(0x2ad)][_0x5eeeba(0x246)]((_0x1932d9,_0x30d3e5)=>_0x1a8314(_0x1932d9,_0x30d3e5,this));}['getConflicts'](){const _0x159876=a0_0x59051e,_0x161281=new Map();for(const [_0x44d6ab,_0x1caf85]of this['groups']){_0x1caf85['hasConflict']()&&_0x161281[_0x159876(0x380)](_0x44d6ab,_0x1caf85);}return _0x161281;}['hasConflicts'](){const _0x11339e=a0_0x59051e;for(const _0x31b118 of this[_0x11339e(0x2ad)][_0x11339e(0x34f)]()){if(_0x31b118[_0x11339e(0x1fe)]())return!![];}return![];}[a0_0x59051e(0x3f0)](){const _0x57268f=a0_0x59051e;let _0x320b6e=0x0,_0x4e64be=0x0;for(const _0x36494c of this['groups'][_0x57268f(0x34f)]()){_0x36494c['hasConflict']()&&(_0x320b6e++,_0x4e64be+=_0x36494c[_0x57268f(0x206)]());}const _0x1c585c={};return _0x1c585c[_0x57268f(0x3ed)]=_0x320b6e,_0x1c585c[_0x57268f(0x35a)]=_0x4e64be,_0x1c585c[_0x57268f(0x292)]=this[_0x57268f(0x2ad)][_0x57268f(0x203)],_0x1c585c;}[a0_0x59051e(0x453)](){const _0x4c12a4=a0_0x59051e,_0x50a927=[];for(const _0x43a98c of this[_0x4c12a4(0x2ad)][_0x4c12a4(0x34f)]()){_0x50a927[_0x4c12a4(0x276)](..._0x43a98c['getAll']());}return _0x50a927;}['getLatestDatasets'](){const _0x1f1dcc=a0_0x59051e,_0x32319f=[];for(const _0xc60c8f of this[_0x1f1dcc(0x2ad)][_0x1f1dcc(0x34f)]()){_0x32319f[_0x1f1dcc(0x276)](_0xc60c8f[_0x1f1dcc(0x446)]());}return _0x32319f;}[a0_0x59051e(0x446)](_0x4fc0f9){const _0x5dfeaa=a0_0x59051e;return this['groups'][_0x5dfeaa(0x2a8)](_0x4fc0f9)?.['getLatest']();}[a0_0x59051e(0x221)](_0x575866){const _0x4288be=a0_0x59051e;return this['groups'][_0x4288be(0x2a8)](_0x575866)?.[_0x4288be(0x221)]()||[];}[a0_0x59051e(0x24c)](){const _0x2d5b94=a0_0x59051e,_0x2119b0=this[_0x2d5b94(0x39d)](),_0x4db8d1=new Map();for(const _0x37dcf8 of _0x2119b0){const _0x262f71=_0x37dcf8[_0x2d5b94(0x2ef)](),_0x1c0a57=_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x420)],_0x245f87=_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x2be)]||_0x37dcf8[_0x2d5b94(0x36c)]?.[_0x2d5b94(0x448)]?.['dbName']||'',_0x43fb33=_0x1c0a57!==undefined&&_0x1c0a57!==null?'db'+_0x1c0a57:_0x245f87?getTableKey(_0x245f87):'';!_0x4db8d1[_0x2d5b94(0x370)](_0x262f71)&&_0x4db8d1['set'](_0x262f71,new Set()),_0x4db8d1[_0x2d5b94(0x2a8)](_0x262f71)[_0x2d5b94(0x394)](_0x43fb33);}const _0x27e884=new Set();for(const [_0x44b3c9,_0x3482d7]of _0x4db8d1){_0x3482d7[_0x2d5b94(0x203)]>0x1&&_0x27e884[_0x2d5b94(0x394)](_0x44b3c9);}const _0x2afcfe={},_0x13066f=new Set();for(const _0x2c1f8c of _0x2119b0){const _0x1cc535=_0x2c1f8c[_0x2d5b94(0x2ef)](),_0x31f32d=_0x2c1f8c[_0x2d5b94(0x345)](),_0x142ede=getTableKey(_0x1cc535);let _0x4c5bbb=_0x142ede;const _0xb3401d=_0x2c1f8c['dbtableConfig']?.[_0x2d5b94(0x2be)]||_0x2c1f8c[_0x2d5b94(0x36c)]?.['dblinkInfoDTO']?.[_0x2d5b94(0x2be)]||'';if(_0x27e884[_0x2d5b94(0x370)](_0x1cc535)&&_0xb3401d){const _0x19f4f4=getTableKey(_0xb3401d);_0x4c5bbb=''+_0x19f4f4+_0x142ede['charAt'](0x0)[_0x2d5b94(0x40a)]()+_0x142ede[_0x2d5b94(0x313)](0x1);}let _0x4f018b=_0x4c5bbb,_0x38acbf=0x1;while(_0x13066f[_0x2d5b94(0x370)](_0x4f018b)){_0x4f018b=_0x4c5bbb+'_'+_0x38acbf,_0x38acbf++;}_0x13066f['add'](_0x4f018b);const _0xe55542=_0x4f018b;_0x2afcfe[_0x4f018b]={'key':_0x4f018b,'alias':_0xe55542,'tableName':_0x1cc535,'datasetCode':_0x31f32d[_0x2d5b94(0x43e)],'name':_0x31f32d[_0x2d5b94(0x2e6)],'id':_0x31f32d['id'],'dbName':_0xb3401d};}return _0x2afcfe;}[a0_0x59051e(0x285)](){const _0x48e597=a0_0x59051e,_0x16374f=this['getAllDatasets'](),_0x38cb1e=_0x16374f[_0x48e597(0x390)](_0x2720dd=>_0x2720dd['toJSON']());return generateFullDatasetsConfig(_0x38cb1e);}[a0_0x59051e(0x3e5)](){const _0x3837={};for(const [_0x4eb5fb,_0x2b49d5]of this['groups']){_0x3837[_0x4eb5fb]=_0x2b49d5;}return _0x3837;}[a0_0x59051e(0x345)](){const _0x206c80=a0_0x59051e,_0x40e382={};for(const [_0x54de50,_0x4403cd]of this[_0x206c80(0x2ad)]){_0x40e382[_0x54de50]=_0x4403cd[_0x206c80(0x221)]()[_0x206c80(0x390)](_0x453c10=>_0x453c10['toJSON']());}return _0x40e382;}[a0_0x59051e(0x3c8)](){const _0x30a873=a0_0x59051e;return'DatasetGroupMap('+this['groups'][_0x30a873(0x203)]+_0x30a873(0x3e3)+(this['hasConflicts']()?'has\x20conflicts':_0x30a873(0x3a7))+')';}}class DatasetList{['_datasetMap'];constructor(_0x4dfee5){const _0x524905=a0_0x59051e;let _0x16791e;if(Array[_0x524905(0x2e0)](_0x4dfee5))_0x16791e=_0x4dfee5;else{if(_0x524905(0x305)in _0x4dfee5){if(!_0x4dfee5[_0x524905(0x305)])throw new Error(_0x524905(0x41e));if(Array[_0x524905(0x2e0)](_0x4dfee5[_0x524905(0x316)]))_0x16791e=_0x4dfee5[_0x524905(0x316)][_0x524905(0x390)](_0x571299=>({..._0x571299,'datasetCode':_0x571299[_0x524905(0x1cb)]||_0x571299[_0x524905(0x43e)]}));else{if(_0x4dfee5[_0x524905(0x316)]?.['tableData'])_0x16791e=_0x4dfee5[_0x524905(0x316)][_0x524905(0x465)][_0x524905(0x390)](_0x1b1ba4=>({..._0x1b1ba4,'datasetCode':_0x1b1ba4[_0x524905(0x1cb)]||_0x1b1ba4[_0x524905(0x43e)]}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x524905(0x465)in _0x4dfee5){if(!Array[_0x524905(0x2e0)](_0x4dfee5[_0x524905(0x465)]))throw new Error(_0x524905(0x3db));_0x16791e=_0x4dfee5['tableData'][_0x524905(0x390)](_0x2cd64c=>({..._0x2cd64c,'datasetCode':_0x2cd64c[_0x524905(0x1cb)]||_0x2cd64c['datasetCode']}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x55a615=cleanDatasetNames(_0x16791e),_0x4125d9=_0x55a615[_0x524905(0x390)](_0x41e069=>new DatasetItem(_0x41e069));this[_0x524905(0x33f)]=new DatasetGroupMap(_0x4125d9);}get[a0_0x59051e(0x401)](){const _0xab5182=a0_0x59051e;return this[_0xab5182(0x33f)];}[a0_0x59051e(0x350)](){const _0x334815=a0_0x59051e;return this['_datasetMap'][_0x334815(0x453)]();}[a0_0x59051e(0x206)](){const _0x843627=a0_0x59051e;return this[_0x843627(0x350)]()[_0x843627(0x32e)];}[a0_0x59051e(0x3c1)](){const _0x197b7c=a0_0x59051e;return this[_0x197b7c(0x33f)][_0x197b7c(0x203)]===0x0;}[a0_0x59051e(0x20f)](_0x29068c){const _0x57ca53=a0_0x59051e;return this[_0x57ca53(0x350)]()[_0x29068c];}[a0_0x59051e(0x3d7)](){const _0x4676d5=a0_0x59051e;return this[_0x4676d5(0x350)]()[0x0];}['getLast'](){const _0x2dcb61=a0_0x59051e,_0x37a60e=this[_0x2dcb61(0x350)]();return _0x37a60e[_0x37a60e[_0x2dcb61(0x32e)]-0x1];}[a0_0x59051e(0x1b9)](_0x33356e){const _0x53bb12=a0_0x59051e;for(const _0x59fa4e of this[_0x53bb12(0x33f)]['values']()){const _0x20154e=_0x59fa4e[_0x53bb12(0x1b9)](_0x33356e);if(_0x20154e)return _0x20154e;}return;}[a0_0x59051e(0x30c)](_0x3488cd){const _0x4551a8=a0_0x59051e;return this[_0x4551a8(0x350)]()[_0x4551a8(0x42e)](_0x362d5f=>_0x362d5f[_0x4551a8(0x2e6)]===_0x3488cd);}[a0_0x59051e(0x384)](_0x505c43){const _0x5cd5da=a0_0x59051e;for(const _0x5c4b89 of this[_0x5cd5da(0x33f)]['values']()){const _0x6d14a7=_0x5c4b89[_0x5cd5da(0x384)](_0x505c43);if(_0x6d14a7)return _0x6d14a7;}return;}[a0_0x59051e(0x26a)](_0x4f0b9f){const _0x53f890=a0_0x59051e;for(const _0x1169ac of this['_datasetMap'][_0x53f890(0x34f)]()){const _0x212da6=_0x1169ac['getLatest']();if(_0x212da6[_0x53f890(0x2ef)]()===_0x4f0b9f)return _0x212da6;}return;}['findAllByTableName'](_0x198f05){const _0x5e8234=a0_0x59051e,_0x498453=[];for(const _0x1175b1 of this[_0x5e8234(0x33f)][_0x5e8234(0x34f)]()){const _0x9bcaf1=_0x1175b1['getLatest']();_0x9bcaf1[_0x5e8234(0x2ef)]()===_0x198f05&&_0x498453[_0x5e8234(0x276)](_0x9bcaf1);}return _0x498453;}['filter'](_0x2356a8){const _0x369628=a0_0x59051e,_0x56d408=this['getItems']()[_0x369628(0x3a8)](_0x2356a8);return new DatasetList(_0x56d408['map'](_0xa202d6=>_0xa202d6[_0x369628(0x345)]()));}['findAll'](_0x1d478b){const _0x4c1c83=a0_0x59051e;return this[_0x4c1c83(0x350)]()['filter'](_0x1d478b);}['forEach'](_0x2a563c){const _0x5e89e7=a0_0x59051e;this['getItems']()[_0x5e89e7(0x246)](_0x2a563c);}['map'](_0x291859){const _0xa1c22=a0_0x59051e;return this[_0xa1c22(0x350)]()[_0xa1c22(0x390)](_0x291859);}[Symbol[a0_0x59051e(0x2b3)]](){const _0x300e28=a0_0x59051e;return this[_0x300e28(0x350)]()[Symbol['iterator']]();}[a0_0x59051e(0x249)](){const _0x46ce35=a0_0x59051e;return this['getItems']()[_0x46ce35(0x3a8)](_0x3db000=>_0x3db000[_0x46ce35(0x423)]());}[a0_0x59051e(0x23f)](){const _0x3e7b1d=a0_0x59051e;return this[_0x3e7b1d(0x350)]()[_0x3e7b1d(0x3a8)](_0x837faf=>!_0x837faf['isVirtualTable']());}[a0_0x59051e(0x1ba)](){const _0x3f93f3=a0_0x59051e,_0x10899b={};for(const _0x1713ab of this[_0x3f93f3(0x33f)][_0x3f93f3(0x34f)]()){const _0x304eaa=_0x1713ab[_0x3f93f3(0x446)]()['getTableName']();_0x10899b[_0x304eaa]=_0x1713ab[_0x3f93f3(0x221)]();}return _0x10899b;}[a0_0x59051e(0x282)](){const _0x9d2e71=a0_0x59051e,_0x11d95d={};for(const _0x2bdd7e of this['_datasetMap']['getConflicts']()[_0x9d2e71(0x34f)]()){const _0x570566=_0x2bdd7e[_0x9d2e71(0x446)]()[_0x9d2e71(0x2ef)]();_0x11d95d[_0x570566]=_0x2bdd7e[_0x9d2e71(0x221)]()[_0x9d2e71(0x390)](_0x271545=>_0x271545[_0x9d2e71(0x345)]());}return{'hasConflicts':Object[_0x9d2e71(0x3ba)](_0x11d95d)['length']>0x0,'conflicts':_0x11d95d};}[a0_0x59051e(0x40d)](){const _0x28af5f=a0_0x59051e;return this[_0x28af5f(0x33f)]['hasConflicts']();}['getConflictingItems'](){const _0x4e68a3=a0_0x59051e,_0x449ba4=[];for(const _0x5270d6 of this[_0x4e68a3(0x33f)][_0x4e68a3(0x1f1)]()[_0x4e68a3(0x34f)]()){_0x449ba4[_0x4e68a3(0x276)](..._0x5270d6[_0x4e68a3(0x221)]());}return _0x449ba4;}['generateConfig'](_0x51244d){const _0x30b3db=a0_0x59051e;if(!_0x51244d||Object[_0x30b3db(0x3ba)](_0x51244d)['length']===0x0)return this[_0x30b3db(0x401)][_0x30b3db(0x24c)]();const _0x140aa2=this[_0x30b3db(0x350)]()['map'](_0x2cf088=>_0x2cf088[_0x30b3db(0x345)]());return generateDatasetsConfig(_0x140aa2,_0x51244d);}[a0_0x59051e(0x244)](_0x546ed3){const _0x43805f=a0_0x59051e,_0x286dd9=this[_0x43805f(0x432)](_0x546ed3);return datasetsConfigToArray(_0x286dd9);}['toConfigArray'](){const _0x20e09f=a0_0x59051e;return this[_0x20e09f(0x350)]()[_0x20e09f(0x390)](_0xa6e850=>_0xa6e850['toConfig']());}['getStats'](){const _0x42c0f9=a0_0x59051e;return{'total':this[_0x42c0f9(0x206)](),'virtualTables':this['getVirtualTables']()[_0x42c0f9(0x32e)],'realTables':this[_0x42c0f9(0x23f)]()[_0x42c0f9(0x32e)],'hasConflicts':this[_0x42c0f9(0x40d)](),'conflictCount':this[_0x42c0f9(0x3b9)]()[_0x42c0f9(0x32e)]};}[a0_0x59051e(0x2f3)](){const _0x4aca9a=a0_0x59051e;return this[_0x4aca9a(0x350)]()['map'](_0x30f142=>_0x30f142[_0x4aca9a(0x345)]());}[a0_0x59051e(0x345)](){return this['toArray']();}[a0_0x59051e(0x3c8)](){const _0xb9f527=a0_0x59051e;return _0xb9f527(0x2ca)+this[_0xb9f527(0x206)]()+_0xb9f527(0x392)+this[_0xb9f527(0x33f)][_0xb9f527(0x203)]+_0xb9f527(0x1c8);}static[a0_0x59051e(0x223)](_0x14fb32){return new DatasetList(_0x14fb32);}static[a0_0x59051e(0x403)](_0x29a32a){return new DatasetList(_0x29a32a);}static[a0_0x59051e(0x2dc)](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE='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';function renderTemplate(_0x3638f2,_0x36e818,_0x220091={}){const _0x13f31f=a0_0x59051e;let _0x4cda91=_0x3638f2;return Object[_0x13f31f(0x3f5)](_0x220091)[_0x13f31f(0x246)](([_0x108221,_0x34928b])=>{const _0x4e2084=_0x13f31f,_0x56cea3=new RegExp(_0x4e2084(0x278)+_0x108221+_0x4e2084(0x291),'g');_0x4cda91=_0x4cda91[_0x4e2084(0x210)](_0x56cea3,_0x34928b?'$1':'');}),Object[_0x13f31f(0x3f5)](_0x36e818)['forEach'](([_0x323141,_0x56a331])=>{const _0x3f6516=_0x13f31f;if(_0x56a331!==undefined){const _0x529077=new RegExp('\x5c{\x5c{'+_0x323141+_0x3f6516(0x3e7),'g');_0x4cda91=_0x4cda91[_0x3f6516(0x210)](_0x529077,_0x56a331);}}),_0x4cda91;}function generateSDKInitCode(_0x11efd3,_0x27ebb5,_0xa62064,_0x2c5758,_0x538784){const _0x3ad549=a0_0x59051e,_0x1adea9={};_0x1adea9[_0x3ad549(0x1d3)]=_0x11efd3,_0x1adea9[_0x3ad549(0x43e)]=_0x27ebb5,_0x1adea9[_0x3ad549(0x2c8)]=_0xa62064,_0x1adea9[_0x3ad549(0x45c)]=_0x2c5758==='daily'?_0x3ad549(0x1d7):undefined;const _0xb18a6a={};return _0xb18a6a[_0x3ad549(0x45c)]=_0x2c5758!==undefined&&_0x2c5758!=='online',_0xb18a6a['isOpenAPI']=_0x538784===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x1adea9,_0xb18a6a);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x59051e(0x32a);function generateAliasExplanation(_0x443d77,_0x320f2b,_0x371454,_0x233834){const _0x33b2fb=a0_0x59051e,_0x2b6a3f='dataset_'+_0x443d77,_0x13a191=_0x33b2fb(0x398),_0x1035a8={};return _0x1035a8['datasetCode']=_0x443d77,_0x1035a8['datasetSDKKey']=_0x2b6a3f,_0x1035a8[_0x33b2fb(0x424)]=_0x320f2b,_0x1035a8['alias']=_0x371454,_0x1035a8['appCode']=_0x233834,_0x1035a8['exampleWhere']=_0x13a191,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x1035a8,{});}function DrivenDataDetailPlusMixin(_0x137206){const _0x29f5df=a0_0x59051e;return class _0x547c73 extends _0x137206{[_0x29f5df(0x1f3)](_0xea0426){const _0x56f08a=_0x29f5df;return{'appCode':_0xea0426,'datasetSDKKey':this[_0x56f08a(0x27c)](),'alias':this[_0x56f08a(0x399)](),'tableName':this[_0x56f08a(0x2ef)](),'datasetCode':this[_0x56f08a(0x43e)]};}['generateSDKInitCode'](_0x54d83c,_0x6291bb=_0x29f5df(0x245),_0x54cd7f=![]){const _0x5237f9=_0x29f5df;return generateSDKInitCode(_0x54d83c,this['datasetCode'],this[_0x5237f9(0x399)](),_0x6291bb===_0x5237f9(0x1d7)?_0x6291bb:undefined,_0x54cd7f);}['generateFullSDKExample'](_0x1a0a2d,_0x43bb57,_0x231465={}){const _0x397581=_0x29f5df,_0x5dcfbf=this[_0x397581(0x450)]()[_0x397581(0x42e)](_0x310e58=>_0x310e58[_0x397581(0x1d4)]()===_0x1a0a2d);if(!_0x5dcfbf)return null;const _0x2e59c4={};_0x2e59c4[_0x397581(0x2ff)]=_0x231465[_0x397581(0x27d)]!==![];const _0xe12a01=this[_0x397581(0x3a2)](_0x1a0a2d,_0x2e59c4);if(!_0xe12a01)return null;const _0x1b5aa5=[];return _0x1b5aa5[_0x397581(0x276)]('//\x20Call\x20the\x20'+_0x5dcfbf[_0x397581(0x1d4)]()+_0x397581(0x3c9)),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x297)][_0x397581(0x1cb)]),_0x1b5aa5['push'](''),_0x231465[_0x397581(0x327)]!==![]&&(_0x1b5aa5[_0x397581(0x276)]('//\x20Usage\x20examples'),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x1b6)][_0x397581(0x207)]),_0x1b5aa5[_0x397581(0x276)](''),_0x1b5aa5[_0x397581(0x276)](_0xe12a01[_0x397581(0x1b6)][_0x397581(0x3b1)])),_0x1b5aa5[_0x397581(0x2f5)]('\x0a');}[_0x29f5df(0x1ed)](_0x256abf={}){const _0x41eb93=_0x29f5df,_0x10ac15=this['getEnabledOperationAnalyses'](),_0x6a8a6f=[];return _0x10ac15[_0x41eb93(0x246)]((_0x278325,_0xcb796e)=>{const _0x1c9502=_0x41eb93,_0x15cf90=this[_0x1c9502(0x205)](_0x278325[_0x1c9502(0x2e6)],_0x1c9502(0x1fb),_0x256abf);_0x15cf90&&(_0x6a8a6f[_0x1c9502(0x276)](_0x1c9502(0x2b0)+(_0xcb796e+0x1)+'.\x20'+_0x278325[_0x1c9502(0x45b)]),_0x6a8a6f[_0x1c9502(0x276)](_0x15cf90),_0x6a8a6f[_0x1c9502(0x276)](''));}),_0x6a8a6f['join']('\x0a');}[_0x29f5df(0x2b9)](_0xb34958){const _0x571750=_0x29f5df,_0x58ccbc=this[_0x571750(0x254)](_0xb34958);if(!_0x58ccbc)return null;const _0x556b66={};return _0x556b66['name']=_0x58ccbc[_0x571750(0x2e6)],_0x556b66[_0x571750(0x45b)]=_0x58ccbc['displayName'],_0x556b66[_0x571750(0x2f9)]=_0x58ccbc[_0x571750(0x2f9)],_0x556b66[_0x571750(0x377)]=_0x58ccbc['path'],_0x556b66['enabled']=_0x58ccbc[_0x571750(0x441)],_0x556b66['requestFieldCount']=_0x58ccbc['requestFields'][_0x571750(0x32e)],_0x556b66[_0x571750(0x40f)]=_0x58ccbc[_0x571750(0x45a)]!==null,_0x556b66;}[_0x29f5df(0x1ce)](_0x35e4a5={}){const _0x31fcfa=_0x29f5df,_0x1cc366=this[_0x31fcfa(0x445)]();return{'datasetName':this[_0x31fcfa(0x2e6)],'datasetCode':this[_0x31fcfa(0x43e)],'tableName':this['getTableName'](),'totalOperations':_0x1cc366[_0x31fcfa(0x32e)],'operations':_0x1cc366['map'](_0x4570b9=>({'name':_0x4570b9[_0x31fcfa(0x2e6)],'displayName':_0x4570b9[_0x31fcfa(0x45b)],'method':_0x4570b9['method'],'enabled':_0x4570b9[_0x31fcfa(0x441)]}))};}[_0x29f5df(0x2c2)](_0x578300){const _0x2e3ee8=_0x29f5df,_0x59e48f=this[_0x2e3ee8(0x254)](_0x578300);if(!_0x59e48f)return[];return _0x59e48f['requestFields']['map'](_0x368c0f=>{const _0x3742b2=_0x2e3ee8,_0x583c77=this[_0x3742b2(0x227)](_0x368c0f);if(!_0x583c77)return null;const _0x20650d={};return _0x20650d[_0x3742b2(0x1cb)]=_0x368c0f,_0x20650d[_0x3742b2(0x2e6)]=_0x583c77[_0x3742b2(0x2e6)]||_0x368c0f,_0x20650d;})['filter'](_0x484a23=>_0x484a23!==null);}['getMissingCRUDOperations'](){const _0x2aa401=_0x29f5df,_0x2cd495=new Set(this[_0x2aa401(0x445)]()[_0x2aa401(0x390)](_0x4dd339=>String(_0x4dd339['type']))),_0x32085e=[_0x2aa401(0x382),_0x2aa401(0x339),_0x2aa401(0x234),_0x2aa401(0x28d)];return _0x32085e['filter'](_0x30c633=>!_0x2cd495['has'](String(_0x30c633)));}['generateAliasExplanation'](_0x50c3c4='demo-app'){const _0x444ae9=_0x29f5df;return generateAliasExplanation(this[_0x444ae9(0x43e)],this[_0x444ae9(0x2ef)](),this[_0x444ae9(0x399)](),_0x50c3c4);}};}function operationToAnalysis(_0xf8e0bd){const _0x44dd84=a0_0x59051e;return{'name':_0xf8e0bd['getName'](),'displayName':_0xf8e0bd['getDisplayName'](),'type':_0xf8e0bd[_0x44dd84(0x321)](),'method':_0xf8e0bd[_0x44dd84(0x1c4)](),'path':_0xf8e0bd['getPath'](),'fullUrl':_0xf8e0bd[_0x44dd84(0x21c)](),'requestFields':_0xf8e0bd[_0x44dd84(0x204)](),'requestParams':_0xf8e0bd[_0x44dd84(0x2ce)](),'responseSchema':_0xf8e0bd[_0x44dd84(0x2d1)](),'requestExample':_0xf8e0bd[_0x44dd84(0x213)](),'responseExample':_0xf8e0bd[_0x44dd84(0x38a)](),'enabled':_0xf8e0bd[_0x44dd84(0x3b3)]()};}function operationsToAnalyses(_0x22fe02){const _0x23e8fe=a0_0x59051e;if(!Array[_0x23e8fe(0x2e0)](_0x22fe02))return!![]&&console[_0x23e8fe(0x24e)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x22fe02),[];return _0x22fe02[_0x23e8fe(0x390)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x44b3dd){const _0x4c9abb=a0_0x59051e,_0x4857d1=_0x44b3dd['find'](_0x511c96=>_0x511c96['name']===_0x4c9abb(0x3a8)),_0xe6c820=_0x44b3dd[_0x4c9abb(0x3a8)](_0x55f1fa=>_0x55f1fa[_0x4c9abb(0x2e6)]!==_0x4c9abb(0x3a8));return _0x4857d1?[_0x4857d1,..._0xe6c820]:_0xe6c820;}function filterOperationAnalyses(_0x5bf01d,_0x22d8e7={}){const _0x514a19=a0_0x59051e;let _0x16066f=_0x5bf01d;return!_0x22d8e7[_0x514a19(0x225)]&&(_0x16066f=_0x16066f['filter'](_0x6d13f5=>_0x6d13f5[_0x514a19(0x441)])),_0x22d8e7[_0x514a19(0x2b2)]!==![]&&(_0x16066f=filterApiOperations(_0x16066f)),_0x22d8e7[_0x514a19(0x27e)]&&(_0x16066f=_0x16066f['filter'](_0x22d8e7['customFilter'])),sortOperationsWithFilterFirst(_0x16066f);}function getOperationStats(_0x2b5833){const _0x4bb031=a0_0x59051e,_0x4c8ed7=_0x2b5833[_0x4bb031(0x3a8)](_0x1716bb=>_0x1716bb[_0x4bb031(0x441)]);return{'total':_0x2b5833[_0x4bb031(0x32e)],'enabled':_0x4c8ed7[_0x4bb031(0x32e)],'disabled':_0x2b5833['length']-_0x4c8ed7[_0x4bb031(0x32e)],'byType':getCountByType(_0x4c8ed7),'byMethod':getCountByMethod(_0x4c8ed7)};}function getCountByType(_0x30c3c6){const _0xbbde13={};return _0x30c3c6['forEach'](_0x14e86b=>{const _0x329b5a=a0_0x4dcf;if(_0x14e86b[_0x329b5a(0x280)])_0xbbde13[_0x14e86b[_0x329b5a(0x280)]]=(_0xbbde13[_0x14e86b[_0x329b5a(0x280)]]||0x0)+0x1;}),_0xbbde13;}function getCountByMethod(_0x61576c){const _0xf7181e=a0_0x59051e,_0x59cb1e={};return _0x61576c[_0xf7181e(0x246)](_0x1aeab5=>{const _0x38f199=_0xf7181e;_0x59cb1e[_0x1aeab5[_0x38f199(0x2f9)]]=(_0x59cb1e[_0x1aeab5['method']]||0x0)+0x1;}),_0x59cb1e;}function supportsCRUD(_0x1f177d){const _0x5e182e=a0_0x59051e,_0x3d6f73=new Set(_0x1f177d['map'](_0x1041dd=>_0x1041dd[_0x5e182e(0x280)])[_0x5e182e(0x3a8)](Boolean));return _0x3d6f73[_0x5e182e(0x370)](_0x5e182e(0x382))&&_0x3d6f73[_0x5e182e(0x370)]('getList')&&_0x3d6f73[_0x5e182e(0x370)](_0x5e182e(0x234))&&_0x3d6f73[_0x5e182e(0x370)]('delete');}function createOperationDocMeta(_0x326aa8,_0x42b70d,_0xe2566c,_0x242505,_0x149df1,_0xc6f004){const _0x128e94=a0_0x59051e,_0x32f6b4={};return _0x32f6b4[_0x128e94(0x2ff)]=_0xc6f004?.[_0x128e94(0x2ff)],{'operation':_0x326aa8,'operationInstance':_0x42b70d,'basicInfo':{'name':_0x326aa8[_0x128e94(0x2e6)],'displayName':_0x326aa8[_0x128e94(0x45b)],'method':_0x326aa8[_0x128e94(0x2f9)],'path':_0x326aa8[_0x128e94(0x377)],'fullUrl':_0x326aa8[_0x128e94(0x38d)],'enabled':_0x326aa8[_0x128e94(0x441)]},'sdkCall':{'datasetCode':_0xe2566c,'datasetSDKKey':_0x242505,'tableName':_0x149df1,'operationName':_0x326aa8['name'],'params':_0x326aa8[_0x128e94(0x1c2)],'code':_0x42b70d['generateSDKCallCode'](_0x242505,_0x32f6b4)},'usageExample':_0x42b70d[_0x128e94(0x402)](_0x242505)};}function createOperationsOverviewData(_0x1a639f){const _0x4d0eeb=a0_0x59051e,_0x271631={};_0x271631[_0x4d0eeb(0x319)]=_0x4d0eeb(0x2e6),_0x271631['label']=_0x4d0eeb(0x3c3);const _0x7f6030={};_0x7f6030['index']='displayName',_0x7f6030[_0x4d0eeb(0x240)]=_0x4d0eeb(0x460);const _0x5b0b3a={};_0x5b0b3a[_0x4d0eeb(0x319)]=_0x4d0eeb(0x2f9),_0x5b0b3a[_0x4d0eeb(0x240)]='方法';const _0x4cdec6={};_0x4cdec6[_0x4d0eeb(0x319)]=_0x4d0eeb(0x297),_0x4cdec6[_0x4d0eeb(0x240)]='SDK\x20调用';const _0x10cbfc={};_0x10cbfc[_0x4d0eeb(0x319)]='path',_0x10cbfc[_0x4d0eeb(0x240)]=_0x4d0eeb(0x3aa);const _0x2de3fa={};_0x2de3fa['index']=_0x4d0eeb(0x2a7),_0x2de3fa[_0x4d0eeb(0x240)]='完整的\x20SDK\x20调用代码';const _0x17a6dd=[_0x271631,_0x7f6030,_0x5b0b3a,_0x4cdec6,_0x10cbfc,_0x2de3fa],_0x3abe36=_0x1a639f[_0x4d0eeb(0x390)](_0x207656=>{const _0x40f8d5=_0x4d0eeb,{basicInfo:_0x2820fc,sdkCall:_0x442720}=_0x207656,_0x2b1f20=_0x442720[_0x40f8d5(0x1cb)][_0x40f8d5(0x210)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x40f8d5(0x210)](/;$/,''),_0x4a9b0f={};return _0x4a9b0f[_0x40f8d5(0x45b)]=_0x2820fc[_0x40f8d5(0x45b)],_0x4a9b0f['name']=_0x2820fc[_0x40f8d5(0x2e6)],_0x4a9b0f[_0x40f8d5(0x2f9)]=_0x2820fc[_0x40f8d5(0x2f9)],_0x4a9b0f[_0x40f8d5(0x377)]=_0x2820fc[_0x40f8d5(0x377)],_0x4a9b0f[_0x40f8d5(0x297)]=_0x2b1f20,_0x4a9b0f[_0x40f8d5(0x2a7)]=_0x442720['code'],_0x4a9b0f;}),_0x3e3057={};return _0x3e3057[_0x4d0eeb(0x3ab)]=_0x17a6dd,_0x3e3057['tableData']=_0x3abe36,_0x3e3057;}function createDatasetDocMeta(_0x3ddfc5,_0x191b36,_0x476523,_0x55ab4c,_0x193d0a,_0x45f330,_0x578401,_0x5a93f8,_0x434b3b){const _0x257cd0=a0_0x59051e,_0xb6250a={};return _0xb6250a[_0x257cd0(0x2a4)]=_0x3ddfc5+_0x257cd0(0x21e),_0xb6250a[_0x257cd0(0x2f7)]={},_0xb6250a[_0x257cd0(0x1bd)]=_0x434b3b,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x2e6)]=_0x3ddfc5,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x1cb)]=_0x191b36,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x424)]=_0x476523,_0xb6250a[_0x257cd0(0x2f7)]['datasetSDKKey']=_0x55ab4c,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x22a)]=_0x193d0a,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x400)]=_0x45f330,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x277)]=_0x578401,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x34e)]=0x0,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x23d)]=0x0,_0xb6250a[_0x257cd0(0x2f7)][_0x257cd0(0x335)]=_0x5a93f8,_0xb6250a[_0x257cd0(0x2f7)]['enabledOperationCount']=_0x434b3b[_0x257cd0(0x32e)],_0xb6250a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{['_operationAnalyses'];['getVersion'](){return'v1';}[a0_0x59051e(0x399)](){const _0x3d169d=a0_0x59051e;return this[_0x3d169d(0x2e3)]();}[a0_0x59051e(0x371)](_0xe4e109=![]){const _0x104d70=a0_0x59051e;if(!_0xe4e109&&this[_0x104d70(0x37e)])return this[_0x104d70(0x37e)];const _0x3d34f0=this[_0x104d70(0x450)]();return this[_0x104d70(0x37e)]=operationsToAnalyses(_0x3d34f0),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0x4cfb15=a0_0x59051e,_0x5976e4={};return _0x5976e4[_0x4cfb15(0x225)]=![],_0x5976e4[_0x4cfb15(0x2b2)]=!![],this[_0x4cfb15(0x3d2)](_0x5976e4);}[a0_0x59051e(0x3d2)](_0x2da04a={}){const _0x16b5ce=a0_0x59051e;return filterOperationAnalyses(this[_0x16b5ce(0x371)](),_0x2da04a);}[a0_0x59051e(0x254)](_0x2e169b){const _0xb07f63=a0_0x59051e;return this['getOperationAnalyses']()[_0xb07f63(0x42e)](_0x30f164=>_0x30f164['name']===_0x2e169b);}[a0_0x59051e(0x30b)](_0x37c876){const _0x460e90=a0_0x59051e;return this['getOperationAnalyses']()['filter'](_0x2e6c1d=>_0x2e6c1d[_0x460e90(0x280)]===_0x37c876);}[a0_0x59051e(0x3a2)](_0x1c2ec1,_0x2a2a21){const _0x453a15=a0_0x59051e,_0x2f0bad=this['getOperationAnalysis'](_0x1c2ec1);if(!_0x2f0bad)return null;const _0x97c646=this[_0x453a15(0x450)]()[_0x453a15(0x42e)](_0x513516=>_0x513516['getName']()===_0x2f0bad['name']);if(!_0x97c646)throw new Error(_0x453a15(0x365)+_0x2f0bad[_0x453a15(0x2e6)]);return createOperationDocMeta(_0x2f0bad,_0x97c646,this['datasetCode'],this[_0x453a15(0x27c)](),this[_0x453a15(0x2ef)](),_0x2a2a21);}[a0_0x59051e(0x44e)](_0x8eba16={}){const _0x4094aa=a0_0x59051e,_0x1f3250=this[_0x4094aa(0x3d2)](_0x8eba16),_0xc45525=_0x1f3250[_0x4094aa(0x390)](_0x29d7ab=>this[_0x4094aa(0x3a2)](_0x29d7ab[_0x4094aa(0x2e6)]))['filter'](_0x1baf27=>_0x1baf27!==null);return createDatasetDocMeta(this[_0x4094aa(0x2e6)],this['datasetCode'],this[_0x4094aa(0x2ef)](),this[_0x4094aa(0x27c)](),this[_0x4094aa(0x2e3)](),this[_0x4094aa(0x400)],this[_0x4094aa(0x367)](),this[_0x4094aa(0x214)](),_0xc45525);}[a0_0x59051e(0x324)](_0x2248a2){return createOperationsOverviewData(_0x2248a2);}[a0_0x59051e(0x1df)](){const _0x4fb7a0=a0_0x59051e;return supportsCRUD(this[_0x4fb7a0(0x445)]());}[a0_0x59051e(0x2f8)](){const _0x540757=a0_0x59051e;return getOperationStats(this[_0x540757(0x371)]());}[a0_0x59051e(0x3c8)](){const _0x1a9b8a=a0_0x59051e,_0x5d48c0=this[_0x1a9b8a(0x2f8)]();return _0x1a9b8a(0x1af)+this[_0x1a9b8a(0x2e6)]+',\x20'+this[_0x1a9b8a(0x43e)]+',\x20'+this[_0x1a9b8a(0x367)]()+_0x1a9b8a(0x279)+_0x5d48c0['enabled']+'/'+_0x5d48c0[_0x1a9b8a(0x2b8)]+_0x1a9b8a(0x29b);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x59051e(0x37e)];['getVersion'](){return'v2';}[a0_0x59051e(0x399)](){const _0x2d3779=a0_0x59051e;return this[_0x2d3779(0x2e3)]();}[a0_0x59051e(0x371)](_0x1b2d72=![]){const _0x41e564=a0_0x59051e;if(!_0x1b2d72&&this[_0x41e564(0x37e)])return this[_0x41e564(0x37e)];const _0x3a5bd1=this[_0x41e564(0x450)]();return this[_0x41e564(0x37e)]=operationsToAnalyses(_0x3a5bd1),this[_0x41e564(0x37e)];}[a0_0x59051e(0x445)](){const _0x28577a=a0_0x59051e,_0x5536e0={};return _0x5536e0['includeDisabled']=![],_0x5536e0[_0x28577a(0x2b2)]=!![],this[_0x28577a(0x3d2)](_0x5536e0);}[a0_0x59051e(0x3d2)](_0x288273={}){const _0x2c15df=a0_0x59051e;return filterOperationAnalyses(this[_0x2c15df(0x371)](),_0x288273);}[a0_0x59051e(0x254)](_0x5d2109){const _0xba5833=a0_0x59051e;return this['getOperationAnalyses']()[_0xba5833(0x42e)](_0x546fee=>_0x546fee[_0xba5833(0x2e6)]===_0x5d2109);}[a0_0x59051e(0x30b)](_0x26d3bb){const _0x59e495=a0_0x59051e;return this[_0x59e495(0x371)]()[_0x59e495(0x3a8)](_0xa927e6=>_0xa927e6[_0x59e495(0x280)]===_0x26d3bb);}[a0_0x59051e(0x3a2)](_0x4e0e7f,_0x28ba06){const _0x2462ad=a0_0x59051e,_0x5f0ce4=this[_0x2462ad(0x254)](_0x4e0e7f);if(!_0x5f0ce4)return null;const _0x2d5ec5=this['getOperations']()[_0x2462ad(0x42e)](_0x28276b=>_0x28276b[_0x2462ad(0x1d4)]()===_0x5f0ce4['name']);if(!_0x2d5ec5)throw new Error('Operation\x20not\x20found:\x20'+_0x5f0ce4[_0x2462ad(0x2e6)]);return createOperationDocMeta(_0x5f0ce4,_0x2d5ec5,this[_0x2462ad(0x43e)],this['getDatasetSDKKey'](),this[_0x2462ad(0x2ef)](),_0x28ba06);}[a0_0x59051e(0x44e)](_0x39961b={}){const _0x1bec50=a0_0x59051e,_0x8c452e=this[_0x1bec50(0x3d2)](_0x39961b),_0x484a7f=_0x8c452e['map'](_0x446a06=>this[_0x1bec50(0x3a2)](_0x446a06[_0x1bec50(0x2e6)]))[_0x1bec50(0x3a8)](_0x3f5446=>_0x3f5446!==null);return createDatasetDocMeta(this[_0x1bec50(0x2e6)],this[_0x1bec50(0x43e)],this['getTableName'](),this[_0x1bec50(0x27c)](),this[_0x1bec50(0x2e3)](),this[_0x1bec50(0x400)],this['getFieldCount'](),this[_0x1bec50(0x214)](),_0x484a7f);}['getOperationsOverviewData'](_0x5c2734){return createOperationsOverviewData(_0x5c2734);}[a0_0x59051e(0x1df)](){const _0x273d7d=a0_0x59051e;return supportsCRUD(this[_0x273d7d(0x445)]());}[a0_0x59051e(0x2f8)](){const _0x3f2627=a0_0x59051e;return getOperationStats(this[_0x3f2627(0x371)]());}['toString'](){const _0x41a394=a0_0x59051e,_0x4f9c4d=this[_0x41a394(0x2f8)]();return _0x41a394(0x1dc)+this[_0x41a394(0x2e6)]+',\x20'+this[_0x41a394(0x43e)]+',\x20'+this['getFieldCount']()+_0x41a394(0x279)+_0x4f9c4d[_0x41a394(0x441)]+'/'+_0x4f9c4d[_0x41a394(0x2b8)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x11196e){const _0x42c932=a0_0x59051e;if(_0x11196e['doVersion']==='v2'&&_0x42c932(0x208)in _0x11196e&&Array[_0x42c932(0x2e0)](_0x11196e[_0x42c932(0x208)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x59051e(0x410)];constructor(_0x130abd){const _0x529a51=a0_0x59051e,_0x563e60=detectDatasetVersion3(_0x130abd);return this[_0x529a51(0x410)]=_0x563e60==='v2'?new DrivenDataDetailPlusV2(_0x130abd):new DrivenDataDetailPlusV1(_0x130abd),new Proxy(this,{'get'(_0x470881,_0x5cd903){const _0x3fdb06=_0x529a51;if(_0x5cd903 in _0x470881){const _0x49645f=_0x470881[_0x5cd903];return typeof _0x49645f===_0x3fdb06(0x39a)?_0x49645f[_0x3fdb06(0x306)](_0x470881):_0x49645f;}if(_0x5cd903 in _0x470881[_0x3fdb06(0x410)]){const _0x2313bc=_0x470881[_0x3fdb06(0x410)][_0x5cd903];return typeof _0x2313bc===_0x3fdb06(0x39a)?_0x2313bc['bind'](_0x470881['_instance']):_0x2313bc;}return;},'set'(_0x316db2,_0x5190ec,_0x3322d2){return _0x316db2[_0x5190ec]=_0x3322d2,!![];},'getPrototypeOf'(_0x484eb7){const _0x4cdaf7=_0x529a51;return DrivenDataDetailPlus[_0x4cdaf7(0x3c6)];}});}get['name'](){const _0x567f27=a0_0x59051e;return this['_instance'][_0x567f27(0x2e6)];}get['id'](){const _0x347fcf=a0_0x59051e;return this[_0x347fcf(0x410)]['id'];}get[a0_0x59051e(0x43e)](){const _0x2c7acd=a0_0x59051e;return this[_0x2c7acd(0x410)]['datasetCode'];}get[a0_0x59051e(0x400)](){const _0x184f10=a0_0x59051e;return this[_0x184f10(0x410)][_0x184f10(0x400)];}get[a0_0x59051e(0x36c)](){return this['_instance']['getDBConfig']();}[a0_0x59051e(0x265)](){const _0x4a3636=a0_0x59051e,_0x35eaa4=this[_0x4a3636(0x410)]['getVersion']();return _0x35eaa4==='v2'?'v2':'v1';}[a0_0x59051e(0x367)](){const _0x4e235b=a0_0x59051e;return this[_0x4e235b(0x410)][_0x4e235b(0x367)]();}[a0_0x59051e(0x214)](){const _0x19ada9=a0_0x59051e;return this[_0x19ada9(0x410)]['getOperationCount']();}[a0_0x59051e(0x3cd)](){const _0x363e61=a0_0x59051e;return this[_0x363e61(0x410)][_0x363e61(0x3cd)]();}[a0_0x59051e(0x450)](){const _0xf6ed5b=a0_0x59051e;return this[_0xf6ed5b(0x410)][_0xf6ed5b(0x450)]();}[a0_0x59051e(0x1d2)](_0x28b20f){const _0x1e9dc4=a0_0x59051e;return this[_0x1e9dc4(0x410)][_0x1e9dc4(0x1d2)](_0x28b20f);}['getFieldInstance'](_0x2815d7){const _0x2b0945=a0_0x59051e;return this[_0x2b0945(0x410)][_0x2b0945(0x227)](_0x2815d7);}['getTableName'](){const _0x3b68d8=a0_0x59051e;return this[_0x3b68d8(0x410)]['getTableName']();}[a0_0x59051e(0x2e3)](){const _0x4c19eb=a0_0x59051e;return this[_0x4c19eb(0x410)][_0x4c19eb(0x2e3)]();}['getDatasetSDKKey'](){const _0x17ac1c=a0_0x59051e;return this[_0x17ac1c(0x410)][_0x17ac1c(0x27c)]();}[a0_0x59051e(0x378)](){const _0x152990=a0_0x59051e;return this[_0x152990(0x410)]['getFieldList']();}[a0_0x59051e(0x1c5)](){const _0x93df6=a0_0x59051e;return this['_instance'][_0x93df6(0x1c5)]();}[a0_0x59051e(0x252)](){const _0x3f4039=a0_0x59051e;return this[_0x3f4039(0x410)][_0x3f4039(0x252)]();}['isMultipleSelectField'](_0x2f9ceb){const _0x203fa5=a0_0x59051e;return this[_0x203fa5(0x410)]['isMultipleSelectField'](_0x2f9ceb);}[a0_0x59051e(0x395)](_0x5df481){return this['_instance']['getField'](_0x5df481);}[a0_0x59051e(0x35d)](_0x580261){const _0x18568d=a0_0x59051e;return this[_0x18568d(0x410)][_0x18568d(0x35d)](_0x580261);}['getFieldSelectItemsSource'](_0x5d579b){const _0x64d4d0=a0_0x59051e;return this['_instance'][_0x64d4d0(0x467)](_0x5d579b);}['getEnumFieldMeta'](_0x2017bb){const _0x25b290=a0_0x59051e;return this[_0x25b290(0x410)]['getEnumFieldMeta'](_0x2017bb);}[a0_0x59051e(0x23e)](_0xc16e16,_0x4c0ee5){const _0x2c4971=a0_0x59051e;return this[_0x2c4971(0x410)][_0x2c4971(0x23e)](_0xc16e16,_0x4c0ee5);}[a0_0x59051e(0x2cd)](_0x1f61d9){const _0xdd9f27=a0_0x59051e;return this['_instance'][_0xdd9f27(0x2cd)](_0x1f61d9);}[a0_0x59051e(0x419)](){return this['_instance']['getStats']();}['getFilterOperation'](){const _0x4e49d2=a0_0x59051e;return this['_instance'][_0x4e49d2(0x1d0)]();}['hasFilterOperation'](){const _0x3506f4=a0_0x59051e;return this['_instance'][_0x3506f4(0x24a)]();}[a0_0x59051e(0x2cc)](_0x567d61){const _0x1ae248=a0_0x59051e;return this['_instance'][_0x1ae248(0x2cc)](_0x567d61);}[a0_0x59051e(0x308)](){const _0x38b6eb=a0_0x59051e;return this[_0x38b6eb(0x410)][_0x38b6eb(0x308)]();}['getRawDbtableConfig'](){const _0x4f9291=a0_0x59051e;return this[_0x4f9291(0x410)][_0x4f9291(0x2a9)]();}['getSource'](){const _0x329ade=a0_0x59051e;return this[_0x329ade(0x410)][_0x329ade(0x239)]();}[a0_0x59051e(0x371)](_0x11cc5a){const _0x293477=a0_0x59051e;return this[_0x293477(0x410)]['getOperationAnalyses'](_0x11cc5a);}['getEnabledOperationAnalyses'](){const _0x50ab7d=a0_0x59051e;return this[_0x50ab7d(0x410)][_0x50ab7d(0x445)]();}[a0_0x59051e(0x3d2)](_0x5d154d){const _0x262c76=a0_0x59051e;return this[_0x262c76(0x410)]['getFilteredOperationAnalyses'](_0x5d154d);}[a0_0x59051e(0x254)](_0x1edd7d){const _0x3a2dc5=a0_0x59051e;return this[_0x3a2dc5(0x410)][_0x3a2dc5(0x254)](_0x1edd7d);}['getOperationAnalysesByType'](_0x22ba88){const _0x4bb613=a0_0x59051e;return this['_instance'][_0x4bb613(0x30b)](_0x22ba88);}[a0_0x59051e(0x3a2)](_0xbae79,_0x1eeaf5){const _0x3ae503=a0_0x59051e;return this[_0x3ae503(0x410)][_0x3ae503(0x3a2)](_0xbae79,_0x1eeaf5);}['getDatasetDocMeta'](_0x45081b){const _0x7c7c26=a0_0x59051e;return this[_0x7c7c26(0x410)][_0x7c7c26(0x44e)](_0x45081b);}['getOperationsOverviewData'](_0x2880a4){const _0x4bbf71=a0_0x59051e;return this[_0x4bbf71(0x410)][_0x4bbf71(0x324)](_0x2880a4);}[a0_0x59051e(0x399)](){const _0x54b0f9=a0_0x59051e;return this[_0x54b0f9(0x410)][_0x54b0f9(0x399)]();}['supportsCRUD'](){const _0x103424=a0_0x59051e;return this[_0x103424(0x410)][_0x103424(0x1df)]();}[a0_0x59051e(0x2f8)](){const _0xb6f24c=a0_0x59051e;return this[_0xb6f24c(0x410)]['getOperationStats']();}['toString'](){const _0x551f45=a0_0x59051e;return this[_0x551f45(0x410)][_0x551f45(0x3c8)]();}['getOperation'](_0x5bbb1d){const _0x32f9cb=a0_0x59051e;return this[_0x32f9cb(0x410)][_0x32f9cb(0x46e)](_0x5bbb1d);}[a0_0x59051e(0x1f3)](_0x59252d){const _0x59b8f0=a0_0x59051e;return this[_0x59b8f0(0x410)][_0x59b8f0(0x1f3)](_0x59252d);}[a0_0x59051e(0x42a)](_0x597618,_0x5d5886,_0x1784d0){const _0x3864b6=a0_0x59051e;return this[_0x3864b6(0x410)][_0x3864b6(0x42a)](_0x597618,_0x5d5886,_0x1784d0);}['generateFullSDKExample'](_0x2dc905,_0x218408,_0x4b5681){const _0x577ad4=a0_0x59051e;return this[_0x577ad4(0x410)][_0x577ad4(0x205)](_0x2dc905,_0x218408,_0x4b5681);}[a0_0x59051e(0x1ed)](_0x3ebe1a){const _0x30cda3=a0_0x59051e;return this[_0x30cda3(0x410)][_0x30cda3(0x1ed)](_0x3ebe1a);}[a0_0x59051e(0x2b9)](_0x3d9f78){const _0x4dfdfa=a0_0x59051e;return this[_0x4dfdfa(0x410)]['generateOperationSummary'](_0x3d9f78);}['generateAllOperationsSummary'](_0x19e7e8){const _0x42b862=a0_0x59051e;return this[_0x42b862(0x410)][_0x42b862(0x1ce)](_0x19e7e8);}[a0_0x59051e(0x2c2)](_0x2c7bc6){const _0x76d0ad=a0_0x59051e;return this['_instance'][_0x76d0ad(0x2c2)](_0x2c7bc6);}[a0_0x59051e(0x354)](){const _0x382556=a0_0x59051e;return this[_0x382556(0x410)][_0x382556(0x354)]();}[a0_0x59051e(0x1ee)](){const _0x1b6969=a0_0x59051e;return this[_0x1b6969(0x410)][_0x1b6969(0x1ee)]();}['getInternalInstance'](){return this['_instance'];}}function createDrivenDataDetailPlus(_0x5c7e4c,_0x5a6ab3={}){const _0x53561b=a0_0x59051e;if(_0x5a6ab3[_0x53561b(0x29f)]==='v1')return new DrivenDataDetailPlusV1(_0x5c7e4c);if(_0x5a6ab3[_0x53561b(0x29f)]==='v2')return new DrivenDataDetailPlusV2(_0x5c7e4c);if(_0x5c7e4c[_0x53561b(0x35c)]==='v2'||'dataset'in _0x5c7e4c)return new DrivenDataDetailPlusV2(_0x5c7e4c);return new DrivenDataDetailPlusV1(_0x5c7e4c);}function isPlusV2Instance(_0x3c0470){const _0x93675e=a0_0x59051e;return _0x3c0470[_0x93675e(0x265)]()==='v2';}function isPlusV1Instance(_0x6f04e7){return _0x6f04e7['getVersion']()==='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_0x3e48cd=a0_0x23f8;(function(_0x212c7e,_0x476f06){const _0x477240=a0_0x23f8,_0xe88c0=_0x212c7e();while(!![]){try{const _0x44861a=-parseInt(_0x477240(0x31b))/0x1*(parseInt(_0x477240(0x1fb))/0x2)+-parseInt(_0x477240(0x272))/0x3*(parseInt(_0x477240(0xc2))/0x4)+-parseInt(_0x477240(0x1b2))/0x5+parseInt(_0x477240(0x111))/0x6+parseInt(_0x477240(0x244))/0x7*(-parseInt(_0x477240(0x1ff))/0x8)+-parseInt(_0x477240(0x121))/0x9*(-parseInt(_0x477240(0x1e3))/0xa)+parseInt(_0x477240(0x11d))/0xb;if(_0x44861a===_0x476f06)break;else _0xe88c0['push'](_0xe88c0['shift']());}catch(_0x52ebaa){_0xe88c0['push'](_0xe88c0['shift']());}}}(a0_0x2176,0xdb15b));function toCamelCase(_0x330a92){const _0x42c2d8=a0_0x23f8;if(!_0x330a92)return'';return _0x330a92[_0x42c2d8(0x182)](/[_-]/)[_0x42c2d8(0xac)]((_0x597a0f,_0x54b3ba)=>{const _0x25b299=_0x42c2d8;if(_0x54b3ba===0x0)return _0x597a0f[_0x25b299(0xc3)]();return _0x597a0f[_0x25b299(0x126)](0x0)[_0x25b299(0x279)]()+_0x597a0f[_0x25b299(0x1f9)](0x1)[_0x25b299(0xc3)]();})['join']('');}function toPascalCase(_0x3417fa){if(!_0x3417fa)return'';const _0x144179=toCamelCase(_0x3417fa);return _0x144179['charAt'](0x0)['toUpperCase']()+_0x144179['slice'](0x1);}function toSnakeCase(_0x1638ae){const _0x20aee3=a0_0x23f8;if(!_0x1638ae)return'';return _0x1638ae['replace'](/([A-Z])/g,_0x20aee3(0x223))[_0x20aee3(0xc3)]()[_0x20aee3(0x15d)](/^_/,'');}function toKebabCase(_0x1080ef){const _0x357105=a0_0x23f8;if(!_0x1080ef)return'';return _0x1080ef['replace'](/([A-Z])/g,_0x357105(0xe5))[_0x357105(0xc3)]()[_0x357105(0x15d)](/^-/,'');}function normalizeFieldName(_0x4b1a92){const _0x419f9d=a0_0x23f8;if(!_0x4b1a92)return'';return _0x4b1a92['trim']()['replace'](/\s+/g,'_')[_0x419f9d(0x15d)](/[^a-zA-Z0-9_]/g,'_')[_0x419f9d(0x15d)](/_+/g,'_')[_0x419f9d(0x15d)](/^_|_$/g,'');}function getTableName(_0x30cd35){const _0x44be68=a0_0x23f8;if(!_0x30cd35)return _0x44be68(0x2b3);if(_0x30cd35[_0x44be68(0x2aa)]?.[_0x44be68(0x1fa)])return _0x30cd35[_0x44be68(0x2aa)][_0x44be68(0x1fa)];const _0x3d82eb=_0x30cd35[_0x44be68(0x14c)]||_0x30cd35[_0x44be68(0x22c)]||_0x30cd35[_0x44be68(0x92)];if(_0x3d82eb)return generateTableNameFromCode(_0x3d82eb);return _0x44be68(0x2b3);}function getTableKey(_0x3dac41){const _0x18a96d=a0_0x23f8;if(typeof _0x3dac41===_0x18a96d(0x278))return toCamelCase(_0x3dac41);const _0x1d4855=getTableName(_0x3dac41);return toCamelCase(_0x1d4855);}function generateTableNameFromCode(_0x1c4bb5){const _0x5c5837=a0_0x23f8;if(!_0x1c4bb5)return _0x5c5837(0x2b3);const _0x9355e1=_0x1c4bb5['slice'](-0x6)[_0x5c5837(0x240)](0x6,'0');return _0x5c5837(0x107)+_0x9355e1;}function isVirtualTableName(_0x3e9cba){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x3e9cba);}function generateModelKeyFromCode(_0x2711ff){const _0x403570=a0_0x23f8;if(!_0x2711ff)return _0x403570(0xdb);return'dataset_'+_0x2711ff;}function getDbName(_0x12d509){const _0x2d562b=a0_0x23f8;return _0x12d509[_0x2d562b(0x2aa)]?.[_0x2d562b(0x187)]||_0x12d509[_0x2d562b(0x2aa)]?.['dblinkInfoDTO']?.[_0x2d562b(0x187)]||'';}function generateDatasetsConfig(_0xb564a0,_0x58b636={}){const _0x50adcf=a0_0x23f8,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x975cd1,filter:_0x6b6a3f}=_0x58b636,_0x52c6bb=_0x6b6a3f?_0xb564a0[_0x50adcf(0x2af)](_0x6b6a3f):_0xb564a0,_0x508f96=new Map();for(const _0x2b486d of _0x52c6bb){const _0x48c42a=getTableName(_0x2b486d),_0x59944f=getDbName(_0x2b486d);!_0x508f96[_0x50adcf(0x2b9)](_0x48c42a)&&_0x508f96[_0x50adcf(0x317)](_0x48c42a,new Set()),_0x508f96[_0x50adcf(0x32d)](_0x48c42a)[_0x50adcf(0x136)](_0x59944f);}const _0x545310=new Set();for(const [_0x1a1aba,_0x4f2e92]of _0x508f96){_0x4f2e92[_0x50adcf(0x13b)]>0x1&&_0x545310['add'](_0x1a1aba);}const _0x99e6b={},_0x533672=new Set();for(const _0x340fde of _0x52c6bb){const _0x5e0ab8=getTableName(_0x340fde);if(enableDeduplication&&_0x533672[_0x50adcf(0x2b9)](_0x5e0ab8)){console[_0x50adcf(0x98)](_0x50adcf(0xf1)+_0x5e0ab8+_0x50adcf(0x154)+_0x340fde[_0x50adcf(0x246)]+'\x20('+_0x340fde[_0x50adcf(0x14c)]+')');continue;}_0x533672['add'](_0x5e0ab8);const _0x127579=_0x975cd1?_0x975cd1(_0x5e0ab8,_0x340fde):getTableKey(_0x5e0ab8),_0x168963=getDbName(_0x340fde),_0xfcc8c=_0x545310[_0x50adcf(0x2b9)](_0x5e0ab8)&&_0x168963?getTableKey(_0x168963)+'_'+_0x127579:_0x127579;_0x99e6b[_0x127579]={'key':_0x127579,'alias':_0xfcc8c,'tableName':_0x5e0ab8,'datasetCode':_0x340fde['datasetCode'],'name':_0x340fde[_0x50adcf(0x246)],'id':_0x340fde['id'],'dbName':_0x168963};}return _0x99e6b;}function generateFullDatasetsConfig(_0x16f8c5,_0x1ab4ed={}){const _0x2bfc82=a0_0x23f8,{filter:_0x292ece,datasetNameGenerator:_0x2b699d}=_0x1ab4ed,_0x5b8f33=_0x292ece?_0x16f8c5[_0x2bfc82(0x2af)](_0x292ece):_0x16f8c5,_0x52e33e=new Map();for(const _0x89911a of _0x5b8f33){const _0x447b98=getTableName(_0x89911a),_0x2ffb34=getDbName(_0x89911a);!_0x52e33e[_0x2bfc82(0x2b9)](_0x447b98)&&_0x52e33e[_0x2bfc82(0x317)](_0x447b98,new Set()),_0x52e33e[_0x2bfc82(0x32d)](_0x447b98)[_0x2bfc82(0x136)](_0x2ffb34);}const _0x5c4a4b=new Set();for(const [_0x395b79,_0x44bc83]of _0x52e33e){_0x44bc83[_0x2bfc82(0x13b)]>0x1&&_0x5c4a4b['add'](_0x395b79);}const _0x16eb44=groupByTableName(_0x5b8f33),_0x37a1cb={};for(const [_0x4ebd20,_0x5bffe2]of Object[_0x2bfc82(0x256)](_0x16eb44)){if(_0x5bffe2[_0x2bfc82(0x1f8)]===0x1){const _0xb99697=_0x5bffe2[0x0],_0x186e88=_0x2b699d?_0x2b699d(_0x4ebd20,_0xb99697):getTableKey(_0x4ebd20),_0x13eb05=getDbName(_0xb99697),_0x4dfc0=_0x5c4a4b[_0x2bfc82(0x2b9)](_0x4ebd20)&&_0x13eb05?getTableKey(_0x13eb05)+'_'+_0x186e88:_0x186e88;_0x37a1cb[_0x186e88]={'key':_0x186e88,'alias':_0x4dfc0,'tableName':_0x4ebd20,'datasetCode':_0xb99697[_0x2bfc82(0x14c)],'name':_0xb99697[_0x2bfc82(0x246)],'id':_0xb99697['id'],'dbName':_0x13eb05};}else{const _0x4cad88=[..._0x5bffe2]['sort']((_0x517332,_0x408c89)=>{const _0x2a380d=Number(_0x517332['id'])||0x0,_0x4b7d7e=Number(_0x408c89['id'])||0x0;return _0x4b7d7e-_0x2a380d;});_0x4cad88[_0x2bfc82(0x194)]((_0x2de799,_0x4cda5d)=>{const _0x5218d4=_0x2bfc82,_0x5cba67=_0x2b699d?_0x2b699d(_0x4ebd20,_0x2de799):getTableKey(_0x4ebd20),_0xe46026=_0x4cda5d===0x0?_0x5cba67:_0x5cba67+'_'+_0x4cda5d,_0xb7b830=getDbName(_0x2de799),_0x40fcbf=_0x5c4a4b[_0x5218d4(0x2b9)](_0x4ebd20)&&_0xb7b830?getTableKey(_0xb7b830)+'_'+_0xe46026:_0xe46026;_0x37a1cb[_0xe46026]={'key':_0xe46026,'alias':_0x40fcbf,'tableName':_0x4ebd20,'datasetCode':_0x2de799['datasetCode'],'name':_0x2de799[_0x5218d4(0x246)],'id':_0x2de799['id'],'dbName':_0xb7b830};});}}return _0x37a1cb;}function detectTableNameConflicts(_0x454a93){const _0x225932=a0_0x23f8,_0x290a1f={};for(const _0x29f986 of _0x454a93){const _0xbf19b5=getTableName(_0x29f986);!_0x290a1f[_0xbf19b5]&&(_0x290a1f[_0xbf19b5]=[]),_0x290a1f[_0xbf19b5][_0x225932(0x2d5)](_0x29f986);}const _0x3dc6aa={};for(const [_0x29806f,_0x32179a]of Object[_0x225932(0x256)](_0x290a1f)){_0x32179a['length']>0x1&&(_0x3dc6aa[_0x29806f]=_0x32179a);}return{'hasConflicts':Object[_0x225932(0x326)](_0x3dc6aa)['length']>0x0,'conflicts':_0x3dc6aa};}function createDatasetNameMap(_0x5d7d36){const _0xb80976=a0_0x23f8,_0x2877c9={};for(const [_0x500b39,_0x2258dd]of Object[_0xb80976(0x256)](_0x5d7d36)){_0x2877c9[_0x500b39]=_0x2258dd[_0xb80976(0x14c)]||'';}return _0x2877c9;}function groupByTableName(_0x104229){const _0xfb55c6=a0_0x23f8,_0x2a9edb={};for(const _0x1bd0e4 of _0x104229){const _0x3c5e95=getTableName(_0x1bd0e4);!_0x2a9edb[_0x3c5e95]&&(_0x2a9edb[_0x3c5e95]=[]),_0x2a9edb[_0x3c5e95][_0xfb55c6(0x2d5)](_0x1bd0e4);}return _0x2a9edb;}function datasetsConfigToArray(_0x40e2a2){const _0x571d93=a0_0x23f8;return Object[_0x571d93(0x94)](_0x40e2a2);}function adaptDrivenDataDetail(_0x5caa51){const _0x3ae7a6=a0_0x23f8,_0x45e181={};return _0x45e181['id']=_0x5caa51[_0x3ae7a6(0x173)],_0x45e181['name']=_0x5caa51['name'],_0x45e181[_0x3ae7a6(0x14c)]=_0x5caa51['modelCode'],_0x45e181[_0x3ae7a6(0x2aa)]=_0x5caa51[_0x3ae7a6(0x2aa)],_0x45e181[_0x3ae7a6(0xeb)]=_0x5caa51[_0x3ae7a6(0xeb)],_0x45e181[_0x3ae7a6(0x2a0)]=_0x5caa51[_0x3ae7a6(0x2a0)],_0x45e181['extend']=_0x5caa51['extend'],_0x45e181[_0x3ae7a6(0x21b)]=_0x5caa51[_0x3ae7a6(0x21b)],_0x45e181[_0x3ae7a6(0x2a1)]=_0x5caa51[_0x3ae7a6(0x2a1)],_0x45e181;}function adaptDrivenDataDetails(_0x5557a0){return _0x5557a0['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x390486){const _0x61a99e=a0_0x23f8;if(!_0x390486['success']||!_0x390486[_0x61a99e(0x32f)])throw new Error(_0x61a99e(0x1e8)+(_0x390486[_0x61a99e(0x2d1)]||_0x390486[_0x61a99e(0x1ab)]));return adaptDrivenDataDetail(_0x390486[_0x61a99e(0x32f)]);}function extractDatasetsFromListResponse(_0x5b32ab){const _0x1cd95b=a0_0x23f8;if(!_0x5b32ab[_0x1cd95b(0x2c3)]||!_0x5b32ab['data']?.['tableData'])throw new Error(_0x1cd95b(0x2f9)+(_0x5b32ab['errorMsg']||_0x5b32ab[_0x1cd95b(0x1ab)]));return _0x5b32ab[_0x1cd95b(0x32f)]['tableData'][_0x1cd95b(0xac)](_0x5f0c79=>({..._0x5f0c79,'datasetCode':_0x5f0c79['code']||_0x5f0c79[_0x1cd95b(0x14c)]}));}function isDrivenDataDetail(_0x221ba8){const _0x50a581=a0_0x23f8;return Boolean(_0x221ba8&&typeof _0x221ba8[_0x50a581(0x92)]===_0x50a581(0x278));}function smartAdapt(_0x4f5e38){const _0x3f89b2=a0_0x23f8;if(isDrivenDataDetail(_0x4f5e38))return adaptDrivenDataDetail(_0x4f5e38);if(_0x4f5e38[_0x3f89b2(0x14c)])return _0x4f5e38;if(_0x4f5e38[_0x3f89b2(0x22c)]){const _0xedb1e={..._0x4f5e38};return _0xedb1e[_0x3f89b2(0x14c)]=_0x4f5e38['code'],_0xedb1e;}return _0x4f5e38;}function cleanNewlines(_0x1483f7){const _0x121ca2=a0_0x23f8;return _0x1483f7['replace'](/[\r\n]+/g,'\x20')[_0x121ca2(0x199)]();}function cleanDatasetName(_0x947d5e){const _0x511d0c=a0_0x23f8;if(!_0x947d5e['name'])return _0x947d5e;return{..._0x947d5e,'name':cleanNewlines(_0x947d5e[_0x511d0c(0x246)])};}function cleanDatasetNames(_0x16ed51){return _0x16ed51['map'](cleanDatasetName);}var DatasetOperationType;(_0x2aa027=>{const _0x3a70a8=a0_0x23f8;_0x2aa027['FILTER']=_0x3a70a8(0x2af),_0x2aa027[_0x3a70a8(0x276)]=_0x3a70a8(0x286),_0x2aa027[_0x3a70a8(0x274)]=_0x3a70a8(0x2ca),_0x2aa027[_0x3a70a8(0xd8)]='getOneOrigin',_0x2aa027['GET_ONE_UPDATE']=_0x3a70a8(0xfc),_0x2aa027['CREATE']=_0x3a70a8(0x25c),_0x2aa027[_0x3a70a8(0x13a)]=_0x3a70a8(0x17d),_0x2aa027[_0x3a70a8(0x10b)]=_0x3a70a8(0x18c),_0x2aa027[_0x3a70a8(0x1f2)]='delete',_0x2aa027[_0x3a70a8(0x9f)]='getSelectOptions',_0x2aa027['GET_FILE_URL']=_0x3a70a8(0x18b),_0x2aa027[_0x3a70a8(0x1d9)]=_0x3a70a8(0x119),_0x2aa027[_0x3a70a8(0x2be)]='getUploadFileScript',_0x2aa027[_0x3a70a8(0x228)]=_0x3a70a8(0x2e5),_0x2aa027[_0x3a70a8(0x89)]=_0x3a70a8(0x144),_0x2aa027[_0x3a70a8(0x157)]=_0x3a70a8(0x17c),_0x2aa027[_0x3a70a8(0x220)]='taskInfo',_0x2aa027[_0x3a70a8(0x321)]=_0x3a70a8(0x33a);})(DatasetOperationType||={});const a0_0x2ed37d={};a0_0x2ed37d[a0_0x3e48cd(0x2af)]=a0_0x3e48cd(0xa5),a0_0x2ed37d[a0_0x3e48cd(0x286)]=a0_0x3e48cd(0xe3),a0_0x2ed37d['getOne']='查询单条',a0_0x2ed37d[a0_0x3e48cd(0xa8)]=a0_0x3e48cd(0x24e),a0_0x2ed37d[a0_0x3e48cd(0xfc)]=a0_0x3e48cd(0x2f0),a0_0x2ed37d['create']='创建',a0_0x2ed37d[a0_0x3e48cd(0x17d)]=a0_0x3e48cd(0x301),a0_0x2ed37d[a0_0x3e48cd(0x18c)]='更新',a0_0x2ed37d[a0_0x3e48cd(0x293)]='删除',a0_0x2ed37d['getSelectOptions']='获取下拉选项',a0_0x2ed37d['getFileUrl']='获取文件URL',a0_0x2ed37d[a0_0x3e48cd(0x119)]=a0_0x3e48cd(0x2d4),a0_0x2ed37d[a0_0x3e48cd(0x104)]=a0_0x3e48cd(0xe9),a0_0x2ed37d['createImport']=a0_0x3e48cd(0x218),a0_0x2ed37d['createExport']=a0_0x3e48cd(0x116),a0_0x2ed37d[a0_0x3e48cd(0x17c)]=a0_0x3e48cd(0x2ed),a0_0x2ed37d[a0_0x3e48cd(0xea)]=a0_0x3e48cd(0x145),a0_0x2ed37d[a0_0x3e48cd(0x33a)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ed37d,API_BLACKLIST=[a0_0x3e48cd(0x286),a0_0x3e48cd(0xa8),a0_0x3e48cd(0xfc),a0_0x3e48cd(0x18b)];function parseFieldExtend(_0x44a5c7){const _0x17257b=a0_0x3e48cd;if(!_0x44a5c7||typeof _0x44a5c7!==_0x17257b(0x335))return!![]&&console['warn'](_0x17257b(0x109),_0x44a5c7),{};if(!_0x44a5c7[_0x17257b(0x20a)])return{};try{const _0x2cf75e=typeof _0x44a5c7[_0x17257b(0x20a)]===_0x17257b(0x278)?JSON[_0x17257b(0x312)](_0x44a5c7[_0x17257b(0x20a)]):_0x44a5c7[_0x17257b(0x20a)];if(typeof _0x2cf75e!==_0x17257b(0x335)||_0x2cf75e===null)return{};return _0x2cf75e;}catch{return{};}}function isPrimaryKeyField(_0x2bf7af,_0x15a109){const _0x8d8abe=a0_0x3e48cd;if(!_0x2bf7af||typeof _0x2bf7af!==_0x8d8abe(0x335))return![];if(typeof _0x15a109===_0x8d8abe(0x278)&&_0x2bf7af[_0x8d8abe(0x22c)]===_0x15a109)return!![];const _0x4017b8=parseFieldExtend(_0x2bf7af);return Boolean(_0x4017b8[_0x8d8abe(0x14d)]||_0x4017b8[_0x8d8abe(0x33b)]);}function isSystemField(_0x6dcb9d){const _0x7f883f=a0_0x3e48cd,_0xcf7e2e=parseFieldExtend(_0x6dcb9d);return Boolean(_0xcf7e2e[_0x7f883f(0x149)]);}function isRequiredField(_0x2ac409){const _0xc1c529=parseFieldExtend(_0x2ac409);return Boolean(_0xc1c529['required']);}function isAutoIncrementField(_0x2f7f37){const _0x54c9e3=parseFieldExtend(_0x2f7f37);return Boolean(_0x54c9e3['autoIncrement']);}function isCreateTimeField(_0x419690){const _0x358cbb=a0_0x3e48cd,_0x433db7=parseFieldExtend(_0x419690);return Boolean(_0x433db7[_0x358cbb(0x285)]);}function isModifyTimeField(_0x36c675){const _0x5f51e0=a0_0x3e48cd,_0x54efe6=parseFieldExtend(_0x36c675);return Boolean(_0x54efe6[_0x5f51e0(0x2cd)]);}const a0_0x24321e={};a0_0x24321e[a0_0x3e48cd(0x1dd)]='数字',a0_0x24321e[a0_0x3e48cd(0x1b1)]='文本',a0_0x24321e['TEXTAREA']=a0_0x3e48cd(0x19f),a0_0x24321e[a0_0x3e48cd(0x303)]='日期',a0_0x24321e[a0_0x3e48cd(0x100)]=a0_0x3e48cd(0x32b),a0_0x24321e['TIMESTAMP']='时间戳',a0_0x24321e['SELECT']=a0_0x3e48cd(0x313),a0_0x24321e[a0_0x3e48cd(0x24f)]='多选',a0_0x24321e['RADIO']='单选',a0_0x24321e[a0_0x3e48cd(0xc8)]='开关',a0_0x24321e['UPLOAD']=a0_0x3e48cd(0x28f),a0_0x24321e[a0_0x3e48cd(0x243)]='图片',a0_0x24321e[a0_0x3e48cd(0x12f)]=a0_0x3e48cd(0x1c3),a0_0x24321e[a0_0x3e48cd(0x2c8)]=a0_0x3e48cd(0x2c8),a0_0x24321e[a0_0x3e48cd(0x95)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x24321e;function getDbTypeDisplay(_0x427903){const _0x3bc5e7=a0_0x3e48cd;if(typeof _0x427903!==_0x3bc5e7(0x278))return!![]&&console[_0x3bc5e7(0x98)](_0x3bc5e7(0x26f),_0x427903),String(_0x427903||'-');return DB_TYPE_DISPLAY_MAP[_0x427903]||_0x427903;}function a0_0x23f8(_0x5cec2b,_0x1ee428){_0x5cec2b=_0x5cec2b-0x83;const _0x217667=a0_0x2176();let _0x23f830=_0x217667[_0x5cec2b];return _0x23f830;}function formatDbType(_0xf3a583,_0x357050){const _0x362538=a0_0x3e48cd;if(!_0xf3a583||typeof _0xf3a583!==_0x362538(0x278))return'-';if(!_0x357050||typeof _0x357050!==_0x362538(0x231))return _0xf3a583;const _0x24f8b5=[_0x362538(0x1b1),_0x362538(0x100),_0x362538(0x33d),_0x362538(0x303)];if(_0x24f8b5['includes'](_0xf3a583['toUpperCase']()))return _0xf3a583;return _0xf3a583+'('+_0x357050+')';}function parseOperationType(_0x1bb9d4){const _0x5b474b=a0_0x3e48cd;if(typeof _0x1bb9d4!=='string'){!![]&&console[_0x5b474b(0x98)](_0x5b474b(0x12b),_0x1bb9d4);return;}if(Object[_0x5b474b(0x94)](DatasetOperationType)[_0x5b474b(0x128)](_0x1bb9d4))return _0x1bb9d4;const _0x4a6ca7=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x19f4e4,_0x3a29f9])=>_0x3a29f9===_0x1bb9d4);return _0x4a6ca7?_0x4a6ca7[0x0]:undefined;}function shouldIncludeField(_0x53e01e,_0x49431a,_0x291922){const _0x4b0831=a0_0x3e48cd,_0x23cb42=parseFieldExtend(_0x53e01e),_0x553e19=isPrimaryKeyField(_0x53e01e,_0x291922),_0xb8c893=Boolean(_0x23cb42[_0x4b0831(0x149)]),_0x567292=Boolean(_0x23cb42[_0x4b0831(0x8a)]),_0x3ca85a=Boolean(_0x23cb42[_0x4b0831(0x285)]),_0x44db2d=Boolean(_0x23cb42[_0x4b0831(0x2cd)]);switch(_0x49431a){case'filter':case _0x4b0831(0x286):case _0x4b0831(0x17c):return!![];case'getOne':case'getOneOrigin':case _0x4b0831(0x293):return _0x553e19;case _0x4b0831(0x25c):case _0x4b0831(0x17d):if(_0x553e19&&_0x567292)return![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x18c):case'getOneUpdate':if(_0x553e19)return!![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x346):return _0x53e01e[_0x4b0831(0x22c)]===_0x4b0831(0x22c);default:return!![];}}function getFieldsForOperation(_0x4b32ac,_0xdeda8e,_0x1c069e){const _0x31fb1d=a0_0x3e48cd;if(!Array['isArray'](_0x4b32ac))return!![]&&console[_0x31fb1d(0x98)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x4b32ac),[];return _0x4b32ac[_0x31fb1d(0x2af)](_0x53a0a3=>shouldIncludeField(_0x53a0a3,_0xdeda8e,_0x1c069e));}function isApiBlacklisted(_0x29d859){const _0x586a1f=a0_0x3e48cd;if(typeof _0x29d859!==_0x586a1f(0x278))return!![]&&console[_0x586a1f(0x98)](_0x586a1f(0x2c6),_0x29d859),![];return API_BLACKLIST[_0x586a1f(0x128)](_0x29d859);}function filterApiOperations(_0x2d45e4){const _0x3a47d5=a0_0x3e48cd;if(!Array[_0x3a47d5(0x133)](_0x2d45e4))return!![]&&console[_0x3a47d5(0x98)](_0x3a47d5(0x22f),_0x2d45e4),[];return _0x2d45e4[_0x3a47d5(0x2af)](_0x2bfdc4=>_0x2bfdc4&&typeof _0x2bfdc4===_0x3a47d5(0x335)&&!isApiBlacklisted(_0x2bfdc4[_0x3a47d5(0x246)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x3e48cd(0x124)](),'SELECT':({fieldInfo:_0x158548})=>{const _0x20dfb0=a0_0x3e48cd;if(_0x158548?.[_0x20dfb0(0xb2)]&&Array[_0x20dfb0(0x133)](_0x158548[_0x20dfb0(0xb2)])&&_0x158548[_0x20dfb0(0xb2)][_0x20dfb0(0x1f8)]>0x0)return _0x158548[_0x20dfb0(0xb2)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2ff3a2})=>{const _0x5ee382=a0_0x3e48cd;if(_0x2ff3a2===_0x5ee382(0xcf))return 0x1;if(_0x2ff3a2===_0x5ee382(0x1e0))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1ed381})=>{const _0x2926ad=a0_0x3e48cd;if(_0x1ed381&&typeof _0x1ed381==='string'){const _0x49565e=_0x1ed381['toLowerCase']();if(_0x49565e['includes']('邮箱')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x226)))return _0x2926ad(0xe8);if(_0x49565e['includes']('电话')||_0x49565e['includes']('手机')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x1dc)))return _0x2926ad(0x30b);if(_0x49565e['includes']('地址')||_0x49565e[_0x2926ad(0x128)]('address'))return _0x2926ad(0x2a5);if(_0x49565e[_0x2926ad(0x128)]('姓名')||_0x49565e[_0x2926ad(0x128)]('name'))return'张三';}return'示例文本';},'VARCHAR':({description:_0x24a212})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x24a212}),'CHAR':({description:_0x7d54cc})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x7d54cc}),'STRING':({fieldInfo:_0x4c7258,description:_0x518d90})=>{const _0x129477=a0_0x3e48cd;if(_0x4c7258?.[_0x129477(0x87)]&&typeof _0x4c7258[_0x129477(0x87)]===_0x129477(0x278)&&_0x4c7258[_0x129477(0x87)]!==_0x129477(0xdd))return _0x4c7258['placeholder']['replace'](/^请输入|^请选择/,'');const _0x52cdc6={};return _0x52cdc6['description']=_0x518d90,TYPE_VALUE_GENERATORS[_0x129477(0x1b1)](_0x52cdc6);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x3e48cd(0xc6),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x3e48cd(0x2d3)}),'ARRAY':()=>[a0_0x3e48cd(0x25f),a0_0x3e48cd(0x224)],'UPLOAD':()=>a0_0x3e48cd(0x1c9),'IMAGE':()=>a0_0x3e48cd(0x30f),'RICH_TEXT':()=>a0_0x3e48cd(0x8f)};function generateExampleValue(_0x3cb4f5,_0x58b39e,_0x3300a3,_0x4dde53={}){const _0x201a5b=a0_0x3e48cd;typeof _0x3cb4f5!==_0x201a5b(0x278)&&(!![]&&console['warn']('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x3cb4f5),_0x3cb4f5=String(_0x3cb4f5||''));if(typeof _0x58b39e!==_0x201a5b(0x278))return!![]&&console[_0x201a5b(0x98)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x58b39e),'示例值';const {isPrimaryKey:_0x189f4b,dbtableConfig:_0x4541d3}=_0x4dde53;if(_0x189f4b)return 0x1;if(_0x4541d3&&typeof _0x4541d3===_0x201a5b(0x335)){const _0x26e01a=_0x4541d3[_0x201a5b(0x2a8)]?.[_0x201a5b(0x204)]===_0x3cb4f5,_0x145629=_0x4541d3[_0x201a5b(0x196)]?.['fieldName']===_0x3cb4f5;if(_0x26e01a||_0x145629){if(_0x3300a3&&typeof _0x3300a3===_0x201a5b(0x278)&&_0x3300a3['toUpperCase']()['includes'](_0x201a5b(0x33d)))return Date[_0x201a5b(0x124)]();return new Date()[_0x201a5b(0x29e)]()[_0x201a5b(0x15d)]('T','\x20')[_0x201a5b(0x182)]('.')[0x0];}}const _0x5a1434={..._0x4dde53};_0x5a1434[_0x201a5b(0x311)]=_0x3cb4f5;const _0xcc569d=_0x5a1434;if(_0x3300a3&&typeof _0x3300a3==='string'){const _0x473f22=_0x3300a3[_0x201a5b(0x279)](),_0x59d0b9=TYPE_VALUE_GENERATORS[_0x473f22];if(_0x59d0b9)return _0x59d0b9(_0xcc569d);}if(_0x58b39e&&typeof _0x58b39e===_0x201a5b(0x278)){const _0xd08291=_0x58b39e[_0x201a5b(0x279)](),_0x597c1e=TYPE_VALUE_GENERATORS[_0xd08291];if(_0x597c1e)return _0x597c1e(_0xcc569d);}return'示例值';}function generateExampleFromSchema(_0x451b06,_0x823f99){const _0x38bed2=a0_0x3e48cd;if(!_0x451b06||typeof _0x451b06!=='object')return{};if(Array[_0x38bed2(0x133)](_0x451b06)){if(_0x451b06['length']>0x0)return[generateExampleFromSchema(_0x451b06[0x0],_0x823f99)];return[];}const _0x538cb1={};return Object[_0x38bed2(0x326)](_0x451b06)[_0x38bed2(0x194)](_0x2f4144=>{const _0x4a6c75=_0x38bed2,_0x3fc0c0=_0x451b06[_0x2f4144];if(_0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)&&!Array[_0x4a6c75(0x133)](_0x3fc0c0)&&_0x3fc0c0[_0x4a6c75(0x299)]){const _0x102c31=_0x3fc0c0,_0x2ef980=_0x102c31[_0x4a6c75(0x299)],_0x1acf76=_0x102c31[_0x4a6c75(0x2b7)];if(typeof _0x2ef980==='string'){const _0x59230a={};_0x59230a[_0x4a6c75(0x2b7)]=_0x1acf76,_0x59230a[_0x4a6c75(0x2aa)]=_0x823f99,_0x538cb1[_0x2f4144]=generateExampleValue(_0x2f4144,_0x2ef980,undefined,_0x59230a);}else _0x538cb1[_0x2f4144]=_0x4a6c75(0x11c);}else{if(Array[_0x4a6c75(0x133)](_0x3fc0c0))_0x538cb1[_0x2f4144]=_0x3fc0c0[_0x4a6c75(0x1f8)]>0x0?[generateExampleFromSchema(_0x3fc0c0[0x0],_0x823f99)]:[];else _0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)?_0x538cb1[_0x2f4144]=generateExampleFromSchema(_0x3fc0c0,_0x823f99):_0x538cb1[_0x2f4144]=_0x3fc0c0;}}),_0x538cb1;}function parseRequestBody(_0x34f2ab){const _0x32bde0=a0_0x3e48cd;if(!_0x34f2ab)return{};try{return JSON[_0x32bde0(0x312)](_0x34f2ab);}catch(_0x353fe7){return!![]&&console[_0x32bde0(0x98)](_0x32bde0(0x309),_0x353fe7),{};}}function parseResponseBody(_0x574a22){const _0x1d615c=a0_0x3e48cd;if(!_0x574a22)return null;try{const _0x4cc349=JSON[_0x1d615c(0x312)](_0x574a22);return _0x4cc349[_0x1d615c(0x351)]||_0x4cc349;}catch(_0x4e4bc3){return!![]&&console[_0x1d615c(0x98)]('解析\x20responseBody\x20失败:',_0x4e4bc3),null;}}function generateRequestExample(_0x1ad8a1,_0x507d25,_0x281260,_0x362d34){const _0x39a997=a0_0x3e48cd,_0x2d2f58={};if(!Array[_0x39a997(0x133)](_0x1ad8a1))return!![]&&console[_0x39a997(0x98)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x1ad8a1),_0x2d2f58;return _0x1ad8a1[_0x39a997(0x194)](_0x29c13d=>{const _0x5a7e4d=_0x39a997;if(!_0x29c13d||typeof _0x29c13d!=='object'){!![]&&console[_0x5a7e4d(0x98)](_0x5a7e4d(0x17a),_0x29c13d);return;}if(typeof _0x29c13d[_0x5a7e4d(0x22c)]!==_0x5a7e4d(0x278)||typeof _0x29c13d[_0x5a7e4d(0x299)]!==_0x5a7e4d(0x278)){!![]&&console[_0x5a7e4d(0x98)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x29c13d);return;}const _0x1f8942=parseFieldExtend(_0x29c13d),_0x164c20=_0x29c13d[_0x5a7e4d(0x22c)]===_0x281260||Boolean(_0x1f8942?.[_0x5a7e4d(0x14d)]),_0x2cb17a=generateExampleValue(_0x29c13d[_0x5a7e4d(0x22c)],_0x29c13d[_0x5a7e4d(0x299)],typeof _0x29c13d[_0x5a7e4d(0xde)]===_0x5a7e4d(0x278)?_0x29c13d[_0x5a7e4d(0xde)]:undefined,{'fieldInfo':_0x1f8942,'isPrimaryKey':_0x164c20,'description':_0x29c13d[_0x5a7e4d(0x2b7)]||_0x29c13d[_0x5a7e4d(0x246)],'dbtableConfig':_0x362d34});_0x2d2f58[_0x29c13d['code']]=_0x2cb17a;}),_0x507d25===_0x39a997(0x286)&&(_0x2d2f58[_0x39a997(0xcf)]=0x1,_0x2d2f58['pageSize']=0xa),_0x2d2f58;}function formatEnumValue(_0x3d1bdc,_0x4e4212){const _0x15eb2b=a0_0x3e48cd;if(_0x3d1bdc['multiple']&&Array[_0x15eb2b(0x133)](_0x4e4212))return _0x4e4212[_0x15eb2b(0xac)](_0x5a7cbb=>_0x3d1bdc[_0x15eb2b(0x28c)][String(_0x5a7cbb)]||String(_0x5a7cbb))[_0x15eb2b(0x103)](',\x20');return _0x3d1bdc[_0x15eb2b(0x28c)][String(_0x4e4212)]||String(_0x4e4212);}function a0_0x2176(){const _0x3008e9=['findByCode','description','doVersion','has','\x20relations,\x20','select','getFirst','getFieldCount','GET_UPLOAD_FILE_SCRIPT','getSystemFields','validateEnumValue','isPrimaryKeyField','getLast','success','toField','from','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','dataIndex','JSON','conflictGroupCount','getOne','(id,\x20data);','isMultipleSelect','modifyDate','getOperationAnalysis','getResponseSchema','getOperationFieldsOperatorsMap','errorMsg','getMissingCRUDOperations','value','Excel导出','push','$or','getFieldSelectItemsSource','getFilteredOperationAnalyses','getHTTPFields','分组字段列表','max','getConflicts','hasOperation','INTEGER','toJSON','toConfig','generateOperationSummary','_datasetMeta','getConflictingItems','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','createImport','tenantCode','getRawDbtableConfig','parseFieldExtend','_min','getBusinessFields','method','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合查询','\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','getDisplayName','查询单条(用于更新)','generateHTTPRequestExample','[FieldV1.extend]\x20解析字段\x20','_fieldListV1','getEnumFieldsMeta','getOperationCount','createFields','responseBody','Array','获取数据集列表失败:\x20','getAllFieldsArray','daily','getCountByMethod','_sum','generateExampleValue','dbVersion','_operationAnalyses','批量创建','sdkCall','DATE',',\x20currentPage,\x20pageSize,\x20...\x20});','isAutoIncrement','generateArrayHTTPExample','index','hasUpdateTimeField','解析\x20requestBody\x20失败:','getUpdateFields','13800138000','_fieldListV1WithDeleted','({\x20','children','https://example.com/image.jpg','toFieldDefinition','fieldCode','parse','下拉选择','API路径','DrivenDataDetailV2(','alias','set','_fieldList','对象参数格式','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','295KwvEQN','getDbName','\x20items,\x20conflict,\x20latest:\x20','isDeleted','modifierNameField','iterator','IMPORT_TEMPLATE','Object[]','$gte','getAll','getDatasetSDKKey','keys','getFieldsWithDeleted','getFieldOptions','\x20fields,\x20','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','日期时间','groupByType','get','getEnumFieldMeta','data','requestBody','const\x20result\x20=\x20await\x20client.models.','suffix','generateRequestAllExamples','labelField','object','tableColumns','forceVersion','每页数量(默认:\x2020)','RADIO','importTemplate','pkField','BIGINT','TIMESTAMP','normalizeDbType','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getFilteredOperations','Filter\x20API\x20-\x20高级查询接口','getForeignKeyFields','getApplicableOperators','$lteq','selectItemsSource','getSelectOptions','getUpdateTime','updateTime','$and','raw','getRaw','({\x20code,\x20label\x20});','datasetSDKKey','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合函数配置数组','getBusiness','200','hasCreateTimeField','getPrimaryKeyFields','useArrayValues','操作成功','placeholder','getField','CREATE_EXPORT','autoIncrement','find','generateAliasExplanation','$in','getInternalInstance','<p>富文本内容</p>','();\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}','DESC','modelCode','({\x20/*\x20可选:筛选条件\x20*/\x20});','values','ARRAY','relations','getOperationDocMeta','warn','avg','[Field]\x20Invalid\x20field\x20definition','\x20operations)','getEnum','BOOLEAN','\x20operation','GET_SELECT_OPTIONS','每页条数','getFieldList','DatasetGroupMap(','round','选项编码(可选)','筛选查询','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','selectBestOperator','getOneOrigin','enumValues','getFiltered','$eq','map','findByTableName','responseSchema','all','聚合函数配置数组(type:\x20sum/count/avg/max/min)','mapDbTypeToType','options','multiple','creatorIdField','(id,\x20','GET','getCountByType','isPrimaryKey','findAllByTableName','getDatasetDocMeta','title','getFieldDisplayName','1.0','toTableName','\x20的\x20extend\x20配置失败:','ensureFilterOperation','initDataset','2346572GjDsXX','toLowerCase','generateFromSchema','context','这是一段较长的文本内容示例','\x5c{\x5c{','SWITCH','condition','random','getResponseParamsDocInfo','isOpenAPI','getCount','fromApiResponse','currentPage','includeRequestExample','dbId',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getCodes','DatasetGroup(','generateResponseExample','数组参数格式','getSDKInitData','GET_ONE_ORIGIN','getName','toObject','dataset_unknown','hasConflict','系统自动生成','dbType','hasCreatorIdField','hasDbtableConfig','STRING','getVirtualTables','查询列表','isUpdateTime','-$1','getItems','getRelatedDataset','user@example.com','获取上传脚本','taskInfo','source','paging','POST','sum','getLatest','当前页码(从\x201\x20开始,默认:\x201)','[dsparser]\x20跳过重复的表名\x20\x22','hasConflicts','isNumericField','fromField','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','usageExample','getOperationRequestFields','has\x20conflicts','-\x20其他要更新的字段直接平铺在同一层级','hasField','isSystemField','getOneUpdate','将批量创建数据数组放在\x20items\x20字段中','getRequestFields','FLOAT','DATETIME','bind','字段编码','join','getUploadFileScript','generateFullSDKExample','VARCHAR','dataset_','getRequired','[parseFieldExtend]\x20Invalid\x20field:','stringify','UPDATE','//\x20Call\x20the\x20','getEnabled','getRealTables','_fieldListV2','getExtendField','4257594eQTwJv','toDatasetName','isEnum','getRequestParams','sortOperationsWithFilterFirst','创建导出','tooltip','getEnumOptions','excelExport','getDatabaseVersion','接口名称','示例值','37029454jDUWAL','requestFields','dblinkInfoDTO','SELECT','267921vPZWUj','1.0.0-beta.8','主键ID','now','getOperationsData','charAt','findByName','includes','toString','getOperationFieldOperators','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getModelAlias','enabled','getSource','RICH_TEXT','online','enabledOperationCount','getDatasetMeta','isArray','每页数量(可选)','$gteq','add','boolean','getUpdatableFields','getFieldFilterOperators','BATCH_CREATE','size','undefined','\x20API\x20文档','getFieldsV2','N/A','label','datasetInfo','getPrimaryKeys','isBusiness','createExport','任务信息','generateConfigArray','orderBy','hasRelation','systemRetain','no\x20conflicts','businessFieldCount','datasetCode','primaryKey','getFieldDescription','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','2024-12-31','getEnabledOperationAnalyses','getFieldDataSource','getAt','\x22,数据集:\x20','creatorNameField','getDisabledNames','AGGREGATE','getFilterOperators','getFieldsByType','value1','min','const\x20fileUrl\x20=\x20await\x20client.models.','replace','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getDBConfig','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','String[]','CHAR','每页数量','findAll','every','();','getOperations','prototype','fields','toConfigArray','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getTableName','getOperationStats','getDatabaseName','Field(','_operations','lastIndexOf','modelId','isRequiredField','字段名称','getSelectItemsSource','_requestExampleCache','getDbTypeForOperation','getFieldTypeFromDefinition','[generateRequestExample]\x20Invalid\x20field:','\x20items,\x20','aggregate','batchCreate','generateUsageExample','getOperationsOverviewData','required','toArray','split','supportsCRUD','BOOL','getTenantCode','Number','dbName','prefix','isEnabled','\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','getFileUrl','update','getNames','getId','getSystemAnalysisResult','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','tableData','includeUsageExample','keyword','forEach','toListItem','updateTimeField','generateHTTPExample','getTableKey','trim','parseRawRequestBody','getDisabledOperations','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','host','SDK\x20调用时传递两个参数:\x0a','长文本',',\x20doType=','errorCode','generateItemExample','\x20operations,\x20v2)','分组后的过滤条件(对聚合结果进行过滤)','TINYINT','getOperators','env','getEnabledNames','SDK\x20调用','generateAllOperationsSummary','msg','totalCount','value2','generateItemsWrapperExample','getCode','//\x20数组参数格式','TEXT','3245795AsvWMk','getDisabled','DatasetItem(','_max','dbTypeLen','LONGBLOB','filterBlacklist','getDefaultValue','path','getModelName','isCreateTime','\x20operations,\x20v1)','-\x20主键使用\x20`id`\x20字段\x0a','desc','isVirtualTable','getTooltip','LONGTEXT','富文本','$startWith','total_count','items','getFieldRaw','generateConfig','https://example.com/file.pdf','HTTP\x20请求示例(平铺格式)','generateSDKInitCode','_instance','fullUrl','createTime','demo-app','hasLogicField','FieldList(','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','default','\x20operations,\x20','datasetName','column','$contain','doType','EXCEL_EXPORT','getOperationAnalyses','//\x20','phone','NUMBER','successCode','getOperation','pageSize','field_name','status','150bvFRHp','getEnumValues',',\x20...\x20});','排序规则(与\x20Filter\x20API\x20一致)','getEnumMeta','获取数据集失败:\x20','单值查询','groupBy','having','getRelationsByField','getFieldInstance','getFullUrl','getStats','请求示例','$lte','DELETE','要更新的字段数据对象','_fieldListWithDeleted','getFieldListWithDeleted','isSystem','SMALLINT','length','slice','tableName','5570EtHKEG','hasFilterOperation','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','getOperationList','16BGHuwl','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','DatasetList(','getByType','$ne','fieldName','exampleWhere','/filter','getAllDatasets','getFieldNames','generateRequestExample','extend','totalGroups','_fields','排序规则','**可更新的字段列表:**','getFilterOperation','getAutoIncrement','getRequiredFields','$endWith','FieldV2(','_operationList','hasModifierIdField','_extend','requestFieldCount','创建导入','getIndexes','operation','properties','[FieldV2]\x20Invalid\x20field\x20definition','datasetKey','SDK\x20调用示例(两参数格式)','_datasetMap','TASK_INFO','(params);','sdkCallCode','_$1','item2','isEnumField','email','generateAllOperationsFullSDKExample','CREATE_IMPORT','customFilter','getType','\x20fields)','code','groupByTableName','getFieldV2','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','distinct','number','getPath','sortNum','DOUBLE','isOperatorApplicableToField','function','isRequired','getFieldOperators','_raw','getAllFieldsString','includeDeleted','(id);','getLatestDatasets','0000','当前页码','padStart','allFields','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','IMAGE','1380449EurRSt','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','name','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getRequestParamsDocInfo','支持单值或数组','deleted','//\x20对象参数格式','getMethod','查询单条(原始)','CHECKBOX','INT','getEnumFields','displayName','getOldest','modifierIdField','2024-01-01','entries','getSystem','TIME','toFullConfig','HTTP\x20直接调用时使用平铺格式:\x0a','FILE','create','getEnabledOperations','getDatabaseType','item1','appCode','toDatasetId','getDisabledOperationInstances','-\x20主键ID,用于定位要更新的记录\x0a\x0a','({\x20currentPage,\x20pageSize\x20});','_avg','withDeleted','parseRawResponseBody','getOperationOperators','Operation\x20not\x20found:\x20','total','params','count','getFieldListV2','array','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getAggregates','\x5c}\x5c}','9JZhFgK','logicField','GET_ONE','getCreateTime','GET_LIST','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','string','toUpperCase','generateSDKCallCode','hasTableName','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','Integer','getEnabledOperationInstances','_relations','dataset','getFieldsFilterOperatorsMap','isMultipleSelectField','generateSingleValueExample','includeDisabled','createDate','getList','getRelations','Object','findById','getFieldDefinition','getFieldCode','valueLabels','createAll','DECIMAL','文件上传','String','generateFieldExample','sort','delete','some','const\x20resultByItems\x20=\x20await\x20client.models.',',\x20fields:\x20','groups','null','type','DrivenDataDetailPlus(','2.0','precision','getFieldName','toISOString','columnName','version','operations','返回字段列表(字段投影)','BIT','\x20indexes)','北京市朝阳区','FieldListV2(','getFields','createTimeField','getConflictStats','dbtableConfig','toDatasetCode','数组查询(支持多选)','useFullExample','update\x20接口接受两个参数:\x0a\x0a','filter','where','getOperationAnalysesByType','DrivenDataDetailPlusV2(','dataset_000000','getDOType','getVersion'];a0_0x2176=function(){return _0x3008e9;};return a0_0x2176();}function formatOptionsForDoc(_0x374f0e){const _0x4b52d2=a0_0x3e48cd;return _0x374f0e['map'](_0x22605c=>_0x22605c[_0x4b52d2(0x2d3)]+'('+_0x22605c[_0x4b52d2(0x140)]+')')[_0x4b52d2(0x103)](',\x20');}function formatOptionsAsMarkdownList(_0x45d03e,_0x4ebde4=0x0){const _0x5372a4=a0_0x3e48cd,_0x45296e='\x20\x20'['repeat'](_0x4ebde4),_0x5673fe=[];return _0x45d03e[_0x5372a4(0x194)](_0x354a90=>{const _0x31f8af=_0x5372a4;_0x5673fe[_0x31f8af(0x2d5)](_0x45296e+'-\x20`'+_0x354a90[_0x31f8af(0x2d3)]+'`:\x20'+_0x354a90['label']),_0x354a90[_0x31f8af(0x30e)]&&_0x354a90[_0x31f8af(0x30e)][_0x31f8af(0x1f8)]>0x0&&_0x5673fe[_0x31f8af(0x2d5)](formatOptionsAsMarkdownList(_0x354a90['children'],_0x4ebde4+0x1));}),_0x5673fe[_0x5372a4(0x103)]('\x0a');}class DbtableConfig{[a0_0x3e48cd(0x239)];constructor(_0x4b28a0){const _0x2a5670=a0_0x3e48cd,_0x62b9b0={..._0x4b28a0};this[_0x2a5670(0x239)]=_0x62b9b0;}get[a0_0x3e48cd(0xd1)](){const _0x440d51=a0_0x3e48cd;return this['_raw'][_0x440d51(0xd1)];}get[a0_0x3e48cd(0x187)](){const _0x54ba2e=a0_0x3e48cd;return this[_0x54ba2e(0x239)]['dbName']??this[_0x54ba2e(0x239)][_0x54ba2e(0x11f)]?.[_0x54ba2e(0x187)];}get[a0_0x3e48cd(0x1fa)](){const _0x557106=a0_0x3e48cd;return this[_0x557106(0x239)]['tableName'];}get[a0_0x3e48cd(0x21d)](){return this['_raw']['datasetKey'];}get['pkField'](){const _0x3f0400=a0_0x3e48cd;return this[_0x3f0400(0x239)]['pkField'];}get['labelField'](){const _0x4af00c=a0_0x3e48cd;return this[_0x4af00c(0x239)][_0x4af00c(0x334)];}get['logicField'](){const _0x1162a7=a0_0x3e48cd;return this['_raw'][_0x1162a7(0x273)];}get[a0_0x3e48cd(0x2a8)](){const _0x109465=a0_0x3e48cd;return this[_0x109465(0x239)]['createTimeField'];}get[a0_0x3e48cd(0x196)](){const _0x14c145=a0_0x3e48cd;return this[_0x14c145(0x239)][_0x14c145(0x196)];}get[a0_0x3e48cd(0xb4)](){const _0x276659=a0_0x3e48cd;return this['_raw'][_0x276659(0xb4)];}get['creatorNameField'](){const _0x53a841=a0_0x3e48cd;return this[_0x53a841(0x239)][_0x53a841(0x155)];}get[a0_0x3e48cd(0x254)](){const _0xe69184=a0_0x3e48cd;return this[_0xe69184(0x239)][_0xe69184(0x254)];}get[a0_0x3e48cd(0x31f)](){const _0x47415b=a0_0x3e48cd;return this[_0x47415b(0x239)][_0x47415b(0x31f)];}get[a0_0x3e48cd(0x11f)](){const _0x534a28=a0_0x3e48cd;return this[_0x534a28(0x239)][_0x534a28(0x11f)];}['getAllFieldsArray'](){const _0x4789ca=a0_0x3e48cd;if(!this[_0x4789ca(0x239)]['allFields'])return[];return this[_0x4789ca(0x239)][_0x4789ca(0x241)]['split'](',')['map'](_0x4fb8a7=>_0x4fb8a7['trim']())[_0x4789ca(0x2af)](Boolean);}[a0_0x3e48cd(0x23a)](){const _0x4d0cf3=a0_0x3e48cd;return this[_0x4d0cf3(0x239)][_0x4d0cf3(0x241)];}[a0_0x3e48cd(0xfa)](_0x5ecafd){const _0x4a93f3=a0_0x3e48cd;return this[_0x4a93f3(0x2fa)]()[_0x4a93f3(0x128)](_0x5ecafd);}['hasTableName'](){const _0x5de7ce=a0_0x3e48cd;return Boolean(this[_0x5de7ce(0x239)][_0x5de7ce(0x1fa)]);}['hasDblinkInfo'](){const _0x2a8f51=a0_0x3e48cd;return Boolean(this[_0x2a8f51(0x239)][_0x2a8f51(0x11f)]);}[a0_0x3e48cd(0x1d0)](){const _0x2e5f95=a0_0x3e48cd;return Boolean(this[_0x2e5f95(0x239)][_0x2e5f95(0x273)]?.[_0x2e5f95(0x204)]);}[a0_0x3e48cd(0x83)](){const _0x38c396=a0_0x3e48cd;return Boolean(this[_0x38c396(0x239)][_0x38c396(0x2a8)]?.[_0x38c396(0x204)]);}[a0_0x3e48cd(0x308)](){const _0x623e63=a0_0x3e48cd;return Boolean(this[_0x623e63(0x239)]['updateTimeField']?.[_0x623e63(0x204)]);}[a0_0x3e48cd(0xdf)](){const _0x433c73=a0_0x3e48cd;return Boolean(this[_0x433c73(0x239)][_0x433c73(0xb4)]?.[_0x433c73(0x204)]);}['hasModifierIdField'](){return Boolean(this['_raw']['modifierIdField']?.['fieldName']);}[a0_0x3e48cd(0x2c1)](_0x48dd5e){const _0x38f443=a0_0x3e48cd;return this[_0x38f443(0x239)][_0x38f443(0x33b)]===_0x48dd5e;}[a0_0x3e48cd(0xfb)](_0x2c0e77){const _0x13f64a=a0_0x3e48cd;return this['isPrimaryKeyField'](_0x2c0e77)||this[_0x13f64a(0x239)][_0x13f64a(0x273)]?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x2a8)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x196)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)]['creatorIdField']?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x155)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x254)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x31f)]?.[_0x13f64a(0x204)]===_0x2c0e77;}[a0_0x3e48cd(0x16f)](){const _0x307ef8=a0_0x3e48cd;return this[_0x307ef8(0x239)][_0x307ef8(0x11f)]?.[_0x307ef8(0x187)];}[a0_0x3e48cd(0x25e)](){const _0x143714=a0_0x3e48cd;return this[_0x143714(0x239)][_0x143714(0x11f)]?.['dbType'];}[a0_0x3e48cd(0x11a)](){const _0x30a94b=a0_0x3e48cd;return this['_raw'][_0x30a94b(0x11f)]?.[_0x30a94b(0x2ff)];}[a0_0x3e48cd(0x185)](){const _0x947071=a0_0x3e48cd;return this['_raw'][_0x947071(0x11f)]?.[_0x947071(0x2e6)];}['getAppCode'](){const _0x4714c6=a0_0x3e48cd;return this[_0x4714c6(0x239)]['dblinkInfoDTO']?.[_0x4714c6(0x260)];}[a0_0x3e48cd(0x18f)](){const _0xd3413=a0_0x3e48cd;return this[_0xd3413(0x239)][_0xd3413(0x11f)]?.['systemAnalysisResult'];}[a0_0x3e48cd(0x1ef)](){const _0x15bfbd=a0_0x3e48cd;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x15bfbd(0x2fa)]()[_0x15bfbd(0x1f8)],'systemFields':{'hasLogicField':this[_0x15bfbd(0x1d0)](),'hasCreateTimeField':this[_0x15bfbd(0x83)](),'hasUpdateTimeField':this[_0x15bfbd(0x308)](),'hasCreatorIdField':this[_0x15bfbd(0xdf)](),'hasModifierIdField':this[_0x15bfbd(0x215)]()}};}[a0_0x3e48cd(0x2e0)](){const _0x461292=a0_0x3e48cd,_0x517cde={};return _0x517cde[_0x461292(0x1fa)]=this['tableName'],_0x517cde[_0x461292(0x33b)]=this[_0x461292(0x33b)],_0x517cde[_0x461292(0x21d)]=this[_0x461292(0x21d)],_0x517cde[_0x461292(0xd1)]=this['dbId'],_0x517cde;}[a0_0x3e48cd(0x2df)](){const _0x36a48f=a0_0x3e48cd,_0x52df75={...this[_0x36a48f(0x239)]};return _0x52df75;}[a0_0x3e48cd(0x34b)](){const _0x38643d=a0_0x3e48cd,_0xa89470={...this[_0x38643d(0x239)]};return _0xa89470;}['toString'](){const _0x5f304b=a0_0x3e48cd,_0x1c198b=this['tableName']||_0x5f304b(0x13f),_0x37a7b3=this['getAllFieldsArray']()[_0x5f304b(0x1f8)];return'DbtableConfig(table:\x20'+_0x1c198b+_0x5f304b(0x296)+_0x37a7b3+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3e48cd(0x239)];constructor(_0x5d8bf6){const _0x52045d=a0_0x3e48cd,_0x166909=_0x5d8bf6[_0x52045d(0x14c)]||_0x5d8bf6['code']||_0x5d8bf6[_0x52045d(0x92)],_0x372a66={..._0x5d8bf6};_0x372a66['datasetCode']=_0x166909,this['_raw']=_0x372a66;}get['id'](){return this['_raw']['id'];}get[a0_0x3e48cd(0x246)](){const _0x3a3690=a0_0x3e48cd;return this[_0x3a3690(0x239)][_0x3a3690(0x246)];}[a0_0x3e48cd(0xd9)](){const _0x26f4ce=a0_0x3e48cd;return this[_0x26f4ce(0x246)];}get[a0_0x3e48cd(0x14c)](){return this['_raw']['datasetCode']||'';}get['dbtableConfig'](){const _0xf670f2=a0_0x3e48cd;if(!this[_0xf670f2(0x239)][_0xf670f2(0x2aa)])return null;return new DbtableConfig(this[_0xf670f2(0x239)][_0xf670f2(0x2aa)]);}[a0_0x3e48cd(0x2e7)](){const _0x3aa665=a0_0x3e48cd;return this[_0x3aa665(0x239)]['dbtableConfig'];}[a0_0x3e48cd(0x31c)](){const _0x31243d=a0_0x3e48cd;return this[_0x31243d(0x2aa)]?.['dbName']||'';}[a0_0x3e48cd(0x16d)](){return getTableName(this['_raw']);}['getTableKey'](){const _0xd8c34e=a0_0x3e48cd;return getTableKey(this[_0xd8c34e(0x16d)]());}[a0_0x3e48cd(0x325)](){const _0x434134=a0_0x3e48cd;return generateModelKeyFromCode(this[_0x434134(0x14c)]);}[a0_0x3e48cd(0x1c0)](){const _0x3ecda5=a0_0x3e48cd;return isVirtualTableName(this[_0x3ecda5(0x16d)]());}[a0_0x3e48cd(0x1bb)](){return getTableKey(this['getTableName']());}[a0_0x3e48cd(0x2e0)](){const _0x1709ec=a0_0x3e48cd,_0x460cde=getTableKey(this[_0x1709ec(0x16d)]());return{'key':_0x460cde,'alias':_0x460cde,'tableName':this[_0x1709ec(0x16d)](),'datasetCode':this[_0x1709ec(0x14c)],'name':this[_0x1709ec(0x246)]};}['toJSON'](){const _0x4525d6=a0_0x3e48cd,_0x1d0e7e={...this['_raw']};return _0x1d0e7e[_0x4525d6(0x14c)]=this['datasetCode'],_0x1d0e7e;}[a0_0x3e48cd(0x34b)](){const _0x495c98=a0_0x3e48cd,_0x469c55={...this[_0x495c98(0x239)]};return _0x469c55;}[a0_0x3e48cd(0xe0)](){const _0x3994bd=a0_0x3e48cd,_0x18228b=this[_0x3994bd(0x2aa)];return _0x18228b!==null&&_0x18228b[_0x3994bd(0x27b)]();}[a0_0x3e48cd(0x110)](_0x43178c){return this['_raw'][_0x43178c];}['hasExtendField'](_0x43ebe7){const _0x4c98e8=a0_0x3e48cd;return _0x43ebe7 in this[_0x4c98e8(0x239)];}[a0_0x3e48cd(0x129)](){const _0xd11b7d=a0_0x3e48cd;return _0xd11b7d(0x1b4)+this[_0xd11b7d(0x246)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x3e48cd(0x239)];[a0_0x3e48cd(0xc5)];constructor(_0x50781c,_0xcabe0e,_0x4ed718){const _0x55e592=a0_0x3e48cd;this['name']=_0x50781c,this[_0x55e592(0x239)]=_0xcabe0e,this['context']=_0x4ed718;}[a0_0x3e48cd(0xd9)](){return this['name'];}[a0_0x3e48cd(0x2ef)](){return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this['name'];}[a0_0x3e48cd(0x22a)](){return parseOperationType(this['name']);}[a0_0x3e48cd(0x189)](){const _0x548db4=a0_0x3e48cd;return this[_0x548db4(0x239)]!==null&&this[_0x548db4(0x239)]!==![];}[a0_0x3e48cd(0x24d)](){const _0x40c315=a0_0x3e48cd,_0x927e1c=this[_0x40c315(0x239)];if(_0x927e1c===![]||_0x927e1c===null)return'';return _0x927e1c[_0x40c315(0x2eb)]||_0x40c315(0xb6);}[a0_0x3e48cd(0x232)](){const _0x5d7bf0=this['_raw'];if(_0x5d7bf0===![]||_0x5d7bf0===null)return'';return _0x5d7bf0['path']||'';}[a0_0x3e48cd(0x1ee)](){const _0x3ad01f=a0_0x3e48cd,_0x188b47=this[_0x3ad01f(0x239)];let _0x340a98='';_0x188b47!==![]&&_0x188b47!==null&&_0x188b47[_0x3ad01f(0x19d)]&&(_0x340a98=_0x188b47[_0x3ad01f(0x19d)]);const _0x3358c6=this[_0x3ad01f(0x232)]();return _0x340a98&&_0x3358c6?''+_0x340a98+_0x3358c6:_0x3358c6;}[a0_0x3e48cd(0x19a)](){const _0x2a8bd5=a0_0x3e48cd,_0x1b7ccb=this[_0x2a8bd5(0x239)];if(_0x1b7ccb===![]||_0x1b7ccb===null||!_0x1b7ccb[_0x2a8bd5(0x330)])return{};try{return JSON[_0x2a8bd5(0x312)](_0x1b7ccb[_0x2a8bd5(0x330)]);}catch{return{};}}[a0_0x3e48cd(0x267)](){const _0x1ebc14=a0_0x3e48cd,_0x2e1d7f=this[_0x1ebc14(0x239)];if(_0x2e1d7f===![]||_0x2e1d7f===null||!_0x2e1d7f[_0x1ebc14(0x2f7)])return null;return parseResponseBody(_0x2e1d7f[_0x1ebc14(0x2f7)]);}['getRequestParams'](){const _0x2fe22d=a0_0x3e48cd;return this[_0x2fe22d(0x19a)]();}[a0_0x3e48cd(0x2cf)](){return this['parseRawResponseBody']();}[a0_0x3e48cd(0xfe)](){const _0x293fc5=a0_0x3e48cd,_0x5743c4=this[_0x293fc5(0x114)]();return Object['keys'](_0x5743c4);}[a0_0x3e48cd(0x209)](){const _0x558cbd=a0_0x3e48cd,_0xa58731=this['getRequestParams'](),_0x19f0db={};return Object['entries'](_0xa58731)[_0x558cbd(0x194)](([_0x5a3484,_0x4d85a7])=>{const _0x1dc3e6=_0x558cbd,_0x2527ea=_0x4d85a7;_0x19f0db[_0x5a3484]=generateExampleValue(_0x5a3484,_0x2527ea[_0x1dc3e6(0x299)]||_0x1dc3e6(0x290),undefined,{'description':_0x2527ea[_0x1dc3e6(0x2b7)]});}),_0x19f0db;}[a0_0x3e48cd(0x197)](){return this['generateRequestExample']();}[a0_0x3e48cd(0x333)](){const _0x27495d=a0_0x3e48cd;return[{'title':_0x27495d(0x1f0),'data':this[_0x27495d(0x209)]()}];}[a0_0x3e48cd(0xd5)](){const _0x2a3b2d=a0_0x3e48cd,_0x16e559=this['parseRawResponseBody']();if(!_0x16e559){const _0x3b612e={};return _0x3b612e[_0x2a3b2d(0x2c3)]=!![],_0x3b612e[_0x2a3b2d(0x1ab)]=_0x2a3b2d(0x86),_0x3b612e[_0x2a3b2d(0x2d1)]='',_0x3b612e[_0x2a3b2d(0x1a1)]=_0x2a3b2d(0x23e),_0x3b612e[_0x2a3b2d(0x32f)]=null,_0x3b612e;}return this['generateFromSchema'](_0x16e559);}[a0_0x3e48cd(0xc4)](_0x1d9393){const _0x522ca4=a0_0x3e48cd;if(!_0x1d9393||typeof _0x1d9393!==_0x522ca4(0x335))return{};if(Array[_0x522ca4(0x133)](_0x1d9393))return _0x1d9393[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x1d9393[0x0])]:[];const _0x3024bf={};for(const [_0x35de06,_0x4c98f5]of Object[_0x522ca4(0x256)](_0x1d9393)){if(_0x4c98f5&&typeof _0x4c98f5==='object'&&!Array[_0x522ca4(0x133)](_0x4c98f5)){const _0x113281=_0x4c98f5;_0x3024bf[_0x35de06]=generateExampleValue(_0x35de06,_0x113281[_0x522ca4(0x299)]||'String',undefined,{'description':_0x113281[_0x522ca4(0x2b7)]});}else Array[_0x522ca4(0x133)](_0x4c98f5)?_0x3024bf[_0x35de06]=_0x4c98f5[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x4c98f5[0x0])]:[]:_0x3024bf[_0x35de06]=_0x4c98f5;}return _0x3024bf;}[a0_0x3e48cd(0x291)](_0x5ed015,_0x12b067,_0x30a49c,_0x249c47){return generateExampleValue(_0x5ed015,_0x12b067,_0x30a49c,_0x249c47);}['generateSDKCallCode'](_0x4bd97f,_0x15f1bc){const _0x3551c5=a0_0x3e48cd,_0x9cc196=this[_0x3551c5(0xd9)]();return _0x3551c5(0x331)+_0x4bd97f+'.'+_0x9cc196+_0x3551c5(0x167);}[a0_0x3e48cd(0x17e)](_0x4499db){const _0x396a86=a0_0x3e48cd,_0x500e01=this[_0x396a86(0xd9)](),_0x317fd7=_0x4499db||'yourModel',_0x4b8f77={};return _0x4b8f77[_0x396a86(0x1de)]='const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+_0x396a86(0x167),_0x4b8f77[_0x396a86(0x1a1)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4b8f77;}['getRequestParamsDocInfo'](){const _0xa609e2=a0_0x3e48cd,_0x3d6797=this[_0xa609e2(0x114)](),_0x547355=Object[_0xa609e2(0x256)](_0x3d6797)['map'](([_0x231814,_0x1ca31d])=>{const _0x327250=_0xa609e2,_0xc02142=_0x1ca31d,_0x318866={};return _0x318866['name']=_0x231814,_0x318866[_0x327250(0x299)]=_0xc02142['type']||'String',_0x318866['description']=_0xc02142[_0x327250(0x2b7)]||'-',_0x318866[_0x327250(0x180)]=_0xc02142[_0x327250(0x180)],_0x318866;}),_0x34a64f={};return _0x34a64f['params']=_0x547355,_0x34a64f;}[a0_0x3e48cd(0xcb)](){const _0x14c038=a0_0x3e48cd,_0x436171=this[_0x14c038(0x267)]();if(!_0x436171){const _0x10a117={};return _0x10a117[_0x14c038(0x26b)]=[],_0x10a117;}const _0x541f52=Object[_0x14c038(0x256)](_0x436171)[_0x14c038(0xac)](([_0x4a96f8,_0xe3594b])=>{const _0x5e4091=_0x14c038,_0x738a60=_0xe3594b,_0x10f192={};return _0x10f192[_0x5e4091(0x246)]=_0x4a96f8,_0x10f192[_0x5e4091(0x299)]=_0x738a60[_0x5e4091(0x299)]||_0x5e4091(0x290),_0x10f192['description']=_0x738a60['description']||'-',_0x10f192;}),_0x4eda5d={};return _0x4eda5d[_0x14c038(0x26b)]=_0x541f52,_0x4eda5d;}[a0_0x3e48cd(0x2bf)](){return[];}['getBusinessFields'](){return this['context']['fields']||[];}['getAllParams'](){const _0x2750f0=a0_0x3e48cd;return{'systemFields':this[_0x2750f0(0x2bf)](),'businessFields':this[_0x2750f0(0x2ea)]()};}[a0_0x3e48cd(0x28a)](_0x56ef74){const _0x1822a6=a0_0x3e48cd;return this[_0x1822a6(0xc5)][_0x1822a6(0x16a)][_0x1822a6(0x8b)](_0x2d7c99=>_0x2d7c99?.[_0x1822a6(0x22c)]===_0x56ef74);}[a0_0x3e48cd(0x28b)](_0x16c898){const _0x34be04=a0_0x3e48cd;return _0x16c898[_0x34be04(0x22c)];}['getFieldType'](_0x34407d){return _0x34407d['type'];}[a0_0x3e48cd(0xbc)](_0x538cbd){return _0x538cbd['name'];}[a0_0x3e48cd(0x14e)](_0x31dcb7){return _0x31dcb7['description'];}[a0_0x3e48cd(0x328)](_0x26cd09){return _0x26cd09['getEnumOptions']()||null;}['isFieldPrimaryKey'](_0x4a09d9){const _0x32eff0=a0_0x3e48cd;return _0x4a09d9[_0x32eff0(0xb8)]();}['getOperators'](){return[];}[a0_0x3e48cd(0x238)](_0x2582e4){return[];}[a0_0x3e48cd(0x2df)](){const _0x444945=a0_0x3e48cd;return{'name':this[_0x444945(0xd9)](),'displayName':this[_0x444945(0x2ef)](),'type':this[_0x444945(0x22a)](),'enabled':this[_0x444945(0x189)](),'method':this[_0x444945(0x24d)](),'path':this['getPath'](),'fullUrl':this[_0x444945(0x1ee)](),'requestParams':this[_0x444945(0x114)](),'requestExample':this[_0x444945(0x209)](),'responseExample':this['generateResponseExample']()};}[a0_0x3e48cd(0x129)](){const _0x11e164=a0_0x3e48cd,_0x143a41=this[_0x11e164(0x189)]()?'启用':'禁用';return this[_0x11e164(0x2ef)]()+'('+this['name']+',\x20'+_0x143a41+')';}}class GenericOperation extends Operation{[a0_0x3e48cd(0x177)];[a0_0x3e48cd(0x114)](){const _0x1ca942=a0_0x3e48cd;return this[_0x1ca942(0x19a)]();}[a0_0x3e48cd(0x2cf)](){const _0x3b0c84=a0_0x3e48cd;return this[_0x3b0c84(0x267)]();}[a0_0x3e48cd(0x209)](){const _0xb6d2f6=a0_0x3e48cd;if(this[_0xb6d2f6(0x177)])return this[_0xb6d2f6(0x177)];const _0x17647c={},_0x21df02=this[_0xb6d2f6(0x114)](),_0x13dc3b=this[_0xb6d2f6(0x22a)]();if(Object['keys'](_0x21df02)['length']===0x0&&_0x13dc3b){const _0x2eb990=this[_0xb6d2f6(0x2ea)]();return _0x2eb990[_0xb6d2f6(0x194)](_0x38386e=>{const _0x6b1365=_0xb6d2f6,_0x1a8281=_0x38386e[_0x6b1365(0x22c)],_0x3ec933=_0x38386e[_0x6b1365(0x299)],_0x2b7c6c=this[_0x6b1365(0x291)](_0x1a8281,_0x3ec933,_0x38386e[_0x6b1365(0x178)](),{'isPrimaryKey':_0x38386e['isPrimaryKey'](),'description':_0x38386e['description']||_0x38386e[_0x6b1365(0x246)]});_0x17647c[_0x1a8281]=_0x2b7c6c;}),this[_0xb6d2f6(0x177)]=_0x17647c,_0x17647c;}return Object[_0xb6d2f6(0x256)](_0x21df02)[_0xb6d2f6(0x194)](([_0x5ba4e5,_0x342333])=>{const _0x24d937=_0xb6d2f6,_0x25ac3a=_0x342333;let _0x3c2c80;if(typeof _0x25ac3a[_0x24d937(0x299)]==='string')_0x3c2c80=_0x25ac3a[_0x24d937(0x299)];else _0x25ac3a['type']&&typeof _0x25ac3a[_0x24d937(0x299)]===_0x24d937(0x335)?_0x3c2c80=_0x25ac3a[_0x24d937(0x299)][_0x24d937(0x299)]||'TEXT':_0x3c2c80=_0x24d937(0x1b1);const _0x348f78=_0x25ac3a[_0x24d937(0x2b7)],_0x5ae425=this[_0x24d937(0x28a)](_0x5ba4e5);if(_0x5ba4e5==='currentPage')_0x17647c[_0x5ba4e5]=0x1;else{if(_0x5ba4e5===_0x24d937(0x1e0))_0x17647c[_0x5ba4e5]=0xa;else{if(_0x5ba4e5==='id')_0x17647c[_0x5ba4e5]=0x1;else{const _0x2daf73=_0x5ae425?_0x5ae425[_0x24d937(0x178)]():undefined,_0x239040=_0x5ae425?_0x5ae425[_0x24d937(0x2b7)]:undefined,_0x1c3447=_0x5ae425?_0x5ae425[_0x24d937(0x246)]:undefined;_0x17647c[_0x5ba4e5]=this[_0x24d937(0x291)](_0x5ba4e5,_0x3c2c80,_0x2daf73||undefined,{'isPrimaryKey':_0x5ba4e5===this[_0x24d937(0xc5)][_0x24d937(0x33b)]||_0x5ba4e5==='id','description':_0x348f78||_0x239040||_0x1c3447});}}}}),this['_requestExampleCache']=_0x17647c,_0x17647c;}['generateResponseExample'](){const _0x5cac36=a0_0x3e48cd,_0x4a4c21=this[_0x5cac36(0x2cf)]();if(!_0x4a4c21){const _0x14e3c1={};return _0x14e3c1[_0x5cac36(0x2c3)]=!![],_0x14e3c1[_0x5cac36(0x1ab)]='操作成功',_0x14e3c1['errorMsg']='',_0x14e3c1[_0x5cac36(0x1a1)]=_0x5cac36(0x23e),_0x14e3c1[_0x5cac36(0x32f)]=null,_0x14e3c1;}return this[_0x5cac36(0xc4)](_0x4a4c21);}[a0_0x3e48cd(0xc4)](_0xd4d93b){const _0x2da6e0=a0_0x3e48cd;if(!_0xd4d93b||typeof _0xd4d93b!=='object')return{};if(Array[_0x2da6e0(0x133)](_0xd4d93b)){if(_0xd4d93b[_0x2da6e0(0x1f8)]>0x0)return[this['generateFromSchema'](_0xd4d93b[0x0])];return[];}const _0x413bb9={};return Object['keys'](_0xd4d93b)[_0x2da6e0(0x194)](_0x2d1873=>{const _0x249a6f=_0x2da6e0,_0x208c2d=_0xd4d93b[_0x2d1873];if(_0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)&&!Array[_0x249a6f(0x133)](_0x208c2d)&&_0x208c2d[_0x249a6f(0x299)]){const _0x4695d6=_0x208c2d;let _0x5139b4;if(typeof _0x4695d6[_0x249a6f(0x299)]==='string')_0x5139b4=_0x4695d6[_0x249a6f(0x299)];else _0x4695d6[_0x249a6f(0x299)]&&typeof _0x4695d6['type']===_0x249a6f(0x335)?_0x5139b4=_0x4695d6['type']['type']||_0x249a6f(0x1b1):_0x5139b4=_0x249a6f(0x1b1);const _0x3919d4=_0x4695d6['description'],_0x3bbf9f={};_0x3bbf9f['description']=_0x3919d4,_0x413bb9[_0x2d1873]=this[_0x249a6f(0x291)](_0x2d1873,_0x5139b4,undefined,_0x3bbf9f);}else{if(Array['isArray'](_0x208c2d))_0x413bb9[_0x2d1873]=_0x208c2d[_0x249a6f(0x1f8)]>0x0?[this[_0x249a6f(0xc4)](_0x208c2d[0x0])]:[];else _0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)?_0x413bb9[_0x2d1873]=this[_0x249a6f(0xc4)](_0x208c2d):_0x413bb9[_0x2d1873]=_0x208c2d;}}),_0x413bb9;}[a0_0x3e48cd(0x27a)](_0xef221f,_0x615ea3){const _0x3814d0=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x615ea3||{},_0x4eff18=this[_0x3814d0(0xd9)](),_0x8e6533=this[_0x3814d0(0x22a)](),_0x212db4=this['getRequestFields'](),_0x6b589f=this[_0x3814d0(0x209)](),_0x5ce0ff=_0x5d93f3=>{const _0x54dfac=_0x3814d0;if(Object['keys'](_0x5d93f3)[_0x54dfac(0x1f8)]===0x0)return'{}';const _0x2a96bb=JSON[_0x54dfac(0x10a)](_0x5d93f3,null,0x2)['split']('\x0a')['map']((_0x5c3e9b,_0x7b38e)=>_0x7b38e===0x0?_0x5c3e9b:indent+_0x5c3e9b)['join']('\x0a');return _0x2a96bb;};switch(_0x8e6533){case _0x3814d0(0x2ca):case _0x3814d0(0x293):return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x23c);case _0x3814d0(0x18c):if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0xb5)+_0x5ce0ff(_0x6b589f)+');';return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+'(id,\x20data);';case'create':case'getList':case _0x3814d0(0x346):default:if(_0x212db4[_0x3814d0(0x1f8)]>0x0){if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+'('+_0x5ce0ff(_0x6b589f)+');';else{const _0x599524=Object[_0x3814d0(0x326)](_0x6b589f);if(_0x599524[_0x3814d0(0x1f8)]>0x0){const _0x134eed=_0x599524[_0x3814d0(0x1f9)](0x0,0x2)[_0x3814d0(0x103)](',\x20');return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x30d)+_0x134eed+_0x3814d0(0x1e5);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x221);}}else return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x167);}}['generateRequestAllExamples'](){const _0x1aa198=a0_0x3e48cd;return[{'title':_0x1aa198(0x1f0),'data':this[_0x1aa198(0x209)]()}];}[a0_0x3e48cd(0x2bf)](){const _0x5b982f=a0_0x3e48cd,_0x50a3db=this['getType'](),_0x33e798=[];switch(_0x50a3db){case _0x5b982f(0x2ca):case'delete':const _0x4c739b={};_0x4c739b[_0x5b982f(0x22c)]='id',_0x4c739b[_0x5b982f(0x299)]=_0x5b982f(0x1dd),_0x4c739b[_0x5b982f(0x2b7)]=_0x5b982f(0x123),_0x33e798[_0x5b982f(0x2d5)](_0x4c739b);break;case _0x5b982f(0x286):const _0x52677e={};_0x52677e[_0x5b982f(0x22c)]=_0x5b982f(0xcf),_0x52677e[_0x5b982f(0x299)]='NUMBER',_0x52677e[_0x5b982f(0x2b7)]='当前页码';const _0x328bc2={};_0x328bc2[_0x5b982f(0x22c)]=_0x5b982f(0x1e0),_0x328bc2[_0x5b982f(0x299)]='NUMBER',_0x328bc2[_0x5b982f(0x2b7)]=_0x5b982f(0xa0),_0x33e798[_0x5b982f(0x2d5)](_0x52677e,_0x328bc2);break;case _0x5b982f(0x346):const _0x3267fb={};_0x3267fb[_0x5b982f(0x22c)]=_0x5b982f(0x22c),_0x3267fb[_0x5b982f(0x299)]=_0x5b982f(0xe1),_0x3267fb[_0x5b982f(0x2b7)]=_0x5b982f(0xa4),_0x33e798[_0x5b982f(0x2d5)](_0x3267fb);break;default:break;}return _0x33e798;}[a0_0x3e48cd(0x2ea)](){const _0x370ea6=a0_0x3e48cd,_0x47028d=this[_0x370ea6(0x22a)](),_0x431265=this['context'][_0x370ea6(0x16a)]||[];switch(_0x47028d){case _0x370ea6(0x2ca):case _0x370ea6(0x293):return[];case'create':case _0x370ea6(0x17d):return _0x431265[_0x370ea6(0x2af)](_0x1d1efa=>{const _0x21cb28=_0x370ea6;if(_0x1d1efa[_0x21cb28(0x24b)])return![];if(_0x1d1efa[_0x21cb28(0xb8)]()&&_0x1d1efa[_0x21cb28(0x305)]())return![];if(_0x1d1efa[_0x21cb28(0x1f6)]())return![];if(_0x1d1efa[_0x21cb28(0x1bc)]()||_0x1d1efa[_0x21cb28(0xe4)]())return![];return!![];});case _0x370ea6(0x18c):return _0x431265[_0x370ea6(0x2af)](_0x107db0=>{const _0x2bcc7d=_0x370ea6;if(_0x107db0[_0x2bcc7d(0x24b)])return![];if(_0x107db0[_0x2bcc7d(0xb8)]())return![];if(_0x107db0['isSystem']())return![];if(_0x107db0['isCreateTime']()||_0x107db0[_0x2bcc7d(0xe4)]())return![];if(_0x107db0[_0x2bcc7d(0x305)]())return![];return!![];});case'getList':case _0x370ea6(0x346):return _0x431265[_0x370ea6(0x2af)](_0x3e0bd0=>!_0x3e0bd0[_0x370ea6(0x24b)]&&_0x3e0bd0[_0x370ea6(0x143)]());default:return _0x431265[_0x370ea6(0x2af)](_0x283e5a=>!_0x283e5a[_0x370ea6(0x24b)]&&_0x283e5a['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x474404=a0_0x3e48cd,_0x339305=super[_0x474404(0x114)](),_0x1ca20d=Object[_0x474404(0x326)](_0x339305);if(_0x1ca20d[_0x474404(0x1f8)]===0x0||_0x1ca20d['length']===0x1&&_0x1ca20d[0x0]===_0x474404(0x22c)){if(!_0x339305[_0x474404(0x22c)]){const _0x1c72ea={};_0x1c72ea[_0x474404(0x299)]=_0x474404(0x290),_0x1c72ea[_0x474404(0x2b7)]=_0x474404(0x102),_0x339305[_0x474404(0x22c)]=_0x1c72ea;}const _0x1bc8be={};_0x1bc8be[_0x474404(0x299)]=_0x474404(0x290),_0x1bc8be[_0x474404(0x2b7)]='字段名称',_0x339305[_0x474404(0x140)]=_0x1bc8be;}return _0x339305;}[a0_0x3e48cd(0x2ea)](){return[];}['getSystemFields'](){const _0x350534=a0_0x3e48cd,_0x236819={};_0x236819[_0x350534(0x22c)]=_0x350534(0x22c),_0x236819[_0x350534(0x299)]=_0x350534(0x290),_0x236819['description']=_0x350534(0x102);const _0xbfe3ed={};return _0xbfe3ed[_0x350534(0x22c)]=_0x350534(0x140),_0xbfe3ed[_0x350534(0x299)]='String',_0xbfe3ed[_0x350534(0x2b7)]=_0x350534(0x175),[_0x236819,_0xbfe3ed];}[a0_0x3e48cd(0x209)](){const _0x1c2b13=a0_0x3e48cd,_0x22ab6e={};return _0x22ab6e[_0x1c2b13(0x22c)]=_0x1c2b13(0x1e1),_0x22ab6e[_0x1c2b13(0x140)]=_0x1c2b13(0x1e1),_0x22ab6e;}[a0_0x3e48cd(0x27a)](_0x3dd111){const _0x1b2e06=a0_0x3e48cd,_0x3bbfc3=this[_0x1b2e06(0xd9)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3dd111+'.'+_0x3bbfc3+_0x1b2e06(0x34c);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x4ffe15=a0_0x3e48cd,_0x249f41=super['getRequestParams'](),{currentPage:_0x3e5f1d,pageSize:_0x16a72f,..._0x3607ab}=_0x249f41,_0xcc78d6={};Object[_0x4ffe15(0x256)](_0x3607ab)[_0x4ffe15(0x194)](([_0x55b379,_0xfe6a0a])=>{const _0x557e2b=_0x4ffe15;if(typeof _0xfe6a0a===_0x557e2b(0x335)&&_0xfe6a0a!==null){const _0x38f2e2=_0xfe6a0a,_0x1167b1=_0x38f2e2[_0x557e2b(0x2b7)]||'',_0x48402a={..._0x38f2e2};_0x48402a[_0x557e2b(0x2b7)]=_0x1167b1?_0x1167b1+'(支持单值或数组)':_0x557e2b(0x24a),_0xcc78d6[_0x55b379]=_0x48402a;}else _0xcc78d6[_0x55b379]=_0xfe6a0a;});const _0x1a253e={...typeof _0x3e5f1d===_0x4ffe15(0x335)?_0x3e5f1d:{}};_0x1a253e['type']=_0x4ffe15(0x186),_0x1a253e[_0x4ffe15(0x2b7)]=_0x4ffe15(0x23f);const _0xa13eb6={...typeof _0x16a72f===_0x4ffe15(0x335)?_0x16a72f:{}};_0xa13eb6[_0x4ffe15(0x299)]='Number',_0xa13eb6[_0x4ffe15(0x2b7)]=_0x4ffe15(0x164);const _0xa08b90={..._0xcc78d6};return _0xa08b90[_0x4ffe15(0xcf)]=_0x1a253e,_0xa08b90[_0x4ffe15(0x1e0)]=_0xa13eb6,_0xa08b90;}['generateRequestExample'](_0x4097e9){const _0x1e5763=a0_0x3e48cd,{useArrayValues:useArrayValues=!![]}=_0x4097e9||{},_0x523651=super[_0x1e5763(0x209)](),{currentPage:_0x503599,pageSize:_0xda8807,..._0x35029f}=_0x523651;if(!useArrayValues){const _0x55d6d3={..._0x35029f};return _0x55d6d3[_0x1e5763(0xcf)]=_0x503599??0x1,_0x55d6d3[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x55d6d3;}const _0xad7387={},_0x5b5c9a=['id',_0x1e5763(0x1e2),'code',_0x1e5763(0x299)];Object[_0x1e5763(0x256)](_0x35029f)[_0x1e5763(0x194)](([_0x5788d2,_0x386f7b],_0x371c4b)=>{const _0x204c87=_0x1e5763,_0x5bd570=_0x5b5c9a[_0x204c87(0x294)](_0x245e90=>_0x5788d2[_0x204c87(0xc3)]()['includes'](_0x245e90))||_0x371c4b%0x3===0x0;if(_0x5bd570&&_0x386f7b!==null&&_0x386f7b!==undefined){if(typeof _0x386f7b===_0x204c87(0x231))_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+0x1,_0x386f7b+0x2];else typeof _0x386f7b==='string'?_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+'_2',_0x386f7b+'_3']:_0xad7387[_0x5788d2]=[_0x386f7b];}else _0xad7387[_0x5788d2]=_0x386f7b;});const _0x1eb17e={..._0xad7387};return _0x1eb17e[_0x1e5763(0xcf)]=_0x503599??0x1,_0x1eb17e[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x1eb17e;}[a0_0x3e48cd(0x283)](){const _0x2bfa5f=a0_0x3e48cd,_0x36fbb1={};return _0x36fbb1[_0x2bfa5f(0x85)]=![],this[_0x2bfa5f(0x209)](_0x36fbb1);}['generateRequestAllExamples'](){const _0x3d0234=a0_0x3e48cd;return[{'title':_0x3d0234(0x1e9),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0x3d0234(0x2ac),'description':'支持多个条件','data':this[_0x3d0234(0x209)]()}];}[a0_0x3e48cd(0x27a)](_0xa4cc87,_0x2ef05e){const _0x2ab010=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2ef05e||{},_0x2c1dce=this[_0x2ab010(0xd9)](),_0x2f3d13={};_0x2f3d13['useArrayValues']=!![];const _0x390539=this['generateRequestExample'](_0x2f3d13),{currentPage:_0x4dfe4f,pageSize:_0x4cd57e,..._0xbd840c}=_0x390539;if(useFullExample&&Object[_0x2ab010(0x326)](_0x390539)['length']>0x0){const _0x39a001=Object[_0x2ab010(0x326)](_0xbd840c)['length']>0x0;if(_0x39a001){const _0x1fa3b1=this['generateSingleValueExample'](),_0x2f383c=_0x416b6d=>{const _0x2f75f0=_0x2ab010;return JSON[_0x2f75f0(0x10a)](_0x416b6d,null,0x2)[_0x2f75f0(0x182)]('\x0a')[_0x2f75f0(0xac)]((_0x3bc70e,_0x3edbd7)=>_0x3edbd7===0x0?_0x3bc70e:indent+_0x3bc70e)[_0x2f75f0(0x103)]('\x0a');};return _0x2ab010(0xf5)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x1fa3b1)+_0x2ab010(0xd2)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x390539)+');';}else{const _0x2260ea=JSON['stringify'](_0x390539,null,0x2)[_0x2ab010(0x182)]('\x0a')[_0x2ab010(0xac)]((_0x1dc406,_0x5bec5a)=>_0x5bec5a===0x0?_0x1dc406:indent+_0x1dc406)[_0x2ab010(0x103)]('\x0a');return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2260ea+');';}}if(Object[_0x2ab010(0x326)](_0xbd840c)[_0x2ab010(0x1f8)]>0x0){const _0x9f4925=Object[_0x2ab010(0x326)](_0xbd840c)[0x0];return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x30d)+_0x9f4925+_0x2ab010(0x304);}return'const\x20result\x20=\x20await\x20client.models.'+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x264);}}var AGGREGATE_FUNCTIONS=[a0_0x3e48cd(0xee),a0_0x3e48cd(0x26c),a0_0x3e48cd(0x99),'max',a0_0x3e48cd(0x15b)],FILTER_OPERATORS=[a0_0x3e48cd(0xab),'$ne',a0_0x3e48cd(0x323),a0_0x3e48cd(0x135),a0_0x3e48cd(0x1f1),'$lteq',a0_0x3e48cd(0x8d),a0_0x3e48cd(0x1d7),a0_0x3e48cd(0x1c4),a0_0x3e48cd(0x212),a0_0x3e48cd(0x349),a0_0x3e48cd(0x2d6)];class FilterOperation extends GenericOperation{constructor(_0x24698e,_0x44be82,_0x2a3614){super(_0x24698e,_0x44be82,_0x2a3614);}[a0_0x3e48cd(0x1a6)](){return FILTER_OPERATORS;}[a0_0x3e48cd(0x238)](_0x1f24a6){const _0x48e2d8=a0_0x3e48cd,_0xb1e4b2=this[_0x48e2d8(0x28a)](_0x1f24a6);if(!_0xb1e4b2)return[];return this[_0x48e2d8(0x343)](_0xb1e4b2);}[a0_0x3e48cd(0x114)](){const _0x21ee6a=a0_0x3e48cd,_0x127139=super[_0x21ee6a(0x114)](),_0x5bd5b2={};_0x5bd5b2[_0x21ee6a(0x299)]=_0x21ee6a(0x288),_0x5bd5b2[_0x21ee6a(0x2b7)]='查询条件(支持\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)',_0x5bd5b2['required']=![];const _0x54e1ab={};_0x54e1ab[_0x21ee6a(0x299)]='String[]',_0x54e1ab['description']=_0x21ee6a(0x2a2),_0x54e1ab[_0x21ee6a(0x180)]=![];const _0x3ab70d={};_0x3ab70d[_0x21ee6a(0x299)]=_0x21ee6a(0x322),_0x3ab70d['description']=_0x21ee6a(0x20d),_0x3ab70d['required']=![];const _0x195fd0={};_0x195fd0[_0x21ee6a(0x299)]='Number',_0x195fd0['description']=_0x21ee6a(0x23f),_0x195fd0[_0x21ee6a(0x180)]=![],_0x195fd0['default']=0x1;const _0x3e0e7a={};_0x3e0e7a[_0x21ee6a(0x299)]='Number',_0x3e0e7a['description']=_0x21ee6a(0x164),_0x3e0e7a[_0x21ee6a(0x180)]=![],_0x3e0e7a[_0x21ee6a(0x1d3)]=0xa;const _0x2f3936={..._0x127139};return _0x2f3936[_0x21ee6a(0x2b0)]=_0x5bd5b2,_0x2f3936[_0x21ee6a(0x2bb)]=_0x54e1ab,_0x2f3936[_0x21ee6a(0x147)]=_0x3ab70d,_0x2f3936[_0x21ee6a(0xcf)]=_0x195fd0,_0x2f3936['pageSize']=_0x3e0e7a,_0x2f3936;}['getSystemFields'](){const _0x515d7d=a0_0x3e48cd,_0x7bc649=this['getRequestParams'](),_0x5d620d=[],_0x1cee77=['where','select',_0x515d7d(0x147),'currentPage',_0x515d7d(0x1e0)];return Object['entries'](_0x7bc649)[_0x515d7d(0x194)](([_0x39de8d,_0x487467])=>{const _0xdee5e9=_0x515d7d;if(_0x1cee77['includes'](_0x39de8d)){const _0x509bbc=_0x487467,_0x132bd3={};_0x132bd3[_0xdee5e9(0x22c)]=_0x39de8d,_0x132bd3['type']=_0x509bbc['type']||_0xdee5e9(0x288),_0x132bd3[_0xdee5e9(0x2b7)]=_0x509bbc[_0xdee5e9(0x2b7)]||'-',_0x5d620d['push'](_0x132bd3);}}),_0x5d620d;}['getBusinessFields'](){const _0x5713f2=a0_0x3e48cd;return this[_0x5713f2(0xc5)][_0x5713f2(0x16a)]||[];}['getGroupedParams'](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x3e48cd(0x209)](){const _0x4f382d=a0_0x3e48cd,_0x20e641=this['context']['fields']||[];if(_0x20e641[_0x4f382d(0x1f8)]===0x0){const _0x13a156={};return _0x13a156[_0x4f382d(0x2b0)]={},_0x13a156[_0x4f382d(0xcf)]=0x1,_0x13a156[_0x4f382d(0x1e0)]=0x14,_0x13a156;}const _0x1a7284={},_0x54694e=_0x20e641[_0x4f382d(0x1f9)](0x0,Math[_0x4f382d(0x15b)](0x3,_0x20e641[_0x4f382d(0x1f8)]));_0x54694e[_0x4f382d(0x194)](_0x4f8926=>{const _0x22393a=_0x4f382d,_0x53af83=this[_0x22393a(0x343)](_0x4f8926);if(_0x53af83[_0x22393a(0x1f8)]===0x0)return;const _0x20ef85=this['selectBestOperator'](_0x4f8926,_0x53af83),_0x416e9d=this[_0x22393a(0x2fe)](_0x4f8926,_0x20ef85),_0x2841d0={};_0x2841d0[_0x20ef85]=_0x416e9d,_0x1a7284[_0x4f8926['code']]=_0x2841d0;});const _0x4d7e81=_0x20e641['slice'](0x0,Math[_0x4f382d(0x15b)](0x5,_0x20e641[_0x4f382d(0x1f8)]))[_0x4f382d(0xac)](_0x3118c5=>_0x3118c5['code']),_0x45ffac=_0x20e641[0x0]?_0x20e641[0x0][_0x4f382d(0x22c)]:'id',_0x5b9f64={};_0x5b9f64[_0x45ffac]='DESC';const _0x25d107={};return _0x25d107[_0x4f382d(0x2b0)]=_0x1a7284,_0x25d107[_0x4f382d(0x2bb)]=_0x4d7e81,_0x25d107[_0x4f382d(0x147)]=[_0x5b9f64],_0x25d107[_0x4f382d(0xcf)]=0x1,_0x25d107['pageSize']=0x14,_0x25d107;}['generateSDKCallCode'](_0x540f93,_0x384a12){const _0x18753d=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x384a12||{},_0x729921=this[_0x18753d(0xd9)](),_0x13fd8d=this['generateRequestExample'](),_0x72e526=_0x5d6167=>{const _0x1e2450=_0x18753d;return JSON[_0x1e2450(0x10a)](_0x5d6167,null,0x2)[_0x1e2450(0x182)]('\x0a')[_0x1e2450(0xac)]((_0x4d6021,_0x22eea9)=>_0x22eea9===0x0?_0x4d6021:indent+_0x4d6021)['join']('\x0a');};if(useFullExample){const _0x547f3d=this[_0x18753d(0xc5)][_0x18753d(0x16a)]||[],_0x13a4bf={'where':_0x547f3d[0x0]?{[_0x547f3d[0x0]['code']]:{'$eq':this[_0x18753d(0x2fe)](_0x547f3d[0x0],'$eq')}}:{},'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x3)[_0x18753d(0xac)](_0x1bfb8a=>_0x1bfb8a['code']),'currentPage':0x1,'pageSize':0x14};let _0x455f76='';if(_0x547f3d[_0x18753d(0x1f8)]>=0x3){const _0x251377={};_0x251377[_0x18753d(0x349)]=[];const _0x3d1d68=_0x251377,_0x118a18=[];if(_0x547f3d[_0x18753d(0x1f8)]>0x0){const _0x4f78d8=_0x547f3d[_0x18753d(0x8b)](_0x45b655=>{const _0x48e813=_0x18753d,_0x7ccd8d=_0x45b655[_0x48e813(0x178)]();return['NUMBER',_0x48e813(0x2de),_0x48e813(0x33c),_0x48e813(0x250),'TINYINT',_0x48e813(0x1f7)][_0x48e813(0x128)](_0x7ccd8d);});if(_0x4f78d8){const _0x515d98={};_0x515d98[_0x18753d(0x323)]=0x0,_0x515d98[_0x18753d(0x1f1)]=0x64;const _0xc61026={[_0x4f78d8[_0x18753d(0x22c)]]:_0x515d98};_0x118a18[_0x18753d(0x2d5)](_0xc61026);}}if(_0x547f3d['length']>0x1){const _0x1f9836=_0x547f3d[_0x18753d(0x8b)](_0x28c040=>{const _0x56ef12=_0x18753d,_0x5b271c=_0x28c040['getDbTypeForOperation']();return[_0x56ef12(0xe1),_0x56ef12(0x1b1),_0x56ef12(0x106),'CHAR',_0x56ef12(0x1c2)][_0x56ef12(0x128)](_0x5b271c);});if(_0x1f9836){const _0x2b787d={};_0x2b787d[_0x18753d(0x1d7)]='keyword';const _0x494875={[_0x1f9836[_0x18753d(0x22c)]]:_0x2b787d};_0x118a18['push'](_0x494875);}}if(_0x118a18[_0x18753d(0x1f8)]>0x0){_0x3d1d68[_0x18753d(0x349)]=_0x118a18;const _0x1ea426={'where':_0x3d1d68,'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x4)[_0x18753d(0xac)](_0x10722a=>_0x10722a['code']),'orderBy':[{[_0x547f3d[0x0]['code']]:_0x18753d(0x91)}],'currentPage':0x1,'pageSize':0x14};_0x455f76='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x1ea426)+');';}}return _0x18753d(0x15f)+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x13a4bf)+');'+_0x455f76;}const _0x1aac88=JSON[_0x18753d(0x10a)](_0x13fd8d,null,0x2)['split']('\x0a')['map']((_0x185404,_0x3a68a6)=>_0x3a68a6===0x0?_0x185404:indent+_0x185404)[_0x18753d(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x1aac88+');';}[a0_0x3e48cd(0x343)](_0x63d177){const _0x3e7db5=a0_0x3e48cd,_0x138049=_0x63d177[_0x3e7db5(0x178)](),_0x2cd2e4=[];if([_0x3e7db5(0x1dd),_0x3e7db5(0x2de),_0x3e7db5(0x33c),_0x3e7db5(0x28e)][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x250),_0x3e7db5(0x1a5),'SMALLINT','DOUBLE','FLOAT'][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne',_0x3e7db5(0x323),'$lte',_0x3e7db5(0x135),_0x3e7db5(0x344),_0x3e7db5(0x8d));else{if([_0x3e7db5(0xe1),_0x3e7db5(0x1b1),_0x3e7db5(0x106)]['includes'](_0x138049)||[_0x3e7db5(0x163),_0x3e7db5(0x1c2)][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne','$in',_0x3e7db5(0x1d7),_0x3e7db5(0x1c4),'$endWith');else{if([_0x3e7db5(0x303),'DATETIME','TIMESTAMP'][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x258)]['includes'](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)]('$eq',_0x3e7db5(0x203),_0x3e7db5(0x323),_0x3e7db5(0x1f1),_0x3e7db5(0x135),'$lteq');else[_0x3e7db5(0x9d),_0x3e7db5(0x184),_0x3e7db5(0x2a3)][_0x3e7db5(0x128)](_0x138049)?_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203)):_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203));}}return _0x2cd2e4;}[a0_0x3e48cd(0xa7)](_0x2d3492,_0x22fcda){const _0x400c71=a0_0x3e48cd,_0x3161c2=_0x2d3492[_0x400c71(0x178)]();if(['NUMBER',_0x400c71(0x2de),'BIGINT',_0x400c71(0x28e)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x250),'TINYINT','SMALLINT',_0x400c71(0x234),_0x400c71(0xff)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':'$eq';if([_0x400c71(0xe1),'TEXT',_0x400c71(0x106)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x163),_0x400c71(0x1c2)]['includes'](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x1d7))?'$contain':_0x400c71(0xab);if([_0x400c71(0x303),_0x400c71(0x100),_0x400c71(0x33d),_0x400c71(0x258)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':_0x400c71(0xab);return'$eq';}[a0_0x3e48cd(0x2fe)](_0x11c2a3,_0x591e1b){const _0x5493ff=a0_0x3e48cd,_0x4bdce4=_0x11c2a3[_0x5493ff(0x178)](),_0x56b615=_0x11c2a3[_0x5493ff(0x118)]();if(_0x56b615&&_0x56b615[_0x5493ff(0x1f8)]>0x0){if(_0x591e1b===_0x5493ff(0x8d))return _0x56b615[_0x5493ff(0x1f9)](0x0,0x2)[_0x5493ff(0xac)](_0x126d48=>_0x126d48['value']);return _0x56b615[0x0]['value'];}if([_0x5493ff(0x1dd),_0x5493ff(0x2de),_0x5493ff(0x33c),_0x5493ff(0x28e)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x250),_0x5493ff(0x1a5),_0x5493ff(0x1f7),_0x5493ff(0x234),_0x5493ff(0xff)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return[0x1,0x2,0x3];if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return 0x0;if(_0x591e1b===_0x5493ff(0x1f1)||_0x591e1b==='$lteq')return 0x64;return 0x1;}if([_0x5493ff(0xe1),_0x5493ff(0x1b1),_0x5493ff(0x106)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x163),_0x5493ff(0x1c2)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return['value1',_0x5493ff(0x1ad)];if(_0x591e1b===_0x5493ff(0x1d7))return'keyword';if(_0x591e1b===_0x5493ff(0x1c4))return'prefix';if(_0x591e1b==='$endWith')return'suffix';return _0x5493ff(0x2d3);}if([_0x5493ff(0x303),_0x5493ff(0x100),'TIMESTAMP',_0x5493ff(0x258)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return'2024-01-01';if(_0x591e1b==='$lte'||_0x591e1b==='$lteq')return'2024-12-31';return'2024-01-01';}if([_0x5493ff(0x9d),'BOOL','BIT'][_0x5493ff(0x128)](_0x4bdce4))return!![];return _0x591e1b===_0x5493ff(0x8d)?[_0x5493ff(0x15a),_0x5493ff(0x1ad)]:_0x5493ff(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x59476a=a0_0x3e48cd,_0x4f4f8c=super['getRequestParams'](),_0x217e8c=Object['entries'](_0x4f4f8c)[_0x59476a(0x2af)](([_0x17ac40])=>_0x17ac40!=='currentPage'&&_0x17ac40!==_0x59476a(0x1e0))[_0x59476a(0xac)](([_0x1d87f0,_0x213101])=>{const _0x12dae3=_0x59476a,_0x55ff3e=_0x213101,_0x1a7101={};return _0x1a7101['name']=_0x1d87f0,_0x1a7101[_0x12dae3(0x299)]=_0x55ff3e[_0x12dae3(0x299)]||'String',_0x1a7101['description']=_0x55ff3e[_0x12dae3(0x2b7)]||'-',_0x1a7101[_0x12dae3(0x180)]=_0x55ff3e[_0x12dae3(0x180)],_0x1a7101;}),_0x284456={};return _0x284456[_0x59476a(0x2b7)]=_0x59476a(0x2ee),_0x284456[_0x59476a(0x26b)]=_0x217e8c,_0x284456;}}class ExcelExportOperation extends GenericOperation{[a0_0x3e48cd(0x114)](){const _0x5ad906=a0_0x3e48cd,_0x29ec84=super[_0x5ad906(0x114)]();if(Object[_0x5ad906(0x326)](_0x29ec84)[_0x5ad906(0x1f8)]===0x0){const _0x578df3={};this['context']['fields'][_0x5ad906(0x194)](_0x543e25=>{const _0x3a1d59=_0x5ad906;if(_0x543e25){const _0x5a800a=_0x543e25['code'],_0xb0eb41=_0x543e25[_0x3a1d59(0x178)](),_0x390ea1={};_0x390ea1[_0x3a1d59(0x299)]=_0xb0eb41||_0x3a1d59(0x1b1),_0x390ea1[_0x3a1d59(0x233)]=_0x543e25['sortNum'],_0x390ea1[_0x3a1d59(0x2b7)]=_0x543e25['description']||_0x543e25[_0x3a1d59(0x246)],_0x578df3[_0x5a800a]=_0x390ea1;}});const _0xc6b57b={};_0xc6b57b['type']='Integer',_0xc6b57b[_0x5ad906(0x2b7)]='当前页码(可选)',_0x578df3[_0x5ad906(0xcf)]=_0xc6b57b;const _0x2fb016={};return _0x2fb016[_0x5ad906(0x299)]=_0x5ad906(0x27d),_0x2fb016['description']=_0x5ad906(0x134),_0x578df3[_0x5ad906(0x1e0)]=_0x2fb016,_0x578df3;}return _0x29ec84;}[a0_0x3e48cd(0x209)](){const _0x5db4d4=a0_0x3e48cd,_0x1131a9=super[_0x5db4d4(0x209)]();if(Object['keys'](_0x1131a9)[_0x5db4d4(0x1f8)]===0x0){const _0x58d19d={};return _0x58d19d[_0x5db4d4(0xcf)]=0x1,_0x58d19d[_0x5db4d4(0x1e0)]=0x64,_0x58d19d;}const _0x3529c4={..._0x1131a9};return _0x3529c4['currentPage']=_0x1131a9[_0x5db4d4(0xcf)]??0x1,_0x3529c4['pageSize']=_0x1131a9[_0x5db4d4(0x1e0)]??0x64,_0x3529c4;}[a0_0x3e48cd(0xd5)](){const _0x1117c5=a0_0x3e48cd,_0x270365={};return _0x270365[_0x1117c5(0x2c3)]=!![],_0x270365[_0x1117c5(0x1ab)]='',_0x270365['errorMsg']='',_0x270365['errorCode']=_0x1117c5(0x23e),_0x270365[_0x1117c5(0x32f)]=_0x1117c5(0x14f),_0x270365[_0x1117c5(0x26b)]=null,_0x270365;}[a0_0x3e48cd(0x27a)](_0x5eeddc,_0x10c62b){const _0x5265e4=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x10c62b||{},_0x3de353=this[_0x5265e4(0xd9)]();if(useFullExample){const _0xa7483f=this['generateRequestExample'](),{currentPage:_0x201bd4,pageSize:_0x4e8d76,..._0xd1db74}=_0xa7483f,_0xba52dc=Object[_0x5265e4(0x326)](_0xd1db74)[_0x5265e4(0x1f8)]>0x0;if(_0xba52dc){const _0x1ca2ea=_0x368175=>{const _0x22265c=_0x5265e4;return JSON['stringify'](_0x368175,null,0x2)[_0x22265c(0x182)]('\x0a')['map']((_0x2489b7,_0x306140)=>_0x306140===0x0?_0x2489b7:indent+_0x2489b7)[_0x22265c(0x103)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'('+_0x1ca2ea(_0xa7483f)+');';}else{const _0x41385f=_0x440e96=>{const _0x3260cd=_0x5265e4;return JSON[_0x3260cd(0x10a)](_0x440e96,null,0x2)['split']('\x0a')[_0x3260cd(0xac)]((_0x4419d5,_0x327cce)=>_0x327cce===0x0?_0x4419d5:indent+_0x4419d5)[_0x3260cd(0x103)]('\x0a');},_0x4899e6={};return _0x4899e6['currentPage']=0x1,_0x4899e6[_0x5265e4(0x1e0)]=0x64,_0x5265e4(0x190)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x2e4)+_0x5eeddc+'.'+_0x3de353+'('+_0x41385f(_0x4899e6)+');';}}return _0x5265e4(0x15c)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x93);}[a0_0x3e48cd(0x17e)](_0x3da0da){const _0x701cde=a0_0x3e48cd,_0x5608b1=this[_0x701cde(0xd9)](),_0x210edd=_0x3da0da||'yourModel',_0x512453='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x210edd+'.'+_0x5608b1+_0x701cde(0x31a),_0xd79040=_0x701cde(0x242)+_0x210edd+'.'+_0x5608b1+_0x701cde(0x90),_0x33bba3={};return _0x33bba3[_0x701cde(0x1de)]=_0x512453,_0x33bba3[_0x701cde(0x1a1)]=_0xd79040,_0x33bba3;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){return this['parseRawRequestBody']();}[a0_0x3e48cd(0x114)](){const _0x192540=a0_0x3e48cd,_0x131edd=this['getUpdateFields'](),_0x37a404={};_0x37a404[_0x192540(0x299)]=_0x192540(0x1dd),_0x37a404[_0x192540(0x2b7)]='主键ID(必填)',_0x37a404[_0x192540(0x180)]=!![];const _0x1aac7e={};_0x1aac7e[_0x192540(0x299)]=_0x192540(0x335),_0x1aac7e[_0x192540(0x2b7)]=_0x192540(0x1f3),_0x1aac7e[_0x192540(0x180)]=!![],_0x1aac7e['properties']=_0x131edd;const _0x5712d3={};return _0x5712d3['id']=_0x37a404,_0x5712d3[_0x192540(0x32f)]=_0x1aac7e,_0x5712d3;}[a0_0x3e48cd(0x138)](){return this['getUpdateFields']();}[a0_0x3e48cd(0x2d9)](){const _0x2f2363=a0_0x3e48cd,_0x247c75=this['context'][_0x2f2363(0x16a)]||[],_0x1b00ee=this['context'][_0x2f2363(0x33b)],_0x3b6f00=_0x247c75[_0x2f2363(0x8b)](_0x1590f7=>_0x1590f7[_0x2f2363(0xb8)]()||_0x1590f7[_0x2f2363(0x22c)]===_0x1b00ee),_0x28117d=_0x247c75[_0x2f2363(0x2af)](_0x26f42b=>{const _0x2598c2=_0x2f2363;if(_0x26f42b[_0x2598c2(0x24b)])return![];if(_0x26f42b===_0x3b6f00||_0x26f42b[_0x2598c2(0xb8)]())return![];if(_0x26f42b['isCreateTime']()||_0x26f42b[_0x2598c2(0xe4)]())return![];if(_0x26f42b[_0x2598c2(0x305)]())return![];return!![];});return _0x3b6f00?[_0x3b6f00,..._0x28117d]:_0x28117d;}['getHTTPRequestParamsDocInfo'](){const _0x4757d4=a0_0x3e48cd,_0x377f52=this['getHTTPFields'](),_0x4a6d5b=this[_0x4757d4(0xc5)][_0x4757d4(0x33b)],_0x5e2167=_0x377f52[_0x4757d4(0xac)](_0x1c0040=>{const _0x2e9cf5=_0x4757d4,_0x4dfa5b=_0x1c0040[_0x2e9cf5(0xb8)]()||_0x1c0040[_0x2e9cf5(0x22c)]===_0x4a6d5b,_0x4158fe=_0x4dfa5b?'id':_0x1c0040[_0x2e9cf5(0x22c)],_0x229cee={};return _0x229cee['name']=_0x4158fe,_0x229cee[_0x2e9cf5(0x299)]=_0x1c0040['type'],_0x229cee[_0x2e9cf5(0x2b7)]=_0x4dfa5b?'主键,用于定位要更新的记录'+(_0x4a6d5b&&_0x4a6d5b!==_0x1c0040[_0x2e9cf5(0x22c)]?'(实际字段:'+_0x1c0040[_0x2e9cf5(0x22c)]+')':''):_0x1c0040['description']||_0x1c0040['name'],_0x229cee;}),_0x364473={};return _0x364473[_0x4757d4(0x2b7)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x364473['params']=_0x5e2167,_0x364473;}['getRequestParamsDocInfo'](){const _0x1ee183=a0_0x3e48cd,_0x5369c0=this[_0x1ee183(0x30a)](),_0x56aa75=Object[_0x1ee183(0x256)](_0x5369c0)['map'](([_0x1a4b38,_0x2bf702])=>{const _0xe3e6dc=_0x1ee183,_0x403c72=_0x2bf702,_0x2898b9={};return _0x2898b9['name']=_0x1a4b38,_0x2898b9[_0xe3e6dc(0x299)]=_0x403c72[_0xe3e6dc(0x299)]||_0xe3e6dc(0x290),_0x2898b9[_0xe3e6dc(0x2b7)]=_0x403c72[_0xe3e6dc(0x2b7)]||'-',_0x2898b9;}),_0x53444a={};return _0x53444a['description']=_0x1ee183(0x2ae)+_0x1ee183(0x27c)+_0x1ee183(0x263)+_0x1ee183(0x200)+_0x1ee183(0x19c)+_0x1ee183(0x20e),_0x53444a['params']=_0x56aa75,_0x53444a;}[a0_0x3e48cd(0x209)](){const _0x1528a0=a0_0x3e48cd,_0xbac11f=this['getUpdateFields'](),_0x587ce8={};Object[_0x1528a0(0x256)](_0xbac11f)['forEach'](([_0x1e12ea,_0x1982ea])=>{const _0x516621=_0x1528a0,_0xac452a=_0x1982ea;let _0x2b29fc;if(typeof _0xac452a[_0x516621(0x299)]==='string')_0x2b29fc=_0xac452a[_0x516621(0x299)];else _0xac452a[_0x516621(0x299)]&&typeof _0xac452a[_0x516621(0x299)]===_0x516621(0x335)?_0x2b29fc=_0xac452a[_0x516621(0x299)]['type']||_0x516621(0x1b1):_0x2b29fc=_0x516621(0x1b1);const _0x24c2f3=_0xac452a['description'],_0x2796b7=this[_0x516621(0x28a)](_0x1e12ea);_0x587ce8[_0x1e12ea]=this[_0x516621(0x291)](_0x1e12ea,_0x2b29fc,_0x2796b7?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x24c2f3||_0x2796b7?.['description']||_0x2796b7?.['name']});});const _0x36c834={};return _0x36c834['id']=0x1,_0x36c834[_0x1528a0(0x32f)]=_0x587ce8,_0x36c834;}[a0_0x3e48cd(0x333)](){const _0x2aa422=a0_0x3e48cd,_0x4f86bf=this[_0x2aa422(0x209)](),_0x14e559={};return _0x14e559[_0x2aa422(0xbb)]=_0x2aa422(0x21e),_0x14e559['description']=_0x2aa422(0x19e)+_0x2aa422(0x248)+_0x2aa422(0x1fd),_0x14e559[_0x2aa422(0x32f)]=_0x4f86bf,[_0x14e559,{'title':_0x2aa422(0x1ca),'description':_0x2aa422(0x25a)+_0x2aa422(0x1be)+_0x2aa422(0xf9),'data':this[_0x2aa422(0x2f1)]()}];}[a0_0x3e48cd(0x2f1)](){const _0x304e60=a0_0x3e48cd,_0x41fbe1=this[_0x304e60(0x30a)](),_0x2cca9a={};_0x2cca9a['id']=0x1;const _0x5ed943=_0x2cca9a;return Object[_0x304e60(0x256)](_0x41fbe1)[_0x304e60(0x194)](([_0x56e976,_0x278c5b])=>{const _0x190506=_0x304e60,_0xda3b9b=_0x278c5b;let _0x5b2d93;if(typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x278))_0x5b2d93=_0xda3b9b[_0x190506(0x299)];else _0xda3b9b['type']&&typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x335)?_0x5b2d93=_0xda3b9b[_0x190506(0x299)][_0x190506(0x299)]||_0x190506(0x1b1):_0x5b2d93=_0x190506(0x1b1);const _0xd4a696=_0xda3b9b[_0x190506(0x2b7)],_0x47178b=this[_0x190506(0x28a)](_0x56e976);if(_0x47178b?.[_0x190506(0xb8)]())return;_0x5ed943[_0x56e976]=this['generateFieldExample'](_0x56e976,_0x5b2d93,_0x47178b?.[_0x190506(0x178)](),{'isPrimaryKey':![],'description':_0xd4a696||_0x47178b?.[_0x190506(0x2b7)]||_0x47178b?.[_0x190506(0x246)]});}),_0x5ed943;}[a0_0x3e48cd(0x197)](){const _0x54faa6=a0_0x3e48cd;return this[_0x54faa6(0x2f1)]();}['generateSDKCallCode'](_0x5c5022,_0x2dd7bc){const _0x5d7372=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2dd7bc||{},_0xe8f38d=this[_0x5d7372(0xd9)]();if(useFullExample){const _0xf295a1=this[_0x5d7372(0x209)](),_0x25381b=JSON[_0x5d7372(0x10a)](_0xf295a1['data'],null,0x2)[_0x5d7372(0x182)]('\x0a')[_0x5d7372(0xac)]((_0x5e611c,_0x42ca70)=>_0x42ca70===0x0?_0x5e611c:indent+_0x5e611c)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5c5022+'.'+_0xe8f38d+'('+_0xf295a1['id']+',\x20'+_0x25381b+');';}return _0x5d7372(0x331)+_0x5c5022+'.'+_0xe8f38d+_0x5d7372(0x2cb);}}class AggregateOperation extends GenericOperation{constructor(_0x53278c,_0x3fccd1,_0x3e9700){super(_0x53278c,_0x3fccd1,_0x3e9700);}[a0_0x3e48cd(0x33e)](_0x22e571){const _0x344aab=a0_0x3e48cd;return _0x22e571[_0x344aab(0x15d)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x344aab(0x199)]()[_0x344aab(0x279)]();}[a0_0x3e48cd(0x270)](){return AGGREGATE_FUNCTIONS;}[a0_0x3e48cd(0x114)](){const _0x3a179e=a0_0x3e48cd,_0x2f16f2=super[_0x3a179e(0x114)](),_0xe08c72={};_0xe08c72[_0x3a179e(0x299)]='String[]',_0xe08c72[_0x3a179e(0x2b7)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0xe08c72['required']=![];const _0x3692a6={};_0x3692a6[_0x3a179e(0x299)]=_0x3a179e(0x288),_0x3692a6[_0x3a179e(0x2b7)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x3692a6['required']=![];const _0x52cb88={};_0x52cb88[_0x3a179e(0x299)]=_0x3a179e(0x162),_0x52cb88[_0x3a179e(0x2b7)]='分组字段列表',_0x52cb88[_0x3a179e(0x180)]=![];const _0x57c6f9={};_0x57c6f9[_0x3a179e(0x299)]='Array',_0x57c6f9[_0x3a179e(0x2b7)]=_0x3a179e(0x34f),_0x57c6f9[_0x3a179e(0x180)]=![];const _0x5a548e={};_0x5a548e[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x5a548e['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x5a548e['required']=![];const _0x22dcd5={};_0x22dcd5[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x22dcd5['description']=_0x3a179e(0x1e6),_0x22dcd5[_0x3a179e(0x180)]=![];const _0x5ee8da={};_0x5ee8da[_0x3a179e(0x299)]='Number',_0x5ee8da[_0x3a179e(0x2b7)]=_0x3a179e(0xf0),_0x5ee8da[_0x3a179e(0x180)]=![];const _0x16c27c={};_0x16c27c[_0x3a179e(0x299)]=_0x3a179e(0x186),_0x16c27c[_0x3a179e(0x2b7)]=_0x3a179e(0x338),_0x16c27c[_0x3a179e(0x180)]=![];const _0x2c1690={..._0x2f16f2};return _0x2c1690[_0x3a179e(0x2bb)]=_0xe08c72,_0x2c1690[_0x3a179e(0x2b0)]=_0x3692a6,_0x2c1690['groupBy']=_0x52cb88,_0x2c1690['aggregate']=_0x57c6f9,_0x2c1690[_0x3a179e(0x1eb)]=_0x5a548e,_0x2c1690[_0x3a179e(0x147)]=_0x22dcd5,_0x2c1690[_0x3a179e(0xcf)]=_0x5ee8da,_0x2c1690['pageSize']=_0x16c27c,_0x2c1690;}['getSystemFields'](){const _0x5b498f=a0_0x3e48cd,_0xba0caa={};_0xba0caa['code']=_0x5b498f(0x2bb),_0xba0caa[_0x5b498f(0x299)]=_0x5b498f(0x162),_0xba0caa[_0x5b498f(0x2b7)]=_0x5b498f(0x33f);const _0x18c48f={};_0x18c48f[_0x5b498f(0x22c)]=_0x5b498f(0x2b0),_0x18c48f[_0x5b498f(0x299)]='Object',_0x18c48f[_0x5b498f(0x2b7)]=_0x5b498f(0x277);const _0x4ad2af={};_0x4ad2af[_0x5b498f(0x22c)]=_0x5b498f(0x1ea),_0x4ad2af[_0x5b498f(0x299)]=_0x5b498f(0x162),_0x4ad2af[_0x5b498f(0x2b7)]=_0x5b498f(0x2da);const _0x29438e={};_0x29438e[_0x5b498f(0x22c)]='aggregate',_0x29438e[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x29438e[_0x5b498f(0x2b7)]=_0x5b498f(0xb0);const _0x4aa7d2={};_0x4aa7d2[_0x5b498f(0x22c)]='having',_0x4aa7d2[_0x5b498f(0x299)]='Array',_0x4aa7d2['description']=_0x5b498f(0x1a4);const _0x345764={};_0x345764[_0x5b498f(0x22c)]=_0x5b498f(0x147),_0x345764[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x345764['description']=_0x5b498f(0x1e6);const _0x1821d={};_0x1821d['code']=_0x5b498f(0xcf),_0x1821d[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x1821d[_0x5b498f(0x2b7)]=_0x5b498f(0xf0);const _0x374ab7={};return _0x374ab7[_0x5b498f(0x22c)]='pageSize',_0x374ab7[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x374ab7[_0x5b498f(0x2b7)]=_0x5b498f(0x338),[_0xba0caa,_0x18c48f,_0x4ad2af,_0x29438e,_0x4aa7d2,_0x345764,_0x1821d,_0x374ab7];}[a0_0x3e48cd(0x209)](){const _0x4d892b=a0_0x3e48cd,_0x2b22a4=this[_0x4d892b(0xc5)][_0x4d892b(0x16a)]||[];if(_0x2b22a4[_0x4d892b(0x1f8)]===0x0){const _0x32e91c={};return _0x32e91c[_0x4d892b(0x2b0)]={},_0x32e91c['groupBy']=[],_0x32e91c[_0x4d892b(0x17c)]=[],_0x32e91c;}const _0x3ac72b={},_0x580ba1=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x3,_0x2b22a4['length']));_0x580ba1[_0x4d892b(0x194)](_0x39d43e=>{const _0x2aeb69=_0x4d892b,_0x4a6b04=this['getApplicableOperators'](_0x39d43e);if(_0x4a6b04[_0x2aeb69(0x1f8)]===0x0)return;const _0x5dce87=this[_0x2aeb69(0xa7)](_0x39d43e,_0x4a6b04),_0x44d331=this[_0x2aeb69(0x2fe)](_0x39d43e,_0x5dce87),_0x5eb09e={};_0x5eb09e[_0x5dce87]=_0x44d331,_0x3ac72b[_0x39d43e[_0x2aeb69(0x22c)]]=_0x5eb09e;});const _0x4b1b72=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x2,_0x2b22a4[_0x4d892b(0x1f8)]))[_0x4d892b(0xac)](_0xabdcee=>_0xabdcee[_0x4d892b(0x22c)]),_0x1c1452=[],_0x5864aa=_0x2b22a4[_0x4d892b(0x2af)](_0x5b83d0=>this[_0x4d892b(0xf3)](_0x5b83d0));if(_0x5864aa[_0x4d892b(0x1f8)]>0x0){const _0x152774=_0x5864aa[0x0],_0x1dd47d=_0x152774[_0x4d892b(0x22c)],_0x535796={};_0x535796['type']=_0x4d892b(0xee),_0x535796[_0x4d892b(0x1d6)]=_0x1dd47d,_0x535796[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2fd),_0x535796[_0x4d892b(0x230)]=![],_0x535796[_0x4d892b(0xa3)]=!![],_0x535796[_0x4d892b(0x29c)]=0x2,_0x1c1452['push'](_0x535796);const _0x429ab2={};_0x429ab2[_0x4d892b(0x299)]=_0x4d892b(0x99),_0x429ab2[_0x4d892b(0x1d6)]=_0x1dd47d,_0x429ab2[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x265),_0x429ab2[_0x4d892b(0x230)]=![],_0x429ab2[_0x4d892b(0xa3)]=!![],_0x429ab2[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x429ab2);const _0x4c0e9c={};_0x4c0e9c[_0x4d892b(0x299)]=_0x4d892b(0x2db),_0x4c0e9c[_0x4d892b(0x1d6)]=_0x1dd47d,_0x4c0e9c['alias']=_0x1dd47d+_0x4d892b(0x1b5),_0x4c0e9c[_0x4d892b(0x230)]=![],_0x4c0e9c[_0x4d892b(0xa3)]=!![],_0x4c0e9c[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x4c0e9c);const _0x362950={};_0x362950[_0x4d892b(0x299)]='min',_0x362950[_0x4d892b(0x1d6)]=_0x1dd47d,_0x362950[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2e9),_0x362950[_0x4d892b(0x230)]=![],_0x362950[_0x4d892b(0xa3)]=!![],_0x362950[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x362950);}else{if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x1715cc=_0x2b22a4[0x0],_0x27c72d=_0x1715cc[_0x4d892b(0x22c)],_0x318b14={};_0x318b14[_0x4d892b(0x299)]='count',_0x318b14[_0x4d892b(0x1d6)]=_0x27c72d,_0x318b14[_0x4d892b(0x316)]='total_count',_0x318b14[_0x4d892b(0x230)]=!![],_0x1c1452[_0x4d892b(0x2d5)](_0x318b14);}}const _0x5f349a=[];if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x57af4b=_0x2b22a4[0x0][_0x4d892b(0x22c)],_0x5a505d={};_0x5a505d[_0x57af4b]=_0x4d892b(0x1bf),_0x5f349a[_0x4d892b(0x2d5)](_0x5a505d);}const _0x84f534=[..._0x4b1b72,..._0x1c1452[_0x4d892b(0xac)](_0x32df2b=>_0x32df2b[_0x4d892b(0x316)])],_0xf2eb88=[];if(_0x1c1452[_0x4d892b(0x1f8)]>0x0){const _0x16b48f={};_0x16b48f[_0x4d892b(0x323)]=0x0;const _0xb0b447={};_0xb0b447[_0x4d892b(0x29f)]=_0x1c1452[0x0][_0x4d892b(0x316)],_0xb0b447[_0x4d892b(0xc9)]=_0x16b48f,_0xf2eb88[_0x4d892b(0x2d5)](_0xb0b447);}const _0x34fce8={};return _0x34fce8[_0x4d892b(0x2bb)]=_0x84f534,_0x34fce8[_0x4d892b(0x2b0)]=_0x3ac72b,_0x34fce8[_0x4d892b(0x1ea)]=_0x4b1b72,_0x34fce8['aggregate']=_0x1c1452,_0x34fce8[_0x4d892b(0x1eb)]=_0xf2eb88[_0x4d892b(0x1f8)]>0x0?_0xf2eb88:undefined,_0x34fce8['orderBy']=_0x5f349a,_0x34fce8[_0x4d892b(0xcf)]=0x1,_0x34fce8[_0x4d892b(0x1e0)]=0x14,_0x34fce8;}['generateSDKCallCode'](_0x19f94d,_0x41cb46){const _0x14064a=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x41cb46||{},_0x5485ad=this['getName'](),_0x5bc4b5=this[_0x14064a(0x209)](),_0x166e18=_0x44a2af=>{const _0x38a096=_0x14064a;return JSON[_0x38a096(0x10a)](_0x44a2af,null,0x2)[_0x38a096(0x182)]('\x0a')[_0x38a096(0xac)]((_0x3f703f,_0x2588f4)=>_0x2588f4===0x0?_0x3f703f:indent+_0x3f703f)['join']('\x0a');};if(useFullExample){const _0x91d098=this[_0x14064a(0xc5)]['fields']||[],_0x35f703=_0x91d098[_0x14064a(0x2af)](_0x2a5e58=>this['isNumericField'](_0x2a5e58)),_0x2e3192={'where':_0x91d098[0x0]?{[_0x91d098[0x0][_0x14064a(0x22c)]]:{'$eq':this['generateExampleValue'](_0x91d098[0x0],_0x14064a(0xab))}}:{},'aggregate':_0x35f703[_0x14064a(0x1f8)]>0x0?[{'type':_0x14064a(0xee),'column':_0x35f703[0x0][_0x14064a(0x22c)],'alias':_0x35f703[0x0][_0x14064a(0x22c)]+_0x14064a(0x2fd),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x14064a(0x26c),'column':_0x91d098[0x0][_0x14064a(0x22c)],'alias':_0x14064a(0x1c5),'distinct':!![]}],'orderBy':[{[_0x91d098[0x0][_0x14064a(0x22c)]]:_0x14064a(0x1bf)}]};let _0x8a9776='';return _0x91d098[_0x14064a(0x1f8)]>=0x3&&(_0x8a9776='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x5bc4b5)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x2e3192)+');'+_0x8a9776;}const _0xcd5573=JSON[_0x14064a(0x10a)](_0x5bc4b5,null,0x2)[_0x14064a(0x182)]('\x0a')['map']((_0xcc835b,_0x4a3439)=>_0x4a3439===0x0?_0xcc835b:indent+_0xcc835b)[_0x14064a(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0xcd5573+');';}['isNumericField'](_0x1415ee){const _0x4573b1=a0_0x3e48cd,_0x46691a=_0x1415ee[_0x4573b1(0x178)]();return[_0x4573b1(0x1dd),_0x4573b1(0x2de),_0x4573b1(0x33c),_0x4573b1(0x28e)][_0x4573b1(0x128)](_0x46691a)||[_0x4573b1(0x250),_0x4573b1(0x1a5),_0x4573b1(0x1f7),_0x4573b1(0x234),_0x4573b1(0xff)][_0x4573b1(0x128)](_0x46691a);}[a0_0x3e48cd(0x343)](_0x3abe93){const _0x5e760b=a0_0x3e48cd,_0x15b356=_0x3abe93[_0x5e760b(0x178)](),_0x496a31=[];if([_0x5e760b(0x1dd),'INTEGER',_0x5e760b(0x33c),_0x5e760b(0x28e)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x250),'TINYINT',_0x5e760b(0x1f7),'DOUBLE',_0x5e760b(0xff)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),_0x5e760b(0x323),_0x5e760b(0x1f1),'$gteq',_0x5e760b(0x344),'$in');else{if([_0x5e760b(0xe1),'TEXT','VARCHAR'][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x163),_0x5e760b(0x1c2)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$in','$contain',_0x5e760b(0x1c4),_0x5e760b(0x212));else{if([_0x5e760b(0x303),_0x5e760b(0x100),_0x5e760b(0x33d)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x258)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$gte',_0x5e760b(0x1f1),_0x5e760b(0x135),_0x5e760b(0x344));else[_0x5e760b(0x9d),_0x5e760b(0x184),_0x5e760b(0x2a3)][_0x5e760b(0x128)](_0x15b356)?_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),'$ne'):_0x496a31['push']('$eq',_0x5e760b(0x203));}}return _0x496a31;}[a0_0x3e48cd(0xa7)](_0x462824,_0x1ac0f4){const _0x5e0e7b=a0_0x3e48cd,_0x311d4f=_0x462824['getDbTypeForOperation']();if([_0x5e0e7b(0x1dd),_0x5e0e7b(0x2de),_0x5e0e7b(0x33c),_0x5e0e7b(0x28e)]['includes'](_0x311d4f)||[_0x5e0e7b(0x250),_0x5e0e7b(0x1a5),_0x5e0e7b(0x1f7),_0x5e0e7b(0x234),'FLOAT'][_0x5e0e7b(0x128)](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x323))?_0x5e0e7b(0x323):_0x5e0e7b(0xab);if([_0x5e0e7b(0xe1),_0x5e0e7b(0x1b1),_0x5e0e7b(0x106)][_0x5e0e7b(0x128)](_0x311d4f)||[_0x5e0e7b(0x163),_0x5e0e7b(0x1c2)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x1d7))?_0x5e0e7b(0x1d7):_0x5e0e7b(0xab);if([_0x5e0e7b(0x303),_0x5e0e7b(0x100),_0x5e0e7b(0x33d),_0x5e0e7b(0x258)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)]('$gte')?_0x5e0e7b(0x323):_0x5e0e7b(0xab);return _0x5e0e7b(0xab);}['generateExampleValue'](_0xd5aeb1,_0x38944d){const _0x4519da=a0_0x3e48cd,_0x5f4e87=_0xd5aeb1[_0x4519da(0x178)](),_0x32682b=_0xd5aeb1[_0x4519da(0x118)]();if(_0x32682b&&_0x32682b[_0x4519da(0x1f8)]>0x0){if(_0x38944d===_0x4519da(0x8d))return _0x32682b[_0x4519da(0x1f9)](0x0,0x2)[_0x4519da(0xac)](_0x36b52f=>_0x36b52f[_0x4519da(0x2d3)]);return _0x32682b[0x0][_0x4519da(0x2d3)];}if([_0x4519da(0x1dd),_0x4519da(0x2de),_0x4519da(0x33c),'DECIMAL']['includes'](_0x5f4e87)||[_0x4519da(0x250),_0x4519da(0x1a5),'SMALLINT',_0x4519da(0x234),_0x4519da(0xff)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[0x1,0x2,0x3];if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return 0x0;if(_0x38944d===_0x4519da(0x1f1)||_0x38944d==='$lteq')return 0x64;return 0x1;}if([_0x4519da(0xe1),_0x4519da(0x1b1),_0x4519da(0x106)]['includes'](_0x5f4e87)||['CHAR',_0x4519da(0x1c2)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[_0x4519da(0x15a),_0x4519da(0x1ad)];if(_0x38944d===_0x4519da(0x1d7))return _0x4519da(0x193);if(_0x38944d===_0x4519da(0x1c4))return _0x4519da(0x188);if(_0x38944d==='$endWith')return _0x4519da(0x332);return'value';}if([_0x4519da(0x303),_0x4519da(0x100),_0x4519da(0x33d),'TIME'][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return _0x4519da(0x255);if(_0x38944d===_0x4519da(0x1f1)||_0x38944d===_0x4519da(0x344))return _0x4519da(0x150);return _0x4519da(0x255);}if([_0x4519da(0x9d),_0x4519da(0x184),_0x4519da(0x2a3)][_0x4519da(0x128)](_0x5f4e87))return!![];return _0x38944d===_0x4519da(0x8d)?[_0x4519da(0x15a),_0x4519da(0x1ad)]:_0x4519da(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x5ca841=a0_0x3e48cd,_0x1da721=this['getRequestParams'](),_0x2d92b9=Object[_0x5ca841(0x256)](_0x1da721)['filter'](([_0x251e35])=>_0x251e35!==_0x5ca841(0xcf)&&_0x251e35!==_0x5ca841(0x1e0))['map'](([_0x27b182,_0x1b8102])=>{const _0x46eb94=_0x5ca841,_0x4ccad5=_0x1b8102,_0x5149c0={};return _0x5149c0[_0x46eb94(0x246)]=_0x27b182,_0x5149c0[_0x46eb94(0x299)]=_0x4ccad5[_0x46eb94(0x299)]||'String',_0x5149c0[_0x46eb94(0x2b7)]=_0x4ccad5[_0x46eb94(0x2b7)]||'-',_0x5149c0['required']=_0x4ccad5['required'],_0x5149c0;}),_0x4c0a2c={};return _0x4c0a2c[_0x5ca841(0x2b7)]=_0x5ca841(0x18a),_0x4c0a2c[_0x5ca841(0x26b)]=_0x2d92b9,_0x4c0a2c;}[a0_0x3e48cd(0xd5)](){const _0x461982=a0_0x3e48cd,_0x43f7ac=this[_0x461982(0x209)]()[_0x461982(0x17c)],_0x369a12=[{}],_0x40fd62=[];_0x43f7ac?.[_0x461982(0x194)](_0x26421f=>{const _0x1e240a=_0x461982,_0x427fe9={};_0x427fe9[_0x1e240a(0xbb)]=_0x26421f['alias'],_0x427fe9[_0x1e240a(0x2c7)]=_0x26421f[_0x1e240a(0x316)],_0x40fd62['push'](_0x427fe9),_0x369a12[0x0][_0x26421f['alias']]=_0x26421f['type']===_0x1e240a(0x26c)?0x64:Math['round'](Math[_0x1e240a(0xca)]()*0x64*0x64)/0x64;});const _0x40bec0={};_0x40bec0['pageSize']=0x1,_0x40bec0[_0x461982(0x1ac)]=0x64,_0x40bec0['currentPage']=0x1;const _0x27964f={};_0x27964f[_0x461982(0xec)]=_0x40bec0,_0x27964f['tableData']=_0x369a12,_0x27964f[_0x461982(0x336)]=_0x40fd62;const _0x96d5c4={};return _0x96d5c4[_0x461982(0x2c3)]=!![],_0x96d5c4[_0x461982(0x1ab)]='',_0x96d5c4[_0x461982(0x2d1)]='',_0x96d5c4[_0x461982(0x1a1)]=_0x461982(0x23e),_0x96d5c4[_0x461982(0x32f)]=_0x27964f,_0x96d5c4[_0x461982(0x26b)]=null,_0x96d5c4;}}class BatchCreateOperation extends GenericOperation{['generateRequestExample'](){const _0x171834=a0_0x3e48cd,_0x367c80=super[_0x171834(0x209)]();return Object['entries'](this[_0x171834(0x114)]())[_0x171834(0x194)](([_0x35b1cb,_0x3c983d])=>{const _0x3d7a36=_0x171834,_0x15f28a=_0x3c983d;if(this[_0x3d7a36(0x179)](_0x15f28a)[_0x3d7a36(0x279)]()!==_0x3d7a36(0x95))return;const _0x13441c=_0x15f28a[_0x3d7a36(0x1c6)];_0x13441c&&typeof _0x13441c===_0x3d7a36(0x335)&&!Array[_0x3d7a36(0x133)](_0x13441c)&&(_0x367c80[_0x35b1cb]=[this[_0x3d7a36(0x1a2)](_0x13441c)]);}),_0x367c80;}[a0_0x3e48cd(0x306)](){const _0xa4c0d7=a0_0x3e48cd,_0x2794ea=this[_0xa4c0d7(0x209)]();return Object[_0xa4c0d7(0x94)](_0x2794ea)[_0xa4c0d7(0x294)](Array[_0xa4c0d7(0x133)])?_0x2794ea:[_0x2794ea];}[a0_0x3e48cd(0x1ae)](){const _0x34d012=a0_0x3e48cd,_0x36d46a=this[_0x34d012(0x306)]();if(Array['isArray'](_0x36d46a)){const _0x16e562={};return _0x16e562['items']=_0x36d46a,_0x16e562;}if(!_0x36d46a||typeof _0x36d46a!==_0x34d012(0x335)){const _0x35d18f={};return _0x35d18f[_0x34d012(0x1c6)]=[_0x36d46a],_0x35d18f;}const _0x1c2ac1={};let _0x4c675a=![];Object['entries'](_0x36d46a)[_0x34d012(0x194)](([_0x477f31,_0x4b48cf])=>{const _0x3fae48=_0x34d012;if(Array[_0x3fae48(0x133)](_0x4b48cf)){const _0xf7f16f={};_0xf7f16f[_0x3fae48(0x1c6)]=_0x4b48cf,_0x1c2ac1[_0x477f31]=_0xf7f16f,_0x4c675a=!![];}else _0x1c2ac1[_0x477f31]=_0x4b48cf;});const _0x4a9150={};return _0x4a9150[_0x34d012(0x1c6)]=[_0x36d46a],_0x4c675a?_0x1c2ac1:_0x4a9150;}[a0_0x3e48cd(0x197)](){const _0xb82940=a0_0x3e48cd;return{'array':this[_0xb82940(0x306)](),'object':this[_0xb82940(0x1ae)]()};}[a0_0x3e48cd(0x333)](){const _0x48792a=a0_0x3e48cd;return[{'title':_0x48792a(0xd6),'description':'直接传入批量创建数据数组','data':this[_0x48792a(0x306)]()},{'title':_0x48792a(0x319),'description':_0x48792a(0xfd),'data':this[_0x48792a(0x1ae)]()}];}[a0_0x3e48cd(0x27a)](_0x86161e,_0x475f61){const _0x1758df=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x475f61||{},_0x18598a=this[_0x1758df(0xd9)]();if(!useFullExample)return _0x1758df(0x331)+_0x86161e+'.'+_0x18598a+_0x1758df(0x221);const _0x15f871=_0x572648=>{const _0x3e6876=_0x1758df;return(JSON[_0x3e6876(0x10a)](_0x572648,null,0x2)||_0x3e6876(0x13c))[_0x3e6876(0x182)]('\x0a')[_0x3e6876(0xac)]((_0x29b013,_0x4d4129)=>_0x4d4129===0x0?_0x29b013:indent+_0x29b013)['join']('\x0a');},_0x5127c0=_0x15f871(this[_0x1758df(0x306)]()),_0x35cded=_0x15f871(this['generateItemsWrapperExample']());return[_0x1758df(0x1b0),_0x1758df(0x331)+_0x86161e+'.'+_0x18598a+'('+_0x5127c0+');','',_0x1758df(0x24c),_0x1758df(0x295)+_0x86161e+'.'+_0x18598a+'('+_0x35cded+');']['join']('\x0a');}[a0_0x3e48cd(0x1a2)](_0x12d809){const _0x4bed2a=a0_0x3e48cd,_0x215456={};return Object[_0x4bed2a(0x256)](_0x12d809)[_0x4bed2a(0x194)](([_0x53dc58,_0x177c6a])=>{const _0x2424df=_0x4bed2a,_0x29be5a=_0x177c6a,_0x47b562=this[_0x2424df(0x28a)](_0x53dc58);_0x215456[_0x53dc58]=this[_0x2424df(0x291)](_0x53dc58,this[_0x2424df(0x179)](_0x29be5a),_0x47b562?.['getDbTypeForOperation'](),{'isPrimaryKey':_0x47b562?.[_0x2424df(0xb8)](),'description':_0x29be5a[_0x2424df(0x2b7)]||_0x47b562?.[_0x2424df(0x2b7)]||_0x47b562?.['name']});}),_0x215456;}[a0_0x3e48cd(0x179)](_0xbfe92b){const _0x504922=a0_0x3e48cd,_0x223be1=_0xbfe92b['type'];if(typeof _0x223be1==='string')return _0x223be1;if(_0x223be1&&typeof _0x223be1===_0x504922(0x335)&&!Array[_0x504922(0x133)](_0x223be1))return _0x223be1[_0x504922(0x299)]||_0x504922(0x1b1);return _0x504922(0x1b1);}}class OperationFactory{[a0_0x3e48cd(0x25c)](_0x68431c,_0x7afc21,_0x131094){const _0x1e6b5c=a0_0x3e48cd;switch(_0x68431c){case _0x1e6b5c(0x346):return new GetSelectOptionsOperation(_0x68431c,_0x7afc21,_0x131094);case'getList':return new GetListOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x2af):return new FilterOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x119):return new ExcelExportOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x18c):return new UpdateOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x17c):return new AggregateOperation(_0x68431c,_0x7afc21,_0x131094);case'batchCreate':return new BatchCreateOperation(_0x68431c,_0x7afc21,_0x131094);default:return new GenericOperation(_0x68431c,_0x7afc21,_0x131094);}}[a0_0x3e48cd(0x28d)](_0x9151b7,_0x75b929){const _0x485de8=a0_0x3e48cd,_0x287aad=new Map();return Object[_0x485de8(0x256)](_0x9151b7)[_0x485de8(0x194)](([_0x16924f,_0x57a41b])=>{const _0x2d4250=_0x485de8;_0x287aad[_0x2d4250(0x317)](_0x16924f,this[_0x2d4250(0x25c)](_0x16924f,_0x57a41b,_0x75b929));}),_0x287aad;}}class OperationList{['_operations'];constructor(_0x2cdac3,_0x7f97eb){const _0x3fc3ea=a0_0x3e48cd,_0x140a1a=new OperationFactory();this[_0x3fc3ea(0x171)]=_0x140a1a[_0x3fc3ea(0x28d)](_0x2cdac3,_0x7f97eb);}[a0_0x3e48cd(0x32d)](_0x4a0446){const _0x518631=a0_0x3e48cd;return this[_0x518631(0x171)][_0x518631(0x32d)](_0x4a0446);}[a0_0x3e48cd(0x2b9)](_0x36f015){const _0x3c660b=a0_0x3e48cd;return this[_0x3c660b(0x171)][_0x3c660b(0x2b9)](_0x36f015);}[a0_0x3e48cd(0x13b)](){const _0x17019d=a0_0x3e48cd;return this['_operations'][_0x17019d(0x13b)];}[a0_0x3e48cd(0x18d)](){const _0x101c06=a0_0x3e48cd;return Array[_0x101c06(0x2c5)](this[_0x101c06(0x171)][_0x101c06(0x326)]());}[a0_0x3e48cd(0x181)](){const _0x1bed0d=a0_0x3e48cd,_0x564bd1=Array[_0x1bed0d(0x2c5)](this[_0x1bed0d(0x171)][_0x1bed0d(0x94)]());return this[_0x1bed0d(0x115)](_0x564bd1);}['getEnabled'](){const _0x425587=a0_0x3e48cd;return this[_0x425587(0x181)]()[_0x425587(0x2af)](_0x32ff72=>_0x32ff72[_0x425587(0x189)]());}[a0_0x3e48cd(0x1b3)](){const _0x391a8b=a0_0x3e48cd;return this['toArray']()[_0x391a8b(0x2af)](_0x4c6c45=>!_0x4c6c45['isEnabled']());}[a0_0x3e48cd(0x1a8)](){const _0x44124d=a0_0x3e48cd;return this[_0x44124d(0x10d)]()[_0x44124d(0xac)](_0xe46df7=>_0xe46df7[_0x44124d(0xd9)]());}[a0_0x3e48cd(0x156)](){const _0x846cad=a0_0x3e48cd;return this['getDisabled']()[_0x846cad(0xac)](_0x38656f=>_0x38656f['getName']());}[a0_0x3e48cd(0x202)](_0x590843){const _0x52138a=a0_0x3e48cd;return this[_0x52138a(0x181)]()[_0x52138a(0x2af)](_0x19942b=>_0x19942b['getType']()===_0x590843);}[a0_0x3e48cd(0x2af)](_0x137f69){const _0x5616c9=a0_0x3e48cd;return this[_0x5616c9(0x181)]()['filter'](_0x137f69);}[a0_0x3e48cd(0xaa)](_0x3b487c={}){const _0x587a84=a0_0x3e48cd;let _0x1b39ac=this['toArray']();!_0x3b487c['includeDisabled']&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x16fc6d=>_0x16fc6d['isEnabled']()));if(_0x3b487c['filterBlacklist']!==![]){const _0x3ebb77=_0x1b39ac[_0x587a84(0xac)](_0x261d3a=>({'name':_0x261d3a[_0x587a84(0xd9)](),'operation':_0x261d3a})),_0x18e8f6=filterApiOperations(_0x3ebb77);_0x1b39ac=_0x18e8f6[_0x587a84(0xac)](_0x57003d=>_0x57003d[_0x587a84(0x21a)]),_0x1b39ac=this['sortOperationsWithFilterFirst'](_0x1b39ac);}return _0x3b487c[_0x587a84(0x229)]&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x3b487c[_0x587a84(0x229)])),_0x1b39ac;}[a0_0x3e48cd(0x115)](_0x1de7b4){const _0x1fd3ef=a0_0x3e48cd,_0x25924b=_0x1de7b4[_0x1fd3ef(0x8b)](_0x30f552=>_0x30f552['getName']()===_0x1fd3ef(0x2af)),_0x493d3f=_0x1de7b4['filter'](_0x45b777=>_0x45b777[_0x1fd3ef(0xd9)]()!==_0x1fd3ef(0x2af));return _0x25924b?[_0x25924b,..._0x493d3f]:_0x493d3f;}[a0_0x3e48cd(0x1ef)](){const _0x3cb182=a0_0x3e48cd,_0x4b0606=this['getEnabled']();return{'total':this['size'](),'enabled':_0x4b0606['length'],'disabled':this[_0x3cb182(0x13b)]()-_0x4b0606['length'],'byType':this[_0x3cb182(0xb7)](_0x4b0606),'byMethod':this[_0x3cb182(0x2fc)](_0x4b0606)};}['getCountByType'](_0x4eacb5){const _0x1d1c93=a0_0x3e48cd,_0x1ee0e={};return _0x4eacb5[_0x1d1c93(0x194)](_0x41ad52=>{const _0x2cc325=_0x1d1c93,_0xbce8d0=_0x41ad52[_0x2cc325(0x22a)]();_0xbce8d0&&(_0x1ee0e[_0xbce8d0]=(_0x1ee0e[_0xbce8d0]||0x0)+0x1);}),_0x1ee0e;}[a0_0x3e48cd(0x2fc)](_0x1205ac){const _0x41c034=a0_0x3e48cd,_0x784735={};return _0x1205ac[_0x41c034(0x194)](_0x465308=>{const _0x263fff=_0x465308['getMethod']();_0x263fff&&(_0x784735[_0x263fff]=(_0x784735[_0x263fff]||0x0)+0x1);}),_0x784735;}[Symbol[a0_0x3e48cd(0x320)]](){const _0x26b82d=a0_0x3e48cd;return this[_0x26b82d(0x171)][_0x26b82d(0x94)]();}[a0_0x3e48cd(0x129)](){const _0x319a18=a0_0x3e48cd,_0x298355=this['getStats']();return'OperationList('+_0x298355[_0x319a18(0x12d)]+'/'+_0x298355['total']+_0x319a18(0x9b);}}class DBConfig{['raw'];['dbId'];[a0_0x3e48cd(0x187)];['dbType'];[a0_0x3e48cd(0x2ff)];['tableName'];[a0_0x3e48cd(0x21d)];['pkField'];[a0_0x3e48cd(0x2e6)];[a0_0x3e48cd(0x260)];constructor(_0x54138e,_0x37f975){const _0x4a5153=a0_0x3e48cd;this[_0x4a5153(0x34a)]=_0x37f975,this[_0x4a5153(0xd1)]=_0x54138e[_0x4a5153(0xd1)],this[_0x4a5153(0x187)]=_0x54138e[_0x4a5153(0x187)],this['dbType']=_0x54138e[_0x4a5153(0xde)],this[_0x4a5153(0x2ff)]=_0x54138e['dbVersion'],this[_0x4a5153(0x1fa)]=_0x54138e['tableName'],this['datasetKey']=_0x54138e[_0x4a5153(0x21d)],this['pkField']=_0x54138e['pkField'],this[_0x4a5153(0x2e6)]=_0x54138e[_0x4a5153(0x2e6)],this[_0x4a5153(0x260)]=_0x54138e[_0x4a5153(0x260)];}[a0_0x3e48cd(0x34b)](){const _0xe100e5=a0_0x3e48cd;return this[_0xe100e5(0x34a)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3e48cd(0x214)];[a0_0x3e48cd(0x318)];[a0_0x3e48cd(0x1f4)];constructor(_0x5da8f8){const _0x9eda46=a0_0x3e48cd,_0x30ae2d={..._0x5da8f8};_0x30ae2d['id']=_0x5da8f8['modelId']||_0x5da8f8['id'],_0x30ae2d[_0x9eda46(0x14c)]=_0x5da8f8[_0x9eda46(0x92)]||_0x5da8f8[_0x9eda46(0x14c)]||_0x5da8f8[_0x9eda46(0x22c)],super(_0x30ae2d);}[a0_0x3e48cd(0x132)](){return;}[a0_0x3e48cd(0x287)](){return[];}[a0_0x3e48cd(0x219)](){return[];}get[a0_0x3e48cd(0xeb)](){const _0xb53c62=a0_0x3e48cd;return this[_0xb53c62(0x12e)]();}[a0_0x3e48cd(0xa1)](){const _0x49c93a=a0_0x3e48cd;if(!this[_0x49c93a(0x318)])throw new Error(_0x49c93a(0x247));return this[_0x49c93a(0x318)];}[a0_0x3e48cd(0x1f5)](){const _0x36398a=a0_0x3e48cd;if(!this[_0x36398a(0x1f4)])throw new Error('getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass');return this[_0x36398a(0x1f4)];}[a0_0x3e48cd(0x2a7)](){return[];}[a0_0x3e48cd(0x327)](){const _0xc32e22=a0_0x3e48cd,_0x3ccca9=this[_0xc32e22(0x152)]();return _0x3ccca9['fields'];}[a0_0x3e48cd(0x2bd)](){const _0x368d47=a0_0x3e48cd;return this[_0x368d47(0x2a7)]()[_0x368d47(0x1f8)];}['getField'](_0x57f036){const _0x7c8ec3=this['getFieldInstance'](_0x57f036);return _0x7c8ec3?_0x7c8ec3['raw']:undefined;}[a0_0x3e48cd(0x1c7)](_0x305524){return;}[a0_0x3e48cd(0x2e8)](_0x53cd2f){const _0x342d85=a0_0x3e48cd;if(!_0x53cd2f||typeof _0x53cd2f!=='object')return!![]&&console[_0x342d85(0x98)](_0x342d85(0x245),_0x53cd2f),{};if(_0x342d85(0x33b)in _0x53cd2f){const _0x96f5e7=_0x53cd2f;return{'primaryKey':typeof _0x96f5e7[_0x342d85(0x33b)]===_0x342d85(0x137)?_0x96f5e7[_0x342d85(0x33b)]:Boolean(_0x96f5e7[_0x342d85(0x33b)]),'required':_0x96f5e7[_0x342d85(0x180)],'systemRetain':Boolean(_0x96f5e7[_0x342d85(0x149)]),'autoIncrement':_0x96f5e7[_0x342d85(0x8a)]??undefined};}if(!(_0x342d85(0x20a)in _0x53cd2f)||!_0x53cd2f['extend'])return{};try{const _0x4559ce=typeof _0x53cd2f[_0x342d85(0x20a)]==='string'?JSON[_0x342d85(0x312)](_0x53cd2f[_0x342d85(0x20a)]):_0x53cd2f['extend'];if(typeof _0x4559ce!==_0x342d85(0x335)||_0x4559ce===null)return{};return _0x4559ce;}catch{return{};}}[a0_0x3e48cd(0x1fe)](){const _0x3a76ff=a0_0x3e48cd;if(!this[_0x3a76ff(0x214)]){const _0x642c6e=this[_0x3a76ff(0xc0)](this[_0x3a76ff(0x125)]()||{});this['_operationList']=new OperationList(_0x642c6e,{'fields':this[_0x3a76ff(0xa1)]()[_0x3a76ff(0xaf)](),'pkField':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]?.[_0x3a76ff(0x33b)],'dbtableConfig':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]||null});}return this['_operationList'];}[a0_0x3e48cd(0xc0)](_0x211cd2){const _0x17f3af=a0_0x3e48cd;if(_0x211cd2[_0x17f3af(0x2af)]!==undefined)return _0x211cd2;return{..._0x211cd2,'filter':this['generateDefaultFilterOperation']()};}['generateDefaultFilterOperation'](){const _0x30f8dd=a0_0x3e48cd,_0x3957c4=this['getOperationsData']()?.[_0x30f8dd(0x286)];let _0x32793a=_0x3957c4?.[_0x30f8dd(0x19d)],_0x2adffd='';if(!_0x32793a&&this[_0x30f8dd(0x125)]()){const _0x5b43c3=Object[_0x30f8dd(0x94)](this[_0x30f8dd(0x125)]());for(const _0x14ec9b of _0x5b43c3){if(_0x14ec9b&&typeof _0x14ec9b===_0x30f8dd(0x335)&&_0x30f8dd(0x19d)in _0x14ec9b){_0x32793a=_0x14ec9b[_0x30f8dd(0x19d)];break;}}}if(_0x3957c4?.[_0x30f8dd(0x1ba)]){const _0xe28005=_0x3957c4[_0x30f8dd(0x1ba)],_0x380b6a=_0xe28005[_0x30f8dd(0x172)]('/');_0x380b6a!==-0x1&&(_0x2adffd=_0xe28005['substring'](0x0,_0x380b6a));}const _0x1d8670={};_0x1d8670[_0x30f8dd(0x246)]=_0x30f8dd(0x2b0),_0x1d8670[_0x30f8dd(0x299)]='object',_0x1d8670[_0x30f8dd(0x180)]=![];const _0x493fa8={};_0x493fa8[_0x30f8dd(0x246)]='select',_0x493fa8[_0x30f8dd(0x299)]=_0x30f8dd(0x26e),_0x493fa8[_0x30f8dd(0x180)]=![];const _0x2f668a={};_0x2f668a[_0x30f8dd(0x246)]=_0x30f8dd(0x147),_0x2f668a[_0x30f8dd(0x299)]='array',_0x2f668a['required']=![];const _0x1f6011={};_0x1f6011[_0x30f8dd(0x246)]=_0x30f8dd(0xcf),_0x1f6011[_0x30f8dd(0x299)]='number',_0x1f6011[_0x30f8dd(0x180)]=![],_0x1f6011[_0x30f8dd(0x1d3)]=0x1;const _0x4f0fcd={};_0x4f0fcd[_0x30f8dd(0x246)]=_0x30f8dd(0x1e0),_0x4f0fcd[_0x30f8dd(0x299)]=_0x30f8dd(0x231),_0x4f0fcd[_0x30f8dd(0x180)]=![],_0x4f0fcd[_0x30f8dd(0x1d3)]=0xa;const _0x185815={};return _0x185815[_0x30f8dd(0x246)]=_0x30f8dd(0x2af),_0x185815[_0x30f8dd(0x299)]='query',_0x185815[_0x30f8dd(0x2b7)]=_0x30f8dd(0x341),_0x185815[_0x30f8dd(0x2eb)]=_0x30f8dd(0xed),_0x185815['host']=_0x32793a,_0x185815['path']=_0x2adffd?_0x2adffd+_0x30f8dd(0x206):'/filter',_0x185815[_0x30f8dd(0x26b)]=_0x3957c4?.['params']||[_0x1d8670,_0x493fa8,_0x2f668a,_0x1f6011,_0x4f0fcd],_0x185815['_autoGenerated']=!![],_0x185815;}['getOperations'](){const _0x3ce8db=a0_0x3e48cd;return this[_0x3ce8db(0x1fe)]()[_0x3ce8db(0x181)]();}[a0_0x3e48cd(0x2f5)](){const _0x59f4b6=a0_0x3e48cd;return this[_0x59f4b6(0x1fe)]()[_0x59f4b6(0x13b)]();}['getOperation'](_0x421463){const _0x2a9d90=a0_0x3e48cd;if(typeof _0x421463!==_0x2a9d90(0x278)){!![]&&console[_0x2a9d90(0x98)](_0x2a9d90(0x1d2),_0x421463);return;}return this['getOperationList']()[_0x2a9d90(0x32d)](_0x421463);}[a0_0x3e48cd(0x2dd)](_0xd33b42){const _0x5d0958=a0_0x3e48cd;if(typeof _0xd33b42!=='string')return![];return this[_0x5d0958(0x1fe)]()[_0x5d0958(0x2b9)](_0xd33b42);}['isOperationEnabled'](_0x50212e){const _0x5b3824=a0_0x3e48cd;if(typeof _0x50212e!=='string')return![];const _0x2d4db7=this[_0x5b3824(0x1df)](_0x50212e);return _0x2d4db7?.['isEnabled']()||![];}[a0_0x3e48cd(0x25d)](){const _0x406f55=a0_0x3e48cd;return this['getOperationList']()[_0x406f55(0x1a8)]();}['getDisabledOperations'](){return this['getOperationList']()['getDisabledNames']();}[a0_0x3e48cd(0x27e)](){const _0x3d03e6=a0_0x3e48cd;return this[_0x3d03e6(0x1fe)]()[_0x3d03e6(0x10d)]();}['getDisabledOperationInstances'](){const _0x4ea497=a0_0x3e48cd;return this[_0x4ea497(0x1fe)]()['getDisabled']();}[a0_0x3e48cd(0x340)](_0x33785b={}){const _0x476cf3=a0_0x3e48cd;return this[_0x476cf3(0x1fe)]()['getFiltered'](_0x33785b);}['getStats'](){const _0x30bced=a0_0x3e48cd;return{'fieldCount':this[_0x30bced(0x2bd)](),'systemFieldCount':this[_0x30bced(0x2bf)]()[_0x30bced(0x1f8)],'businessFieldCount':this['getBusinessFields']()[_0x30bced(0x1f8)],'requiredFieldCount':this[_0x30bced(0x211)]()[_0x30bced(0x1f8)],'primaryKeyCount':this[_0x30bced(0x84)]()[_0x30bced(0x1f8)],'operationCount':this[_0x30bced(0x2f5)](),'enabledOperationCount':this[_0x30bced(0x25d)]()['length']};}[a0_0x3e48cd(0x28b)](_0x590011){const _0x15ffaa=a0_0x3e48cd;if(!_0x590011||typeof _0x590011!==_0x15ffaa(0x335))return'';if('code'in _0x590011&&typeof _0x590011[_0x15ffaa(0x22c)]===_0x15ffaa(0x278))return _0x590011[_0x15ffaa(0x22c)];if(_0x15ffaa(0x246)in _0x590011&&typeof _0x590011['name']===_0x15ffaa(0x278))return _0x590011['name'];return'';}[a0_0x3e48cd(0xfa)](_0x49ff08){const _0x45ab37=a0_0x3e48cd;return this[_0x45ab37(0xa1)]()[_0x45ab37(0x2b9)](_0x49ff08);}[a0_0x3e48cd(0x2c1)](_0x3a5d9e){const _0x331b8d=a0_0x3e48cd;if(!_0x3a5d9e||typeof _0x3a5d9e!==_0x331b8d(0x335))return![];const _0x497e20=this[_0x331b8d(0x28b)](_0x3a5d9e),_0x150078=this[_0x331b8d(0x1ed)](_0x497e20);return _0x150078?_0x150078[_0x331b8d(0xb8)]():![];}['isSystemField'](_0x3934c2){const _0x31a9cb=a0_0x3e48cd;if(!_0x3934c2||typeof _0x3934c2!=='object')return![];const _0x33979b=this['getFieldCode'](_0x3934c2),_0x3032e3=this[_0x31a9cb(0x1ed)](_0x33979b);return _0x3032e3?_0x3032e3['isSystem']():![];}['isRequiredField'](_0x5966e1){const _0xf9d0a3=a0_0x3e48cd;if(!_0x5966e1||typeof _0x5966e1!==_0xf9d0a3(0x335))return![];const _0x2db0d8=this['getFieldCode'](_0x5966e1),_0xa50f06=this['getFieldInstance'](_0x2db0d8);return _0xa50f06?_0xa50f06[_0xf9d0a3(0x237)]():![];}[a0_0x3e48cd(0x225)](_0x2735ce){const _0x185298=a0_0x3e48cd;if(!_0x2735ce||typeof _0x2735ce!==_0x185298(0x335))return![];const _0x192a36=this['getFieldCode'](_0x2735ce),_0x195bd8=this['getFieldInstance'](_0x192a36);return _0x195bd8?_0x195bd8['isEnum']():![];}[a0_0x3e48cd(0x282)](_0xf85897){const _0x7f1958=a0_0x3e48cd;if(!_0xf85897||typeof _0xf85897!==_0x7f1958(0x335))return![];const _0x3f39df=this['getFieldCode'](_0xf85897),_0x3dfeba=this[_0x7f1958(0x1ed)](_0x3f39df);return _0x3dfeba?_0x3dfeba[_0x7f1958(0x2cc)]():![];}[a0_0x3e48cd(0x328)](_0x4078a4){const _0x39ef1f=a0_0x3e48cd;if(!_0x4078a4||typeof _0x4078a4!==_0x39ef1f(0x335))return[];const _0x196b5e=this['getFieldCode'](_0x4078a4),_0x387821=this[_0x39ef1f(0x1ed)](_0x196b5e);if(!_0x387821||!_0x387821[_0x39ef1f(0x113)]())return[];return _0x387821[_0x39ef1f(0x118)]()||[];}[a0_0x3e48cd(0x2d7)](_0x3c4b33){const _0x46b331=a0_0x3e48cd;if(!_0x3c4b33||typeof _0x3c4b33!==_0x46b331(0x335))return;const _0x1932ce=this[_0x46b331(0x28b)](_0x3c4b33),_0x3c9241=this[_0x46b331(0x1ed)](_0x1932ce);if(!_0x3c9241||!_0x3c9241['isEnum']())return;return _0x3c9241[_0x46b331(0x176)]();}['getEnumFieldMeta'](_0x4eb2e4){const _0x1620af=a0_0x3e48cd;if(!_0x4eb2e4||typeof _0x4eb2e4!==_0x1620af(0x335))return;const _0x43987e=this[_0x1620af(0x28b)](_0x4eb2e4),_0x39c743=this[_0x1620af(0x1ed)](_0x43987e);if(!_0x39c743||!_0x39c743[_0x1620af(0x113)]())return;return _0x39c743['getEnumMeta']();}[a0_0x3e48cd(0x84)](){const _0x33c67b=a0_0x3e48cd;return this[_0x33c67b(0xa1)]()[_0x33c67b(0x142)]()[_0x33c67b(0xac)](_0xea1a74=>_0xea1a74[_0x33c67b(0x34a)]);}['getSystemFields'](){const _0x4c85a0=a0_0x3e48cd;return this[_0x4c85a0(0xa1)]()['getSystem']()[_0x4c85a0(0xac)](_0x3e536e=>_0x3e536e[_0x4c85a0(0x34a)]);}[a0_0x3e48cd(0x2ea)](){const _0x5689aa=a0_0x3e48cd;return this['getFieldList']()[_0x5689aa(0x350)]()[_0x5689aa(0xac)](_0x2743b3=>_0x2743b3['raw']);}[a0_0x3e48cd(0x211)](){const _0x3ffc54=a0_0x3e48cd;return this[_0x3ffc54(0xa1)]()['getRequired']()['map'](_0x3f0709=>_0x3f0709['raw']);}[a0_0x3e48cd(0x159)](){const _0x49ae4f=a0_0x3e48cd,_0x2bc381=this['getFieldList']()[_0x49ae4f(0x32c)](),_0x33efe7={};for(const [_0x1bd6df,_0xe93779]of Object[_0x49ae4f(0x256)](_0x2bc381)){_0x33efe7[_0x1bd6df]=_0xe93779[_0x49ae4f(0xac)](_0x2b2b02=>_0x2b2b02[_0x49ae4f(0x34a)]);}return _0x33efe7;}[a0_0x3e48cd(0x251)](){const _0x3c40d2=a0_0x3e48cd;return this[_0x3c40d2(0xa1)]()[_0x3c40d2(0x9c)]()[_0x3c40d2(0xac)](_0x974a40=>_0x974a40['raw']);}[a0_0x3e48cd(0x2f4)](){const _0x233cff={};return this['getEnumFields']()['forEach'](_0xf9bac1=>{const _0x257106=a0_0x23f8,_0x108ee9=this[_0x257106(0x32e)](_0xf9bac1);if(_0x108ee9){const _0x364c91=this['getFieldCode'](_0xf9bac1);_0x233cff[_0x364c91]=_0x108ee9;}}),_0x233cff;}['validateEnumValue'](_0x525edd,_0x26f103){const _0x390b11=a0_0x3e48cd,_0x3dcf6a=this[_0x390b11(0x32e)](_0x525edd);if(!_0x3dcf6a)return!![];if(_0x3dcf6a[_0x390b11(0x345)]&&!_0x3dcf6a[_0x390b11(0xb2)])return!![];const _0x2bdf38=this[_0x390b11(0x28b)](_0x525edd),_0x1dd271=this[_0x390b11(0x1ed)](_0x2bdf38),_0x55ebc9=_0x1dd271?_0x1dd271[_0x390b11(0x2cc)]():![];if(_0x55ebc9&&Array['isArray'](_0x26f103))return _0x26f103[_0x390b11(0x166)](_0x19e380=>_0x3dcf6a[_0x390b11(0x94)]['includes'](_0x19e380));return _0x3dcf6a[_0x390b11(0x94)][_0x390b11(0x128)](_0x26f103);}[a0_0x3e48cd(0x195)](){const _0x1a21dd=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x1a21dd(0x14c)],'dbtableConfig':this[_0x1a21dd(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x14a9b9=a0_0x3e48cd;return'DrivenDataDetail('+this[_0x14a9b9(0x246)]+',\x20'+this[_0x14a9b9(0x14c)]+',\x20'+this[_0x14a9b9(0x2bd)]()+_0x14a9b9(0x329)+this[_0x14a9b9(0x2f5)]()+'\x20operations,\x20'+this[_0x14a9b9(0x2b5)]()+')';}[a0_0x3e48cd(0x158)](){const _0x3b88b8=a0_0x3e48cd;return this[_0x3b88b8(0x268)](_0x3b88b8(0x2af));}[a0_0x3e48cd(0x139)](_0x314049){const _0x28ffd9=a0_0x3e48cd;return this['getOperationFieldOperators'](_0x28ffd9(0x2af),_0x314049);}[a0_0x3e48cd(0x281)](){const _0x558156=a0_0x3e48cd;return this[_0x558156(0x2d0)](_0x558156(0x2af));}[a0_0x3e48cd(0x268)](_0xa60d4d){const _0x2e02ce=this['getOperation'](_0xa60d4d);return _0x2e02ce?_0x2e02ce['getOperators']():[];}['getOperationFieldOperators'](_0x43c9d2,_0x3dd42a){const _0x2091fb=a0_0x3e48cd,_0x25d1fc=this[_0x2091fb(0x1df)](_0x43c9d2);return _0x25d1fc?_0x25d1fc[_0x2091fb(0x238)](_0x3dd42a):[];}[a0_0x3e48cd(0x2d0)](_0x278243){const _0x383f4f=a0_0x3e48cd,_0x1b0cb5={};return this[_0x383f4f(0xa1)]()[_0x383f4f(0x194)](_0x5606ca=>{const _0x4be48e=_0x383f4f,_0x45a87a=this[_0x4be48e(0x12a)](_0x278243,_0x5606ca[_0x4be48e(0x22c)]);_0x45a87a[_0x4be48e(0x1f8)]>0x0&&(_0x1b0cb5[_0x5606ca[_0x4be48e(0x22c)]]=_0x45a87a);}),_0x1b0cb5;}[a0_0x3e48cd(0x235)](_0x59a927,_0xee8185,_0x9ae9f0){const _0x273df9=a0_0x3e48cd,_0xfa8fde=this[_0x273df9(0x12a)](_0x59a927,_0xee8185);return _0xfa8fde[_0x273df9(0x128)](_0x9ae9f0);}}class FieldBase{get[a0_0x3e48cd(0xde)](){return;}get[a0_0x3e48cd(0x1b6)](){return;}get[a0_0x3e48cd(0x252)](){return;}get[a0_0x3e48cd(0x1d8)](){return;}['isBusiness'](){const _0x54b436=a0_0x3e48cd;return!this[_0x54b436(0x1f6)]();}[a0_0x3e48cd(0x31e)](){return this['deleted'];}['isEnum'](){const _0x32ba1a=a0_0x3e48cd,_0x5e85a3=[_0x32ba1a(0x339),'SELECT',_0x32ba1a(0x24f)];return _0x5e85a3['includes'](this['type']);}[a0_0x3e48cd(0x2cc)](){const _0x824664=a0_0x3e48cd;return this[_0x824664(0x299)]===_0x824664(0x24f);}[a0_0x3e48cd(0x1e4)](){const _0x5b6bee=a0_0x3e48cd,_0x48720b=this[_0x5b6bee(0x1e7)]();return _0x48720b?.[_0x5b6bee(0x94)]||[];}[a0_0x3e48cd(0x1e7)](){const _0x4818c3=a0_0x3e48cd;if(!this[_0x4818c3(0x113)]())return;const _0x421495=this[_0x4818c3(0x118)](),_0x15caac=this[_0x4818c3(0x176)](),_0x549622=[],_0x3524b7={},_0x41e980=_0x678a1a=>{_0x678a1a['forEach'](_0x46d413=>{const _0x1dd51b=a0_0x23f8;if(!_0x46d413||typeof _0x46d413!==_0x1dd51b(0x335))return;_0x46d413[_0x1dd51b(0x2d3)]!==undefined&&_0x46d413[_0x1dd51b(0x2d3)]!==null&&(_0x549622[_0x1dd51b(0x2d5)](_0x46d413[_0x1dd51b(0x2d3)]),_0x3524b7[String(_0x46d413[_0x1dd51b(0x2d3)])]=_0x46d413[_0x1dd51b(0x140)]||''),_0x46d413[_0x1dd51b(0x30e)]&&Array[_0x1dd51b(0x133)](_0x46d413['children'])&&_0x46d413[_0x1dd51b(0x30e)][_0x1dd51b(0x1f8)]>0x0&&_0x41e980(_0x46d413['children']);});};return _0x421495&&Array['isArray'](_0x421495)&&_0x421495[_0x4818c3(0x1f8)]>0x0&&_0x41e980(_0x421495),{'code':this['code'],'name':this[_0x4818c3(0x246)],'type':this[_0x4818c3(0x299)],'multiple':this[_0x4818c3(0x2cc)](),'options':_0x421495,'selectItemsSource':_0x15caac,'values':_0x549622,'valueLabels':_0x3524b7};}get[a0_0x3e48cd(0xa9)](){return this['getEnumValues']();}[a0_0x3e48cd(0x129)](){const _0x29abc3=a0_0x3e48cd;return _0x29abc3(0x170)+this[_0x29abc3(0x246)]+',\x20'+this[_0x29abc3(0x22c)]+',\x20'+this[_0x29abc3(0x299)]+',\x20'+this[_0x29abc3(0x2b5)]()+')';}}class FieldV1 extends FieldBase{[a0_0x3e48cd(0x239)];['_extend']=null;constructor(_0x3f95b9){const _0x538fe7=a0_0x3e48cd;super();if(!_0x3f95b9||typeof _0x3f95b9!=='object')throw new Error(_0x538fe7(0x9a));this[_0x538fe7(0x239)]=_0x3f95b9;}[a0_0x3e48cd(0x310)](){const _0x39e0e1=a0_0x3e48cd;return this[_0x39e0e1(0x239)];}[a0_0x3e48cd(0x2b5)](){return'v1';}get[a0_0x3e48cd(0x34a)](){const _0x822108=a0_0x3e48cd;return this[_0x822108(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x3c0721=a0_0x3e48cd;return this[_0x3c0721(0x239)][_0x3c0721(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3824d2=a0_0x3e48cd;return this[_0x3824d2(0x239)][_0x3824d2(0x22c)]||'';}get['type'](){const _0xc94450=a0_0x3e48cd;return this[_0xc94450(0x239)][_0xc94450(0x299)]||'';}get[a0_0x3e48cd(0x2b7)](){const _0xaacc90=a0_0x3e48cd;return this['_raw'][_0xaacc90(0x2b7)]||'';}get[a0_0x3e48cd(0x24b)](){const _0x4fbc23=a0_0x3e48cd;return Boolean(this[_0x4fbc23(0x239)][_0x4fbc23(0x24b)]);}get['dbType'](){const _0x587759=a0_0x3e48cd;return this['_raw'][_0x587759(0xde)];}get[a0_0x3e48cd(0x1b6)](){const _0x232109=a0_0x3e48cd;return this[_0x232109(0x239)][_0x232109(0x1b6)];}get[a0_0x3e48cd(0x252)](){return this['_raw']['alias'];}get['doType'](){return;}get[a0_0x3e48cd(0x20a)](){const _0x2b10ee=a0_0x3e48cd;if(this[_0x2b10ee(0x216)]!==null&&typeof this[_0x2b10ee(0x216)]===_0x2b10ee(0x335))return this['_extend'];const _0x25a85e=this['_raw']['extend'];if(!_0x25a85e||typeof _0x25a85e!==_0x2b10ee(0x278))return this[_0x2b10ee(0x216)]={},this['_extend'];if(_0x25a85e===_0x2b10ee(0x298)||_0x25a85e[_0x2b10ee(0x199)]()===_0x2b10ee(0x298))return this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];try{const _0x5ecc41=JSON['parse'](_0x25a85e);return this[_0x2b10ee(0x216)]=_0x5ecc41!==null&&typeof _0x5ecc41===_0x2b10ee(0x335)&&!Array['isArray'](_0x5ecc41)?_0x5ecc41:{},this[_0x2b10ee(0x216)];}catch(_0x45e8b0){return!![]&&console[_0x2b10ee(0x98)](_0x2b10ee(0x2f2)+this['code']+_0x2b10ee(0xbf),_0x45e8b0),this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];}}[a0_0x3e48cd(0x237)](){const _0x4976cb=a0_0x3e48cd;return Boolean(this[_0x4976cb(0x20a)][_0x4976cb(0x180)]);}['isPrimaryKey'](){const _0x5a2ee8=a0_0x3e48cd;return Boolean(this[_0x5a2ee8(0x20a)][_0x5a2ee8(0x14d)]||this[_0x5a2ee8(0x20a)]['pkField']);}[a0_0x3e48cd(0x1f6)](){const _0x110ee6=a0_0x3e48cd;return Boolean(this[_0x110ee6(0x20a)][_0x110ee6(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x5d5363=a0_0x3e48cd;return Boolean(this[_0x5d5363(0x20a)][_0x5d5363(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x5d4712=a0_0x3e48cd;return Boolean(this['extend'][_0x5d4712(0x1ce)]);}[a0_0x3e48cd(0xe4)](){return Boolean(this['extend']['updateTime']);}['getDisplayName'](){const _0xf68a6f=a0_0x3e48cd;return this[_0xf68a6f(0x246)];}[a0_0x3e48cd(0x29d)](){return this['code'];}[a0_0x3e48cd(0x113)](){const _0x4d9efc=a0_0x3e48cd,_0x3c7d0c=[_0x4d9efc(0x339),_0x4d9efc(0x120),_0x4d9efc(0x24f)];if(_0x3c7d0c['includes'](this[_0x4d9efc(0x299)]))return!![];const _0x3cd2e8=this['extend'];return Boolean(_0x3cd2e8['options']&&Array[_0x4d9efc(0x133)](_0x3cd2e8[_0x4d9efc(0xb2)])&&_0x3cd2e8['options'][_0x4d9efc(0x1f8)]>0x0||_0x3cd2e8[_0x4d9efc(0x345)]);}[a0_0x3e48cd(0x2cc)](){const _0x5b22e5=a0_0x3e48cd;if(this[_0x5b22e5(0x299)]===_0x5b22e5(0x24f))return!![];return Boolean(this[_0x5b22e5(0x20a)][_0x5b22e5(0xb3)]);}[a0_0x3e48cd(0x118)](){const _0x174f58=a0_0x3e48cd,_0x22e643=this[_0x174f58(0x20a)];if(_0x22e643['options']&&Array['isArray'](_0x22e643[_0x174f58(0xb2)]))return _0x22e643['options'];return;}[a0_0x3e48cd(0x176)](){const _0x40fb20=a0_0x3e48cd,_0x2ea57b=this[_0x40fb20(0x20a)];if(_0x2ea57b[_0x40fb20(0x345)]&&typeof _0x2ea57b[_0x40fb20(0x345)]===_0x40fb20(0x335))return _0x2ea57b[_0x40fb20(0x345)];return;}[a0_0x3e48cd(0x178)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x51f6b6=a0_0x3e48cd;return this[_0x51f6b6(0x20a)]['defaultValue'];}[a0_0x3e48cd(0x1c1)](){const _0x4bc10a=a0_0x3e48cd;return this[_0x4bc10a(0x20a)][_0x4bc10a(0x117)];}[a0_0x3e48cd(0x2df)](){const _0x4ab371=a0_0x3e48cd;return{'name':this[_0x4ab371(0x246)],'code':this[_0x4ab371(0x22c)],'type':this[_0x4ab371(0x299)],'dbType':this[_0x4ab371(0xde)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x4ab371(0x2b7)],'required':this[_0x4ab371(0x237)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x4ab371(0x1f6)](),'autoIncrement':this[_0x4ab371(0x305)](),'createTime':this[_0x4ab371(0x1bc)](),'updateTime':this[_0x4ab371(0xe4)](),'isEnum':this[_0x4ab371(0x113)](),'enumMeta':this['isEnum']()?this[_0x4ab371(0x1e7)]():undefined};}['toString'](){const _0x509841=a0_0x3e48cd;return'FieldV1('+this['name']+',\x20'+this[_0x509841(0x22c)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x3e48cd(0x20c)];constructor(_0x58e925,_0x39e6a0){const _0x14fea0=a0_0x3e48cd,_0x47d025=Array[_0x14fea0(0x133)](_0x58e925)?_0x58e925:[],_0x240236=_0x39e6a0?.['includeDeleted']??![],_0x2584ed=_0x240236?_0x47d025:_0x47d025['filter'](_0x254791=>{const _0x32fd86=_0x14fea0;if(!_0x254791||typeof _0x254791!==_0x32fd86(0x335))return![];const _0x2dde5d=_0x254791;return!_0x2dde5d['deleted'];});this['_fields']=this[_0x14fea0(0x2f6)](_0x2584ed);}get[a0_0x3e48cd(0x1f8)](){const _0x257ac6=a0_0x3e48cd;return this[_0x257ac6(0x20c)][_0x257ac6(0x1f8)];}['all'](){const _0x423597=a0_0x3e48cd;return[...this[_0x423597(0x20c)]];}['at'](_0x49c0b8){const _0x8034c4=a0_0x3e48cd;return this[_0x8034c4(0x20c)]['at'](_0x49c0b8);}['find'](_0x747296){const _0xb14db9=a0_0x3e48cd;return this[_0xb14db9(0x20c)][_0xb14db9(0x8b)](_0x4a5ced=>_0x4a5ced[_0xb14db9(0x22c)]===_0x747296);}[a0_0x3e48cd(0x127)](_0x25ff36){const _0x4aae4f=a0_0x3e48cd;return this[_0x4aae4f(0x20c)]['find'](_0x5976b2=>_0x5976b2[_0x4aae4f(0x246)]===_0x25ff36);}[a0_0x3e48cd(0x2b9)](_0x49cb9d){const _0x1a63dd=a0_0x3e48cd;return this[_0x1a63dd(0x20c)]['some'](_0x1d3b6b=>_0x1d3b6b[_0x1a63dd(0x22c)]===_0x49cb9d);}[a0_0x3e48cd(0x194)](_0x49300){const _0x528c66=a0_0x3e48cd;this[_0x528c66(0x20c)][_0x528c66(0x194)](_0x49300);}[a0_0x3e48cd(0xac)](_0x5eafdf){const _0x4b2ce0=a0_0x3e48cd;return this[_0x4b2ce0(0x20c)]['map'](_0x5eafdf);}['filter'](_0x4074f2){const _0x564c01=a0_0x3e48cd;return this[_0x564c01(0x20c)][_0x564c01(0x2af)](_0x4074f2);}[a0_0x3e48cd(0x166)](_0x404804){const _0xa51906=a0_0x3e48cd;return this[_0xa51906(0x20c)][_0xa51906(0x166)](_0x404804);}[a0_0x3e48cd(0x294)](_0x4a4d05){const _0x5c9a1f=a0_0x3e48cd;return this[_0x5c9a1f(0x20c)][_0x5c9a1f(0x294)](_0x4a4d05);}[a0_0x3e48cd(0x108)](){const _0x3c7f12=a0_0x3e48cd;return this[_0x3c7f12(0x20c)][_0x3c7f12(0x2af)](_0x1d5c7e=>_0x1d5c7e[_0x3c7f12(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x85893f=a0_0x3e48cd;return this[_0x85893f(0x20c)]['filter'](_0x5338ba=>_0x5338ba[_0x85893f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x3b02db=a0_0x3e48cd;return this[_0x3b02db(0x20c)]['filter'](_0x1e94fb=>_0x1e94fb[_0x3b02db(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x2d16e8=a0_0x3e48cd;return this[_0x2d16e8(0x20c)][_0x2d16e8(0x2af)](_0x5d0098=>_0x5d0098[_0x2d16e8(0x143)]());}['getEnum'](){const _0x3e9bcb=a0_0x3e48cd;return this[_0x3e9bcb(0x20c)][_0x3e9bcb(0x2af)](_0x68c43c=>_0x68c43c[_0x3e9bcb(0x113)]());}[a0_0x3e48cd(0x210)](){const _0x2efd30=a0_0x3e48cd;return this[_0x2efd30(0x20c)][_0x2efd30(0x2af)](_0x136824=>_0x136824[_0x2efd30(0x305)]());}[a0_0x3e48cd(0x275)](){const _0x2c40ae=a0_0x3e48cd;return this['_fields'][_0x2c40ae(0x2af)](_0x138fdf=>_0x138fdf[_0x2c40ae(0x1bc)]());}[a0_0x3e48cd(0x347)](){const _0x3ddc98=a0_0x3e48cd;return this[_0x3ddc98(0x20c)][_0x3ddc98(0x2af)](_0x30f59c=>_0x30f59c[_0x3ddc98(0xe4)]());}['getDeleted'](){const _0x56d36c=a0_0x3e48cd;return this[_0x56d36c(0x20c)][_0x56d36c(0x2af)](_0x2b7e5a=>_0x2b7e5a[_0x56d36c(0x31e)]());}['getActive'](){const _0x835261=a0_0x3e48cd;return this[_0x835261(0x20c)][_0x835261(0x2af)](_0x153855=>!_0x153855[_0x835261(0x31e)]());}[a0_0x3e48cd(0x32c)](){const _0x2c9c3d=a0_0x3e48cd,_0x36c8ef={};return this[_0x2c9c3d(0x20c)]['forEach'](_0xd212fa=>{const _0x3eb712=_0x2c9c3d,_0x24838c=_0xd212fa['type'];!_0x36c8ef[_0x24838c]&&(_0x36c8ef[_0x24838c]=[]),_0x36c8ef[_0x24838c][_0x3eb712(0x2d5)](_0xd212fa);}),_0x36c8ef;}['getEnumMetas'](){const _0xc06b70=a0_0x3e48cd,_0x304100={};return this[_0xc06b70(0x20c)][_0xc06b70(0x194)](_0x2ad187=>{const _0x35a0cd=_0xc06b70;if(_0x2ad187[_0x35a0cd(0x113)]()){const _0x25e49b=_0x2ad187[_0x35a0cd(0x1e7)]();_0x25e49b&&(_0x304100[_0x2ad187[_0x35a0cd(0x22c)]]=_0x25e49b);}}),_0x304100;}[a0_0x3e48cd(0x1ef)](){const _0x284f06=a0_0x3e48cd;return{'total':this[_0x284f06(0x1f8)],'required':this['getRequired']()[_0x284f06(0x1f8)],'primaryKey':this[_0x284f06(0x142)]()[_0x284f06(0x1f8)],'system':this[_0x284f06(0x257)]()['length'],'business':this[_0x284f06(0x350)]()['length'],'enum':this[_0x284f06(0x9c)]()[_0x284f06(0x1f8)],'autoIncrement':this['getAutoIncrement']()[_0x284f06(0x1f8)]};}[a0_0x3e48cd(0xd3)](){const _0x5ad9a9=a0_0x3e48cd;return this[_0x5ad9a9(0x20c)]['map'](_0xe6c3c6=>_0xe6c3c6[_0x5ad9a9(0x22c)]);}[a0_0x3e48cd(0x18d)](){const _0x3f57c5=a0_0x3e48cd;return this[_0x3f57c5(0x20c)][_0x3f57c5(0xac)](_0x1ceca0=>_0x1ceca0['getDisplayName']());}[a0_0x3e48cd(0x208)](){const _0x15e42d=a0_0x3e48cd;return this[_0x15e42d(0x20c)][_0x15e42d(0xac)](_0x16c955=>_0x16c955['getFieldName']());}[a0_0x3e48cd(0x2df)](){const _0x391bac=a0_0x3e48cd;return this[_0x391bac(0x20c)][_0x391bac(0xac)](_0x225285=>_0x225285[_0x391bac(0x2df)]());}['toString'](){const _0x20a413=a0_0x3e48cd;return _0x20a413(0x1d1)+this[_0x20a413(0x1f8)]+_0x20a413(0x22b);}}class FieldListV1 extends FieldListBase{constructor(_0x4dc00c,_0x57814e){super(_0x4dc00c,_0x57814e);}[a0_0x3e48cd(0x2f6)](_0x3b66e8){const _0x23fa01=a0_0x3e48cd;return _0x3b66e8[_0x23fa01(0xac)](_0x31b1c8=>new FieldV1(_0x31b1c8));}[a0_0x3e48cd(0xaf)](){const _0x2c9f20=a0_0x3e48cd;return[...this[_0x2c9f20(0x20c)]];}['at'](_0x1fc027){const _0x337167=a0_0x3e48cd;return this[_0x337167(0x20c)]['at'](_0x1fc027);}['find'](_0x1543e8){const _0x3be660=a0_0x3e48cd;return this[_0x3be660(0x20c)][_0x3be660(0x8b)](_0x3b8ef3=>_0x3b8ef3[_0x3be660(0x22c)]===_0x1543e8);}[a0_0x3e48cd(0x127)](_0x1e918f){const _0x5bd917=a0_0x3e48cd;return this['_fields']['find'](_0x33faf4=>_0x33faf4[_0x5bd917(0x246)]===_0x1e918f);}[a0_0x3e48cd(0x2af)](_0x2fc675){const _0x21d5ba=a0_0x3e48cd;return this[_0x21d5ba(0x20c)][_0x21d5ba(0x2af)](_0x2fc675);}[a0_0x3e48cd(0xac)](_0xc7368){const _0x4495fc=a0_0x3e48cd;return this[_0x4495fc(0x20c)][_0x4495fc(0xac)](_0xc7368);}['getRequired'](){const _0x227d3e=a0_0x3e48cd;return this['_fields'][_0x227d3e(0x2af)](_0x29362c=>_0x29362c[_0x227d3e(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x8355c2=a0_0x3e48cd;return this[_0x8355c2(0x20c)]['filter'](_0x25e086=>_0x25e086[_0x8355c2(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x592d62=a0_0x3e48cd;return this['_fields'][_0x592d62(0x2af)](_0x2eb2f4=>_0x2eb2f4[_0x592d62(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x3743d0=a0_0x3e48cd;return this['_fields'][_0x3743d0(0x2af)](_0x2492ce=>_0x2492ce[_0x3743d0(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x19cdbf=a0_0x3e48cd;return this[_0x19cdbf(0x20c)]['filter'](_0x38151a=>_0x38151a[_0x19cdbf(0x113)]());}[a0_0x3e48cd(0x32c)](){const _0x3e6192={};return this['_fields']['forEach'](_0x2f901b=>{const _0x26d754=a0_0x23f8,_0x1a6b26=_0x2f901b['type'];!_0x3e6192[_0x1a6b26]&&(_0x3e6192[_0x1a6b26]=[]),_0x3e6192[_0x1a6b26][_0x26d754(0x2d5)](_0x2f901b);}),_0x3e6192;}[a0_0x3e48cd(0x34a)](){const _0x162160=a0_0x3e48cd;return this[_0x162160(0x20c)][_0x162160(0xac)](_0x12795a=>_0x12795a['raw']);}static[a0_0x3e48cd(0x2c5)](_0x6be275){const _0x24b324=a0_0x3e48cd,_0x2da6a9=_0x6be275[_0x24b324(0xac)](_0x2bc75b=>_0x2bc75b[_0x24b324(0x34a)]);return new FieldListV1(_0x2da6a9);}static[a0_0x3e48cd(0x266)](_0x386e04){const _0x1460d4=a0_0x3e48cd,_0x2f88bc={};return _0x2f88bc[_0x1460d4(0x23b)]=!![],new FieldListV1(_0x386e04,_0x2f88bc);}}class FieldV2 extends FieldBase{[a0_0x3e48cd(0x239)];constructor(_0xcd1f26){const _0x5c1502=a0_0x3e48cd;super();if(!_0xcd1f26||typeof _0xcd1f26!=='object')throw new Error(_0x5c1502(0x21c));this[_0x5c1502(0x239)]=_0xcd1f26;}[a0_0x3e48cd(0x2b5)](){return'v2';}get['raw'](){const _0x193f5e=a0_0x3e48cd;return this[_0x193f5e(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x2ed8eb=a0_0x3e48cd;return this['_raw'][_0x2ed8eb(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3fa5e2=a0_0x3e48cd;return this['_raw'][_0x3fa5e2(0x246)]||'';}get[a0_0x3e48cd(0x252)](){const _0x35b319=a0_0x3e48cd;return this[_0x35b319(0x239)][_0x35b319(0x252)]||'';}get['type'](){const _0x47b0b2=a0_0x3e48cd;if(this[_0x47b0b2(0x239)]['doType'])return this['_raw'][_0x47b0b2(0x1d8)];return this[_0x47b0b2(0xb1)](this['_raw'][_0x47b0b2(0xde)]);}get[a0_0x3e48cd(0x2b7)](){const _0x5cea04=a0_0x3e48cd;return this[_0x5cea04(0x239)]['description']||'';}get[a0_0x3e48cd(0x24b)](){const _0x5f10e4=a0_0x3e48cd;return Boolean(this[_0x5f10e4(0x239)][_0x5f10e4(0x24b)]);}['isRequired'](){const _0x194175=a0_0x3e48cd;return Boolean(this[_0x194175(0x239)][_0x194175(0x180)]);}[a0_0x3e48cd(0xb8)](){const _0x5e8d99=a0_0x3e48cd;return Boolean(this[_0x5e8d99(0x239)][_0x5e8d99(0x33b)]);}[a0_0x3e48cd(0x1f6)](){const _0x560e64=a0_0x3e48cd;return Boolean(this[_0x560e64(0x239)][_0x560e64(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x280e7b=a0_0x3e48cd;return Boolean(this[_0x280e7b(0x239)][_0x280e7b(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x247a3d=a0_0x3e48cd;return this['_raw'][_0x247a3d(0x149)]===_0x247a3d(0x1ce);}[a0_0x3e48cd(0xe4)](){const _0x2459c9=a0_0x3e48cd;return this['_raw']['systemRetain']===_0x2459c9(0x348);}[a0_0x3e48cd(0x2ef)](){const _0x2b907d=a0_0x3e48cd;return this[_0x2b907d(0x239)][_0x2b907d(0x252)]||'';}[a0_0x3e48cd(0x29d)](){const _0x1e2ef8=a0_0x3e48cd;return this[_0x1e2ef8(0x239)][_0x1e2ef8(0x246)]||'';}[a0_0x3e48cd(0x113)](){const _0x1fd83b=a0_0x3e48cd;return Boolean(this['_raw'][_0x1fd83b(0xb2)]&&Array[_0x1fd83b(0x133)](this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)])&&this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)][_0x1fd83b(0x1f8)]>0x0);}[a0_0x3e48cd(0x2cc)](){const _0x497c84=a0_0x3e48cd,_0x19cc93=this[_0x497c84(0x239)][_0x497c84(0x20a)];if(!_0x19cc93)return![];try{const _0x34759=JSON[_0x497c84(0x312)](_0x19cc93);if(_0x34759&&typeof _0x34759===_0x497c84(0x335)&&'multiple'in _0x34759)return Boolean(_0x34759[_0x497c84(0xb3)]);}catch{}return![];}[a0_0x3e48cd(0x118)](){const _0x3cee1f=a0_0x3e48cd;if(this['_raw'][_0x3cee1f(0xb2)]&&Array[_0x3cee1f(0x133)](this[_0x3cee1f(0x239)][_0x3cee1f(0xb2)]))return this['_raw'][_0x3cee1f(0xb2)];return;}[a0_0x3e48cd(0x176)](){const _0x279a7c=a0_0x3e48cd,_0x4ad3b6=this['_raw'][_0x279a7c(0x20a)];if(!_0x4ad3b6)return;try{const _0x769e5=JSON[_0x279a7c(0x312)](_0x4ad3b6);if(_0x769e5&&typeof _0x769e5==='object'&&_0x279a7c(0x345)in _0x769e5)return _0x769e5[_0x279a7c(0x345)];}catch{}return;}[a0_0x3e48cd(0x178)](){const _0x28ef01=a0_0x3e48cd;if(!this['_raw']['dbType'])return'';return this[_0x28ef01(0x239)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}[a0_0x3e48cd(0x1b9)](){return;}[a0_0x3e48cd(0x1c1)](){return;}get[a0_0x3e48cd(0xde)](){const _0x5e33ae=a0_0x3e48cd;return this[_0x5e33ae(0x239)][_0x5e33ae(0xde)]??undefined;}get[a0_0x3e48cd(0x1b6)](){return this['_raw']['dbTypeLen'];}['getDOType'](){const _0x55c553=a0_0x3e48cd;return this[_0x55c553(0x239)][_0x55c553(0x1d8)]??null;}get[a0_0x3e48cd(0x1d8)](){return this['_raw']['doType']??null;}[a0_0x3e48cd(0x2df)](){const _0x438216=a0_0x3e48cd;return{'name':this[_0x438216(0x246)],'code':this[_0x438216(0x22c)],'type':this[_0x438216(0x299)],'dbType':this[_0x438216(0xde)],'dbTypeLen':this[_0x438216(0x1b6)],'doType':this[_0x438216(0x2b4)](),'displayName':this[_0x438216(0x252)],'description':this[_0x438216(0x2b7)],'required':this[_0x438216(0x237)](),'primaryKey':this[_0x438216(0xb8)](),'system':this[_0x438216(0x1f6)](),'autoIncrement':this[_0x438216(0x305)](),'createTime':this[_0x438216(0x1bc)](),'updateTime':this[_0x438216(0xe4)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x438216(0x1e7)]():undefined};}['toString'](){const _0x342b70=a0_0x3e48cd;return _0x342b70(0x213)+this[_0x342b70(0x246)]+',\x20'+this[_0x342b70(0x22c)]+',\x20'+this['dbType']+_0x342b70(0x1a0)+this[_0x342b70(0x2b4)]()+')';}[a0_0x3e48cd(0xb1)](_0x1ea498){const _0x3af0ab=a0_0x3e48cd;if(!_0x1ea498)return _0x3af0ab(0x1b1);const _0x4d0bab={};_0x4d0bab[_0x3af0ab(0x106)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x163)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x1b1)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x1c2)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x250)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x33c)]='NUMBER',_0x4d0bab[_0x3af0ab(0x1a5)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x1f7)]=_0x3af0ab(0x1dd),_0x4d0bab['DECIMAL']='NUMBER',_0x4d0bab['DOUBLE']='NUMBER',_0x4d0bab[_0x3af0ab(0xff)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x100)]='DATE',_0x4d0bab[_0x3af0ab(0x33d)]=_0x3af0ab(0x303),_0x4d0bab[_0x3af0ab(0x303)]='DATE',_0x4d0bab['TIME']=_0x3af0ab(0x258),_0x4d0bab[_0x3af0ab(0x9d)]=_0x3af0ab(0xc8),_0x4d0bab['BIT']='SWITCH',_0x4d0bab['BLOB']=_0x3af0ab(0x25b),_0x4d0bab[_0x3af0ab(0x1b7)]='FILE';const _0x13fc54=_0x4d0bab,_0x4ba83c=_0x1ea498['toUpperCase']();return _0x13fc54[_0x4ba83c]||_0x3af0ab(0x1b1);}}class FieldListV2 extends FieldListBase{constructor(_0x34b995,_0x4fec54){super(_0x34b995,_0x4fec54);}[a0_0x3e48cd(0x2f6)](_0x4c3841){const _0x4489f4=a0_0x3e48cd;return _0x4c3841[_0x4489f4(0xac)](_0x1a74b0=>new FieldV2(_0x1a74b0));}[a0_0x3e48cd(0xaf)](){const _0x1d9dfb=a0_0x3e48cd;return[...this[_0x1d9dfb(0x20c)]];}['at'](_0xa5f8a1){const _0x8b829=a0_0x3e48cd;return this[_0x8b829(0x20c)]['at'](_0xa5f8a1);}['find'](_0x36b79e){const _0x3e556a=a0_0x3e48cd;return this[_0x3e556a(0x20c)][_0x3e556a(0x8b)](_0x36a657=>_0x36a657[_0x3e556a(0x22c)]===_0x36b79e);}[a0_0x3e48cd(0x127)](_0x5a432e){const _0x57e4e1=a0_0x3e48cd;return this[_0x57e4e1(0x20c)][_0x57e4e1(0x8b)](_0x587f22=>_0x587f22['getDisplayName']()===_0x5a432e);}[a0_0x3e48cd(0x2af)](_0xdec515){const _0x4f6517=a0_0x3e48cd;return this['_fields'][_0x4f6517(0x2af)](_0xdec515);}[a0_0x3e48cd(0xac)](_0x54cd1f){const _0x1ee197=a0_0x3e48cd;return this[_0x1ee197(0x20c)][_0x1ee197(0xac)](_0x54cd1f);}[a0_0x3e48cd(0x108)](){const _0x4585fc=a0_0x3e48cd;return this[_0x4585fc(0x20c)][_0x4585fc(0x2af)](_0x2dbdd9=>_0x2dbdd9[_0x4585fc(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x34ba1f=a0_0x3e48cd;return this[_0x34ba1f(0x20c)][_0x34ba1f(0x2af)](_0x29393d=>_0x29393d[_0x34ba1f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x21fa8e=a0_0x3e48cd;return this[_0x21fa8e(0x20c)][_0x21fa8e(0x2af)](_0x403403=>_0x403403['isSystem']());}[a0_0x3e48cd(0x350)](){const _0x1f03f7=a0_0x3e48cd;return this[_0x1f03f7(0x20c)][_0x1f03f7(0x2af)](_0x4a01f5=>_0x4a01f5[_0x1f03f7(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x10c0d3=a0_0x3e48cd;return this[_0x10c0d3(0x20c)][_0x10c0d3(0x2af)](_0x134078=>_0x134078['isEnum']());}[a0_0x3e48cd(0x32c)](){const _0x3426bb=a0_0x3e48cd,_0x31a2a5={};return this[_0x3426bb(0x20c)][_0x3426bb(0x194)](_0x43564f=>{const _0x3778b5=_0x3426bb,_0x361edc=_0x43564f['type'];!_0x31a2a5[_0x361edc]&&(_0x31a2a5[_0x361edc]=[]),_0x31a2a5[_0x361edc][_0x3778b5(0x2d5)](_0x43564f);}),_0x31a2a5;}[a0_0x3e48cd(0x34a)](){const _0x1ef2c9=a0_0x3e48cd;return this['_fields'][_0x1ef2c9(0xac)](_0x519483=>_0x519483[_0x1ef2c9(0x34a)]);}static[a0_0x3e48cd(0x2c5)](_0x2df893){const _0x680566=a0_0x3e48cd,_0x17e786=_0x2df893[_0x680566(0xac)](_0x4c643a=>_0x4c643a[_0x680566(0x34a)]);return new FieldListV2(_0x17e786);}static[a0_0x3e48cd(0x266)](_0x4d90ae){const _0x243909={};return _0x243909['includeDeleted']=!![],new FieldListV2(_0x4d90ae,_0x243909);}[a0_0x3e48cd(0x129)](){const _0x3dc16a=a0_0x3e48cd;return _0x3dc16a(0x2a6)+this[_0x3dc16a(0x1f8)]+_0x3dc16a(0x22b);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x3e48cd(0x30c)];constructor(_0x5da5ca){super(_0x5da5ca);}['getFieldList'](){const _0x2fc064=a0_0x3e48cd;if(!this[_0x2fc064(0x2f3)]){const _0x1a0555={};_0x1a0555[_0x2fc064(0x23b)]=![],this[_0x2fc064(0x2f3)]=new FieldListV1(this['_raw'][_0x2fc064(0x21b)]||[],_0x1a0555);}return this[_0x2fc064(0x2f3)];}[a0_0x3e48cd(0x1f5)](){const _0x4bee79=a0_0x3e48cd;if(!this[_0x4bee79(0x30c)]){const _0x12e994={};_0x12e994[_0x4bee79(0x23b)]=!![],this[_0x4bee79(0x30c)]=new FieldListV1(this[_0x4bee79(0x239)]['properties']||[],_0x12e994);}return this[_0x4bee79(0x30c)];}['getFields'](){const _0x12cd25=a0_0x3e48cd;return(this[_0x12cd25(0x239)][_0x12cd25(0x21b)]||[])[_0x12cd25(0x2af)](_0x3d0d8a=>!_0x3d0d8a['deleted']);}[a0_0x3e48cd(0x2bd)](){const _0x30ba4e=a0_0x3e48cd;return this[_0x30ba4e(0xa1)]()[_0x30ba4e(0x1f8)];}['getFieldRaw'](_0x3144ab){const _0x4d7ae3=a0_0x3e48cd;return this[_0x4d7ae3(0x239)]['properties']?.[_0x4d7ae3(0x8b)](_0x3b57c4=>_0x3b57c4[_0x4d7ae3(0x22c)]===_0x3144ab);}[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x152)](){const _0x425658=a0_0x3e48cd,_0x636fda={};return _0x636fda[_0x425658(0x16a)]=this[_0x425658(0x239)][_0x425658(0x21b)]||[],_0x636fda[_0x425658(0x23b)]=![],_0x636fda;}[a0_0x3e48cd(0x125)](){const _0x58c79e=a0_0x3e48cd;return this[_0x58c79e(0x239)][_0x58c79e(0x2a1)];}[a0_0x3e48cd(0x12e)](){const _0x370105=a0_0x3e48cd;return this[_0x370105(0x239)][_0x370105(0xeb)];}[a0_0x3e48cd(0x160)](){const _0x2169f3=a0_0x3e48cd,_0x4e9046=this[_0x2169f3(0x2e7)](),_0x1a26af=_0x4e9046?.[_0x2169f3(0x11f)],_0x535ff2={};return _0x535ff2['dbId']=_0x4e9046?.['dbId'],_0x535ff2['dbName']=_0x4e9046?.[_0x2169f3(0x187)]??_0x1a26af?.[_0x2169f3(0x187)],_0x535ff2[_0x2169f3(0xde)]=_0x1a26af?.[_0x2169f3(0xde)],_0x535ff2[_0x2169f3(0x2ff)]=_0x1a26af?.[_0x2169f3(0x2ff)],_0x535ff2[_0x2169f3(0x1fa)]=_0x4e9046?.['tableName'],_0x535ff2[_0x2169f3(0x21d)]=_0x4e9046?.[_0x2169f3(0x21d)],_0x535ff2['pkField']=_0x4e9046?.[_0x2169f3(0x33b)],_0x535ff2[_0x2169f3(0x2e6)]=_0x1a26af?.['tenantCode'],_0x535ff2['appCode']=_0x1a26af?.[_0x2169f3(0x260)],new DBConfig(_0x535ff2,_0x4e9046);}get['version'](){const _0x9d6c88=a0_0x3e48cd;return this[_0x9d6c88(0x239)][_0x9d6c88(0x2a0)];}[a0_0x3e48cd(0x1ed)](_0x360824){const _0x227c38=a0_0x3e48cd;if(typeof _0x360824!=='string'){!![]&&console[_0x227c38(0x98)](_0x227c38(0x34e),_0x360824);return;}return this[_0x227c38(0xa1)]()[_0x227c38(0x8b)](_0x360824);}[a0_0x3e48cd(0x282)](_0x868d3b){const _0x5853d0=a0_0x3e48cd;if(!_0x868d3b||typeof _0x868d3b!=='object')return![];const _0x194a6c=this[_0x5853d0(0x1ed)](_0x868d3b[_0x5853d0(0x22c)]);return _0x194a6c?_0x194a6c[_0x5853d0(0x2cc)]():![];}[a0_0x3e48cd(0x20f)](){const _0x59d682=a0_0x3e48cd,_0x517fe8=this['getOperation'](_0x59d682(0x2af));return _0x517fe8;}[a0_0x3e48cd(0x1fc)](){const _0x48f19d=a0_0x3e48cd;return this[_0x48f19d(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x5d4b36=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x5d4b36(0x246)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5d4b36(0x2e7)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x3e48cd(0x2e2)];[a0_0x3e48cd(0x27f)];constructor(_0x2ecece){const _0xeffcb2=a0_0x3e48cd;super(_0x2ecece),this[_0xeffcb2(0x2e2)]=_0x2ecece['dataset'],this[_0xeffcb2(0x27f)]=_0x2ecece[_0xeffcb2(0x96)]||[];}[a0_0x3e48cd(0x2b5)](){return'v2';}[a0_0x3e48cd(0x152)](){const _0xc4f51f=a0_0x3e48cd,_0x14bc86={};return _0x14bc86[_0xc4f51f(0x16a)]=this[_0xc4f51f(0x239)][_0xc4f51f(0x16a)],_0x14bc86['includeDeleted']=![],_0x14bc86;}[a0_0x3e48cd(0x125)](){const _0x5d2d4f=a0_0x3e48cd;return this[_0x5d2d4f(0x239)][_0x5d2d4f(0x2a1)];}['getSource'](){const _0x4ed30a=a0_0x3e48cd;return this[_0x4ed30a(0x239)][_0x4ed30a(0xeb)];}['getDBConfig'](){const _0xc509b9=a0_0x3e48cd,_0x1a07dd=this['_raw']['dbtableConfig'],_0x215732=_0x1a07dd?.[_0xc509b9(0x11f)],_0x3b491f={};return _0x3b491f[_0xc509b9(0xd1)]=_0x1a07dd?.[_0xc509b9(0xd1)],_0x3b491f['dbName']=_0x1a07dd?.[_0xc509b9(0x187)]??_0x215732?.['dbName'],_0x3b491f[_0xc509b9(0xde)]=_0x215732?.['dbType'],_0x3b491f['dbVersion']=_0x215732?.[_0xc509b9(0x2ff)],_0x3b491f[_0xc509b9(0x1fa)]=_0x1a07dd?.[_0xc509b9(0x1fa)],_0x3b491f[_0xc509b9(0x21d)]=_0x1a07dd?.['datasetKey'],_0x3b491f[_0xc509b9(0x33b)]=_0x1a07dd?.['pkField'],_0x3b491f['tenantCode']=_0x1a07dd?.['tenantCode']??_0x215732?.[_0xc509b9(0x2e6)],_0x3b491f[_0xc509b9(0x260)]=_0x1a07dd?.[_0xc509b9(0x260)]??_0x215732?.[_0xc509b9(0x260)],new DBConfig(_0x3b491f,_0x1a07dd);}[a0_0x3e48cd(0xa1)](){const _0x330b85=a0_0x3e48cd;return this[_0x330b85(0x26d)]();}[a0_0x3e48cd(0x2a7)](){const _0x306223=a0_0x3e48cd;return this['_raw'][_0x306223(0x16a)]||[];}[a0_0x3e48cd(0x2bd)](){const _0x2a440b=a0_0x3e48cd;return(this[_0x2a440b(0x239)][_0x2a440b(0x16a)]||[])[_0x2a440b(0x1f8)];}[a0_0x3e48cd(0x1c7)](_0x4a05fb){const _0x547430=a0_0x3e48cd;return this[_0x547430(0x239)]['fields'][_0x547430(0x8b)](_0x2e99ec=>_0x2e99ec[_0x547430(0x246)]===_0x4a05fb);}[a0_0x3e48cd(0x132)](){const _0x2c7255=a0_0x3e48cd;return this[_0x2c7255(0x2e2)];}[a0_0x3e48cd(0x287)](){const _0x41a684=a0_0x3e48cd;return this[_0x41a684(0x27f)];}[a0_0x3e48cd(0x219)](){const _0x4132a4=a0_0x3e48cd;return this[_0x4132a4(0x2e2)]['indexes']||[];}[a0_0x3e48cd(0x1ec)](_0x4bf134){const _0x6c50b3=a0_0x3e48cd;return this[_0x6c50b3(0x27f)][_0x6c50b3(0x2af)](_0x302380=>_0x302380[_0x6c50b3(0xf4)]===_0x4bf134);}[a0_0x3e48cd(0x148)](_0x4d17df){const _0x34a3b3=a0_0x3e48cd;return this[_0x34a3b3(0x27f)]['some'](_0x321bcf=>_0x321bcf[_0x34a3b3(0xf4)]===_0x4d17df);}[a0_0x3e48cd(0xe7)](_0x3750e0){const _0x27436e=a0_0x3e48cd,_0xf78c60=this['_relations'][_0x27436e(0x8b)](_0x8b51f=>_0x8b51f[_0x27436e(0xf4)]===_0x3750e0);if(!_0xf78c60)return;const _0x46d440={};return _0x46d440['datasetId']=_0xf78c60[_0x27436e(0x261)],_0x46d440['datasetCode']=_0xf78c60[_0x27436e(0x2ab)],_0x46d440[_0x27436e(0x1d5)]=_0xf78c60[_0x27436e(0x112)],_0x46d440['tableName']=_0xf78c60[_0x27436e(0xbe)],_0x46d440[_0x27436e(0x2c4)]=_0xf78c60['toField'],_0x46d440;}[a0_0x3e48cd(0x342)](){const _0x3de393=a0_0x3e48cd;return this[_0x3de393(0x27f)][_0x3de393(0xac)](_0x31174b=>_0x31174b[_0x3de393(0xf4)]);}['getFieldListV2'](){const _0x41400e=a0_0x3e48cd;if(!this['_fieldListV2']){const _0x52a4af=this[_0x41400e(0x239)][_0x41400e(0x16a)]||[];this[_0x41400e(0x10f)]=new FieldListV2(_0x52a4af);}return this[_0x41400e(0x10f)];}[a0_0x3e48cd(0x1ed)](_0x328e87){const _0x4a6cdf=a0_0x3e48cd;if(typeof _0x328e87!=='string'){!![]&&console[_0x4a6cdf(0x98)](_0x4a6cdf(0x2ec),_0x328e87);return;}return this['getFieldListV2']()[_0x4a6cdf(0x8b)](_0x328e87);}[a0_0x3e48cd(0x282)](_0x18d4f6){const _0x53cda8=a0_0x3e48cd;if(!_0x18d4f6||typeof _0x18d4f6!==_0x53cda8(0x335))return![];const _0x51ce0d=_0x18d4f6['name']||_0x18d4f6['code'],_0x15c8b6=this[_0x53cda8(0x1ed)](_0x51ce0d);return _0x15c8b6?_0x15c8b6[_0x53cda8(0x2cc)]():![];}[a0_0x3e48cd(0x1fe)](){const _0x36c794=a0_0x3e48cd;if(!this[_0x36c794(0x214)]){const _0x200912=this['ensureFilterOperation'](this[_0x36c794(0x125)]()||{});this[_0x36c794(0x214)]=new OperationList(_0x200912,{'fields':this[_0x36c794(0x26d)]()[_0x36c794(0xaf)](),'pkField':this[_0x36c794(0x239)][_0x36c794(0x2aa)]?.['pkField'],'dbtableConfig':this[_0x36c794(0x239)][_0x36c794(0x2aa)]||null});}return this[_0x36c794(0x214)];}[a0_0x3e48cd(0x20f)](){const _0x3d34bd=a0_0x3e48cd,_0x426899=this['getOperation'](_0x3d34bd(0x2af));return _0x426899;}['hasFilterOperation'](){const _0x547c6f=a0_0x3e48cd;return this[_0x547c6f(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x3db578=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x3db578(0x246)],'datasetCode':this[_0x3db578(0x14c)],'dbtableConfig':this[_0x3db578(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x127da8=a0_0x3e48cd,_0x5bd0f5=this[_0x127da8(0x27f)]['length'],_0x5ebd6f=this[_0x127da8(0x219)]()['length'];return _0x127da8(0x315)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x127da8(0x2bd)]()+_0x127da8(0x329)+this[_0x127da8(0x2f5)]()+_0x127da8(0x1d4)+_0x5bd0f5+_0x127da8(0x2ba)+_0x5ebd6f+_0x127da8(0x2a4);}[a0_0x3e48cd(0x13e)](){const _0x1698fe=a0_0x3e48cd;return this[_0x1698fe(0x239)][_0x1698fe(0x16a)];}[a0_0x3e48cd(0x22e)](_0x4788a7){const _0x5c4196=a0_0x3e48cd;return this['_raw'][_0x5c4196(0x16a)][_0x5c4196(0x8b)](_0x3c8a99=>_0x3c8a99[_0x5c4196(0x246)]===_0x4788a7);}}function detectDatasetVersion(_0x288d4a){const _0x29acec=a0_0x3e48cd;if(_0x288d4a[_0x29acec(0x2b8)]==='v2'&&_0x29acec(0x16a)in _0x288d4a&&Array[_0x29acec(0x133)](_0x288d4a['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0xffaee6){super(_0xffaee6);const _0x2e3175=detectDatasetVersion(_0xffaee6);this['_instance']=_0x2e3175==='v2'?new DrivenDataDetailV2(_0xffaee6):new DrivenDataDetailV1(_0xffaee6);}get['id'](){return this['_instance']['id'];}get[a0_0x3e48cd(0x246)](){const _0x576add=a0_0x3e48cd;return this[_0x576add(0x1cc)][_0x576add(0x246)];}get[a0_0x3e48cd(0x14c)](){const _0x29459f=a0_0x3e48cd;return this['_instance'][_0x29459f(0x14c)];}get[a0_0x3e48cd(0x2a0)](){const _0x4c8f54=a0_0x3e48cd;return this[_0x4c8f54(0x1cc)][_0x4c8f54(0x2b5)]()==='v2'?_0x4c8f54(0x29b):_0x4c8f54(0xbd);}[a0_0x3e48cd(0x2b5)](){const _0x183a50=a0_0x3e48cd;return this[_0x183a50(0x1cc)][_0x183a50(0x2b5)]();}[a0_0x3e48cd(0x18e)](){const _0x27ae06=a0_0x3e48cd;return this[_0x27ae06(0x1cc)]['id'];}[a0_0x3e48cd(0x1af)](){const _0x4646e1=a0_0x3e48cd;return this['_instance'][_0x4646e1(0x14c)];}[a0_0x3e48cd(0xd9)](){const _0x148591=a0_0x3e48cd;return this[_0x148591(0x1cc)]['name'];}[a0_0x3e48cd(0x152)](){return this['_instance']['getFieldDataSource']();}[a0_0x3e48cd(0x125)](){const _0x153694=a0_0x3e48cd;return this[_0x153694(0x1cc)]['getOperationsData']();}['getSource'](){const _0x279e99=a0_0x3e48cd;return this[_0x279e99(0x1cc)]['getSource']();}[a0_0x3e48cd(0x1f5)](){return this['_instance']['getFieldListWithDeleted']();}[a0_0x3e48cd(0xa1)](){const _0x9e0094=a0_0x3e48cd;return this[_0x9e0094(0x1cc)][_0x9e0094(0xa1)]();}[a0_0x3e48cd(0x327)](){const _0x2964b8=a0_0x3e48cd;return this[_0x2964b8(0x1cc)]['getFieldsWithDeleted']();}[a0_0x3e48cd(0x2a7)](){const _0x3850d4=a0_0x3e48cd;return this[_0x3850d4(0x1cc)]['getFields']();}['getFieldCount'](){const _0x59d37d=a0_0x3e48cd;return this['_instance'][_0x59d37d(0x2bd)]();}['getPkField'](){const _0x10fe0f=a0_0x3e48cd,_0x1784af=this[_0x10fe0f(0x1cc)][_0x10fe0f(0x2e7)]();return _0x1784af?.[_0x10fe0f(0x33b)];}[a0_0x3e48cd(0x160)](){const _0x7cc2c0=a0_0x3e48cd;return this['_instance'][_0x7cc2c0(0x160)]();}[a0_0x3e48cd(0x1ed)](_0x521beb){return this['_instance']['getFieldInstance'](_0x521beb);}[a0_0x3e48cd(0x84)](){const _0x45287c=a0_0x3e48cd;return this[_0x45287c(0x1cc)][_0x45287c(0x84)]();}[a0_0x3e48cd(0x2bf)](){const _0x39d393=a0_0x3e48cd;return this[_0x39d393(0x1cc)][_0x39d393(0x2bf)]();}[a0_0x3e48cd(0x2ea)](){const _0x5e3df4=a0_0x3e48cd;return this[_0x5e3df4(0x1cc)][_0x5e3df4(0x2ea)]();}['getRequiredFields'](){const _0x4b9dba=a0_0x3e48cd;return this[_0x4b9dba(0x1cc)][_0x4b9dba(0x211)]();}[a0_0x3e48cd(0x159)](){return this['_instance']['getFieldsByType']();}[a0_0x3e48cd(0x251)](){const _0x5ed836=a0_0x3e48cd;return this[_0x5ed836(0x1cc)][_0x5ed836(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x18c087=a0_0x3e48cd;return this[_0x18c087(0x1cc)][_0x18c087(0x2f4)]();}[a0_0x3e48cd(0x168)](){const _0x3de088=a0_0x3e48cd;return this['_instance'][_0x3de088(0x168)]();}[a0_0x3e48cd(0x2f5)](){const _0x2a381b=a0_0x3e48cd;return this['_instance'][_0x2a381b(0x2f5)]();}[a0_0x3e48cd(0x25d)](){const _0x13e267=a0_0x3e48cd;return this[_0x13e267(0x1cc)][_0x13e267(0x25d)]();}[a0_0x3e48cd(0x19b)](){const _0x57af8e=a0_0x3e48cd;return this[_0x57af8e(0x1cc)][_0x57af8e(0x19b)]();}['getEnabledOperationInstances'](){const _0xf32998=a0_0x3e48cd;return this[_0xf32998(0x1cc)][_0xf32998(0x27e)]();}[a0_0x3e48cd(0x262)](){const _0x5494c4=a0_0x3e48cd;return this[_0x5494c4(0x1cc)][_0x5494c4(0x262)]();}['getStats'](){const _0x167299=a0_0x3e48cd;return this[_0x167299(0x1cc)]['getStats']();}['getDatasetMeta'](){const _0x277bb9=a0_0x3e48cd;return this[_0x277bb9(0x1cc)]['getDatasetMeta']();}['getRelations'](){const _0xbb226c=a0_0x3e48cd;return this['_instance'][_0xbb226c(0x287)]();}['getIndexes'](){const _0x189642=a0_0x3e48cd;return this[_0x189642(0x1cc)]['getIndexes']();}[a0_0x3e48cd(0x158)](){const _0x6d2e7b=a0_0x3e48cd;return this['_instance'][_0x6d2e7b(0x158)]();}[a0_0x3e48cd(0x281)](){const _0xe40ebf=a0_0x3e48cd;return this['_instance'][_0xe40ebf(0x281)]();}[a0_0x3e48cd(0x2df)](){const _0x31fd7a=a0_0x3e48cd;return this[_0x31fd7a(0x1cc)][_0x31fd7a(0x2df)]();}[a0_0x3e48cd(0x20f)](){return this['_instance']['getFilterOperation']();}[a0_0x3e48cd(0x1fc)](){const _0x1d28ab=a0_0x3e48cd;return this[_0x1d28ab(0x1cc)][_0x1d28ab(0x1fc)]();}['toListItem'](){const _0x236995=a0_0x3e48cd;return this[_0x236995(0x1cc)]['toListItem']();}['toString'](){const _0x43724b=a0_0x3e48cd;return this['_instance'][_0x43724b(0x129)]();}['getInternalInstance'](){const _0x28b489=a0_0x3e48cd;return this[_0x28b489(0x1cc)];}}function detectDatasetVersion2(_0x36793d){const _0x195e6c=a0_0x3e48cd;if(_0x36793d['doVersion']==='v2'&&_0x195e6c(0x16a)in _0x36793d&&Array['isArray'](_0x36793d['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0xdec191,_0x1f1d49={}){const {forceVersion:_0x114516}=_0x1f1d49;if(_0x114516==='v2')return new DrivenDataDetailV2(_0xdec191);if(_0x114516==='v1')return new DrivenDataDetailV1(_0xdec191);const _0x2c1e1a=detectDatasetVersion2(_0xdec191);if(_0x2c1e1a==='v2')return new DrivenDataDetailV2(_0xdec191);return new DrivenDataDetailV1(_0xdec191);}function isV2Data(_0x3e12ab){return detectDatasetVersion2(_0x3e12ab)==='v2';}function isV1Data(_0x33dea7){return detectDatasetVersion2(_0x33dea7)==='v1';}function isV2Instance(_0x2f56fb){const _0x11e84d=a0_0x3e48cd;return _0x2f56fb[_0x11e84d(0x2b5)]()==='v2';}function isV1Instance(_0x29b6a0){return _0x29b6a0['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x49054a){const _0x28cb58=a0_0x3e48cd;this['items']=Array['isArray'](_0x49054a)?[..._0x49054a]:[_0x49054a],this[_0x28cb58(0x1c6)][_0x28cb58(0x292)]((_0x59b683,_0x415a46)=>{const _0xa3cc3c=Number(_0x59b683['id'])||0x0,_0x386ff7=Number(_0x415a46['id'])||0x0;return _0x386ff7-_0xa3cc3c;});}[a0_0x3e48cd(0xdc)](){const _0x39cf33=a0_0x3e48cd;return this[_0x39cf33(0x1c6)]['length']>0x1;}[a0_0x3e48cd(0xef)](){return this['items'][0x0];}[a0_0x3e48cd(0x253)](){const _0x1895c6=a0_0x3e48cd;return this[_0x1895c6(0x1c6)][this['items']['length']-0x1];}[a0_0x3e48cd(0x324)](){return[...this['items']];}[a0_0x3e48cd(0xcd)](){const _0x104a94=a0_0x3e48cd;return this[_0x104a94(0x1c6)][_0x104a94(0x1f8)];}[a0_0x3e48cd(0x153)](_0xede472){const _0x361dac=a0_0x3e48cd;return this[_0x361dac(0x1c6)][_0xede472];}[a0_0x3e48cd(0x289)](_0x51b000){const _0x29fc2a=a0_0x3e48cd;return this[_0x29fc2a(0x1c6)]['find'](_0x35aa9c=>_0x35aa9c['id']===_0x51b000);}['findByCode'](_0xa76f22){const _0x457e88=a0_0x3e48cd;return this['items'][_0x457e88(0x8b)](_0x417a2a=>_0x417a2a['datasetCode']===_0xa76f22);}['getIds'](){const _0xb57a30=a0_0x3e48cd;return this[_0xb57a30(0x1c6)]['map'](_0x366664=>_0x366664['id'])[_0xb57a30(0x2af)](_0x102de8=>_0x102de8!==undefined);}[a0_0x3e48cd(0xd3)](){const _0x2bf9f4=a0_0x3e48cd;return this['items'][_0x2bf9f4(0xac)](_0x14bdaf=>_0x14bdaf[_0x2bf9f4(0x14c)]);}[a0_0x3e48cd(0x129)](){const _0x51da6f=a0_0x3e48cd;if(this[_0x51da6f(0xdc)]())return'DatasetGroup('+this[_0x51da6f(0x1c6)][_0x51da6f(0x1f8)]+_0x51da6f(0x31d)+this[_0x51da6f(0xef)]()[_0x51da6f(0x246)]+')';return _0x51da6f(0xd4)+this[_0x51da6f(0x1c6)][0x0][_0x51da6f(0x246)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x4a0de3){const _0xb5295f=a0_0x3e48cd;this[_0xb5295f(0x297)]=new Map();for(const _0x1f12ef of _0x4a0de3){const _0x53e680=_0x1f12ef[_0xb5295f(0x16d)](),_0x13f1a9=_0x1f12ef[_0xb5295f(0x2aa)]?.[_0xb5295f(0xd1)],_0x343d63=_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x187)]||_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x11f)]?.[_0xb5295f(0x187)]||'',_0x28ec09=_0x13f1a9!==undefined&&_0x13f1a9!==null?'db'+_0x13f1a9:_0x343d63?getTableKey(_0x343d63):'',_0xb4d9c9=_0x28ec09?_0x28ec09+'_'+_0x53e680:_0x53e680,_0x47e390=getTableKey(_0xb4d9c9);if(!this[_0xb5295f(0x297)][_0xb5295f(0x2b9)](_0x47e390))this[_0xb5295f(0x297)][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0x1f12ef));else{const _0x346bdc=this[_0xb5295f(0x297)][_0xb5295f(0x32d)](_0x47e390),_0xe4ea45=[..._0x346bdc[_0xb5295f(0x324)](),_0x1f12ef];this['groups'][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0xe4ea45));}}}[a0_0x3e48cd(0x32d)](_0x5337cb){const _0x27dc7f=a0_0x3e48cd;return this['groups'][_0x27dc7f(0x32d)](_0x5337cb);}[a0_0x3e48cd(0x2b9)](_0x5eda48){const _0x127d48=a0_0x3e48cd;return this[_0x127d48(0x297)]['has'](_0x5eda48);}get[a0_0x3e48cd(0x13b)](){const _0x1fcd78=a0_0x3e48cd;return this['groups'][_0x1fcd78(0x13b)];}[a0_0x3e48cd(0x326)](){const _0x123229=a0_0x3e48cd;return this[_0x123229(0x297)]['keys']();}[a0_0x3e48cd(0x94)](){const _0x5c2374=a0_0x3e48cd;return this['groups'][_0x5c2374(0x94)]();}[a0_0x3e48cd(0x256)](){const _0x7885a9=a0_0x3e48cd;return this['groups'][_0x7885a9(0x256)]();}[Symbol[a0_0x3e48cd(0x320)]](){const _0x412703=a0_0x3e48cd;return this['groups'][_0x412703(0x256)]();}['forEach'](_0x3a6775){const _0x5afa70=a0_0x3e48cd;this[_0x5afa70(0x297)][_0x5afa70(0x194)]((_0x138561,_0x5a025a)=>_0x3a6775(_0x138561,_0x5a025a,this));}['getConflicts'](){const _0x442cc3=a0_0x3e48cd,_0x314dc0=new Map();for(const [_0x534df6,_0xd8215b]of this[_0x442cc3(0x297)]){_0xd8215b[_0x442cc3(0xdc)]()&&_0x314dc0['set'](_0x534df6,_0xd8215b);}return _0x314dc0;}[a0_0x3e48cd(0xf2)](){const _0x10e8eb=a0_0x3e48cd;for(const _0x1ad02a of this[_0x10e8eb(0x297)][_0x10e8eb(0x94)]()){if(_0x1ad02a[_0x10e8eb(0xdc)]())return!![];}return![];}[a0_0x3e48cd(0x2a9)](){const _0x18ce37=a0_0x3e48cd;let _0x3593d1=0x0,_0x2a005f=0x0;for(const _0x2158f9 of this['groups']['values']()){_0x2158f9[_0x18ce37(0xdc)]()&&(_0x3593d1++,_0x2a005f+=_0x2158f9[_0x18ce37(0xcd)]());}const _0x20786f={};return _0x20786f[_0x18ce37(0x2c9)]=_0x3593d1,_0x20786f['conflictItemCount']=_0x2a005f,_0x20786f[_0x18ce37(0x20b)]=this['groups']['size'],_0x20786f;}[a0_0x3e48cd(0x207)](){const _0x150e27=a0_0x3e48cd,_0x294f05=[];for(const _0x3b42fb of this[_0x150e27(0x297)][_0x150e27(0x94)]()){_0x294f05[_0x150e27(0x2d5)](..._0x3b42fb['getAll']());}return _0x294f05;}[a0_0x3e48cd(0x23d)](){const _0x553059=a0_0x3e48cd,_0x49fb62=[];for(const _0x1f46bf of this[_0x553059(0x297)][_0x553059(0x94)]()){_0x49fb62[_0x553059(0x2d5)](_0x1f46bf['getLatest']());}return _0x49fb62;}[a0_0x3e48cd(0xef)](_0x54283d){const _0x450a83=a0_0x3e48cd;return this['groups'][_0x450a83(0x32d)](_0x54283d)?.[_0x450a83(0xef)]();}['getAll'](_0x54f9d6){const _0x110d1e=a0_0x3e48cd;return this[_0x110d1e(0x297)][_0x110d1e(0x32d)](_0x54f9d6)?.[_0x110d1e(0x324)]()||[];}[a0_0x3e48cd(0x2e0)](){const _0x3526f9=a0_0x3e48cd,_0x11ec85=this[_0x3526f9(0x23d)](),_0x507a0f=new Map();for(const _0x552b83 of _0x11ec85){const _0xb377c7=_0x552b83[_0x3526f9(0x16d)](),_0x1bcfd7=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0xd1)],_0x45ad8f=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x552b83['dbtableConfig']?.[_0x3526f9(0x11f)]?.['dbName']||'',_0x19cfb2=_0x1bcfd7!==undefined&&_0x1bcfd7!==null?'db'+_0x1bcfd7:_0x45ad8f?getTableKey(_0x45ad8f):'';!_0x507a0f[_0x3526f9(0x2b9)](_0xb377c7)&&_0x507a0f['set'](_0xb377c7,new Set()),_0x507a0f['get'](_0xb377c7)['add'](_0x19cfb2);}const _0x2b29e1=new Set();for(const [_0x48d612,_0x5a7ca9]of _0x507a0f){_0x5a7ca9['size']>0x1&&_0x2b29e1[_0x3526f9(0x136)](_0x48d612);}const _0x5117ed={},_0xe4d330=new Set();for(const _0x7092bd of _0x11ec85){const _0xc5ea5c=_0x7092bd[_0x3526f9(0x16d)](),_0x240233=_0x7092bd[_0x3526f9(0x2df)](),_0x5a9711=getTableKey(_0xc5ea5c);let _0x135232=_0x5a9711;const _0x4bea0e=_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x11f)]?.[_0x3526f9(0x187)]||'';if(_0x2b29e1[_0x3526f9(0x2b9)](_0xc5ea5c)&&_0x4bea0e){const _0x124467=getTableKey(_0x4bea0e);_0x135232=''+_0x124467+_0x5a9711[_0x3526f9(0x126)](0x0)[_0x3526f9(0x279)]()+_0x5a9711[_0x3526f9(0x1f9)](0x1);}let _0x4df9e4=_0x135232,_0x22d0d1=0x1;while(_0xe4d330[_0x3526f9(0x2b9)](_0x4df9e4)){_0x4df9e4=_0x135232+'_'+_0x22d0d1,_0x22d0d1++;}_0xe4d330[_0x3526f9(0x136)](_0x4df9e4);const _0x1f85ee=_0x4df9e4;_0x5117ed[_0x4df9e4]={'key':_0x4df9e4,'alias':_0x1f85ee,'tableName':_0xc5ea5c,'datasetCode':_0x240233[_0x3526f9(0x14c)],'name':_0x240233[_0x3526f9(0x246)],'id':_0x240233['id'],'dbName':_0x4bea0e};}return _0x5117ed;}[a0_0x3e48cd(0x259)](){const _0x3ace20=a0_0x3e48cd,_0x293b03=this[_0x3ace20(0x207)](),_0x462def=_0x293b03[_0x3ace20(0xac)](_0x700c01=>_0x700c01[_0x3ace20(0x2df)]());return generateFullDatasetsConfig(_0x462def);}[a0_0x3e48cd(0xda)](){const _0x1523c7={};for(const [_0x2effb5,_0x4c64ca]of this['groups']){_0x1523c7[_0x2effb5]=_0x4c64ca;}return _0x1523c7;}[a0_0x3e48cd(0x2df)](){const _0x3e4119=a0_0x3e48cd,_0x544d59={};for(const [_0x3f3ca7,_0xffbef7]of this[_0x3e4119(0x297)]){_0x544d59[_0x3f3ca7]=_0xffbef7['getAll']()[_0x3e4119(0xac)](_0x70578f=>_0x70578f[_0x3e4119(0x2df)]());}return _0x544d59;}[a0_0x3e48cd(0x129)](){const _0x263131=a0_0x3e48cd;return _0x263131(0xa2)+this[_0x263131(0x297)][_0x263131(0x13b)]+'\x20groups,\x20'+(this[_0x263131(0xf2)]()?_0x263131(0xf8):_0x263131(0x14a))+')';}}class DatasetList{[a0_0x3e48cd(0x21f)];constructor(_0x480bd3){const _0x44098d=a0_0x3e48cd;let _0x2f5bc6;if(Array[_0x44098d(0x133)](_0x480bd3))_0x2f5bc6=_0x480bd3;else{if(_0x44098d(0x2c3)in _0x480bd3){if(!_0x480bd3['success'])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x44098d(0x133)](_0x480bd3[_0x44098d(0x32f)]))_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0xac)](_0x2db739=>({..._0x2db739,'datasetCode':_0x2db739['code']||_0x2db739[_0x44098d(0x14c)]}));else{if(_0x480bd3[_0x44098d(0x32f)]?.[_0x44098d(0x191)])_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0x191)]['map'](_0xa3686a=>({..._0xa3686a,'datasetCode':_0xa3686a[_0x44098d(0x22c)]||_0xa3686a['datasetCode']}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x44098d(0x191)in _0x480bd3){if(!Array[_0x44098d(0x133)](_0x480bd3['tableData']))throw new Error(_0x44098d(0x16c));_0x2f5bc6=_0x480bd3[_0x44098d(0x191)]['map'](_0x1984bd=>({..._0x1984bd,'datasetCode':_0x1984bd[_0x44098d(0x22c)]||_0x1984bd['datasetCode']}));}else throw new Error(_0x44098d(0x15e));}}const _0x44fde4=cleanDatasetNames(_0x2f5bc6),_0x2e861d=_0x44fde4['map'](_0x273d5e=>new DatasetItem(_0x273d5e));this[_0x44098d(0x21f)]=new DatasetGroupMap(_0x2e861d);}get['datasetMap'](){const _0x430ffe=a0_0x3e48cd;return this[_0x430ffe(0x21f)];}['getItems'](){const _0x145039=a0_0x3e48cd;return this['_datasetMap'][_0x145039(0x207)]();}['getCount'](){const _0x3285d0=a0_0x3e48cd;return this['getItems']()[_0x3285d0(0x1f8)];}['isEmpty'](){const _0x5656a8=a0_0x3e48cd;return this[_0x5656a8(0x21f)][_0x5656a8(0x13b)]===0x0;}['getAt'](_0x2093c4){return this['getItems']()[_0x2093c4];}[a0_0x3e48cd(0x2bc)](){const _0x174c7f=a0_0x3e48cd;return this[_0x174c7f(0xe6)]()[0x0];}[a0_0x3e48cd(0x2c2)](){const _0x51c976=a0_0x3e48cd,_0x565f74=this[_0x51c976(0xe6)]();return _0x565f74[_0x565f74[_0x51c976(0x1f8)]-0x1];}[a0_0x3e48cd(0x2b6)](_0x47af4e){const _0x5d4263=a0_0x3e48cd;for(const _0x140e30 of this[_0x5d4263(0x21f)][_0x5d4263(0x94)]()){const _0x5e4a3b=_0x140e30['findByCode'](_0x47af4e);if(_0x5e4a3b)return _0x5e4a3b;}return;}[a0_0x3e48cd(0x127)](_0x4dba2b){const _0x3e7bcf=a0_0x3e48cd;return this[_0x3e7bcf(0xe6)]()[_0x3e7bcf(0x8b)](_0x519679=>_0x519679[_0x3e7bcf(0x246)]===_0x4dba2b);}['findById'](_0x2b624b){const _0x1670de=a0_0x3e48cd;for(const _0x5e51d9 of this[_0x1670de(0x21f)][_0x1670de(0x94)]()){const _0x363392=_0x5e51d9[_0x1670de(0x289)](_0x2b624b);if(_0x363392)return _0x363392;}return;}[a0_0x3e48cd(0xad)](_0x2eacf0){const _0x1d65c3=a0_0x3e48cd;for(const _0xae052b of this['_datasetMap'][_0x1d65c3(0x94)]()){const _0xa14c11=_0xae052b[_0x1d65c3(0xef)]();if(_0xa14c11[_0x1d65c3(0x16d)]()===_0x2eacf0)return _0xa14c11;}return;}[a0_0x3e48cd(0xb9)](_0x1d3243){const _0x1da7e9=a0_0x3e48cd,_0x3204a1=[];for(const _0x28928d of this[_0x1da7e9(0x21f)][_0x1da7e9(0x94)]()){const _0x21fb66=_0x28928d[_0x1da7e9(0xef)]();_0x21fb66['getTableName']()===_0x1d3243&&_0x3204a1[_0x1da7e9(0x2d5)](_0x21fb66);}return _0x3204a1;}['filter'](_0x275009){const _0x1fe06d=a0_0x3e48cd,_0x1419f5=this[_0x1fe06d(0xe6)]()['filter'](_0x275009);return new DatasetList(_0x1419f5[_0x1fe06d(0xac)](_0x5c61eb=>_0x5c61eb[_0x1fe06d(0x2df)]()));}[a0_0x3e48cd(0x165)](_0x4e9780){const _0x3732b1=a0_0x3e48cd;return this[_0x3732b1(0xe6)]()[_0x3732b1(0x2af)](_0x4e9780);}[a0_0x3e48cd(0x194)](_0x3623b3){const _0x33321c=a0_0x3e48cd;this[_0x33321c(0xe6)]()[_0x33321c(0x194)](_0x3623b3);}[a0_0x3e48cd(0xac)](_0x38cfe2){return this['getItems']()['map'](_0x38cfe2);}[Symbol[a0_0x3e48cd(0x320)]](){const _0x6a2305=a0_0x3e48cd;return this['getItems']()[Symbol[_0x6a2305(0x320)]]();}['getVirtualTables'](){const _0x10b9e7=a0_0x3e48cd;return this[_0x10b9e7(0xe6)]()[_0x10b9e7(0x2af)](_0x3ff33a=>_0x3ff33a[_0x10b9e7(0x1c0)]());}['getRealTables'](){const _0x3065eb=a0_0x3e48cd;return this[_0x3065eb(0xe6)]()[_0x3065eb(0x2af)](_0xa36ab5=>!_0xa36ab5['isVirtualTable']());}[a0_0x3e48cd(0x22d)](){const _0x170645=a0_0x3e48cd,_0x784507={};for(const _0x564cd8 of this[_0x170645(0x21f)][_0x170645(0x94)]()){const _0x44c563=_0x564cd8[_0x170645(0xef)]()['getTableName']();_0x784507[_0x44c563]=_0x564cd8[_0x170645(0x324)]();}return _0x784507;}['detectConflicts'](){const _0x2b26d1=a0_0x3e48cd,_0x13c990={};for(const _0xdb3892 of this[_0x2b26d1(0x21f)]['getConflicts']()[_0x2b26d1(0x94)]()){const _0x440f05=_0xdb3892[_0x2b26d1(0xef)]()['getTableName']();_0x13c990[_0x440f05]=_0xdb3892['getAll']()[_0x2b26d1(0xac)](_0x44939e=>_0x44939e[_0x2b26d1(0x2df)]());}return{'hasConflicts':Object[_0x2b26d1(0x326)](_0x13c990)[_0x2b26d1(0x1f8)]>0x0,'conflicts':_0x13c990};}[a0_0x3e48cd(0xf2)](){const _0x17ad80=a0_0x3e48cd;return this['_datasetMap'][_0x17ad80(0xf2)]();}[a0_0x3e48cd(0x2e3)](){const _0x4a5791=a0_0x3e48cd,_0x44dd52=[];for(const _0x3fe6aa of this['_datasetMap'][_0x4a5791(0x2dc)]()[_0x4a5791(0x94)]()){_0x44dd52[_0x4a5791(0x2d5)](..._0x3fe6aa[_0x4a5791(0x324)]());}return _0x44dd52;}['generateConfig'](_0x445765){const _0x4df19d=a0_0x3e48cd;if(!_0x445765||Object[_0x4df19d(0x326)](_0x445765)['length']===0x0)return this['datasetMap']['toConfig']();const _0x4cd03a=this[_0x4df19d(0xe6)]()[_0x4df19d(0xac)](_0x1cc7b6=>_0x1cc7b6[_0x4df19d(0x2df)]());return generateDatasetsConfig(_0x4cd03a,_0x445765);}[a0_0x3e48cd(0x146)](_0x5a090f){const _0x5e7f43=a0_0x3e48cd,_0x2c0bc5=this[_0x5e7f43(0x1c8)](_0x5a090f);return datasetsConfigToArray(_0x2c0bc5);}[a0_0x3e48cd(0x16b)](){const _0x167050=a0_0x3e48cd;return this[_0x167050(0xe6)]()[_0x167050(0xac)](_0x3b7b4c=>_0x3b7b4c[_0x167050(0x2e0)]());}[a0_0x3e48cd(0x1ef)](){const _0x329339=a0_0x3e48cd;return{'total':this[_0x329339(0xcd)](),'virtualTables':this[_0x329339(0xe2)]()[_0x329339(0x1f8)],'realTables':this[_0x329339(0x10e)]()[_0x329339(0x1f8)],'hasConflicts':this[_0x329339(0xf2)](),'conflictCount':this[_0x329339(0x2e3)]()[_0x329339(0x1f8)]};}['toArray'](){const _0x57e7a1=a0_0x3e48cd;return this[_0x57e7a1(0xe6)]()[_0x57e7a1(0xac)](_0x4b8de3=>_0x4b8de3[_0x57e7a1(0x2df)]());}['toJSON'](){return this['toArray']();}[a0_0x3e48cd(0x129)](){const _0x505e16=a0_0x3e48cd;return _0x505e16(0x201)+this[_0x505e16(0xcd)]()+_0x505e16(0x17b)+this[_0x505e16(0x21f)][_0x505e16(0x13b)]+'\x20groups)';}static[a0_0x3e48cd(0xce)](_0x4f6e24){return new DatasetList(_0x4f6e24);}static[a0_0x3e48cd(0xc1)](_0x5b9c65){return new DatasetList(_0x5b9c65);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x3e48cd(0xa6);function renderTemplate(_0x3042b5,_0x5223db,_0x31a12c={}){const _0x500dc5=a0_0x3e48cd;let _0x42ba3c=_0x3042b5;return Object['entries'](_0x31a12c)[_0x500dc5(0x194)](([_0x44d828,_0x35e18])=>{const _0x1cfb71=_0x500dc5,_0x4332f1=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x44d828+_0x1cfb71(0x32a),'g');_0x42ba3c=_0x42ba3c[_0x1cfb71(0x15d)](_0x4332f1,_0x35e18?'$1':'');}),Object['entries'](_0x5223db)[_0x500dc5(0x194)](([_0x4edb33,_0x23511c])=>{const _0x258d07=_0x500dc5;if(_0x23511c!==undefined){const _0x58cd2f=new RegExp(_0x258d07(0xc7)+_0x4edb33+_0x258d07(0x271),'g');_0x42ba3c=_0x42ba3c['replace'](_0x58cd2f,_0x23511c);}}),_0x42ba3c;}function generateSDKInitCode(_0x39a968,_0x4f70a4,_0x45b77e,_0x45f5fd,_0x170126){const _0x5f4ee7=a0_0x3e48cd,_0x3344a9={};_0x3344a9[_0x5f4ee7(0x260)]=_0x39a968,_0x3344a9[_0x5f4ee7(0x14c)]=_0x4f70a4,_0x3344a9[_0x5f4ee7(0x316)]=_0x45b77e,_0x3344a9[_0x5f4ee7(0x1a7)]=_0x45f5fd==='daily'?_0x5f4ee7(0x2fb):undefined;const _0x19218b={};return _0x19218b[_0x5f4ee7(0x1a7)]=_0x45f5fd!==undefined&&_0x45f5fd!=='online',_0x19218b[_0x5f4ee7(0xcc)]=_0x170126===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x3344a9,_0x19218b);}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(_0x16eb65,_0x3d2cd3,_0x4a4352,_0x5016a4){const _0x2f7148=a0_0x3e48cd,_0x13871f=_0x2f7148(0x107)+_0x16eb65,_0x3995db=_0x2f7148(0x161),_0x358d3a={};return _0x358d3a[_0x2f7148(0x14c)]=_0x16eb65,_0x358d3a['datasetSDKKey']=_0x13871f,_0x358d3a[_0x2f7148(0x1fa)]=_0x3d2cd3,_0x358d3a[_0x2f7148(0x316)]=_0x4a4352,_0x358d3a[_0x2f7148(0x260)]=_0x5016a4,_0x358d3a[_0x2f7148(0x205)]=_0x3995db,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x358d3a,{});}function DrivenDataDetailPlusMixin(_0x10f58a){const _0x45a435=a0_0x3e48cd;return class _0x2bb0f9 extends _0x10f58a{[_0x45a435(0xd7)](_0x37d695){const _0x5e9a11=_0x45a435;return{'appCode':_0x37d695,'datasetSDKKey':this[_0x5e9a11(0x325)](),'alias':this[_0x5e9a11(0x12c)](),'tableName':this[_0x5e9a11(0x16d)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x2b43dd,_0x1cfde=_0x45a435(0x130),_0x5853d9=![]){const _0x21b7db=_0x45a435;return generateSDKInitCode(_0x2b43dd,this['datasetCode'],this[_0x21b7db(0x12c)](),_0x1cfde==='daily'?_0x1cfde:undefined,_0x5853d9);}[_0x45a435(0x105)](_0x64012c,_0x359b88,_0x58de3d={}){const _0x4d435f=_0x45a435,_0x3031ae=this['getOperations']()[_0x4d435f(0x8b)](_0x2ffc69=>_0x2ffc69[_0x4d435f(0xd9)]()===_0x64012c);if(!_0x3031ae)return null;const _0x569c00={};_0x569c00[_0x4d435f(0x2ad)]=_0x58de3d[_0x4d435f(0xd0)]!==![];const _0x4f3bbe=this[_0x4d435f(0x97)](_0x64012c,_0x569c00);if(!_0x4f3bbe)return null;const _0x1d34eb=[];return _0x1d34eb[_0x4d435f(0x2d5)](_0x4d435f(0x10c)+_0x3031ae[_0x4d435f(0xd9)]()+_0x4d435f(0x9e)),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0x302)]['code']),_0x1d34eb['push'](''),_0x58de3d[_0x4d435f(0x192)]!==![]&&(_0x1d34eb[_0x4d435f(0x2d5)]('//\x20Usage\x20examples'),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0xf6)]['successCode']),_0x1d34eb['push'](''),_0x1d34eb['push'](_0x4f3bbe[_0x4d435f(0xf6)][_0x4d435f(0x1a1)])),_0x1d34eb[_0x4d435f(0x103)]('\x0a');}[_0x45a435(0x227)](_0x222fb5={}){const _0x5eeacd=_0x45a435,_0x2126d6=this['getEnabledOperationAnalyses'](),_0x3b1b64=[];return _0x2126d6['forEach']((_0x2ee68d,_0x48cd7d)=>{const _0x3d7b4f=a0_0x23f8,_0xc19b70=this['generateFullSDKExample'](_0x2ee68d['name'],_0x3d7b4f(0x1cf),_0x222fb5);_0xc19b70&&(_0x3b1b64[_0x3d7b4f(0x2d5)](_0x3d7b4f(0x1db)+(_0x48cd7d+0x1)+'.\x20'+_0x2ee68d['displayName']),_0x3b1b64[_0x3d7b4f(0x2d5)](_0xc19b70),_0x3b1b64[_0x3d7b4f(0x2d5)](''));}),_0x3b1b64[_0x5eeacd(0x103)]('\x0a');}[_0x45a435(0x2e1)](_0x1c773f){const _0x3ed53a=_0x45a435,_0x24f450=this[_0x3ed53a(0x2ce)](_0x1c773f);if(!_0x24f450)return null;const _0xc26cf8={};return _0xc26cf8[_0x3ed53a(0x246)]=_0x24f450[_0x3ed53a(0x246)],_0xc26cf8[_0x3ed53a(0x252)]=_0x24f450[_0x3ed53a(0x252)],_0xc26cf8['method']=_0x24f450[_0x3ed53a(0x2eb)],_0xc26cf8['path']=_0x24f450['path'],_0xc26cf8[_0x3ed53a(0x12d)]=_0x24f450[_0x3ed53a(0x12d)],_0xc26cf8[_0x3ed53a(0x217)]=_0x24f450[_0x3ed53a(0x11e)][_0x3ed53a(0x1f8)],_0xc26cf8['hasResponseSchema']=_0x24f450[_0x3ed53a(0xae)]!==null,_0xc26cf8;}[_0x45a435(0x1aa)](_0x5d32b2={}){const _0xf85213=_0x45a435,_0x445da1=this[_0xf85213(0x151)]();return{'datasetName':this[_0xf85213(0x246)],'datasetCode':this[_0xf85213(0x14c)],'tableName':this[_0xf85213(0x16d)](),'totalOperations':_0x445da1['length'],'operations':_0x445da1[_0xf85213(0xac)](_0x17818e=>({'name':_0x17818e[_0xf85213(0x246)],'displayName':_0x17818e[_0xf85213(0x252)],'method':_0x17818e[_0xf85213(0x2eb)],'enabled':_0x17818e[_0xf85213(0x12d)]}))};}[_0x45a435(0xf7)](_0x308945){const _0x50ce2f=_0x45a435,_0x52e4bc=this['getOperationAnalysis'](_0x308945);if(!_0x52e4bc)return[];return _0x52e4bc[_0x50ce2f(0x11e)][_0x50ce2f(0xac)](_0x1b9b57=>{const _0xfc5830=_0x50ce2f,_0x16fa41=this[_0xfc5830(0x1ed)](_0x1b9b57);if(!_0x16fa41)return null;const _0x13c636={};return _0x13c636[_0xfc5830(0x22c)]=_0x1b9b57,_0x13c636['name']=_0x16fa41['name']||_0x1b9b57,_0x13c636;})[_0x50ce2f(0x2af)](_0x51594e=>_0x51594e!==null);}[_0x45a435(0x2d2)](){const _0x146958=_0x45a435,_0x401003=new Set(this['getEnabledOperationAnalyses']()['map'](_0x2892ce=>String(_0x2892ce[_0x146958(0x299)]))),_0x1aa2ce=[_0x146958(0x25c),_0x146958(0x286),'update',_0x146958(0x293)];return _0x1aa2ce[_0x146958(0x2af)](_0x33a120=>!_0x401003[_0x146958(0x2b9)](String(_0x33a120)));}['generateAliasExplanation'](_0x402f5a=_0x45a435(0x1cf)){const _0x4e0b29=_0x45a435;return generateAliasExplanation(this[_0x4e0b29(0x14c)],this[_0x4e0b29(0x16d)](),this['getModelAlias'](),_0x402f5a);}};}function operationToAnalysis(_0x29d10f){const _0x2064da=a0_0x3e48cd;return{'name':_0x29d10f[_0x2064da(0xd9)](),'displayName':_0x29d10f[_0x2064da(0x2ef)](),'type':_0x29d10f[_0x2064da(0x22a)](),'method':_0x29d10f[_0x2064da(0x24d)](),'path':_0x29d10f[_0x2064da(0x232)](),'fullUrl':_0x29d10f[_0x2064da(0x1ee)](),'requestFields':_0x29d10f[_0x2064da(0xfe)](),'requestParams':_0x29d10f['getRequestParams'](),'responseSchema':_0x29d10f[_0x2064da(0x2cf)](),'requestExample':_0x29d10f[_0x2064da(0x209)](),'responseExample':_0x29d10f['generateResponseExample'](),'enabled':_0x29d10f[_0x2064da(0x189)]()};}function operationsToAnalyses(_0x1187aa){const _0x16ae03=a0_0x3e48cd;if(!Array[_0x16ae03(0x133)](_0x1187aa))return!![]&&console[_0x16ae03(0x98)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x1187aa),[];return _0x1187aa[_0x16ae03(0xac)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4de4cf){const _0x1f7aef=a0_0x3e48cd,_0x164310=_0x4de4cf['find'](_0x2417b7=>_0x2417b7[_0x1f7aef(0x246)]===_0x1f7aef(0x2af)),_0x22794a=_0x4de4cf[_0x1f7aef(0x2af)](_0x4fb5dc=>_0x4fb5dc[_0x1f7aef(0x246)]!==_0x1f7aef(0x2af));return _0x164310?[_0x164310,..._0x22794a]:_0x22794a;}function filterOperationAnalyses(_0x41f2b1,_0x560687={}){const _0x411fc0=a0_0x3e48cd;let _0x44a04a=_0x41f2b1;return!_0x560687[_0x411fc0(0x284)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x589a88=>_0x589a88[_0x411fc0(0x12d)])),_0x560687[_0x411fc0(0x1b8)]!==![]&&(_0x44a04a=filterApiOperations(_0x44a04a)),_0x560687[_0x411fc0(0x229)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x560687[_0x411fc0(0x229)])),sortOperationsWithFilterFirst(_0x44a04a);}function getOperationStats(_0x347ef1){const _0x5d23ff=a0_0x3e48cd,_0x26ee8d=_0x347ef1['filter'](_0x11e8e8=>_0x11e8e8['enabled']);return{'total':_0x347ef1[_0x5d23ff(0x1f8)],'enabled':_0x26ee8d[_0x5d23ff(0x1f8)],'disabled':_0x347ef1['length']-_0x26ee8d[_0x5d23ff(0x1f8)],'byType':getCountByType(_0x26ee8d),'byMethod':getCountByMethod(_0x26ee8d)};}function getCountByType(_0x1ba694){const _0x316fed={};return _0x1ba694['forEach'](_0x379c5d=>{const _0x41462c=a0_0x23f8;if(_0x379c5d[_0x41462c(0x299)])_0x316fed[_0x379c5d[_0x41462c(0x299)]]=(_0x316fed[_0x379c5d[_0x41462c(0x299)]]||0x0)+0x1;}),_0x316fed;}function getCountByMethod(_0x5b422d){const _0x5f2a08=a0_0x3e48cd,_0x554aa3={};return _0x5b422d[_0x5f2a08(0x194)](_0x13607c=>{const _0x4baf41=_0x5f2a08;_0x554aa3[_0x13607c[_0x4baf41(0x2eb)]]=(_0x554aa3[_0x13607c['method']]||0x0)+0x1;}),_0x554aa3;}function supportsCRUD(_0xe8ea19){const _0xcf0f5d=a0_0x3e48cd,_0x352a28=new Set(_0xe8ea19['map'](_0x247d1a=>_0x247d1a['type'])[_0xcf0f5d(0x2af)](Boolean));return _0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x25c))&&_0x352a28['has'](_0xcf0f5d(0x286))&&_0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x18c))&&_0x352a28[_0xcf0f5d(0x2b9)]('delete');}function createOperationDocMeta(_0x204a64,_0x24f28f,_0x11a134,_0x49d76d,_0x5453fe,_0xa8f4b7){const _0x4cc6f3=a0_0x3e48cd,_0x51ca98={};return _0x51ca98['useFullExample']=_0xa8f4b7?.[_0x4cc6f3(0x2ad)],{'operation':_0x204a64,'operationInstance':_0x24f28f,'basicInfo':{'name':_0x204a64['name'],'displayName':_0x204a64[_0x4cc6f3(0x252)],'method':_0x204a64[_0x4cc6f3(0x2eb)],'path':_0x204a64['path'],'fullUrl':_0x204a64[_0x4cc6f3(0x1cd)],'enabled':_0x204a64[_0x4cc6f3(0x12d)]},'sdkCall':{'datasetCode':_0x11a134,'datasetSDKKey':_0x49d76d,'tableName':_0x5453fe,'operationName':_0x204a64[_0x4cc6f3(0x246)],'params':_0x204a64[_0x4cc6f3(0x11e)],'code':_0x24f28f[_0x4cc6f3(0x27a)](_0x49d76d,_0x51ca98)},'usageExample':_0x24f28f['generateUsageExample'](_0x49d76d)};}function createOperationsOverviewData(_0x4abec8){const _0x13d41f=a0_0x3e48cd,_0x53feb4={};_0x53feb4[_0x13d41f(0x307)]=_0x13d41f(0x246),_0x53feb4[_0x13d41f(0x140)]=_0x13d41f(0x11b);const _0x1ce6af={};_0x1ce6af['index']='displayName',_0x1ce6af[_0x13d41f(0x140)]='操作名称';const _0x9c17de={};_0x9c17de[_0x13d41f(0x307)]='method',_0x9c17de[_0x13d41f(0x140)]='方法';const _0x25bd15={};_0x25bd15['index']=_0x13d41f(0x302),_0x25bd15[_0x13d41f(0x140)]=_0x13d41f(0x1a9);const _0x271b81={};_0x271b81[_0x13d41f(0x307)]=_0x13d41f(0x1ba),_0x271b81[_0x13d41f(0x140)]=_0x13d41f(0x314);const _0x3d7edc={};_0x3d7edc['index']=_0x13d41f(0x222),_0x3d7edc['label']='完整的\x20SDK\x20调用代码';const _0x12ef40=[_0x53feb4,_0x1ce6af,_0x9c17de,_0x25bd15,_0x271b81,_0x3d7edc],_0x5c5542=_0x4abec8[_0x13d41f(0xac)](_0x37a425=>{const _0x2a7536=_0x13d41f,{basicInfo:_0x299f1e,sdkCall:_0x515a68}=_0x37a425,_0xc7a893=_0x515a68[_0x2a7536(0x22c)][_0x2a7536(0x15d)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x4f53f3={};return _0x4f53f3['displayName']=_0x299f1e[_0x2a7536(0x252)],_0x4f53f3['name']=_0x299f1e[_0x2a7536(0x246)],_0x4f53f3[_0x2a7536(0x2eb)]=_0x299f1e[_0x2a7536(0x2eb)],_0x4f53f3['path']=_0x299f1e[_0x2a7536(0x1ba)],_0x4f53f3[_0x2a7536(0x302)]=_0xc7a893,_0x4f53f3[_0x2a7536(0x222)]=_0x515a68['code'],_0x4f53f3;}),_0x26cb98={};return _0x26cb98[_0x13d41f(0x336)]=_0x12ef40,_0x26cb98[_0x13d41f(0x191)]=_0x5c5542,_0x26cb98;}function createDatasetDocMeta(_0x5a1ef0,_0x53afc7,_0x37156e,_0x11fd5a,_0x2e29ac,_0x3fb959,_0xab3646,_0x44abc9,_0x20e155){const _0x100f53=a0_0x3e48cd,_0xe2ef51={};return _0xe2ef51[_0x100f53(0xbb)]=_0x5a1ef0+_0x100f53(0x13d),_0xe2ef51[_0x100f53(0x141)]={},_0xe2ef51[_0x100f53(0x2a1)]=_0x20e155,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x246)]=_0x5a1ef0,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x22c)]=_0x53afc7,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x1fa)]=_0x37156e,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x34d)]=_0x11fd5a,_0xe2ef51[_0x100f53(0x141)]['tableKey']=_0x2e29ac,_0xe2ef51[_0x100f53(0x141)]['source']=_0x3fb959,_0xe2ef51[_0x100f53(0x141)]['fieldCount']=_0xab3646,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x14b)]=0x0,_0xe2ef51[_0x100f53(0x141)]['systemFieldCount']=0x0,_0xe2ef51[_0x100f53(0x141)]['operationCount']=_0x44abc9,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x131)]=_0x20e155[_0x100f53(0x1f8)],_0xe2ef51;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x12c)](){const _0x5e7c25=a0_0x3e48cd;return this[_0x5e7c25(0x198)]();}['getOperationAnalyses'](_0x37efbd=![]){const _0x541ba7=a0_0x3e48cd;if(!_0x37efbd&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x2edb10=this[_0x541ba7(0x168)]();return this[_0x541ba7(0x300)]=operationsToAnalyses(_0x2edb10),this[_0x541ba7(0x300)];}[a0_0x3e48cd(0x151)](){const _0x5c4c52=a0_0x3e48cd,_0x50dcc4={};return _0x50dcc4['includeDisabled']=![],_0x50dcc4[_0x5c4c52(0x1b8)]=!![],this[_0x5c4c52(0x2d8)](_0x50dcc4);}[a0_0x3e48cd(0x2d8)](_0x27fb9d={}){const _0x237d0d=a0_0x3e48cd;return filterOperationAnalyses(this[_0x237d0d(0x1da)](),_0x27fb9d);}[a0_0x3e48cd(0x2ce)](_0x1f19b1){const _0x58c07e=a0_0x3e48cd;return this[_0x58c07e(0x1da)]()[_0x58c07e(0x8b)](_0x4a32b4=>_0x4a32b4[_0x58c07e(0x246)]===_0x1f19b1);}[a0_0x3e48cd(0x2b1)](_0x2430c0){const _0x35985a=a0_0x3e48cd;return this['getOperationAnalyses']()['filter'](_0x10a7be=>_0x10a7be[_0x35985a(0x299)]===_0x2430c0);}[a0_0x3e48cd(0x97)](_0x468ea8,_0x1d9ee1){const _0x10a4a1=a0_0x3e48cd,_0x205175=this[_0x10a4a1(0x2ce)](_0x468ea8);if(!_0x205175)return null;const _0x45495a=this[_0x10a4a1(0x168)]()[_0x10a4a1(0x8b)](_0x18e9b3=>_0x18e9b3[_0x10a4a1(0xd9)]()===_0x205175[_0x10a4a1(0x246)]);if(!_0x45495a)throw new Error(_0x10a4a1(0x269)+_0x205175[_0x10a4a1(0x246)]);return createOperationDocMeta(_0x205175,_0x45495a,this[_0x10a4a1(0x14c)],this['getDatasetSDKKey'](),this[_0x10a4a1(0x16d)](),_0x1d9ee1);}[a0_0x3e48cd(0xba)](_0x1909ac={}){const _0x44aff5=a0_0x3e48cd,_0x34165d=this[_0x44aff5(0x2d8)](_0x1909ac),_0x566f99=_0x34165d[_0x44aff5(0xac)](_0xe811c8=>this[_0x44aff5(0x97)](_0xe811c8['name']))['filter'](_0x391693=>_0x391693!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x44aff5(0x16d)](),this[_0x44aff5(0x325)](),this[_0x44aff5(0x198)](),this['source'],this[_0x44aff5(0x2bd)](),this[_0x44aff5(0x2f5)](),_0x566f99);}[a0_0x3e48cd(0x17f)](_0x283b59){return createOperationsOverviewData(_0x283b59);}['supportsCRUD'](){const _0x215382=a0_0x3e48cd;return supportsCRUD(this[_0x215382(0x151)]());}[a0_0x3e48cd(0x16e)](){const _0x292004=a0_0x3e48cd;return getOperationStats(this[_0x292004(0x1da)]());}[a0_0x3e48cd(0x129)](){const _0x338583=a0_0x3e48cd,_0x3682f2=this[_0x338583(0x16e)]();return _0x338583(0x29a)+this[_0x338583(0x246)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x338583(0x329)+_0x3682f2['enabled']+'/'+_0x3682f2['total']+_0x338583(0x1bd);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v2';}['getModelAlias'](){const _0x258ab8=a0_0x3e48cd;return this[_0x258ab8(0x198)]();}[a0_0x3e48cd(0x1da)](_0xc49440=![]){const _0x3ef418=a0_0x3e48cd;if(!_0xc49440&&this['_operationAnalyses'])return this[_0x3ef418(0x300)];const _0x229595=this[_0x3ef418(0x168)]();return this[_0x3ef418(0x300)]=operationsToAnalyses(_0x229595),this[_0x3ef418(0x300)];}['getEnabledOperationAnalyses'](){const _0x51b727=a0_0x3e48cd,_0x4b4f08={};return _0x4b4f08[_0x51b727(0x284)]=![],_0x4b4f08[_0x51b727(0x1b8)]=!![],this['getFilteredOperationAnalyses'](_0x4b4f08);}[a0_0x3e48cd(0x2d8)](_0x4f4b18={}){const _0x2cd295=a0_0x3e48cd;return filterOperationAnalyses(this[_0x2cd295(0x1da)](),_0x4f4b18);}[a0_0x3e48cd(0x2ce)](_0x46532c){const _0x4e36e0=a0_0x3e48cd;return this[_0x4e36e0(0x1da)]()[_0x4e36e0(0x8b)](_0x4db686=>_0x4db686[_0x4e36e0(0x246)]===_0x46532c);}[a0_0x3e48cd(0x2b1)](_0x30c5fc){const _0xa24bdf=a0_0x3e48cd;return this['getOperationAnalyses']()[_0xa24bdf(0x2af)](_0x59ba65=>_0x59ba65['type']===_0x30c5fc);}[a0_0x3e48cd(0x97)](_0x2c5710,_0x479aab){const _0x119c2a=a0_0x3e48cd,_0x178d85=this[_0x119c2a(0x2ce)](_0x2c5710);if(!_0x178d85)return null;const _0x2db5c3=this[_0x119c2a(0x168)]()[_0x119c2a(0x8b)](_0x29ece5=>_0x29ece5['getName']()===_0x178d85[_0x119c2a(0x246)]);if(!_0x2db5c3)throw new Error(_0x119c2a(0x269)+_0x178d85[_0x119c2a(0x246)]);return createOperationDocMeta(_0x178d85,_0x2db5c3,this[_0x119c2a(0x14c)],this[_0x119c2a(0x325)](),this[_0x119c2a(0x16d)](),_0x479aab);}['getDatasetDocMeta'](_0x368a02={}){const _0x249dcc=a0_0x3e48cd,_0x467ba2=this[_0x249dcc(0x2d8)](_0x368a02),_0x8f1b21=_0x467ba2[_0x249dcc(0xac)](_0x6660c2=>this[_0x249dcc(0x97)](_0x6660c2[_0x249dcc(0x246)]))[_0x249dcc(0x2af)](_0x5b50d4=>_0x5b50d4!==null);return createDatasetDocMeta(this[_0x249dcc(0x246)],this[_0x249dcc(0x14c)],this[_0x249dcc(0x16d)](),this[_0x249dcc(0x325)](),this[_0x249dcc(0x198)](),this[_0x249dcc(0xeb)],this[_0x249dcc(0x2bd)](),this['getOperationCount'](),_0x8f1b21);}[a0_0x3e48cd(0x17f)](_0x4cab41){return createOperationsOverviewData(_0x4cab41);}['supportsCRUD'](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x3e48cd(0x16e)](){const _0x1d9cf6=a0_0x3e48cd;return getOperationStats(this[_0x1d9cf6(0x1da)]());}['toString'](){const _0x1c29a7=a0_0x3e48cd,_0x2d397e=this[_0x1c29a7(0x16e)]();return _0x1c29a7(0x2b2)+this[_0x1c29a7(0x246)]+',\x20'+this[_0x1c29a7(0x14c)]+',\x20'+this[_0x1c29a7(0x2bd)]()+_0x1c29a7(0x329)+_0x2d397e[_0x1c29a7(0x12d)]+'/'+_0x2d397e[_0x1c29a7(0x26a)]+_0x1c29a7(0x1a3);}}function detectDatasetVersion3(_0x4b9542){const _0x56904a=a0_0x3e48cd;if(_0x4b9542[_0x56904a(0x2b8)]==='v2'&&_0x56904a(0x16a)in _0x4b9542&&Array[_0x56904a(0x133)](_0x4b9542[_0x56904a(0x16a)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3e48cd(0x1cc)];constructor(_0x53c3eb){const _0x5d2917=a0_0x3e48cd,_0x2ff1e1=detectDatasetVersion3(_0x53c3eb);return this[_0x5d2917(0x1cc)]=_0x2ff1e1==='v2'?new DrivenDataDetailPlusV2(_0x53c3eb):new DrivenDataDetailPlusV1(_0x53c3eb),new Proxy(this,{'get'(_0x59f062,_0x25280e){const _0xd7b874=_0x5d2917;if(_0x25280e in _0x59f062){const _0x4cdfcf=_0x59f062[_0x25280e];return typeof _0x4cdfcf===_0xd7b874(0x236)?_0x4cdfcf[_0xd7b874(0x101)](_0x59f062):_0x4cdfcf;}if(_0x25280e in _0x59f062[_0xd7b874(0x1cc)]){const _0x3f2153=_0x59f062[_0xd7b874(0x1cc)][_0x25280e];return typeof _0x3f2153===_0xd7b874(0x236)?_0x3f2153['bind'](_0x59f062['_instance']):_0x3f2153;}return;},'set'(_0x14d6b7,_0xda31f5,_0x33c085){return _0x14d6b7[_0xda31f5]=_0x33c085,!![];},'getPrototypeOf'(_0x1668a7){const _0x340583=_0x5d2917;return DrivenDataDetailPlus[_0x340583(0x169)];}});}get[a0_0x3e48cd(0x246)](){const _0x317bdd=a0_0x3e48cd;return this[_0x317bdd(0x1cc)][_0x317bdd(0x246)];}get['id'](){return this['_instance']['id'];}get['datasetCode'](){const _0x2750df=a0_0x3e48cd;return this[_0x2750df(0x1cc)][_0x2750df(0x14c)];}get[a0_0x3e48cd(0xeb)](){const _0x50da21=a0_0x3e48cd;return this[_0x50da21(0x1cc)][_0x50da21(0xeb)];}get[a0_0x3e48cd(0x2aa)](){const _0x22b44c=a0_0x3e48cd;return this[_0x22b44c(0x1cc)]['getDBConfig']();}[a0_0x3e48cd(0x2b5)](){const _0x4c5b3f=a0_0x3e48cd,_0x484cd0=this[_0x4c5b3f(0x1cc)][_0x4c5b3f(0x2b5)]();return _0x484cd0==='v2'?'v2':'v1';}[a0_0x3e48cd(0x2bd)](){const _0xc26ada=a0_0x3e48cd;return this[_0xc26ada(0x1cc)][_0xc26ada(0x2bd)]();}[a0_0x3e48cd(0x2f5)](){const _0x3b6f31=a0_0x3e48cd;return this[_0x3b6f31(0x1cc)][_0x3b6f31(0x2f5)]();}[a0_0x3e48cd(0x2a7)](){const _0x281ebd=a0_0x3e48cd;return this[_0x281ebd(0x1cc)][_0x281ebd(0x2a7)]();}['getOperations'](){const _0x12c49b=a0_0x3e48cd;return this[_0x12c49b(0x1cc)]['getOperations']();}[a0_0x3e48cd(0x340)](_0x2fc3c4){return this['_instance']['getFilteredOperations'](_0x2fc3c4);}[a0_0x3e48cd(0x1ed)](_0x432e5f){const _0x3fafb1=a0_0x3e48cd;return this[_0x3fafb1(0x1cc)][_0x3fafb1(0x1ed)](_0x432e5f);}[a0_0x3e48cd(0x16d)](){const _0x18771d=a0_0x3e48cd;return this[_0x18771d(0x1cc)][_0x18771d(0x16d)]();}[a0_0x3e48cd(0x198)](){const _0x201b33=a0_0x3e48cd;return this[_0x201b33(0x1cc)][_0x201b33(0x198)]();}[a0_0x3e48cd(0x325)](){const _0x384c2b=a0_0x3e48cd;return this['_instance'][_0x384c2b(0x325)]();}['getFieldList'](){const _0x580396=a0_0x3e48cd;return this[_0x580396(0x1cc)][_0x580396(0xa1)]();}[a0_0x3e48cd(0x251)](){const _0x39448e=a0_0x3e48cd;return this[_0x39448e(0x1cc)][_0x39448e(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x4ffce2=a0_0x3e48cd;return this[_0x4ffce2(0x1cc)][_0x4ffce2(0x2f4)]();}['isMultipleSelectField'](_0x75ee3b){const _0x152cc9=a0_0x3e48cd;return this[_0x152cc9(0x1cc)]['isMultipleSelectField'](_0x75ee3b);}[a0_0x3e48cd(0x88)](_0x49115){const _0x314fad=a0_0x3e48cd;return this[_0x314fad(0x1cc)][_0x314fad(0x88)](_0x49115);}[a0_0x3e48cd(0x328)](_0x1a91f8){const _0x5cad4b=a0_0x3e48cd;return this[_0x5cad4b(0x1cc)][_0x5cad4b(0x328)](_0x1a91f8);}[a0_0x3e48cd(0x2d7)](_0xf09351){const _0x5d6371=a0_0x3e48cd;return this[_0x5d6371(0x1cc)][_0x5d6371(0x2d7)](_0xf09351);}[a0_0x3e48cd(0x32e)](_0x30a760){const _0xef747f=a0_0x3e48cd;return this[_0xef747f(0x1cc)][_0xef747f(0x32e)](_0x30a760);}[a0_0x3e48cd(0x2c0)](_0x1d4c5d,_0x27c793){const _0x4de62=a0_0x3e48cd;return this[_0x4de62(0x1cc)]['validateEnumValue'](_0x1d4c5d,_0x27c793);}['isRequiredField'](_0x11afe1){const _0x2a6aad=a0_0x3e48cd;return this['_instance'][_0x2a6aad(0x174)](_0x11afe1);}['getStats'](){return this['_instance']['getStats']();}[a0_0x3e48cd(0x20f)](){const _0x3e9b7c=a0_0x3e48cd;return this['_instance'][_0x3e9b7c(0x20f)]();}[a0_0x3e48cd(0x1fc)](){const _0x1c3209=a0_0x3e48cd;return this[_0x1c3209(0x1cc)][_0x1c3209(0x1fc)]();}[a0_0x3e48cd(0x2dd)](_0xe0dd62){const _0x507a83=a0_0x3e48cd;return this[_0x507a83(0x1cc)][_0x507a83(0x2dd)](_0xe0dd62);}['getDBConfig'](){const _0x38ebea=a0_0x3e48cd;return this[_0x38ebea(0x1cc)][_0x38ebea(0x160)]();}[a0_0x3e48cd(0x2e7)](){const _0x4902e0=a0_0x3e48cd;return this[_0x4902e0(0x1cc)]['getRawDbtableConfig']();}[a0_0x3e48cd(0x12e)](){const _0x133557=a0_0x3e48cd;return this[_0x133557(0x1cc)][_0x133557(0x12e)]();}['getOperationAnalyses'](_0x31e04d){const _0x52f54b=a0_0x3e48cd;return this[_0x52f54b(0x1cc)][_0x52f54b(0x1da)](_0x31e04d);}[a0_0x3e48cd(0x151)](){const _0x3022fe=a0_0x3e48cd;return this[_0x3022fe(0x1cc)][_0x3022fe(0x151)]();}[a0_0x3e48cd(0x2d8)](_0x8f388c){return this['_instance']['getFilteredOperationAnalyses'](_0x8f388c);}[a0_0x3e48cd(0x2ce)](_0x487198){const _0x1072f9=a0_0x3e48cd;return this[_0x1072f9(0x1cc)]['getOperationAnalysis'](_0x487198);}[a0_0x3e48cd(0x2b1)](_0x11b596){const _0x172a62=a0_0x3e48cd;return this[_0x172a62(0x1cc)][_0x172a62(0x2b1)](_0x11b596);}[a0_0x3e48cd(0x97)](_0x6fa064,_0xe78bc){const _0x1f06f3=a0_0x3e48cd;return this[_0x1f06f3(0x1cc)][_0x1f06f3(0x97)](_0x6fa064,_0xe78bc);}[a0_0x3e48cd(0xba)](_0x3f00b2){const _0x14c5cf=a0_0x3e48cd;return this['_instance'][_0x14c5cf(0xba)](_0x3f00b2);}['getOperationsOverviewData'](_0x5922f5){const _0x4152ff=a0_0x3e48cd;return this[_0x4152ff(0x1cc)]['getOperationsOverviewData'](_0x5922f5);}[a0_0x3e48cd(0x12c)](){const _0x33524b=a0_0x3e48cd;return this[_0x33524b(0x1cc)]['getModelAlias']();}[a0_0x3e48cd(0x183)](){const _0x51c77b=a0_0x3e48cd;return this[_0x51c77b(0x1cc)][_0x51c77b(0x183)]();}[a0_0x3e48cd(0x16e)](){const _0x21df31=a0_0x3e48cd;return this[_0x21df31(0x1cc)][_0x21df31(0x16e)]();}[a0_0x3e48cd(0x129)](){const _0x29c4ec=a0_0x3e48cd;return this[_0x29c4ec(0x1cc)][_0x29c4ec(0x129)]();}['getOperation'](_0x252aef){const _0x53e597=a0_0x3e48cd;return this[_0x53e597(0x1cc)][_0x53e597(0x1df)](_0x252aef);}['getSDKInitData'](_0x563309){const _0x3cbaa7=a0_0x3e48cd;return this[_0x3cbaa7(0x1cc)][_0x3cbaa7(0xd7)](_0x563309);}['generateSDKInitCode'](_0x6df121,_0x4b57a9,_0x11937f){const _0x1339d4=a0_0x3e48cd;return this[_0x1339d4(0x1cc)][_0x1339d4(0x1cb)](_0x6df121,_0x4b57a9,_0x11937f);}['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57){const _0x828d27=a0_0x3e48cd;return this[_0x828d27(0x1cc)]['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57);}[a0_0x3e48cd(0x227)](_0x305dd6){const _0x43cbab=a0_0x3e48cd;return this[_0x43cbab(0x1cc)]['generateAllOperationsFullSDKExample'](_0x305dd6);}[a0_0x3e48cd(0x2e1)](_0x5c5e62){const _0xaaf5ab=a0_0x3e48cd;return this[_0xaaf5ab(0x1cc)][_0xaaf5ab(0x2e1)](_0x5c5e62);}[a0_0x3e48cd(0x1aa)](_0x480547){const _0x1c4915=a0_0x3e48cd;return this[_0x1c4915(0x1cc)]['generateAllOperationsSummary'](_0x480547);}[a0_0x3e48cd(0xf7)](_0x56caa4){const _0x7fb17c=a0_0x3e48cd;return this[_0x7fb17c(0x1cc)][_0x7fb17c(0xf7)](_0x56caa4);}['getMissingCRUDOperations'](){const _0xae1925=a0_0x3e48cd;return this[_0xae1925(0x1cc)][_0xae1925(0x2d2)]();}[a0_0x3e48cd(0x8c)](){const _0x244b6d=a0_0x3e48cd;return this[_0x244b6d(0x1cc)][_0x244b6d(0x8c)]();}[a0_0x3e48cd(0x8e)](){const _0x14dddd=a0_0x3e48cd;return this[_0x14dddd(0x1cc)];}}function createDrivenDataDetailPlus(_0x4a8a4e,_0x84516b={}){const _0x47bbec=a0_0x3e48cd;if(_0x84516b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x4a8a4e);if(_0x84516b[_0x47bbec(0x337)]==='v2')return new DrivenDataDetailPlusV2(_0x4a8a4e);if(_0x4a8a4e[_0x47bbec(0x2b8)]==='v2'||_0x47bbec(0x280)in _0x4a8a4e)return new DrivenDataDetailPlusV2(_0x4a8a4e);return new DrivenDataDetailPlusV1(_0x4a8a4e);}function isPlusV2Instance(_0x454caa){return _0x454caa['getVersion']()==='v2';}function isPlusV1Instance(_0xc9c598){return _0xc9c598['getVersion']()==='v1';}var VERSION=a0_0x3e48cd(0x122);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};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GenericOperation } from './GenericOperation.js';
|
|
2
|
+
export declare class BatchCreateOperation extends GenericOperation {
|
|
3
|
+
generateRequestExample(): Record<string, unknown>;
|
|
4
|
+
private generateArrayHTTPExample;
|
|
5
|
+
private generateItemsWrapperExample;
|
|
6
|
+
generateHTTPExample(): Record<string, unknown>;
|
|
7
|
+
generateRequestAllExamples(): Array<{
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
data: Record<string, unknown>;
|
|
11
|
+
}>;
|
|
12
|
+
generateSDKCallCode(modelKey: string, options?: {
|
|
13
|
+
useFullExample?: boolean;
|
|
14
|
+
indent?: string;
|
|
15
|
+
}): string;
|
|
16
|
+
private generateItemExample;
|
|
17
|
+
private getFieldTypeFromDefinition;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=BatchCreateOperation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateOperation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/BatchCreateOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,qBAAa,oBAAqB,SAAQ,gBAAgB;IAE/C,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAoB1D,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,2BAA2B;IA2B1B,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAQ9C,0BAA0B,IAAI,KAAK,CAAC;QAC3C,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IAgBO,mBAAmB,CAC1B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,GACA,MAAM;IA4BT,OAAO,CAAC,mBAAmB;IAyB3B,OAAO,CAAC,0BAA0B;CAanC"}
|
|
@@ -58,6 +58,15 @@ export declare abstract class Operation {
|
|
|
58
58
|
* 子类可以 override 以提供 HTTP 平铺格式(如 UpdateOperation)
|
|
59
59
|
*/
|
|
60
60
|
generateHTTPExample(): Record<string, unknown>;
|
|
61
|
+
/**
|
|
62
|
+
* 生成所有请求示例列表
|
|
63
|
+
* 默认返回单个示例,子类可以重写返回多个示例
|
|
64
|
+
*/
|
|
65
|
+
generateRequestAllExamples(): Array<{
|
|
66
|
+
title: string;
|
|
67
|
+
description?: string;
|
|
68
|
+
data: Record<string, unknown>;
|
|
69
|
+
}>;
|
|
61
70
|
/**
|
|
62
71
|
* 生成响应示例数据
|
|
63
72
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/Operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,iCAAiC,CAAC;AAKzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,8BAAsB,SAAS;IAC7B,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAChC,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,GAAG,KAAK,CAAC;IACzD,UAAU;IACV,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;gBAEjC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAQrE,aAAa;IACb,OAAO,IAAI,MAAM;IAIjB,aAAa;IACb,cAAc,IAAI,MAAM;IAIxB,aAAa;IACb,OAAO,IAAI,oBAAoB,GAAG,SAAS;IAI3C,WAAW;IACX,SAAS,IAAI,OAAO;IAMpB,aAAa;IACb,SAAS,IAAI,MAAM;IAQnB,gBAAgB;IAChB,OAAO,IAAI,MAAM;IAQjB,eAAe;IACf,UAAU,IAAI,MAAM;IAYpB,cAAc;IACd,SAAS,CAAC,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYxD,cAAc;IACd,SAAS,CAAC,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAO5B;;;OAGG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAcjD;;;;OAIG;IACH,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAgBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IA6BtE;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAC5B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GACzD,OAAO;IAMV;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACvD,MAAM;IAKT;;OAEG;IACH,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAgBnF;;OAEG;IACH,uBAAuB,IAAI,oBAAoB;IAiB/C;;OAEG;IACH,wBAAwB,IAAI,oBAAoB;IAsBhD;;;;;;OAMG;IACH,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E;;;;;;OAMG;IACH,iBAAiB,IAAI,cAAc,EAAE;IAIrC;;;;;OAKG;IACH,YAAY,IAAI;QACd,YAAY,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACzE,cAAc,EAAE,cAAc,EAAE,CAAC;KAClC;IASD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI3E;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,eAAe,CACvB,KAAK,EAAE,cAAc,GACpB,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAI1D;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAI3D;;;OAGG;IACH,YAAY,IAAI,SAAS,MAAM,EAAE;IAIjC;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE;IAI/C;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAejC;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
|
|
1
|
+
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/Operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,KAAK,oBAAoB,EAG1B,MAAM,iCAAiC,CAAC;AAKzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,8BAAsB,SAAS;IAC7B,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAChC,WAAW;IACX,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,GAAG,KAAK,CAAC;IACzD,UAAU;IACV,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;gBAEjC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB;IAQrE,aAAa;IACb,OAAO,IAAI,MAAM;IAIjB,aAAa;IACb,cAAc,IAAI,MAAM;IAIxB,aAAa;IACb,OAAO,IAAI,oBAAoB,GAAG,SAAS;IAI3C,WAAW;IACX,SAAS,IAAI,OAAO;IAMpB,aAAa;IACb,SAAS,IAAI,MAAM;IAQnB,gBAAgB;IAChB,OAAO,IAAI,MAAM;IAQjB,eAAe;IACf,UAAU,IAAI,MAAM;IAYpB,cAAc;IACd,SAAS,CAAC,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAYxD,cAAc;IACd,SAAS,CAAC,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAUhE;;OAEG;IACH,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI3C;;OAEG;IACH,iBAAiB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAInD;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAO5B;;;OAGG;IACH,sBAAsB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAcjD;;;;OAIG;IACH,mBAAmB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI9C;;;OAGG;IACH,0BAA0B,IAAI,KAAK,CAAC;QAClC,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC;IASF;;OAEG;IACH,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAgBlD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;IA6BtE;;OAEG;IACH,SAAS,CAAC,oBAAoB,CAC5B,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,GACzD,OAAO;IAMV;;OAEG;IACH,mBAAmB,CACjB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GACvD,MAAM;IAKT;;OAEG;IACH,oBAAoB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAgBnF;;OAEG;IACH,uBAAuB,IAAI,oBAAoB;IAiB/C;;OAEG;IACH,wBAAwB,IAAI,oBAAoB;IAsBhD;;;;;;OAMG;IACH,eAAe,IAAI,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC;IAI7E;;;;;;OAMG;IACH,iBAAiB,IAAI,cAAc,EAAE;IAIrC;;;;;OAKG;IACH,YAAY,IAAI;QACd,YAAY,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACzE,cAAc,EAAE,cAAc,EAAE,CAAC;KAClC;IASD;;OAEG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IAI3E;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAIrD;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM;IAI5D;;OAEG;IACH,SAAS,CAAC,eAAe,CACvB,KAAK,EAAE,cAAc,GACpB,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAI1D;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAI3D;;;OAGG;IACH,YAAY,IAAI,SAAS,MAAM,EAAE;IAIjC;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE;IAI/C;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAejC;;OAEG;IACH,QAAQ,IAAI,MAAM;CAInB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationFactory.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/OperationFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"OperationFactory.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/OperationFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAUlE;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;OAMG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,GAAG,SAAS;IAsC5E;;;;;OAKG;IACH,SAAS,CACP,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvC,OAAO,EAAE,gBAAgB,GACxB,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC;CAS1B"}
|