@lovrabet/dsparser 1.3.11-beta.0 → 1.3.11
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/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_0x302a2e=a0_0x14b3;(function(_0x200ad3,_0x41160f){const _0x1e3dcb=a0_0x14b3,_0x12a6ca=_0x200ad3();while(!![]){try{const _0x439f7f=-parseInt(_0x1e3dcb(0x2c5))/0x1*(parseInt(_0x1e3dcb(0x344))/0x2)+-parseInt(_0x1e3dcb(0x36f))/0x3+parseInt(_0x1e3dcb(0x19e))/0x4*(-parseInt(_0x1e3dcb(0x3ee))/0x5)+-parseInt(_0x1e3dcb(0x311))/0x6+parseInt(_0x1e3dcb(0x35d))/0x7*(-parseInt(_0x1e3dcb(0x3ce))/0x8)+-parseInt(_0x1e3dcb(0x1aa))/0x9*(parseInt(_0x1e3dcb(0x1d8))/0xa)+-parseInt(_0x1e3dcb(0x2a5))/0xb*(-parseInt(_0x1e3dcb(0x2fa))/0xc);if(_0x439f7f===_0x41160f)break;else _0x12a6ca['push'](_0x12a6ca['shift']());}catch(_0xd83b85){_0x12a6ca['push'](_0x12a6ca['shift']());}}}(a0_0x1c7a,0x57c21));function toCamelCase(_0x4c75c8){const _0x99d32a=a0_0x14b3;if(!_0x4c75c8)return'';return _0x4c75c8[_0x99d32a(0x26b)](/[_-]/)[_0x99d32a(0x29c)]((_0x400557,_0x584ffd)=>{const _0xc1cb5c=_0x99d32a;if(_0x584ffd===0x0)return _0x400557[_0xc1cb5c(0x298)]();return _0x400557[_0xc1cb5c(0x2bb)](0x0)[_0xc1cb5c(0x2b1)]()+_0x400557[_0xc1cb5c(0x252)](0x1)[_0xc1cb5c(0x298)]();})[_0x99d32a(0x35e)]('');}function toPascalCase(_0x143975){const _0x1d0fcb=a0_0x14b3;if(!_0x143975)return'';const _0x10571f=toCamelCase(_0x143975);return _0x10571f['charAt'](0x0)[_0x1d0fcb(0x2b1)]()+_0x10571f[_0x1d0fcb(0x252)](0x1);}function toSnakeCase(_0x2fdd51){const _0x8d930b=a0_0x14b3;if(!_0x2fdd51)return'';return _0x2fdd51[_0x8d930b(0x213)](/([A-Z])/g,_0x8d930b(0x3c0))[_0x8d930b(0x298)]()[_0x8d930b(0x213)](/^_/,'');}function toKebabCase(_0x1ce247){const _0x56bdb8=a0_0x14b3;if(!_0x1ce247)return'';return _0x1ce247[_0x56bdb8(0x213)](/([A-Z])/g,_0x56bdb8(0x217))[_0x56bdb8(0x298)]()[_0x56bdb8(0x213)](/^-/,'');}function normalizeFieldName(_0x41c0d3){const _0x3bb2b3=a0_0x14b3;if(!_0x41c0d3)return'';return _0x41c0d3[_0x3bb2b3(0x401)]()[_0x3bb2b3(0x213)](/\s+/g,'_')[_0x3bb2b3(0x213)](/[^a-zA-Z0-9_]/g,'_')[_0x3bb2b3(0x213)](/_+/g,'_')['replace'](/^_|_$/g,'');}function getTableName(_0x34fdcd){const _0x598022=a0_0x14b3;if(!_0x34fdcd)return _0x598022(0x303);if(_0x34fdcd[_0x598022(0x1e9)]?.[_0x598022(0x1b6)])return _0x34fdcd[_0x598022(0x1e9)][_0x598022(0x1b6)];const _0x5a8881=_0x34fdcd[_0x598022(0x357)]||_0x34fdcd[_0x598022(0x218)]||_0x34fdcd[_0x598022(0x22b)];if(_0x5a8881)return generateTableNameFromCode(_0x5a8881);return _0x598022(0x303);}function getTableKey(_0x39c242){const _0x51e32d=a0_0x14b3;if(typeof _0x39c242===_0x51e32d(0x28b))return toCamelCase(_0x39c242);const _0x29bc00=getTableName(_0x39c242);return toCamelCase(_0x29bc00);}function generateTableNameFromCode(_0x100b60){const _0x59c518=a0_0x14b3;if(!_0x100b60)return _0x59c518(0x303);const _0x34ea7f=_0x100b60[_0x59c518(0x252)](-0x6)['padStart'](0x6,'0');return _0x59c518(0x319)+_0x34ea7f;}function isVirtualTableName(_0x53958a){const _0x257d32=a0_0x14b3;return/^dataset_[a-zA-Z0-9]{6}$/[_0x257d32(0x2a8)](_0x53958a);}function generateModelKeyFromCode(_0x57986f){const _0x989586=a0_0x14b3;if(!_0x57986f)return _0x989586(0x152);return _0x989586(0x319)+_0x57986f;}function getDbName(_0x40c4db){const _0x36330d=a0_0x14b3;return _0x40c4db[_0x36330d(0x1e9)]?.[_0x36330d(0x37a)]||_0x40c4db[_0x36330d(0x1e9)]?.[_0x36330d(0x1d3)]?.['dbName']||'';}function generateDatasetsConfig(_0xe04961,_0x4a2767={}){const _0x114ae9=a0_0x14b3,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x5a577c,filter:_0x254a7c}=_0x4a2767,_0x591bbf=_0x254a7c?_0xe04961['filter'](_0x254a7c):_0xe04961,_0x2cedaf=new Map();for(const _0x172b5e of _0x591bbf){const _0x5e0332=getTableName(_0x172b5e),_0x42c427=getDbName(_0x172b5e);!_0x2cedaf[_0x114ae9(0x14c)](_0x5e0332)&&_0x2cedaf[_0x114ae9(0x2c3)](_0x5e0332,new Set()),_0x2cedaf['get'](_0x5e0332)['add'](_0x42c427);}const _0x44515b=new Set();for(const [_0x49940b,_0x15cbc4]of _0x2cedaf){_0x15cbc4[_0x114ae9(0x170)]>0x1&&_0x44515b[_0x114ae9(0x3e0)](_0x49940b);}const _0x490e3b={},_0x4fea2e=new Set();for(const _0x40f051 of _0x591bbf){const _0x4bbf04=getTableName(_0x40f051);if(enableDeduplication&&_0x4fea2e[_0x114ae9(0x14c)](_0x4bbf04)){console[_0x114ae9(0x3c9)](_0x114ae9(0x3e4)+_0x4bbf04+'\x22,数据集:\x20'+_0x40f051[_0x114ae9(0x3f0)]+'\x20('+_0x40f051[_0x114ae9(0x357)]+')');continue;}_0x4fea2e['add'](_0x4bbf04);const _0x506648=_0x5a577c?_0x5a577c(_0x4bbf04,_0x40f051):getTableKey(_0x4bbf04),_0x46399b=getDbName(_0x40f051),_0x54910d=_0x44515b[_0x114ae9(0x14c)](_0x4bbf04)&&_0x46399b?getTableKey(_0x46399b)+'_'+_0x506648:_0x506648;_0x490e3b[_0x506648]={'key':_0x506648,'alias':_0x54910d,'tableName':_0x4bbf04,'datasetCode':_0x40f051[_0x114ae9(0x357)],'name':_0x40f051[_0x114ae9(0x3f0)],'id':_0x40f051['id'],'dbName':_0x46399b};}return _0x490e3b;}function generateFullDatasetsConfig(_0x4a6a3c,_0x237366={}){const _0x5dd422=a0_0x14b3,{filter:_0x469751,datasetNameGenerator:_0x353662}=_0x237366,_0x206189=_0x469751?_0x4a6a3c[_0x5dd422(0x1a8)](_0x469751):_0x4a6a3c,_0x6aa34e=new Map();for(const _0x3feea9 of _0x206189){const _0x14c50f=getTableName(_0x3feea9),_0x1678ef=getDbName(_0x3feea9);!_0x6aa34e['has'](_0x14c50f)&&_0x6aa34e['set'](_0x14c50f,new Set()),_0x6aa34e['get'](_0x14c50f)[_0x5dd422(0x3e0)](_0x1678ef);}const _0x25f9bd=new Set();for(const [_0x28888f,_0x2409d1]of _0x6aa34e){_0x2409d1[_0x5dd422(0x170)]>0x1&&_0x25f9bd[_0x5dd422(0x3e0)](_0x28888f);}const _0x55eefd=groupByTableName(_0x206189),_0x213a93={};for(const [_0x46a946,_0x569585]of Object[_0x5dd422(0x323)](_0x55eefd)){if(_0x569585[_0x5dd422(0x356)]===0x1){const _0x14b727=_0x569585[0x0],_0x463091=_0x353662?_0x353662(_0x46a946,_0x14b727):getTableKey(_0x46a946),_0x55f9bc=getDbName(_0x14b727),_0x26d3ea=_0x25f9bd[_0x5dd422(0x14c)](_0x46a946)&&_0x55f9bc?getTableKey(_0x55f9bc)+'_'+_0x463091:_0x463091;_0x213a93[_0x463091]={'key':_0x463091,'alias':_0x26d3ea,'tableName':_0x46a946,'datasetCode':_0x14b727[_0x5dd422(0x357)],'name':_0x14b727[_0x5dd422(0x3f0)],'id':_0x14b727['id'],'dbName':_0x55f9bc};}else{const _0x137828=[..._0x569585][_0x5dd422(0x353)]((_0x440c3b,_0x4b7ad7)=>{const _0x38cf3f=Number(_0x440c3b['id'])||0x0,_0x5bfa22=Number(_0x4b7ad7['id'])||0x0;return _0x5bfa22-_0x38cf3f;});_0x137828[_0x5dd422(0x2ab)]((_0x315309,_0x4a2638)=>{const _0x4c2705=_0x5dd422,_0x194578=_0x353662?_0x353662(_0x46a946,_0x315309):getTableKey(_0x46a946),_0xf469e4=_0x4a2638===0x0?_0x194578:_0x194578+'_'+_0x4a2638,_0x43f5c9=getDbName(_0x315309),_0x262bb0=_0x25f9bd[_0x4c2705(0x14c)](_0x46a946)&&_0x43f5c9?getTableKey(_0x43f5c9)+'_'+_0xf469e4:_0xf469e4;_0x213a93[_0xf469e4]={'key':_0xf469e4,'alias':_0x262bb0,'tableName':_0x46a946,'datasetCode':_0x315309[_0x4c2705(0x357)],'name':_0x315309[_0x4c2705(0x3f0)],'id':_0x315309['id'],'dbName':_0x43f5c9};});}}return _0x213a93;}function detectTableNameConflicts(_0x57d206){const _0xc8ff3f=a0_0x14b3,_0x4d74ea={};for(const _0xdd7997 of _0x57d206){const _0x560fa3=getTableName(_0xdd7997);!_0x4d74ea[_0x560fa3]&&(_0x4d74ea[_0x560fa3]=[]),_0x4d74ea[_0x560fa3][_0xc8ff3f(0x3a6)](_0xdd7997);}const _0x4d4084={};for(const [_0x50ad21,_0xe13152]of Object[_0xc8ff3f(0x323)](_0x4d74ea)){_0xe13152[_0xc8ff3f(0x356)]>0x1&&(_0x4d4084[_0x50ad21]=_0xe13152);}return{'hasConflicts':Object[_0xc8ff3f(0x2b6)](_0x4d4084)[_0xc8ff3f(0x356)]>0x0,'conflicts':_0x4d4084};}function createDatasetNameMap(_0x5e48a4){const _0x17d0f2=a0_0x14b3,_0x35bdf1={};for(const [_0x1024d6,_0xbeeb7a]of Object[_0x17d0f2(0x323)](_0x5e48a4)){_0x35bdf1[_0x1024d6]=_0xbeeb7a[_0x17d0f2(0x357)]||'';}return _0x35bdf1;}function groupByTableName(_0x9c1820){const _0x40ce21=a0_0x14b3,_0x5a27a1={};for(const _0x1c5d4e of _0x9c1820){const _0x2cc515=getTableName(_0x1c5d4e);!_0x5a27a1[_0x2cc515]&&(_0x5a27a1[_0x2cc515]=[]),_0x5a27a1[_0x2cc515][_0x40ce21(0x3a6)](_0x1c5d4e);}return _0x5a27a1;}function datasetsConfigToArray(_0x78bd42){return Object['values'](_0x78bd42);}function adaptDrivenDataDetail(_0x4611fe){const _0x1a3446=a0_0x14b3,_0x2ab695={};return _0x2ab695['id']=_0x4611fe['modelId'],_0x2ab695[_0x1a3446(0x3f0)]=_0x4611fe[_0x1a3446(0x3f0)],_0x2ab695['datasetCode']=_0x4611fe['modelCode'],_0x2ab695[_0x1a3446(0x1e9)]=_0x4611fe[_0x1a3446(0x1e9)],_0x2ab695['source']=_0x4611fe[_0x1a3446(0x246)],_0x2ab695[_0x1a3446(0x227)]=_0x4611fe[_0x1a3446(0x227)],_0x2ab695[_0x1a3446(0x327)]=_0x4611fe['extend'],_0x2ab695[_0x1a3446(0x404)]=_0x4611fe[_0x1a3446(0x404)],_0x2ab695[_0x1a3446(0x1af)]=_0x4611fe[_0x1a3446(0x1af)],_0x2ab695;}function adaptDrivenDataDetails(_0x311c56){const _0x3f7986=a0_0x14b3;return _0x311c56[_0x3f7986(0x29c)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x3f9466){const _0x30c1ec=a0_0x14b3;if(!_0x3f9466[_0x30c1ec(0x263)]||!_0x3f9466[_0x30c1ec(0x179)])throw new Error(_0x30c1ec(0x2f8)+(_0x3f9466[_0x30c1ec(0x165)]||_0x3f9466[_0x30c1ec(0x2ca)]));return adaptDrivenDataDetail(_0x3f9466[_0x30c1ec(0x179)]);}function extractDatasetsFromListResponse(_0x3154ff){const _0x57a39c=a0_0x14b3;if(!_0x3154ff[_0x57a39c(0x263)]||!_0x3154ff['data']?.[_0x57a39c(0x38f)])throw new Error(_0x57a39c(0x295)+(_0x3154ff[_0x57a39c(0x165)]||_0x3154ff[_0x57a39c(0x2ca)]));return _0x3154ff['data']['tableData'][_0x57a39c(0x29c)](_0x59eaec=>({..._0x59eaec,'datasetCode':_0x59eaec[_0x57a39c(0x218)]||_0x59eaec['datasetCode']}));}function isDrivenDataDetail(_0x22eb61){const _0x1a3599=a0_0x14b3;return Boolean(_0x22eb61&&typeof _0x22eb61[_0x1a3599(0x22b)]===_0x1a3599(0x28b));}function smartAdapt(_0x1c4f7b){const _0x1cb2ba=a0_0x14b3;if(isDrivenDataDetail(_0x1c4f7b))return adaptDrivenDataDetail(_0x1c4f7b);if(_0x1c4f7b[_0x1cb2ba(0x357)])return _0x1c4f7b;if(_0x1c4f7b['code']){const _0x33d801={..._0x1c4f7b};return _0x33d801['datasetCode']=_0x1c4f7b['code'],_0x33d801;}return _0x1c4f7b;}function cleanNewlines(_0x1a49b6){const _0x3fc639=a0_0x14b3;return _0x1a49b6['replace'](/[\r\n]+/g,'\x20')[_0x3fc639(0x401)]();}function cleanDatasetName(_0x558071){const _0x34e0a8=a0_0x14b3;if(!_0x558071[_0x34e0a8(0x3f0)])return _0x558071;return{..._0x558071,'name':cleanNewlines(_0x558071[_0x34e0a8(0x3f0)])};}function cleanDatasetNames(_0x409e7b){const _0x571d09=a0_0x14b3;return _0x409e7b[_0x571d09(0x29c)](cleanDatasetName);}var DatasetOperationType;(_0x1b5bd4=>{const _0x3aa73a=a0_0x14b3;_0x1b5bd4['FILTER']=_0x3aa73a(0x1a8),_0x1b5bd4[_0x3aa73a(0x226)]=_0x3aa73a(0x2fd),_0x1b5bd4['GET_ONE']='getOne',_0x1b5bd4['GET_ONE_ORIGIN']=_0x3aa73a(0x31d),_0x1b5bd4['GET_ONE_UPDATE']='getOneUpdate',_0x1b5bd4[_0x3aa73a(0x387)]=_0x3aa73a(0x289),_0x1b5bd4['BATCH_CREATE']=_0x3aa73a(0x304),_0x1b5bd4[_0x3aa73a(0x1d6)]=_0x3aa73a(0x231),_0x1b5bd4[_0x3aa73a(0x1c0)]=_0x3aa73a(0x253),_0x1b5bd4[_0x3aa73a(0x245)]=_0x3aa73a(0x2d9),_0x1b5bd4[_0x3aa73a(0x2ea)]='getFileUrl',_0x1b5bd4['EXCEL_EXPORT']=_0x3aa73a(0x1ad),_0x1b5bd4[_0x3aa73a(0x236)]=_0x3aa73a(0x33d),_0x1b5bd4[_0x3aa73a(0x3db)]=_0x3aa73a(0x1ba),_0x1b5bd4['CREATE_EXPORT']=_0x3aa73a(0x267),_0x1b5bd4['AGGREGATE']='aggregate',_0x1b5bd4['TASK_INFO']=_0x3aa73a(0x1e4),_0x1b5bd4[_0x3aa73a(0x18f)]='importTemplate';})(DatasetOperationType||={});const a0_0xdead5d={};a0_0xdead5d[a0_0x302a2e(0x1a8)]=a0_0x302a2e(0x1dd),a0_0xdead5d[a0_0x302a2e(0x2fd)]='查询列表',a0_0xdead5d[a0_0x302a2e(0x287)]=a0_0x302a2e(0x25d),a0_0xdead5d[a0_0x302a2e(0x31d)]=a0_0x302a2e(0x3a0),a0_0xdead5d[a0_0x302a2e(0x1d0)]=a0_0x302a2e(0x1ab),a0_0xdead5d['create']='创建',a0_0xdead5d[a0_0x302a2e(0x304)]='批量创建',a0_0xdead5d[a0_0x302a2e(0x231)]='更新',a0_0xdead5d[a0_0x302a2e(0x253)]='删除',a0_0xdead5d[a0_0x302a2e(0x2d9)]=a0_0x302a2e(0x249),a0_0xdead5d[a0_0x302a2e(0x2e8)]=a0_0x302a2e(0x297),a0_0xdead5d[a0_0x302a2e(0x1ad)]=a0_0x302a2e(0x3e1),a0_0xdead5d[a0_0x302a2e(0x33d)]=a0_0x302a2e(0x324),a0_0xdead5d[a0_0x302a2e(0x1ba)]=a0_0x302a2e(0x3ac),a0_0xdead5d[a0_0x302a2e(0x267)]=a0_0x302a2e(0x189),a0_0xdead5d[a0_0x302a2e(0x3ff)]=a0_0x302a2e(0x21a),a0_0xdead5d[a0_0x302a2e(0x1e4)]=a0_0x302a2e(0x35b),a0_0xdead5d['importTemplate']='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0xdead5d,API_BLACKLIST=[a0_0x302a2e(0x2fd),a0_0x302a2e(0x31d),'getOneUpdate','getFileUrl'];function parseFieldExtend(_0x51d006){const _0x4ec144=a0_0x302a2e;if(!_0x51d006||typeof _0x51d006!==_0x4ec144(0x3d7))return!![]&&console[_0x4ec144(0x3c9)](_0x4ec144(0x39d),_0x51d006),{};if(!_0x51d006[_0x4ec144(0x327)])return{};try{const _0x9624b8=typeof _0x51d006[_0x4ec144(0x327)]===_0x4ec144(0x28b)?JSON[_0x4ec144(0x1d5)](_0x51d006[_0x4ec144(0x327)]):_0x51d006[_0x4ec144(0x327)];if(typeof _0x9624b8!=='object'||_0x9624b8===null)return{};return _0x9624b8;}catch{return{};}}function isPrimaryKeyField(_0x3f574b,_0x5c2233){const _0x2e2d04=a0_0x302a2e;if(!_0x3f574b||typeof _0x3f574b!==_0x2e2d04(0x3d7))return![];if(typeof _0x5c2233===_0x2e2d04(0x28b)&&_0x3f574b[_0x2e2d04(0x218)]===_0x5c2233)return!![];const _0x50d420=parseFieldExtend(_0x3f574b);return Boolean(_0x50d420[_0x2e2d04(0x1c4)]||_0x50d420[_0x2e2d04(0x2ce)]);}function isSystemField(_0x4a1cf8){const _0x335c25=a0_0x302a2e,_0x7602fc=parseFieldExtend(_0x4a1cf8);return Boolean(_0x7602fc[_0x335c25(0x23b)]);}function isRequiredField(_0x4b4ba7){const _0x594ffe=a0_0x302a2e,_0x4a7fcd=parseFieldExtend(_0x4b4ba7);return Boolean(_0x4a7fcd[_0x594ffe(0x2db)]);}function isAutoIncrementField(_0x1324df){const _0x40b595=a0_0x302a2e,_0x5b81d2=parseFieldExtend(_0x1324df);return Boolean(_0x5b81d2[_0x40b595(0x394)]);}function isCreateTimeField(_0x4e4e23){const _0x1ad792=a0_0x302a2e,_0x2c447e=parseFieldExtend(_0x4e4e23);return Boolean(_0x2c447e[_0x1ad792(0x3b3)]);}function isModifyTimeField(_0x69dddf){const _0x242075=a0_0x302a2e,_0x541e19=parseFieldExtend(_0x69dddf);return Boolean(_0x541e19[_0x242075(0x3fe)]);}const a0_0x104fa6={};a0_0x104fa6[a0_0x302a2e(0x24b)]='数字',a0_0x104fa6[a0_0x302a2e(0x3d3)]='文本',a0_0x104fa6[a0_0x302a2e(0x238)]=a0_0x302a2e(0x160),a0_0x104fa6[a0_0x302a2e(0x33f)]='日期',a0_0x104fa6[a0_0x302a2e(0x30a)]=a0_0x302a2e(0x3d9),a0_0x104fa6['TIMESTAMP']=a0_0x302a2e(0x328),a0_0x104fa6[a0_0x302a2e(0x1f4)]=a0_0x302a2e(0x199),a0_0x104fa6[a0_0x302a2e(0x202)]='多选',a0_0x104fa6[a0_0x302a2e(0x1e0)]='单选',a0_0x104fa6[a0_0x302a2e(0x2c2)]='开关',a0_0x104fa6[a0_0x302a2e(0x260)]=a0_0x302a2e(0x185),a0_0x104fa6[a0_0x302a2e(0x364)]='图片',a0_0x104fa6[a0_0x302a2e(0x24c)]=a0_0x302a2e(0x1c1),a0_0x104fa6[a0_0x302a2e(0x228)]=a0_0x302a2e(0x228),a0_0x104fa6[a0_0x302a2e(0x3a5)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x104fa6;function getDbTypeDisplay(_0x106caa){const _0xdfcd28=a0_0x302a2e;if(typeof _0x106caa!==_0xdfcd28(0x28b))return!![]&&console[_0xdfcd28(0x3c9)](_0xdfcd28(0x1b8),_0x106caa),String(_0x106caa||'-');return DB_TYPE_DISPLAY_MAP[_0x106caa]||_0x106caa;}function formatDbType(_0x13229b,_0x222ccb){const _0x525f01=a0_0x302a2e;if(!_0x13229b||typeof _0x13229b!=='string')return'-';if(!_0x222ccb||typeof _0x222ccb!==_0x525f01(0x3f1))return _0x13229b;const _0x4203b8=[_0x525f01(0x3d3),_0x525f01(0x30a),'TIMESTAMP','DATE'];if(_0x4203b8[_0x525f01(0x397)](_0x13229b[_0x525f01(0x2b1)]()))return _0x13229b;return _0x13229b+'('+_0x222ccb+')';}function a0_0x1c7a(){const _0x1d2f81=['generateSDKCallCode','toFieldDefinition','getPrimaryKeys','getFieldNames','includeUsageExample','200','SWITCH','set','示例值','16174ofwzus','SDK\x20调用示例(两参数格式)','Filter\x20API\x20-\x20高级查询接口','当前页码(从\x201\x20开始,默认:\x201)','isRequiredField','msg','logicField','支持单值或数组','having','pkField','includeRequestExample','DatasetGroup(','fields','getName','filterBlacklist','getOperationsData','label','getFieldOptions','_datasetMap','DESC','getSelectOptions','stringify','required','generateRequestAllExamples',',\x20fields:\x20','OperationList(','toISOString','每页条数','isOpenAPI','getEnabled','getLatest','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','getFieldDataSource','**可更新的字段列表:**','getVirtualTables','getFileUrl','getOperationOperators','GET_FILE_URL','has\x20conflicts','getBusiness','_min','getDatabaseName','phone','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','options','sortNum','<p>富文本内容</p>','$ne','isCreateTime','allFields','groups','获取数据集失败:\x20','数组查询(支持多选)','228WkcCet','generateConfigArray',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getList','hasCreateTimeField','\x20operations,\x20v1)','forceVersion','完整的\x20SDK\x20调用代码','getCodes','dataset_000000','batchCreate','$startWith','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','$lteq','getEnumValues','DrivenDataDetailV2(','DATETIME','isFieldPrimaryKey','yourModel','getSDKInitData','getFieldType','now','getFilterOperation','2927940eWlSkK','parseFieldExtend','(id);','fullUrl','getFieldsFilterOperatorsMap','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','keyword','parseRawRequestBody','dataset_','//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateDefaultFilterOperation','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','getOneOrigin','({\x20currentPage,\x20pageSize\x20});','some','paging','distinct','_raw','entries','获取上传脚本','getFields','LONGBLOB','extend','时间戳','dbId','all','modelId','isUpdateTime','hasUpdateTimeField','排序规则(与\x20Filter\x20API\x20一致)','toConfig','no\x20conflicts','title','findByCode','toListItem','item2','getUpdateFields','column','isVirtualTable','解析\x20requestBody\x20失败:','getRawDbtableConfig','isArray','(实际字段:','getSystemFields','getUploadFileScript','raw','DATE','getFilteredOperationAnalyses','getEnumMetas','$lte','type','50GIrFyl','tooltip','0000','getFieldCode','getCountByMethod','getApplicableOperators','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','isMultipleSelectField','_fieldListV1','getFieldListWithDeleted','BLOB','toField','getFilterOperators','HTTP\x20直接调用时使用平铺格式:\x0a','getDBConfig','sort','LONGTEXT','getDeleted','length','datasetCode','lastIndexOf','getActive','toConfigArray','任务信息','getModelAlias','329wGdZrx','join','where','enumValues','generateAllOperationsFullSDKExample','\x5c{\x5c{','find','IMAGE','getFieldsV2','context','getRealTables','requestBody','getEnum','columnName','desc','https://example.com/image.jpg','hasFilterOperation','toArray','1242147mrAqks','//\x20Call\x20the\x20','isOperatorApplicableToField','getSelectItemsSource','method','isSystem','_operationList','getOperationAnalyses','doType','getDisabled','_fieldListV1WithDeleted','dbName','解析\x20responseBody\x20失败:','getByType','appCode','聚合函数配置数组(type:\x20sum/count/avg/max/min)','getRelatedDataset','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','TINYINT','sortOperationsWithFilterFirst','fieldName','displayName','sdkCall','CREATE','getDisplayName','min','getId','POST','demo-app','getOperationAnalysesByType','getSource','tableData','datasetKey','DOUBLE','validateEnumValue','total','autoIncrement','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','getTooltip','includes','responseBody','SMALLINT','getTableName','host','getLast','[parseFieldExtend]\x20Invalid\x20field:','BIT','Object','查询单条(原始)','\x20API\x20文档','orderBy','detectConflicts','systemFieldCount','ARRAY','push','findById','createTime','getAppCode','$contain','\x20fields)','创建导入','getAt','generateConfig','generateAllOperationsSummary','接口名称','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getDisabledOperationInstances','createDate','getModelName','getNames','isPrimaryKey','getOperators','GET','empty','1.0.0-beta.8','getStats','getDefaultValue','_datasetMeta','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:','getAggregates','_$1','toFullConfig','FieldV2(','getEnabledNames','useFullExample','supportsCRUD','getEnumOptions','FieldV1(','聚合函数配置数组','warn','alias','getAutoIncrement','返回字段列表(字段投影)','$endWith','12992CGdFfz','排序规则','_fields','getBusinessFields','getAll','TEXT','getFieldRaw','getFieldsWithDeleted','getOperationsOverviewData','object','getOperationFieldOperators','日期时间','INTEGER','CREATE_IMPORT','操作成功','usageExample','null','children','add','Excel导出','select','getSystem','[dsparser]\x20跳过重复的表名\x20\x22','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','hasDbtableConfig','getAllDatasets','successCode','generateHTTPRequestExample','示例文本','createFields','getType','TIME','368205FEIGhR','getOperationDocMeta','name','number','DatasetGroupMap(','getFieldSelectItemsSource','default','DECIMAL','BOOLEAN','getRaw','status','\x20operations,\x20','_fieldListWithDeleted','field_name','value','isDeleted','modifyDate','aggregate','[FieldV2]\x20Invalid\x20field\x20definition','trim','operation','\x20items,\x20','properties','getPkField','updateTime','Number','toString','isEnum','value2','_fieldList','//\x20','isRequired','CHAR','INT','has','\x20operations)','字段编码','DrivenDataDetail(','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','$gte','dataset_unknown','customFilter','generateHTTPExample','getPrimaryKeyFields','\x20fields,\x20','每页数量','\x20groups,\x20','datasetSDKKey','mapDbTypeToType','dbTypeLen','getAllFieldsArray','doVersion','datasetId','total_count','长文本','({\x20code,\x20label\x20});','请求示例','from','query','errorMsg','getAllFieldsString','hasDblinkInfo','creatorNameField','分组后的过滤条件(对聚合结果进行过滤)','getMissingCRUDOperations','FieldListV2(','[generateRequestExample]\x20Invalid\x20field:','getRequestFields','\x20groups)','dataIndex','size','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getItems','isEnabled','conflictGroupCount','getExtendField','path','getRequiredFields','prefix','data','_operations','params','getFieldDefinition','DrivenDataDetailPlus(','-\x20主键使用\x20`id`\x20字段\x0a','_relations','hasOperation','getCountByType','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','sum','createTimeField','文件上传','bind','主键ID','datasetInfo','创建导出','这是一段较长的文本内容示例','hasTableName','getResponseSchema','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','generateResponseExample','IMPORT_TEMPLATE','getEnumMeta','toTableName','STRING','hasConflicts','Array','generateUsageExample','String','array','groupByType','下拉选择','requestFields','DatasetList(','$eq','当前页码','8DpOjSn','getEnabledOperationAnalyses',',\x20currentPage,\x20pageSize,\x20...\x20});','String[]','description','index','2024-01-01','fromField','generateAliasExplanation','getPath','filter','({\x20','584442yHOZqi','查询单条(用于更新)','findByTableName','excelExport','modifierNameField','operations','SDK\x20调用时传递两个参数:\x0a','isNumericField','操作名称','withDeleted','getField','datasetMap','tableName','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','FLOAT','createImport','13800138000','initDataset','Integer','getEnumFields','getConflictingItems','DELETE','富文本','[Field]\x20Invalid\x20field\x20definition','getOperationAnalysis','primaryKey','getFieldDisplayName','选项编码(可选)','getFieldV2','deleted','items','分组字段列表','getIndexes','getFieldName','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','SDK\x20调用','getOperationStats','getOneUpdate','getResponseParamsDocInfo','_requestExampleCache','dblinkInfoDTO','ensureFilterOperation','parse','UPDATE','includeDisabled','50rAVjdz','useArrayValues','precision','item1','getFieldListV2','筛选查询','getOperations','getFiltered','RADIO','getRelations','function','groupBy','taskInfo','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','hasCreatorIdField','address','toDatasetId','dbtableConfig','toObject','getDbName','generateFromSchema','tableColumns','currentPage','getOperationFieldsOperatorsMap','Operation\x20not\x20found:\x20','getCode','toJSON','dbType','SELECT','enabled','getEnabledOperationInstances','fieldCode','generateFieldExample','(id,\x20','每页数量(可选)','getInternalInstance','getFieldList','isSystemField','random','tableKey','placeholder','errorCode','CHECKBOX','getLatestDatasets','getDatasetMeta','-\x20其他要更新的字段直接平铺在同一层级','getEnabledOperations','labelField','_max','responseSchema','selectItemsSource','multiple','operationCount','getMethod','includeDeleted','value1','round','getEnumFieldsMeta','\x20operation','replace','online','getOperationRequestFields','/filter','-$1','code','getDatasetSDKKey','聚合查询','每页数量(默认:\x2020)','Object[]','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getTenantCode','isMultipleSelect','creatorIdField','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','modifierIdField','suffix','dbVersion','normalizeDbType','GET_LIST','version','JSON','findByName','every','modelCode','getDisabledOperations','##\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','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','getFullUrl','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','update','2024-12-31','generateOperationSummary','parseRawResponseBody','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','GET_UPLOAD_FILE_SCRIPT','daily','TEXTAREA','$in','createAll','systemRetain','updateTimeField','boolean','getDatasetDocMeta','TIMESTAMP','get','generateSingleValueExample','API路径','groupByTableName','_autoGenerated','GET_SELECT_OPTIONS','source','getRequestParamsDocInfo','tenantCode','获取下拉选项','getDOType','NUMBER','RICH_TEXT','getVersion','getRequired','getFieldsByType','toDatasetName','\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','slice','delete','查询单个条件','getConflicts','getRequestParams','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','getEnumFieldMeta','hasExtendField','(id,\x20data);','getDbTypeForOperation','getOperationCount','查询单条','dataset','_sum','UPLOAD','enabledOperationCount','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','success','getDatabaseVersion','hasLogicField','env','createExport','generateExampleValue','findAllByTableName','isEnumField','split','\x20indexes)','getCount','getUpdatableFields',',\x20...\x20});','datasetName','isBusiness','getOldest','();\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}','$gteq','getFieldCount','getRelationsByField','valueLabels','getOperation','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getUpdateTime','`:\x20','pageSize','getOperationList','isAutoIncrement','[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:','selectBestOperator','VARCHAR','getAllParams','();','2.0','hasModifierIdField','字段名称','getOne','values','create','generateFullSDKExample','string','hasConflict','FILE','getDisabledNames','const\x20fileUrl\x20=\x20await\x20client.models.','查询条件(支持\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)','_fieldListV2','iterator','count','1.0','获取数据集列表失败:\x20','(params);','获取文件URL','toLowerCase','getForeignKeyFields','isPrimaryKeyField','主键ID(必填)','map','getFieldInstance','generateSDKInitCode','北京市朝阳区','_avg','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','getFilteredOperations','fieldCount','prototype','1281874YXWLhA','getTableKey','BIGINT','test','generateRequestExample','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','forEach','hasField','Invalid\x20API\x20response:\x20success\x20is\x20false','const\x20result\x20=\x20await\x20client.models.','({\x20/*\x20可选:筛选条件\x20*/\x20});','BOOL','toUpperCase','getFirst','findAll','max','_extend','keys','_operationAnalyses','_instance','$and','getFieldOperators','charAt'];a0_0x1c7a=function(){return _0x1d2f81;};return a0_0x1c7a();}function parseOperationType(_0x62e209){const _0x3eee38=a0_0x302a2e;if(typeof _0x62e209!==_0x3eee38(0x28b)){!![]&&console['warn']('[parseOperationType]\x20value\x20is\x20not\x20a\x20string:',_0x62e209);return;}if(Object['values'](DatasetOperationType)[_0x3eee38(0x397)](_0x62e209))return _0x62e209;const _0x2d0f0a=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)[_0x3eee38(0x363)](([_0x35b65f,_0x3dea82])=>_0x3dea82===_0x62e209);return _0x2d0f0a?_0x2d0f0a[0x0]:undefined;}function shouldIncludeField(_0x29b26d,_0x48adcc,_0x5e6618){const _0x199b49=a0_0x302a2e,_0xc724f0=parseFieldExtend(_0x29b26d),_0x58b672=isPrimaryKeyField(_0x29b26d,_0x5e6618),_0xcc3283=Boolean(_0xc724f0['systemRetain']),_0x55e0fd=Boolean(_0xc724f0[_0x199b49(0x394)]),_0x1bdb9f=Boolean(_0xc724f0['createDate']),_0x228c67=Boolean(_0xc724f0[_0x199b49(0x3fe)]);switch(_0x48adcc){case _0x199b49(0x1a8):case _0x199b49(0x2fd):case _0x199b49(0x3ff):return!![];case'getOne':case'getOneOrigin':case _0x199b49(0x253):return _0x58b672;case _0x199b49(0x289):case _0x199b49(0x304):if(_0x58b672&&_0x55e0fd)return![];if(_0xcc3283)return![];if(_0x1bdb9f||_0x228c67)return![];return!![];case _0x199b49(0x231):case _0x199b49(0x1d0):if(_0x58b672)return!![];if(_0xcc3283)return![];if(_0x1bdb9f||_0x228c67)return![];return!![];case _0x199b49(0x2d9):return _0x29b26d[_0x199b49(0x218)]===_0x199b49(0x218);default:return!![];}}function getFieldsForOperation(_0x2919ec,_0x1c951a,_0x518698){const _0x3cca0f=a0_0x302a2e;if(!Array[_0x3cca0f(0x33a)](_0x2919ec))return!![]&&console[_0x3cca0f(0x3c9)](_0x3cca0f(0x3be),_0x2919ec),[];return _0x2919ec[_0x3cca0f(0x1a8)](_0x4c9684=>shouldIncludeField(_0x4c9684,_0x1c951a,_0x518698));}function isApiBlacklisted(_0x45324c){const _0x4b38e1=a0_0x302a2e;if(typeof _0x45324c!==_0x4b38e1(0x28b))return!![]&&console[_0x4b38e1(0x3c9)](_0x4b38e1(0x1b7),_0x45324c),![];return API_BLACKLIST['includes'](_0x45324c);}function filterApiOperations(_0x3ecf3f){const _0x2e4c30=a0_0x302a2e;if(!Array[_0x2e4c30(0x33a)](_0x3ecf3f))return!![]&&console[_0x2e4c30(0x3c9)](_0x2e4c30(0x2e4),_0x3ecf3f),[];return _0x3ecf3f['filter'](_0x2ed799=>_0x2ed799&&typeof _0x2ed799===_0x2e4c30(0x3d7)&&!isApiBlacklisted(_0x2ed799[_0x2e4c30(0x3f0)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date[a0_0x302a2e(0x30f)](),'DATE':()=>Date[a0_0x302a2e(0x30f)](),'SELECT':({fieldInfo:_0x592f38})=>{const _0x5f1b68=a0_0x302a2e;if(_0x592f38?.[_0x5f1b68(0x2f1)]&&Array[_0x5f1b68(0x33a)](_0x592f38['options'])&&_0x592f38['options']['length']>0x0)return _0x592f38['options'][0x0][_0x5f1b68(0x3fc)];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2e2b8a})=>{const _0x46dc97=a0_0x302a2e;if(_0x2e2b8a===_0x46dc97(0x1ee))return 0x1;if(_0x2e2b8a===_0x46dc97(0x27c))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x457ab2})=>{const _0x1c797e=a0_0x302a2e;if(_0x457ab2&&typeof _0x457ab2===_0x1c797e(0x28b)){const _0x850a7a=_0x457ab2[_0x1c797e(0x298)]();if(_0x850a7a[_0x1c797e(0x397)]('邮箱')||_0x850a7a['includes']('email'))return'user@example.com';if(_0x850a7a[_0x1c797e(0x397)]('电话')||_0x850a7a[_0x1c797e(0x397)]('手机')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x2ef)))return _0x1c797e(0x1bb);if(_0x850a7a[_0x1c797e(0x397)]('地址')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x1e7)))return _0x1c797e(0x29f);if(_0x850a7a[_0x1c797e(0x397)]('姓名')||_0x850a7a[_0x1c797e(0x397)](_0x1c797e(0x3f0)))return'张三';}return _0x1c797e(0x3ea);},'VARCHAR':({description:_0x1aa708})=>TYPE_VALUE_GENERATORS['TEXT']({'description':_0x1aa708}),'CHAR':({description:_0x29fa07})=>TYPE_VALUE_GENERATORS[a0_0x302a2e(0x3d3)]({'description':_0x29fa07}),'STRING':({fieldInfo:_0x51f46d,description:_0xff1b20})=>{const _0xd1c027=a0_0x302a2e;if(_0x51f46d?.['placeholder']&&typeof _0x51f46d[_0xd1c027(0x200)]===_0xd1c027(0x28b)&&_0x51f46d[_0xd1c027(0x200)]!=='系统自动生成')return _0x51f46d[_0xd1c027(0x200)]['replace'](/^请输入|^请选择/,'');const _0x3c1a0f={};return _0x3c1a0f[_0xd1c027(0x1a2)]=_0xff1b20,TYPE_VALUE_GENERATORS['TEXT'](_0x3c1a0f);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x302a2e(0x18a),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x302a2e(0x3fc)}),'ARRAY':()=>[a0_0x302a2e(0x1db),a0_0x302a2e(0x334)],'UPLOAD':()=>'https://example.com/file.pdf','IMAGE':()=>a0_0x302a2e(0x36c),'RICH_TEXT':()=>a0_0x302a2e(0x2f3)};function generateExampleValue(_0x347178,_0x19f55d,_0x403296,_0x5e5bf6={}){const _0x50ac23=a0_0x302a2e;typeof _0x347178!==_0x50ac23(0x28b)&&(!![]&&console[_0x50ac23(0x3c9)](_0x50ac23(0x18d),_0x347178),_0x347178=String(_0x347178||''));if(typeof _0x19f55d!=='string')return!![]&&console[_0x50ac23(0x3c9)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x19f55d),'示例值';const {isPrimaryKey:_0x2a5739,dbtableConfig:_0x3c13a4}=_0x5e5bf6;if(_0x2a5739)return 0x1;if(_0x3c13a4&&typeof _0x3c13a4==='object'){const _0x2154d2=_0x3c13a4[_0x50ac23(0x184)]?.[_0x50ac23(0x384)]===_0x347178,_0x1577a7=_0x3c13a4['updateTimeField']?.[_0x50ac23(0x384)]===_0x347178;if(_0x2154d2||_0x1577a7){if(_0x403296&&typeof _0x403296===_0x50ac23(0x28b)&&_0x403296[_0x50ac23(0x2b1)]()['includes'](_0x50ac23(0x23f)))return Date['now']();return new Date()[_0x50ac23(0x2df)]()['replace']('T','\x20')[_0x50ac23(0x26b)]('.')[0x0];}}const _0x5f72f={..._0x5e5bf6};_0x5f72f[_0x50ac23(0x1f7)]=_0x347178;const _0x3e2d36=_0x5f72f;if(_0x403296&&typeof _0x403296===_0x50ac23(0x28b)){const _0x389a32=_0x403296['toUpperCase'](),_0x5636c6=TYPE_VALUE_GENERATORS[_0x389a32];if(_0x5636c6)return _0x5636c6(_0x3e2d36);}if(_0x19f55d&&typeof _0x19f55d==='string'){const _0x375e6d=_0x19f55d[_0x50ac23(0x2b1)](),_0x338442=TYPE_VALUE_GENERATORS[_0x375e6d];if(_0x338442)return _0x338442(_0x3e2d36);}return _0x50ac23(0x2c4);}function generateExampleFromSchema(_0x4250b8,_0x1c6b4c){const _0x27abaf=a0_0x302a2e;if(!_0x4250b8||typeof _0x4250b8!==_0x27abaf(0x3d7))return{};if(Array['isArray'](_0x4250b8)){if(_0x4250b8[_0x27abaf(0x356)]>0x0)return[generateExampleFromSchema(_0x4250b8[0x0],_0x1c6b4c)];return[];}const _0x375c93={};return Object[_0x27abaf(0x2b6)](_0x4250b8)[_0x27abaf(0x2ab)](_0x19ad8e=>{const _0x1ab80f=_0x27abaf,_0x19b9e5=_0x4250b8[_0x19ad8e];if(_0x19b9e5&&typeof _0x19b9e5===_0x1ab80f(0x3d7)&&!Array[_0x1ab80f(0x33a)](_0x19b9e5)&&_0x19b9e5[_0x1ab80f(0x343)]){const _0x318139=_0x19b9e5,_0x5c191e=_0x318139[_0x1ab80f(0x343)],_0x22536c=_0x318139[_0x1ab80f(0x1a2)];if(typeof _0x5c191e==='string'){const _0x419157={};_0x419157[_0x1ab80f(0x1a2)]=_0x22536c,_0x419157['dbtableConfig']=_0x1c6b4c,_0x375c93[_0x19ad8e]=generateExampleValue(_0x19ad8e,_0x5c191e,undefined,_0x419157);}else _0x375c93[_0x19ad8e]=_0x1ab80f(0x2c4);}else{if(Array[_0x1ab80f(0x33a)](_0x19b9e5))_0x375c93[_0x19ad8e]=_0x19b9e5[_0x1ab80f(0x356)]>0x0?[generateExampleFromSchema(_0x19b9e5[0x0],_0x1c6b4c)]:[];else _0x19b9e5&&typeof _0x19b9e5==='object'?_0x375c93[_0x19ad8e]=generateExampleFromSchema(_0x19b9e5,_0x1c6b4c):_0x375c93[_0x19ad8e]=_0x19b9e5;}}),_0x375c93;}function parseRequestBody(_0x442c67){const _0x52d051=a0_0x302a2e;if(!_0x442c67)return{};try{return JSON[_0x52d051(0x1d5)](_0x442c67);}catch(_0x3564d0){return!![]&&console[_0x52d051(0x3c9)](_0x52d051(0x338),_0x3564d0),{};}}function parseResponseBody(_0x35de93){const _0xad4c25=a0_0x302a2e;if(!_0x35de93)return null;try{const _0x1ca0f1=JSON[_0xad4c25(0x1d5)](_0x35de93);return _0x1ca0f1[_0xad4c25(0x2c1)]||_0x1ca0f1;}catch(_0x3a0bac){return!![]&&console['warn'](_0xad4c25(0x37b),_0x3a0bac),null;}}function generateRequestExample(_0x18486f,_0x5ba10d,_0x4ba02,_0x4f7b37){const _0x267962=a0_0x302a2e,_0x44bdcf={};if(!Array[_0x267962(0x33a)](_0x18486f))return!![]&&console[_0x267962(0x3c9)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x18486f),_0x44bdcf;return _0x18486f['forEach'](_0x26ac4f=>{const _0xc87dfc=_0x267962;if(!_0x26ac4f||typeof _0x26ac4f!==_0xc87dfc(0x3d7)){!![]&&console[_0xc87dfc(0x3c9)](_0xc87dfc(0x16c),_0x26ac4f);return;}if(typeof _0x26ac4f[_0xc87dfc(0x218)]!==_0xc87dfc(0x28b)||typeof _0x26ac4f[_0xc87dfc(0x343)]!=='string'){!![]&&console[_0xc87dfc(0x3c9)](_0xc87dfc(0x34a),_0x26ac4f);return;}const _0x194d84=parseFieldExtend(_0x26ac4f),_0x5213d6=_0x26ac4f[_0xc87dfc(0x218)]===_0x4ba02||Boolean(_0x194d84?.[_0xc87dfc(0x1c4)]),_0x452b8e=generateExampleValue(_0x26ac4f[_0xc87dfc(0x218)],_0x26ac4f[_0xc87dfc(0x343)],typeof _0x26ac4f['dbType']===_0xc87dfc(0x28b)?_0x26ac4f[_0xc87dfc(0x1f3)]:undefined,{'fieldInfo':_0x194d84,'isPrimaryKey':_0x5213d6,'description':_0x26ac4f[_0xc87dfc(0x1a2)]||_0x26ac4f[_0xc87dfc(0x3f0)],'dbtableConfig':_0x4f7b37});_0x44bdcf[_0x26ac4f['code']]=_0x452b8e;}),_0x5ba10d==='getList'&&(_0x44bdcf[_0x267962(0x1ee)]=0x1,_0x44bdcf['pageSize']=0xa),_0x44bdcf;}function formatEnumValue(_0x30d9b5,_0x14b641){const _0x30c692=a0_0x302a2e;if(_0x30d9b5[_0x30c692(0x20b)]&&Array[_0x30c692(0x33a)](_0x14b641))return _0x14b641[_0x30c692(0x29c)](_0x3feddd=>_0x30d9b5[_0x30c692(0x277)][String(_0x3feddd)]||String(_0x3feddd))[_0x30c692(0x35e)](',\x20');return _0x30d9b5[_0x30c692(0x277)][String(_0x14b641)]||String(_0x14b641);}function formatOptionsForDoc(_0x478291){const _0x32816c=a0_0x302a2e;return _0x478291[_0x32816c(0x29c)](_0x3a5c5f=>_0x3a5c5f['value']+'('+_0x3a5c5f[_0x32816c(0x2d5)]+')')[_0x32816c(0x35e)](',\x20');}function formatOptionsAsMarkdownList(_0xcbc268,_0x5422ab=0x0){const _0x2edfcd=a0_0x302a2e,_0x1790ab='\x20\x20'['repeat'](_0x5422ab),_0x55e615=[];return _0xcbc268[_0x2edfcd(0x2ab)](_0x56378e=>{const _0x4d1777=_0x2edfcd;_0x55e615[_0x4d1777(0x3a6)](_0x1790ab+'-\x20`'+_0x56378e['value']+_0x4d1777(0x27b)+_0x56378e[_0x4d1777(0x2d5)]),_0x56378e[_0x4d1777(0x3df)]&&_0x56378e[_0x4d1777(0x3df)][_0x4d1777(0x356)]>0x0&&_0x55e615[_0x4d1777(0x3a6)](formatOptionsAsMarkdownList(_0x56378e[_0x4d1777(0x3df)],_0x5422ab+0x1));}),_0x55e615['join']('\x0a');}class DbtableConfig{[a0_0x302a2e(0x322)];constructor(_0x3550ce){const _0x293325=a0_0x302a2e,_0x10de55={..._0x3550ce};this[_0x293325(0x322)]=_0x10de55;}get[a0_0x302a2e(0x329)](){return this['_raw']['dbId'];}get[a0_0x302a2e(0x37a)](){const _0x302d81=a0_0x302a2e;return this[_0x302d81(0x322)][_0x302d81(0x37a)]??this[_0x302d81(0x322)]['dblinkInfoDTO']?.[_0x302d81(0x37a)];}get[a0_0x302a2e(0x1b6)](){const _0x4e7e93=a0_0x302a2e;return this[_0x4e7e93(0x322)][_0x4e7e93(0x1b6)];}get[a0_0x302a2e(0x390)](){const _0x52d0f0=a0_0x302a2e;return this[_0x52d0f0(0x322)][_0x52d0f0(0x390)];}get[a0_0x302a2e(0x2ce)](){const _0x305ae=a0_0x302a2e;return this['_raw'][_0x305ae(0x2ce)];}get[a0_0x302a2e(0x207)](){const _0x2b2784=a0_0x302a2e;return this['_raw'][_0x2b2784(0x207)];}get[a0_0x302a2e(0x2cb)](){const _0x2bec80=a0_0x302a2e;return this[_0x2bec80(0x322)][_0x2bec80(0x2cb)];}get[a0_0x302a2e(0x184)](){const _0x86a25f=a0_0x302a2e;return this[_0x86a25f(0x322)]['createTimeField'];}get[a0_0x302a2e(0x23c)](){const _0x2b31c6=a0_0x302a2e;return this[_0x2b31c6(0x322)]['updateTimeField'];}get[a0_0x302a2e(0x220)](){const _0x97908e=a0_0x302a2e;return this[_0x97908e(0x322)][_0x97908e(0x220)];}get[a0_0x302a2e(0x168)](){const _0x4d9823=a0_0x302a2e;return this[_0x4d9823(0x322)]['creatorNameField'];}get['modifierIdField'](){const _0x157369=a0_0x302a2e;return this[_0x157369(0x322)][_0x157369(0x222)];}get[a0_0x302a2e(0x1ae)](){const _0xb5e6de=a0_0x302a2e;return this[_0xb5e6de(0x322)][_0xb5e6de(0x1ae)];}get[a0_0x302a2e(0x1d3)](){return this['_raw']['dblinkInfoDTO'];}['getAllFieldsArray'](){const _0xa56354=a0_0x302a2e;if(!this[_0xa56354(0x322)][_0xa56354(0x2f6)])return[];return this['_raw'][_0xa56354(0x2f6)][_0xa56354(0x26b)](',')['map'](_0x464f8d=>_0x464f8d[_0xa56354(0x401)]())[_0xa56354(0x1a8)](Boolean);}[a0_0x302a2e(0x166)](){const _0x247773=a0_0x302a2e;return this[_0x247773(0x322)]['allFields'];}[a0_0x302a2e(0x2ac)](_0x57dcf1){const _0x3a3b73=a0_0x302a2e;return this[_0x3a3b73(0x15c)]()[_0x3a3b73(0x397)](_0x57dcf1);}['hasTableName'](){const _0x262575=a0_0x302a2e;return Boolean(this[_0x262575(0x322)]['tableName']);}[a0_0x302a2e(0x167)](){const _0x5eb247=a0_0x302a2e;return Boolean(this[_0x5eb247(0x322)][_0x5eb247(0x1d3)]);}[a0_0x302a2e(0x265)](){const _0x35f699=a0_0x302a2e;return Boolean(this[_0x35f699(0x322)][_0x35f699(0x2cb)]?.[_0x35f699(0x384)]);}[a0_0x302a2e(0x2fe)](){const _0x51a68d=a0_0x302a2e;return Boolean(this[_0x51a68d(0x322)][_0x51a68d(0x184)]?.[_0x51a68d(0x384)]);}[a0_0x302a2e(0x32d)](){const _0x438950=a0_0x302a2e;return Boolean(this['_raw']['updateTimeField']?.[_0x438950(0x384)]);}[a0_0x302a2e(0x1e6)](){const _0x1d6d62=a0_0x302a2e;return Boolean(this['_raw'][_0x1d6d62(0x220)]?.[_0x1d6d62(0x384)]);}[a0_0x302a2e(0x285)](){const _0x4a61ea=a0_0x302a2e;return Boolean(this[_0x4a61ea(0x322)][_0x4a61ea(0x222)]?.[_0x4a61ea(0x384)]);}[a0_0x302a2e(0x29a)](_0x405c51){const _0x1e1934=a0_0x302a2e;return this[_0x1e1934(0x322)][_0x1e1934(0x2ce)]===_0x405c51;}['isSystemField'](_0x30c74c){const _0x4566c0=a0_0x302a2e;return this[_0x4566c0(0x29a)](_0x30c74c)||this['_raw'][_0x4566c0(0x2cb)]?.['fieldName']===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x184)]?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)]['updateTimeField']?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)]['creatorIdField']?.['fieldName']===_0x30c74c||this[_0x4566c0(0x322)]['creatorNameField']?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x222)]?.[_0x4566c0(0x384)]===_0x30c74c||this[_0x4566c0(0x322)][_0x4566c0(0x1ae)]?.[_0x4566c0(0x384)]===_0x30c74c;}[a0_0x302a2e(0x2ee)](){const _0x472630=a0_0x302a2e;return this['_raw'][_0x472630(0x1d3)]?.[_0x472630(0x37a)];}['getDatabaseType'](){const _0x2cd78e=a0_0x302a2e;return this[_0x2cd78e(0x322)][_0x2cd78e(0x1d3)]?.[_0x2cd78e(0x1f3)];}[a0_0x302a2e(0x264)](){const _0x2b2425=a0_0x302a2e;return this['_raw'][_0x2b2425(0x1d3)]?.[_0x2b2425(0x224)];}[a0_0x302a2e(0x21e)](){const _0x37f518=a0_0x302a2e;return this[_0x37f518(0x322)][_0x37f518(0x1d3)]?.[_0x37f518(0x248)];}[a0_0x302a2e(0x3a9)](){const _0x47566a=a0_0x302a2e;return this[_0x47566a(0x322)][_0x47566a(0x1d3)]?.[_0x47566a(0x37d)];}['getSystemAnalysisResult'](){const _0x1dfe79=a0_0x302a2e;return this[_0x1dfe79(0x322)][_0x1dfe79(0x1d3)]?.['systemAnalysisResult'];}[a0_0x302a2e(0x3bb)](){const _0x1d2da7=a0_0x302a2e;return{'hasTableName':this[_0x1d2da7(0x18b)](),'hasDblinkInfo':this[_0x1d2da7(0x167)](),'fieldCount':this[_0x1d2da7(0x15c)]()[_0x1d2da7(0x356)],'systemFields':{'hasLogicField':this['hasLogicField'](),'hasCreateTimeField':this[_0x1d2da7(0x2fe)](),'hasUpdateTimeField':this['hasUpdateTimeField'](),'hasCreatorIdField':this['hasCreatorIdField'](),'hasModifierIdField':this[_0x1d2da7(0x285)]()}};}['toConfig'](){const _0xa9a50c=a0_0x302a2e,_0x3598ce={};return _0x3598ce[_0xa9a50c(0x1b6)]=this[_0xa9a50c(0x1b6)],_0x3598ce[_0xa9a50c(0x2ce)]=this['pkField'],_0x3598ce[_0xa9a50c(0x390)]=this[_0xa9a50c(0x390)],_0x3598ce[_0xa9a50c(0x329)]=this['dbId'],_0x3598ce;}[a0_0x302a2e(0x1f2)](){const _0x1ef51c=a0_0x302a2e,_0x18fb86={...this[_0x1ef51c(0x322)]};return _0x18fb86;}[a0_0x302a2e(0x3f7)](){const _0x115ce6=a0_0x302a2e,_0x420952={...this[_0x115ce6(0x322)]};return _0x420952;}[a0_0x302a2e(0x408)](){const _0x57e1a1=a0_0x302a2e,_0xf38c2d=this['tableName']||'N/A',_0x244c17=this[_0x57e1a1(0x15c)]()[_0x57e1a1(0x356)];return'DbtableConfig(table:\x20'+_0xf38c2d+_0x57e1a1(0x2dd)+_0x244c17+')';}static[a0_0x302a2e(0x3b9)](){return new DbtableConfig({});}}class DatasetItem{[a0_0x302a2e(0x322)];constructor(_0x262f56){const _0x217bd4=a0_0x302a2e,_0xa4dcd1=_0x262f56[_0x217bd4(0x357)]||_0x262f56[_0x217bd4(0x218)]||_0x262f56[_0x217bd4(0x22b)],_0x3af9cd={..._0x262f56};_0x3af9cd[_0x217bd4(0x357)]=_0xa4dcd1,this[_0x217bd4(0x322)]=_0x3af9cd;}get['id'](){return this['_raw']['id'];}get['name'](){const _0x4869d3=a0_0x302a2e;return this['_raw'][_0x4869d3(0x3f0)];}[a0_0x302a2e(0x2d2)](){const _0x3a2ca9=a0_0x302a2e;return this[_0x3a2ca9(0x3f0)];}get[a0_0x302a2e(0x357)](){const _0x4dcd71=a0_0x302a2e;return this[_0x4dcd71(0x322)][_0x4dcd71(0x357)]||'';}get[a0_0x302a2e(0x1e9)](){const _0x1e2878=a0_0x302a2e;if(!this[_0x1e2878(0x322)][_0x1e2878(0x1e9)])return null;return new DbtableConfig(this[_0x1e2878(0x322)][_0x1e2878(0x1e9)]);}[a0_0x302a2e(0x339)](){return this['_raw']['dbtableConfig'];}[a0_0x302a2e(0x1eb)](){const _0x1b33c4=a0_0x302a2e;return this[_0x1b33c4(0x1e9)]?.[_0x1b33c4(0x37a)]||'';}[a0_0x302a2e(0x39a)](){const _0x1d0a7b=a0_0x302a2e;return getTableName(this[_0x1d0a7b(0x322)]);}[a0_0x302a2e(0x2a6)](){const _0x30ca44=a0_0x302a2e;return getTableKey(this[_0x30ca44(0x39a)]());}[a0_0x302a2e(0x219)](){const _0x2605de=a0_0x302a2e;return generateModelKeyFromCode(this[_0x2605de(0x357)]);}[a0_0x302a2e(0x337)](){const _0x4464c6=a0_0x302a2e;return isVirtualTableName(this[_0x4464c6(0x39a)]());}[a0_0x302a2e(0x3b4)](){const _0x18fc20=a0_0x302a2e;return getTableKey(this[_0x18fc20(0x39a)]());}[a0_0x302a2e(0x32f)](){const _0x328813=a0_0x302a2e,_0x2f678f=getTableKey(this['getTableName']());return{'key':_0x2f678f,'alias':_0x2f678f,'tableName':this['getTableName'](),'datasetCode':this['datasetCode'],'name':this[_0x328813(0x3f0)]};}[a0_0x302a2e(0x1f2)](){const _0x14b98f=a0_0x302a2e,_0x591bb8={...this[_0x14b98f(0x322)]};return _0x591bb8['datasetCode']=this[_0x14b98f(0x357)],_0x591bb8;}[a0_0x302a2e(0x3f7)](){const _0x5dd22f=a0_0x302a2e,_0x5762e7={...this[_0x5dd22f(0x322)]};return _0x5762e7;}[a0_0x302a2e(0x3e6)](){const _0x25091e=this['dbtableConfig'];return _0x25091e!==null&&_0x25091e['hasTableName']();}[a0_0x302a2e(0x175)](_0x1cd841){const _0x5d0fe9=a0_0x302a2e;return this[_0x5d0fe9(0x322)][_0x1cd841];}[a0_0x302a2e(0x259)](_0x20625){const _0x23aec8=a0_0x302a2e;return _0x20625 in this[_0x23aec8(0x322)];}[a0_0x302a2e(0x408)](){const _0xe22b9=a0_0x302a2e;return'DatasetItem('+this['name']+',\x20'+this[_0xe22b9(0x357)]+')';}}class Operation{[a0_0x302a2e(0x3f0)];[a0_0x302a2e(0x322)];[a0_0x302a2e(0x366)];constructor(_0x5c125e,_0x367992,_0x207871){const _0x37f7c4=a0_0x302a2e;this['name']=_0x5c125e,this[_0x37f7c4(0x322)]=_0x367992,this['context']=_0x207871;}[a0_0x302a2e(0x2d2)](){const _0x743b1=a0_0x302a2e;return this[_0x743b1(0x3f0)];}[a0_0x302a2e(0x388)](){const _0x58c5b8=a0_0x302a2e;return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this[_0x58c5b8(0x3f0)];}[a0_0x302a2e(0x3ec)](){const _0x6d396d=a0_0x302a2e;return parseOperationType(this[_0x6d396d(0x3f0)]);}[a0_0x302a2e(0x173)](){const _0x2765e8=a0_0x302a2e;return this[_0x2765e8(0x322)]!==null&&this[_0x2765e8(0x322)]!==![];}[a0_0x302a2e(0x20d)](){const _0x5ef695=a0_0x302a2e,_0x4002da=this[_0x5ef695(0x322)];if(_0x4002da===![]||_0x4002da===null)return'';return _0x4002da['method']||_0x5ef695(0x3b8);}[a0_0x302a2e(0x1a7)](){const _0x24f455=a0_0x302a2e,_0x450c8f=this[_0x24f455(0x322)];if(_0x450c8f===![]||_0x450c8f===null)return'';return _0x450c8f[_0x24f455(0x176)]||'';}[a0_0x302a2e(0x22f)](){const _0x5f1b47=a0_0x302a2e,_0x561c37=this[_0x5f1b47(0x322)];let _0x310fcf='';_0x561c37!==![]&&_0x561c37!==null&&_0x561c37[_0x5f1b47(0x39b)]&&(_0x310fcf=_0x561c37[_0x5f1b47(0x39b)]);const _0x2fbb7f=this['getPath']();return _0x310fcf&&_0x2fbb7f?''+_0x310fcf+_0x2fbb7f:_0x2fbb7f;}['parseRawRequestBody'](){const _0x251ac6=a0_0x302a2e,_0x4c64ad=this['_raw'];if(_0x4c64ad===![]||_0x4c64ad===null||!_0x4c64ad['requestBody'])return{};try{return JSON[_0x251ac6(0x1d5)](_0x4c64ad[_0x251ac6(0x368)]);}catch{return{};}}[a0_0x302a2e(0x234)](){const _0x18d40d=a0_0x302a2e,_0x2c84e6=this['_raw'];if(_0x2c84e6===![]||_0x2c84e6===null||!_0x2c84e6[_0x18d40d(0x398)])return null;return parseResponseBody(_0x2c84e6[_0x18d40d(0x398)]);}['getRequestParams'](){const _0x3d0a5d=a0_0x302a2e;return this[_0x3d0a5d(0x318)]();}[a0_0x302a2e(0x18c)](){const _0x292ec0=a0_0x302a2e;return this[_0x292ec0(0x234)]();}['getRequestFields'](){const _0xfe3e58=a0_0x302a2e,_0x5392ca=this['getRequestParams']();return Object[_0xfe3e58(0x2b6)](_0x5392ca);}[a0_0x302a2e(0x2a9)](){const _0x148a1c=a0_0x302a2e,_0x40368e=this['getRequestParams'](),_0x416c09={};return Object[_0x148a1c(0x323)](_0x40368e)[_0x148a1c(0x2ab)](([_0x215195,_0x18f5f2])=>{const _0x44f0d0=_0x148a1c,_0x48795d=_0x18f5f2;_0x416c09[_0x215195]=generateExampleValue(_0x215195,_0x48795d['type']||'String',undefined,{'description':_0x48795d[_0x44f0d0(0x1a2)]});}),_0x416c09;}[a0_0x302a2e(0x154)](){const _0x1fb960=a0_0x302a2e;return this[_0x1fb960(0x2a9)]();}[a0_0x302a2e(0x18e)](){const _0x1bb50c=a0_0x302a2e,_0x8f2307=this[_0x1bb50c(0x234)]();if(!_0x8f2307){const _0x133929={};return _0x133929['success']=!![],_0x133929['msg']=_0x1bb50c(0x3dc),_0x133929[_0x1bb50c(0x165)]='',_0x133929[_0x1bb50c(0x201)]=_0x1bb50c(0x346),_0x133929['data']=null,_0x133929;}return this[_0x1bb50c(0x1ec)](_0x8f2307);}[a0_0x302a2e(0x1ec)](_0x5c53ad){const _0x33bd18=a0_0x302a2e;if(!_0x5c53ad||typeof _0x5c53ad!==_0x33bd18(0x3d7))return{};if(Array[_0x33bd18(0x33a)](_0x5c53ad))return _0x5c53ad[_0x33bd18(0x356)]>0x0?[this[_0x33bd18(0x1ec)](_0x5c53ad[0x0])]:[];const _0xd35d4d={};for(const [_0x497939,_0x179bb2]of Object['entries'](_0x5c53ad)){if(_0x179bb2&&typeof _0x179bb2===_0x33bd18(0x3d7)&&!Array['isArray'](_0x179bb2)){const _0x363ac4=_0x179bb2;_0xd35d4d[_0x497939]=generateExampleValue(_0x497939,_0x363ac4[_0x33bd18(0x343)]||'String',undefined,{'description':_0x363ac4[_0x33bd18(0x1a2)]});}else Array[_0x33bd18(0x33a)](_0x179bb2)?_0xd35d4d[_0x497939]=_0x179bb2['length']>0x0?[this[_0x33bd18(0x1ec)](_0x179bb2[0x0])]:[]:_0xd35d4d[_0x497939]=_0x179bb2;}return _0xd35d4d;}[a0_0x302a2e(0x1f8)](_0x233401,_0x3bfdac,_0x2e881b,_0x2ee89e){return generateExampleValue(_0x233401,_0x3bfdac,_0x2e881b,_0x2ee89e);}[a0_0x302a2e(0x2bc)](_0x59275b,_0x1563f4){const _0xbe965f=a0_0x302a2e,_0x3e1cd0=this[_0xbe965f(0x2d2)]();return _0xbe965f(0x2ae)+_0x59275b+'.'+_0x3e1cd0+_0xbe965f(0x283);}['generateUsageExample'](_0x3b0cbd){const _0x348200=a0_0x302a2e,_0x430c57=this[_0x348200(0x2d2)](),_0x3aad63=_0x3b0cbd||_0x348200(0x30c),_0x80e7db={};return _0x80e7db[_0x348200(0x3e8)]='const\x20data\x20=\x20await\x20client.models.'+_0x3aad63+'.'+_0x430c57+_0x348200(0x283),_0x80e7db[_0x348200(0x201)]=_0x348200(0x230)+_0x3aad63+'.'+_0x430c57+_0x348200(0x257),_0x80e7db;}[a0_0x302a2e(0x247)](){const _0x5d7afb=a0_0x302a2e,_0x5a2af0=this['getRequestParams'](),_0x49725f=Object[_0x5d7afb(0x323)](_0x5a2af0)[_0x5d7afb(0x29c)](([_0x2144be,_0x338755])=>{const _0xf101c6=_0x5d7afb,_0x29369a=_0x338755,_0x5ea30a={};return _0x5ea30a[_0xf101c6(0x3f0)]=_0x2144be,_0x5ea30a[_0xf101c6(0x343)]=_0x29369a['type']||_0xf101c6(0x196),_0x5ea30a['description']=_0x29369a['description']||'-',_0x5ea30a[_0xf101c6(0x2db)]=_0x29369a[_0xf101c6(0x2db)],_0x5ea30a;}),_0xfa0f60={};return _0xfa0f60[_0x5d7afb(0x17b)]=_0x49725f,_0xfa0f60;}[a0_0x302a2e(0x1d1)](){const _0x5a576c=a0_0x302a2e,_0x5a4e9a=this[_0x5a576c(0x234)]();if(!_0x5a4e9a){const _0x24ed74={};return _0x24ed74['params']=[],_0x24ed74;}const _0x1d5723=Object[_0x5a576c(0x323)](_0x5a4e9a)['map'](([_0x4d309e,_0x37b8f7])=>{const _0x5b957f=_0x5a576c,_0x2a98e8=_0x37b8f7,_0x35a86b={};return _0x35a86b[_0x5b957f(0x3f0)]=_0x4d309e,_0x35a86b[_0x5b957f(0x343)]=_0x2a98e8[_0x5b957f(0x343)]||_0x5b957f(0x196),_0x35a86b[_0x5b957f(0x1a2)]=_0x2a98e8[_0x5b957f(0x1a2)]||'-',_0x35a86b;}),_0x5a642f={};return _0x5a642f[_0x5a576c(0x17b)]=_0x1d5723,_0x5a642f;}[a0_0x302a2e(0x33c)](){return[];}[a0_0x302a2e(0x3d1)](){const _0x52f8e4=a0_0x302a2e;return this[_0x52f8e4(0x366)][_0x52f8e4(0x2d1)]||[];}[a0_0x302a2e(0x282)](){const _0x5ead8b=a0_0x302a2e;return{'systemFields':this['getSystemFields'](),'businessFields':this[_0x5ead8b(0x3d1)]()};}[a0_0x302a2e(0x17c)](_0x288894){const _0x314e0d=a0_0x302a2e;return this[_0x314e0d(0x366)]['fields'][_0x314e0d(0x363)](_0x4f09cb=>_0x4f09cb?.['code']===_0x288894);}['getFieldCode'](_0x21ff3d){const _0x3de400=a0_0x302a2e;return _0x21ff3d[_0x3de400(0x218)];}[a0_0x302a2e(0x30e)](_0x9ff159){return _0x9ff159['type'];}[a0_0x302a2e(0x1c5)](_0x108f1e){const _0xb9bafc=a0_0x302a2e;return _0x108f1e[_0xb9bafc(0x3f0)];}['getFieldDescription'](_0x1d4cd6){const _0x4108e2=a0_0x302a2e;return _0x1d4cd6[_0x4108e2(0x1a2)];}[a0_0x302a2e(0x2d6)](_0x200ac7){const _0xa7b0d7=a0_0x302a2e;return _0x200ac7[_0xa7b0d7(0x3c6)]()||null;}[a0_0x302a2e(0x30b)](_0x31e38b){return _0x31e38b['isPrimaryKey']();}[a0_0x302a2e(0x3b7)](){return[];}['getFieldOperators'](_0x1a4281){return[];}['toJSON'](){const _0x46d7a1=a0_0x302a2e;return{'name':this[_0x46d7a1(0x2d2)](),'displayName':this[_0x46d7a1(0x388)](),'type':this[_0x46d7a1(0x3ec)](),'enabled':this[_0x46d7a1(0x173)](),'method':this[_0x46d7a1(0x20d)](),'path':this[_0x46d7a1(0x1a7)](),'fullUrl':this[_0x46d7a1(0x22f)](),'requestParams':this[_0x46d7a1(0x256)](),'requestExample':this[_0x46d7a1(0x2a9)](),'responseExample':this['generateResponseExample']()};}['toString'](){const _0x267f5b=a0_0x302a2e,_0x4ab8ab=this[_0x267f5b(0x173)]()?'启用':'禁用';return this['getDisplayName']()+'('+this[_0x267f5b(0x3f0)]+',\x20'+_0x4ab8ab+')';}}class GenericOperation extends Operation{['_requestExampleCache'];[a0_0x302a2e(0x256)](){const _0x628202=a0_0x302a2e;return this[_0x628202(0x318)]();}[a0_0x302a2e(0x18c)](){return this['parseRawResponseBody']();}[a0_0x302a2e(0x2a9)](){const _0x4c1150=a0_0x302a2e;if(this[_0x4c1150(0x1d2)])return this['_requestExampleCache'];const _0x181960={},_0x2b3eb9=this[_0x4c1150(0x256)](),_0x42d5aa=this[_0x4c1150(0x3ec)]();if(Object[_0x4c1150(0x2b6)](_0x2b3eb9)[_0x4c1150(0x356)]===0x0&&_0x42d5aa){const _0x52d7dc=this['getBusinessFields']();return _0x52d7dc['forEach'](_0x5a23ba=>{const _0x2fbed6=_0x4c1150,_0x4121f2=_0x5a23ba[_0x2fbed6(0x218)],_0x18acb1=_0x5a23ba[_0x2fbed6(0x343)],_0x4a57a9=this[_0x2fbed6(0x1f8)](_0x4121f2,_0x18acb1,_0x5a23ba[_0x2fbed6(0x25b)](),{'isPrimaryKey':_0x5a23ba[_0x2fbed6(0x3b6)](),'description':_0x5a23ba[_0x2fbed6(0x1a2)]||_0x5a23ba[_0x2fbed6(0x3f0)]});_0x181960[_0x4121f2]=_0x4a57a9;}),this[_0x4c1150(0x1d2)]=_0x181960,_0x181960;}return Object[_0x4c1150(0x323)](_0x2b3eb9)[_0x4c1150(0x2ab)](([_0x14023e,_0x2ec6c2])=>{const _0x420bb9=_0x4c1150,_0x52cd12=_0x2ec6c2;let _0x2059c4;if(typeof _0x52cd12[_0x420bb9(0x343)]===_0x420bb9(0x28b))_0x2059c4=_0x52cd12['type'];else _0x52cd12[_0x420bb9(0x343)]&&typeof _0x52cd12[_0x420bb9(0x343)]===_0x420bb9(0x3d7)?_0x2059c4=_0x52cd12[_0x420bb9(0x343)][_0x420bb9(0x343)]||'TEXT':_0x2059c4='TEXT';const _0x1a6303=_0x52cd12[_0x420bb9(0x1a2)],_0x5bab8b=this[_0x420bb9(0x17c)](_0x14023e);if(_0x14023e===_0x420bb9(0x1ee))_0x181960[_0x14023e]=0x1;else{if(_0x14023e===_0x420bb9(0x27c))_0x181960[_0x14023e]=0xa;else{if(_0x14023e==='id')_0x181960[_0x14023e]=0x1;else{const _0x2a9e90=_0x5bab8b?_0x5bab8b[_0x420bb9(0x25b)]():undefined,_0x40d52=_0x5bab8b?_0x5bab8b[_0x420bb9(0x1a2)]:undefined,_0x2a6b18=_0x5bab8b?_0x5bab8b['name']:undefined;_0x181960[_0x14023e]=this['generateFieldExample'](_0x14023e,_0x2059c4,_0x2a9e90||undefined,{'isPrimaryKey':_0x14023e===this[_0x420bb9(0x366)][_0x420bb9(0x2ce)]||_0x14023e==='id','description':_0x1a6303||_0x40d52||_0x2a6b18});}}}}),this[_0x4c1150(0x1d2)]=_0x181960,_0x181960;}[a0_0x302a2e(0x18e)](){const _0x306fb4=a0_0x302a2e,_0x48953a=this[_0x306fb4(0x18c)]();if(!_0x48953a){const _0x414d8c={};return _0x414d8c[_0x306fb4(0x263)]=!![],_0x414d8c['msg']=_0x306fb4(0x3dc),_0x414d8c[_0x306fb4(0x165)]='',_0x414d8c['errorCode']=_0x306fb4(0x346),_0x414d8c['data']=null,_0x414d8c;}return this[_0x306fb4(0x1ec)](_0x48953a);}[a0_0x302a2e(0x1ec)](_0x483891){const _0x38723d=a0_0x302a2e;if(!_0x483891||typeof _0x483891!=='object')return{};if(Array[_0x38723d(0x33a)](_0x483891)){if(_0x483891[_0x38723d(0x356)]>0x0)return[this['generateFromSchema'](_0x483891[0x0])];return[];}const _0x2998f2={};return Object[_0x38723d(0x2b6)](_0x483891)[_0x38723d(0x2ab)](_0x388608=>{const _0xb00a15=_0x38723d,_0x17eb61=_0x483891[_0x388608];if(_0x17eb61&&typeof _0x17eb61==='object'&&!Array[_0xb00a15(0x33a)](_0x17eb61)&&_0x17eb61[_0xb00a15(0x343)]){const _0x9fc747=_0x17eb61;let _0x10beea;if(typeof _0x9fc747[_0xb00a15(0x343)]==='string')_0x10beea=_0x9fc747[_0xb00a15(0x343)];else _0x9fc747[_0xb00a15(0x343)]&&typeof _0x9fc747['type']===_0xb00a15(0x3d7)?_0x10beea=_0x9fc747['type']['type']||_0xb00a15(0x3d3):_0x10beea=_0xb00a15(0x3d3);const _0x133728=_0x9fc747[_0xb00a15(0x1a2)],_0x525a46={};_0x525a46[_0xb00a15(0x1a2)]=_0x133728,_0x2998f2[_0x388608]=this['generateFieldExample'](_0x388608,_0x10beea,undefined,_0x525a46);}else{if(Array[_0xb00a15(0x33a)](_0x17eb61))_0x2998f2[_0x388608]=_0x17eb61[_0xb00a15(0x356)]>0x0?[this[_0xb00a15(0x1ec)](_0x17eb61[0x0])]:[];else _0x17eb61&&typeof _0x17eb61===_0xb00a15(0x3d7)?_0x2998f2[_0x388608]=this['generateFromSchema'](_0x17eb61):_0x2998f2[_0x388608]=_0x17eb61;}}),_0x2998f2;}[a0_0x302a2e(0x2bc)](_0x5e07ee,_0x2b0f7f){const _0x16c998=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2b0f7f||{},_0x10bb60=this['getName'](),_0x3295d8=this[_0x16c998(0x3ec)](),_0x353bed=this[_0x16c998(0x16d)](),_0x4d6e79=this['generateRequestExample'](),_0x2b76bd=_0x4fe13d=>{const _0x3511af=_0x16c998;if(Object[_0x3511af(0x2b6)](_0x4fe13d)['length']===0x0)return'{}';const _0x3d6632=JSON[_0x3511af(0x2da)](_0x4fe13d,null,0x2)[_0x3511af(0x26b)]('\x0a')[_0x3511af(0x29c)]((_0x4d0b88,_0x44daf9)=>_0x44daf9===0x0?_0x4d0b88:indent+_0x4d0b88)['join']('\x0a');return _0x3d6632;};switch(_0x3295d8){case'getOne':case _0x16c998(0x253):return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x313);case _0x16c998(0x231):if(useFullExample&&Object['keys'](_0x4d6e79)[_0x16c998(0x356)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x1f9)+_0x2b76bd(_0x4d6e79)+');';return'const\x20result\x20=\x20await\x20client.models.'+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x25a);case'create':case'getList':case _0x16c998(0x2d9):default:if(_0x353bed[_0x16c998(0x356)]>0x0){if(useFullExample&&Object[_0x16c998(0x2b6)](_0x4d6e79)[_0x16c998(0x356)]>0x0)return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+'('+_0x2b76bd(_0x4d6e79)+');';else{const _0x407173=Object[_0x16c998(0x2b6)](_0x4d6e79);if(_0x407173[_0x16c998(0x356)]>0x0){const _0x3da6a0=_0x407173['slice'](0x0,0x2)[_0x16c998(0x35e)](',\x20');return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x1a9)+_0x3da6a0+_0x16c998(0x26f);}else return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x296);}}else return _0x16c998(0x2ae)+_0x5e07ee+'.'+_0x10bb60+_0x16c998(0x283);}}[a0_0x302a2e(0x2dc)](){const _0x725d4=a0_0x302a2e;return[{'title':_0x725d4(0x162),'data':this['generateRequestExample']()}];}[a0_0x302a2e(0x33c)](){const _0x23dad4=a0_0x302a2e,_0x3f5df8=this['getType'](),_0x1c7cb9=[];switch(_0x3f5df8){case _0x23dad4(0x287):case _0x23dad4(0x253):const _0x10363c={};_0x10363c['code']='id',_0x10363c[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x10363c[_0x23dad4(0x1a2)]=_0x23dad4(0x187),_0x1c7cb9['push'](_0x10363c);break;case _0x23dad4(0x2fd):const _0x32f86c={};_0x32f86c[_0x23dad4(0x218)]='currentPage',_0x32f86c[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x32f86c[_0x23dad4(0x1a2)]=_0x23dad4(0x19d);const _0x21e46e={};_0x21e46e[_0x23dad4(0x218)]=_0x23dad4(0x27c),_0x21e46e[_0x23dad4(0x343)]=_0x23dad4(0x24b),_0x21e46e[_0x23dad4(0x1a2)]=_0x23dad4(0x2e0),_0x1c7cb9[_0x23dad4(0x3a6)](_0x32f86c,_0x21e46e);break;case'getSelectOptions':const _0x24d7a0={};_0x24d7a0['code']='code',_0x24d7a0['type']='STRING',_0x24d7a0[_0x23dad4(0x1a2)]=_0x23dad4(0x1c6),_0x1c7cb9[_0x23dad4(0x3a6)](_0x24d7a0);break;default:break;}return _0x1c7cb9;}[a0_0x302a2e(0x3d1)](){const _0xb35ac4=a0_0x302a2e,_0x134cf0=this[_0xb35ac4(0x3ec)](),_0x18ed3d=this['context'][_0xb35ac4(0x2d1)]||[];switch(_0x134cf0){case _0xb35ac4(0x287):case _0xb35ac4(0x253):return[];case _0xb35ac4(0x289):case'batchCreate':return _0x18ed3d[_0xb35ac4(0x1a8)](_0x46d9fd=>{const _0x53abc4=_0xb35ac4;if(_0x46d9fd[_0x53abc4(0x1c8)])return![];if(_0x46d9fd[_0x53abc4(0x3b6)]()&&_0x46d9fd[_0x53abc4(0x27e)]())return![];if(_0x46d9fd[_0x53abc4(0x374)]())return![];if(_0x46d9fd[_0x53abc4(0x2f5)]()||_0x46d9fd[_0x53abc4(0x32c)]())return![];return!![];});case _0xb35ac4(0x231):return _0x18ed3d['filter'](_0x3a246f=>{const _0x23401f=_0xb35ac4;if(_0x3a246f[_0x23401f(0x1c8)])return![];if(_0x3a246f[_0x23401f(0x3b6)]())return![];if(_0x3a246f[_0x23401f(0x374)]())return![];if(_0x3a246f[_0x23401f(0x2f5)]()||_0x3a246f[_0x23401f(0x32c)]())return![];if(_0x3a246f[_0x23401f(0x27e)]())return![];return!![];});case _0xb35ac4(0x2fd):case'getSelectOptions':return _0x18ed3d['filter'](_0x3896b1=>!_0x3896b1[_0xb35ac4(0x1c8)]&&_0x3896b1[_0xb35ac4(0x271)]());default:return _0x18ed3d['filter'](_0x2fcade=>!_0x2fcade[_0xb35ac4(0x1c8)]&&_0x2fcade[_0xb35ac4(0x271)]());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x2c1c68=a0_0x302a2e,_0x36b7b5=super[_0x2c1c68(0x256)](),_0x5dfa04=Object[_0x2c1c68(0x2b6)](_0x36b7b5);if(_0x5dfa04[_0x2c1c68(0x356)]===0x0||_0x5dfa04['length']===0x1&&_0x5dfa04[0x0]===_0x2c1c68(0x218)){if(!_0x36b7b5[_0x2c1c68(0x218)]){const _0x292f5e={};_0x292f5e['type']='String',_0x292f5e['description']=_0x2c1c68(0x14e),_0x36b7b5[_0x2c1c68(0x218)]=_0x292f5e;}const _0x4344ad={};_0x4344ad['type']=_0x2c1c68(0x196),_0x4344ad['description']=_0x2c1c68(0x286),_0x36b7b5[_0x2c1c68(0x2d5)]=_0x4344ad;}return _0x36b7b5;}[a0_0x302a2e(0x3d1)](){return[];}['getSystemFields'](){const _0x526a27=a0_0x302a2e,_0x4d0061={};_0x4d0061['code']='code',_0x4d0061['type']=_0x526a27(0x196),_0x4d0061['description']=_0x526a27(0x14e);const _0x1074b4={};return _0x1074b4['code']=_0x526a27(0x2d5),_0x1074b4[_0x526a27(0x343)]=_0x526a27(0x196),_0x1074b4[_0x526a27(0x1a2)]=_0x526a27(0x286),[_0x4d0061,_0x1074b4];}[a0_0x302a2e(0x2a9)](){const _0xbd3ea=a0_0x302a2e,_0x12cb86={};return _0x12cb86[_0xbd3ea(0x218)]=_0xbd3ea(0x3fb),_0x12cb86['label']=_0xbd3ea(0x3fb),_0x12cb86;}['generateSDKCallCode'](_0x421c83){const _0x16dc0d=a0_0x302a2e,_0x2bc0bc=this['getName']();return _0x16dc0d(0x2ae)+_0x421c83+'.'+_0x2bc0bc+_0x16dc0d(0x161);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x4910a8=a0_0x302a2e,_0x5247e6=super[_0x4910a8(0x256)](),{currentPage:_0x24ddde,pageSize:_0x221cd2,..._0x569375}=_0x5247e6,_0x5ee38d={};Object[_0x4910a8(0x323)](_0x569375)['forEach'](([_0x1cd070,_0x4752a5])=>{const _0x864a87=_0x4910a8;if(typeof _0x4752a5==='object'&&_0x4752a5!==null){const _0x510844=_0x4752a5,_0x314cb5=_0x510844[_0x864a87(0x1a2)]||'',_0x296247={..._0x510844};_0x296247[_0x864a87(0x1a2)]=_0x314cb5?_0x314cb5+'(支持单值或数组)':_0x864a87(0x2cc),_0x5ee38d[_0x1cd070]=_0x296247;}else _0x5ee38d[_0x1cd070]=_0x4752a5;});const _0x51285f={...typeof _0x24ddde==='object'?_0x24ddde:{}};_0x51285f[_0x4910a8(0x343)]=_0x4910a8(0x407),_0x51285f[_0x4910a8(0x1a2)]=_0x4910a8(0x19d);const _0x227bea={...typeof _0x221cd2===_0x4910a8(0x3d7)?_0x221cd2:{}};_0x227bea[_0x4910a8(0x343)]=_0x4910a8(0x407),_0x227bea[_0x4910a8(0x1a2)]=_0x4910a8(0x157);const _0x140712={..._0x5ee38d};return _0x140712['currentPage']=_0x51285f,_0x140712[_0x4910a8(0x27c)]=_0x227bea,_0x140712;}[a0_0x302a2e(0x2a9)](_0x30c852){const _0x5f58b4=a0_0x302a2e,{useArrayValues:useArrayValues=!![]}=_0x30c852||{},_0x2001d7=super['generateRequestExample'](),{currentPage:_0x5f3225,pageSize:_0x3fa9a8,..._0x211ad4}=_0x2001d7;if(!useArrayValues){const _0x1cb144={..._0x211ad4};return _0x1cb144[_0x5f58b4(0x1ee)]=_0x5f3225??0x1,_0x1cb144[_0x5f58b4(0x27c)]=_0x3fa9a8??0xa,_0x1cb144;}const _0x1028d0={},_0xd9b01a=['id',_0x5f58b4(0x3f8),_0x5f58b4(0x218),'type'];Object[_0x5f58b4(0x323)](_0x211ad4)[_0x5f58b4(0x2ab)](([_0x132d8c,_0x4f7331],_0x51d6fd)=>{const _0x42768b=_0x5f58b4,_0x3b68b0=_0xd9b01a[_0x42768b(0x31f)](_0x21ac20=>_0x132d8c[_0x42768b(0x298)]()[_0x42768b(0x397)](_0x21ac20))||_0x51d6fd%0x3===0x0;if(_0x3b68b0&&_0x4f7331!==null&&_0x4f7331!==undefined){if(typeof _0x4f7331===_0x42768b(0x3f1))_0x1028d0[_0x132d8c]=[_0x4f7331,_0x4f7331+0x1,_0x4f7331+0x2];else typeof _0x4f7331===_0x42768b(0x28b)?_0x1028d0[_0x132d8c]=[_0x4f7331,_0x4f7331+'_2',_0x4f7331+'_3']:_0x1028d0[_0x132d8c]=[_0x4f7331];}else _0x1028d0[_0x132d8c]=_0x4f7331;});const _0x513bf6={..._0x1028d0};return _0x513bf6['currentPage']=_0x5f3225??0x1,_0x513bf6[_0x5f58b4(0x27c)]=_0x3fa9a8??0xa,_0x513bf6;}[a0_0x302a2e(0x241)](){const _0xbaa45f=a0_0x302a2e,_0x31ff30={};return _0x31ff30[_0xbaa45f(0x1d9)]=![],this['generateRequestExample'](_0x31ff30);}[a0_0x302a2e(0x2dc)](){const _0x396670=a0_0x302a2e;return[{'title':'单值查询','description':_0x396670(0x254),'data':this['generateSingleValueExample']()},{'title':_0x396670(0x2f9),'description':'支持多个条件','data':this[_0x396670(0x2a9)]()}];}[a0_0x302a2e(0x2bc)](_0x210437,_0x1cd8cf){const _0x5dbb2a=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1cd8cf||{},_0x5da27b=this[_0x5dbb2a(0x2d2)](),_0x492630={};_0x492630['useArrayValues']=!![];const _0x43f327=this[_0x5dbb2a(0x2a9)](_0x492630),{currentPage:_0x1ef122,pageSize:_0x5b1149,..._0x5ac407}=_0x43f327;if(useFullExample&&Object[_0x5dbb2a(0x2b6)](_0x43f327)[_0x5dbb2a(0x356)]>0x0){const _0x4c4ebe=Object[_0x5dbb2a(0x2b6)](_0x5ac407)[_0x5dbb2a(0x356)]>0x0;if(_0x4c4ebe){const _0x3299e8=this[_0x5dbb2a(0x241)](),_0x2740e0=_0x5730fc=>{const _0x28a7fd=_0x5dbb2a;return JSON[_0x28a7fd(0x2da)](_0x5730fc,null,0x2)['split']('\x0a')[_0x28a7fd(0x29c)]((_0x57343c,_0x40bafc)=>_0x40bafc===0x0?_0x57343c:indent+_0x57343c)[_0x28a7fd(0x35e)]('\x0a');};return _0x5dbb2a(0x316)+_0x210437+'.'+_0x5da27b+'('+_0x2740e0(_0x3299e8)+_0x5dbb2a(0x2fc)+_0x210437+'.'+_0x5da27b+'('+_0x2740e0(_0x43f327)+');';}else{const _0x1453ea=JSON[_0x5dbb2a(0x2da)](_0x43f327,null,0x2)[_0x5dbb2a(0x26b)]('\x0a')[_0x5dbb2a(0x29c)]((_0x5bb3b9,_0x1f4d69)=>_0x1f4d69===0x0?_0x5bb3b9:indent+_0x5bb3b9)[_0x5dbb2a(0x35e)]('\x0a');return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+'('+_0x1453ea+');';}}if(Object[_0x5dbb2a(0x2b6)](_0x5ac407)[_0x5dbb2a(0x356)]>0x0){const _0x4b0f11=Object[_0x5dbb2a(0x2b6)](_0x5ac407)[0x0];return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+_0x5dbb2a(0x1a9)+_0x4b0f11+_0x5dbb2a(0x1a0);}return _0x5dbb2a(0x2ae)+_0x210437+'.'+_0x5da27b+_0x5dbb2a(0x31e);}}var AGGREGATE_FUNCTIONS=[a0_0x302a2e(0x183),'count','avg',a0_0x302a2e(0x2b4),'min'],FILTER_OPERATORS=[a0_0x302a2e(0x19c),a0_0x302a2e(0x2f4),a0_0x302a2e(0x151),a0_0x302a2e(0x274),a0_0x302a2e(0x342),a0_0x302a2e(0x307),a0_0x302a2e(0x239),a0_0x302a2e(0x3aa),a0_0x302a2e(0x305),a0_0x302a2e(0x3cd),a0_0x302a2e(0x2b9),'$or'];class FilterOperation extends GenericOperation{constructor(_0x5c8e58,_0x397a6e,_0x4ae1bc){super(_0x5c8e58,_0x397a6e,_0x4ae1bc);}['getOperators'](){return FILTER_OPERATORS;}[a0_0x302a2e(0x2ba)](_0x3f4ae1){const _0x1a40bb=a0_0x302a2e,_0xf7666b=this[_0x1a40bb(0x17c)](_0x3f4ae1);if(!_0xf7666b)return[];return this[_0x1a40bb(0x349)](_0xf7666b);}[a0_0x302a2e(0x256)](){const _0x13aa0a=a0_0x302a2e,_0x40d6f6=super[_0x13aa0a(0x256)](),_0x1e8fab={};_0x1e8fab['type']=_0x13aa0a(0x39f),_0x1e8fab[_0x13aa0a(0x1a2)]=_0x13aa0a(0x290),_0x1e8fab['required']=![];const _0x6a6598={};_0x6a6598[_0x13aa0a(0x343)]=_0x13aa0a(0x1a1),_0x6a6598['description']=_0x13aa0a(0x3cc),_0x6a6598[_0x13aa0a(0x2db)]=![];const _0x478bf2={};_0x478bf2[_0x13aa0a(0x343)]=_0x13aa0a(0x21c),_0x478bf2[_0x13aa0a(0x1a2)]=_0x13aa0a(0x3cf),_0x478bf2[_0x13aa0a(0x2db)]=![];const _0x42aae9={};_0x42aae9[_0x13aa0a(0x343)]=_0x13aa0a(0x407),_0x42aae9[_0x13aa0a(0x1a2)]='当前页码',_0x42aae9['required']=![],_0x42aae9[_0x13aa0a(0x3f4)]=0x1;const _0x57d71b={};_0x57d71b[_0x13aa0a(0x343)]=_0x13aa0a(0x407),_0x57d71b['description']=_0x13aa0a(0x157),_0x57d71b[_0x13aa0a(0x2db)]=![],_0x57d71b['default']=0xa;const _0x109439={..._0x40d6f6};return _0x109439['where']=_0x1e8fab,_0x109439[_0x13aa0a(0x3e2)]=_0x6a6598,_0x109439[_0x13aa0a(0x3a2)]=_0x478bf2,_0x109439[_0x13aa0a(0x1ee)]=_0x42aae9,_0x109439[_0x13aa0a(0x27c)]=_0x57d71b,_0x109439;}[a0_0x302a2e(0x33c)](){const _0x2d6e71=a0_0x302a2e,_0x2bc9bb=this[_0x2d6e71(0x256)](),_0x276a55=[],_0x332c51=[_0x2d6e71(0x35f),'select',_0x2d6e71(0x3a2),'currentPage',_0x2d6e71(0x27c)];return Object[_0x2d6e71(0x323)](_0x2bc9bb)[_0x2d6e71(0x2ab)](([_0x32ab36,_0x71dade])=>{const _0x1b9e05=_0x2d6e71;if(_0x332c51['includes'](_0x32ab36)){const _0xae3b51=_0x71dade,_0x405967={};_0x405967[_0x1b9e05(0x218)]=_0x32ab36,_0x405967[_0x1b9e05(0x343)]=_0xae3b51[_0x1b9e05(0x343)]||_0x1b9e05(0x39f),_0x405967[_0x1b9e05(0x1a2)]=_0xae3b51[_0x1b9e05(0x1a2)]||'-',_0x276a55['push'](_0x405967);}}),_0x276a55;}[a0_0x302a2e(0x3d1)](){const _0x44067e=a0_0x302a2e;return this['context'][_0x44067e(0x2d1)]||[];}['getGroupedParams'](){const _0x36e799=a0_0x302a2e;return{'systemParams':this[_0x36e799(0x33c)](),'businessFields':this[_0x36e799(0x3d1)]()};}[a0_0x302a2e(0x2a9)](){const _0x1084ca=a0_0x302a2e,_0x32816e=this[_0x1084ca(0x366)][_0x1084ca(0x2d1)]||[];if(_0x32816e[_0x1084ca(0x356)]===0x0){const _0x2632f7={};return _0x2632f7[_0x1084ca(0x35f)]={},_0x2632f7[_0x1084ca(0x1ee)]=0x1,_0x2632f7[_0x1084ca(0x27c)]=0x14,_0x2632f7;}const _0x141866={},_0x1a5db0=_0x32816e[_0x1084ca(0x252)](0x0,Math[_0x1084ca(0x389)](0x3,_0x32816e[_0x1084ca(0x356)]));_0x1a5db0[_0x1084ca(0x2ab)](_0x5b0333=>{const _0x278aec=_0x1084ca,_0x2bfa0d=this[_0x278aec(0x349)](_0x5b0333);if(_0x2bfa0d['length']===0x0)return;const _0x4ab651=this[_0x278aec(0x280)](_0x5b0333,_0x2bfa0d),_0x29112e=this['generateExampleValue'](_0x5b0333,_0x4ab651),_0x498488={};_0x498488[_0x4ab651]=_0x29112e,_0x141866[_0x5b0333[_0x278aec(0x218)]]=_0x498488;});const _0x3f3bbc=_0x32816e[_0x1084ca(0x252)](0x0,Math[_0x1084ca(0x389)](0x5,_0x32816e['length']))[_0x1084ca(0x29c)](_0xb50eaf=>_0xb50eaf['code']),_0x2c9052=_0x32816e[0x0]?_0x32816e[0x0][_0x1084ca(0x218)]:'id',_0xe0f2db={};_0xe0f2db[_0x2c9052]='DESC';const _0x1b0296={};return _0x1b0296[_0x1084ca(0x35f)]=_0x141866,_0x1b0296['select']=_0x3f3bbc,_0x1b0296['orderBy']=[_0xe0f2db],_0x1b0296['currentPage']=0x1,_0x1b0296[_0x1084ca(0x27c)]=0x14,_0x1b0296;}[a0_0x302a2e(0x2bc)](_0x3425cb,_0x1ae7e7){const _0x5de2b6=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1ae7e7||{},_0x13c16f=this[_0x5de2b6(0x2d2)](),_0x2015fa=this['generateRequestExample'](),_0x3a402d=_0x22a7bd=>{const _0x350f15=_0x5de2b6;return JSON[_0x350f15(0x2da)](_0x22a7bd,null,0x2)['split']('\x0a')[_0x350f15(0x29c)]((_0x342e8a,_0x5bbf18)=>_0x5bbf18===0x0?_0x342e8a:indent+_0x342e8a)['join']('\x0a');};if(useFullExample){const _0x5f5857=this[_0x5de2b6(0x366)][_0x5de2b6(0x2d1)]||[],_0xd1674f={'where':_0x5f5857[0x0]?{[_0x5f5857[0x0]['code']]:{'$eq':this['generateExampleValue'](_0x5f5857[0x0],_0x5de2b6(0x19c))}}:{},'select':_0x5f5857[_0x5de2b6(0x252)](0x0,0x3)[_0x5de2b6(0x29c)](_0x408ecb=>_0x408ecb[_0x5de2b6(0x218)]),'currentPage':0x1,'pageSize':0x14};let _0x45922c='';if(_0x5f5857[_0x5de2b6(0x356)]>=0x3){const _0x290d59={};_0x290d59[_0x5de2b6(0x2b9)]=[];const _0x56ca18=_0x290d59,_0x597dbd=[];if(_0x5f5857[_0x5de2b6(0x356)]>0x0){const _0x170591=_0x5f5857[_0x5de2b6(0x363)](_0x23b8bf=>{const _0xb27ef5=_0x5de2b6,_0xeecd79=_0x23b8bf['getDbTypeForOperation']();return[_0xb27ef5(0x24b),_0xb27ef5(0x3da),'BIGINT','INT',_0xb27ef5(0x382),_0xb27ef5(0x399)][_0xb27ef5(0x397)](_0xeecd79);});if(_0x170591){const _0x452511={};_0x452511[_0x5de2b6(0x151)]=0x0,_0x452511[_0x5de2b6(0x342)]=0x64;const _0x404d94={[_0x170591['code']]:_0x452511};_0x597dbd[_0x5de2b6(0x3a6)](_0x404d94);}}if(_0x5f5857['length']>0x1){const _0x392a7b=_0x5f5857['find'](_0x5c0909=>{const _0x2d8446=_0x5de2b6,_0x3ac855=_0x5c0909[_0x2d8446(0x25b)]();return[_0x2d8446(0x192),_0x2d8446(0x3d3),_0x2d8446(0x281),'CHAR','LONGTEXT'][_0x2d8446(0x397)](_0x3ac855);});if(_0x392a7b){const _0x34494b={};_0x34494b['$contain']='keyword';const _0x1c56db={[_0x392a7b[_0x5de2b6(0x218)]]:_0x34494b};_0x597dbd[_0x5de2b6(0x3a6)](_0x1c56db);}}if(_0x597dbd['length']>0x0){_0x56ca18['$and']=_0x597dbd;const _0x5ca966={'where':_0x56ca18,'select':_0x5f5857[_0x5de2b6(0x252)](0x0,0x4)[_0x5de2b6(0x29c)](_0x4cae5f=>_0x4cae5f[_0x5de2b6(0x218)]),'orderBy':[{[_0x5f5857[0x0][_0x5de2b6(0x218)]]:_0x5de2b6(0x2d8)}],'currentPage':0x1,'pageSize':0x14};_0x45922c='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x3425cb+'.'+_0x13c16f+'('+_0x3a402d(_0x5ca966)+');';}}return _0x5de2b6(0x21d)+_0x3425cb+'.'+_0x13c16f+'('+_0x3a402d(_0xd1674f)+');'+_0x45922c;}const _0x4e2bf8=JSON['stringify'](_0x2015fa,null,0x2)[_0x5de2b6(0x26b)]('\x0a')['map']((_0x53f7f3,_0x4d1190)=>_0x4d1190===0x0?_0x53f7f3:indent+_0x53f7f3)[_0x5de2b6(0x35e)]('\x0a');return _0x5de2b6(0x2ae)+_0x3425cb+'.'+_0x13c16f+'('+_0x4e2bf8+');';}[a0_0x302a2e(0x349)](_0x80cfaa){const _0x2c92f4=a0_0x302a2e,_0x527f5f=_0x80cfaa[_0x2c92f4(0x25b)](),_0x4d4ad5=[];if(['NUMBER','INTEGER',_0x2c92f4(0x2a7),_0x2c92f4(0x3f5)]['includes'](_0x527f5f)||[_0x2c92f4(0x14b),_0x2c92f4(0x382),_0x2c92f4(0x399),'DOUBLE',_0x2c92f4(0x1b9)]['includes'](_0x527f5f))_0x4d4ad5['push'](_0x2c92f4(0x19c),'$ne','$gte',_0x2c92f4(0x342),_0x2c92f4(0x274),'$lteq',_0x2c92f4(0x239));else{if([_0x2c92f4(0x192),'TEXT','VARCHAR'][_0x2c92f4(0x397)](_0x527f5f)||[_0x2c92f4(0x14a),_0x2c92f4(0x354)][_0x2c92f4(0x397)](_0x527f5f))_0x4d4ad5[_0x2c92f4(0x3a6)]('$eq',_0x2c92f4(0x2f4),'$in',_0x2c92f4(0x3aa),'$startWith',_0x2c92f4(0x3cd));else{if([_0x2c92f4(0x33f),_0x2c92f4(0x30a),_0x2c92f4(0x23f)][_0x2c92f4(0x397)](_0x527f5f)||['TIME'][_0x2c92f4(0x397)](_0x527f5f))_0x4d4ad5[_0x2c92f4(0x3a6)](_0x2c92f4(0x19c),_0x2c92f4(0x2f4),_0x2c92f4(0x151),'$lte',_0x2c92f4(0x274),_0x2c92f4(0x307));else['BOOLEAN',_0x2c92f4(0x2b0),_0x2c92f4(0x39e)][_0x2c92f4(0x397)](_0x527f5f)?_0x4d4ad5[_0x2c92f4(0x3a6)](_0x2c92f4(0x19c),'$ne'):_0x4d4ad5[_0x2c92f4(0x3a6)]('$eq',_0x2c92f4(0x2f4));}}return _0x4d4ad5;}[a0_0x302a2e(0x280)](_0x1cade1,_0x41763c){const _0x45afd1=a0_0x302a2e,_0x4e9170=_0x1cade1[_0x45afd1(0x25b)]();if(['NUMBER','INTEGER',_0x45afd1(0x2a7),_0x45afd1(0x3f5)][_0x45afd1(0x397)](_0x4e9170)||[_0x45afd1(0x14b),_0x45afd1(0x382),'SMALLINT',_0x45afd1(0x391),_0x45afd1(0x1b9)][_0x45afd1(0x397)](_0x4e9170))return _0x41763c[_0x45afd1(0x397)]('$gte')?'$gte':_0x45afd1(0x19c);if(['STRING','TEXT',_0x45afd1(0x281)]['includes'](_0x4e9170)||[_0x45afd1(0x14a),'LONGTEXT'][_0x45afd1(0x397)](_0x4e9170))return _0x41763c[_0x45afd1(0x397)](_0x45afd1(0x3aa))?'$contain':_0x45afd1(0x19c);if([_0x45afd1(0x33f),_0x45afd1(0x30a),_0x45afd1(0x23f),_0x45afd1(0x3ed)]['includes'](_0x4e9170))return _0x41763c['includes']('$gte')?_0x45afd1(0x151):_0x45afd1(0x19c);return _0x45afd1(0x19c);}['generateExampleValue'](_0x20904b,_0x4c79d3){const _0x41451b=a0_0x302a2e,_0x3e5c5b=_0x20904b[_0x41451b(0x25b)](),_0x535950=_0x20904b['getEnumOptions']();if(_0x535950&&_0x535950[_0x41451b(0x356)]>0x0){if(_0x4c79d3===_0x41451b(0x239))return _0x535950['slice'](0x0,0x2)[_0x41451b(0x29c)](_0x12413d=>_0x12413d[_0x41451b(0x3fc)]);return _0x535950[0x0]['value'];}if([_0x41451b(0x24b),'INTEGER',_0x41451b(0x2a7),_0x41451b(0x3f5)]['includes'](_0x3e5c5b)||['INT','TINYINT',_0x41451b(0x399),'DOUBLE','FLOAT']['includes'](_0x3e5c5b)){if(_0x4c79d3==='$in')return[0x1,0x2,0x3];if(_0x4c79d3===_0x41451b(0x151)||_0x4c79d3===_0x41451b(0x274))return 0x0;if(_0x4c79d3===_0x41451b(0x342)||_0x4c79d3===_0x41451b(0x307))return 0x64;return 0x1;}if([_0x41451b(0x192),_0x41451b(0x3d3),_0x41451b(0x281)]['includes'](_0x3e5c5b)||['CHAR',_0x41451b(0x354)][_0x41451b(0x397)](_0x3e5c5b)){if(_0x4c79d3===_0x41451b(0x239))return[_0x41451b(0x20f),_0x41451b(0x40a)];if(_0x4c79d3===_0x41451b(0x3aa))return _0x41451b(0x317);if(_0x4c79d3===_0x41451b(0x305))return _0x41451b(0x178);if(_0x4c79d3===_0x41451b(0x3cd))return _0x41451b(0x223);return _0x41451b(0x3fc);}if([_0x41451b(0x33f),'DATETIME',_0x41451b(0x23f),'TIME'][_0x41451b(0x397)](_0x3e5c5b)){if(_0x4c79d3===_0x41451b(0x151)||_0x4c79d3==='$gteq')return _0x41451b(0x1a4);if(_0x4c79d3===_0x41451b(0x342)||_0x4c79d3===_0x41451b(0x307))return _0x41451b(0x232);return _0x41451b(0x1a4);}if([_0x41451b(0x3f6),_0x41451b(0x2b0),_0x41451b(0x39e)][_0x41451b(0x397)](_0x3e5c5b))return!![];return _0x4c79d3===_0x41451b(0x239)?['value1','value2']:_0x41451b(0x3fc);}[a0_0x302a2e(0x247)](){const _0x31bcfd=a0_0x302a2e,_0x59d297=super[_0x31bcfd(0x256)](),_0x290df3=Object[_0x31bcfd(0x323)](_0x59d297)[_0x31bcfd(0x1a8)](([_0x20ca43])=>_0x20ca43!==_0x31bcfd(0x1ee)&&_0x20ca43!==_0x31bcfd(0x27c))[_0x31bcfd(0x29c)](([_0x26ae40,_0x5219eb])=>{const _0x183609=_0x31bcfd,_0x3ad820=_0x5219eb,_0x17c95a={};return _0x17c95a['name']=_0x26ae40,_0x17c95a[_0x183609(0x343)]=_0x3ad820[_0x183609(0x343)]||_0x183609(0x196),_0x17c95a[_0x183609(0x1a2)]=_0x3ad820[_0x183609(0x1a2)]||'-',_0x17c95a[_0x183609(0x2db)]=_0x3ad820[_0x183609(0x2db)],_0x17c95a;}),_0x2e4799={};return _0x2e4799['description']=_0x31bcfd(0x251),_0x2e4799['params']=_0x290df3,_0x2e4799;}}class ExcelExportOperation extends GenericOperation{[a0_0x302a2e(0x256)](){const _0x2c8c45=a0_0x302a2e,_0x1fb3ab=super['getRequestParams']();if(Object[_0x2c8c45(0x2b6)](_0x1fb3ab)[_0x2c8c45(0x356)]===0x0){const _0x8c7f6e={};this[_0x2c8c45(0x366)][_0x2c8c45(0x2d1)]['forEach'](_0x21e4f7=>{const _0x163736=_0x2c8c45;if(_0x21e4f7){const _0x2dab7c=_0x21e4f7[_0x163736(0x218)],_0x32a27d=_0x21e4f7[_0x163736(0x25b)](),_0x370cc3={};_0x370cc3[_0x163736(0x343)]=_0x32a27d||'TEXT',_0x370cc3['sortNum']=_0x21e4f7[_0x163736(0x2f2)],_0x370cc3[_0x163736(0x1a2)]=_0x21e4f7['description']||_0x21e4f7['name'],_0x8c7f6e[_0x2dab7c]=_0x370cc3;}});const _0x5be6e0={};_0x5be6e0[_0x2c8c45(0x343)]=_0x2c8c45(0x1bd),_0x5be6e0[_0x2c8c45(0x1a2)]='当前页码(可选)',_0x8c7f6e[_0x2c8c45(0x1ee)]=_0x5be6e0;const _0x35f0ca={};return _0x35f0ca[_0x2c8c45(0x343)]='Integer',_0x35f0ca['description']=_0x2c8c45(0x1fa),_0x8c7f6e['pageSize']=_0x35f0ca,_0x8c7f6e;}return _0x1fb3ab;}['generateRequestExample'](){const _0x5e07a7=a0_0x302a2e,_0x18b853=super[_0x5e07a7(0x2a9)]();if(Object[_0x5e07a7(0x2b6)](_0x18b853)[_0x5e07a7(0x356)]===0x0){const _0x3512d8={};return _0x3512d8['currentPage']=0x1,_0x3512d8[_0x5e07a7(0x27c)]=0x64,_0x3512d8;}const _0x5ee4bd={..._0x18b853};return _0x5ee4bd[_0x5e07a7(0x1ee)]=_0x18b853['currentPage']??0x1,_0x5ee4bd['pageSize']=_0x18b853['pageSize']??0x64,_0x5ee4bd;}[a0_0x302a2e(0x18e)](){const _0x4c0134=a0_0x302a2e,_0x517f5d={};return _0x517f5d[_0x4c0134(0x263)]=!![],_0x517f5d[_0x4c0134(0x2ca)]='',_0x517f5d['errorMsg']='',_0x517f5d[_0x4c0134(0x201)]=_0x4c0134(0x346),_0x517f5d[_0x4c0134(0x179)]=_0x4c0134(0x150),_0x517f5d[_0x4c0134(0x17b)]=null,_0x517f5d;}[a0_0x302a2e(0x2bc)](_0x49707f,_0x9f52b5){const _0x482872=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x9f52b5||{},_0x3795e9=this[_0x482872(0x2d2)]();if(useFullExample){const _0x5c730a=this['generateRequestExample'](),{currentPage:_0x204d7d,pageSize:_0xcdc219,..._0x4e9964}=_0x5c730a,_0x241f68=Object[_0x482872(0x2b6)](_0x4e9964)[_0x482872(0x356)]>0x0;if(_0x241f68){const _0x36316c=_0x55aebd=>{const _0x2d4771=_0x482872;return JSON[_0x2d4771(0x2da)](_0x55aebd,null,0x2)[_0x2d4771(0x26b)]('\x0a')[_0x2d4771(0x29c)]((_0x42b2ca,_0x36b388)=>_0x36b388===0x0?_0x42b2ca:indent+_0x42b2ca)[_0x2d4771(0x35e)]('\x0a');};return _0x482872(0x3b1)+_0x49707f+'.'+_0x3795e9+_0x482872(0x171)+_0x49707f+'.'+_0x3795e9+'('+_0x36316c(_0x5c730a)+');';}else{const _0x554c41=_0x55d047=>{const _0x28358f=_0x482872;return JSON['stringify'](_0x55d047,null,0x2)['split']('\x0a')[_0x28358f(0x29c)]((_0x19cfbd,_0x5ac605)=>_0x5ac605===0x0?_0x19cfbd:indent+_0x19cfbd)['join']('\x0a');},_0x19723d={};return _0x19723d[_0x482872(0x1ee)]=0x1,_0x19723d[_0x482872(0x27c)]=0x64,_0x482872(0x3b1)+_0x49707f+'.'+_0x3795e9+_0x482872(0x262)+_0x49707f+'.'+_0x3795e9+'('+_0x554c41(_0x19723d)+');';}}return _0x482872(0x28f)+_0x49707f+'.'+_0x3795e9+_0x482872(0x2af);}[a0_0x302a2e(0x195)](_0x49d158){const _0x1674d9=a0_0x302a2e,_0x57587e=this[_0x1674d9(0x2d2)](),_0x31048a=_0x49d158||'yourModel',_0x4fea34=_0x1674d9(0x31a)+_0x31048a+'.'+_0x57587e+'();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载',_0x392341=_0x1674d9(0x221)+_0x31048a+'.'+_0x57587e+_0x1674d9(0x273),_0xd31f1={};return _0xd31f1[_0x1674d9(0x3e8)]=_0x4fea34,_0xd31f1[_0x1674d9(0x201)]=_0x392341,_0xd31f1;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){const _0xc252b2=a0_0x302a2e;return this[_0xc252b2(0x318)]();}[a0_0x302a2e(0x256)](){const _0x3a2aaa=a0_0x302a2e,_0x3e9077=this['getUpdateFields'](),_0x24526f={};_0x24526f[_0x3a2aaa(0x343)]=_0x3a2aaa(0x24b),_0x24526f['description']=_0x3a2aaa(0x29b),_0x24526f[_0x3a2aaa(0x2db)]=!![];const _0x505f9d={};_0x505f9d['type']=_0x3a2aaa(0x3d7),_0x505f9d[_0x3a2aaa(0x1a2)]='要更新的字段数据对象',_0x505f9d[_0x3a2aaa(0x2db)]=!![],_0x505f9d[_0x3a2aaa(0x404)]=_0x3e9077;const _0xc329d4={};return _0xc329d4['id']=_0x24526f,_0xc329d4[_0x3a2aaa(0x179)]=_0x505f9d,_0xc329d4;}[a0_0x302a2e(0x26e)](){const _0x19ad4c=a0_0x302a2e;return this[_0x19ad4c(0x335)]();}['getHTTPFields'](){const _0x240f97=a0_0x302a2e,_0x572f4f=this[_0x240f97(0x366)][_0x240f97(0x2d1)]||[],_0x21e397=this['context'][_0x240f97(0x2ce)],_0x597683=_0x572f4f[_0x240f97(0x363)](_0x3de4d1=>_0x3de4d1['isPrimaryKey']()||_0x3de4d1[_0x240f97(0x218)]===_0x21e397),_0x3ddc71=_0x572f4f[_0x240f97(0x1a8)](_0x130780=>{const _0x4f0a6d=_0x240f97;if(_0x130780['deleted'])return![];if(_0x130780===_0x597683||_0x130780[_0x4f0a6d(0x3b6)]())return![];if(_0x130780['isCreateTime']()||_0x130780[_0x4f0a6d(0x32c)]())return![];if(_0x130780[_0x4f0a6d(0x27e)]())return![];return!![];});return _0x597683?[_0x597683,..._0x3ddc71]:_0x3ddc71;}['getHTTPRequestParamsDocInfo'](){const _0x2c6082=a0_0x302a2e,_0x256bef=this['getHTTPFields'](),_0x286689=this[_0x2c6082(0x366)][_0x2c6082(0x2ce)],_0xf723cf=_0x256bef[_0x2c6082(0x29c)](_0x465cec=>{const _0x3d12a4=_0x2c6082,_0x2ee3bb=_0x465cec[_0x3d12a4(0x3b6)]()||_0x465cec[_0x3d12a4(0x218)]===_0x286689,_0x19a4fc=_0x2ee3bb?'id':_0x465cec[_0x3d12a4(0x218)],_0x39edaa={};return _0x39edaa[_0x3d12a4(0x3f0)]=_0x19a4fc,_0x39edaa['type']=_0x465cec['type'],_0x39edaa['description']=_0x2ee3bb?'主键,用于定位要更新的记录'+(_0x286689&&_0x286689!==_0x465cec[_0x3d12a4(0x218)]?_0x3d12a4(0x33b)+_0x465cec[_0x3d12a4(0x218)]+')':''):_0x465cec[_0x3d12a4(0x1a2)]||_0x465cec[_0x3d12a4(0x3f0)],_0x39edaa;}),_0x2812a5={};return _0x2812a5[_0x2c6082(0x1a2)]=_0x2c6082(0x2a1),_0x2812a5['params']=_0xf723cf,_0x2812a5;}[a0_0x302a2e(0x247)](){const _0x324f3f=a0_0x302a2e,_0xabd3f5=this[_0x324f3f(0x335)](),_0x4efe19=Object[_0x324f3f(0x323)](_0xabd3f5)['map'](([_0x22e1b8,_0x3d1b0e])=>{const _0x1a594a=_0x324f3f,_0x108212=_0x3d1b0e,_0x261008={};return _0x261008[_0x1a594a(0x3f0)]=_0x22e1b8,_0x261008['type']=_0x108212['type']||_0x1a594a(0x196),_0x261008[_0x1a594a(0x1a2)]=_0x108212['description']||'-',_0x261008;}),_0x125dbe={};return _0x125dbe[_0x324f3f(0x1a2)]='update\x20接口接受两个参数:\x0a\x0a'+'**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a'+'-\x20主键ID,用于定位要更新的记录\x0a\x0a'+'**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a'+_0x324f3f(0x1cd)+_0x324f3f(0x2e6),_0x125dbe[_0x324f3f(0x17b)]=_0x4efe19,_0x125dbe;}[a0_0x302a2e(0x2a9)](){const _0x4b604c=a0_0x302a2e,_0x2a0be9=this['getUpdateFields'](),_0x1342a3={};Object['entries'](_0x2a0be9)[_0x4b604c(0x2ab)](([_0x404119,_0x12c8b7])=>{const _0xea7edd=_0x4b604c,_0x24928e=_0x12c8b7;let _0x291500;if(typeof _0x24928e[_0xea7edd(0x343)]===_0xea7edd(0x28b))_0x291500=_0x24928e[_0xea7edd(0x343)];else _0x24928e[_0xea7edd(0x343)]&&typeof _0x24928e[_0xea7edd(0x343)]===_0xea7edd(0x3d7)?_0x291500=_0x24928e['type'][_0xea7edd(0x343)]||_0xea7edd(0x3d3):_0x291500='TEXT';const _0x197938=_0x24928e[_0xea7edd(0x1a2)],_0x24d7e7=this[_0xea7edd(0x17c)](_0x404119);_0x1342a3[_0x404119]=this[_0xea7edd(0x1f8)](_0x404119,_0x291500,_0x24d7e7?.[_0xea7edd(0x25b)](),{'isPrimaryKey':![],'description':_0x197938||_0x24d7e7?.['description']||_0x24d7e7?.[_0xea7edd(0x3f0)]});});const _0x2188fd={};return _0x2188fd['id']=0x1,_0x2188fd[_0x4b604c(0x179)]=_0x1342a3,_0x2188fd;}[a0_0x302a2e(0x2dc)](){const _0x695ca7=a0_0x302a2e,_0x9692cd=this[_0x695ca7(0x2a9)](),_0xb30829={};return _0xb30829[_0x695ca7(0x331)]=_0x695ca7(0x2c6),_0xb30829[_0x695ca7(0x1a2)]=_0x695ca7(0x1b0)+'-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a'+_0x695ca7(0x2f0),_0xb30829[_0x695ca7(0x179)]=_0x9692cd,[_0xb30829,{'title':'HTTP\x20请求示例(平铺格式)','description':_0x695ca7(0x351)+_0x695ca7(0x17e)+_0x695ca7(0x205),'data':this[_0x695ca7(0x3e9)]()}];}[a0_0x302a2e(0x3e9)](){const _0x1d983a=a0_0x302a2e,_0x5d44bf=this[_0x1d983a(0x335)](),_0x3cc2e1={};_0x3cc2e1['id']=0x1;const _0x1ac3e0=_0x3cc2e1;return Object[_0x1d983a(0x323)](_0x5d44bf)[_0x1d983a(0x2ab)](([_0x1e3715,_0x92c659])=>{const _0x2e7ee2=_0x1d983a,_0x2f054c=_0x92c659;let _0x38195e;if(typeof _0x2f054c[_0x2e7ee2(0x343)]===_0x2e7ee2(0x28b))_0x38195e=_0x2f054c['type'];else _0x2f054c[_0x2e7ee2(0x343)]&&typeof _0x2f054c['type']==='object'?_0x38195e=_0x2f054c[_0x2e7ee2(0x343)][_0x2e7ee2(0x343)]||_0x2e7ee2(0x3d3):_0x38195e=_0x2e7ee2(0x3d3);const _0x562478=_0x2f054c['description'],_0x38feb6=this[_0x2e7ee2(0x17c)](_0x1e3715);if(_0x38feb6?.[_0x2e7ee2(0x3b6)]())return;_0x1ac3e0[_0x1e3715]=this[_0x2e7ee2(0x1f8)](_0x1e3715,_0x38195e,_0x38feb6?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x562478||_0x38feb6?.[_0x2e7ee2(0x1a2)]||_0x38feb6?.[_0x2e7ee2(0x3f0)]});}),_0x1ac3e0;}['generateHTTPExample'](){const _0x557184=a0_0x302a2e;return this[_0x557184(0x3e9)]();}[a0_0x302a2e(0x2bc)](_0xd1f388,_0x53adf9){const _0x5d3ba3=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x53adf9||{},_0x393d96=this[_0x5d3ba3(0x2d2)]();if(useFullExample){const _0x16de34=this[_0x5d3ba3(0x2a9)](),_0x14d883=JSON['stringify'](_0x16de34[_0x5d3ba3(0x179)],null,0x2)[_0x5d3ba3(0x26b)]('\x0a')['map']((_0x39412d,_0xe69f6a)=>_0xe69f6a===0x0?_0x39412d:indent+_0x39412d)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0xd1f388+'.'+_0x393d96+'('+_0x16de34['id']+',\x20'+_0x14d883+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0xd1f388+'.'+_0x393d96+_0x5d3ba3(0x25a);}}class AggregateOperation extends GenericOperation{constructor(_0x576226,_0x1f34de,_0x5ef69b){super(_0x576226,_0x1f34de,_0x5ef69b);}[a0_0x302a2e(0x225)](_0x36a52c){const _0x272d8b=a0_0x302a2e;return _0x36a52c[_0x272d8b(0x213)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x272d8b(0x401)]()[_0x272d8b(0x2b1)]();}[a0_0x302a2e(0x3bf)](){return AGGREGATE_FUNCTIONS;}['getRequestParams'](){const _0x34f9b4=a0_0x302a2e,_0x2556d9=super[_0x34f9b4(0x256)](),_0x10d16b={};_0x10d16b[_0x34f9b4(0x343)]=_0x34f9b4(0x1a1),_0x10d16b[_0x34f9b4(0x1a2)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0x10d16b['required']=![];const _0x561002={};_0x561002[_0x34f9b4(0x343)]=_0x34f9b4(0x39f),_0x561002[_0x34f9b4(0x1a2)]=_0x34f9b4(0x380),_0x561002['required']=![];const _0x3a1ed3={};_0x3a1ed3['type']=_0x34f9b4(0x1a1),_0x3a1ed3[_0x34f9b4(0x1a2)]='分组字段列表',_0x3a1ed3[_0x34f9b4(0x2db)]=![];const _0x55cb21={};_0x55cb21[_0x34f9b4(0x343)]=_0x34f9b4(0x194),_0x55cb21['description']=_0x34f9b4(0x3c8),_0x55cb21['required']=![];const _0x19f2e2={};_0x19f2e2['type']=_0x34f9b4(0x194),_0x19f2e2['description']=_0x34f9b4(0x169),_0x19f2e2[_0x34f9b4(0x2db)]=![];const _0x36eea5={};_0x36eea5['type']=_0x34f9b4(0x194),_0x36eea5[_0x34f9b4(0x1a2)]='排序规则(与\x20Filter\x20API\x20一致)',_0x36eea5['required']=![];const _0x4b83b6={};_0x4b83b6[_0x34f9b4(0x343)]='Number',_0x4b83b6[_0x34f9b4(0x1a2)]='当前页码(从\x201\x20开始,默认:\x201)',_0x4b83b6[_0x34f9b4(0x2db)]=![];const _0x41a033={};_0x41a033['type']=_0x34f9b4(0x407),_0x41a033[_0x34f9b4(0x1a2)]='每页数量(默认:\x2020)',_0x41a033[_0x34f9b4(0x2db)]=![];const _0x1abfcd={..._0x2556d9};return _0x1abfcd['select']=_0x10d16b,_0x1abfcd[_0x34f9b4(0x35f)]=_0x561002,_0x1abfcd['groupBy']=_0x3a1ed3,_0x1abfcd[_0x34f9b4(0x3ff)]=_0x55cb21,_0x1abfcd[_0x34f9b4(0x2cd)]=_0x19f2e2,_0x1abfcd[_0x34f9b4(0x3a2)]=_0x36eea5,_0x1abfcd[_0x34f9b4(0x1ee)]=_0x4b83b6,_0x1abfcd[_0x34f9b4(0x27c)]=_0x41a033,_0x1abfcd;}['getSystemFields'](){const _0x5e103f=a0_0x302a2e,_0x7fc1bc={};_0x7fc1bc['code']=_0x5e103f(0x3e2),_0x7fc1bc['type']=_0x5e103f(0x1a1),_0x7fc1bc['description']='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)';const _0x9a8c={};_0x9a8c[_0x5e103f(0x218)]='where',_0x9a8c[_0x5e103f(0x343)]=_0x5e103f(0x39f),_0x9a8c[_0x5e103f(0x1a2)]=_0x5e103f(0x380);const _0x4e6c3d={};_0x4e6c3d[_0x5e103f(0x218)]=_0x5e103f(0x1e3),_0x4e6c3d[_0x5e103f(0x343)]=_0x5e103f(0x1a1),_0x4e6c3d[_0x5e103f(0x1a2)]=_0x5e103f(0x1ca);const _0x82d072={};_0x82d072[_0x5e103f(0x218)]=_0x5e103f(0x3ff),_0x82d072[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x82d072[_0x5e103f(0x1a2)]=_0x5e103f(0x37e);const _0x43efda={};_0x43efda[_0x5e103f(0x218)]=_0x5e103f(0x2cd),_0x43efda[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x43efda[_0x5e103f(0x1a2)]=_0x5e103f(0x169);const _0x53c9d5={};_0x53c9d5[_0x5e103f(0x218)]=_0x5e103f(0x3a2),_0x53c9d5[_0x5e103f(0x343)]=_0x5e103f(0x194),_0x53c9d5[_0x5e103f(0x1a2)]=_0x5e103f(0x32e);const _0x32c027={};_0x32c027[_0x5e103f(0x218)]=_0x5e103f(0x1ee),_0x32c027[_0x5e103f(0x343)]=_0x5e103f(0x407),_0x32c027['description']=_0x5e103f(0x2c8);const _0xf59ecb={};return _0xf59ecb['code']=_0x5e103f(0x27c),_0xf59ecb[_0x5e103f(0x343)]='Number',_0xf59ecb[_0x5e103f(0x1a2)]=_0x5e103f(0x21b),[_0x7fc1bc,_0x9a8c,_0x4e6c3d,_0x82d072,_0x43efda,_0x53c9d5,_0x32c027,_0xf59ecb];}[a0_0x302a2e(0x2a9)](){const _0x320bb0=a0_0x302a2e,_0xa6ab54=this[_0x320bb0(0x366)]['fields']||[];if(_0xa6ab54['length']===0x0){const _0x2a493e={};return _0x2a493e[_0x320bb0(0x35f)]={},_0x2a493e['groupBy']=[],_0x2a493e[_0x320bb0(0x3ff)]=[],_0x2a493e;}const _0x1faaf9={},_0x503909=_0xa6ab54[_0x320bb0(0x252)](0x0,Math[_0x320bb0(0x389)](0x3,_0xa6ab54[_0x320bb0(0x356)]));_0x503909[_0x320bb0(0x2ab)](_0x2daeb7=>{const _0x2a3e16=_0x320bb0,_0x2d974b=this[_0x2a3e16(0x349)](_0x2daeb7);if(_0x2d974b[_0x2a3e16(0x356)]===0x0)return;const _0x491eb2=this[_0x2a3e16(0x280)](_0x2daeb7,_0x2d974b),_0x3dc888=this['generateExampleValue'](_0x2daeb7,_0x491eb2),_0xaea69a={};_0xaea69a[_0x491eb2]=_0x3dc888,_0x1faaf9[_0x2daeb7[_0x2a3e16(0x218)]]=_0xaea69a;});const _0x560183=_0xa6ab54[_0x320bb0(0x252)](0x0,Math[_0x320bb0(0x389)](0x2,_0xa6ab54[_0x320bb0(0x356)]))[_0x320bb0(0x29c)](_0x5f43f3=>_0x5f43f3[_0x320bb0(0x218)]),_0x4bdaa6=[],_0x38576d=_0xa6ab54[_0x320bb0(0x1a8)](_0x599be2=>this['isNumericField'](_0x599be2));if(_0x38576d['length']>0x0){const _0x371013=_0x38576d[0x0],_0x2ef628=_0x371013[_0x320bb0(0x218)],_0x378128={};_0x378128[_0x320bb0(0x343)]=_0x320bb0(0x183),_0x378128['column']=_0x2ef628,_0x378128[_0x320bb0(0x3ca)]=_0x2ef628+'_sum',_0x378128['distinct']=![],_0x378128[_0x320bb0(0x210)]=!![],_0x378128[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x378128);const _0x122b2b={};_0x122b2b[_0x320bb0(0x343)]='avg',_0x122b2b[_0x320bb0(0x336)]=_0x2ef628,_0x122b2b['alias']=_0x2ef628+_0x320bb0(0x2a0),_0x122b2b['distinct']=![],_0x122b2b[_0x320bb0(0x210)]=!![],_0x122b2b[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x122b2b);const _0x537aa1={};_0x537aa1['type']=_0x320bb0(0x2b4),_0x537aa1[_0x320bb0(0x336)]=_0x2ef628,_0x537aa1['alias']=_0x2ef628+_0x320bb0(0x208),_0x537aa1['distinct']=![],_0x537aa1['round']=!![],_0x537aa1[_0x320bb0(0x1da)]=0x2,_0x4bdaa6[_0x320bb0(0x3a6)](_0x537aa1);const _0x5698b2={};_0x5698b2[_0x320bb0(0x343)]=_0x320bb0(0x389),_0x5698b2[_0x320bb0(0x336)]=_0x2ef628,_0x5698b2[_0x320bb0(0x3ca)]=_0x2ef628+_0x320bb0(0x2ed),_0x5698b2[_0x320bb0(0x321)]=![],_0x5698b2[_0x320bb0(0x210)]=!![],_0x5698b2[_0x320bb0(0x1da)]=0x2,_0x4bdaa6['push'](_0x5698b2);}else{if(_0xa6ab54[_0x320bb0(0x356)]>0x0){const _0x150868=_0xa6ab54[0x0],_0x1d8bfc=_0x150868[_0x320bb0(0x218)],_0x10b2c2={};_0x10b2c2[_0x320bb0(0x343)]=_0x320bb0(0x293),_0x10b2c2[_0x320bb0(0x336)]=_0x1d8bfc,_0x10b2c2['alias']=_0x320bb0(0x15f),_0x10b2c2['distinct']=!![],_0x4bdaa6[_0x320bb0(0x3a6)](_0x10b2c2);}}const _0x8c1eda=[];if(_0xa6ab54['length']>0x0){const _0x10e70b=_0xa6ab54[0x0][_0x320bb0(0x218)],_0x55ae29={};_0x55ae29[_0x10e70b]=_0x320bb0(0x36b),_0x8c1eda[_0x320bb0(0x3a6)](_0x55ae29);}const _0x535db9=[..._0x560183,..._0x4bdaa6[_0x320bb0(0x29c)](_0x1350b1=>_0x1350b1[_0x320bb0(0x3ca)])],_0x35fbef=[];if(_0x4bdaa6['length']>0x0){const _0x4c97e4={};_0x4c97e4[_0x320bb0(0x151)]=0x0;const _0x458e4e={};_0x458e4e[_0x320bb0(0x36a)]=_0x4bdaa6[0x0][_0x320bb0(0x3ca)],_0x458e4e['condition']=_0x4c97e4,_0x35fbef['push'](_0x458e4e);}const _0xf4638b={};return _0xf4638b['select']=_0x535db9,_0xf4638b['where']=_0x1faaf9,_0xf4638b[_0x320bb0(0x1e3)]=_0x560183,_0xf4638b['aggregate']=_0x4bdaa6,_0xf4638b[_0x320bb0(0x2cd)]=_0x35fbef[_0x320bb0(0x356)]>0x0?_0x35fbef:undefined,_0xf4638b[_0x320bb0(0x3a2)]=_0x8c1eda,_0xf4638b[_0x320bb0(0x1ee)]=0x1,_0xf4638b[_0x320bb0(0x27c)]=0x14,_0xf4638b;}[a0_0x302a2e(0x2bc)](_0x1a14be,_0x450089){const _0x3f96ea=a0_0x302a2e,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x450089||{},_0x529ba1=this[_0x3f96ea(0x2d2)](),_0x3fc2e0=this['generateRequestExample'](),_0x28f49b=_0x153a13=>{const _0x214884=_0x3f96ea;return JSON[_0x214884(0x2da)](_0x153a13,null,0x2)[_0x214884(0x26b)]('\x0a')[_0x214884(0x29c)]((_0x3bc7c1,_0xba5431)=>_0xba5431===0x0?_0x3bc7c1:indent+_0x3bc7c1)[_0x214884(0x35e)]('\x0a');};if(useFullExample){const _0x65007f=this[_0x3f96ea(0x366)][_0x3f96ea(0x2d1)]||[],_0x3b0f8f=_0x65007f[_0x3f96ea(0x1a8)](_0x45dfbe=>this['isNumericField'](_0x45dfbe)),_0xbbb1cb={'where':_0x65007f[0x0]?{[_0x65007f[0x0][_0x3f96ea(0x218)]]:{'$eq':this[_0x3f96ea(0x268)](_0x65007f[0x0],_0x3f96ea(0x19c))}}:{},'aggregate':_0x3b0f8f[_0x3f96ea(0x356)]>0x0?[{'type':'sum','column':_0x3b0f8f[0x0][_0x3f96ea(0x218)],'alias':_0x3b0f8f[0x0]['code']+_0x3f96ea(0x25f),'distinct':![],'round':!![],'precision':0x2}]:[{'type':'count','column':_0x65007f[0x0][_0x3f96ea(0x218)],'alias':_0x3f96ea(0x15f),'distinct':!![]}],'orderBy':[{[_0x65007f[0x0][_0x3f96ea(0x218)]]:'desc'}]};let _0x977b8a='';return _0x65007f[_0x3f96ea(0x356)]>=0x3&&(_0x977b8a=_0x3f96ea(0x306)+_0x1a14be+'.'+_0x529ba1+'('+_0x28f49b(_0x3fc2e0)+');'),_0x3f96ea(0x279)+_0x1a14be+'.'+_0x529ba1+'('+_0x28f49b(_0xbbb1cb)+');'+_0x977b8a;}const _0x34fe43=JSON[_0x3f96ea(0x2da)](_0x3fc2e0,null,0x2)[_0x3f96ea(0x26b)]('\x0a')[_0x3f96ea(0x29c)]((_0x146b52,_0x2400ae)=>_0x2400ae===0x0?_0x146b52:indent+_0x146b52)[_0x3f96ea(0x35e)]('\x0a');return _0x3f96ea(0x2ae)+_0x1a14be+'.'+_0x529ba1+'('+_0x34fe43+');';}[a0_0x302a2e(0x1b1)](_0x13485b){const _0x401dab=a0_0x302a2e,_0x52d67f=_0x13485b[_0x401dab(0x25b)]();return[_0x401dab(0x24b),_0x401dab(0x3da),_0x401dab(0x2a7),_0x401dab(0x3f5)][_0x401dab(0x397)](_0x52d67f)||[_0x401dab(0x14b),'TINYINT','SMALLINT',_0x401dab(0x391),'FLOAT']['includes'](_0x52d67f);}[a0_0x302a2e(0x349)](_0x3ca865){const _0x54c401=a0_0x302a2e,_0x8cd62d=_0x3ca865[_0x54c401(0x25b)](),_0xaa346a=[];if([_0x54c401(0x24b),_0x54c401(0x3da),'BIGINT',_0x54c401(0x3f5)][_0x54c401(0x397)](_0x8cd62d)||[_0x54c401(0x14b),_0x54c401(0x382),_0x54c401(0x399),'DOUBLE','FLOAT'][_0x54c401(0x397)](_0x8cd62d))_0xaa346a[_0x54c401(0x3a6)](_0x54c401(0x19c),_0x54c401(0x2f4),_0x54c401(0x151),'$lte',_0x54c401(0x274),_0x54c401(0x307),_0x54c401(0x239));else{if(['STRING',_0x54c401(0x3d3),_0x54c401(0x281)]['includes'](_0x8cd62d)||[_0x54c401(0x14a),_0x54c401(0x354)][_0x54c401(0x397)](_0x8cd62d))_0xaa346a[_0x54c401(0x3a6)]('$eq','$ne','$in','$contain',_0x54c401(0x305),'$endWith');else{if(['DATE',_0x54c401(0x30a),_0x54c401(0x23f)][_0x54c401(0x397)](_0x8cd62d)||['TIME'][_0x54c401(0x397)](_0x8cd62d))_0xaa346a['push'](_0x54c401(0x19c),_0x54c401(0x2f4),_0x54c401(0x151),_0x54c401(0x342),_0x54c401(0x274),_0x54c401(0x307));else[_0x54c401(0x3f6),'BOOL',_0x54c401(0x39e)][_0x54c401(0x397)](_0x8cd62d)?_0xaa346a[_0x54c401(0x3a6)]('$eq',_0x54c401(0x2f4)):_0xaa346a[_0x54c401(0x3a6)](_0x54c401(0x19c),'$ne');}}return _0xaa346a;}[a0_0x302a2e(0x280)](_0x26791a,_0x5ae399){const _0x960ca4=a0_0x302a2e,_0x3a9f08=_0x26791a[_0x960ca4(0x25b)]();if([_0x960ca4(0x24b),_0x960ca4(0x3da),_0x960ca4(0x2a7),'DECIMAL'][_0x960ca4(0x397)](_0x3a9f08)||[_0x960ca4(0x14b),'TINYINT','SMALLINT',_0x960ca4(0x391),_0x960ca4(0x1b9)]['includes'](_0x3a9f08))return _0x5ae399['includes'](_0x960ca4(0x151))?_0x960ca4(0x151):_0x960ca4(0x19c);if([_0x960ca4(0x192),_0x960ca4(0x3d3),_0x960ca4(0x281)][_0x960ca4(0x397)](_0x3a9f08)||[_0x960ca4(0x14a),_0x960ca4(0x354)][_0x960ca4(0x397)](_0x3a9f08))return _0x5ae399[_0x960ca4(0x397)]('$contain')?'$contain':_0x960ca4(0x19c);if(['DATE',_0x960ca4(0x30a),_0x960ca4(0x23f),_0x960ca4(0x3ed)][_0x960ca4(0x397)](_0x3a9f08))return _0x5ae399[_0x960ca4(0x397)](_0x960ca4(0x151))?_0x960ca4(0x151):_0x960ca4(0x19c);return'$eq';}['generateExampleValue'](_0x15e67d,_0x4c2f37){const _0x1e1411=a0_0x302a2e,_0x14418b=_0x15e67d['getDbTypeForOperation'](),_0x55d0d5=_0x15e67d[_0x1e1411(0x3c6)]();if(_0x55d0d5&&_0x55d0d5[_0x1e1411(0x356)]>0x0){if(_0x4c2f37===_0x1e1411(0x239))return _0x55d0d5[_0x1e1411(0x252)](0x0,0x2)[_0x1e1411(0x29c)](_0x26045a=>_0x26045a[_0x1e1411(0x3fc)]);return _0x55d0d5[0x0][_0x1e1411(0x3fc)];}if([_0x1e1411(0x24b),_0x1e1411(0x3da),_0x1e1411(0x2a7),_0x1e1411(0x3f5)][_0x1e1411(0x397)](_0x14418b)||['INT',_0x1e1411(0x382),'SMALLINT',_0x1e1411(0x391),_0x1e1411(0x1b9)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37===_0x1e1411(0x239))return[0x1,0x2,0x3];if(_0x4c2f37==='$gte'||_0x4c2f37===_0x1e1411(0x274))return 0x0;if(_0x4c2f37==='$lte'||_0x4c2f37===_0x1e1411(0x307))return 0x64;return 0x1;}if([_0x1e1411(0x192),_0x1e1411(0x3d3),_0x1e1411(0x281)][_0x1e1411(0x397)](_0x14418b)||[_0x1e1411(0x14a),_0x1e1411(0x354)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37==='$in')return[_0x1e1411(0x20f),'value2'];if(_0x4c2f37===_0x1e1411(0x3aa))return'keyword';if(_0x4c2f37===_0x1e1411(0x305))return _0x1e1411(0x178);if(_0x4c2f37==='$endWith')return _0x1e1411(0x223);return _0x1e1411(0x3fc);}if(['DATE','DATETIME','TIMESTAMP',_0x1e1411(0x3ed)][_0x1e1411(0x397)](_0x14418b)){if(_0x4c2f37===_0x1e1411(0x151)||_0x4c2f37===_0x1e1411(0x274))return _0x1e1411(0x1a4);if(_0x4c2f37===_0x1e1411(0x342)||_0x4c2f37===_0x1e1411(0x307))return _0x1e1411(0x232);return _0x1e1411(0x1a4);}if([_0x1e1411(0x3f6),_0x1e1411(0x2b0),_0x1e1411(0x39e)][_0x1e1411(0x397)](_0x14418b))return!![];return _0x4c2f37==='$in'?['value1',_0x1e1411(0x40a)]:_0x1e1411(0x3fc);}['getRequestParamsDocInfo'](){const _0x53246e=a0_0x302a2e,_0x31880f=this[_0x53246e(0x256)](),_0xb6b910=Object[_0x53246e(0x323)](_0x31880f)[_0x53246e(0x1a8)](([_0x13eb4a])=>_0x13eb4a!=='currentPage'&&_0x13eb4a!==_0x53246e(0x27c))['map'](([_0x37ca83,_0x5b8947])=>{const _0x138eaf=_0x53246e,_0x3b6ec0=_0x5b8947,_0x584102={};return _0x584102['name']=_0x37ca83,_0x584102[_0x138eaf(0x343)]=_0x3b6ec0[_0x138eaf(0x343)]||_0x138eaf(0x196),_0x584102['description']=_0x3b6ec0['description']||'-',_0x584102['required']=_0x3b6ec0[_0x138eaf(0x2db)],_0x584102;}),_0x5b571b={};return _0x5b571b[_0x53246e(0x1a2)]='\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',_0x5b571b['params']=_0xb6b910,_0x5b571b;}[a0_0x302a2e(0x18e)](){const _0x4a9a1e=a0_0x302a2e,_0x2dd784=this[_0x4a9a1e(0x2a9)]()[_0x4a9a1e(0x3ff)],_0x4ab70e=[{}],_0x497ce2=[];_0x2dd784?.[_0x4a9a1e(0x2ab)](_0x5985d1=>{const _0x4e587c=_0x4a9a1e,_0x120b88={};_0x120b88[_0x4e587c(0x331)]=_0x5985d1[_0x4e587c(0x3ca)],_0x120b88[_0x4e587c(0x16f)]=_0x5985d1[_0x4e587c(0x3ca)],_0x497ce2[_0x4e587c(0x3a6)](_0x120b88),_0x4ab70e[0x0][_0x5985d1['alias']]=_0x5985d1[_0x4e587c(0x343)]===_0x4e587c(0x293)?0x64:Math[_0x4e587c(0x210)](Math[_0x4e587c(0x1fe)]()*0x64*0x64)/0x64;});const _0x2fe99a={};_0x2fe99a[_0x4a9a1e(0x27c)]=0x1,_0x2fe99a['totalCount']=0x64,_0x2fe99a[_0x4a9a1e(0x1ee)]=0x1;const _0x5b877a={};_0x5b877a[_0x4a9a1e(0x320)]=_0x2fe99a,_0x5b877a['tableData']=_0x4ab70e,_0x5b877a[_0x4a9a1e(0x1ed)]=_0x497ce2;const _0x1ec18f={};return _0x1ec18f[_0x4a9a1e(0x263)]=!![],_0x1ec18f['msg']='',_0x1ec18f[_0x4a9a1e(0x165)]='',_0x1ec18f[_0x4a9a1e(0x201)]=_0x4a9a1e(0x346),_0x1ec18f[_0x4a9a1e(0x179)]=_0x5b877a,_0x1ec18f[_0x4a9a1e(0x17b)]=null,_0x1ec18f;}}class OperationFactory{[a0_0x302a2e(0x289)](_0x3bd3cd,_0xefb866,_0x396f30){const _0x441322=a0_0x302a2e;switch(_0x3bd3cd){case _0x441322(0x2d9):return new GetSelectOptionsOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x2fd):return new GetListOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x1a8):return new FilterOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x1ad):return new ExcelExportOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x231):return new UpdateOperation(_0x3bd3cd,_0xefb866,_0x396f30);case _0x441322(0x3ff):return new AggregateOperation(_0x3bd3cd,_0xefb866,_0x396f30);default:return new GenericOperation(_0x3bd3cd,_0xefb866,_0x396f30);}}[a0_0x302a2e(0x23a)](_0x353dcd,_0x48d67b){const _0x52327d=a0_0x302a2e,_0x4092f9=new Map();return Object['entries'](_0x353dcd)[_0x52327d(0x2ab)](([_0x2e6760,_0x4ce8b])=>{const _0x6dbb99=_0x52327d;_0x4092f9[_0x6dbb99(0x2c3)](_0x2e6760,this[_0x6dbb99(0x289)](_0x2e6760,_0x4ce8b,_0x48d67b));}),_0x4092f9;}}class OperationList{[a0_0x302a2e(0x17a)];constructor(_0x89ca69,_0xa8e771){const _0x7f03bc=a0_0x302a2e,_0x4a6488=new OperationFactory();this[_0x7f03bc(0x17a)]=_0x4a6488[_0x7f03bc(0x23a)](_0x89ca69,_0xa8e771);}[a0_0x302a2e(0x240)](_0x1d2270){const _0x2a52ce=a0_0x302a2e;return this[_0x2a52ce(0x17a)]['get'](_0x1d2270);}[a0_0x302a2e(0x14c)](_0x45ca2e){const _0x2938ff=a0_0x302a2e;return this[_0x2938ff(0x17a)]['has'](_0x45ca2e);}[a0_0x302a2e(0x170)](){const _0x4ab88f=a0_0x302a2e;return this[_0x4ab88f(0x17a)][_0x4ab88f(0x170)];}[a0_0x302a2e(0x3b5)](){const _0x463f3e=a0_0x302a2e;return Array['from'](this[_0x463f3e(0x17a)]['keys']());}[a0_0x302a2e(0x36e)](){const _0x18160a=a0_0x302a2e,_0x37944f=Array[_0x18160a(0x163)](this[_0x18160a(0x17a)][_0x18160a(0x288)]());return this[_0x18160a(0x383)](_0x37944f);}[a0_0x302a2e(0x2e2)](){const _0x374cb=a0_0x302a2e;return this[_0x374cb(0x36e)]()[_0x374cb(0x1a8)](_0x23585c=>_0x23585c[_0x374cb(0x173)]());}[a0_0x302a2e(0x378)](){const _0x24594e=a0_0x302a2e;return this['toArray']()[_0x24594e(0x1a8)](_0xc353a4=>!_0xc353a4[_0x24594e(0x173)]());}[a0_0x302a2e(0x3c3)](){const _0x2ae800=a0_0x302a2e;return this['getEnabled']()['map'](_0x58a8b6=>_0x58a8b6[_0x2ae800(0x2d2)]());}[a0_0x302a2e(0x28e)](){const _0x592385=a0_0x302a2e;return this[_0x592385(0x378)]()[_0x592385(0x29c)](_0x8d2198=>_0x8d2198['getName']());}[a0_0x302a2e(0x37c)](_0x2fc0e1){const _0x29db4b=a0_0x302a2e;return this['toArray']()['filter'](_0x51d769=>_0x51d769[_0x29db4b(0x3ec)]()===_0x2fc0e1);}[a0_0x302a2e(0x1a8)](_0x4bffe3){const _0x2f6b54=a0_0x302a2e;return this[_0x2f6b54(0x36e)]()[_0x2f6b54(0x1a8)](_0x4bffe3);}[a0_0x302a2e(0x1df)](_0x280ed5={}){const _0x530360=a0_0x302a2e;let _0x24d590=this[_0x530360(0x36e)]();!_0x280ed5['includeDisabled']&&(_0x24d590=_0x24d590[_0x530360(0x1a8)](_0x1dd5c2=>_0x1dd5c2[_0x530360(0x173)]()));if(_0x280ed5[_0x530360(0x2d3)]!==![]){const _0xf19ce9=_0x24d590[_0x530360(0x29c)](_0xdf45e8=>({'name':_0xdf45e8['getName'](),'operation':_0xdf45e8})),_0x10087d=filterApiOperations(_0xf19ce9);_0x24d590=_0x10087d[_0x530360(0x29c)](_0x4c9268=>_0x4c9268[_0x530360(0x402)]),_0x24d590=this[_0x530360(0x383)](_0x24d590);}return _0x280ed5['customFilter']&&(_0x24d590=_0x24d590[_0x530360(0x1a8)](_0x280ed5[_0x530360(0x153)])),_0x24d590;}[a0_0x302a2e(0x383)](_0x58d8c0){const _0x474cdb=a0_0x302a2e,_0x150170=_0x58d8c0[_0x474cdb(0x363)](_0x527582=>_0x527582['getName']()===_0x474cdb(0x1a8)),_0xb50531=_0x58d8c0[_0x474cdb(0x1a8)](_0x425681=>_0x425681[_0x474cdb(0x2d2)]()!==_0x474cdb(0x1a8));return _0x150170?[_0x150170,..._0xb50531]:_0xb50531;}['getStats'](){const _0x2ebf21=a0_0x302a2e,_0x5664b1=this['getEnabled']();return{'total':this[_0x2ebf21(0x170)](),'enabled':_0x5664b1[_0x2ebf21(0x356)],'disabled':this[_0x2ebf21(0x170)]()-_0x5664b1[_0x2ebf21(0x356)],'byType':this[_0x2ebf21(0x181)](_0x5664b1),'byMethod':this[_0x2ebf21(0x348)](_0x5664b1)};}[a0_0x302a2e(0x181)](_0x575479){const _0x505db9={};return _0x575479['forEach'](_0x1df61e=>{const _0x5737b7=a0_0x14b3,_0x277955=_0x1df61e[_0x5737b7(0x3ec)]();_0x277955&&(_0x505db9[_0x277955]=(_0x505db9[_0x277955]||0x0)+0x1);}),_0x505db9;}['getCountByMethod'](_0x7f0fc5){const _0x4facac={};return _0x7f0fc5['forEach'](_0x52e53e=>{const _0x48d8fd=a0_0x14b3,_0x55022e=_0x52e53e[_0x48d8fd(0x20d)]();_0x55022e&&(_0x4facac[_0x55022e]=(_0x4facac[_0x55022e]||0x0)+0x1);}),_0x4facac;}[Symbol[a0_0x302a2e(0x292)]](){const _0x12f31e=a0_0x302a2e;return this[_0x12f31e(0x17a)]['values']();}[a0_0x302a2e(0x408)](){const _0x50d0b7=a0_0x302a2e,_0x229597=this[_0x50d0b7(0x3bb)]();return _0x50d0b7(0x2de)+_0x229597['enabled']+'/'+_0x229597[_0x50d0b7(0x393)]+_0x50d0b7(0x14d);}}class DBConfig{[a0_0x302a2e(0x33e)];[a0_0x302a2e(0x329)];['dbName'];[a0_0x302a2e(0x1f3)];[a0_0x302a2e(0x224)];[a0_0x302a2e(0x1b6)];[a0_0x302a2e(0x390)];[a0_0x302a2e(0x2ce)];[a0_0x302a2e(0x248)];[a0_0x302a2e(0x37d)];constructor(_0x3d001a,_0x271628){const _0x1cba38=a0_0x302a2e;this['raw']=_0x271628,this[_0x1cba38(0x329)]=_0x3d001a[_0x1cba38(0x329)],this[_0x1cba38(0x37a)]=_0x3d001a['dbName'],this[_0x1cba38(0x1f3)]=_0x3d001a[_0x1cba38(0x1f3)],this['dbVersion']=_0x3d001a['dbVersion'],this['tableName']=_0x3d001a[_0x1cba38(0x1b6)],this[_0x1cba38(0x390)]=_0x3d001a[_0x1cba38(0x390)],this['pkField']=_0x3d001a[_0x1cba38(0x2ce)],this[_0x1cba38(0x248)]=_0x3d001a[_0x1cba38(0x248)],this[_0x1cba38(0x37d)]=_0x3d001a[_0x1cba38(0x37d)];}[a0_0x302a2e(0x3f7)](){const _0x156a0d=a0_0x302a2e;return this[_0x156a0d(0x33e)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x302a2e(0x375)];[a0_0x302a2e(0x40b)];[a0_0x302a2e(0x3fa)];constructor(_0x21d151){const _0x3b4984=a0_0x302a2e,_0x31d59a={..._0x21d151};_0x31d59a['id']=_0x21d151[_0x3b4984(0x32b)]||_0x21d151['id'],_0x31d59a[_0x3b4984(0x357)]=_0x21d151[_0x3b4984(0x22b)]||_0x21d151['datasetCode']||_0x21d151['code'],super(_0x31d59a);}[a0_0x302a2e(0x204)](){return;}['getRelations'](){return[];}['getIndexes'](){return[];}get['source'](){return this['getSource']();}[a0_0x302a2e(0x1fc)](){const _0xf48865=a0_0x302a2e;if(!this[_0xf48865(0x40b)])throw new Error(_0xf48865(0x22e));return this['_fieldList'];}[a0_0x302a2e(0x34d)](){const _0x30daaf=a0_0x302a2e;if(!this[_0x30daaf(0x3fa)])throw new Error(_0x30daaf(0x235));return this[_0x30daaf(0x3fa)];}['getFields'](){return[];}[a0_0x302a2e(0x3d5)](){const _0x4c6600=a0_0x302a2e,_0x376786=this[_0x4c6600(0x2e5)]();return _0x376786[_0x4c6600(0x2d1)];}['getFieldCount'](){const _0x1ccc47=a0_0x302a2e;return this[_0x1ccc47(0x325)]()[_0x1ccc47(0x356)];}[a0_0x302a2e(0x1b4)](_0xf58221){const _0x3df725=a0_0x302a2e,_0x48e53f=this[_0x3df725(0x29d)](_0xf58221);return _0x48e53f?_0x48e53f[_0x3df725(0x33e)]:undefined;}[a0_0x302a2e(0x3d4)](_0x47415b){return;}[a0_0x302a2e(0x312)](_0xc296fa){const _0x42110e=a0_0x302a2e;if(!_0xc296fa||typeof _0xc296fa!==_0x42110e(0x3d7))return!![]&&console['warn'](_0x42110e(0x3e5),_0xc296fa),{};if(_0x42110e(0x2ce)in _0xc296fa){const _0x2df0c4=_0xc296fa;return{'primaryKey':typeof _0x2df0c4['pkField']===_0x42110e(0x23d)?_0x2df0c4[_0x42110e(0x2ce)]:Boolean(_0x2df0c4[_0x42110e(0x2ce)]),'required':_0x2df0c4[_0x42110e(0x2db)],'systemRetain':Boolean(_0x2df0c4['systemRetain']),'autoIncrement':_0x2df0c4['autoIncrement']??undefined};}if(!(_0x42110e(0x327)in _0xc296fa)||!_0xc296fa['extend'])return{};try{const _0x3b719d=typeof _0xc296fa[_0x42110e(0x327)]===_0x42110e(0x28b)?JSON[_0x42110e(0x1d5)](_0xc296fa['extend']):_0xc296fa[_0x42110e(0x327)];if(typeof _0x3b719d!=='object'||_0x3b719d===null)return{};return _0x3b719d;}catch{return{};}}[a0_0x302a2e(0x27d)](){const _0x3d2cef=a0_0x302a2e;if(!this['_operationList']){const _0xf488cd=this[_0x3d2cef(0x1d4)](this['getOperationsData']()||{});this[_0x3d2cef(0x375)]=new OperationList(_0xf488cd,{'fields':this['getFieldList']()[_0x3d2cef(0x32a)](),'pkField':this[_0x3d2cef(0x322)][_0x3d2cef(0x1e9)]?.[_0x3d2cef(0x2ce)],'dbtableConfig':this[_0x3d2cef(0x322)]['dbtableConfig']||null});}return this[_0x3d2cef(0x375)];}[a0_0x302a2e(0x1d4)](_0x41fcbc){const _0x640fea=a0_0x302a2e;if(_0x41fcbc['filter']!==undefined)return _0x41fcbc;return{..._0x41fcbc,'filter':this[_0x640fea(0x31b)]()};}['generateDefaultFilterOperation'](){const _0x6d143f=a0_0x302a2e,_0x48f4ca=this['getOperationsData']()?.[_0x6d143f(0x2fd)];let _0x454574=_0x48f4ca?.[_0x6d143f(0x39b)],_0x4161d8='';if(!_0x454574&&this[_0x6d143f(0x2d4)]()){const _0x42513f=Object[_0x6d143f(0x288)](this[_0x6d143f(0x2d4)]());for(const _0x121609 of _0x42513f){if(_0x121609&&typeof _0x121609===_0x6d143f(0x3d7)&&'host'in _0x121609){_0x454574=_0x121609[_0x6d143f(0x39b)];break;}}}if(_0x48f4ca?.[_0x6d143f(0x176)]){const _0x35dbed=_0x48f4ca[_0x6d143f(0x176)],_0x25dfe0=_0x35dbed[_0x6d143f(0x358)]('/');_0x25dfe0!==-0x1&&(_0x4161d8=_0x35dbed['substring'](0x0,_0x25dfe0));}const _0x3157a3={};_0x3157a3['name']=_0x6d143f(0x35f),_0x3157a3[_0x6d143f(0x343)]=_0x6d143f(0x3d7),_0x3157a3[_0x6d143f(0x2db)]=![];const _0x3713e8={};_0x3713e8['name']=_0x6d143f(0x3e2),_0x3713e8[_0x6d143f(0x343)]=_0x6d143f(0x197),_0x3713e8[_0x6d143f(0x2db)]=![];const _0x119c5e={};_0x119c5e[_0x6d143f(0x3f0)]=_0x6d143f(0x3a2),_0x119c5e[_0x6d143f(0x343)]=_0x6d143f(0x197),_0x119c5e[_0x6d143f(0x2db)]=![];const _0x5428b9={};_0x5428b9[_0x6d143f(0x3f0)]='currentPage',_0x5428b9[_0x6d143f(0x343)]=_0x6d143f(0x3f1),_0x5428b9[_0x6d143f(0x2db)]=![],_0x5428b9[_0x6d143f(0x3f4)]=0x1;const _0x57b88d={};_0x57b88d['name']=_0x6d143f(0x27c),_0x57b88d['type']=_0x6d143f(0x3f1),_0x57b88d[_0x6d143f(0x2db)]=![],_0x57b88d[_0x6d143f(0x3f4)]=0xa;const _0x3959cf={};return _0x3959cf['name']=_0x6d143f(0x1a8),_0x3959cf['type']=_0x6d143f(0x164),_0x3959cf[_0x6d143f(0x1a2)]=_0x6d143f(0x2c7),_0x3959cf[_0x6d143f(0x373)]=_0x6d143f(0x38b),_0x3959cf['host']=_0x454574,_0x3959cf['path']=_0x4161d8?_0x4161d8+_0x6d143f(0x216):_0x6d143f(0x216),_0x3959cf[_0x6d143f(0x17b)]=_0x48f4ca?.[_0x6d143f(0x17b)]||[_0x3157a3,_0x3713e8,_0x119c5e,_0x5428b9,_0x57b88d],_0x3959cf[_0x6d143f(0x244)]=!![],_0x3959cf;}['getOperations'](){const _0x9d9fa7=a0_0x302a2e;return this[_0x9d9fa7(0x27d)]()[_0x9d9fa7(0x36e)]();}[a0_0x302a2e(0x25c)](){const _0x3f5d30=a0_0x302a2e;return this[_0x3f5d30(0x27d)]()[_0x3f5d30(0x170)]();}[a0_0x302a2e(0x278)](_0x83746a){const _0x360577=a0_0x302a2e;if(typeof _0x83746a!=='string'){!![]&&console['warn']('[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:',_0x83746a);return;}return this[_0x360577(0x27d)]()[_0x360577(0x240)](_0x83746a);}[a0_0x302a2e(0x180)](_0x1ec903){const _0xe429cd=a0_0x302a2e;if(typeof _0x1ec903!==_0xe429cd(0x28b))return![];return this['getOperationList']()['has'](_0x1ec903);}['isOperationEnabled'](_0xa95805){const _0x54c1f2=a0_0x302a2e;if(typeof _0xa95805!==_0x54c1f2(0x28b))return![];const _0x451a10=this[_0x54c1f2(0x278)](_0xa95805);return _0x451a10?.[_0x54c1f2(0x173)]()||![];}[a0_0x302a2e(0x206)](){const _0x440022=a0_0x302a2e;return this[_0x440022(0x27d)]()[_0x440022(0x3c3)]();}[a0_0x302a2e(0x22c)](){const _0x461992=a0_0x302a2e;return this[_0x461992(0x27d)]()[_0x461992(0x28e)]();}[a0_0x302a2e(0x1f6)](){const _0x485ad3=a0_0x302a2e;return this[_0x485ad3(0x27d)]()[_0x485ad3(0x2e2)]();}[a0_0x302a2e(0x3b2)](){const _0x377dea=a0_0x302a2e;return this[_0x377dea(0x27d)]()[_0x377dea(0x378)]();}['getFilteredOperations'](_0x5e1cd4={}){const _0x1a2d89=a0_0x302a2e;return this[_0x1a2d89(0x27d)]()['getFiltered'](_0x5e1cd4);}[a0_0x302a2e(0x3bb)](){const _0x3a5856=a0_0x302a2e;return{'fieldCount':this[_0x3a5856(0x275)](),'systemFieldCount':this[_0x3a5856(0x33c)]()[_0x3a5856(0x356)],'businessFieldCount':this[_0x3a5856(0x3d1)]()['length'],'requiredFieldCount':this['getRequiredFields']()[_0x3a5856(0x356)],'primaryKeyCount':this[_0x3a5856(0x155)]()[_0x3a5856(0x356)],'operationCount':this['getOperationCount'](),'enabledOperationCount':this[_0x3a5856(0x206)]()[_0x3a5856(0x356)]};}[a0_0x302a2e(0x347)](_0x125f30){const _0x598a89=a0_0x302a2e;if(!_0x125f30||typeof _0x125f30!==_0x598a89(0x3d7))return'';if('code'in _0x125f30&&typeof _0x125f30[_0x598a89(0x218)]===_0x598a89(0x28b))return _0x125f30[_0x598a89(0x218)];if(_0x598a89(0x3f0)in _0x125f30&&typeof _0x125f30[_0x598a89(0x3f0)]===_0x598a89(0x28b))return _0x125f30[_0x598a89(0x3f0)];return'';}[a0_0x302a2e(0x2ac)](_0x5d30d2){const _0x338728=a0_0x302a2e;return this[_0x338728(0x1fc)]()[_0x338728(0x14c)](_0x5d30d2);}[a0_0x302a2e(0x29a)](_0x433fb1){const _0x315736=a0_0x302a2e;if(!_0x433fb1||typeof _0x433fb1!==_0x315736(0x3d7))return![];const _0x2b6628=this[_0x315736(0x347)](_0x433fb1),_0x4211d7=this[_0x315736(0x29d)](_0x2b6628);return _0x4211d7?_0x4211d7['isPrimaryKey']():![];}[a0_0x302a2e(0x1fd)](_0x5eff13){const _0x4d4288=a0_0x302a2e;if(!_0x5eff13||typeof _0x5eff13!==_0x4d4288(0x3d7))return![];const _0x410a19=this[_0x4d4288(0x347)](_0x5eff13),_0x18dcf7=this['getFieldInstance'](_0x410a19);return _0x18dcf7?_0x18dcf7[_0x4d4288(0x374)]():![];}['isRequiredField'](_0x3bc431){const _0x555b51=a0_0x302a2e;if(!_0x3bc431||typeof _0x3bc431!==_0x555b51(0x3d7))return![];const _0x708b1d=this[_0x555b51(0x347)](_0x3bc431),_0xf8f04c=this[_0x555b51(0x29d)](_0x708b1d);return _0xf8f04c?_0xf8f04c['isRequired']():![];}[a0_0x302a2e(0x26a)](_0x4f75bb){const _0x23f3fc=a0_0x302a2e;if(!_0x4f75bb||typeof _0x4f75bb!==_0x23f3fc(0x3d7))return![];const _0x561282=this[_0x23f3fc(0x347)](_0x4f75bb),_0x3df0b1=this[_0x23f3fc(0x29d)](_0x561282);return _0x3df0b1?_0x3df0b1[_0x23f3fc(0x409)]():![];}[a0_0x302a2e(0x34b)](_0x1a7630){const _0x2ebc4c=a0_0x302a2e;if(!_0x1a7630||typeof _0x1a7630!=='object')return![];const _0x243561=this[_0x2ebc4c(0x347)](_0x1a7630),_0x53c4e5=this['getFieldInstance'](_0x243561);return _0x53c4e5?_0x53c4e5[_0x2ebc4c(0x21f)]():![];}['getFieldOptions'](_0x5a1963){const _0x4ef7a7=a0_0x302a2e;if(!_0x5a1963||typeof _0x5a1963!==_0x4ef7a7(0x3d7))return[];const _0x3ac7f5=this[_0x4ef7a7(0x347)](_0x5a1963),_0x12daf4=this['getFieldInstance'](_0x3ac7f5);if(!_0x12daf4||!_0x12daf4['isEnum']())return[];return _0x12daf4['getEnumOptions']()||[];}[a0_0x302a2e(0x3f3)](_0x283eee){const _0xf41bb6=a0_0x302a2e;if(!_0x283eee||typeof _0x283eee!=='object')return;const _0xef5e3=this[_0xf41bb6(0x347)](_0x283eee),_0x463860=this[_0xf41bb6(0x29d)](_0xef5e3);if(!_0x463860||!_0x463860['isEnum']())return;return _0x463860[_0xf41bb6(0x372)]();}[a0_0x302a2e(0x258)](_0x46de5b){const _0x47cadb=a0_0x302a2e;if(!_0x46de5b||typeof _0x46de5b!==_0x47cadb(0x3d7))return;const _0x1d7402=this[_0x47cadb(0x347)](_0x46de5b),_0x441db2=this[_0x47cadb(0x29d)](_0x1d7402);if(!_0x441db2||!_0x441db2['isEnum']())return;return _0x441db2[_0x47cadb(0x190)]();}['getPrimaryKeyFields'](){const _0x1d3b04=a0_0x302a2e;return this[_0x1d3b04(0x1fc)]()[_0x1d3b04(0x2be)]()[_0x1d3b04(0x29c)](_0x13a69c=>_0x13a69c['raw']);}['getSystemFields'](){const _0x4f20c3=a0_0x302a2e;return this['getFieldList']()[_0x4f20c3(0x3e3)]()[_0x4f20c3(0x29c)](_0x4a3a50=>_0x4a3a50[_0x4f20c3(0x33e)]);}[a0_0x302a2e(0x3d1)](){const _0xcf1f51=a0_0x302a2e;return this[_0xcf1f51(0x1fc)]()[_0xcf1f51(0x2ec)]()[_0xcf1f51(0x29c)](_0x357786=>_0x357786[_0xcf1f51(0x33e)]);}[a0_0x302a2e(0x177)](){const _0x428d74=a0_0x302a2e;return this[_0x428d74(0x1fc)]()[_0x428d74(0x24e)]()[_0x428d74(0x29c)](_0x8fe00a=>_0x8fe00a[_0x428d74(0x33e)]);}['getFieldsByType'](){const _0x4d2a6c=a0_0x302a2e,_0x4f48c4=this[_0x4d2a6c(0x1fc)]()[_0x4d2a6c(0x198)](),_0xe76850={};for(const [_0x445dba,_0x289437]of Object['entries'](_0x4f48c4)){_0xe76850[_0x445dba]=_0x289437[_0x4d2a6c(0x29c)](_0x21c6f5=>_0x21c6f5[_0x4d2a6c(0x33e)]);}return _0xe76850;}[a0_0x302a2e(0x1be)](){const _0x58b552=a0_0x302a2e;return this[_0x58b552(0x1fc)]()[_0x58b552(0x369)]()[_0x58b552(0x29c)](_0xaa6c34=>_0xaa6c34[_0x58b552(0x33e)]);}['getEnumFieldsMeta'](){const _0x17eadb=a0_0x302a2e,_0x2dd7f2={};return this[_0x17eadb(0x1be)]()[_0x17eadb(0x2ab)](_0x57c741=>{const _0x58b27f=_0x17eadb,_0x366e46=this[_0x58b27f(0x258)](_0x57c741);if(_0x366e46){const _0x803f63=this[_0x58b27f(0x347)](_0x57c741);_0x2dd7f2[_0x803f63]=_0x366e46;}}),_0x2dd7f2;}['validateEnumValue'](_0x35893d,_0x4827e7){const _0x295014=a0_0x302a2e,_0x595e01=this[_0x295014(0x258)](_0x35893d);if(!_0x595e01)return!![];if(_0x595e01['selectItemsSource']&&!_0x595e01[_0x295014(0x2f1)])return!![];const _0x31d8ff=this[_0x295014(0x347)](_0x35893d),_0x467f30=this[_0x295014(0x29d)](_0x31d8ff),_0x421e3e=_0x467f30?_0x467f30['isMultipleSelect']():![];if(_0x421e3e&&Array[_0x295014(0x33a)](_0x4827e7))return _0x4827e7[_0x295014(0x22a)](_0x40b1ac=>_0x595e01[_0x295014(0x288)]['includes'](_0x40b1ac));return _0x595e01[_0x295014(0x288)][_0x295014(0x397)](_0x4827e7);}[a0_0x302a2e(0x333)](){const _0x28b208=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x28b208(0x3f0)],'datasetCode':this[_0x28b208(0x357)],'dbtableConfig':this[_0x28b208(0x339)]()});}[a0_0x302a2e(0x408)](){const _0xf6627c=a0_0x302a2e;return _0xf6627c(0x14f)+this[_0xf6627c(0x3f0)]+',\x20'+this['datasetCode']+',\x20'+this[_0xf6627c(0x275)]()+_0xf6627c(0x156)+this[_0xf6627c(0x25c)]()+_0xf6627c(0x3f9)+this[_0xf6627c(0x24d)]()+')';}[a0_0x302a2e(0x350)](){const _0x22875e=a0_0x302a2e;return this[_0x22875e(0x2e9)](_0x22875e(0x1a8));}['getFieldFilterOperators'](_0x1cf51b){const _0x7d0c9=a0_0x302a2e;return this[_0x7d0c9(0x3d8)](_0x7d0c9(0x1a8),_0x1cf51b);}[a0_0x302a2e(0x315)](){return this['getOperationFieldsOperatorsMap']('filter');}['getOperationOperators'](_0x907ce0){const _0x13e0e5=a0_0x302a2e,_0x42a5aa=this[_0x13e0e5(0x278)](_0x907ce0);return _0x42a5aa?_0x42a5aa[_0x13e0e5(0x3b7)]():[];}[a0_0x302a2e(0x3d8)](_0x391c32,_0x447d13){const _0x1c62b2=a0_0x302a2e,_0x550dbd=this[_0x1c62b2(0x278)](_0x391c32);return _0x550dbd?_0x550dbd[_0x1c62b2(0x2ba)](_0x447d13):[];}[a0_0x302a2e(0x1ef)](_0x570a9d){const _0x2b1acb=a0_0x302a2e,_0x3e1df5={};return this['getFieldList']()[_0x2b1acb(0x2ab)](_0x4e6979=>{const _0x134557=_0x2b1acb,_0x1ec0b3=this['getOperationFieldOperators'](_0x570a9d,_0x4e6979[_0x134557(0x218)]);_0x1ec0b3['length']>0x0&&(_0x3e1df5[_0x4e6979[_0x134557(0x218)]]=_0x1ec0b3);}),_0x3e1df5;}[a0_0x302a2e(0x371)](_0x40f57b,_0xebe485,_0x15d2db){const _0x427bd7=a0_0x302a2e,_0x5a2e13=this[_0x427bd7(0x3d8)](_0x40f57b,_0xebe485);return _0x5a2e13[_0x427bd7(0x397)](_0x15d2db);}}class FieldBase{get[a0_0x302a2e(0x1f3)](){return;}get[a0_0x302a2e(0x15b)](){return;}get['displayName'](){return;}get['doType'](){return;}[a0_0x302a2e(0x271)](){const _0xf653ca=a0_0x302a2e;return!this[_0xf653ca(0x374)]();}[a0_0x302a2e(0x3fd)](){const _0x2fb943=a0_0x302a2e;return this[_0x2fb943(0x1c8)];}[a0_0x302a2e(0x409)](){const _0x4fa4a7=a0_0x302a2e,_0x1631f1=[_0x4fa4a7(0x1e0),'SELECT',_0x4fa4a7(0x202)];return _0x1631f1[_0x4fa4a7(0x397)](this['type']);}[a0_0x302a2e(0x21f)](){const _0x48206e=a0_0x302a2e;return this[_0x48206e(0x343)]===_0x48206e(0x202);}[a0_0x302a2e(0x308)](){const _0x5101d8=a0_0x302a2e,_0x409e58=this[_0x5101d8(0x190)]();return _0x409e58?.['values']||[];}['getEnumMeta'](){const _0x23215d=a0_0x302a2e;if(!this[_0x23215d(0x409)]())return;const _0x120d50=this['getEnumOptions'](),_0x4efce6=this[_0x23215d(0x372)](),_0x4f3361=[],_0x1d32df={},_0x413dfb=_0x5863a4=>{const _0xf1cf54=_0x23215d;_0x5863a4[_0xf1cf54(0x2ab)](_0x2e9c76=>{const _0x5ae32e=_0xf1cf54;if(!_0x2e9c76||typeof _0x2e9c76!==_0x5ae32e(0x3d7))return;_0x2e9c76[_0x5ae32e(0x3fc)]!==undefined&&_0x2e9c76['value']!==null&&(_0x4f3361[_0x5ae32e(0x3a6)](_0x2e9c76['value']),_0x1d32df[String(_0x2e9c76[_0x5ae32e(0x3fc)])]=_0x2e9c76['label']||''),_0x2e9c76['children']&&Array[_0x5ae32e(0x33a)](_0x2e9c76['children'])&&_0x2e9c76[_0x5ae32e(0x3df)][_0x5ae32e(0x356)]>0x0&&_0x413dfb(_0x2e9c76[_0x5ae32e(0x3df)]);});};return _0x120d50&&Array[_0x23215d(0x33a)](_0x120d50)&&_0x120d50[_0x23215d(0x356)]>0x0&&_0x413dfb(_0x120d50),{'code':this[_0x23215d(0x218)],'name':this['name'],'type':this[_0x23215d(0x343)],'multiple':this['isMultipleSelect'](),'options':_0x120d50,'selectItemsSource':_0x4efce6,'values':_0x4f3361,'valueLabels':_0x1d32df};}get[a0_0x302a2e(0x360)](){const _0x386795=a0_0x302a2e;return this[_0x386795(0x308)]();}[a0_0x302a2e(0x408)](){const _0x3d011e=a0_0x302a2e;return'Field('+this[_0x3d011e(0x3f0)]+',\x20'+this['code']+',\x20'+this[_0x3d011e(0x343)]+',\x20'+this[_0x3d011e(0x24d)]()+')';}}class FieldV1 extends FieldBase{['_raw'];[a0_0x302a2e(0x2b5)]=null;constructor(_0x1535b1){const _0x262d52=a0_0x302a2e;super();if(!_0x1535b1||typeof _0x1535b1!=='object')throw new Error(_0x262d52(0x1c2));this['_raw']=_0x1535b1;}[a0_0x302a2e(0x2bd)](){return this['_raw'];}[a0_0x302a2e(0x24d)](){return'v1';}get[a0_0x302a2e(0x33e)](){return this['_raw'];}get['name'](){const _0x5e8978=a0_0x302a2e;return this[_0x5e8978(0x322)][_0x5e8978(0x3f0)]||'';}get[a0_0x302a2e(0x218)](){const _0x1b83db=a0_0x302a2e;return this[_0x1b83db(0x322)][_0x1b83db(0x218)]||'';}get['type'](){const _0x58746d=a0_0x302a2e;return this['_raw'][_0x58746d(0x343)]||'';}get[a0_0x302a2e(0x1a2)](){const _0x185f30=a0_0x302a2e;return this[_0x185f30(0x322)]['description']||'';}get[a0_0x302a2e(0x1c8)](){const _0x96c985=a0_0x302a2e;return Boolean(this[_0x96c985(0x322)][_0x96c985(0x1c8)]);}get[a0_0x302a2e(0x1f3)](){const _0x4b7679=a0_0x302a2e;return this[_0x4b7679(0x322)][_0x4b7679(0x1f3)];}get[a0_0x302a2e(0x15b)](){const _0x583bc6=a0_0x302a2e;return this[_0x583bc6(0x322)]['dbTypeLen'];}get[a0_0x302a2e(0x385)](){const _0x4bee32=a0_0x302a2e;return this['_raw'][_0x4bee32(0x3ca)];}get[a0_0x302a2e(0x377)](){return;}get['extend'](){const _0x450455=a0_0x302a2e;if(this['_extend']!==null&&typeof this['_extend']===_0x450455(0x3d7))return this[_0x450455(0x2b5)];const _0x19d873=this['_raw'][_0x450455(0x327)];if(!_0x19d873||typeof _0x19d873!==_0x450455(0x28b))return this[_0x450455(0x2b5)]={},this[_0x450455(0x2b5)];if(_0x19d873==='null'||_0x19d873[_0x450455(0x401)]()===_0x450455(0x3de))return this[_0x450455(0x2b5)]={},this['_extend'];try{const _0x2dea32=JSON[_0x450455(0x1d5)](_0x19d873);return this[_0x450455(0x2b5)]=_0x2dea32!==null&&typeof _0x2dea32===_0x450455(0x3d7)&&!Array['isArray'](_0x2dea32)?_0x2dea32:{},this['_extend'];}catch(_0x4d9cc5){return!![]&&console['warn']('[FieldV1.extend]\x20解析字段\x20'+this[_0x450455(0x218)]+'\x20的\x20extend\x20配置失败:',_0x4d9cc5),this['_extend']={},this[_0x450455(0x2b5)];}}[a0_0x302a2e(0x149)](){const _0x383f79=a0_0x302a2e;return Boolean(this[_0x383f79(0x327)][_0x383f79(0x2db)]);}[a0_0x302a2e(0x3b6)](){const _0x5c33f1=a0_0x302a2e;return Boolean(this[_0x5c33f1(0x327)][_0x5c33f1(0x1c4)]||this[_0x5c33f1(0x327)]['pkField']);}[a0_0x302a2e(0x374)](){const _0x21d97a=a0_0x302a2e;return Boolean(this['extend'][_0x21d97a(0x23b)]);}[a0_0x302a2e(0x27e)](){const _0x2955fd=a0_0x302a2e;return Boolean(this['extend'][_0x2955fd(0x394)]);}['isCreateTime'](){const _0x2f90b9=a0_0x302a2e;return Boolean(this[_0x2f90b9(0x327)][_0x2f90b9(0x3a8)]);}[a0_0x302a2e(0x32c)](){const _0x35175c=a0_0x302a2e;return Boolean(this['extend'][_0x35175c(0x406)]);}[a0_0x302a2e(0x388)](){const _0x1aa0a9=a0_0x302a2e;return this[_0x1aa0a9(0x3f0)];}['getFieldName'](){const _0x371403=a0_0x302a2e;return this[_0x371403(0x218)];}['isEnum'](){const _0x2ec84a=a0_0x302a2e,_0x5dec35=[_0x2ec84a(0x1e0),_0x2ec84a(0x1f4),'CHECKBOX'];if(_0x5dec35[_0x2ec84a(0x397)](this[_0x2ec84a(0x343)]))return!![];const _0x26168d=this[_0x2ec84a(0x327)];return Boolean(_0x26168d[_0x2ec84a(0x2f1)]&&Array[_0x2ec84a(0x33a)](_0x26168d[_0x2ec84a(0x2f1)])&&_0x26168d[_0x2ec84a(0x2f1)]['length']>0x0||_0x26168d[_0x2ec84a(0x20a)]);}[a0_0x302a2e(0x21f)](){const _0x43c5c1=a0_0x302a2e;if(this[_0x43c5c1(0x343)]===_0x43c5c1(0x202))return!![];return Boolean(this[_0x43c5c1(0x327)]['multiple']);}[a0_0x302a2e(0x3c6)](){const _0x75fb64=a0_0x302a2e,_0xbed79e=this[_0x75fb64(0x327)];if(_0xbed79e[_0x75fb64(0x2f1)]&&Array[_0x75fb64(0x33a)](_0xbed79e[_0x75fb64(0x2f1)]))return _0xbed79e[_0x75fb64(0x2f1)];return;}['getSelectItemsSource'](){const _0x1bca10=a0_0x302a2e,_0x59b447=this[_0x1bca10(0x327)];if(_0x59b447['selectItemsSource']&&typeof _0x59b447[_0x1bca10(0x20a)]===_0x1bca10(0x3d7))return _0x59b447['selectItemsSource'];return;}[a0_0x302a2e(0x25b)](){const _0x423338=a0_0x302a2e;return this[_0x423338(0x343)][_0x423338(0x2b1)]();}[a0_0x302a2e(0x3bc)](){return this['extend']['defaultValue'];}[a0_0x302a2e(0x396)](){const _0x5724d1=a0_0x302a2e;return this[_0x5724d1(0x327)][_0x5724d1(0x345)];}['toJSON'](){const _0x531b7d=a0_0x302a2e;return{'name':this['name'],'code':this[_0x531b7d(0x218)],'type':this[_0x531b7d(0x343)],'dbType':this[_0x531b7d(0x1f3)],'dbTypeLen':this[_0x531b7d(0x15b)],'description':this[_0x531b7d(0x1a2)],'required':this[_0x531b7d(0x149)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x531b7d(0x374)](),'autoIncrement':this[_0x531b7d(0x27e)](),'createTime':this[_0x531b7d(0x2f5)](),'updateTime':this[_0x531b7d(0x32c)](),'isEnum':this['isEnum'](),'enumMeta':this[_0x531b7d(0x409)]()?this['getEnumMeta']():undefined};}[a0_0x302a2e(0x408)](){const _0xea669d=a0_0x302a2e;return _0xea669d(0x3c7)+this['name']+',\x20'+this[_0xea669d(0x218)]+',\x20'+this[_0xea669d(0x343)]+')';}}class FieldListBase{[a0_0x302a2e(0x3d0)];constructor(_0x484ba8,_0x133bf1){const _0x345a21=a0_0x302a2e,_0x4c5f82=Array[_0x345a21(0x33a)](_0x484ba8)?_0x484ba8:[],_0x56d294=_0x133bf1?.[_0x345a21(0x20e)]??![],_0x5cda46=_0x56d294?_0x4c5f82:_0x4c5f82[_0x345a21(0x1a8)](_0x37f08a=>{const _0x3eb09c=_0x345a21;if(!_0x37f08a||typeof _0x37f08a!==_0x3eb09c(0x3d7))return![];const _0x1715ee=_0x37f08a;return!_0x1715ee['deleted'];});this['_fields']=this[_0x345a21(0x3eb)](_0x5cda46);}get[a0_0x302a2e(0x356)](){const _0x27940e=a0_0x302a2e;return this['_fields'][_0x27940e(0x356)];}[a0_0x302a2e(0x32a)](){const _0x32e0aa=a0_0x302a2e;return[...this[_0x32e0aa(0x3d0)]];}['at'](_0x22625b){return this['_fields']['at'](_0x22625b);}['find'](_0x313271){const _0x3b564a=a0_0x302a2e;return this[_0x3b564a(0x3d0)]['find'](_0x29bcff=>_0x29bcff[_0x3b564a(0x218)]===_0x313271);}[a0_0x302a2e(0x229)](_0x2c15cd){const _0x403859=a0_0x302a2e;return this[_0x403859(0x3d0)]['find'](_0x1e3aad=>_0x1e3aad[_0x403859(0x3f0)]===_0x2c15cd);}[a0_0x302a2e(0x14c)](_0x220027){const _0xfaa7af=a0_0x302a2e;return this[_0xfaa7af(0x3d0)][_0xfaa7af(0x31f)](_0x428818=>_0x428818[_0xfaa7af(0x218)]===_0x220027);}[a0_0x302a2e(0x2ab)](_0x512bcb){const _0x1602c2=a0_0x302a2e;this[_0x1602c2(0x3d0)][_0x1602c2(0x2ab)](_0x512bcb);}['map'](_0x506f3d){const _0x2d4d63=a0_0x302a2e;return this[_0x2d4d63(0x3d0)][_0x2d4d63(0x29c)](_0x506f3d);}[a0_0x302a2e(0x1a8)](_0x480113){return this['_fields']['filter'](_0x480113);}[a0_0x302a2e(0x22a)](_0x578c95){const _0x108c40=a0_0x302a2e;return this[_0x108c40(0x3d0)]['every'](_0x578c95);}[a0_0x302a2e(0x31f)](_0x3d041c){const _0x2312cd=a0_0x302a2e;return this[_0x2312cd(0x3d0)]['some'](_0x3d041c);}[a0_0x302a2e(0x24e)](){const _0x46eb93=a0_0x302a2e;return this[_0x46eb93(0x3d0)][_0x46eb93(0x1a8)](_0x55e64e=>_0x55e64e[_0x46eb93(0x149)]());}[a0_0x302a2e(0x2be)](){const _0xd02269=a0_0x302a2e;return this['_fields'][_0xd02269(0x1a8)](_0x5a568e=>_0x5a568e[_0xd02269(0x3b6)]());}['getSystem'](){const _0x1eb545=a0_0x302a2e;return this[_0x1eb545(0x3d0)]['filter'](_0x2c60b0=>_0x2c60b0[_0x1eb545(0x374)]());}[a0_0x302a2e(0x2ec)](){const _0x28d018=a0_0x302a2e;return this[_0x28d018(0x3d0)]['filter'](_0x7eefef=>_0x7eefef['isBusiness']());}[a0_0x302a2e(0x369)](){const _0x434b0f=a0_0x302a2e;return this[_0x434b0f(0x3d0)][_0x434b0f(0x1a8)](_0x5301ff=>_0x5301ff[_0x434b0f(0x409)]());}[a0_0x302a2e(0x3cb)](){const _0x4a09da=a0_0x302a2e;return this[_0x4a09da(0x3d0)][_0x4a09da(0x1a8)](_0x37e60e=>_0x37e60e[_0x4a09da(0x27e)]());}['getCreateTime'](){const _0x342fa1=a0_0x302a2e;return this[_0x342fa1(0x3d0)][_0x342fa1(0x1a8)](_0x2b1030=>_0x2b1030[_0x342fa1(0x2f5)]());}[a0_0x302a2e(0x27a)](){const _0x3fd8e8=a0_0x302a2e;return this[_0x3fd8e8(0x3d0)][_0x3fd8e8(0x1a8)](_0x4bbda3=>_0x4bbda3[_0x3fd8e8(0x32c)]());}[a0_0x302a2e(0x355)](){const _0x11ce17=a0_0x302a2e;return this[_0x11ce17(0x3d0)][_0x11ce17(0x1a8)](_0x45bb5c=>_0x45bb5c[_0x11ce17(0x3fd)]());}[a0_0x302a2e(0x359)](){const _0x45f56a=a0_0x302a2e;return this[_0x45f56a(0x3d0)]['filter'](_0x208d68=>!_0x208d68['isDeleted']());}[a0_0x302a2e(0x198)](){const _0x5ca952=a0_0x302a2e,_0x196b4e={};return this[_0x5ca952(0x3d0)][_0x5ca952(0x2ab)](_0x2f3087=>{const _0x28563b=_0x5ca952,_0x10aa5c=_0x2f3087['type'];!_0x196b4e[_0x10aa5c]&&(_0x196b4e[_0x10aa5c]=[]),_0x196b4e[_0x10aa5c][_0x28563b(0x3a6)](_0x2f3087);}),_0x196b4e;}[a0_0x302a2e(0x341)](){const _0xc0b4f2=a0_0x302a2e,_0x1a5ec1={};return this['_fields'][_0xc0b4f2(0x2ab)](_0x12bd07=>{const _0x29dd0e=_0xc0b4f2;if(_0x12bd07[_0x29dd0e(0x409)]()){const _0x4a98be=_0x12bd07[_0x29dd0e(0x190)]();_0x4a98be&&(_0x1a5ec1[_0x12bd07[_0x29dd0e(0x218)]]=_0x4a98be);}}),_0x1a5ec1;}[a0_0x302a2e(0x3bb)](){const _0x36e889=a0_0x302a2e;return{'total':this[_0x36e889(0x356)],'required':this[_0x36e889(0x24e)]()[_0x36e889(0x356)],'primaryKey':this[_0x36e889(0x2be)]()[_0x36e889(0x356)],'system':this[_0x36e889(0x3e3)]()[_0x36e889(0x356)],'business':this[_0x36e889(0x2ec)]()[_0x36e889(0x356)],'enum':this[_0x36e889(0x369)]()['length'],'autoIncrement':this['getAutoIncrement']()[_0x36e889(0x356)]};}[a0_0x302a2e(0x302)](){const _0x58391f=a0_0x302a2e;return this[_0x58391f(0x3d0)][_0x58391f(0x29c)](_0x4efbbc=>_0x4efbbc['code']);}[a0_0x302a2e(0x3b5)](){const _0x5ad5c4=a0_0x302a2e;return this[_0x5ad5c4(0x3d0)][_0x5ad5c4(0x29c)](_0x3b66e0=>_0x3b66e0['getDisplayName']());}[a0_0x302a2e(0x2bf)](){const _0x520f3b=a0_0x302a2e;return this[_0x520f3b(0x3d0)][_0x520f3b(0x29c)](_0x265dc1=>_0x265dc1[_0x520f3b(0x1cc)]());}[a0_0x302a2e(0x1f2)](){const _0x36c882=a0_0x302a2e;return this[_0x36c882(0x3d0)][_0x36c882(0x29c)](_0x3f518b=>_0x3f518b['toJSON']());}[a0_0x302a2e(0x408)](){const _0x3c3ecb=a0_0x302a2e;return'FieldList('+this[_0x3c3ecb(0x356)]+'\x20fields)';}}class FieldListV1 extends FieldListBase{constructor(_0x44156b,_0x1b393c){super(_0x44156b,_0x1b393c);}[a0_0x302a2e(0x3eb)](_0x3356f5){const _0x160fa1=a0_0x302a2e;return _0x3356f5[_0x160fa1(0x29c)](_0x5a134b=>new FieldV1(_0x5a134b));}[a0_0x302a2e(0x32a)](){const _0x5c0a37=a0_0x302a2e;return[...this[_0x5c0a37(0x3d0)]];}['at'](_0x304dd4){const _0x2e192e=a0_0x302a2e;return this[_0x2e192e(0x3d0)]['at'](_0x304dd4);}['find'](_0x5777ee){const _0x2b5018=a0_0x302a2e;return this[_0x2b5018(0x3d0)]['find'](_0x18338c=>_0x18338c[_0x2b5018(0x218)]===_0x5777ee);}[a0_0x302a2e(0x229)](_0x1b8188){const _0x3715f0=a0_0x302a2e;return this[_0x3715f0(0x3d0)][_0x3715f0(0x363)](_0x16dfe9=>_0x16dfe9['name']===_0x1b8188);}[a0_0x302a2e(0x1a8)](_0x54ac74){const _0x26d976=a0_0x302a2e;return this[_0x26d976(0x3d0)][_0x26d976(0x1a8)](_0x54ac74);}[a0_0x302a2e(0x29c)](_0xbdd32e){const _0x5ee3e3=a0_0x302a2e;return this[_0x5ee3e3(0x3d0)][_0x5ee3e3(0x29c)](_0xbdd32e);}[a0_0x302a2e(0x24e)](){const _0x2f9399=a0_0x302a2e;return this[_0x2f9399(0x3d0)][_0x2f9399(0x1a8)](_0x5119a7=>_0x5119a7[_0x2f9399(0x149)]());}[a0_0x302a2e(0x2be)](){const _0x2c9c54=a0_0x302a2e;return this[_0x2c9c54(0x3d0)][_0x2c9c54(0x1a8)](_0x233595=>_0x233595['isPrimaryKey']());}['getSystem'](){const _0x4b30a5=a0_0x302a2e;return this[_0x4b30a5(0x3d0)][_0x4b30a5(0x1a8)](_0x15706b=>_0x15706b[_0x4b30a5(0x374)]());}[a0_0x302a2e(0x2ec)](){const _0x589b86=a0_0x302a2e;return this[_0x589b86(0x3d0)]['filter'](_0x5f0123=>_0x5f0123[_0x589b86(0x271)]());}[a0_0x302a2e(0x369)](){const _0x3dc75f=a0_0x302a2e;return this[_0x3dc75f(0x3d0)][_0x3dc75f(0x1a8)](_0x20b9ac=>_0x20b9ac[_0x3dc75f(0x409)]());}['groupByType'](){const _0x3b16cf=a0_0x302a2e,_0x661de9={};return this[_0x3b16cf(0x3d0)]['forEach'](_0x2222c9=>{const _0x523b38=_0x3b16cf,_0x491af0=_0x2222c9[_0x523b38(0x343)];!_0x661de9[_0x491af0]&&(_0x661de9[_0x491af0]=[]),_0x661de9[_0x491af0]['push'](_0x2222c9);}),_0x661de9;}[a0_0x302a2e(0x33e)](){const _0x560a80=a0_0x302a2e;return this['_fields'][_0x560a80(0x29c)](_0x1de6c6=>_0x1de6c6[_0x560a80(0x33e)]);}static[a0_0x302a2e(0x163)](_0x2dd483){const _0x101add=a0_0x302a2e,_0x2f9042=_0x2dd483[_0x101add(0x29c)](_0x14199e=>_0x14199e[_0x101add(0x33e)]);return new FieldListV1(_0x2f9042);}static['withDeleted'](_0x3359cb){const _0x14fbdf=a0_0x302a2e,_0x22d28={};return _0x22d28[_0x14fbdf(0x20e)]=!![],new FieldListV1(_0x3359cb,_0x22d28);}}class FieldV2 extends FieldBase{[a0_0x302a2e(0x322)];constructor(_0x564e8e){const _0x3531ff=a0_0x302a2e;super();if(!_0x564e8e||typeof _0x564e8e!==_0x3531ff(0x3d7))throw new Error(_0x3531ff(0x400));this[_0x3531ff(0x322)]=_0x564e8e;}[a0_0x302a2e(0x24d)](){return'v2';}get[a0_0x302a2e(0x33e)](){const _0x481a7d=a0_0x302a2e;return this[_0x481a7d(0x322)];}get[a0_0x302a2e(0x3f0)](){const _0xb552ab=a0_0x302a2e;return this['_raw'][_0xb552ab(0x3f0)]||'';}get['code'](){const _0x2dfa7a=a0_0x302a2e;return this['_raw'][_0x2dfa7a(0x3f0)]||'';}get[a0_0x302a2e(0x385)](){const _0x4ece49=a0_0x302a2e;return this['_raw'][_0x4ece49(0x385)]||'';}get[a0_0x302a2e(0x343)](){const _0x1cdaa2=a0_0x302a2e;if(this[_0x1cdaa2(0x322)]['doType'])return this[_0x1cdaa2(0x322)]['doType'];return this[_0x1cdaa2(0x15a)](this['_raw'][_0x1cdaa2(0x1f3)]);}get['description'](){const _0x4598ab=a0_0x302a2e;return this[_0x4598ab(0x322)][_0x4598ab(0x1a2)]||'';}get['deleted'](){const _0x39565a=a0_0x302a2e;return Boolean(this[_0x39565a(0x322)]['deleted']);}['isRequired'](){const _0x129c74=a0_0x302a2e;return Boolean(this['_raw'][_0x129c74(0x2db)]);}['isPrimaryKey'](){const _0x56fdad=a0_0x302a2e;return Boolean(this[_0x56fdad(0x322)][_0x56fdad(0x2ce)]);}['isSystem'](){const _0x5ed1b7=a0_0x302a2e;return Boolean(this['_raw'][_0x5ed1b7(0x23b)]);}[a0_0x302a2e(0x27e)](){const _0x2efb29=a0_0x302a2e;return Boolean(this[_0x2efb29(0x322)][_0x2efb29(0x394)]);}['isCreateTime'](){const _0x1d919b=a0_0x302a2e;return this['_raw'][_0x1d919b(0x23b)]===_0x1d919b(0x3a8);}['isUpdateTime'](){const _0xcadf8f=a0_0x302a2e;return this[_0xcadf8f(0x322)]['systemRetain']==='updateTime';}['getDisplayName'](){const _0x19804e=a0_0x302a2e;return this[_0x19804e(0x322)][_0x19804e(0x385)]||'';}[a0_0x302a2e(0x1cc)](){const _0x2ce4e2=a0_0x302a2e;return this[_0x2ce4e2(0x322)][_0x2ce4e2(0x3f0)]||'';}[a0_0x302a2e(0x409)](){const _0xee9f27=a0_0x302a2e;return Boolean(this[_0xee9f27(0x322)][_0xee9f27(0x2f1)]&&Array[_0xee9f27(0x33a)](this[_0xee9f27(0x322)]['options'])&&this[_0xee9f27(0x322)]['options'][_0xee9f27(0x356)]>0x0);}[a0_0x302a2e(0x21f)](){const _0xe959b5=a0_0x302a2e,_0x11f4a5=this['_raw'][_0xe959b5(0x327)];if(!_0x11f4a5)return![];try{const _0x34bae1=JSON[_0xe959b5(0x1d5)](_0x11f4a5);if(_0x34bae1&&typeof _0x34bae1===_0xe959b5(0x3d7)&&_0xe959b5(0x20b)in _0x34bae1)return Boolean(_0x34bae1[_0xe959b5(0x20b)]);}catch{}return![];}[a0_0x302a2e(0x3c6)](){const _0x4644fb=a0_0x302a2e;if(this[_0x4644fb(0x322)]['options']&&Array['isArray'](this[_0x4644fb(0x322)][_0x4644fb(0x2f1)]))return this[_0x4644fb(0x322)][_0x4644fb(0x2f1)];return;}['getSelectItemsSource'](){const _0xc41db0=a0_0x302a2e,_0x24f456=this['_raw'][_0xc41db0(0x327)];if(!_0x24f456)return;try{const _0x3f1a9e=JSON['parse'](_0x24f456);if(_0x3f1a9e&&typeof _0x3f1a9e===_0xc41db0(0x3d7)&&'selectItemsSource'in _0x3f1a9e)return _0x3f1a9e[_0xc41db0(0x20a)];}catch{}return;}[a0_0x302a2e(0x25b)](){const _0x56b335=a0_0x302a2e;if(!this['_raw']['dbType'])return'';return this[_0x56b335(0x322)][_0x56b335(0x1f3)][_0x56b335(0x213)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x56b335(0x401)]()[_0x56b335(0x2b1)]();}[a0_0x302a2e(0x3bc)](){return;}['getTooltip'](){return;}get[a0_0x302a2e(0x1f3)](){const _0x3f93f4=a0_0x302a2e;return this[_0x3f93f4(0x322)][_0x3f93f4(0x1f3)]??undefined;}get[a0_0x302a2e(0x15b)](){const _0x2a9d6c=a0_0x302a2e;return this[_0x2a9d6c(0x322)][_0x2a9d6c(0x15b)];}[a0_0x302a2e(0x24a)](){const _0x3a2aa5=a0_0x302a2e;return this[_0x3a2aa5(0x322)][_0x3a2aa5(0x377)]??null;}get[a0_0x302a2e(0x377)](){return this['_raw']['doType']??null;}[a0_0x302a2e(0x1f2)](){const _0x16ac8b=a0_0x302a2e;return{'name':this[_0x16ac8b(0x3f0)],'code':this[_0x16ac8b(0x218)],'type':this['type'],'dbType':this[_0x16ac8b(0x1f3)],'dbTypeLen':this[_0x16ac8b(0x15b)],'doType':this['getDOType'](),'displayName':this['displayName'],'description':this['description'],'required':this[_0x16ac8b(0x149)](),'primaryKey':this[_0x16ac8b(0x3b6)](),'system':this[_0x16ac8b(0x374)](),'autoIncrement':this[_0x16ac8b(0x27e)](),'createTime':this[_0x16ac8b(0x2f5)](),'updateTime':this[_0x16ac8b(0x32c)](),'isEnum':this[_0x16ac8b(0x409)](),'enumMeta':this[_0x16ac8b(0x409)]()?this[_0x16ac8b(0x190)]():undefined};}[a0_0x302a2e(0x408)](){const _0x4a1671=a0_0x302a2e;return _0x4a1671(0x3c2)+this[_0x4a1671(0x3f0)]+',\x20'+this[_0x4a1671(0x218)]+',\x20'+this[_0x4a1671(0x1f3)]+',\x20doType='+this['getDOType']()+')';}[a0_0x302a2e(0x15a)](_0x575e5d){const _0x3a356f=a0_0x302a2e;if(!_0x575e5d)return _0x3a356f(0x3d3);const _0x2601b8={};_0x2601b8[_0x3a356f(0x281)]=_0x3a356f(0x3d3),_0x2601b8[_0x3a356f(0x14a)]=_0x3a356f(0x3d3),_0x2601b8['TEXT']=_0x3a356f(0x238),_0x2601b8['LONGTEXT']=_0x3a356f(0x238),_0x2601b8[_0x3a356f(0x14b)]='NUMBER',_0x2601b8[_0x3a356f(0x2a7)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x382)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x399)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x3f5)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x391)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x1b9)]=_0x3a356f(0x24b),_0x2601b8[_0x3a356f(0x30a)]='DATE',_0x2601b8[_0x3a356f(0x23f)]=_0x3a356f(0x33f),_0x2601b8[_0x3a356f(0x33f)]=_0x3a356f(0x33f),_0x2601b8[_0x3a356f(0x3ed)]=_0x3a356f(0x3ed),_0x2601b8['BOOLEAN']='SWITCH',_0x2601b8[_0x3a356f(0x39e)]=_0x3a356f(0x2c2),_0x2601b8[_0x3a356f(0x34e)]=_0x3a356f(0x28d),_0x2601b8[_0x3a356f(0x326)]=_0x3a356f(0x28d);const _0xd8708a=_0x2601b8,_0x55faa5=_0x575e5d[_0x3a356f(0x2b1)]();return _0xd8708a[_0x55faa5]||_0x3a356f(0x3d3);}}class FieldListV2 extends FieldListBase{constructor(_0x37df5b,_0x3d38d5){super(_0x37df5b,_0x3d38d5);}[a0_0x302a2e(0x3eb)](_0x175022){const _0x4e5740=a0_0x302a2e;return _0x175022[_0x4e5740(0x29c)](_0x5e8f7e=>new FieldV2(_0x5e8f7e));}[a0_0x302a2e(0x32a)](){const _0x56dfb4=a0_0x302a2e;return[...this[_0x56dfb4(0x3d0)]];}['at'](_0x3ac224){const _0x4ea428=a0_0x302a2e;return this[_0x4ea428(0x3d0)]['at'](_0x3ac224);}['find'](_0x201ba0){const _0x408151=a0_0x302a2e;return this['_fields'][_0x408151(0x363)](_0x5c9a84=>_0x5c9a84['code']===_0x201ba0);}[a0_0x302a2e(0x229)](_0x26a7e6){const _0x2da925=a0_0x302a2e;return this['_fields'][_0x2da925(0x363)](_0x5b57b5=>_0x5b57b5['getDisplayName']()===_0x26a7e6);}[a0_0x302a2e(0x1a8)](_0x3ed374){const _0x579d6e=a0_0x302a2e;return this[_0x579d6e(0x3d0)][_0x579d6e(0x1a8)](_0x3ed374);}[a0_0x302a2e(0x29c)](_0x4bcaa9){const _0x3f2038=a0_0x302a2e;return this['_fields'][_0x3f2038(0x29c)](_0x4bcaa9);}['getRequired'](){const _0x117128=a0_0x302a2e;return this['_fields'][_0x117128(0x1a8)](_0x4c2639=>_0x4c2639['isRequired']());}[a0_0x302a2e(0x2be)](){const _0x19bde8=a0_0x302a2e;return this[_0x19bde8(0x3d0)][_0x19bde8(0x1a8)](_0x535b8c=>_0x535b8c[_0x19bde8(0x3b6)]());}[a0_0x302a2e(0x3e3)](){const _0x559e31=a0_0x302a2e;return this[_0x559e31(0x3d0)][_0x559e31(0x1a8)](_0x28222f=>_0x28222f['isSystem']());}[a0_0x302a2e(0x2ec)](){const _0x532735=a0_0x302a2e;return this[_0x532735(0x3d0)][_0x532735(0x1a8)](_0x319452=>_0x319452[_0x532735(0x271)]());}[a0_0x302a2e(0x369)](){const _0x566998=a0_0x302a2e;return this[_0x566998(0x3d0)]['filter'](_0x449605=>_0x449605['isEnum']());}[a0_0x302a2e(0x198)](){const _0x598b38=a0_0x302a2e,_0x2d272e={};return this[_0x598b38(0x3d0)][_0x598b38(0x2ab)](_0x16c4e4=>{const _0x172b71=_0x598b38,_0x2ca228=_0x16c4e4[_0x172b71(0x343)];!_0x2d272e[_0x2ca228]&&(_0x2d272e[_0x2ca228]=[]),_0x2d272e[_0x2ca228][_0x172b71(0x3a6)](_0x16c4e4);}),_0x2d272e;}[a0_0x302a2e(0x33e)](){const _0x3f7b53=a0_0x302a2e;return this[_0x3f7b53(0x3d0)][_0x3f7b53(0x29c)](_0x103473=>_0x103473['raw']);}static[a0_0x302a2e(0x163)](_0x82ffa){const _0x300336=a0_0x302a2e,_0x2dbecd=_0x82ffa[_0x300336(0x29c)](_0x269229=>_0x269229[_0x300336(0x33e)]);return new FieldListV2(_0x2dbecd);}static[a0_0x302a2e(0x1b3)](_0x47a321){const _0x2593ea=a0_0x302a2e,_0x5ca5b5={};return _0x5ca5b5[_0x2593ea(0x20e)]=!![],new FieldListV2(_0x47a321,_0x5ca5b5);}[a0_0x302a2e(0x408)](){const _0x57f192=a0_0x302a2e;return _0x57f192(0x16b)+this[_0x57f192(0x356)]+_0x57f192(0x3ab);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x302a2e(0x34c)];['_fieldListV1WithDeleted'];constructor(_0x58bd44){super(_0x58bd44);}['getFieldList'](){const _0x20a452=a0_0x302a2e;if(!this[_0x20a452(0x34c)]){const _0x4d77a8={};_0x4d77a8[_0x20a452(0x20e)]=![],this[_0x20a452(0x34c)]=new FieldListV1(this[_0x20a452(0x322)][_0x20a452(0x404)]||[],_0x4d77a8);}return this['_fieldListV1'];}[a0_0x302a2e(0x34d)](){const _0x591947=a0_0x302a2e;if(!this[_0x591947(0x379)]){const _0x243b20={};_0x243b20[_0x591947(0x20e)]=!![],this[_0x591947(0x379)]=new FieldListV1(this[_0x591947(0x322)][_0x591947(0x404)]||[],_0x243b20);}return this[_0x591947(0x379)];}[a0_0x302a2e(0x325)](){const _0x4876a6=a0_0x302a2e;return(this[_0x4876a6(0x322)][_0x4876a6(0x404)]||[])[_0x4876a6(0x1a8)](_0x1f0aed=>!_0x1f0aed[_0x4876a6(0x1c8)]);}['getFieldCount'](){const _0x3bb329=a0_0x302a2e;return this['getFieldList']()[_0x3bb329(0x356)];}[a0_0x302a2e(0x3d4)](_0x5d79a3){const _0x642bb9=a0_0x302a2e;return this['_raw'][_0x642bb9(0x404)]?.[_0x642bb9(0x363)](_0x50a5c2=>_0x50a5c2['code']===_0x5d79a3);}[a0_0x302a2e(0x24d)](){return'v1';}[a0_0x302a2e(0x2e5)](){const _0x4de8f5=a0_0x302a2e,_0x2d497f={};return _0x2d497f[_0x4de8f5(0x2d1)]=this[_0x4de8f5(0x322)][_0x4de8f5(0x404)]||[],_0x2d497f[_0x4de8f5(0x20e)]=![],_0x2d497f;}['getOperationsData'](){const _0x4ba8a4=a0_0x302a2e;return this['_raw'][_0x4ba8a4(0x1af)];}[a0_0x302a2e(0x38e)](){const _0x79c4fc=a0_0x302a2e;return this[_0x79c4fc(0x322)][_0x79c4fc(0x246)];}[a0_0x302a2e(0x352)](){const _0x1c5f29=a0_0x302a2e,_0xffaaf2=this['getRawDbtableConfig'](),_0xf79652=_0xffaaf2?.[_0x1c5f29(0x1d3)],_0x27241d={};return _0x27241d[_0x1c5f29(0x329)]=_0xffaaf2?.[_0x1c5f29(0x329)],_0x27241d['dbName']=_0xffaaf2?.[_0x1c5f29(0x37a)]??_0xf79652?.[_0x1c5f29(0x37a)],_0x27241d[_0x1c5f29(0x1f3)]=_0xf79652?.[_0x1c5f29(0x1f3)],_0x27241d[_0x1c5f29(0x224)]=_0xf79652?.[_0x1c5f29(0x224)],_0x27241d['tableName']=_0xffaaf2?.[_0x1c5f29(0x1b6)],_0x27241d[_0x1c5f29(0x390)]=_0xffaaf2?.[_0x1c5f29(0x390)],_0x27241d[_0x1c5f29(0x2ce)]=_0xffaaf2?.['pkField'],_0x27241d[_0x1c5f29(0x248)]=_0xf79652?.[_0x1c5f29(0x248)],_0x27241d[_0x1c5f29(0x37d)]=_0xf79652?.[_0x1c5f29(0x37d)],new DBConfig(_0x27241d,_0xffaaf2);}get[a0_0x302a2e(0x227)](){const _0x143371=a0_0x302a2e;return this[_0x143371(0x322)]['version'];}[a0_0x302a2e(0x29d)](_0x130fbf){const _0x699cbc=a0_0x302a2e;if(typeof _0x130fbf!=='string'){!![]&&console[_0x699cbc(0x3c9)](_0x699cbc(0x182),_0x130fbf);return;}return this[_0x699cbc(0x1fc)]()[_0x699cbc(0x363)](_0x130fbf);}[a0_0x302a2e(0x34b)](_0x46e555){const _0x3d0b59=a0_0x302a2e;if(!_0x46e555||typeof _0x46e555!==_0x3d0b59(0x3d7))return![];const _0x457cff=this[_0x3d0b59(0x29d)](_0x46e555[_0x3d0b59(0x218)]);return _0x457cff?_0x457cff['isMultipleSelect']():![];}['getFilterOperation'](){const _0x14ed87=a0_0x302a2e,_0x398bd0=this['getOperation'](_0x14ed87(0x1a8));return _0x398bd0;}[a0_0x302a2e(0x36d)](){const _0x485177=a0_0x302a2e;return this[_0x485177(0x180)](_0x485177(0x1a8));}['toListItem'](){const _0x291b08=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x291b08(0x3f0)],'datasetCode':this[_0x291b08(0x357)],'dbtableConfig':this['getRawDbtableConfig']()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x302a2e(0x291)];[a0_0x302a2e(0x3bd)];[a0_0x302a2e(0x17f)];constructor(_0x531da3){const _0x25d4ae=a0_0x302a2e;super(_0x531da3),this[_0x25d4ae(0x3bd)]=_0x531da3[_0x25d4ae(0x25e)],this[_0x25d4ae(0x17f)]=_0x531da3['relations']||[];}[a0_0x302a2e(0x24d)](){return'v2';}[a0_0x302a2e(0x2e5)](){const _0x5f55d9=a0_0x302a2e,_0xfcc3ad={};return _0xfcc3ad['fields']=this[_0x5f55d9(0x322)]['fields'],_0xfcc3ad[_0x5f55d9(0x20e)]=![],_0xfcc3ad;}[a0_0x302a2e(0x2d4)](){const _0x1a9b71=a0_0x302a2e;return this[_0x1a9b71(0x322)][_0x1a9b71(0x1af)];}[a0_0x302a2e(0x38e)](){const _0xdc1ebc=a0_0x302a2e;return this[_0xdc1ebc(0x322)][_0xdc1ebc(0x246)];}['getDBConfig'](){const _0x432779=a0_0x302a2e,_0x269e82=this['_raw']['dbtableConfig'],_0x50e43b=_0x269e82?.[_0x432779(0x1d3)],_0x585e3f={};return _0x585e3f[_0x432779(0x329)]=_0x269e82?.[_0x432779(0x329)],_0x585e3f[_0x432779(0x37a)]=_0x269e82?.[_0x432779(0x37a)]??_0x50e43b?.[_0x432779(0x37a)],_0x585e3f[_0x432779(0x1f3)]=_0x50e43b?.['dbType'],_0x585e3f[_0x432779(0x224)]=_0x50e43b?.[_0x432779(0x224)],_0x585e3f[_0x432779(0x1b6)]=_0x269e82?.[_0x432779(0x1b6)],_0x585e3f[_0x432779(0x390)]=_0x269e82?.['datasetKey'],_0x585e3f[_0x432779(0x2ce)]=_0x269e82?.[_0x432779(0x2ce)],_0x585e3f['tenantCode']=_0x269e82?.[_0x432779(0x248)]??_0x50e43b?.['tenantCode'],_0x585e3f[_0x432779(0x37d)]=_0x269e82?.[_0x432779(0x37d)]??_0x50e43b?.[_0x432779(0x37d)],new DBConfig(_0x585e3f,_0x269e82);}[a0_0x302a2e(0x1fc)](){const _0x25fe5f=a0_0x302a2e;return this[_0x25fe5f(0x1dc)]();}[a0_0x302a2e(0x325)](){const _0x5337ff=a0_0x302a2e;return this[_0x5337ff(0x322)][_0x5337ff(0x2d1)]||[];}[a0_0x302a2e(0x275)](){const _0x23908c=a0_0x302a2e;return(this[_0x23908c(0x322)][_0x23908c(0x2d1)]||[])[_0x23908c(0x356)];}[a0_0x302a2e(0x3d4)](_0x5624ee){const _0xe09266=a0_0x302a2e;return this[_0xe09266(0x322)]['fields']['find'](_0x74966e=>_0x74966e[_0xe09266(0x3f0)]===_0x5624ee);}[a0_0x302a2e(0x204)](){const _0x18b6c8=a0_0x302a2e;return this[_0x18b6c8(0x3bd)];}['getRelations'](){const _0x29f700=a0_0x302a2e;return this[_0x29f700(0x17f)];}[a0_0x302a2e(0x1cb)](){const _0x201ff3=a0_0x302a2e;return this[_0x201ff3(0x3bd)]['indexes']||[];}[a0_0x302a2e(0x276)](_0x55428b){const _0x94ec84=a0_0x302a2e;return this[_0x94ec84(0x17f)]['filter'](_0x2622f0=>_0x2622f0[_0x94ec84(0x1a5)]===_0x55428b);}['hasRelation'](_0x3b5f31){const _0x5a1646=a0_0x302a2e;return this[_0x5a1646(0x17f)][_0x5a1646(0x31f)](_0xf460cb=>_0xf460cb[_0x5a1646(0x1a5)]===_0x3b5f31);}[a0_0x302a2e(0x37f)](_0x4989de){const _0x59ede3=a0_0x302a2e,_0x174d6f=this['_relations'][_0x59ede3(0x363)](_0x200a67=>_0x200a67[_0x59ede3(0x1a5)]===_0x4989de);if(!_0x174d6f)return;const _0x1ce7e5={};return _0x1ce7e5[_0x59ede3(0x15e)]=_0x174d6f[_0x59ede3(0x1e8)],_0x1ce7e5[_0x59ede3(0x357)]=_0x174d6f['toDatasetCode'],_0x1ce7e5[_0x59ede3(0x270)]=_0x174d6f[_0x59ede3(0x250)],_0x1ce7e5['tableName']=_0x174d6f[_0x59ede3(0x191)],_0x1ce7e5[_0x59ede3(0x34f)]=_0x174d6f[_0x59ede3(0x34f)],_0x1ce7e5;}[a0_0x302a2e(0x299)](){const _0x3b290e=a0_0x302a2e;return this[_0x3b290e(0x17f)][_0x3b290e(0x29c)](_0x39de82=>_0x39de82[_0x3b290e(0x1a5)]);}[a0_0x302a2e(0x1dc)](){const _0x46a8a5=a0_0x302a2e;if(!this[_0x46a8a5(0x291)]){const _0x689314=this[_0x46a8a5(0x322)]['fields']||[];this[_0x46a8a5(0x291)]=new FieldListV2(_0x689314);}return this[_0x46a8a5(0x291)];}['getFieldInstance'](_0x1f028b){const _0x33c889=a0_0x302a2e;if(typeof _0x1f028b!=='string'){!![]&&console['warn'](_0x33c889(0x31c),_0x1f028b);return;}return this[_0x33c889(0x1dc)]()[_0x33c889(0x363)](_0x1f028b);}[a0_0x302a2e(0x34b)](_0x5a2362){const _0x1f3f2a=a0_0x302a2e;if(!_0x5a2362||typeof _0x5a2362!==_0x1f3f2a(0x3d7))return![];const _0x1809f3=_0x5a2362['name']||_0x5a2362['code'],_0x4e7bcb=this[_0x1f3f2a(0x29d)](_0x1809f3);return _0x4e7bcb?_0x4e7bcb[_0x1f3f2a(0x21f)]():![];}['getOperationList'](){const _0x45db4c=a0_0x302a2e;if(!this[_0x45db4c(0x375)]){const _0x5dff26=this[_0x45db4c(0x1d4)](this[_0x45db4c(0x2d4)]()||{});this[_0x45db4c(0x375)]=new OperationList(_0x5dff26,{'fields':this[_0x45db4c(0x1dc)]()[_0x45db4c(0x32a)](),'pkField':this[_0x45db4c(0x322)][_0x45db4c(0x1e9)]?.['pkField'],'dbtableConfig':this[_0x45db4c(0x322)][_0x45db4c(0x1e9)]||null});}return this[_0x45db4c(0x375)];}['getFilterOperation'](){const _0x1a17d9=a0_0x302a2e,_0x366f47=this['getOperation'](_0x1a17d9(0x1a8));return _0x366f47;}[a0_0x302a2e(0x36d)](){const _0xc73ca1=a0_0x302a2e;return this[_0xc73ca1(0x180)](_0xc73ca1(0x1a8));}[a0_0x302a2e(0x333)](){const _0x52fa70=a0_0x302a2e;return new DatasetItem({'id':this['id'],'name':this[_0x52fa70(0x3f0)],'datasetCode':this[_0x52fa70(0x357)],'dbtableConfig':this[_0x52fa70(0x339)]()});}['toString'](){const _0x5076bc=a0_0x302a2e,_0x43665a=this[_0x5076bc(0x17f)][_0x5076bc(0x356)],_0x39c47f=this[_0x5076bc(0x1cb)]()[_0x5076bc(0x356)];return _0x5076bc(0x309)+this[_0x5076bc(0x3f0)]+',\x20'+this[_0x5076bc(0x357)]+',\x20'+this[_0x5076bc(0x275)]()+'\x20fields,\x20'+this[_0x5076bc(0x25c)]()+_0x5076bc(0x3f9)+_0x43665a+'\x20relations,\x20'+_0x39c47f+_0x5076bc(0x26c);}[a0_0x302a2e(0x365)](){const _0x44b59a=a0_0x302a2e;return this[_0x44b59a(0x322)][_0x44b59a(0x2d1)];}[a0_0x302a2e(0x1c7)](_0xf2c84f){const _0x590a94=a0_0x302a2e;return this[_0x590a94(0x322)]['fields'][_0x590a94(0x363)](_0x48dc30=>_0x48dc30[_0x590a94(0x3f0)]===_0xf2c84f);}}function detectDatasetVersion(_0x4122b3){const _0x59e956=a0_0x302a2e;if(_0x4122b3[_0x59e956(0x15d)]==='v2'&&_0x59e956(0x2d1)in _0x4122b3&&Array[_0x59e956(0x33a)](_0x4122b3['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x302a2e(0x2b8)];constructor(_0x444bdc){super(_0x444bdc);const _0x27a0bc=detectDatasetVersion(_0x444bdc);this['_instance']=_0x27a0bc==='v2'?new DrivenDataDetailV2(_0x444bdc):new DrivenDataDetailV1(_0x444bdc);}get['id'](){const _0x2ac6a6=a0_0x302a2e;return this[_0x2ac6a6(0x2b8)]['id'];}get['name'](){const _0x2207df=a0_0x302a2e;return this[_0x2207df(0x2b8)]['name'];}get[a0_0x302a2e(0x357)](){const _0xfc1c51=a0_0x302a2e;return this[_0xfc1c51(0x2b8)][_0xfc1c51(0x357)];}get['version'](){const _0x4e9150=a0_0x302a2e;return this['_instance'][_0x4e9150(0x24d)]()==='v2'?_0x4e9150(0x284):_0x4e9150(0x294);}[a0_0x302a2e(0x24d)](){const _0x2c130b=a0_0x302a2e;return this[_0x2c130b(0x2b8)][_0x2c130b(0x24d)]();}[a0_0x302a2e(0x38a)](){const _0x376def=a0_0x302a2e;return this[_0x376def(0x2b8)]['id'];}[a0_0x302a2e(0x1f1)](){const _0x35fd45=a0_0x302a2e;return this[_0x35fd45(0x2b8)][_0x35fd45(0x357)];}[a0_0x302a2e(0x2d2)](){const _0x2af9a2=a0_0x302a2e;return this[_0x2af9a2(0x2b8)][_0x2af9a2(0x3f0)];}['getFieldDataSource'](){const _0x5746ba=a0_0x302a2e;return this[_0x5746ba(0x2b8)][_0x5746ba(0x2e5)]();}[a0_0x302a2e(0x2d4)](){const _0x209994=a0_0x302a2e;return this[_0x209994(0x2b8)][_0x209994(0x2d4)]();}[a0_0x302a2e(0x38e)](){const _0x550246=a0_0x302a2e;return this[_0x550246(0x2b8)][_0x550246(0x38e)]();}[a0_0x302a2e(0x34d)](){const _0x153306=a0_0x302a2e;return this[_0x153306(0x2b8)][_0x153306(0x34d)]();}['getFieldList'](){const _0x277b8f=a0_0x302a2e;return this[_0x277b8f(0x2b8)][_0x277b8f(0x1fc)]();}[a0_0x302a2e(0x3d5)](){const _0x12435c=a0_0x302a2e;return this[_0x12435c(0x2b8)][_0x12435c(0x3d5)]();}[a0_0x302a2e(0x325)](){const _0x259db5=a0_0x302a2e;return this[_0x259db5(0x2b8)][_0x259db5(0x325)]();}[a0_0x302a2e(0x275)](){const _0x5b514f=a0_0x302a2e;return this['_instance'][_0x5b514f(0x275)]();}[a0_0x302a2e(0x405)](){const _0x2dadde=a0_0x302a2e,_0x2feb67=this[_0x2dadde(0x2b8)][_0x2dadde(0x339)]();return _0x2feb67?.[_0x2dadde(0x2ce)];}['getDBConfig'](){const _0x2612c0=a0_0x302a2e;return this[_0x2612c0(0x2b8)][_0x2612c0(0x352)]();}[a0_0x302a2e(0x29d)](_0x312004){const _0x4fa334=a0_0x302a2e;return this[_0x4fa334(0x2b8)][_0x4fa334(0x29d)](_0x312004);}[a0_0x302a2e(0x155)](){const _0x5c081b=a0_0x302a2e;return this['_instance'][_0x5c081b(0x155)]();}[a0_0x302a2e(0x33c)](){const _0x189990=a0_0x302a2e;return this['_instance'][_0x189990(0x33c)]();}[a0_0x302a2e(0x3d1)](){const _0x5b518c=a0_0x302a2e;return this[_0x5b518c(0x2b8)][_0x5b518c(0x3d1)]();}[a0_0x302a2e(0x177)](){const _0x3b2d91=a0_0x302a2e;return this[_0x3b2d91(0x2b8)]['getRequiredFields']();}[a0_0x302a2e(0x24f)](){return this['_instance']['getFieldsByType']();}[a0_0x302a2e(0x1be)](){return this['_instance']['getEnumFields']();}[a0_0x302a2e(0x211)](){const _0x20ca60=a0_0x302a2e;return this[_0x20ca60(0x2b8)][_0x20ca60(0x211)]();}[a0_0x302a2e(0x1de)](){const _0x4bc79b=a0_0x302a2e;return this[_0x4bc79b(0x2b8)][_0x4bc79b(0x1de)]();}[a0_0x302a2e(0x25c)](){const _0x5eb81b=a0_0x302a2e;return this[_0x5eb81b(0x2b8)][_0x5eb81b(0x25c)]();}[a0_0x302a2e(0x206)](){const _0x24d1f1=a0_0x302a2e;return this[_0x24d1f1(0x2b8)][_0x24d1f1(0x206)]();}[a0_0x302a2e(0x22c)](){const _0x13671b=a0_0x302a2e;return this[_0x13671b(0x2b8)][_0x13671b(0x22c)]();}[a0_0x302a2e(0x1f6)](){const _0x2519d5=a0_0x302a2e;return this['_instance'][_0x2519d5(0x1f6)]();}[a0_0x302a2e(0x3b2)](){const _0x5bf0bb=a0_0x302a2e;return this[_0x5bf0bb(0x2b8)][_0x5bf0bb(0x3b2)]();}['getStats'](){const _0x474b1f=a0_0x302a2e;return this['_instance'][_0x474b1f(0x3bb)]();}[a0_0x302a2e(0x204)](){const _0x1b4b66=a0_0x302a2e;return this[_0x1b4b66(0x2b8)][_0x1b4b66(0x204)]();}[a0_0x302a2e(0x1e1)](){const _0x15cf40=a0_0x302a2e;return this[_0x15cf40(0x2b8)][_0x15cf40(0x1e1)]();}['getIndexes'](){const _0x4a7dde=a0_0x302a2e;return this[_0x4a7dde(0x2b8)]['getIndexes']();}[a0_0x302a2e(0x350)](){const _0x14c10d=a0_0x302a2e;return this[_0x14c10d(0x2b8)][_0x14c10d(0x350)]();}['getFieldsFilterOperatorsMap'](){const _0x538491=a0_0x302a2e;return this[_0x538491(0x2b8)][_0x538491(0x315)]();}['toJSON'](){const _0x3df0a8=a0_0x302a2e;return this[_0x3df0a8(0x2b8)][_0x3df0a8(0x1f2)]();}['getFilterOperation'](){const _0x53c164=a0_0x302a2e;return this[_0x53c164(0x2b8)][_0x53c164(0x310)]();}['hasFilterOperation'](){const _0x2809ad=a0_0x302a2e;return this['_instance'][_0x2809ad(0x36d)]();}['toListItem'](){const _0x44cef1=a0_0x302a2e;return this[_0x44cef1(0x2b8)][_0x44cef1(0x333)]();}[a0_0x302a2e(0x408)](){const _0x1a5b4d=a0_0x302a2e;return this[_0x1a5b4d(0x2b8)][_0x1a5b4d(0x408)]();}[a0_0x302a2e(0x1fb)](){const _0x3a34e8=a0_0x302a2e;return this[_0x3a34e8(0x2b8)];}}function detectDatasetVersion2(_0x382722){const _0x297dc4=a0_0x302a2e;if(_0x382722[_0x297dc4(0x15d)]==='v2'&&_0x297dc4(0x2d1)in _0x382722&&Array[_0x297dc4(0x33a)](_0x382722[_0x297dc4(0x2d1)]))return'v2';return'v1';}function createDrivenDataDetail(_0x312be9,_0x54a6a4={}){const {forceVersion:_0x172cbe}=_0x54a6a4;if(_0x172cbe==='v2')return new DrivenDataDetailV2(_0x312be9);if(_0x172cbe==='v1')return new DrivenDataDetailV1(_0x312be9);const _0x2236aa=detectDatasetVersion2(_0x312be9);if(_0x2236aa==='v2')return new DrivenDataDetailV2(_0x312be9);return new DrivenDataDetailV1(_0x312be9);}function isV2Data(_0x2f7a93){return detectDatasetVersion2(_0x2f7a93)==='v2';}function isV1Data(_0x240758){return detectDatasetVersion2(_0x240758)==='v1';}function isV2Instance(_0x4ea1b6){const _0x588ec3=a0_0x302a2e;return _0x4ea1b6[_0x588ec3(0x24d)]()==='v2';}function isV1Instance(_0xd2d655){const _0x264402=a0_0x302a2e;return _0xd2d655[_0x264402(0x24d)]()==='v1';}class DatasetGroup{[a0_0x302a2e(0x1c9)];constructor(_0x519877){const _0x180c5a=a0_0x302a2e;this['items']=Array[_0x180c5a(0x33a)](_0x519877)?[..._0x519877]:[_0x519877],this['items'][_0x180c5a(0x353)]((_0x308a6e,_0x187e4d)=>{const _0x14224f=Number(_0x308a6e['id'])||0x0,_0x1a7461=Number(_0x187e4d['id'])||0x0;return _0x1a7461-_0x14224f;});}[a0_0x302a2e(0x28c)](){const _0x3c638d=a0_0x302a2e;return this['items'][_0x3c638d(0x356)]>0x1;}[a0_0x302a2e(0x2e3)](){return this['items'][0x0];}[a0_0x302a2e(0x272)](){const _0x5501d8=a0_0x302a2e;return this[_0x5501d8(0x1c9)][this[_0x5501d8(0x1c9)]['length']-0x1];}[a0_0x302a2e(0x3d2)](){const _0x5b4822=a0_0x302a2e;return[...this[_0x5b4822(0x1c9)]];}[a0_0x302a2e(0x26d)](){const _0x2ff1fa=a0_0x302a2e;return this[_0x2ff1fa(0x1c9)][_0x2ff1fa(0x356)];}[a0_0x302a2e(0x3ad)](_0x586ead){return this['items'][_0x586ead];}[a0_0x302a2e(0x3a7)](_0xc7c803){const _0xbc5c84=a0_0x302a2e;return this['items'][_0xbc5c84(0x363)](_0x38dc3f=>_0x38dc3f['id']===_0xc7c803);}[a0_0x302a2e(0x332)](_0x4b2127){const _0x10d0b1=a0_0x302a2e;return this['items'][_0x10d0b1(0x363)](_0x114ae6=>_0x114ae6[_0x10d0b1(0x357)]===_0x4b2127);}['getIds'](){const _0xc73a96=a0_0x302a2e;return this[_0xc73a96(0x1c9)]['map'](_0x5c14a9=>_0x5c14a9['id'])['filter'](_0x4f81eb=>_0x4f81eb!==undefined);}[a0_0x302a2e(0x302)](){const _0x39f957=a0_0x302a2e;return this['items'][_0x39f957(0x29c)](_0x1ae8a3=>_0x1ae8a3[_0x39f957(0x357)]);}[a0_0x302a2e(0x408)](){const _0x2363f4=a0_0x302a2e;if(this[_0x2363f4(0x28c)]())return _0x2363f4(0x2d0)+this[_0x2363f4(0x1c9)][_0x2363f4(0x356)]+'\x20items,\x20conflict,\x20latest:\x20'+this[_0x2363f4(0x2e3)]()[_0x2363f4(0x3f0)]+')';return _0x2363f4(0x2d0)+this[_0x2363f4(0x1c9)][0x0]['name']+')';}}class DatasetGroupMap{[a0_0x302a2e(0x2f7)];constructor(_0x3038ac){const _0x41e697=a0_0x302a2e;this[_0x41e697(0x2f7)]=new Map();for(const _0x4d365d of _0x3038ac){const _0x27131b=_0x4d365d[_0x41e697(0x39a)](),_0x5eaa7c=_0x4d365d[_0x41e697(0x1e9)]?.['dbId'],_0x342234=_0x4d365d['dbtableConfig']?.['dbName']||_0x4d365d[_0x41e697(0x1e9)]?.[_0x41e697(0x1d3)]?.[_0x41e697(0x37a)]||'',_0x1ee9b3=_0x5eaa7c!==undefined&&_0x5eaa7c!==null?'db'+_0x5eaa7c:_0x342234?getTableKey(_0x342234):'',_0x4d83e1=_0x1ee9b3?_0x1ee9b3+'_'+_0x27131b:_0x27131b,_0x4da063=getTableKey(_0x4d83e1);if(!this['groups'][_0x41e697(0x14c)](_0x4da063))this['groups'][_0x41e697(0x2c3)](_0x4da063,new DatasetGroup(_0x4d365d));else{const _0x22225e=this['groups'][_0x41e697(0x240)](_0x4da063),_0x16eeb0=[..._0x22225e[_0x41e697(0x3d2)](),_0x4d365d];this[_0x41e697(0x2f7)][_0x41e697(0x2c3)](_0x4da063,new DatasetGroup(_0x16eeb0));}}}['get'](_0x553004){const _0x13600c=a0_0x302a2e;return this[_0x13600c(0x2f7)]['get'](_0x553004);}[a0_0x302a2e(0x14c)](_0x170cbf){const _0x6d40d5=a0_0x302a2e;return this[_0x6d40d5(0x2f7)][_0x6d40d5(0x14c)](_0x170cbf);}get[a0_0x302a2e(0x170)](){const _0x23b7f0=a0_0x302a2e;return this['groups'][_0x23b7f0(0x170)];}['keys'](){return this['groups']['keys']();}[a0_0x302a2e(0x288)](){const _0xd6372d=a0_0x302a2e;return this[_0xd6372d(0x2f7)][_0xd6372d(0x288)]();}['entries'](){const _0x24f55a=a0_0x302a2e;return this[_0x24f55a(0x2f7)]['entries']();}[Symbol['iterator']](){const _0x289900=a0_0x302a2e;return this[_0x289900(0x2f7)]['entries']();}[a0_0x302a2e(0x2ab)](_0x3b4841){const _0xe97cf4=a0_0x302a2e;this['groups'][_0xe97cf4(0x2ab)]((_0x2c3c35,_0x4c2a4b)=>_0x3b4841(_0x2c3c35,_0x4c2a4b,this));}[a0_0x302a2e(0x255)](){const _0x203d4c=a0_0x302a2e,_0x2b67fd=new Map();for(const [_0x4e00d6,_0x55b330]of this[_0x203d4c(0x2f7)]){_0x55b330['hasConflict']()&&_0x2b67fd[_0x203d4c(0x2c3)](_0x4e00d6,_0x55b330);}return _0x2b67fd;}['hasConflicts'](){const _0x4c269b=a0_0x302a2e;for(const _0xae5070 of this[_0x4c269b(0x2f7)][_0x4c269b(0x288)]()){if(_0xae5070[_0x4c269b(0x28c)]())return!![];}return![];}['getConflictStats'](){const _0x45f308=a0_0x302a2e;let _0x35f711=0x0,_0x52e63a=0x0;for(const _0x4c300b of this['groups'][_0x45f308(0x288)]()){_0x4c300b['hasConflict']()&&(_0x35f711++,_0x52e63a+=_0x4c300b['getCount']());}const _0x432fd7={};return _0x432fd7[_0x45f308(0x174)]=_0x35f711,_0x432fd7['conflictItemCount']=_0x52e63a,_0x432fd7['totalGroups']=this[_0x45f308(0x2f7)][_0x45f308(0x170)],_0x432fd7;}[a0_0x302a2e(0x3e7)](){const _0x14f95c=a0_0x302a2e,_0x3a8696=[];for(const _0x438933 of this[_0x14f95c(0x2f7)]['values']()){_0x3a8696[_0x14f95c(0x3a6)](..._0x438933[_0x14f95c(0x3d2)]());}return _0x3a8696;}[a0_0x302a2e(0x203)](){const _0x2bedad=a0_0x302a2e,_0xe7688f=[];for(const _0x43febe of this[_0x2bedad(0x2f7)][_0x2bedad(0x288)]()){_0xe7688f[_0x2bedad(0x3a6)](_0x43febe[_0x2bedad(0x2e3)]());}return _0xe7688f;}[a0_0x302a2e(0x2e3)](_0x17c53b){const _0x1d60c9=a0_0x302a2e;return this[_0x1d60c9(0x2f7)]['get'](_0x17c53b)?.[_0x1d60c9(0x2e3)]();}['getAll'](_0x94b8ad){const _0x2f0838=a0_0x302a2e;return this[_0x2f0838(0x2f7)][_0x2f0838(0x240)](_0x94b8ad)?.[_0x2f0838(0x3d2)]()||[];}[a0_0x302a2e(0x32f)](){const _0x25aeab=a0_0x302a2e,_0x138052=this[_0x25aeab(0x203)](),_0x2ae378=new Map();for(const _0x31b8fd of _0x138052){const _0x42bd8=_0x31b8fd[_0x25aeab(0x39a)](),_0x34fc8b=_0x31b8fd[_0x25aeab(0x1e9)]?.[_0x25aeab(0x329)],_0x14b526=_0x31b8fd[_0x25aeab(0x1e9)]?.['dbName']||_0x31b8fd[_0x25aeab(0x1e9)]?.[_0x25aeab(0x1d3)]?.['dbName']||'',_0x3cf0b0=_0x34fc8b!==undefined&&_0x34fc8b!==null?'db'+_0x34fc8b:_0x14b526?getTableKey(_0x14b526):'';!_0x2ae378[_0x25aeab(0x14c)](_0x42bd8)&&_0x2ae378[_0x25aeab(0x2c3)](_0x42bd8,new Set()),_0x2ae378[_0x25aeab(0x240)](_0x42bd8)[_0x25aeab(0x3e0)](_0x3cf0b0);}const _0x42411a=new Set();for(const [_0x31a3aa,_0x3e980a]of _0x2ae378){_0x3e980a[_0x25aeab(0x170)]>0x1&&_0x42411a[_0x25aeab(0x3e0)](_0x31a3aa);}const _0x37ab51={},_0x1255c1=new Set();for(const _0x249d82 of _0x138052){const _0x564312=_0x249d82[_0x25aeab(0x39a)](),_0x1a5ed7=_0x249d82[_0x25aeab(0x1f2)](),_0x5b9d49=getTableKey(_0x564312);let _0x46683f=_0x5b9d49;const _0x3c46c2=_0x249d82['dbtableConfig']?.[_0x25aeab(0x37a)]||_0x249d82[_0x25aeab(0x1e9)]?.[_0x25aeab(0x1d3)]?.['dbName']||'';if(_0x42411a[_0x25aeab(0x14c)](_0x564312)&&_0x3c46c2){const _0x540bc0=getTableKey(_0x3c46c2);_0x46683f=''+_0x540bc0+_0x5b9d49[_0x25aeab(0x2bb)](0x0)[_0x25aeab(0x2b1)]()+_0x5b9d49[_0x25aeab(0x252)](0x1);}let _0x220fc7=_0x46683f,_0x4370b4=0x1;while(_0x1255c1[_0x25aeab(0x14c)](_0x220fc7)){_0x220fc7=_0x46683f+'_'+_0x4370b4,_0x4370b4++;}_0x1255c1[_0x25aeab(0x3e0)](_0x220fc7);const _0x5e72df=_0x220fc7;_0x37ab51[_0x220fc7]={'key':_0x220fc7,'alias':_0x5e72df,'tableName':_0x564312,'datasetCode':_0x1a5ed7[_0x25aeab(0x357)],'name':_0x1a5ed7[_0x25aeab(0x3f0)],'id':_0x1a5ed7['id'],'dbName':_0x3c46c2};}return _0x37ab51;}[a0_0x302a2e(0x3c1)](){const _0x4c0b59=a0_0x302a2e,_0x1e6743=this[_0x4c0b59(0x3e7)](),_0x1006ca=_0x1e6743[_0x4c0b59(0x29c)](_0x5a2d29=>_0x5a2d29[_0x4c0b59(0x1f2)]());return generateFullDatasetsConfig(_0x1006ca);}[a0_0x302a2e(0x1ea)](){const _0x41cb8b=a0_0x302a2e,_0x416c38={};for(const [_0x20e3f7,_0x7fc21e]of this[_0x41cb8b(0x2f7)]){_0x416c38[_0x20e3f7]=_0x7fc21e;}return _0x416c38;}[a0_0x302a2e(0x1f2)](){const _0x31c0c9=a0_0x302a2e,_0x34b49b={};for(const [_0x1340fa,_0x50f716]of this[_0x31c0c9(0x2f7)]){_0x34b49b[_0x1340fa]=_0x50f716[_0x31c0c9(0x3d2)]()[_0x31c0c9(0x29c)](_0x90b44=>_0x90b44[_0x31c0c9(0x1f2)]());}return _0x34b49b;}[a0_0x302a2e(0x408)](){const _0xce59ac=a0_0x302a2e;return _0xce59ac(0x3f2)+this[_0xce59ac(0x2f7)][_0xce59ac(0x170)]+_0xce59ac(0x158)+(this[_0xce59ac(0x193)]()?_0xce59ac(0x2eb):_0xce59ac(0x330))+')';}}class DatasetList{[a0_0x302a2e(0x2d7)];constructor(_0x39b9a7){const _0x28f7f1=a0_0x302a2e;let _0x5bf452;if(Array['isArray'](_0x39b9a7))_0x5bf452=_0x39b9a7;else{if('success'in _0x39b9a7){if(!_0x39b9a7[_0x28f7f1(0x263)])throw new Error(_0x28f7f1(0x2ad));if(Array[_0x28f7f1(0x33a)](_0x39b9a7['data']))_0x5bf452=_0x39b9a7['data'][_0x28f7f1(0x29c)](_0x1417e3=>({..._0x1417e3,'datasetCode':_0x1417e3[_0x28f7f1(0x218)]||_0x1417e3[_0x28f7f1(0x357)]}));else{if(_0x39b9a7['data']?.[_0x28f7f1(0x38f)])_0x5bf452=_0x39b9a7[_0x28f7f1(0x179)][_0x28f7f1(0x38f)][_0x28f7f1(0x29c)](_0x12fe01=>({..._0x12fe01,'datasetCode':_0x12fe01[_0x28f7f1(0x218)]||_0x12fe01[_0x28f7f1(0x357)]}));else throw new Error(_0x28f7f1(0x381));}}else{if('tableData'in _0x39b9a7){if(!Array[_0x28f7f1(0x33a)](_0x39b9a7[_0x28f7f1(0x38f)]))throw new Error(_0x28f7f1(0x2aa));_0x5bf452=_0x39b9a7[_0x28f7f1(0x38f)][_0x28f7f1(0x29c)](_0x2f152d=>({..._0x2f152d,'datasetCode':_0x2f152d[_0x28f7f1(0x218)]||_0x2f152d[_0x28f7f1(0x357)]}));}else throw new Error(_0x28f7f1(0x395));}}const _0x300029=cleanDatasetNames(_0x5bf452),_0x425df6=_0x300029[_0x28f7f1(0x29c)](_0x15d41c=>new DatasetItem(_0x15d41c));this[_0x28f7f1(0x2d7)]=new DatasetGroupMap(_0x425df6);}get[a0_0x302a2e(0x1b5)](){const _0x18effd=a0_0x302a2e;return this[_0x18effd(0x2d7)];}[a0_0x302a2e(0x172)](){const _0x23c031=a0_0x302a2e;return this[_0x23c031(0x2d7)][_0x23c031(0x3e7)]();}[a0_0x302a2e(0x26d)](){const _0x5c9e90=a0_0x302a2e;return this[_0x5c9e90(0x172)]()[_0x5c9e90(0x356)];}['isEmpty'](){const _0x2aa103=a0_0x302a2e;return this['_datasetMap'][_0x2aa103(0x170)]===0x0;}['getAt'](_0x37f529){const _0x4fe275=a0_0x302a2e;return this[_0x4fe275(0x172)]()[_0x37f529];}[a0_0x302a2e(0x2b2)](){return this['getItems']()[0x0];}[a0_0x302a2e(0x39c)](){const _0x391ef4=a0_0x302a2e,_0x33bc59=this[_0x391ef4(0x172)]();return _0x33bc59[_0x33bc59[_0x391ef4(0x356)]-0x1];}[a0_0x302a2e(0x332)](_0xe194c5){const _0x2b857b=a0_0x302a2e;for(const _0x5b4aa8 of this[_0x2b857b(0x2d7)][_0x2b857b(0x288)]()){const _0x5ee5cf=_0x5b4aa8[_0x2b857b(0x332)](_0xe194c5);if(_0x5ee5cf)return _0x5ee5cf;}return;}['findByName'](_0x4f5c3b){const _0x4cca9f=a0_0x302a2e;return this[_0x4cca9f(0x172)]()['find'](_0x58f3d7=>_0x58f3d7[_0x4cca9f(0x3f0)]===_0x4f5c3b);}[a0_0x302a2e(0x3a7)](_0x565503){const _0x1e4405=a0_0x302a2e;for(const _0xaf653f of this[_0x1e4405(0x2d7)][_0x1e4405(0x288)]()){const _0x7f7f79=_0xaf653f['findById'](_0x565503);if(_0x7f7f79)return _0x7f7f79;}return;}[a0_0x302a2e(0x1ac)](_0x5786cb){const _0x556521=a0_0x302a2e;for(const _0x1ac77a of this['_datasetMap'][_0x556521(0x288)]()){const _0x27ab41=_0x1ac77a['getLatest']();if(_0x27ab41[_0x556521(0x39a)]()===_0x5786cb)return _0x27ab41;}return;}[a0_0x302a2e(0x269)](_0x529f6b){const _0x48bd19=a0_0x302a2e,_0x3bcffe=[];for(const _0x37af29 of this[_0x48bd19(0x2d7)]['values']()){const _0x3278a3=_0x37af29[_0x48bd19(0x2e3)]();_0x3278a3['getTableName']()===_0x529f6b&&_0x3bcffe[_0x48bd19(0x3a6)](_0x3278a3);}return _0x3bcffe;}['filter'](_0x1326a8){const _0x3e00eb=a0_0x302a2e,_0x5b7395=this['getItems']()['filter'](_0x1326a8);return new DatasetList(_0x5b7395[_0x3e00eb(0x29c)](_0x5490ca=>_0x5490ca[_0x3e00eb(0x1f2)]()));}[a0_0x302a2e(0x2b3)](_0x6418fd){const _0x33225d=a0_0x302a2e;return this[_0x33225d(0x172)]()[_0x33225d(0x1a8)](_0x6418fd);}['forEach'](_0x19380a){const _0x4af17a=a0_0x302a2e;this[_0x4af17a(0x172)]()[_0x4af17a(0x2ab)](_0x19380a);}['map'](_0x256839){const _0x4ce197=a0_0x302a2e;return this[_0x4ce197(0x172)]()[_0x4ce197(0x29c)](_0x256839);}[Symbol[a0_0x302a2e(0x292)]](){const _0x5b27af=a0_0x302a2e;return this['getItems']()[Symbol[_0x5b27af(0x292)]]();}[a0_0x302a2e(0x2e7)](){const _0x3ad01c=a0_0x302a2e;return this[_0x3ad01c(0x172)]()[_0x3ad01c(0x1a8)](_0x1c5903=>_0x1c5903[_0x3ad01c(0x337)]());}[a0_0x302a2e(0x367)](){const _0x4ba854=a0_0x302a2e;return this[_0x4ba854(0x172)]()[_0x4ba854(0x1a8)](_0x45870e=>!_0x45870e[_0x4ba854(0x337)]());}[a0_0x302a2e(0x243)](){const _0x28277a=a0_0x302a2e,_0x1ebb23={};for(const _0x4532df of this[_0x28277a(0x2d7)]['values']()){const _0x30e18d=_0x4532df[_0x28277a(0x2e3)]()[_0x28277a(0x39a)]();_0x1ebb23[_0x30e18d]=_0x4532df[_0x28277a(0x3d2)]();}return _0x1ebb23;}[a0_0x302a2e(0x3a3)](){const _0x581066=a0_0x302a2e,_0x52a484={};for(const _0x426722 of this[_0x581066(0x2d7)][_0x581066(0x255)]()['values']()){const _0xa6ca44=_0x426722[_0x581066(0x2e3)]()['getTableName']();_0x52a484[_0xa6ca44]=_0x426722[_0x581066(0x3d2)]()['map'](_0x5b9fa3=>_0x5b9fa3[_0x581066(0x1f2)]());}return{'hasConflicts':Object[_0x581066(0x2b6)](_0x52a484)[_0x581066(0x356)]>0x0,'conflicts':_0x52a484};}['hasConflicts'](){const _0x306fb8=a0_0x302a2e;return this['_datasetMap'][_0x306fb8(0x193)]();}[a0_0x302a2e(0x1bf)](){const _0x48a968=a0_0x302a2e,_0xfe662=[];for(const _0x2f5b0d of this[_0x48a968(0x2d7)][_0x48a968(0x255)]()[_0x48a968(0x288)]()){_0xfe662[_0x48a968(0x3a6)](..._0x2f5b0d[_0x48a968(0x3d2)]());}return _0xfe662;}[a0_0x302a2e(0x3ae)](_0x133e21){const _0x1193ce=a0_0x302a2e;if(!_0x133e21||Object[_0x1193ce(0x2b6)](_0x133e21)['length']===0x0)return this[_0x1193ce(0x1b5)][_0x1193ce(0x32f)]();const _0x52bdf9=this['getItems']()[_0x1193ce(0x29c)](_0x3e614f=>_0x3e614f[_0x1193ce(0x1f2)]());return generateDatasetsConfig(_0x52bdf9,_0x133e21);}[a0_0x302a2e(0x2fb)](_0x25fa46){const _0x4366ca=this['generateConfig'](_0x25fa46);return datasetsConfigToArray(_0x4366ca);}[a0_0x302a2e(0x35a)](){const _0x14fa24=a0_0x302a2e;return this[_0x14fa24(0x172)]()[_0x14fa24(0x29c)](_0x22f033=>_0x22f033[_0x14fa24(0x32f)]());}['getStats'](){const _0x3901b2=a0_0x302a2e;return{'total':this['getCount'](),'virtualTables':this[_0x3901b2(0x2e7)]()[_0x3901b2(0x356)],'realTables':this[_0x3901b2(0x367)]()[_0x3901b2(0x356)],'hasConflicts':this['hasConflicts'](),'conflictCount':this['getConflictingItems']()['length']};}[a0_0x302a2e(0x36e)](){const _0x143472=a0_0x302a2e;return this[_0x143472(0x172)]()[_0x143472(0x29c)](_0x18480d=>_0x18480d[_0x143472(0x1f2)]());}['toJSON'](){return this['toArray']();}[a0_0x302a2e(0x408)](){const _0x480eaa=a0_0x302a2e;return _0x480eaa(0x19b)+this[_0x480eaa(0x26d)]()+_0x480eaa(0x403)+this[_0x480eaa(0x2d7)][_0x480eaa(0x170)]+_0x480eaa(0x16e);}static['fromApiResponse'](_0x58393c){return new DatasetList(_0x58393c);}static[a0_0x302a2e(0x1bc)](_0x590813){return new DatasetList(_0x590813);}static[a0_0x302a2e(0x3b9)](){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(_0x2ac7f9,_0x4aeb1e,_0x28f38d={}){const _0x1f7453=a0_0x302a2e;let _0x14c338=_0x2ac7f9;return Object[_0x1f7453(0x323)](_0x28f38d)['forEach'](([_0x478284,_0x5c2d4c])=>{const _0x2773e9=_0x1f7453,_0x3161f6=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x478284+_0x2773e9(0x1e5),'g');_0x14c338=_0x14c338['replace'](_0x3161f6,_0x5c2d4c?'$1':'');}),Object[_0x1f7453(0x323)](_0x4aeb1e)[_0x1f7453(0x2ab)](([_0x69517b,_0x3f6b70])=>{const _0x2fe0ad=_0x1f7453;if(_0x3f6b70!==undefined){const _0x3ee8d3=new RegExp(_0x2fe0ad(0x362)+_0x69517b+'\x5c}\x5c}','g');_0x14c338=_0x14c338[_0x2fe0ad(0x213)](_0x3ee8d3,_0x3f6b70);}}),_0x14c338;}function generateSDKInitCode(_0x3fc3d0,_0x31d7d4,_0x2f1edf,_0x5ec0e3,_0x2dbf3f){const _0x4feb91=a0_0x302a2e,_0xb0e263={};_0xb0e263['appCode']=_0x3fc3d0,_0xb0e263['datasetCode']=_0x31d7d4,_0xb0e263[_0x4feb91(0x3ca)]=_0x2f1edf,_0xb0e263[_0x4feb91(0x266)]=_0x5ec0e3===_0x4feb91(0x237)?'daily':undefined;const _0x412788={};return _0x412788[_0x4feb91(0x266)]=_0x5ec0e3!==undefined&&_0x5ec0e3!==_0x4feb91(0x214),_0x412788[_0x4feb91(0x2e1)]=_0x2dbf3f===!![],renderTemplate(SDK_INIT_TEMPLATE,_0xb0e263,_0x412788);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x302a2e(0x22d);function generateAliasExplanation(_0x5eff28,_0x565c3c,_0x4f0e2e,_0x3e7b8b){const _0x3638ae=a0_0x302a2e,_0xb7914b=_0x3638ae(0x319)+_0x5eff28,_0x27cd6d='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0x3f39be={};return _0x3f39be[_0x3638ae(0x357)]=_0x5eff28,_0x3f39be[_0x3638ae(0x159)]=_0xb7914b,_0x3f39be[_0x3638ae(0x1b6)]=_0x565c3c,_0x3f39be[_0x3638ae(0x3ca)]=_0x4f0e2e,_0x3f39be[_0x3638ae(0x37d)]=_0x3e7b8b,_0x3f39be['exampleWhere']=_0x27cd6d,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x3f39be,{});}function a0_0x14b3(_0x4c0fed,_0x48d8e2){_0x4c0fed=_0x4c0fed-0x148;const _0x1c7acb=a0_0x1c7a();let _0x14b307=_0x1c7acb[_0x4c0fed];return _0x14b307;}function DrivenDataDetailPlusMixin(_0x4123e3){const _0x878e53=a0_0x302a2e;return class _0x10564e extends _0x4123e3{[_0x878e53(0x30d)](_0x3449b3){const _0x2e1a35=_0x878e53;return{'appCode':_0x3449b3,'datasetSDKKey':this[_0x2e1a35(0x219)](),'alias':this[_0x2e1a35(0x35c)](),'tableName':this[_0x2e1a35(0x39a)](),'datasetCode':this[_0x2e1a35(0x357)]};}[_0x878e53(0x29e)](_0x372843,_0x4edd0f=_0x878e53(0x214),_0x1654c4=![]){const _0x44111a=_0x878e53;return generateSDKInitCode(_0x372843,this['datasetCode'],this[_0x44111a(0x35c)](),_0x4edd0f===_0x44111a(0x237)?_0x4edd0f:undefined,_0x1654c4);}[_0x878e53(0x28a)](_0x1fc292,_0x581070,_0xe4200={}){const _0xa60982=_0x878e53,_0x1b89a5=this[_0xa60982(0x1de)]()[_0xa60982(0x363)](_0x22cad3=>_0x22cad3['getName']()===_0x1fc292);if(!_0x1b89a5)return null;const _0xabd07f={};_0xabd07f[_0xa60982(0x3c4)]=_0xe4200[_0xa60982(0x2cf)]!==![];const _0x9cedeb=this[_0xa60982(0x3ef)](_0x1fc292,_0xabd07f);if(!_0x9cedeb)return null;const _0x104fc5=[];return _0x104fc5[_0xa60982(0x3a6)](_0xa60982(0x370)+_0x1b89a5[_0xa60982(0x2d2)]()+_0xa60982(0x212)),_0x104fc5[_0xa60982(0x3a6)](_0x9cedeb[_0xa60982(0x386)][_0xa60982(0x218)]),_0x104fc5['push'](''),_0xe4200[_0xa60982(0x2c0)]!==![]&&(_0x104fc5['push']('//\x20Usage\x20examples'),_0x104fc5['push'](_0x9cedeb[_0xa60982(0x3dd)]['successCode']),_0x104fc5['push'](''),_0x104fc5[_0xa60982(0x3a6)](_0x9cedeb[_0xa60982(0x3dd)][_0xa60982(0x201)])),_0x104fc5[_0xa60982(0x35e)]('\x0a');}[_0x878e53(0x361)](_0xe8cd4f={}){const _0x300345=_0x878e53,_0x4a7041=this[_0x300345(0x19f)](),_0x49bacb=[];return _0x4a7041[_0x300345(0x2ab)]((_0x14ffc1,_0x328eea)=>{const _0x2ffb08=_0x300345,_0x435b01=this[_0x2ffb08(0x28a)](_0x14ffc1[_0x2ffb08(0x3f0)],_0x2ffb08(0x38c),_0xe8cd4f);_0x435b01&&(_0x49bacb[_0x2ffb08(0x3a6)](_0x2ffb08(0x148)+(_0x328eea+0x1)+'.\x20'+_0x14ffc1[_0x2ffb08(0x385)]),_0x49bacb[_0x2ffb08(0x3a6)](_0x435b01),_0x49bacb[_0x2ffb08(0x3a6)](''));}),_0x49bacb[_0x300345(0x35e)]('\x0a');}[_0x878e53(0x233)](_0x279382){const _0x39083e=_0x878e53,_0x805417=this[_0x39083e(0x1c3)](_0x279382);if(!_0x805417)return null;const _0x316564={};return _0x316564[_0x39083e(0x3f0)]=_0x805417[_0x39083e(0x3f0)],_0x316564[_0x39083e(0x385)]=_0x805417[_0x39083e(0x385)],_0x316564[_0x39083e(0x373)]=_0x805417['method'],_0x316564[_0x39083e(0x176)]=_0x805417[_0x39083e(0x176)],_0x316564[_0x39083e(0x1f5)]=_0x805417[_0x39083e(0x1f5)],_0x316564['requestFieldCount']=_0x805417[_0x39083e(0x19a)][_0x39083e(0x356)],_0x316564['hasResponseSchema']=_0x805417[_0x39083e(0x209)]!==null,_0x316564;}[_0x878e53(0x3af)](_0x1139c2={}){const _0xd53447=_0x878e53,_0x14510d=this[_0xd53447(0x19f)]();return{'datasetName':this[_0xd53447(0x3f0)],'datasetCode':this[_0xd53447(0x357)],'tableName':this[_0xd53447(0x39a)](),'totalOperations':_0x14510d[_0xd53447(0x356)],'operations':_0x14510d['map'](_0x89b7aa=>({'name':_0x89b7aa['name'],'displayName':_0x89b7aa[_0xd53447(0x385)],'method':_0x89b7aa[_0xd53447(0x373)],'enabled':_0x89b7aa[_0xd53447(0x1f5)]}))};}[_0x878e53(0x215)](_0x20e9fa){const _0x290b38=_0x878e53,_0x489195=this[_0x290b38(0x1c3)](_0x20e9fa);if(!_0x489195)return[];return _0x489195[_0x290b38(0x19a)]['map'](_0x1dfde5=>{const _0x23b055=_0x290b38,_0x2add99=this[_0x23b055(0x29d)](_0x1dfde5);if(!_0x2add99)return null;const _0x379caf={};return _0x379caf[_0x23b055(0x218)]=_0x1dfde5,_0x379caf[_0x23b055(0x3f0)]=_0x2add99[_0x23b055(0x3f0)]||_0x1dfde5,_0x379caf;})[_0x290b38(0x1a8)](_0x3732a0=>_0x3732a0!==null);}['getMissingCRUDOperations'](){const _0x1cf593=_0x878e53,_0x1638f3=new Set(this['getEnabledOperationAnalyses']()['map'](_0x47f587=>String(_0x47f587[_0x1cf593(0x343)]))),_0x52bfc8=['create',_0x1cf593(0x2fd),_0x1cf593(0x231),_0x1cf593(0x253)];return _0x52bfc8[_0x1cf593(0x1a8)](_0x5cd1c2=>!_0x1638f3[_0x1cf593(0x14c)](String(_0x5cd1c2)));}[_0x878e53(0x1a6)](_0x46c992=_0x878e53(0x38c)){const _0x283c13=_0x878e53;return generateAliasExplanation(this[_0x283c13(0x357)],this[_0x283c13(0x39a)](),this[_0x283c13(0x35c)](),_0x46c992);}};}function operationToAnalysis(_0x421577){const _0x4b2f82=a0_0x302a2e;return{'name':_0x421577[_0x4b2f82(0x2d2)](),'displayName':_0x421577['getDisplayName'](),'type':_0x421577['getType'](),'method':_0x421577['getMethod'](),'path':_0x421577[_0x4b2f82(0x1a7)](),'fullUrl':_0x421577[_0x4b2f82(0x22f)](),'requestFields':_0x421577['getRequestFields'](),'requestParams':_0x421577[_0x4b2f82(0x256)](),'responseSchema':_0x421577[_0x4b2f82(0x18c)](),'requestExample':_0x421577[_0x4b2f82(0x2a9)](),'responseExample':_0x421577[_0x4b2f82(0x18e)](),'enabled':_0x421577['isEnabled']()};}function operationsToAnalyses(_0x40d2da){const _0x15d1ec=a0_0x302a2e;if(!Array[_0x15d1ec(0x33a)](_0x40d2da))return!![]&&console[_0x15d1ec(0x3c9)](_0x15d1ec(0x27f),_0x40d2da),[];return _0x40d2da[_0x15d1ec(0x29c)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x42f44f){const _0x5da266=a0_0x302a2e,_0xef7f41=_0x42f44f[_0x5da266(0x363)](_0x3b3991=>_0x3b3991[_0x5da266(0x3f0)]==='filter'),_0x279483=_0x42f44f[_0x5da266(0x1a8)](_0x4c93e9=>_0x4c93e9[_0x5da266(0x3f0)]!==_0x5da266(0x1a8));return _0xef7f41?[_0xef7f41,..._0x279483]:_0x279483;}function filterOperationAnalyses(_0x9735e3,_0x765150={}){const _0x846b3=a0_0x302a2e;let _0x2975ca=_0x9735e3;return!_0x765150[_0x846b3(0x1d7)]&&(_0x2975ca=_0x2975ca[_0x846b3(0x1a8)](_0x5908ba=>_0x5908ba[_0x846b3(0x1f5)])),_0x765150[_0x846b3(0x2d3)]!==![]&&(_0x2975ca=filterApiOperations(_0x2975ca)),_0x765150[_0x846b3(0x153)]&&(_0x2975ca=_0x2975ca[_0x846b3(0x1a8)](_0x765150[_0x846b3(0x153)])),sortOperationsWithFilterFirst(_0x2975ca);}function getOperationStats(_0x49fbfc){const _0x283e5a=a0_0x302a2e,_0x1422bc=_0x49fbfc[_0x283e5a(0x1a8)](_0x358895=>_0x358895['enabled']);return{'total':_0x49fbfc['length'],'enabled':_0x1422bc[_0x283e5a(0x356)],'disabled':_0x49fbfc[_0x283e5a(0x356)]-_0x1422bc[_0x283e5a(0x356)],'byType':getCountByType(_0x1422bc),'byMethod':getCountByMethod(_0x1422bc)};}function getCountByType(_0x15b2ab){const _0x5bdffb=a0_0x302a2e,_0x7b0363={};return _0x15b2ab[_0x5bdffb(0x2ab)](_0x44d7ab=>{const _0x5655e8=_0x5bdffb;if(_0x44d7ab[_0x5655e8(0x343)])_0x7b0363[_0x44d7ab[_0x5655e8(0x343)]]=(_0x7b0363[_0x44d7ab[_0x5655e8(0x343)]]||0x0)+0x1;}),_0x7b0363;}function getCountByMethod(_0x38d8dc){const _0xa6a520=a0_0x302a2e,_0x57329b={};return _0x38d8dc[_0xa6a520(0x2ab)](_0x433a95=>{const _0x4cee3e=_0xa6a520;_0x57329b[_0x433a95[_0x4cee3e(0x373)]]=(_0x57329b[_0x433a95['method']]||0x0)+0x1;}),_0x57329b;}function supportsCRUD(_0x21cee5){const _0x28389c=a0_0x302a2e,_0x248c3c=new Set(_0x21cee5['map'](_0x2a4029=>_0x2a4029['type'])[_0x28389c(0x1a8)](Boolean));return _0x248c3c['has']('create')&&_0x248c3c[_0x28389c(0x14c)]('getList')&&_0x248c3c[_0x28389c(0x14c)](_0x28389c(0x231))&&_0x248c3c[_0x28389c(0x14c)]('delete');}function createOperationDocMeta(_0x2ae629,_0x5cb929,_0x502c2b,_0x5ea7c5,_0x1a7d71,_0x1bfe4){const _0x55e7e8=a0_0x302a2e,_0x274570={};return _0x274570[_0x55e7e8(0x3c4)]=_0x1bfe4?.[_0x55e7e8(0x3c4)],{'operation':_0x2ae629,'operationInstance':_0x5cb929,'basicInfo':{'name':_0x2ae629[_0x55e7e8(0x3f0)],'displayName':_0x2ae629[_0x55e7e8(0x385)],'method':_0x2ae629[_0x55e7e8(0x373)],'path':_0x2ae629[_0x55e7e8(0x176)],'fullUrl':_0x2ae629[_0x55e7e8(0x314)],'enabled':_0x2ae629['enabled']},'sdkCall':{'datasetCode':_0x502c2b,'datasetSDKKey':_0x5ea7c5,'tableName':_0x1a7d71,'operationName':_0x2ae629[_0x55e7e8(0x3f0)],'params':_0x2ae629[_0x55e7e8(0x19a)],'code':_0x5cb929[_0x55e7e8(0x2bc)](_0x5ea7c5,_0x274570)},'usageExample':_0x5cb929[_0x55e7e8(0x195)](_0x5ea7c5)};}function createOperationsOverviewData(_0x40f018){const _0x35ad92=a0_0x302a2e,_0xbc2357={};_0xbc2357['index']=_0x35ad92(0x3f0),_0xbc2357['label']=_0x35ad92(0x3b0);const _0xc8a140={};_0xc8a140[_0x35ad92(0x1a3)]=_0x35ad92(0x385),_0xc8a140['label']=_0x35ad92(0x1b2);const _0x286db3={};_0x286db3[_0x35ad92(0x1a3)]=_0x35ad92(0x373),_0x286db3[_0x35ad92(0x2d5)]='方法';const _0x2300b5={};_0x2300b5[_0x35ad92(0x1a3)]=_0x35ad92(0x386),_0x2300b5[_0x35ad92(0x2d5)]=_0x35ad92(0x1ce);const _0x1fa9de={};_0x1fa9de[_0x35ad92(0x1a3)]=_0x35ad92(0x176),_0x1fa9de['label']=_0x35ad92(0x242);const _0x23400a={};_0x23400a[_0x35ad92(0x1a3)]='sdkCallCode',_0x23400a[_0x35ad92(0x2d5)]=_0x35ad92(0x301);const _0x506c00=[_0xbc2357,_0xc8a140,_0x286db3,_0x2300b5,_0x1fa9de,_0x23400a],_0x28ec54=_0x40f018[_0x35ad92(0x29c)](_0x33584d=>{const _0x53929e=_0x35ad92,{basicInfo:_0x12cf71,sdkCall:_0x48a633}=_0x33584d,_0x1c2157=_0x48a633[_0x53929e(0x218)][_0x53929e(0x213)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x40e4bd={};return _0x40e4bd['displayName']=_0x12cf71[_0x53929e(0x385)],_0x40e4bd['name']=_0x12cf71[_0x53929e(0x3f0)],_0x40e4bd[_0x53929e(0x373)]=_0x12cf71[_0x53929e(0x373)],_0x40e4bd[_0x53929e(0x176)]=_0x12cf71[_0x53929e(0x176)],_0x40e4bd[_0x53929e(0x386)]=_0x1c2157,_0x40e4bd['sdkCallCode']=_0x48a633[_0x53929e(0x218)],_0x40e4bd;}),_0x134b35={};return _0x134b35[_0x35ad92(0x1ed)]=_0x506c00,_0x134b35['tableData']=_0x28ec54,_0x134b35;}function createDatasetDocMeta(_0x3343c4,_0xe9058f,_0x59bacf,_0x576836,_0x46f774,_0x47660c,_0x235af9,_0x61ee7c,_0x411120){const _0x1ac721=a0_0x302a2e,_0x13cc9a={};return _0x13cc9a[_0x1ac721(0x331)]=_0x3343c4+_0x1ac721(0x3a1),_0x13cc9a[_0x1ac721(0x188)]={},_0x13cc9a['operations']=_0x411120,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x3f0)]=_0x3343c4,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x218)]=_0xe9058f,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x1b6)]=_0x59bacf,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x159)]=_0x576836,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x1ff)]=_0x46f774,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x246)]=_0x47660c,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x2a3)]=_0x235af9,_0x13cc9a[_0x1ac721(0x188)]['businessFieldCount']=0x0,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x3a4)]=0x0,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x20c)]=_0x61ee7c,_0x13cc9a[_0x1ac721(0x188)][_0x1ac721(0x261)]=_0x411120[_0x1ac721(0x356)],_0x13cc9a;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x302a2e(0x2b7)];[a0_0x302a2e(0x24d)](){return'v1';}[a0_0x302a2e(0x35c)](){const _0x2210fe=a0_0x302a2e;return this[_0x2210fe(0x2a6)]();}[a0_0x302a2e(0x376)](_0x58ebcf=![]){const _0x1c529e=a0_0x302a2e;if(!_0x58ebcf&&this['_operationAnalyses'])return this[_0x1c529e(0x2b7)];const _0x5a262b=this['getOperations']();return this[_0x1c529e(0x2b7)]=operationsToAnalyses(_0x5a262b),this['_operationAnalyses'];}[a0_0x302a2e(0x19f)](){const _0x11afe9=a0_0x302a2e,_0x628731={};return _0x628731['includeDisabled']=![],_0x628731[_0x11afe9(0x2d3)]=!![],this[_0x11afe9(0x340)](_0x628731);}[a0_0x302a2e(0x340)](_0x1c7308={}){const _0x1ad007=a0_0x302a2e;return filterOperationAnalyses(this[_0x1ad007(0x376)](),_0x1c7308);}[a0_0x302a2e(0x1c3)](_0x100fdb){const _0xe14fec=a0_0x302a2e;return this[_0xe14fec(0x376)]()[_0xe14fec(0x363)](_0x2d1bee=>_0x2d1bee[_0xe14fec(0x3f0)]===_0x100fdb);}[a0_0x302a2e(0x38d)](_0x4ad94d){const _0x158484=a0_0x302a2e;return this[_0x158484(0x376)]()['filter'](_0x201b7d=>_0x201b7d[_0x158484(0x343)]===_0x4ad94d);}[a0_0x302a2e(0x3ef)](_0x17836c,_0x413b02){const _0x502b6e=a0_0x302a2e,_0x257744=this['getOperationAnalysis'](_0x17836c);if(!_0x257744)return null;const _0x435066=this[_0x502b6e(0x1de)]()[_0x502b6e(0x363)](_0x504b15=>_0x504b15['getName']()===_0x257744[_0x502b6e(0x3f0)]);if(!_0x435066)throw new Error('Operation\x20not\x20found:\x20'+_0x257744['name']);return createOperationDocMeta(_0x257744,_0x435066,this[_0x502b6e(0x357)],this['getDatasetSDKKey'](),this['getTableName'](),_0x413b02);}[a0_0x302a2e(0x23e)](_0x36f85c={}){const _0x5656b4=a0_0x302a2e,_0x549fa9=this['getFilteredOperationAnalyses'](_0x36f85c),_0x489121=_0x549fa9[_0x5656b4(0x29c)](_0x50478c=>this[_0x5656b4(0x3ef)](_0x50478c[_0x5656b4(0x3f0)]))[_0x5656b4(0x1a8)](_0x40a038=>_0x40a038!==null);return createDatasetDocMeta(this[_0x5656b4(0x3f0)],this[_0x5656b4(0x357)],this[_0x5656b4(0x39a)](),this[_0x5656b4(0x219)](),this[_0x5656b4(0x2a6)](),this[_0x5656b4(0x246)],this[_0x5656b4(0x275)](),this[_0x5656b4(0x25c)](),_0x489121);}[a0_0x302a2e(0x3d6)](_0x5bae26){return createOperationsOverviewData(_0x5bae26);}[a0_0x302a2e(0x3c5)](){const _0x4c889e=a0_0x302a2e;return supportsCRUD(this[_0x4c889e(0x19f)]());}['getOperationStats'](){const _0x1165ee=a0_0x302a2e;return getOperationStats(this[_0x1165ee(0x376)]());}[a0_0x302a2e(0x408)](){const _0x5dfe13=a0_0x302a2e,_0x12906c=this[_0x5dfe13(0x1cf)]();return _0x5dfe13(0x17d)+this[_0x5dfe13(0x3f0)]+',\x20'+this[_0x5dfe13(0x357)]+',\x20'+this['getFieldCount']()+_0x5dfe13(0x156)+_0x12906c['enabled']+'/'+_0x12906c[_0x5dfe13(0x393)]+_0x5dfe13(0x2ff);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x302a2e(0x2b7)];[a0_0x302a2e(0x24d)](){return'v2';}[a0_0x302a2e(0x35c)](){return this['getTableKey']();}[a0_0x302a2e(0x376)](_0x58d0ba=![]){const _0x484f70=a0_0x302a2e;if(!_0x58d0ba&&this[_0x484f70(0x2b7)])return this['_operationAnalyses'];const _0x4fed58=this[_0x484f70(0x1de)]();return this[_0x484f70(0x2b7)]=operationsToAnalyses(_0x4fed58),this[_0x484f70(0x2b7)];}[a0_0x302a2e(0x19f)](){const _0x3934d1=a0_0x302a2e,_0x3099a6={};return _0x3099a6[_0x3934d1(0x1d7)]=![],_0x3099a6[_0x3934d1(0x2d3)]=!![],this[_0x3934d1(0x340)](_0x3099a6);}[a0_0x302a2e(0x340)](_0x3f6f66={}){const _0x37f9b7=a0_0x302a2e;return filterOperationAnalyses(this[_0x37f9b7(0x376)](),_0x3f6f66);}[a0_0x302a2e(0x1c3)](_0x52833b){const _0x21a271=a0_0x302a2e;return this['getOperationAnalyses']()[_0x21a271(0x363)](_0x3b9f61=>_0x3b9f61[_0x21a271(0x3f0)]===_0x52833b);}['getOperationAnalysesByType'](_0x1a6df1){const _0x3bba12=a0_0x302a2e;return this[_0x3bba12(0x376)]()['filter'](_0x29d266=>_0x29d266['type']===_0x1a6df1);}['getOperationDocMeta'](_0x41238d,_0x255925){const _0x366ebb=a0_0x302a2e,_0x196492=this[_0x366ebb(0x1c3)](_0x41238d);if(!_0x196492)return null;const _0x64a826=this[_0x366ebb(0x1de)]()['find'](_0x2d5aaf=>_0x2d5aaf[_0x366ebb(0x2d2)]()===_0x196492[_0x366ebb(0x3f0)]);if(!_0x64a826)throw new Error(_0x366ebb(0x1f0)+_0x196492['name']);return createOperationDocMeta(_0x196492,_0x64a826,this[_0x366ebb(0x357)],this[_0x366ebb(0x219)](),this[_0x366ebb(0x39a)](),_0x255925);}['getDatasetDocMeta'](_0x517a89={}){const _0x15cf58=a0_0x302a2e,_0x27c335=this[_0x15cf58(0x340)](_0x517a89),_0x5148bd=_0x27c335['map'](_0x4e9d73=>this['getOperationDocMeta'](_0x4e9d73['name']))[_0x15cf58(0x1a8)](_0x26bc36=>_0x26bc36!==null);return createDatasetDocMeta(this[_0x15cf58(0x3f0)],this[_0x15cf58(0x357)],this[_0x15cf58(0x39a)](),this[_0x15cf58(0x219)](),this['getTableKey'](),this['source'],this[_0x15cf58(0x275)](),this[_0x15cf58(0x25c)](),_0x5148bd);}['getOperationsOverviewData'](_0x4fad1c){return createOperationsOverviewData(_0x4fad1c);}['supportsCRUD'](){const _0x261aaf=a0_0x302a2e;return supportsCRUD(this[_0x261aaf(0x19f)]());}['getOperationStats'](){const _0x55f9fe=a0_0x302a2e;return getOperationStats(this[_0x55f9fe(0x376)]());}[a0_0x302a2e(0x408)](){const _0x355699=a0_0x302a2e,_0x148c44=this[_0x355699(0x1cf)]();return'DrivenDataDetailPlusV2('+this[_0x355699(0x3f0)]+',\x20'+this[_0x355699(0x357)]+',\x20'+this[_0x355699(0x275)]()+_0x355699(0x156)+_0x148c44[_0x355699(0x1f5)]+'/'+_0x148c44[_0x355699(0x393)]+'\x20operations,\x20v2)';}}function detectDatasetVersion3(_0x2d7c41){const _0xaf4956=a0_0x302a2e;if(_0x2d7c41['doVersion']==='v2'&&'fields'in _0x2d7c41&&Array[_0xaf4956(0x33a)](_0x2d7c41[_0xaf4956(0x2d1)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x302a2e(0x2b8)];constructor(_0x1bf930){const _0x3edf3c=a0_0x302a2e,_0x5e55bf=detectDatasetVersion3(_0x1bf930);return this[_0x3edf3c(0x2b8)]=_0x5e55bf==='v2'?new DrivenDataDetailPlusV2(_0x1bf930):new DrivenDataDetailPlusV1(_0x1bf930),new Proxy(this,{'get'(_0x32b685,_0x17f64c){const _0x38656a=_0x3edf3c;if(_0x17f64c in _0x32b685){const _0x287356=_0x32b685[_0x17f64c];return typeof _0x287356===_0x38656a(0x1e2)?_0x287356[_0x38656a(0x186)](_0x32b685):_0x287356;}if(_0x17f64c in _0x32b685[_0x38656a(0x2b8)]){const _0x4e2e64=_0x32b685[_0x38656a(0x2b8)][_0x17f64c];return typeof _0x4e2e64===_0x38656a(0x1e2)?_0x4e2e64[_0x38656a(0x186)](_0x32b685[_0x38656a(0x2b8)]):_0x4e2e64;}return;},'set'(_0x427e91,_0x163c9a,_0xe00c48){return _0x427e91[_0x163c9a]=_0xe00c48,!![];},'getPrototypeOf'(_0x1ab147){const _0x50cb8d=_0x3edf3c;return DrivenDataDetailPlus[_0x50cb8d(0x2a4)];}});}get['name'](){const _0x10a50c=a0_0x302a2e;return this[_0x10a50c(0x2b8)][_0x10a50c(0x3f0)];}get['id'](){const _0x230957=a0_0x302a2e;return this[_0x230957(0x2b8)]['id'];}get[a0_0x302a2e(0x357)](){const _0x80adc1=a0_0x302a2e;return this[_0x80adc1(0x2b8)][_0x80adc1(0x357)];}get['source'](){const _0x5278d2=a0_0x302a2e;return this[_0x5278d2(0x2b8)][_0x5278d2(0x246)];}get[a0_0x302a2e(0x1e9)](){const _0x112669=a0_0x302a2e;return this[_0x112669(0x2b8)][_0x112669(0x352)]();}['getVersion'](){const _0x10f9f5=a0_0x302a2e,_0xa04e2=this[_0x10f9f5(0x2b8)][_0x10f9f5(0x24d)]();return _0xa04e2==='v2'?'v2':'v1';}['getFieldCount'](){const _0xd64503=a0_0x302a2e;return this[_0xd64503(0x2b8)][_0xd64503(0x275)]();}['getOperationCount'](){const _0x385d74=a0_0x302a2e;return this[_0x385d74(0x2b8)][_0x385d74(0x25c)]();}['getFields'](){const _0x5a026e=a0_0x302a2e;return this['_instance'][_0x5a026e(0x325)]();}[a0_0x302a2e(0x1de)](){const _0x4c1518=a0_0x302a2e;return this[_0x4c1518(0x2b8)][_0x4c1518(0x1de)]();}['getFilteredOperations'](_0x319729){const _0x3c21c5=a0_0x302a2e;return this['_instance'][_0x3c21c5(0x2a2)](_0x319729);}[a0_0x302a2e(0x29d)](_0x4693ac){const _0x914e62=a0_0x302a2e;return this[_0x914e62(0x2b8)][_0x914e62(0x29d)](_0x4693ac);}[a0_0x302a2e(0x39a)](){const _0x4cbf1b=a0_0x302a2e;return this[_0x4cbf1b(0x2b8)][_0x4cbf1b(0x39a)]();}[a0_0x302a2e(0x2a6)](){const _0x2b8a0f=a0_0x302a2e;return this[_0x2b8a0f(0x2b8)]['getTableKey']();}[a0_0x302a2e(0x219)](){const _0xebbe19=a0_0x302a2e;return this[_0xebbe19(0x2b8)][_0xebbe19(0x219)]();}[a0_0x302a2e(0x1fc)](){const _0x547cdd=a0_0x302a2e;return this[_0x547cdd(0x2b8)][_0x547cdd(0x1fc)]();}[a0_0x302a2e(0x1be)](){const _0x3f0fc1=a0_0x302a2e;return this[_0x3f0fc1(0x2b8)][_0x3f0fc1(0x1be)]();}['getEnumFieldsMeta'](){const _0x128d91=a0_0x302a2e;return this[_0x128d91(0x2b8)]['getEnumFieldsMeta']();}[a0_0x302a2e(0x34b)](_0x4cb4e1){const _0x9e4eca=a0_0x302a2e;return this['_instance'][_0x9e4eca(0x34b)](_0x4cb4e1);}['getField'](_0x31a17c){const _0x40f39a=a0_0x302a2e;return this[_0x40f39a(0x2b8)][_0x40f39a(0x1b4)](_0x31a17c);}[a0_0x302a2e(0x2d6)](_0xa39260){const _0x381814=a0_0x302a2e;return this[_0x381814(0x2b8)][_0x381814(0x2d6)](_0xa39260);}[a0_0x302a2e(0x3f3)](_0x4a95db){const _0x358e1a=a0_0x302a2e;return this[_0x358e1a(0x2b8)][_0x358e1a(0x3f3)](_0x4a95db);}[a0_0x302a2e(0x258)](_0x32eb72){const _0x4034d6=a0_0x302a2e;return this['_instance'][_0x4034d6(0x258)](_0x32eb72);}[a0_0x302a2e(0x392)](_0x5be5d6,_0x41e6ce){const _0x218d96=a0_0x302a2e;return this[_0x218d96(0x2b8)][_0x218d96(0x392)](_0x5be5d6,_0x41e6ce);}['isRequiredField'](_0x2bd093){const _0x242df1=a0_0x302a2e;return this['_instance'][_0x242df1(0x2c9)](_0x2bd093);}[a0_0x302a2e(0x3bb)](){const _0x4d4660=a0_0x302a2e;return this['_instance'][_0x4d4660(0x3bb)]();}[a0_0x302a2e(0x310)](){const _0xfef133=a0_0x302a2e;return this[_0xfef133(0x2b8)]['getFilterOperation']();}[a0_0x302a2e(0x36d)](){const _0x1a99d5=a0_0x302a2e;return this[_0x1a99d5(0x2b8)][_0x1a99d5(0x36d)]();}['hasOperation'](_0x27e6fc){const _0x501db9=a0_0x302a2e;return this['_instance'][_0x501db9(0x180)](_0x27e6fc);}[a0_0x302a2e(0x352)](){const _0xbfc491=a0_0x302a2e;return this[_0xbfc491(0x2b8)]['getDBConfig']();}['getRawDbtableConfig'](){const _0x1a1c48=a0_0x302a2e;return this[_0x1a1c48(0x2b8)]['getRawDbtableConfig']();}['getSource'](){const _0x3d61c5=a0_0x302a2e;return this[_0x3d61c5(0x2b8)][_0x3d61c5(0x38e)]();}[a0_0x302a2e(0x376)](_0x291574){const _0x431922=a0_0x302a2e;return this[_0x431922(0x2b8)]['getOperationAnalyses'](_0x291574);}[a0_0x302a2e(0x19f)](){const _0x5e93ea=a0_0x302a2e;return this[_0x5e93ea(0x2b8)]['getEnabledOperationAnalyses']();}[a0_0x302a2e(0x340)](_0x400dc9){const _0x286228=a0_0x302a2e;return this[_0x286228(0x2b8)][_0x286228(0x340)](_0x400dc9);}[a0_0x302a2e(0x1c3)](_0x5e3e67){const _0x54f12c=a0_0x302a2e;return this['_instance'][_0x54f12c(0x1c3)](_0x5e3e67);}[a0_0x302a2e(0x38d)](_0x5bba8d){const _0x3c40f6=a0_0x302a2e;return this[_0x3c40f6(0x2b8)]['getOperationAnalysesByType'](_0x5bba8d);}[a0_0x302a2e(0x3ef)](_0x1ef154,_0x5040c5){const _0x503d61=a0_0x302a2e;return this[_0x503d61(0x2b8)][_0x503d61(0x3ef)](_0x1ef154,_0x5040c5);}['getDatasetDocMeta'](_0x2badc8){const _0x22348a=a0_0x302a2e;return this[_0x22348a(0x2b8)][_0x22348a(0x23e)](_0x2badc8);}[a0_0x302a2e(0x3d6)](_0x543d5c){const _0xa97cd2=a0_0x302a2e;return this['_instance'][_0xa97cd2(0x3d6)](_0x543d5c);}[a0_0x302a2e(0x35c)](){const _0x1f01be=a0_0x302a2e;return this[_0x1f01be(0x2b8)][_0x1f01be(0x35c)]();}[a0_0x302a2e(0x3c5)](){const _0x258521=a0_0x302a2e;return this[_0x258521(0x2b8)][_0x258521(0x3c5)]();}['getOperationStats'](){const _0x460c44=a0_0x302a2e;return this[_0x460c44(0x2b8)][_0x460c44(0x1cf)]();}[a0_0x302a2e(0x408)](){const _0x1e55d4=a0_0x302a2e;return this[_0x1e55d4(0x2b8)][_0x1e55d4(0x408)]();}['getOperation'](_0x23bc40){const _0x39fc4d=a0_0x302a2e;return this[_0x39fc4d(0x2b8)]['getOperation'](_0x23bc40);}[a0_0x302a2e(0x30d)](_0x27ce64){const _0x49d929=a0_0x302a2e;return this[_0x49d929(0x2b8)]['getSDKInitData'](_0x27ce64);}['generateSDKInitCode'](_0x29502b,_0x4da0a8,_0x3cfce7){const _0x4fbe6c=a0_0x302a2e;return this[_0x4fbe6c(0x2b8)][_0x4fbe6c(0x29e)](_0x29502b,_0x4da0a8,_0x3cfce7);}[a0_0x302a2e(0x28a)](_0x5b3377,_0x28f8cf,_0x284c05){const _0x547147=a0_0x302a2e;return this[_0x547147(0x2b8)][_0x547147(0x28a)](_0x5b3377,_0x28f8cf,_0x284c05);}[a0_0x302a2e(0x361)](_0xdf5774){return this['_instance']['generateAllOperationsFullSDKExample'](_0xdf5774);}['generateOperationSummary'](_0x479d1e){const _0x1e2768=a0_0x302a2e;return this[_0x1e2768(0x2b8)][_0x1e2768(0x233)](_0x479d1e);}[a0_0x302a2e(0x3af)](_0xb8d075){const _0x31eab1=a0_0x302a2e;return this[_0x31eab1(0x2b8)]['generateAllOperationsSummary'](_0xb8d075);}[a0_0x302a2e(0x215)](_0x4bf027){const _0x3b3f5f=a0_0x302a2e;return this[_0x3b3f5f(0x2b8)][_0x3b3f5f(0x215)](_0x4bf027);}[a0_0x302a2e(0x16a)](){const _0x3b5346=a0_0x302a2e;return this[_0x3b5346(0x2b8)][_0x3b5346(0x16a)]();}['generateAliasExplanation'](){const _0x41ff53=a0_0x302a2e;return this['_instance'][_0x41ff53(0x1a6)]();}[a0_0x302a2e(0x1fb)](){const _0x39d769=a0_0x302a2e;return this[_0x39d769(0x2b8)];}}function createDrivenDataDetailPlus(_0x9a8e9a,_0x255e53={}){const _0x3774b9=a0_0x302a2e;if(_0x255e53[_0x3774b9(0x300)]==='v1')return new DrivenDataDetailPlusV1(_0x9a8e9a);if(_0x255e53[_0x3774b9(0x300)]==='v2')return new DrivenDataDetailPlusV2(_0x9a8e9a);if(_0x9a8e9a['doVersion']==='v2'||_0x3774b9(0x25e)in _0x9a8e9a)return new DrivenDataDetailPlusV2(_0x9a8e9a);return new DrivenDataDetailPlusV1(_0x9a8e9a);}function isPlusV2Instance(_0x179c26){const _0x2a2847=a0_0x302a2e;return _0x179c26[_0x2a2847(0x24d)]()==='v2';}function isPlusV1Instance(_0x12848e){return _0x12848e['getVersion']()==='v1';}var VERSION=a0_0x302a2e(0x3ba);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};
|