@lovrabet/dsparser 1.3.11-beta.1 → 1.3.12
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_0x3e48cd=a0_0x23f8;(function(_0x212c7e,_0x476f06){const _0x477240=a0_0x23f8,_0xe88c0=_0x212c7e();while(!![]){try{const _0x44861a=-parseInt(_0x477240(0x31b))/0x1*(parseInt(_0x477240(0x1fb))/0x2)+-parseInt(_0x477240(0x272))/0x3*(parseInt(_0x477240(0xc2))/0x4)+-parseInt(_0x477240(0x1b2))/0x5+parseInt(_0x477240(0x111))/0x6+parseInt(_0x477240(0x244))/0x7*(-parseInt(_0x477240(0x1ff))/0x8)+-parseInt(_0x477240(0x121))/0x9*(-parseInt(_0x477240(0x1e3))/0xa)+parseInt(_0x477240(0x11d))/0xb;if(_0x44861a===_0x476f06)break;else _0xe88c0['push'](_0xe88c0['shift']());}catch(_0x52ebaa){_0xe88c0['push'](_0xe88c0['shift']());}}}(a0_0x2176,0xdb15b));function toCamelCase(_0x330a92){const _0x42c2d8=a0_0x23f8;if(!_0x330a92)return'';return _0x330a92[_0x42c2d8(0x182)](/[_-]/)[_0x42c2d8(0xac)]((_0x597a0f,_0x54b3ba)=>{const _0x25b299=_0x42c2d8;if(_0x54b3ba===0x0)return _0x597a0f[_0x25b299(0xc3)]();return _0x597a0f[_0x25b299(0x126)](0x0)[_0x25b299(0x279)]()+_0x597a0f[_0x25b299(0x1f9)](0x1)[_0x25b299(0xc3)]();})['join']('');}function toPascalCase(_0x3417fa){if(!_0x3417fa)return'';const _0x144179=toCamelCase(_0x3417fa);return _0x144179['charAt'](0x0)['toUpperCase']()+_0x144179['slice'](0x1);}function toSnakeCase(_0x1638ae){const _0x20aee3=a0_0x23f8;if(!_0x1638ae)return'';return _0x1638ae['replace'](/([A-Z])/g,_0x20aee3(0x223))[_0x20aee3(0xc3)]()[_0x20aee3(0x15d)](/^_/,'');}function toKebabCase(_0x1080ef){const _0x357105=a0_0x23f8;if(!_0x1080ef)return'';return _0x1080ef['replace'](/([A-Z])/g,_0x357105(0xe5))[_0x357105(0xc3)]()[_0x357105(0x15d)](/^-/,'');}function normalizeFieldName(_0x4b1a92){const _0x419f9d=a0_0x23f8;if(!_0x4b1a92)return'';return _0x4b1a92['trim']()['replace'](/\s+/g,'_')[_0x419f9d(0x15d)](/[^a-zA-Z0-9_]/g,'_')[_0x419f9d(0x15d)](/_+/g,'_')[_0x419f9d(0x15d)](/^_|_$/g,'');}function getTableName(_0x30cd35){const _0x44be68=a0_0x23f8;if(!_0x30cd35)return _0x44be68(0x2b3);if(_0x30cd35[_0x44be68(0x2aa)]?.[_0x44be68(0x1fa)])return _0x30cd35[_0x44be68(0x2aa)][_0x44be68(0x1fa)];const _0x3d82eb=_0x30cd35[_0x44be68(0x14c)]||_0x30cd35[_0x44be68(0x22c)]||_0x30cd35[_0x44be68(0x92)];if(_0x3d82eb)return generateTableNameFromCode(_0x3d82eb);return _0x44be68(0x2b3);}function getTableKey(_0x3dac41){const _0x18a96d=a0_0x23f8;if(typeof _0x3dac41===_0x18a96d(0x278))return toCamelCase(_0x3dac41);const _0x1d4855=getTableName(_0x3dac41);return toCamelCase(_0x1d4855);}function generateTableNameFromCode(_0x1c4bb5){const _0x5c5837=a0_0x23f8;if(!_0x1c4bb5)return _0x5c5837(0x2b3);const _0x9355e1=_0x1c4bb5['slice'](-0x6)[_0x5c5837(0x240)](0x6,'0');return _0x5c5837(0x107)+_0x9355e1;}function isVirtualTableName(_0x3e9cba){return/^dataset_[a-zA-Z0-9]{6}$/['test'](_0x3e9cba);}function generateModelKeyFromCode(_0x2711ff){const _0x403570=a0_0x23f8;if(!_0x2711ff)return _0x403570(0xdb);return'dataset_'+_0x2711ff;}function getDbName(_0x12d509){const _0x2d562b=a0_0x23f8;return _0x12d509[_0x2d562b(0x2aa)]?.[_0x2d562b(0x187)]||_0x12d509[_0x2d562b(0x2aa)]?.['dblinkInfoDTO']?.[_0x2d562b(0x187)]||'';}function generateDatasetsConfig(_0xb564a0,_0x58b636={}){const _0x50adcf=a0_0x23f8,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x975cd1,filter:_0x6b6a3f}=_0x58b636,_0x52c6bb=_0x6b6a3f?_0xb564a0[_0x50adcf(0x2af)](_0x6b6a3f):_0xb564a0,_0x508f96=new Map();for(const _0x2b486d of _0x52c6bb){const _0x48c42a=getTableName(_0x2b486d),_0x59944f=getDbName(_0x2b486d);!_0x508f96[_0x50adcf(0x2b9)](_0x48c42a)&&_0x508f96[_0x50adcf(0x317)](_0x48c42a,new Set()),_0x508f96[_0x50adcf(0x32d)](_0x48c42a)[_0x50adcf(0x136)](_0x59944f);}const _0x545310=new Set();for(const [_0x1a1aba,_0x4f2e92]of _0x508f96){_0x4f2e92[_0x50adcf(0x13b)]>0x1&&_0x545310['add'](_0x1a1aba);}const _0x99e6b={},_0x533672=new Set();for(const _0x340fde of _0x52c6bb){const _0x5e0ab8=getTableName(_0x340fde);if(enableDeduplication&&_0x533672[_0x50adcf(0x2b9)](_0x5e0ab8)){console[_0x50adcf(0x98)](_0x50adcf(0xf1)+_0x5e0ab8+_0x50adcf(0x154)+_0x340fde[_0x50adcf(0x246)]+'\x20('+_0x340fde[_0x50adcf(0x14c)]+')');continue;}_0x533672['add'](_0x5e0ab8);const _0x127579=_0x975cd1?_0x975cd1(_0x5e0ab8,_0x340fde):getTableKey(_0x5e0ab8),_0x168963=getDbName(_0x340fde),_0xfcc8c=_0x545310[_0x50adcf(0x2b9)](_0x5e0ab8)&&_0x168963?getTableKey(_0x168963)+'_'+_0x127579:_0x127579;_0x99e6b[_0x127579]={'key':_0x127579,'alias':_0xfcc8c,'tableName':_0x5e0ab8,'datasetCode':_0x340fde['datasetCode'],'name':_0x340fde[_0x50adcf(0x246)],'id':_0x340fde['id'],'dbName':_0x168963};}return _0x99e6b;}function generateFullDatasetsConfig(_0x16f8c5,_0x1ab4ed={}){const _0x2bfc82=a0_0x23f8,{filter:_0x292ece,datasetNameGenerator:_0x2b699d}=_0x1ab4ed,_0x5b8f33=_0x292ece?_0x16f8c5[_0x2bfc82(0x2af)](_0x292ece):_0x16f8c5,_0x52e33e=new Map();for(const _0x89911a of _0x5b8f33){const _0x447b98=getTableName(_0x89911a),_0x2ffb34=getDbName(_0x89911a);!_0x52e33e[_0x2bfc82(0x2b9)](_0x447b98)&&_0x52e33e[_0x2bfc82(0x317)](_0x447b98,new Set()),_0x52e33e[_0x2bfc82(0x32d)](_0x447b98)[_0x2bfc82(0x136)](_0x2ffb34);}const _0x5c4a4b=new Set();for(const [_0x395b79,_0x44bc83]of _0x52e33e){_0x44bc83[_0x2bfc82(0x13b)]>0x1&&_0x5c4a4b['add'](_0x395b79);}const _0x16eb44=groupByTableName(_0x5b8f33),_0x37a1cb={};for(const [_0x4ebd20,_0x5bffe2]of Object[_0x2bfc82(0x256)](_0x16eb44)){if(_0x5bffe2[_0x2bfc82(0x1f8)]===0x1){const _0xb99697=_0x5bffe2[0x0],_0x186e88=_0x2b699d?_0x2b699d(_0x4ebd20,_0xb99697):getTableKey(_0x4ebd20),_0x13eb05=getDbName(_0xb99697),_0x4dfc0=_0x5c4a4b[_0x2bfc82(0x2b9)](_0x4ebd20)&&_0x13eb05?getTableKey(_0x13eb05)+'_'+_0x186e88:_0x186e88;_0x37a1cb[_0x186e88]={'key':_0x186e88,'alias':_0x4dfc0,'tableName':_0x4ebd20,'datasetCode':_0xb99697[_0x2bfc82(0x14c)],'name':_0xb99697[_0x2bfc82(0x246)],'id':_0xb99697['id'],'dbName':_0x13eb05};}else{const _0x4cad88=[..._0x5bffe2]['sort']((_0x517332,_0x408c89)=>{const _0x2a380d=Number(_0x517332['id'])||0x0,_0x4b7d7e=Number(_0x408c89['id'])||0x0;return _0x4b7d7e-_0x2a380d;});_0x4cad88[_0x2bfc82(0x194)]((_0x2de799,_0x4cda5d)=>{const _0x5218d4=_0x2bfc82,_0x5cba67=_0x2b699d?_0x2b699d(_0x4ebd20,_0x2de799):getTableKey(_0x4ebd20),_0xe46026=_0x4cda5d===0x0?_0x5cba67:_0x5cba67+'_'+_0x4cda5d,_0xb7b830=getDbName(_0x2de799),_0x40fcbf=_0x5c4a4b[_0x5218d4(0x2b9)](_0x4ebd20)&&_0xb7b830?getTableKey(_0xb7b830)+'_'+_0xe46026:_0xe46026;_0x37a1cb[_0xe46026]={'key':_0xe46026,'alias':_0x40fcbf,'tableName':_0x4ebd20,'datasetCode':_0x2de799['datasetCode'],'name':_0x2de799[_0x5218d4(0x246)],'id':_0x2de799['id'],'dbName':_0xb7b830};});}}return _0x37a1cb;}function detectTableNameConflicts(_0x454a93){const _0x225932=a0_0x23f8,_0x290a1f={};for(const _0x29f986 of _0x454a93){const _0xbf19b5=getTableName(_0x29f986);!_0x290a1f[_0xbf19b5]&&(_0x290a1f[_0xbf19b5]=[]),_0x290a1f[_0xbf19b5][_0x225932(0x2d5)](_0x29f986);}const _0x3dc6aa={};for(const [_0x29806f,_0x32179a]of Object[_0x225932(0x256)](_0x290a1f)){_0x32179a['length']>0x1&&(_0x3dc6aa[_0x29806f]=_0x32179a);}return{'hasConflicts':Object[_0x225932(0x326)](_0x3dc6aa)['length']>0x0,'conflicts':_0x3dc6aa};}function createDatasetNameMap(_0x5d7d36){const _0xb80976=a0_0x23f8,_0x2877c9={};for(const [_0x500b39,_0x2258dd]of Object[_0xb80976(0x256)](_0x5d7d36)){_0x2877c9[_0x500b39]=_0x2258dd[_0xb80976(0x14c)]||'';}return _0x2877c9;}function groupByTableName(_0x104229){const _0xfb55c6=a0_0x23f8,_0x2a9edb={};for(const _0x1bd0e4 of _0x104229){const _0x3c5e95=getTableName(_0x1bd0e4);!_0x2a9edb[_0x3c5e95]&&(_0x2a9edb[_0x3c5e95]=[]),_0x2a9edb[_0x3c5e95][_0xfb55c6(0x2d5)](_0x1bd0e4);}return _0x2a9edb;}function datasetsConfigToArray(_0x40e2a2){const _0x571d93=a0_0x23f8;return Object[_0x571d93(0x94)](_0x40e2a2);}function adaptDrivenDataDetail(_0x5caa51){const _0x3ae7a6=a0_0x23f8,_0x45e181={};return _0x45e181['id']=_0x5caa51[_0x3ae7a6(0x173)],_0x45e181['name']=_0x5caa51['name'],_0x45e181[_0x3ae7a6(0x14c)]=_0x5caa51['modelCode'],_0x45e181[_0x3ae7a6(0x2aa)]=_0x5caa51[_0x3ae7a6(0x2aa)],_0x45e181[_0x3ae7a6(0xeb)]=_0x5caa51[_0x3ae7a6(0xeb)],_0x45e181[_0x3ae7a6(0x2a0)]=_0x5caa51[_0x3ae7a6(0x2a0)],_0x45e181['extend']=_0x5caa51['extend'],_0x45e181[_0x3ae7a6(0x21b)]=_0x5caa51[_0x3ae7a6(0x21b)],_0x45e181[_0x3ae7a6(0x2a1)]=_0x5caa51[_0x3ae7a6(0x2a1)],_0x45e181;}function adaptDrivenDataDetails(_0x5557a0){return _0x5557a0['map'](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x390486){const _0x61a99e=a0_0x23f8;if(!_0x390486['success']||!_0x390486[_0x61a99e(0x32f)])throw new Error(_0x61a99e(0x1e8)+(_0x390486[_0x61a99e(0x2d1)]||_0x390486[_0x61a99e(0x1ab)]));return adaptDrivenDataDetail(_0x390486[_0x61a99e(0x32f)]);}function extractDatasetsFromListResponse(_0x5b32ab){const _0x1cd95b=a0_0x23f8;if(!_0x5b32ab[_0x1cd95b(0x2c3)]||!_0x5b32ab['data']?.['tableData'])throw new Error(_0x1cd95b(0x2f9)+(_0x5b32ab['errorMsg']||_0x5b32ab[_0x1cd95b(0x1ab)]));return _0x5b32ab[_0x1cd95b(0x32f)]['tableData'][_0x1cd95b(0xac)](_0x5f0c79=>({..._0x5f0c79,'datasetCode':_0x5f0c79['code']||_0x5f0c79[_0x1cd95b(0x14c)]}));}function isDrivenDataDetail(_0x221ba8){const _0x50a581=a0_0x23f8;return Boolean(_0x221ba8&&typeof _0x221ba8[_0x50a581(0x92)]===_0x50a581(0x278));}function smartAdapt(_0x4f5e38){const _0x3f89b2=a0_0x23f8;if(isDrivenDataDetail(_0x4f5e38))return adaptDrivenDataDetail(_0x4f5e38);if(_0x4f5e38[_0x3f89b2(0x14c)])return _0x4f5e38;if(_0x4f5e38[_0x3f89b2(0x22c)]){const _0xedb1e={..._0x4f5e38};return _0xedb1e[_0x3f89b2(0x14c)]=_0x4f5e38['code'],_0xedb1e;}return _0x4f5e38;}function cleanNewlines(_0x1483f7){const _0x121ca2=a0_0x23f8;return _0x1483f7['replace'](/[\r\n]+/g,'\x20')[_0x121ca2(0x199)]();}function cleanDatasetName(_0x947d5e){const _0x511d0c=a0_0x23f8;if(!_0x947d5e['name'])return _0x947d5e;return{..._0x947d5e,'name':cleanNewlines(_0x947d5e[_0x511d0c(0x246)])};}function cleanDatasetNames(_0x16ed51){return _0x16ed51['map'](cleanDatasetName);}var DatasetOperationType;(_0x2aa027=>{const _0x3a70a8=a0_0x23f8;_0x2aa027['FILTER']=_0x3a70a8(0x2af),_0x2aa027[_0x3a70a8(0x276)]=_0x3a70a8(0x286),_0x2aa027[_0x3a70a8(0x274)]=_0x3a70a8(0x2ca),_0x2aa027[_0x3a70a8(0xd8)]='getOneOrigin',_0x2aa027['GET_ONE_UPDATE']=_0x3a70a8(0xfc),_0x2aa027['CREATE']=_0x3a70a8(0x25c),_0x2aa027[_0x3a70a8(0x13a)]=_0x3a70a8(0x17d),_0x2aa027[_0x3a70a8(0x10b)]=_0x3a70a8(0x18c),_0x2aa027[_0x3a70a8(0x1f2)]='delete',_0x2aa027[_0x3a70a8(0x9f)]='getSelectOptions',_0x2aa027['GET_FILE_URL']=_0x3a70a8(0x18b),_0x2aa027[_0x3a70a8(0x1d9)]=_0x3a70a8(0x119),_0x2aa027[_0x3a70a8(0x2be)]='getUploadFileScript',_0x2aa027[_0x3a70a8(0x228)]=_0x3a70a8(0x2e5),_0x2aa027[_0x3a70a8(0x89)]=_0x3a70a8(0x144),_0x2aa027[_0x3a70a8(0x157)]=_0x3a70a8(0x17c),_0x2aa027[_0x3a70a8(0x220)]='taskInfo',_0x2aa027[_0x3a70a8(0x321)]=_0x3a70a8(0x33a);})(DatasetOperationType||={});const a0_0x2ed37d={};a0_0x2ed37d[a0_0x3e48cd(0x2af)]=a0_0x3e48cd(0xa5),a0_0x2ed37d[a0_0x3e48cd(0x286)]=a0_0x3e48cd(0xe3),a0_0x2ed37d['getOne']='查询单条',a0_0x2ed37d[a0_0x3e48cd(0xa8)]=a0_0x3e48cd(0x24e),a0_0x2ed37d[a0_0x3e48cd(0xfc)]=a0_0x3e48cd(0x2f0),a0_0x2ed37d['create']='创建',a0_0x2ed37d[a0_0x3e48cd(0x17d)]=a0_0x3e48cd(0x301),a0_0x2ed37d[a0_0x3e48cd(0x18c)]='更新',a0_0x2ed37d[a0_0x3e48cd(0x293)]='删除',a0_0x2ed37d['getSelectOptions']='获取下拉选项',a0_0x2ed37d['getFileUrl']='获取文件URL',a0_0x2ed37d[a0_0x3e48cd(0x119)]=a0_0x3e48cd(0x2d4),a0_0x2ed37d[a0_0x3e48cd(0x104)]=a0_0x3e48cd(0xe9),a0_0x2ed37d['createImport']=a0_0x3e48cd(0x218),a0_0x2ed37d['createExport']=a0_0x3e48cd(0x116),a0_0x2ed37d[a0_0x3e48cd(0x17c)]=a0_0x3e48cd(0x2ed),a0_0x2ed37d[a0_0x3e48cd(0xea)]=a0_0x3e48cd(0x145),a0_0x2ed37d[a0_0x3e48cd(0x33a)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x2ed37d,API_BLACKLIST=[a0_0x3e48cd(0x286),a0_0x3e48cd(0xa8),a0_0x3e48cd(0xfc),a0_0x3e48cd(0x18b)];function parseFieldExtend(_0x44a5c7){const _0x17257b=a0_0x3e48cd;if(!_0x44a5c7||typeof _0x44a5c7!==_0x17257b(0x335))return!![]&&console['warn'](_0x17257b(0x109),_0x44a5c7),{};if(!_0x44a5c7[_0x17257b(0x20a)])return{};try{const _0x2cf75e=typeof _0x44a5c7[_0x17257b(0x20a)]===_0x17257b(0x278)?JSON[_0x17257b(0x312)](_0x44a5c7[_0x17257b(0x20a)]):_0x44a5c7[_0x17257b(0x20a)];if(typeof _0x2cf75e!==_0x17257b(0x335)||_0x2cf75e===null)return{};return _0x2cf75e;}catch{return{};}}function isPrimaryKeyField(_0x2bf7af,_0x15a109){const _0x8d8abe=a0_0x3e48cd;if(!_0x2bf7af||typeof _0x2bf7af!==_0x8d8abe(0x335))return![];if(typeof _0x15a109===_0x8d8abe(0x278)&&_0x2bf7af[_0x8d8abe(0x22c)]===_0x15a109)return!![];const _0x4017b8=parseFieldExtend(_0x2bf7af);return Boolean(_0x4017b8[_0x8d8abe(0x14d)]||_0x4017b8[_0x8d8abe(0x33b)]);}function isSystemField(_0x6dcb9d){const _0x7f883f=a0_0x3e48cd,_0xcf7e2e=parseFieldExtend(_0x6dcb9d);return Boolean(_0xcf7e2e[_0x7f883f(0x149)]);}function isRequiredField(_0x2ac409){const _0xc1c529=parseFieldExtend(_0x2ac409);return Boolean(_0xc1c529['required']);}function isAutoIncrementField(_0x2f7f37){const _0x54c9e3=parseFieldExtend(_0x2f7f37);return Boolean(_0x54c9e3['autoIncrement']);}function isCreateTimeField(_0x419690){const _0x358cbb=a0_0x3e48cd,_0x433db7=parseFieldExtend(_0x419690);return Boolean(_0x433db7[_0x358cbb(0x285)]);}function isModifyTimeField(_0x36c675){const _0x5f51e0=a0_0x3e48cd,_0x54efe6=parseFieldExtend(_0x36c675);return Boolean(_0x54efe6[_0x5f51e0(0x2cd)]);}const a0_0x24321e={};a0_0x24321e[a0_0x3e48cd(0x1dd)]='数字',a0_0x24321e[a0_0x3e48cd(0x1b1)]='文本',a0_0x24321e['TEXTAREA']=a0_0x3e48cd(0x19f),a0_0x24321e[a0_0x3e48cd(0x303)]='日期',a0_0x24321e[a0_0x3e48cd(0x100)]=a0_0x3e48cd(0x32b),a0_0x24321e['TIMESTAMP']='时间戳',a0_0x24321e['SELECT']=a0_0x3e48cd(0x313),a0_0x24321e[a0_0x3e48cd(0x24f)]='多选',a0_0x24321e['RADIO']='单选',a0_0x24321e[a0_0x3e48cd(0xc8)]='开关',a0_0x24321e['UPLOAD']=a0_0x3e48cd(0x28f),a0_0x24321e[a0_0x3e48cd(0x243)]='图片',a0_0x24321e[a0_0x3e48cd(0x12f)]=a0_0x3e48cd(0x1c3),a0_0x24321e[a0_0x3e48cd(0x2c8)]=a0_0x3e48cd(0x2c8),a0_0x24321e[a0_0x3e48cd(0x95)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x24321e;function getDbTypeDisplay(_0x427903){const _0x3bc5e7=a0_0x3e48cd;if(typeof _0x427903!==_0x3bc5e7(0x278))return!![]&&console[_0x3bc5e7(0x98)](_0x3bc5e7(0x26f),_0x427903),String(_0x427903||'-');return DB_TYPE_DISPLAY_MAP[_0x427903]||_0x427903;}function a0_0x23f8(_0x5cec2b,_0x1ee428){_0x5cec2b=_0x5cec2b-0x83;const _0x217667=a0_0x2176();let _0x23f830=_0x217667[_0x5cec2b];return _0x23f830;}function formatDbType(_0xf3a583,_0x357050){const _0x362538=a0_0x3e48cd;if(!_0xf3a583||typeof _0xf3a583!==_0x362538(0x278))return'-';if(!_0x357050||typeof _0x357050!==_0x362538(0x231))return _0xf3a583;const _0x24f8b5=[_0x362538(0x1b1),_0x362538(0x100),_0x362538(0x33d),_0x362538(0x303)];if(_0x24f8b5['includes'](_0xf3a583['toUpperCase']()))return _0xf3a583;return _0xf3a583+'('+_0x357050+')';}function parseOperationType(_0x1bb9d4){const _0x5b474b=a0_0x3e48cd;if(typeof _0x1bb9d4!=='string'){!![]&&console[_0x5b474b(0x98)](_0x5b474b(0x12b),_0x1bb9d4);return;}if(Object[_0x5b474b(0x94)](DatasetOperationType)[_0x5b474b(0x128)](_0x1bb9d4))return _0x1bb9d4;const _0x4a6ca7=Object['entries'](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x19f4e4,_0x3a29f9])=>_0x3a29f9===_0x1bb9d4);return _0x4a6ca7?_0x4a6ca7[0x0]:undefined;}function shouldIncludeField(_0x53e01e,_0x49431a,_0x291922){const _0x4b0831=a0_0x3e48cd,_0x23cb42=parseFieldExtend(_0x53e01e),_0x553e19=isPrimaryKeyField(_0x53e01e,_0x291922),_0xb8c893=Boolean(_0x23cb42[_0x4b0831(0x149)]),_0x567292=Boolean(_0x23cb42[_0x4b0831(0x8a)]),_0x3ca85a=Boolean(_0x23cb42[_0x4b0831(0x285)]),_0x44db2d=Boolean(_0x23cb42[_0x4b0831(0x2cd)]);switch(_0x49431a){case'filter':case _0x4b0831(0x286):case _0x4b0831(0x17c):return!![];case'getOne':case'getOneOrigin':case _0x4b0831(0x293):return _0x553e19;case _0x4b0831(0x25c):case _0x4b0831(0x17d):if(_0x553e19&&_0x567292)return![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x18c):case'getOneUpdate':if(_0x553e19)return!![];if(_0xb8c893)return![];if(_0x3ca85a||_0x44db2d)return![];return!![];case _0x4b0831(0x346):return _0x53e01e[_0x4b0831(0x22c)]===_0x4b0831(0x22c);default:return!![];}}function getFieldsForOperation(_0x4b32ac,_0xdeda8e,_0x1c069e){const _0x31fb1d=a0_0x3e48cd;if(!Array['isArray'](_0x4b32ac))return!![]&&console[_0x31fb1d(0x98)]('[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',_0x4b32ac),[];return _0x4b32ac[_0x31fb1d(0x2af)](_0x53a0a3=>shouldIncludeField(_0x53a0a3,_0xdeda8e,_0x1c069e));}function isApiBlacklisted(_0x29d859){const _0x586a1f=a0_0x3e48cd;if(typeof _0x29d859!==_0x586a1f(0x278))return!![]&&console[_0x586a1f(0x98)](_0x586a1f(0x2c6),_0x29d859),![];return API_BLACKLIST[_0x586a1f(0x128)](_0x29d859);}function filterApiOperations(_0x2d45e4){const _0x3a47d5=a0_0x3e48cd;if(!Array[_0x3a47d5(0x133)](_0x2d45e4))return!![]&&console[_0x3a47d5(0x98)](_0x3a47d5(0x22f),_0x2d45e4),[];return _0x2d45e4[_0x3a47d5(0x2af)](_0x2bfdc4=>_0x2bfdc4&&typeof _0x2bfdc4===_0x3a47d5(0x335)&&!isApiBlacklisted(_0x2bfdc4[_0x3a47d5(0x246)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x3e48cd(0x124)](),'SELECT':({fieldInfo:_0x158548})=>{const _0x20dfb0=a0_0x3e48cd;if(_0x158548?.[_0x20dfb0(0xb2)]&&Array[_0x20dfb0(0x133)](_0x158548[_0x20dfb0(0xb2)])&&_0x158548[_0x20dfb0(0xb2)][_0x20dfb0(0x1f8)]>0x0)return _0x158548[_0x20dfb0(0xb2)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x2ff3a2})=>{const _0x5ee382=a0_0x3e48cd;if(_0x2ff3a2===_0x5ee382(0xcf))return 0x1;if(_0x2ff3a2===_0x5ee382(0x1e0))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x1ed381})=>{const _0x2926ad=a0_0x3e48cd;if(_0x1ed381&&typeof _0x1ed381==='string'){const _0x49565e=_0x1ed381['toLowerCase']();if(_0x49565e['includes']('邮箱')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x226)))return _0x2926ad(0xe8);if(_0x49565e['includes']('电话')||_0x49565e['includes']('手机')||_0x49565e[_0x2926ad(0x128)](_0x2926ad(0x1dc)))return _0x2926ad(0x30b);if(_0x49565e['includes']('地址')||_0x49565e[_0x2926ad(0x128)]('address'))return _0x2926ad(0x2a5);if(_0x49565e[_0x2926ad(0x128)]('姓名')||_0x49565e[_0x2926ad(0x128)]('name'))return'张三';}return'示例文本';},'VARCHAR':({description:_0x24a212})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x24a212}),'CHAR':({description:_0x7d54cc})=>TYPE_VALUE_GENERATORS[a0_0x3e48cd(0x1b1)]({'description':_0x7d54cc}),'STRING':({fieldInfo:_0x4c7258,description:_0x518d90})=>{const _0x129477=a0_0x3e48cd;if(_0x4c7258?.[_0x129477(0x87)]&&typeof _0x4c7258[_0x129477(0x87)]===_0x129477(0x278)&&_0x4c7258[_0x129477(0x87)]!==_0x129477(0xdd))return _0x4c7258['placeholder']['replace'](/^请输入|^请选择/,'');const _0x52cdc6={};return _0x52cdc6['description']=_0x518d90,TYPE_VALUE_GENERATORS[_0x129477(0x1b1)](_0x52cdc6);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x3e48cd(0xc6),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x3e48cd(0x2d3)}),'ARRAY':()=>[a0_0x3e48cd(0x25f),a0_0x3e48cd(0x224)],'UPLOAD':()=>a0_0x3e48cd(0x1c9),'IMAGE':()=>a0_0x3e48cd(0x30f),'RICH_TEXT':()=>a0_0x3e48cd(0x8f)};function generateExampleValue(_0x3cb4f5,_0x58b39e,_0x3300a3,_0x4dde53={}){const _0x201a5b=a0_0x3e48cd;typeof _0x3cb4f5!==_0x201a5b(0x278)&&(!![]&&console['warn']('[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:',_0x3cb4f5),_0x3cb4f5=String(_0x3cb4f5||''));if(typeof _0x58b39e!==_0x201a5b(0x278))return!![]&&console[_0x201a5b(0x98)]('[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:',_0x58b39e),'示例值';const {isPrimaryKey:_0x189f4b,dbtableConfig:_0x4541d3}=_0x4dde53;if(_0x189f4b)return 0x1;if(_0x4541d3&&typeof _0x4541d3===_0x201a5b(0x335)){const _0x26e01a=_0x4541d3[_0x201a5b(0x2a8)]?.[_0x201a5b(0x204)]===_0x3cb4f5,_0x145629=_0x4541d3[_0x201a5b(0x196)]?.['fieldName']===_0x3cb4f5;if(_0x26e01a||_0x145629){if(_0x3300a3&&typeof _0x3300a3===_0x201a5b(0x278)&&_0x3300a3['toUpperCase']()['includes'](_0x201a5b(0x33d)))return Date[_0x201a5b(0x124)]();return new Date()[_0x201a5b(0x29e)]()[_0x201a5b(0x15d)]('T','\x20')[_0x201a5b(0x182)]('.')[0x0];}}const _0x5a1434={..._0x4dde53};_0x5a1434[_0x201a5b(0x311)]=_0x3cb4f5;const _0xcc569d=_0x5a1434;if(_0x3300a3&&typeof _0x3300a3==='string'){const _0x473f22=_0x3300a3[_0x201a5b(0x279)](),_0x59d0b9=TYPE_VALUE_GENERATORS[_0x473f22];if(_0x59d0b9)return _0x59d0b9(_0xcc569d);}if(_0x58b39e&&typeof _0x58b39e===_0x201a5b(0x278)){const _0xd08291=_0x58b39e[_0x201a5b(0x279)](),_0x597c1e=TYPE_VALUE_GENERATORS[_0xd08291];if(_0x597c1e)return _0x597c1e(_0xcc569d);}return'示例值';}function generateExampleFromSchema(_0x451b06,_0x823f99){const _0x38bed2=a0_0x3e48cd;if(!_0x451b06||typeof _0x451b06!=='object')return{};if(Array[_0x38bed2(0x133)](_0x451b06)){if(_0x451b06['length']>0x0)return[generateExampleFromSchema(_0x451b06[0x0],_0x823f99)];return[];}const _0x538cb1={};return Object[_0x38bed2(0x326)](_0x451b06)[_0x38bed2(0x194)](_0x2f4144=>{const _0x4a6c75=_0x38bed2,_0x3fc0c0=_0x451b06[_0x2f4144];if(_0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)&&!Array[_0x4a6c75(0x133)](_0x3fc0c0)&&_0x3fc0c0[_0x4a6c75(0x299)]){const _0x102c31=_0x3fc0c0,_0x2ef980=_0x102c31[_0x4a6c75(0x299)],_0x1acf76=_0x102c31[_0x4a6c75(0x2b7)];if(typeof _0x2ef980==='string'){const _0x59230a={};_0x59230a[_0x4a6c75(0x2b7)]=_0x1acf76,_0x59230a[_0x4a6c75(0x2aa)]=_0x823f99,_0x538cb1[_0x2f4144]=generateExampleValue(_0x2f4144,_0x2ef980,undefined,_0x59230a);}else _0x538cb1[_0x2f4144]=_0x4a6c75(0x11c);}else{if(Array[_0x4a6c75(0x133)](_0x3fc0c0))_0x538cb1[_0x2f4144]=_0x3fc0c0[_0x4a6c75(0x1f8)]>0x0?[generateExampleFromSchema(_0x3fc0c0[0x0],_0x823f99)]:[];else _0x3fc0c0&&typeof _0x3fc0c0===_0x4a6c75(0x335)?_0x538cb1[_0x2f4144]=generateExampleFromSchema(_0x3fc0c0,_0x823f99):_0x538cb1[_0x2f4144]=_0x3fc0c0;}}),_0x538cb1;}function parseRequestBody(_0x34f2ab){const _0x32bde0=a0_0x3e48cd;if(!_0x34f2ab)return{};try{return JSON[_0x32bde0(0x312)](_0x34f2ab);}catch(_0x353fe7){return!![]&&console[_0x32bde0(0x98)](_0x32bde0(0x309),_0x353fe7),{};}}function parseResponseBody(_0x574a22){const _0x1d615c=a0_0x3e48cd;if(!_0x574a22)return null;try{const _0x4cc349=JSON[_0x1d615c(0x312)](_0x574a22);return _0x4cc349[_0x1d615c(0x351)]||_0x4cc349;}catch(_0x4e4bc3){return!![]&&console[_0x1d615c(0x98)]('解析\x20responseBody\x20失败:',_0x4e4bc3),null;}}function generateRequestExample(_0x1ad8a1,_0x507d25,_0x281260,_0x362d34){const _0x39a997=a0_0x3e48cd,_0x2d2f58={};if(!Array[_0x39a997(0x133)](_0x1ad8a1))return!![]&&console[_0x39a997(0x98)]('[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:',_0x1ad8a1),_0x2d2f58;return _0x1ad8a1[_0x39a997(0x194)](_0x29c13d=>{const _0x5a7e4d=_0x39a997;if(!_0x29c13d||typeof _0x29c13d!=='object'){!![]&&console[_0x5a7e4d(0x98)](_0x5a7e4d(0x17a),_0x29c13d);return;}if(typeof _0x29c13d[_0x5a7e4d(0x22c)]!==_0x5a7e4d(0x278)||typeof _0x29c13d[_0x5a7e4d(0x299)]!==_0x5a7e4d(0x278)){!![]&&console[_0x5a7e4d(0x98)]('[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:',_0x29c13d);return;}const _0x1f8942=parseFieldExtend(_0x29c13d),_0x164c20=_0x29c13d[_0x5a7e4d(0x22c)]===_0x281260||Boolean(_0x1f8942?.[_0x5a7e4d(0x14d)]),_0x2cb17a=generateExampleValue(_0x29c13d[_0x5a7e4d(0x22c)],_0x29c13d[_0x5a7e4d(0x299)],typeof _0x29c13d[_0x5a7e4d(0xde)]===_0x5a7e4d(0x278)?_0x29c13d[_0x5a7e4d(0xde)]:undefined,{'fieldInfo':_0x1f8942,'isPrimaryKey':_0x164c20,'description':_0x29c13d[_0x5a7e4d(0x2b7)]||_0x29c13d[_0x5a7e4d(0x246)],'dbtableConfig':_0x362d34});_0x2d2f58[_0x29c13d['code']]=_0x2cb17a;}),_0x507d25===_0x39a997(0x286)&&(_0x2d2f58[_0x39a997(0xcf)]=0x1,_0x2d2f58['pageSize']=0xa),_0x2d2f58;}function formatEnumValue(_0x3d1bdc,_0x4e4212){const _0x15eb2b=a0_0x3e48cd;if(_0x3d1bdc['multiple']&&Array[_0x15eb2b(0x133)](_0x4e4212))return _0x4e4212[_0x15eb2b(0xac)](_0x5a7cbb=>_0x3d1bdc[_0x15eb2b(0x28c)][String(_0x5a7cbb)]||String(_0x5a7cbb))[_0x15eb2b(0x103)](',\x20');return _0x3d1bdc[_0x15eb2b(0x28c)][String(_0x4e4212)]||String(_0x4e4212);}function a0_0x2176(){const _0x3008e9=['findByCode','description','doVersion','has','\x20relations,\x20','select','getFirst','getFieldCount','GET_UPLOAD_FILE_SCRIPT','getSystemFields','validateEnumValue','isPrimaryKeyField','getLast','success','toField','from','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','dataIndex','JSON','conflictGroupCount','getOne','(id,\x20data);','isMultipleSelect','modifyDate','getOperationAnalysis','getResponseSchema','getOperationFieldsOperatorsMap','errorMsg','getMissingCRUDOperations','value','Excel导出','push','$or','getFieldSelectItemsSource','getFilteredOperationAnalyses','getHTTPFields','分组字段列表','max','getConflicts','hasOperation','INTEGER','toJSON','toConfig','generateOperationSummary','_datasetMeta','getConflictingItems','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','createImport','tenantCode','getRawDbtableConfig','parseFieldExtend','_min','getBusinessFields','method','[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合查询','\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20FilterParams\x20{\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a`where`\x20中允许使用以下操作符(都以小写\x20`$`\x20开头,大小写敏感):\x0a\x0a|\x20操作符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$eq`\x20|\x20等于\x20|\x20`{\x20age:\x20{\x20$eq:\x2018\x20}\x20}`\x20|\x0a|\x20`$ne`\x20|\x20不等于\x20|\x20`{\x20status:\x20{\x20$ne:\x20\x22deleted\x22\x20}\x20}`\x20|\x0a|\x20`$gte`/`$gteq`\x20|\x20大于等于\x20|\x20`{\x20age:\x20{\x20$gte:\x2018\x20}\x20}`\x20|\x0a|\x20`$lte`/`$lteq`\x20|\x20小于等于\x20|\x20`{\x20age:\x20{\x20$lte:\x2065\x20}\x20}`\x20|\x0a|\x20`$in`\x20|\x20在集合内\x20|\x20`{\x20country:\x20{\x20$in:\x20[\x22中国\x22,\x20\x22美国\x22]\x20}\x20}`\x20|\x0a|\x20`$nin`\x20|\x20不在集合内\x20|\x20`{\x20country:\x20{\x20$nin:\x20[\x22北京\x22,\x20\x22上海\x22]\x20}\x20}`\x20|\x0a|\x20`$contain`\x20|\x20包含(模糊匹配)\x20|\x20`{\x20name:\x20{\x20$contain:\x20\x22hello\x22\x20}\x20}`\x20|\x0a|\x20`$startWith`\x20|\x20以...开头\x20|\x20`{\x20email:\x20{\x20$startWith:\x20\x22admin\x22\x20}\x20}`\x20|\x0a|\x20`$endWith`\x20|\x20以...结尾\x20|\x20`{\x20filename:\x20{\x20$endWith:\x20\x22.pdf\x22\x20}\x20}`\x20|\x0a\x0a逻辑连接符:\x0a\x0a|\x20连接符\x20|\x20说明\x20|\x20示例\x20|\x0a|\x20------\x20|\x20------\x20|\x20------\x20|\x0a|\x20`$and`\x20|\x20且(所有条件都满足)\x20|\x20`{\x20$and:\x20[{\x20age:\x20{\x20$gte:\x2018\x20}\x20},\x20{\x20\x22country\x22:\x20{\x20\x22$eq\x22:\x20\x22中国\x22\x20}\x20}]\x20}`\x20|\x0a|\x20`$or`\x20|\x20或(任一条件满足)\x20|\x20`{\x20$or:\x20[{\x20name:\x20{\x20$contain:\x20\x22张三\x22\x20}\x20},\x20{\x20\x22email\x22:\x20{\x20\x22$startWith\x22:\x20\x22zhangsan\x22\x20}\x20}]\x20}`\x20|\x0a\x0a必要时可以嵌套使用:`$and`\x20内包含\x20`$or`,或\x20`$or`\x20内包含\x20`$and`。\x0a严禁使用文档范围之外的其他操作符。\x0a\x0a**可用查询字段**\x0a','getDisplayName','查询单条(用于更新)','generateHTTPRequestExample','[FieldV1.extend]\x20解析字段\x20','_fieldListV1','getEnumFieldsMeta','getOperationCount','createFields','responseBody','Array','获取数据集列表失败:\x20','getAllFieldsArray','daily','getCountByMethod','_sum','generateExampleValue','dbVersion','_operationAnalyses','批量创建','sdkCall','DATE',',\x20currentPage,\x20pageSize,\x20...\x20});','isAutoIncrement','generateArrayHTTPExample','index','hasUpdateTimeField','解析\x20requestBody\x20失败:','getUpdateFields','13800138000','_fieldListV1WithDeleted','({\x20','children','https://example.com/image.jpg','toFieldDefinition','fieldCode','parse','下拉选择','API路径','DrivenDataDetailV2(','alias','set','_fieldList','对象参数格式','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','295KwvEQN','getDbName','\x20items,\x20conflict,\x20latest:\x20','isDeleted','modifierNameField','iterator','IMPORT_TEMPLATE','Object[]','$gte','getAll','getDatasetSDKKey','keys','getFieldsWithDeleted','getFieldOptions','\x20fields,\x20','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','日期时间','groupByType','get','getEnumFieldMeta','data','requestBody','const\x20result\x20=\x20await\x20client.models.','suffix','generateRequestAllExamples','labelField','object','tableColumns','forceVersion','每页数量(默认:\x2020)','RADIO','importTemplate','pkField','BIGINT','TIMESTAMP','normalizeDbType','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getFilteredOperations','Filter\x20API\x20-\x20高级查询接口','getForeignKeyFields','getApplicableOperators','$lteq','selectItemsSource','getSelectOptions','getUpdateTime','updateTime','$and','raw','getRaw','({\x20code,\x20label\x20});','datasetSDKKey','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','聚合函数配置数组','getBusiness','200','hasCreateTimeField','getPrimaryKeyFields','useArrayValues','操作成功','placeholder','getField','CREATE_EXPORT','autoIncrement','find','generateAliasExplanation','$in','getInternalInstance','<p>富文本内容</p>','();\x0a\x20\x20window.open(fileUrl,\x20\x27_blank\x27);\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x20//\x20错误消息\x20(errorMsg)\x0a\x20\x20console.error(error.response);\x20//\x20完整的服务端返回\x0a}','DESC','modelCode','({\x20/*\x20可选:筛选条件\x20*/\x20});','values','ARRAY','relations','getOperationDocMeta','warn','avg','[Field]\x20Invalid\x20field\x20definition','\x20operations)','getEnum','BOOLEAN','\x20operation','GET_SELECT_OPTIONS','每页条数','getFieldList','DatasetGroupMap(','round','选项编码(可选)','筛选查询','import\x20{\x20createClient\x20}\x20from\x20\x27@lovrabet/node-sdk\x27;\x0a\x0aconst\x20client\x20=\x20createClient({\x0a\x20\x20appCode:\x20\x27{{appCode}}\x27,\x0a<!--\x20CONDITION:\x20env\x20-->\x0a\x20\x20env:\x20\x27{{env}}\x27,\x0a<!--\x20/CONDITION\x20-->\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x27{{datasetCode}}\x27,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x27{{alias}}\x27,\x0a\x20\x20\x20\x20}\x0a\x20\x20],\x0a<!--\x20CONDITION:\x20isOpenAPI\x20-->\x0a\x20\x20accessKey:\x20process.env.LOVRABET_ACCESS_KEY,\x0a<!--\x20/CONDITION\x20-->\x0a});\x0a\x0aexport\x20default\x20client;\x0a','selectBestOperator','getOneOrigin','enumValues','getFiltered','$eq','map','findByTableName','responseSchema','all','聚合函数配置数组(type:\x20sum/count/avg/max/min)','mapDbTypeToType','options','multiple','creatorIdField','(id,\x20','GET','getCountByType','isPrimaryKey','findAllByTableName','getDatasetDocMeta','title','getFieldDisplayName','1.0','toTableName','\x20的\x20extend\x20配置失败:','ensureFilterOperation','initDataset','2346572GjDsXX','toLowerCase','generateFromSchema','context','这是一段较长的文本内容示例','\x5c{\x5c{','SWITCH','condition','random','getResponseParamsDocInfo','isOpenAPI','getCount','fromApiResponse','currentPage','includeRequestExample','dbId',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','getCodes','DatasetGroup(','generateResponseExample','数组参数格式','getSDKInitData','GET_ONE_ORIGIN','getName','toObject','dataset_unknown','hasConflict','系统自动生成','dbType','hasCreatorIdField','hasDbtableConfig','STRING','getVirtualTables','查询列表','isUpdateTime','-$1','getItems','getRelatedDataset','user@example.com','获取上传脚本','taskInfo','source','paging','POST','sum','getLatest','当前页码(从\x201\x20开始,默认:\x201)','[dsparser]\x20跳过重复的表名\x20\x22','hasConflicts','isNumericField','fromField','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','usageExample','getOperationRequestFields','has\x20conflicts','-\x20其他要更新的字段直接平铺在同一层级','hasField','isSystemField','getOneUpdate','将批量创建数据数组放在\x20items\x20字段中','getRequestFields','FLOAT','DATETIME','bind','字段编码','join','getUploadFileScript','generateFullSDKExample','VARCHAR','dataset_','getRequired','[parseFieldExtend]\x20Invalid\x20field:','stringify','UPDATE','//\x20Call\x20the\x20','getEnabled','getRealTables','_fieldListV2','getExtendField','4257594eQTwJv','toDatasetName','isEnum','getRequestParams','sortOperationsWithFilterFirst','创建导出','tooltip','getEnumOptions','excelExport','getDatabaseVersion','接口名称','示例值','37029454jDUWAL','requestFields','dblinkInfoDTO','SELECT','267921vPZWUj','1.0.0-beta.8','主键ID','now','getOperationsData','charAt','findByName','includes','toString','getOperationFieldOperators','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','getModelAlias','enabled','getSource','RICH_TEXT','online','enabledOperationCount','getDatasetMeta','isArray','每页数量(可选)','$gteq','add','boolean','getUpdatableFields','getFieldFilterOperators','BATCH_CREATE','size','undefined','\x20API\x20文档','getFieldsV2','N/A','label','datasetInfo','getPrimaryKeys','isBusiness','createExport','任务信息','generateConfigArray','orderBy','hasRelation','systemRetain','no\x20conflicts','businessFieldCount','datasetCode','primaryKey','getFieldDescription','https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D','2024-12-31','getEnabledOperationAnalyses','getFieldDataSource','getAt','\x22,数据集:\x20','creatorNameField','getDisabledNames','AGGREGATE','getFilterOperators','getFieldsByType','value1','min','const\x20fileUrl\x20=\x20await\x20client.models.','replace','Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','getDBConfig','{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}','String[]','CHAR','每页数量','findAll','every','();','getOperations','prototype','fields','toConfigArray','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','getTableName','getOperationStats','getDatabaseName','Field(','_operations','lastIndexOf','modelId','isRequiredField','字段名称','getSelectItemsSource','_requestExampleCache','getDbTypeForOperation','getFieldTypeFromDefinition','[generateRequestExample]\x20Invalid\x20field:','\x20items,\x20','aggregate','batchCreate','generateUsageExample','getOperationsOverviewData','required','toArray','split','supportsCRUD','BOOL','getTenantCode','Number','dbName','prefix','isEnabled','\x0a-\x20aggregate\x20API\x20在\x20filter\x20API\x20基础上增加了聚合功能,\x20filter\x20API\x20已有的入参(where,\x20select,\x20orderBy,\x20currentPage,\x20pageSize)均支持\x0a-\x20入参\x20`aggregate`\x20的聚合函数\x20alias\x20会直接作为返回结果的字段名,\x20无需在\x20`select`\x20中指定\x0a-\x20当设置了\x20`groupBy`\x20时,\x20select\x20中的列必须满足**分组列或聚合列**的规则\x0a\x0a**查询参数**\x0a\x0a```ts\x0ainterface\x20AggregateParams\x20{\x0a\x20\x20aggregate?:\x20AggregateConfig[];\x20//\x20聚合字段列表(可选,不设置则不分组)\x0a\x20\x20groupBy?:\x20string[];\x20//\x20分组字段列表(可选,不设置则不分组)\x0a\x20\x20having?:\x20HavingCondition[];\x20//\x20分组后的过滤条件(可选,对聚合结果进行过滤)\x0a\x20\x20where?:\x20WhereCondition;\x20//\x20查询条件,\x20与\x20Filter\x20API\x20相同(不传则查询所有)\x0a\x20\x20select?:\x20string[];\x20//\x20选择返回的字段,\x20与\x20Filter\x20API\x20相同(仅在有明确返回字段需求时设置)\x0a\x20\x20orderBy?:\x20Record<string,\x20\x22asc\x22\x20|\x20\x22desc\x22>[];\x20//\x20排序规则,\x20与\x20Filter\x20API\x20相同(仅在有排序要求时设置)\x0a\x20\x20currentPage?:\x20number;\x20//\x20当前页码(从\x201\x20开始,默认:\x201)\x0a\x20\x20pageSize?:\x20number;\x20//\x20每页数量(默认:\x2020)\x0a}\x0a\x0ainterface\x20AggregateConfig\x20{\x0a\x20\x20type:\x20\x22sum\x22\x20|\x20\x22count\x22\x20|\x20\x22avg\x22\x20|\x20\x22max\x22\x20|\x20\x22min\x22;\x20//\x20聚合函数类型\x0a\x20\x20column:\x20string;\x20//\x20聚合字段\x0a\x20\x20alias:\x20string;\x20//\x20聚合结果别名\x0a\x20\x20distinct?:\x20boolean;\x20//\x20是否去重(可选,默认:\x20false)\x0a\x20\x20round?:\x20boolean;\x20//\x20是否四舍五入(可选,默认:\x20false)\x0a\x20\x20precision?:\x20number;\x20//\x20round精度(可选,默认:\x202)\x0a}\x0a\x0ainterface\x20HavingCondition\x20{\x0a\x20\x20columnName:\x20string;\x20//\x20聚合字段的别名(alias)\x0a\x20\x20condition:\x20WhereCondition;\x20//\x20聚合字段的过滤条件(支持与\x20where\x20相同的操作符)\x0a}\x0a```\x0a\x0a**WhereCondition\x20查询条件使用规范**\x0a\x0a-\x20与\x20Filter\x20API\x20完全相同,支持所有操作符和连接符,支持嵌套条件\x0a\x0a**HavingCondition\x20使用示例**\x0a\x0a```ts\x0ahaving:\x20[\x0a\x20\x20{\x20columnName:\x20\x22total_amount\x22,\x20condition:\x20{\x20$gte:\x2010000\x20}\x20},\x0a\x20\x20{\x20columnName:\x20\x22count\x22,\x20condition:\x20{\x20$lte:\x20100\x20}\x20}\x0a]\x0a```\x0a\x0a**可用聚合字段**\x0a','getFileUrl','update','getNames','getId','getSystemAnalysisResult','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','tableData','includeUsageExample','keyword','forEach','toListItem','updateTimeField','generateHTTPExample','getTableKey','trim','parseRawRequestBody','getDisabledOperations','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','host','SDK\x20调用时传递两个参数:\x0a','长文本',',\x20doType=','errorCode','generateItemExample','\x20operations,\x20v2)','分组后的过滤条件(对聚合结果进行过滤)','TINYINT','getOperators','env','getEnabledNames','SDK\x20调用','generateAllOperationsSummary','msg','totalCount','value2','generateItemsWrapperExample','getCode','//\x20数组参数格式','TEXT','3245795AsvWMk','getDisabled','DatasetItem(','_max','dbTypeLen','LONGBLOB','filterBlacklist','getDefaultValue','path','getModelName','isCreateTime','\x20operations,\x20v1)','-\x20主键使用\x20`id`\x20字段\x0a','desc','isVirtualTable','getTooltip','LONGTEXT','富文本','$startWith','total_count','items','getFieldRaw','generateConfig','https://example.com/file.pdf','HTTP\x20请求示例(平铺格式)','generateSDKInitCode','_instance','fullUrl','createTime','demo-app','hasLogicField','FieldList(','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','default','\x20operations,\x20','datasetName','column','$contain','doType','EXCEL_EXPORT','getOperationAnalyses','//\x20','phone','NUMBER','successCode','getOperation','pageSize','field_name','status','150bvFRHp','getEnumValues',',\x20...\x20});','排序规则(与\x20Filter\x20API\x20一致)','getEnumMeta','获取数据集失败:\x20','单值查询','groupBy','having','getRelationsByField','getFieldInstance','getFullUrl','getStats','请求示例','$lte','DELETE','要更新的字段数据对象','_fieldListWithDeleted','getFieldListWithDeleted','isSystem','SMALLINT','length','slice','tableName','5570EtHKEG','hasFilterOperation','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','getOperationList','16BGHuwl','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','DatasetList(','getByType','$ne','fieldName','exampleWhere','/filter','getAllDatasets','getFieldNames','generateRequestExample','extend','totalGroups','_fields','排序规则','**可更新的字段列表:**','getFilterOperation','getAutoIncrement','getRequiredFields','$endWith','FieldV2(','_operationList','hasModifierIdField','_extend','requestFieldCount','创建导入','getIndexes','operation','properties','[FieldV2]\x20Invalid\x20field\x20definition','datasetKey','SDK\x20调用示例(两参数格式)','_datasetMap','TASK_INFO','(params);','sdkCallCode','_$1','item2','isEnumField','email','generateAllOperationsFullSDKExample','CREATE_IMPORT','customFilter','getType','\x20fields)','code','groupByTableName','getFieldV2','[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:','distinct','number','getPath','sortNum','DOUBLE','isOperatorApplicableToField','function','isRequired','getFieldOperators','_raw','getAllFieldsString','includeDeleted','(id);','getLatestDatasets','0000','当前页码','padStart','allFields','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','IMAGE','1380449EurRSt','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','name','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','getRequestParamsDocInfo','支持单值或数组','deleted','//\x20对象参数格式','getMethod','查询单条(原始)','CHECKBOX','INT','getEnumFields','displayName','getOldest','modifierIdField','2024-01-01','entries','getSystem','TIME','toFullConfig','HTTP\x20直接调用时使用平铺格式:\x0a','FILE','create','getEnabledOperations','getDatabaseType','item1','appCode','toDatasetId','getDisabledOperationInstances','-\x20主键ID,用于定位要更新的记录\x0a\x0a','({\x20currentPage,\x20pageSize\x20});','_avg','withDeleted','parseRawResponseBody','getOperationOperators','Operation\x20not\x20found:\x20','total','params','count','getFieldListV2','array','[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:','getAggregates','\x5c}\x5c}','9JZhFgK','logicField','GET_ONE','getCreateTime','GET_LIST','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','string','toUpperCase','generateSDKCallCode','hasTableName','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','Integer','getEnabledOperationInstances','_relations','dataset','getFieldsFilterOperatorsMap','isMultipleSelectField','generateSingleValueExample','includeDisabled','createDate','getList','getRelations','Object','findById','getFieldDefinition','getFieldCode','valueLabels','createAll','DECIMAL','文件上传','String','generateFieldExample','sort','delete','some','const\x20resultByItems\x20=\x20await\x20client.models.',',\x20fields:\x20','groups','null','type','DrivenDataDetailPlus(','2.0','precision','getFieldName','toISOString','columnName','version','operations','返回字段列表(字段投影)','BIT','\x20indexes)','北京市朝阳区','FieldListV2(','getFields','createTimeField','getConflictStats','dbtableConfig','toDatasetCode','数组查询(支持多选)','useFullExample','update\x20接口接受两个参数:\x0a\x0a','filter','where','getOperationAnalysesByType','DrivenDataDetailPlusV2(','dataset_000000','getDOType','getVersion'];a0_0x2176=function(){return _0x3008e9;};return a0_0x2176();}function formatOptionsForDoc(_0x374f0e){const _0x4b52d2=a0_0x3e48cd;return _0x374f0e['map'](_0x22605c=>_0x22605c[_0x4b52d2(0x2d3)]+'('+_0x22605c[_0x4b52d2(0x140)]+')')[_0x4b52d2(0x103)](',\x20');}function formatOptionsAsMarkdownList(_0x45d03e,_0x4ebde4=0x0){const _0x5372a4=a0_0x3e48cd,_0x45296e='\x20\x20'['repeat'](_0x4ebde4),_0x5673fe=[];return _0x45d03e[_0x5372a4(0x194)](_0x354a90=>{const _0x31f8af=_0x5372a4;_0x5673fe[_0x31f8af(0x2d5)](_0x45296e+'-\x20`'+_0x354a90[_0x31f8af(0x2d3)]+'`:\x20'+_0x354a90['label']),_0x354a90[_0x31f8af(0x30e)]&&_0x354a90[_0x31f8af(0x30e)][_0x31f8af(0x1f8)]>0x0&&_0x5673fe[_0x31f8af(0x2d5)](formatOptionsAsMarkdownList(_0x354a90['children'],_0x4ebde4+0x1));}),_0x5673fe[_0x5372a4(0x103)]('\x0a');}class DbtableConfig{[a0_0x3e48cd(0x239)];constructor(_0x4b28a0){const _0x2a5670=a0_0x3e48cd,_0x62b9b0={..._0x4b28a0};this[_0x2a5670(0x239)]=_0x62b9b0;}get[a0_0x3e48cd(0xd1)](){const _0x440d51=a0_0x3e48cd;return this['_raw'][_0x440d51(0xd1)];}get[a0_0x3e48cd(0x187)](){const _0x54ba2e=a0_0x3e48cd;return this[_0x54ba2e(0x239)]['dbName']??this[_0x54ba2e(0x239)][_0x54ba2e(0x11f)]?.[_0x54ba2e(0x187)];}get[a0_0x3e48cd(0x1fa)](){const _0x557106=a0_0x3e48cd;return this[_0x557106(0x239)]['tableName'];}get[a0_0x3e48cd(0x21d)](){return this['_raw']['datasetKey'];}get['pkField'](){const _0x3f0400=a0_0x3e48cd;return this[_0x3f0400(0x239)]['pkField'];}get['labelField'](){const _0x4af00c=a0_0x3e48cd;return this[_0x4af00c(0x239)][_0x4af00c(0x334)];}get['logicField'](){const _0x1162a7=a0_0x3e48cd;return this['_raw'][_0x1162a7(0x273)];}get[a0_0x3e48cd(0x2a8)](){const _0x109465=a0_0x3e48cd;return this[_0x109465(0x239)]['createTimeField'];}get[a0_0x3e48cd(0x196)](){const _0x14c145=a0_0x3e48cd;return this[_0x14c145(0x239)][_0x14c145(0x196)];}get[a0_0x3e48cd(0xb4)](){const _0x276659=a0_0x3e48cd;return this['_raw'][_0x276659(0xb4)];}get['creatorNameField'](){const _0x53a841=a0_0x3e48cd;return this[_0x53a841(0x239)][_0x53a841(0x155)];}get[a0_0x3e48cd(0x254)](){const _0xe69184=a0_0x3e48cd;return this[_0xe69184(0x239)][_0xe69184(0x254)];}get[a0_0x3e48cd(0x31f)](){const _0x47415b=a0_0x3e48cd;return this[_0x47415b(0x239)][_0x47415b(0x31f)];}get[a0_0x3e48cd(0x11f)](){const _0x534a28=a0_0x3e48cd;return this[_0x534a28(0x239)][_0x534a28(0x11f)];}['getAllFieldsArray'](){const _0x4789ca=a0_0x3e48cd;if(!this[_0x4789ca(0x239)]['allFields'])return[];return this[_0x4789ca(0x239)][_0x4789ca(0x241)]['split'](',')['map'](_0x4fb8a7=>_0x4fb8a7['trim']())[_0x4789ca(0x2af)](Boolean);}[a0_0x3e48cd(0x23a)](){const _0x4d0cf3=a0_0x3e48cd;return this[_0x4d0cf3(0x239)][_0x4d0cf3(0x241)];}[a0_0x3e48cd(0xfa)](_0x5ecafd){const _0x4a93f3=a0_0x3e48cd;return this[_0x4a93f3(0x2fa)]()[_0x4a93f3(0x128)](_0x5ecafd);}['hasTableName'](){const _0x5de7ce=a0_0x3e48cd;return Boolean(this[_0x5de7ce(0x239)][_0x5de7ce(0x1fa)]);}['hasDblinkInfo'](){const _0x2a8f51=a0_0x3e48cd;return Boolean(this[_0x2a8f51(0x239)][_0x2a8f51(0x11f)]);}[a0_0x3e48cd(0x1d0)](){const _0x2e5f95=a0_0x3e48cd;return Boolean(this[_0x2e5f95(0x239)][_0x2e5f95(0x273)]?.[_0x2e5f95(0x204)]);}[a0_0x3e48cd(0x83)](){const _0x38c396=a0_0x3e48cd;return Boolean(this[_0x38c396(0x239)][_0x38c396(0x2a8)]?.[_0x38c396(0x204)]);}[a0_0x3e48cd(0x308)](){const _0x623e63=a0_0x3e48cd;return Boolean(this[_0x623e63(0x239)]['updateTimeField']?.[_0x623e63(0x204)]);}[a0_0x3e48cd(0xdf)](){const _0x433c73=a0_0x3e48cd;return Boolean(this[_0x433c73(0x239)][_0x433c73(0xb4)]?.[_0x433c73(0x204)]);}['hasModifierIdField'](){return Boolean(this['_raw']['modifierIdField']?.['fieldName']);}[a0_0x3e48cd(0x2c1)](_0x48dd5e){const _0x38f443=a0_0x3e48cd;return this[_0x38f443(0x239)][_0x38f443(0x33b)]===_0x48dd5e;}[a0_0x3e48cd(0xfb)](_0x2c0e77){const _0x13f64a=a0_0x3e48cd;return this['isPrimaryKeyField'](_0x2c0e77)||this[_0x13f64a(0x239)][_0x13f64a(0x273)]?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x2a8)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x196)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)]['creatorIdField']?.[_0x13f64a(0x204)]===_0x2c0e77||this['_raw'][_0x13f64a(0x155)]?.['fieldName']===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x254)]?.[_0x13f64a(0x204)]===_0x2c0e77||this[_0x13f64a(0x239)][_0x13f64a(0x31f)]?.[_0x13f64a(0x204)]===_0x2c0e77;}[a0_0x3e48cd(0x16f)](){const _0x307ef8=a0_0x3e48cd;return this[_0x307ef8(0x239)][_0x307ef8(0x11f)]?.[_0x307ef8(0x187)];}[a0_0x3e48cd(0x25e)](){const _0x143714=a0_0x3e48cd;return this[_0x143714(0x239)][_0x143714(0x11f)]?.['dbType'];}[a0_0x3e48cd(0x11a)](){const _0x30a94b=a0_0x3e48cd;return this['_raw'][_0x30a94b(0x11f)]?.[_0x30a94b(0x2ff)];}[a0_0x3e48cd(0x185)](){const _0x947071=a0_0x3e48cd;return this['_raw'][_0x947071(0x11f)]?.[_0x947071(0x2e6)];}['getAppCode'](){const _0x4714c6=a0_0x3e48cd;return this[_0x4714c6(0x239)]['dblinkInfoDTO']?.[_0x4714c6(0x260)];}[a0_0x3e48cd(0x18f)](){const _0xd3413=a0_0x3e48cd;return this[_0xd3413(0x239)][_0xd3413(0x11f)]?.['systemAnalysisResult'];}[a0_0x3e48cd(0x1ef)](){const _0x15bfbd=a0_0x3e48cd;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this['hasDblinkInfo'](),'fieldCount':this[_0x15bfbd(0x2fa)]()[_0x15bfbd(0x1f8)],'systemFields':{'hasLogicField':this[_0x15bfbd(0x1d0)](),'hasCreateTimeField':this[_0x15bfbd(0x83)](),'hasUpdateTimeField':this[_0x15bfbd(0x308)](),'hasCreatorIdField':this[_0x15bfbd(0xdf)](),'hasModifierIdField':this[_0x15bfbd(0x215)]()}};}[a0_0x3e48cd(0x2e0)](){const _0x461292=a0_0x3e48cd,_0x517cde={};return _0x517cde[_0x461292(0x1fa)]=this['tableName'],_0x517cde[_0x461292(0x33b)]=this[_0x461292(0x33b)],_0x517cde[_0x461292(0x21d)]=this[_0x461292(0x21d)],_0x517cde[_0x461292(0xd1)]=this['dbId'],_0x517cde;}[a0_0x3e48cd(0x2df)](){const _0x36a48f=a0_0x3e48cd,_0x52df75={...this[_0x36a48f(0x239)]};return _0x52df75;}[a0_0x3e48cd(0x34b)](){const _0x38643d=a0_0x3e48cd,_0xa89470={...this[_0x38643d(0x239)]};return _0xa89470;}['toString'](){const _0x5f304b=a0_0x3e48cd,_0x1c198b=this['tableName']||_0x5f304b(0x13f),_0x37a7b3=this['getAllFieldsArray']()[_0x5f304b(0x1f8)];return'DbtableConfig(table:\x20'+_0x1c198b+_0x5f304b(0x296)+_0x37a7b3+')';}static['empty'](){return new DbtableConfig({});}}class DatasetItem{[a0_0x3e48cd(0x239)];constructor(_0x5d8bf6){const _0x52045d=a0_0x3e48cd,_0x166909=_0x5d8bf6[_0x52045d(0x14c)]||_0x5d8bf6['code']||_0x5d8bf6[_0x52045d(0x92)],_0x372a66={..._0x5d8bf6};_0x372a66['datasetCode']=_0x166909,this['_raw']=_0x372a66;}get['id'](){return this['_raw']['id'];}get[a0_0x3e48cd(0x246)](){const _0x3a3690=a0_0x3e48cd;return this[_0x3a3690(0x239)][_0x3a3690(0x246)];}[a0_0x3e48cd(0xd9)](){const _0x26f4ce=a0_0x3e48cd;return this[_0x26f4ce(0x246)];}get[a0_0x3e48cd(0x14c)](){return this['_raw']['datasetCode']||'';}get['dbtableConfig'](){const _0xf670f2=a0_0x3e48cd;if(!this[_0xf670f2(0x239)][_0xf670f2(0x2aa)])return null;return new DbtableConfig(this[_0xf670f2(0x239)][_0xf670f2(0x2aa)]);}[a0_0x3e48cd(0x2e7)](){const _0x3aa665=a0_0x3e48cd;return this[_0x3aa665(0x239)]['dbtableConfig'];}[a0_0x3e48cd(0x31c)](){const _0x31243d=a0_0x3e48cd;return this[_0x31243d(0x2aa)]?.['dbName']||'';}[a0_0x3e48cd(0x16d)](){return getTableName(this['_raw']);}['getTableKey'](){const _0xd8c34e=a0_0x3e48cd;return getTableKey(this[_0xd8c34e(0x16d)]());}[a0_0x3e48cd(0x325)](){const _0x434134=a0_0x3e48cd;return generateModelKeyFromCode(this[_0x434134(0x14c)]);}[a0_0x3e48cd(0x1c0)](){const _0x3ecda5=a0_0x3e48cd;return isVirtualTableName(this[_0x3ecda5(0x16d)]());}[a0_0x3e48cd(0x1bb)](){return getTableKey(this['getTableName']());}[a0_0x3e48cd(0x2e0)](){const _0x1709ec=a0_0x3e48cd,_0x460cde=getTableKey(this[_0x1709ec(0x16d)]());return{'key':_0x460cde,'alias':_0x460cde,'tableName':this[_0x1709ec(0x16d)](),'datasetCode':this[_0x1709ec(0x14c)],'name':this[_0x1709ec(0x246)]};}['toJSON'](){const _0x4525d6=a0_0x3e48cd,_0x1d0e7e={...this['_raw']};return _0x1d0e7e[_0x4525d6(0x14c)]=this['datasetCode'],_0x1d0e7e;}[a0_0x3e48cd(0x34b)](){const _0x495c98=a0_0x3e48cd,_0x469c55={...this[_0x495c98(0x239)]};return _0x469c55;}[a0_0x3e48cd(0xe0)](){const _0x3994bd=a0_0x3e48cd,_0x18228b=this[_0x3994bd(0x2aa)];return _0x18228b!==null&&_0x18228b[_0x3994bd(0x27b)]();}[a0_0x3e48cd(0x110)](_0x43178c){return this['_raw'][_0x43178c];}['hasExtendField'](_0x43ebe7){const _0x4c98e8=a0_0x3e48cd;return _0x43ebe7 in this[_0x4c98e8(0x239)];}[a0_0x3e48cd(0x129)](){const _0xd11b7d=a0_0x3e48cd;return _0xd11b7d(0x1b4)+this[_0xd11b7d(0x246)]+',\x20'+this['datasetCode']+')';}}class Operation{['name'];[a0_0x3e48cd(0x239)];[a0_0x3e48cd(0xc5)];constructor(_0x50781c,_0xcabe0e,_0x4ed718){const _0x55e592=a0_0x3e48cd;this['name']=_0x50781c,this[_0x55e592(0x239)]=_0xcabe0e,this['context']=_0x4ed718;}[a0_0x3e48cd(0xd9)](){return this['name'];}[a0_0x3e48cd(0x2ef)](){return OPERATION_TYPE_DISPLAY_NAME[this['name']]||this['name'];}[a0_0x3e48cd(0x22a)](){return parseOperationType(this['name']);}[a0_0x3e48cd(0x189)](){const _0x548db4=a0_0x3e48cd;return this[_0x548db4(0x239)]!==null&&this[_0x548db4(0x239)]!==![];}[a0_0x3e48cd(0x24d)](){const _0x40c315=a0_0x3e48cd,_0x927e1c=this[_0x40c315(0x239)];if(_0x927e1c===![]||_0x927e1c===null)return'';return _0x927e1c[_0x40c315(0x2eb)]||_0x40c315(0xb6);}[a0_0x3e48cd(0x232)](){const _0x5d7bf0=this['_raw'];if(_0x5d7bf0===![]||_0x5d7bf0===null)return'';return _0x5d7bf0['path']||'';}[a0_0x3e48cd(0x1ee)](){const _0x3ad01f=a0_0x3e48cd,_0x188b47=this[_0x3ad01f(0x239)];let _0x340a98='';_0x188b47!==![]&&_0x188b47!==null&&_0x188b47[_0x3ad01f(0x19d)]&&(_0x340a98=_0x188b47[_0x3ad01f(0x19d)]);const _0x3358c6=this[_0x3ad01f(0x232)]();return _0x340a98&&_0x3358c6?''+_0x340a98+_0x3358c6:_0x3358c6;}[a0_0x3e48cd(0x19a)](){const _0x2a8bd5=a0_0x3e48cd,_0x1b7ccb=this[_0x2a8bd5(0x239)];if(_0x1b7ccb===![]||_0x1b7ccb===null||!_0x1b7ccb[_0x2a8bd5(0x330)])return{};try{return JSON[_0x2a8bd5(0x312)](_0x1b7ccb[_0x2a8bd5(0x330)]);}catch{return{};}}[a0_0x3e48cd(0x267)](){const _0x1ebc14=a0_0x3e48cd,_0x2e1d7f=this[_0x1ebc14(0x239)];if(_0x2e1d7f===![]||_0x2e1d7f===null||!_0x2e1d7f[_0x1ebc14(0x2f7)])return null;return parseResponseBody(_0x2e1d7f[_0x1ebc14(0x2f7)]);}['getRequestParams'](){const _0x2fe22d=a0_0x3e48cd;return this[_0x2fe22d(0x19a)]();}[a0_0x3e48cd(0x2cf)](){return this['parseRawResponseBody']();}[a0_0x3e48cd(0xfe)](){const _0x293fc5=a0_0x3e48cd,_0x5743c4=this[_0x293fc5(0x114)]();return Object['keys'](_0x5743c4);}[a0_0x3e48cd(0x209)](){const _0x558cbd=a0_0x3e48cd,_0xa58731=this['getRequestParams'](),_0x19f0db={};return Object['entries'](_0xa58731)[_0x558cbd(0x194)](([_0x5a3484,_0x4d85a7])=>{const _0x1dc3e6=_0x558cbd,_0x2527ea=_0x4d85a7;_0x19f0db[_0x5a3484]=generateExampleValue(_0x5a3484,_0x2527ea[_0x1dc3e6(0x299)]||_0x1dc3e6(0x290),undefined,{'description':_0x2527ea[_0x1dc3e6(0x2b7)]});}),_0x19f0db;}[a0_0x3e48cd(0x197)](){return this['generateRequestExample']();}[a0_0x3e48cd(0x333)](){const _0x27495d=a0_0x3e48cd;return[{'title':_0x27495d(0x1f0),'data':this[_0x27495d(0x209)]()}];}[a0_0x3e48cd(0xd5)](){const _0x2a3b2d=a0_0x3e48cd,_0x16e559=this['parseRawResponseBody']();if(!_0x16e559){const _0x3b612e={};return _0x3b612e[_0x2a3b2d(0x2c3)]=!![],_0x3b612e[_0x2a3b2d(0x1ab)]=_0x2a3b2d(0x86),_0x3b612e[_0x2a3b2d(0x2d1)]='',_0x3b612e[_0x2a3b2d(0x1a1)]=_0x2a3b2d(0x23e),_0x3b612e[_0x2a3b2d(0x32f)]=null,_0x3b612e;}return this['generateFromSchema'](_0x16e559);}[a0_0x3e48cd(0xc4)](_0x1d9393){const _0x522ca4=a0_0x3e48cd;if(!_0x1d9393||typeof _0x1d9393!==_0x522ca4(0x335))return{};if(Array[_0x522ca4(0x133)](_0x1d9393))return _0x1d9393[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x1d9393[0x0])]:[];const _0x3024bf={};for(const [_0x35de06,_0x4c98f5]of Object[_0x522ca4(0x256)](_0x1d9393)){if(_0x4c98f5&&typeof _0x4c98f5==='object'&&!Array[_0x522ca4(0x133)](_0x4c98f5)){const _0x113281=_0x4c98f5;_0x3024bf[_0x35de06]=generateExampleValue(_0x35de06,_0x113281[_0x522ca4(0x299)]||'String',undefined,{'description':_0x113281[_0x522ca4(0x2b7)]});}else Array[_0x522ca4(0x133)](_0x4c98f5)?_0x3024bf[_0x35de06]=_0x4c98f5[_0x522ca4(0x1f8)]>0x0?[this[_0x522ca4(0xc4)](_0x4c98f5[0x0])]:[]:_0x3024bf[_0x35de06]=_0x4c98f5;}return _0x3024bf;}[a0_0x3e48cd(0x291)](_0x5ed015,_0x12b067,_0x30a49c,_0x249c47){return generateExampleValue(_0x5ed015,_0x12b067,_0x30a49c,_0x249c47);}['generateSDKCallCode'](_0x4bd97f,_0x15f1bc){const _0x3551c5=a0_0x3e48cd,_0x9cc196=this[_0x3551c5(0xd9)]();return _0x3551c5(0x331)+_0x4bd97f+'.'+_0x9cc196+_0x3551c5(0x167);}[a0_0x3e48cd(0x17e)](_0x4499db){const _0x396a86=a0_0x3e48cd,_0x500e01=this[_0x396a86(0xd9)](),_0x317fd7=_0x4499db||'yourModel',_0x4b8f77={};return _0x4b8f77[_0x396a86(0x1de)]='const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+_0x396a86(0x167),_0x4b8f77[_0x396a86(0x1a1)]='try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.'+_0x317fd7+'.'+_0x500e01+'();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}',_0x4b8f77;}['getRequestParamsDocInfo'](){const _0xa609e2=a0_0x3e48cd,_0x3d6797=this[_0xa609e2(0x114)](),_0x547355=Object[_0xa609e2(0x256)](_0x3d6797)['map'](([_0x231814,_0x1ca31d])=>{const _0x327250=_0xa609e2,_0xc02142=_0x1ca31d,_0x318866={};return _0x318866['name']=_0x231814,_0x318866[_0x327250(0x299)]=_0xc02142['type']||'String',_0x318866['description']=_0xc02142[_0x327250(0x2b7)]||'-',_0x318866[_0x327250(0x180)]=_0xc02142[_0x327250(0x180)],_0x318866;}),_0x34a64f={};return _0x34a64f['params']=_0x547355,_0x34a64f;}[a0_0x3e48cd(0xcb)](){const _0x14c038=a0_0x3e48cd,_0x436171=this[_0x14c038(0x267)]();if(!_0x436171){const _0x10a117={};return _0x10a117[_0x14c038(0x26b)]=[],_0x10a117;}const _0x541f52=Object[_0x14c038(0x256)](_0x436171)[_0x14c038(0xac)](([_0x4a96f8,_0xe3594b])=>{const _0x5e4091=_0x14c038,_0x738a60=_0xe3594b,_0x10f192={};return _0x10f192[_0x5e4091(0x246)]=_0x4a96f8,_0x10f192[_0x5e4091(0x299)]=_0x738a60[_0x5e4091(0x299)]||_0x5e4091(0x290),_0x10f192['description']=_0x738a60['description']||'-',_0x10f192;}),_0x4eda5d={};return _0x4eda5d[_0x14c038(0x26b)]=_0x541f52,_0x4eda5d;}[a0_0x3e48cd(0x2bf)](){return[];}['getBusinessFields'](){return this['context']['fields']||[];}['getAllParams'](){const _0x2750f0=a0_0x3e48cd;return{'systemFields':this[_0x2750f0(0x2bf)](),'businessFields':this[_0x2750f0(0x2ea)]()};}[a0_0x3e48cd(0x28a)](_0x56ef74){const _0x1822a6=a0_0x3e48cd;return this[_0x1822a6(0xc5)][_0x1822a6(0x16a)][_0x1822a6(0x8b)](_0x2d7c99=>_0x2d7c99?.[_0x1822a6(0x22c)]===_0x56ef74);}[a0_0x3e48cd(0x28b)](_0x16c898){const _0x34be04=a0_0x3e48cd;return _0x16c898[_0x34be04(0x22c)];}['getFieldType'](_0x34407d){return _0x34407d['type'];}[a0_0x3e48cd(0xbc)](_0x538cbd){return _0x538cbd['name'];}[a0_0x3e48cd(0x14e)](_0x31dcb7){return _0x31dcb7['description'];}[a0_0x3e48cd(0x328)](_0x26cd09){return _0x26cd09['getEnumOptions']()||null;}['isFieldPrimaryKey'](_0x4a09d9){const _0x32eff0=a0_0x3e48cd;return _0x4a09d9[_0x32eff0(0xb8)]();}['getOperators'](){return[];}[a0_0x3e48cd(0x238)](_0x2582e4){return[];}[a0_0x3e48cd(0x2df)](){const _0x444945=a0_0x3e48cd;return{'name':this[_0x444945(0xd9)](),'displayName':this[_0x444945(0x2ef)](),'type':this[_0x444945(0x22a)](),'enabled':this[_0x444945(0x189)](),'method':this[_0x444945(0x24d)](),'path':this['getPath'](),'fullUrl':this[_0x444945(0x1ee)](),'requestParams':this[_0x444945(0x114)](),'requestExample':this[_0x444945(0x209)](),'responseExample':this['generateResponseExample']()};}[a0_0x3e48cd(0x129)](){const _0x11e164=a0_0x3e48cd,_0x143a41=this[_0x11e164(0x189)]()?'启用':'禁用';return this[_0x11e164(0x2ef)]()+'('+this['name']+',\x20'+_0x143a41+')';}}class GenericOperation extends Operation{[a0_0x3e48cd(0x177)];[a0_0x3e48cd(0x114)](){const _0x1ca942=a0_0x3e48cd;return this[_0x1ca942(0x19a)]();}[a0_0x3e48cd(0x2cf)](){const _0x3b0c84=a0_0x3e48cd;return this[_0x3b0c84(0x267)]();}[a0_0x3e48cd(0x209)](){const _0xb6d2f6=a0_0x3e48cd;if(this[_0xb6d2f6(0x177)])return this[_0xb6d2f6(0x177)];const _0x17647c={},_0x21df02=this[_0xb6d2f6(0x114)](),_0x13dc3b=this[_0xb6d2f6(0x22a)]();if(Object['keys'](_0x21df02)['length']===0x0&&_0x13dc3b){const _0x2eb990=this[_0xb6d2f6(0x2ea)]();return _0x2eb990[_0xb6d2f6(0x194)](_0x38386e=>{const _0x6b1365=_0xb6d2f6,_0x1a8281=_0x38386e[_0x6b1365(0x22c)],_0x3ec933=_0x38386e[_0x6b1365(0x299)],_0x2b7c6c=this[_0x6b1365(0x291)](_0x1a8281,_0x3ec933,_0x38386e[_0x6b1365(0x178)](),{'isPrimaryKey':_0x38386e['isPrimaryKey'](),'description':_0x38386e['description']||_0x38386e[_0x6b1365(0x246)]});_0x17647c[_0x1a8281]=_0x2b7c6c;}),this[_0xb6d2f6(0x177)]=_0x17647c,_0x17647c;}return Object[_0xb6d2f6(0x256)](_0x21df02)[_0xb6d2f6(0x194)](([_0x5ba4e5,_0x342333])=>{const _0x24d937=_0xb6d2f6,_0x25ac3a=_0x342333;let _0x3c2c80;if(typeof _0x25ac3a[_0x24d937(0x299)]==='string')_0x3c2c80=_0x25ac3a[_0x24d937(0x299)];else _0x25ac3a['type']&&typeof _0x25ac3a[_0x24d937(0x299)]===_0x24d937(0x335)?_0x3c2c80=_0x25ac3a[_0x24d937(0x299)][_0x24d937(0x299)]||'TEXT':_0x3c2c80=_0x24d937(0x1b1);const _0x348f78=_0x25ac3a[_0x24d937(0x2b7)],_0x5ae425=this[_0x24d937(0x28a)](_0x5ba4e5);if(_0x5ba4e5==='currentPage')_0x17647c[_0x5ba4e5]=0x1;else{if(_0x5ba4e5===_0x24d937(0x1e0))_0x17647c[_0x5ba4e5]=0xa;else{if(_0x5ba4e5==='id')_0x17647c[_0x5ba4e5]=0x1;else{const _0x2daf73=_0x5ae425?_0x5ae425[_0x24d937(0x178)]():undefined,_0x239040=_0x5ae425?_0x5ae425[_0x24d937(0x2b7)]:undefined,_0x1c3447=_0x5ae425?_0x5ae425[_0x24d937(0x246)]:undefined;_0x17647c[_0x5ba4e5]=this[_0x24d937(0x291)](_0x5ba4e5,_0x3c2c80,_0x2daf73||undefined,{'isPrimaryKey':_0x5ba4e5===this[_0x24d937(0xc5)][_0x24d937(0x33b)]||_0x5ba4e5==='id','description':_0x348f78||_0x239040||_0x1c3447});}}}}),this['_requestExampleCache']=_0x17647c,_0x17647c;}['generateResponseExample'](){const _0x5cac36=a0_0x3e48cd,_0x4a4c21=this[_0x5cac36(0x2cf)]();if(!_0x4a4c21){const _0x14e3c1={};return _0x14e3c1[_0x5cac36(0x2c3)]=!![],_0x14e3c1[_0x5cac36(0x1ab)]='操作成功',_0x14e3c1['errorMsg']='',_0x14e3c1[_0x5cac36(0x1a1)]=_0x5cac36(0x23e),_0x14e3c1[_0x5cac36(0x32f)]=null,_0x14e3c1;}return this[_0x5cac36(0xc4)](_0x4a4c21);}[a0_0x3e48cd(0xc4)](_0xd4d93b){const _0x2da6e0=a0_0x3e48cd;if(!_0xd4d93b||typeof _0xd4d93b!=='object')return{};if(Array[_0x2da6e0(0x133)](_0xd4d93b)){if(_0xd4d93b[_0x2da6e0(0x1f8)]>0x0)return[this['generateFromSchema'](_0xd4d93b[0x0])];return[];}const _0x413bb9={};return Object['keys'](_0xd4d93b)[_0x2da6e0(0x194)](_0x2d1873=>{const _0x249a6f=_0x2da6e0,_0x208c2d=_0xd4d93b[_0x2d1873];if(_0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)&&!Array[_0x249a6f(0x133)](_0x208c2d)&&_0x208c2d[_0x249a6f(0x299)]){const _0x4695d6=_0x208c2d;let _0x5139b4;if(typeof _0x4695d6[_0x249a6f(0x299)]==='string')_0x5139b4=_0x4695d6[_0x249a6f(0x299)];else _0x4695d6[_0x249a6f(0x299)]&&typeof _0x4695d6['type']===_0x249a6f(0x335)?_0x5139b4=_0x4695d6['type']['type']||_0x249a6f(0x1b1):_0x5139b4=_0x249a6f(0x1b1);const _0x3919d4=_0x4695d6['description'],_0x3bbf9f={};_0x3bbf9f['description']=_0x3919d4,_0x413bb9[_0x2d1873]=this[_0x249a6f(0x291)](_0x2d1873,_0x5139b4,undefined,_0x3bbf9f);}else{if(Array['isArray'](_0x208c2d))_0x413bb9[_0x2d1873]=_0x208c2d[_0x249a6f(0x1f8)]>0x0?[this[_0x249a6f(0xc4)](_0x208c2d[0x0])]:[];else _0x208c2d&&typeof _0x208c2d===_0x249a6f(0x335)?_0x413bb9[_0x2d1873]=this[_0x249a6f(0xc4)](_0x208c2d):_0x413bb9[_0x2d1873]=_0x208c2d;}}),_0x413bb9;}[a0_0x3e48cd(0x27a)](_0xef221f,_0x615ea3){const _0x3814d0=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x615ea3||{},_0x4eff18=this[_0x3814d0(0xd9)](),_0x8e6533=this[_0x3814d0(0x22a)](),_0x212db4=this['getRequestFields'](),_0x6b589f=this[_0x3814d0(0x209)](),_0x5ce0ff=_0x5d93f3=>{const _0x54dfac=_0x3814d0;if(Object['keys'](_0x5d93f3)[_0x54dfac(0x1f8)]===0x0)return'{}';const _0x2a96bb=JSON[_0x54dfac(0x10a)](_0x5d93f3,null,0x2)['split']('\x0a')['map']((_0x5c3e9b,_0x7b38e)=>_0x7b38e===0x0?_0x5c3e9b:indent+_0x5c3e9b)['join']('\x0a');return _0x2a96bb;};switch(_0x8e6533){case _0x3814d0(0x2ca):case _0x3814d0(0x293):return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x23c);case _0x3814d0(0x18c):if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0xb5)+_0x5ce0ff(_0x6b589f)+');';return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+'(id,\x20data);';case'create':case'getList':case _0x3814d0(0x346):default:if(_0x212db4[_0x3814d0(0x1f8)]>0x0){if(useFullExample&&Object[_0x3814d0(0x326)](_0x6b589f)[_0x3814d0(0x1f8)]>0x0)return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+'('+_0x5ce0ff(_0x6b589f)+');';else{const _0x599524=Object[_0x3814d0(0x326)](_0x6b589f);if(_0x599524[_0x3814d0(0x1f8)]>0x0){const _0x134eed=_0x599524[_0x3814d0(0x1f9)](0x0,0x2)[_0x3814d0(0x103)](',\x20');return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x30d)+_0x134eed+_0x3814d0(0x1e5);}else return'const\x20result\x20=\x20await\x20client.models.'+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x221);}}else return _0x3814d0(0x331)+_0xef221f+'.'+_0x4eff18+_0x3814d0(0x167);}}['generateRequestAllExamples'](){const _0x1aa198=a0_0x3e48cd;return[{'title':_0x1aa198(0x1f0),'data':this[_0x1aa198(0x209)]()}];}[a0_0x3e48cd(0x2bf)](){const _0x5b982f=a0_0x3e48cd,_0x50a3db=this['getType'](),_0x33e798=[];switch(_0x50a3db){case _0x5b982f(0x2ca):case'delete':const _0x4c739b={};_0x4c739b[_0x5b982f(0x22c)]='id',_0x4c739b[_0x5b982f(0x299)]=_0x5b982f(0x1dd),_0x4c739b[_0x5b982f(0x2b7)]=_0x5b982f(0x123),_0x33e798[_0x5b982f(0x2d5)](_0x4c739b);break;case _0x5b982f(0x286):const _0x52677e={};_0x52677e[_0x5b982f(0x22c)]=_0x5b982f(0xcf),_0x52677e[_0x5b982f(0x299)]='NUMBER',_0x52677e[_0x5b982f(0x2b7)]='当前页码';const _0x328bc2={};_0x328bc2[_0x5b982f(0x22c)]=_0x5b982f(0x1e0),_0x328bc2[_0x5b982f(0x299)]='NUMBER',_0x328bc2[_0x5b982f(0x2b7)]=_0x5b982f(0xa0),_0x33e798[_0x5b982f(0x2d5)](_0x52677e,_0x328bc2);break;case _0x5b982f(0x346):const _0x3267fb={};_0x3267fb[_0x5b982f(0x22c)]=_0x5b982f(0x22c),_0x3267fb[_0x5b982f(0x299)]=_0x5b982f(0xe1),_0x3267fb[_0x5b982f(0x2b7)]=_0x5b982f(0xa4),_0x33e798[_0x5b982f(0x2d5)](_0x3267fb);break;default:break;}return _0x33e798;}[a0_0x3e48cd(0x2ea)](){const _0x370ea6=a0_0x3e48cd,_0x47028d=this[_0x370ea6(0x22a)](),_0x431265=this['context'][_0x370ea6(0x16a)]||[];switch(_0x47028d){case _0x370ea6(0x2ca):case _0x370ea6(0x293):return[];case'create':case _0x370ea6(0x17d):return _0x431265[_0x370ea6(0x2af)](_0x1d1efa=>{const _0x21cb28=_0x370ea6;if(_0x1d1efa[_0x21cb28(0x24b)])return![];if(_0x1d1efa[_0x21cb28(0xb8)]()&&_0x1d1efa[_0x21cb28(0x305)]())return![];if(_0x1d1efa[_0x21cb28(0x1f6)]())return![];if(_0x1d1efa[_0x21cb28(0x1bc)]()||_0x1d1efa[_0x21cb28(0xe4)]())return![];return!![];});case _0x370ea6(0x18c):return _0x431265[_0x370ea6(0x2af)](_0x107db0=>{const _0x2bcc7d=_0x370ea6;if(_0x107db0[_0x2bcc7d(0x24b)])return![];if(_0x107db0[_0x2bcc7d(0xb8)]())return![];if(_0x107db0['isSystem']())return![];if(_0x107db0['isCreateTime']()||_0x107db0[_0x2bcc7d(0xe4)]())return![];if(_0x107db0[_0x2bcc7d(0x305)]())return![];return!![];});case'getList':case _0x370ea6(0x346):return _0x431265[_0x370ea6(0x2af)](_0x3e0bd0=>!_0x3e0bd0[_0x370ea6(0x24b)]&&_0x3e0bd0[_0x370ea6(0x143)]());default:return _0x431265[_0x370ea6(0x2af)](_0x283e5a=>!_0x283e5a[_0x370ea6(0x24b)]&&_0x283e5a['isBusiness']());}}}class GetSelectOptionsOperation extends GenericOperation{['getRequestParams'](){const _0x474404=a0_0x3e48cd,_0x339305=super[_0x474404(0x114)](),_0x1ca20d=Object[_0x474404(0x326)](_0x339305);if(_0x1ca20d[_0x474404(0x1f8)]===0x0||_0x1ca20d['length']===0x1&&_0x1ca20d[0x0]===_0x474404(0x22c)){if(!_0x339305[_0x474404(0x22c)]){const _0x1c72ea={};_0x1c72ea[_0x474404(0x299)]=_0x474404(0x290),_0x1c72ea[_0x474404(0x2b7)]=_0x474404(0x102),_0x339305[_0x474404(0x22c)]=_0x1c72ea;}const _0x1bc8be={};_0x1bc8be[_0x474404(0x299)]=_0x474404(0x290),_0x1bc8be[_0x474404(0x2b7)]='字段名称',_0x339305[_0x474404(0x140)]=_0x1bc8be;}return _0x339305;}[a0_0x3e48cd(0x2ea)](){return[];}['getSystemFields'](){const _0x350534=a0_0x3e48cd,_0x236819={};_0x236819[_0x350534(0x22c)]=_0x350534(0x22c),_0x236819[_0x350534(0x299)]=_0x350534(0x290),_0x236819['description']=_0x350534(0x102);const _0xbfe3ed={};return _0xbfe3ed[_0x350534(0x22c)]=_0x350534(0x140),_0xbfe3ed[_0x350534(0x299)]='String',_0xbfe3ed[_0x350534(0x2b7)]=_0x350534(0x175),[_0x236819,_0xbfe3ed];}[a0_0x3e48cd(0x209)](){const _0x1c2b13=a0_0x3e48cd,_0x22ab6e={};return _0x22ab6e[_0x1c2b13(0x22c)]=_0x1c2b13(0x1e1),_0x22ab6e[_0x1c2b13(0x140)]=_0x1c2b13(0x1e1),_0x22ab6e;}[a0_0x3e48cd(0x27a)](_0x3dd111){const _0x1b2e06=a0_0x3e48cd,_0x3bbfc3=this[_0x1b2e06(0xd9)]();return'const\x20result\x20=\x20await\x20client.models.'+_0x3dd111+'.'+_0x3bbfc3+_0x1b2e06(0x34c);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x4ffe15=a0_0x3e48cd,_0x249f41=super['getRequestParams'](),{currentPage:_0x3e5f1d,pageSize:_0x16a72f,..._0x3607ab}=_0x249f41,_0xcc78d6={};Object[_0x4ffe15(0x256)](_0x3607ab)[_0x4ffe15(0x194)](([_0x55b379,_0xfe6a0a])=>{const _0x557e2b=_0x4ffe15;if(typeof _0xfe6a0a===_0x557e2b(0x335)&&_0xfe6a0a!==null){const _0x38f2e2=_0xfe6a0a,_0x1167b1=_0x38f2e2[_0x557e2b(0x2b7)]||'',_0x48402a={..._0x38f2e2};_0x48402a[_0x557e2b(0x2b7)]=_0x1167b1?_0x1167b1+'(支持单值或数组)':_0x557e2b(0x24a),_0xcc78d6[_0x55b379]=_0x48402a;}else _0xcc78d6[_0x55b379]=_0xfe6a0a;});const _0x1a253e={...typeof _0x3e5f1d===_0x4ffe15(0x335)?_0x3e5f1d:{}};_0x1a253e['type']=_0x4ffe15(0x186),_0x1a253e[_0x4ffe15(0x2b7)]=_0x4ffe15(0x23f);const _0xa13eb6={...typeof _0x16a72f===_0x4ffe15(0x335)?_0x16a72f:{}};_0xa13eb6[_0x4ffe15(0x299)]='Number',_0xa13eb6[_0x4ffe15(0x2b7)]=_0x4ffe15(0x164);const _0xa08b90={..._0xcc78d6};return _0xa08b90[_0x4ffe15(0xcf)]=_0x1a253e,_0xa08b90[_0x4ffe15(0x1e0)]=_0xa13eb6,_0xa08b90;}['generateRequestExample'](_0x4097e9){const _0x1e5763=a0_0x3e48cd,{useArrayValues:useArrayValues=!![]}=_0x4097e9||{},_0x523651=super[_0x1e5763(0x209)](),{currentPage:_0x503599,pageSize:_0xda8807,..._0x35029f}=_0x523651;if(!useArrayValues){const _0x55d6d3={..._0x35029f};return _0x55d6d3[_0x1e5763(0xcf)]=_0x503599??0x1,_0x55d6d3[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x55d6d3;}const _0xad7387={},_0x5b5c9a=['id',_0x1e5763(0x1e2),'code',_0x1e5763(0x299)];Object[_0x1e5763(0x256)](_0x35029f)[_0x1e5763(0x194)](([_0x5788d2,_0x386f7b],_0x371c4b)=>{const _0x204c87=_0x1e5763,_0x5bd570=_0x5b5c9a[_0x204c87(0x294)](_0x245e90=>_0x5788d2[_0x204c87(0xc3)]()['includes'](_0x245e90))||_0x371c4b%0x3===0x0;if(_0x5bd570&&_0x386f7b!==null&&_0x386f7b!==undefined){if(typeof _0x386f7b===_0x204c87(0x231))_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+0x1,_0x386f7b+0x2];else typeof _0x386f7b==='string'?_0xad7387[_0x5788d2]=[_0x386f7b,_0x386f7b+'_2',_0x386f7b+'_3']:_0xad7387[_0x5788d2]=[_0x386f7b];}else _0xad7387[_0x5788d2]=_0x386f7b;});const _0x1eb17e={..._0xad7387};return _0x1eb17e[_0x1e5763(0xcf)]=_0x503599??0x1,_0x1eb17e[_0x1e5763(0x1e0)]=_0xda8807??0xa,_0x1eb17e;}[a0_0x3e48cd(0x283)](){const _0x2bfa5f=a0_0x3e48cd,_0x36fbb1={};return _0x36fbb1[_0x2bfa5f(0x85)]=![],this[_0x2bfa5f(0x209)](_0x36fbb1);}['generateRequestAllExamples'](){const _0x3d0234=a0_0x3e48cd;return[{'title':_0x3d0234(0x1e9),'description':'查询单个条件','data':this['generateSingleValueExample']()},{'title':_0x3d0234(0x2ac),'description':'支持多个条件','data':this[_0x3d0234(0x209)]()}];}[a0_0x3e48cd(0x27a)](_0xa4cc87,_0x2ef05e){const _0x2ab010=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2ef05e||{},_0x2c1dce=this[_0x2ab010(0xd9)](),_0x2f3d13={};_0x2f3d13['useArrayValues']=!![];const _0x390539=this['generateRequestExample'](_0x2f3d13),{currentPage:_0x4dfe4f,pageSize:_0x4cd57e,..._0xbd840c}=_0x390539;if(useFullExample&&Object[_0x2ab010(0x326)](_0x390539)['length']>0x0){const _0x39a001=Object[_0x2ab010(0x326)](_0xbd840c)['length']>0x0;if(_0x39a001){const _0x1fa3b1=this['generateSingleValueExample'](),_0x2f383c=_0x416b6d=>{const _0x2f75f0=_0x2ab010;return JSON[_0x2f75f0(0x10a)](_0x416b6d,null,0x2)[_0x2f75f0(0x182)]('\x0a')[_0x2f75f0(0xac)]((_0x3bc70e,_0x3edbd7)=>_0x3edbd7===0x0?_0x3bc70e:indent+_0x3bc70e)[_0x2f75f0(0x103)]('\x0a');};return _0x2ab010(0xf5)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x1fa3b1)+_0x2ab010(0xd2)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2f383c(_0x390539)+');';}else{const _0x2260ea=JSON['stringify'](_0x390539,null,0x2)[_0x2ab010(0x182)]('\x0a')[_0x2ab010(0xac)]((_0x1dc406,_0x5bec5a)=>_0x5bec5a===0x0?_0x1dc406:indent+_0x1dc406)[_0x2ab010(0x103)]('\x0a');return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+'('+_0x2260ea+');';}}if(Object[_0x2ab010(0x326)](_0xbd840c)[_0x2ab010(0x1f8)]>0x0){const _0x9f4925=Object[_0x2ab010(0x326)](_0xbd840c)[0x0];return _0x2ab010(0x331)+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x30d)+_0x9f4925+_0x2ab010(0x304);}return'const\x20result\x20=\x20await\x20client.models.'+_0xa4cc87+'.'+_0x2c1dce+_0x2ab010(0x264);}}var AGGREGATE_FUNCTIONS=[a0_0x3e48cd(0xee),a0_0x3e48cd(0x26c),a0_0x3e48cd(0x99),'max',a0_0x3e48cd(0x15b)],FILTER_OPERATORS=[a0_0x3e48cd(0xab),'$ne',a0_0x3e48cd(0x323),a0_0x3e48cd(0x135),a0_0x3e48cd(0x1f1),'$lteq',a0_0x3e48cd(0x8d),a0_0x3e48cd(0x1d7),a0_0x3e48cd(0x1c4),a0_0x3e48cd(0x212),a0_0x3e48cd(0x349),a0_0x3e48cd(0x2d6)];class FilterOperation extends GenericOperation{constructor(_0x24698e,_0x44be82,_0x2a3614){super(_0x24698e,_0x44be82,_0x2a3614);}[a0_0x3e48cd(0x1a6)](){return FILTER_OPERATORS;}[a0_0x3e48cd(0x238)](_0x1f24a6){const _0x48e2d8=a0_0x3e48cd,_0xb1e4b2=this[_0x48e2d8(0x28a)](_0x1f24a6);if(!_0xb1e4b2)return[];return this[_0x48e2d8(0x343)](_0xb1e4b2);}[a0_0x3e48cd(0x114)](){const _0x21ee6a=a0_0x3e48cd,_0x127139=super[_0x21ee6a(0x114)](),_0x5bd5b2={};_0x5bd5b2[_0x21ee6a(0x299)]=_0x21ee6a(0x288),_0x5bd5b2[_0x21ee6a(0x2b7)]='查询条件(支持\x2012\x20种操作符:$eq,\x20$ne,\x20$gte,\x20$gteq,\x20$lte,\x20$lteq,\x20$in,\x20$contain,\x20$startWith,\x20$endWith,\x20$and,\x20$or)',_0x5bd5b2['required']=![];const _0x54e1ab={};_0x54e1ab[_0x21ee6a(0x299)]='String[]',_0x54e1ab['description']=_0x21ee6a(0x2a2),_0x54e1ab[_0x21ee6a(0x180)]=![];const _0x3ab70d={};_0x3ab70d[_0x21ee6a(0x299)]=_0x21ee6a(0x322),_0x3ab70d['description']=_0x21ee6a(0x20d),_0x3ab70d['required']=![];const _0x195fd0={};_0x195fd0[_0x21ee6a(0x299)]='Number',_0x195fd0['description']=_0x21ee6a(0x23f),_0x195fd0[_0x21ee6a(0x180)]=![],_0x195fd0['default']=0x1;const _0x3e0e7a={};_0x3e0e7a[_0x21ee6a(0x299)]='Number',_0x3e0e7a['description']=_0x21ee6a(0x164),_0x3e0e7a[_0x21ee6a(0x180)]=![],_0x3e0e7a[_0x21ee6a(0x1d3)]=0xa;const _0x2f3936={..._0x127139};return _0x2f3936[_0x21ee6a(0x2b0)]=_0x5bd5b2,_0x2f3936[_0x21ee6a(0x2bb)]=_0x54e1ab,_0x2f3936[_0x21ee6a(0x147)]=_0x3ab70d,_0x2f3936[_0x21ee6a(0xcf)]=_0x195fd0,_0x2f3936['pageSize']=_0x3e0e7a,_0x2f3936;}['getSystemFields'](){const _0x515d7d=a0_0x3e48cd,_0x7bc649=this['getRequestParams'](),_0x5d620d=[],_0x1cee77=['where','select',_0x515d7d(0x147),'currentPage',_0x515d7d(0x1e0)];return Object['entries'](_0x7bc649)[_0x515d7d(0x194)](([_0x39de8d,_0x487467])=>{const _0xdee5e9=_0x515d7d;if(_0x1cee77['includes'](_0x39de8d)){const _0x509bbc=_0x487467,_0x132bd3={};_0x132bd3[_0xdee5e9(0x22c)]=_0x39de8d,_0x132bd3['type']=_0x509bbc['type']||_0xdee5e9(0x288),_0x132bd3[_0xdee5e9(0x2b7)]=_0x509bbc[_0xdee5e9(0x2b7)]||'-',_0x5d620d['push'](_0x132bd3);}}),_0x5d620d;}['getBusinessFields'](){const _0x5713f2=a0_0x3e48cd;return this[_0x5713f2(0xc5)][_0x5713f2(0x16a)]||[];}['getGroupedParams'](){return{'systemParams':this['getSystemFields'](),'businessFields':this['getBusinessFields']()};}[a0_0x3e48cd(0x209)](){const _0x4f382d=a0_0x3e48cd,_0x20e641=this['context']['fields']||[];if(_0x20e641[_0x4f382d(0x1f8)]===0x0){const _0x13a156={};return _0x13a156[_0x4f382d(0x2b0)]={},_0x13a156[_0x4f382d(0xcf)]=0x1,_0x13a156[_0x4f382d(0x1e0)]=0x14,_0x13a156;}const _0x1a7284={},_0x54694e=_0x20e641[_0x4f382d(0x1f9)](0x0,Math[_0x4f382d(0x15b)](0x3,_0x20e641[_0x4f382d(0x1f8)]));_0x54694e[_0x4f382d(0x194)](_0x4f8926=>{const _0x22393a=_0x4f382d,_0x53af83=this[_0x22393a(0x343)](_0x4f8926);if(_0x53af83[_0x22393a(0x1f8)]===0x0)return;const _0x20ef85=this['selectBestOperator'](_0x4f8926,_0x53af83),_0x416e9d=this[_0x22393a(0x2fe)](_0x4f8926,_0x20ef85),_0x2841d0={};_0x2841d0[_0x20ef85]=_0x416e9d,_0x1a7284[_0x4f8926['code']]=_0x2841d0;});const _0x4d7e81=_0x20e641['slice'](0x0,Math[_0x4f382d(0x15b)](0x5,_0x20e641[_0x4f382d(0x1f8)]))[_0x4f382d(0xac)](_0x3118c5=>_0x3118c5['code']),_0x45ffac=_0x20e641[0x0]?_0x20e641[0x0][_0x4f382d(0x22c)]:'id',_0x5b9f64={};_0x5b9f64[_0x45ffac]='DESC';const _0x25d107={};return _0x25d107[_0x4f382d(0x2b0)]=_0x1a7284,_0x25d107[_0x4f382d(0x2bb)]=_0x4d7e81,_0x25d107[_0x4f382d(0x147)]=[_0x5b9f64],_0x25d107[_0x4f382d(0xcf)]=0x1,_0x25d107['pageSize']=0x14,_0x25d107;}['generateSDKCallCode'](_0x540f93,_0x384a12){const _0x18753d=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x384a12||{},_0x729921=this[_0x18753d(0xd9)](),_0x13fd8d=this['generateRequestExample'](),_0x72e526=_0x5d6167=>{const _0x1e2450=_0x18753d;return JSON[_0x1e2450(0x10a)](_0x5d6167,null,0x2)[_0x1e2450(0x182)]('\x0a')[_0x1e2450(0xac)]((_0x4d6021,_0x22eea9)=>_0x22eea9===0x0?_0x4d6021:indent+_0x4d6021)['join']('\x0a');};if(useFullExample){const _0x547f3d=this[_0x18753d(0xc5)][_0x18753d(0x16a)]||[],_0x13a4bf={'where':_0x547f3d[0x0]?{[_0x547f3d[0x0]['code']]:{'$eq':this[_0x18753d(0x2fe)](_0x547f3d[0x0],'$eq')}}:{},'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x3)[_0x18753d(0xac)](_0x1bfb8a=>_0x1bfb8a['code']),'currentPage':0x1,'pageSize':0x14};let _0x455f76='';if(_0x547f3d[_0x18753d(0x1f8)]>=0x3){const _0x251377={};_0x251377[_0x18753d(0x349)]=[];const _0x3d1d68=_0x251377,_0x118a18=[];if(_0x547f3d[_0x18753d(0x1f8)]>0x0){const _0x4f78d8=_0x547f3d[_0x18753d(0x8b)](_0x45b655=>{const _0x48e813=_0x18753d,_0x7ccd8d=_0x45b655[_0x48e813(0x178)]();return['NUMBER',_0x48e813(0x2de),_0x48e813(0x33c),_0x48e813(0x250),'TINYINT',_0x48e813(0x1f7)][_0x48e813(0x128)](_0x7ccd8d);});if(_0x4f78d8){const _0x515d98={};_0x515d98[_0x18753d(0x323)]=0x0,_0x515d98[_0x18753d(0x1f1)]=0x64;const _0xc61026={[_0x4f78d8[_0x18753d(0x22c)]]:_0x515d98};_0x118a18[_0x18753d(0x2d5)](_0xc61026);}}if(_0x547f3d['length']>0x1){const _0x1f9836=_0x547f3d[_0x18753d(0x8b)](_0x28c040=>{const _0x56ef12=_0x18753d,_0x5b271c=_0x28c040['getDbTypeForOperation']();return[_0x56ef12(0xe1),_0x56ef12(0x1b1),_0x56ef12(0x106),'CHAR',_0x56ef12(0x1c2)][_0x56ef12(0x128)](_0x5b271c);});if(_0x1f9836){const _0x2b787d={};_0x2b787d[_0x18753d(0x1d7)]='keyword';const _0x494875={[_0x1f9836[_0x18753d(0x22c)]]:_0x2b787d};_0x118a18['push'](_0x494875);}}if(_0x118a18[_0x18753d(0x1f8)]>0x0){_0x3d1d68[_0x18753d(0x349)]=_0x118a18;const _0x1ea426={'where':_0x3d1d68,'select':_0x547f3d[_0x18753d(0x1f9)](0x0,0x4)[_0x18753d(0xac)](_0x10722a=>_0x10722a['code']),'orderBy':[{[_0x547f3d[0x0]['code']]:_0x18753d(0x91)}],'currentPage':0x1,'pageSize':0x14};_0x455f76='\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x1ea426)+');';}}return _0x18753d(0x15f)+_0x540f93+'.'+_0x729921+'('+_0x72e526(_0x13a4bf)+');'+_0x455f76;}const _0x1aac88=JSON[_0x18753d(0x10a)](_0x13fd8d,null,0x2)['split']('\x0a')['map']((_0x185404,_0x3a68a6)=>_0x3a68a6===0x0?_0x185404:indent+_0x185404)[_0x18753d(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x540f93+'.'+_0x729921+'('+_0x1aac88+');';}[a0_0x3e48cd(0x343)](_0x63d177){const _0x3e7db5=a0_0x3e48cd,_0x138049=_0x63d177[_0x3e7db5(0x178)](),_0x2cd2e4=[];if([_0x3e7db5(0x1dd),_0x3e7db5(0x2de),_0x3e7db5(0x33c),_0x3e7db5(0x28e)][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x250),_0x3e7db5(0x1a5),'SMALLINT','DOUBLE','FLOAT'][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne',_0x3e7db5(0x323),'$lte',_0x3e7db5(0x135),_0x3e7db5(0x344),_0x3e7db5(0x8d));else{if([_0x3e7db5(0xe1),_0x3e7db5(0x1b1),_0x3e7db5(0x106)]['includes'](_0x138049)||[_0x3e7db5(0x163),_0x3e7db5(0x1c2)][_0x3e7db5(0x128)](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),'$ne','$in',_0x3e7db5(0x1d7),_0x3e7db5(0x1c4),'$endWith');else{if([_0x3e7db5(0x303),'DATETIME','TIMESTAMP'][_0x3e7db5(0x128)](_0x138049)||[_0x3e7db5(0x258)]['includes'](_0x138049))_0x2cd2e4[_0x3e7db5(0x2d5)]('$eq',_0x3e7db5(0x203),_0x3e7db5(0x323),_0x3e7db5(0x1f1),_0x3e7db5(0x135),'$lteq');else[_0x3e7db5(0x9d),_0x3e7db5(0x184),_0x3e7db5(0x2a3)][_0x3e7db5(0x128)](_0x138049)?_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203)):_0x2cd2e4[_0x3e7db5(0x2d5)](_0x3e7db5(0xab),_0x3e7db5(0x203));}}return _0x2cd2e4;}[a0_0x3e48cd(0xa7)](_0x2d3492,_0x22fcda){const _0x400c71=a0_0x3e48cd,_0x3161c2=_0x2d3492[_0x400c71(0x178)]();if(['NUMBER',_0x400c71(0x2de),'BIGINT',_0x400c71(0x28e)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x250),'TINYINT','SMALLINT',_0x400c71(0x234),_0x400c71(0xff)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':'$eq';if([_0x400c71(0xe1),'TEXT',_0x400c71(0x106)][_0x400c71(0x128)](_0x3161c2)||[_0x400c71(0x163),_0x400c71(0x1c2)]['includes'](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x1d7))?'$contain':_0x400c71(0xab);if([_0x400c71(0x303),_0x400c71(0x100),_0x400c71(0x33d),_0x400c71(0x258)][_0x400c71(0x128)](_0x3161c2))return _0x22fcda[_0x400c71(0x128)](_0x400c71(0x323))?'$gte':_0x400c71(0xab);return'$eq';}[a0_0x3e48cd(0x2fe)](_0x11c2a3,_0x591e1b){const _0x5493ff=a0_0x3e48cd,_0x4bdce4=_0x11c2a3[_0x5493ff(0x178)](),_0x56b615=_0x11c2a3[_0x5493ff(0x118)]();if(_0x56b615&&_0x56b615[_0x5493ff(0x1f8)]>0x0){if(_0x591e1b===_0x5493ff(0x8d))return _0x56b615[_0x5493ff(0x1f9)](0x0,0x2)[_0x5493ff(0xac)](_0x126d48=>_0x126d48['value']);return _0x56b615[0x0]['value'];}if([_0x5493ff(0x1dd),_0x5493ff(0x2de),_0x5493ff(0x33c),_0x5493ff(0x28e)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x250),_0x5493ff(0x1a5),_0x5493ff(0x1f7),_0x5493ff(0x234),_0x5493ff(0xff)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return[0x1,0x2,0x3];if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return 0x0;if(_0x591e1b===_0x5493ff(0x1f1)||_0x591e1b==='$lteq')return 0x64;return 0x1;}if([_0x5493ff(0xe1),_0x5493ff(0x1b1),_0x5493ff(0x106)][_0x5493ff(0x128)](_0x4bdce4)||[_0x5493ff(0x163),_0x5493ff(0x1c2)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x8d))return['value1',_0x5493ff(0x1ad)];if(_0x591e1b===_0x5493ff(0x1d7))return'keyword';if(_0x591e1b===_0x5493ff(0x1c4))return'prefix';if(_0x591e1b==='$endWith')return'suffix';return _0x5493ff(0x2d3);}if([_0x5493ff(0x303),_0x5493ff(0x100),'TIMESTAMP',_0x5493ff(0x258)][_0x5493ff(0x128)](_0x4bdce4)){if(_0x591e1b===_0x5493ff(0x323)||_0x591e1b===_0x5493ff(0x135))return'2024-01-01';if(_0x591e1b==='$lte'||_0x591e1b==='$lteq')return'2024-12-31';return'2024-01-01';}if([_0x5493ff(0x9d),'BOOL','BIT'][_0x5493ff(0x128)](_0x4bdce4))return!![];return _0x591e1b===_0x5493ff(0x8d)?[_0x5493ff(0x15a),_0x5493ff(0x1ad)]:_0x5493ff(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x59476a=a0_0x3e48cd,_0x4f4f8c=super['getRequestParams'](),_0x217e8c=Object['entries'](_0x4f4f8c)[_0x59476a(0x2af)](([_0x17ac40])=>_0x17ac40!=='currentPage'&&_0x17ac40!==_0x59476a(0x1e0))[_0x59476a(0xac)](([_0x1d87f0,_0x213101])=>{const _0x12dae3=_0x59476a,_0x55ff3e=_0x213101,_0x1a7101={};return _0x1a7101['name']=_0x1d87f0,_0x1a7101[_0x12dae3(0x299)]=_0x55ff3e[_0x12dae3(0x299)]||'String',_0x1a7101['description']=_0x55ff3e[_0x12dae3(0x2b7)]||'-',_0x1a7101[_0x12dae3(0x180)]=_0x55ff3e[_0x12dae3(0x180)],_0x1a7101;}),_0x284456={};return _0x284456[_0x59476a(0x2b7)]=_0x59476a(0x2ee),_0x284456[_0x59476a(0x26b)]=_0x217e8c,_0x284456;}}class ExcelExportOperation extends GenericOperation{[a0_0x3e48cd(0x114)](){const _0x5ad906=a0_0x3e48cd,_0x29ec84=super[_0x5ad906(0x114)]();if(Object[_0x5ad906(0x326)](_0x29ec84)[_0x5ad906(0x1f8)]===0x0){const _0x578df3={};this['context']['fields'][_0x5ad906(0x194)](_0x543e25=>{const _0x3a1d59=_0x5ad906;if(_0x543e25){const _0x5a800a=_0x543e25['code'],_0xb0eb41=_0x543e25[_0x3a1d59(0x178)](),_0x390ea1={};_0x390ea1[_0x3a1d59(0x299)]=_0xb0eb41||_0x3a1d59(0x1b1),_0x390ea1[_0x3a1d59(0x233)]=_0x543e25['sortNum'],_0x390ea1[_0x3a1d59(0x2b7)]=_0x543e25['description']||_0x543e25[_0x3a1d59(0x246)],_0x578df3[_0x5a800a]=_0x390ea1;}});const _0xc6b57b={};_0xc6b57b['type']='Integer',_0xc6b57b[_0x5ad906(0x2b7)]='当前页码(可选)',_0x578df3[_0x5ad906(0xcf)]=_0xc6b57b;const _0x2fb016={};return _0x2fb016[_0x5ad906(0x299)]=_0x5ad906(0x27d),_0x2fb016['description']=_0x5ad906(0x134),_0x578df3[_0x5ad906(0x1e0)]=_0x2fb016,_0x578df3;}return _0x29ec84;}[a0_0x3e48cd(0x209)](){const _0x5db4d4=a0_0x3e48cd,_0x1131a9=super[_0x5db4d4(0x209)]();if(Object['keys'](_0x1131a9)[_0x5db4d4(0x1f8)]===0x0){const _0x58d19d={};return _0x58d19d[_0x5db4d4(0xcf)]=0x1,_0x58d19d[_0x5db4d4(0x1e0)]=0x64,_0x58d19d;}const _0x3529c4={..._0x1131a9};return _0x3529c4['currentPage']=_0x1131a9[_0x5db4d4(0xcf)]??0x1,_0x3529c4['pageSize']=_0x1131a9[_0x5db4d4(0x1e0)]??0x64,_0x3529c4;}[a0_0x3e48cd(0xd5)](){const _0x1117c5=a0_0x3e48cd,_0x270365={};return _0x270365[_0x1117c5(0x2c3)]=!![],_0x270365[_0x1117c5(0x1ab)]='',_0x270365['errorMsg']='',_0x270365['errorCode']=_0x1117c5(0x23e),_0x270365[_0x1117c5(0x32f)]=_0x1117c5(0x14f),_0x270365[_0x1117c5(0x26b)]=null,_0x270365;}[a0_0x3e48cd(0x27a)](_0x5eeddc,_0x10c62b){const _0x5265e4=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x10c62b||{},_0x3de353=this[_0x5265e4(0xd9)]();if(useFullExample){const _0xa7483f=this['generateRequestExample'](),{currentPage:_0x201bd4,pageSize:_0x4e8d76,..._0xd1db74}=_0xa7483f,_0xba52dc=Object[_0x5265e4(0x326)](_0xd1db74)[_0x5265e4(0x1f8)]>0x0;if(_0xba52dc){const _0x1ca2ea=_0x368175=>{const _0x22265c=_0x5265e4;return JSON['stringify'](_0x368175,null,0x2)[_0x22265c(0x182)]('\x0a')['map']((_0x2489b7,_0x306140)=>_0x306140===0x0?_0x2489b7:indent+_0x2489b7)[_0x22265c(0x103)]('\x0a');};return'//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x5eeddc+'.'+_0x3de353+'('+_0x1ca2ea(_0xa7483f)+');';}else{const _0x41385f=_0x440e96=>{const _0x3260cd=_0x5265e4;return JSON[_0x3260cd(0x10a)](_0x440e96,null,0x2)['split']('\x0a')[_0x3260cd(0xac)]((_0x4419d5,_0x327cce)=>_0x327cce===0x0?_0x4419d5:indent+_0x4419d5)[_0x3260cd(0x103)]('\x0a');},_0x4899e6={};return _0x4899e6['currentPage']=0x1,_0x4899e6[_0x5265e4(0x1e0)]=0x64,_0x5265e4(0x190)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x2e4)+_0x5eeddc+'.'+_0x3de353+'('+_0x41385f(_0x4899e6)+');';}}return _0x5265e4(0x15c)+_0x5eeddc+'.'+_0x3de353+_0x5265e4(0x93);}[a0_0x3e48cd(0x17e)](_0x3da0da){const _0x701cde=a0_0x3e48cd,_0x5608b1=this[_0x701cde(0xd9)](),_0x210edd=_0x3da0da||'yourModel',_0x512453='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x210edd+'.'+_0x5608b1+_0x701cde(0x31a),_0xd79040=_0x701cde(0x242)+_0x210edd+'.'+_0x5608b1+_0x701cde(0x90),_0x33bba3={};return _0x33bba3[_0x701cde(0x1de)]=_0x512453,_0x33bba3[_0x701cde(0x1a1)]=_0xd79040,_0x33bba3;}}class UpdateOperation extends GenericOperation{['getUpdateFields'](){return this['parseRawRequestBody']();}[a0_0x3e48cd(0x114)](){const _0x192540=a0_0x3e48cd,_0x131edd=this['getUpdateFields'](),_0x37a404={};_0x37a404[_0x192540(0x299)]=_0x192540(0x1dd),_0x37a404[_0x192540(0x2b7)]='主键ID(必填)',_0x37a404[_0x192540(0x180)]=!![];const _0x1aac7e={};_0x1aac7e[_0x192540(0x299)]=_0x192540(0x335),_0x1aac7e[_0x192540(0x2b7)]=_0x192540(0x1f3),_0x1aac7e[_0x192540(0x180)]=!![],_0x1aac7e['properties']=_0x131edd;const _0x5712d3={};return _0x5712d3['id']=_0x37a404,_0x5712d3[_0x192540(0x32f)]=_0x1aac7e,_0x5712d3;}[a0_0x3e48cd(0x138)](){return this['getUpdateFields']();}[a0_0x3e48cd(0x2d9)](){const _0x2f2363=a0_0x3e48cd,_0x247c75=this['context'][_0x2f2363(0x16a)]||[],_0x1b00ee=this['context'][_0x2f2363(0x33b)],_0x3b6f00=_0x247c75[_0x2f2363(0x8b)](_0x1590f7=>_0x1590f7[_0x2f2363(0xb8)]()||_0x1590f7[_0x2f2363(0x22c)]===_0x1b00ee),_0x28117d=_0x247c75[_0x2f2363(0x2af)](_0x26f42b=>{const _0x2598c2=_0x2f2363;if(_0x26f42b[_0x2598c2(0x24b)])return![];if(_0x26f42b===_0x3b6f00||_0x26f42b[_0x2598c2(0xb8)]())return![];if(_0x26f42b['isCreateTime']()||_0x26f42b[_0x2598c2(0xe4)]())return![];if(_0x26f42b[_0x2598c2(0x305)]())return![];return!![];});return _0x3b6f00?[_0x3b6f00,..._0x28117d]:_0x28117d;}['getHTTPRequestParamsDocInfo'](){const _0x4757d4=a0_0x3e48cd,_0x377f52=this['getHTTPFields'](),_0x4a6d5b=this[_0x4757d4(0xc5)][_0x4757d4(0x33b)],_0x5e2167=_0x377f52[_0x4757d4(0xac)](_0x1c0040=>{const _0x2e9cf5=_0x4757d4,_0x4dfa5b=_0x1c0040[_0x2e9cf5(0xb8)]()||_0x1c0040[_0x2e9cf5(0x22c)]===_0x4a6d5b,_0x4158fe=_0x4dfa5b?'id':_0x1c0040[_0x2e9cf5(0x22c)],_0x229cee={};return _0x229cee['name']=_0x4158fe,_0x229cee[_0x2e9cf5(0x299)]=_0x1c0040['type'],_0x229cee[_0x2e9cf5(0x2b7)]=_0x4dfa5b?'主键,用于定位要更新的记录'+(_0x4a6d5b&&_0x4a6d5b!==_0x1c0040[_0x2e9cf5(0x22c)]?'(实际字段:'+_0x1c0040[_0x2e9cf5(0x22c)]+')':''):_0x1c0040['description']||_0x1c0040['name'],_0x229cee;}),_0x364473={};return _0x364473[_0x4757d4(0x2b7)]='HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。',_0x364473['params']=_0x5e2167,_0x364473;}['getRequestParamsDocInfo'](){const _0x1ee183=a0_0x3e48cd,_0x5369c0=this[_0x1ee183(0x30a)](),_0x56aa75=Object[_0x1ee183(0x256)](_0x5369c0)['map'](([_0x1a4b38,_0x2bf702])=>{const _0xe3e6dc=_0x1ee183,_0x403c72=_0x2bf702,_0x2898b9={};return _0x2898b9['name']=_0x1a4b38,_0x2898b9[_0xe3e6dc(0x299)]=_0x403c72[_0xe3e6dc(0x299)]||_0xe3e6dc(0x290),_0x2898b9[_0xe3e6dc(0x2b7)]=_0x403c72[_0xe3e6dc(0x2b7)]||'-',_0x2898b9;}),_0x53444a={};return _0x53444a['description']=_0x1ee183(0x2ae)+_0x1ee183(0x27c)+_0x1ee183(0x263)+_0x1ee183(0x200)+_0x1ee183(0x19c)+_0x1ee183(0x20e),_0x53444a['params']=_0x56aa75,_0x53444a;}[a0_0x3e48cd(0x209)](){const _0x1528a0=a0_0x3e48cd,_0xbac11f=this['getUpdateFields'](),_0x587ce8={};Object[_0x1528a0(0x256)](_0xbac11f)['forEach'](([_0x1e12ea,_0x1982ea])=>{const _0x516621=_0x1528a0,_0xac452a=_0x1982ea;let _0x2b29fc;if(typeof _0xac452a[_0x516621(0x299)]==='string')_0x2b29fc=_0xac452a[_0x516621(0x299)];else _0xac452a[_0x516621(0x299)]&&typeof _0xac452a[_0x516621(0x299)]===_0x516621(0x335)?_0x2b29fc=_0xac452a[_0x516621(0x299)]['type']||_0x516621(0x1b1):_0x2b29fc=_0x516621(0x1b1);const _0x24c2f3=_0xac452a['description'],_0x2796b7=this[_0x516621(0x28a)](_0x1e12ea);_0x587ce8[_0x1e12ea]=this[_0x516621(0x291)](_0x1e12ea,_0x2b29fc,_0x2796b7?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x24c2f3||_0x2796b7?.['description']||_0x2796b7?.['name']});});const _0x36c834={};return _0x36c834['id']=0x1,_0x36c834[_0x1528a0(0x32f)]=_0x587ce8,_0x36c834;}[a0_0x3e48cd(0x333)](){const _0x2aa422=a0_0x3e48cd,_0x4f86bf=this[_0x2aa422(0x209)](),_0x14e559={};return _0x14e559[_0x2aa422(0xbb)]=_0x2aa422(0x21e),_0x14e559['description']=_0x2aa422(0x19e)+_0x2aa422(0x248)+_0x2aa422(0x1fd),_0x14e559[_0x2aa422(0x32f)]=_0x4f86bf,[_0x14e559,{'title':_0x2aa422(0x1ca),'description':_0x2aa422(0x25a)+_0x2aa422(0x1be)+_0x2aa422(0xf9),'data':this[_0x2aa422(0x2f1)]()}];}[a0_0x3e48cd(0x2f1)](){const _0x304e60=a0_0x3e48cd,_0x41fbe1=this[_0x304e60(0x30a)](),_0x2cca9a={};_0x2cca9a['id']=0x1;const _0x5ed943=_0x2cca9a;return Object[_0x304e60(0x256)](_0x41fbe1)[_0x304e60(0x194)](([_0x56e976,_0x278c5b])=>{const _0x190506=_0x304e60,_0xda3b9b=_0x278c5b;let _0x5b2d93;if(typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x278))_0x5b2d93=_0xda3b9b[_0x190506(0x299)];else _0xda3b9b['type']&&typeof _0xda3b9b[_0x190506(0x299)]===_0x190506(0x335)?_0x5b2d93=_0xda3b9b[_0x190506(0x299)][_0x190506(0x299)]||_0x190506(0x1b1):_0x5b2d93=_0x190506(0x1b1);const _0xd4a696=_0xda3b9b[_0x190506(0x2b7)],_0x47178b=this[_0x190506(0x28a)](_0x56e976);if(_0x47178b?.[_0x190506(0xb8)]())return;_0x5ed943[_0x56e976]=this['generateFieldExample'](_0x56e976,_0x5b2d93,_0x47178b?.[_0x190506(0x178)](),{'isPrimaryKey':![],'description':_0xd4a696||_0x47178b?.[_0x190506(0x2b7)]||_0x47178b?.[_0x190506(0x246)]});}),_0x5ed943;}[a0_0x3e48cd(0x197)](){const _0x54faa6=a0_0x3e48cd;return this[_0x54faa6(0x2f1)]();}['generateSDKCallCode'](_0x5c5022,_0x2dd7bc){const _0x5d7372=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x2dd7bc||{},_0xe8f38d=this[_0x5d7372(0xd9)]();if(useFullExample){const _0xf295a1=this[_0x5d7372(0x209)](),_0x25381b=JSON[_0x5d7372(0x10a)](_0xf295a1['data'],null,0x2)[_0x5d7372(0x182)]('\x0a')[_0x5d7372(0xac)]((_0x5e611c,_0x42ca70)=>_0x42ca70===0x0?_0x5e611c:indent+_0x5e611c)['join']('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x5c5022+'.'+_0xe8f38d+'('+_0xf295a1['id']+',\x20'+_0x25381b+');';}return _0x5d7372(0x331)+_0x5c5022+'.'+_0xe8f38d+_0x5d7372(0x2cb);}}class AggregateOperation extends GenericOperation{constructor(_0x53278c,_0x3fccd1,_0x3e9700){super(_0x53278c,_0x3fccd1,_0x3e9700);}[a0_0x3e48cd(0x33e)](_0x22e571){const _0x344aab=a0_0x3e48cd;return _0x22e571[_0x344aab(0x15d)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0x344aab(0x199)]()[_0x344aab(0x279)]();}[a0_0x3e48cd(0x270)](){return AGGREGATE_FUNCTIONS;}[a0_0x3e48cd(0x114)](){const _0x3a179e=a0_0x3e48cd,_0x2f16f2=super[_0x3a179e(0x114)](),_0xe08c72={};_0xe08c72[_0x3a179e(0x299)]='String[]',_0xe08c72[_0x3a179e(0x2b7)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)',_0xe08c72['required']=![];const _0x3692a6={};_0x3692a6[_0x3a179e(0x299)]=_0x3a179e(0x288),_0x3692a6[_0x3a179e(0x2b7)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x3692a6['required']=![];const _0x52cb88={};_0x52cb88[_0x3a179e(0x299)]=_0x3a179e(0x162),_0x52cb88[_0x3a179e(0x2b7)]='分组字段列表',_0x52cb88[_0x3a179e(0x180)]=![];const _0x57c6f9={};_0x57c6f9[_0x3a179e(0x299)]='Array',_0x57c6f9[_0x3a179e(0x2b7)]=_0x3a179e(0x34f),_0x57c6f9[_0x3a179e(0x180)]=![];const _0x5a548e={};_0x5a548e[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x5a548e['description']='分组后的过滤条件(对聚合结果进行过滤)',_0x5a548e['required']=![];const _0x22dcd5={};_0x22dcd5[_0x3a179e(0x299)]=_0x3a179e(0x2f8),_0x22dcd5['description']=_0x3a179e(0x1e6),_0x22dcd5[_0x3a179e(0x180)]=![];const _0x5ee8da={};_0x5ee8da[_0x3a179e(0x299)]='Number',_0x5ee8da[_0x3a179e(0x2b7)]=_0x3a179e(0xf0),_0x5ee8da[_0x3a179e(0x180)]=![];const _0x16c27c={};_0x16c27c[_0x3a179e(0x299)]=_0x3a179e(0x186),_0x16c27c[_0x3a179e(0x2b7)]=_0x3a179e(0x338),_0x16c27c[_0x3a179e(0x180)]=![];const _0x2c1690={..._0x2f16f2};return _0x2c1690[_0x3a179e(0x2bb)]=_0xe08c72,_0x2c1690[_0x3a179e(0x2b0)]=_0x3692a6,_0x2c1690['groupBy']=_0x52cb88,_0x2c1690['aggregate']=_0x57c6f9,_0x2c1690[_0x3a179e(0x1eb)]=_0x5a548e,_0x2c1690[_0x3a179e(0x147)]=_0x22dcd5,_0x2c1690[_0x3a179e(0xcf)]=_0x5ee8da,_0x2c1690['pageSize']=_0x16c27c,_0x2c1690;}['getSystemFields'](){const _0x5b498f=a0_0x3e48cd,_0xba0caa={};_0xba0caa['code']=_0x5b498f(0x2bb),_0xba0caa[_0x5b498f(0x299)]=_0x5b498f(0x162),_0xba0caa[_0x5b498f(0x2b7)]=_0x5b498f(0x33f);const _0x18c48f={};_0x18c48f[_0x5b498f(0x22c)]=_0x5b498f(0x2b0),_0x18c48f[_0x5b498f(0x299)]='Object',_0x18c48f[_0x5b498f(0x2b7)]=_0x5b498f(0x277);const _0x4ad2af={};_0x4ad2af[_0x5b498f(0x22c)]=_0x5b498f(0x1ea),_0x4ad2af[_0x5b498f(0x299)]=_0x5b498f(0x162),_0x4ad2af[_0x5b498f(0x2b7)]=_0x5b498f(0x2da);const _0x29438e={};_0x29438e[_0x5b498f(0x22c)]='aggregate',_0x29438e[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x29438e[_0x5b498f(0x2b7)]=_0x5b498f(0xb0);const _0x4aa7d2={};_0x4aa7d2[_0x5b498f(0x22c)]='having',_0x4aa7d2[_0x5b498f(0x299)]='Array',_0x4aa7d2['description']=_0x5b498f(0x1a4);const _0x345764={};_0x345764[_0x5b498f(0x22c)]=_0x5b498f(0x147),_0x345764[_0x5b498f(0x299)]=_0x5b498f(0x2f8),_0x345764['description']=_0x5b498f(0x1e6);const _0x1821d={};_0x1821d['code']=_0x5b498f(0xcf),_0x1821d[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x1821d[_0x5b498f(0x2b7)]=_0x5b498f(0xf0);const _0x374ab7={};return _0x374ab7[_0x5b498f(0x22c)]='pageSize',_0x374ab7[_0x5b498f(0x299)]=_0x5b498f(0x186),_0x374ab7[_0x5b498f(0x2b7)]=_0x5b498f(0x338),[_0xba0caa,_0x18c48f,_0x4ad2af,_0x29438e,_0x4aa7d2,_0x345764,_0x1821d,_0x374ab7];}[a0_0x3e48cd(0x209)](){const _0x4d892b=a0_0x3e48cd,_0x2b22a4=this[_0x4d892b(0xc5)][_0x4d892b(0x16a)]||[];if(_0x2b22a4[_0x4d892b(0x1f8)]===0x0){const _0x32e91c={};return _0x32e91c[_0x4d892b(0x2b0)]={},_0x32e91c['groupBy']=[],_0x32e91c[_0x4d892b(0x17c)]=[],_0x32e91c;}const _0x3ac72b={},_0x580ba1=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x3,_0x2b22a4['length']));_0x580ba1[_0x4d892b(0x194)](_0x39d43e=>{const _0x2aeb69=_0x4d892b,_0x4a6b04=this['getApplicableOperators'](_0x39d43e);if(_0x4a6b04[_0x2aeb69(0x1f8)]===0x0)return;const _0x5dce87=this[_0x2aeb69(0xa7)](_0x39d43e,_0x4a6b04),_0x44d331=this[_0x2aeb69(0x2fe)](_0x39d43e,_0x5dce87),_0x5eb09e={};_0x5eb09e[_0x5dce87]=_0x44d331,_0x3ac72b[_0x39d43e[_0x2aeb69(0x22c)]]=_0x5eb09e;});const _0x4b1b72=_0x2b22a4[_0x4d892b(0x1f9)](0x0,Math[_0x4d892b(0x15b)](0x2,_0x2b22a4[_0x4d892b(0x1f8)]))[_0x4d892b(0xac)](_0xabdcee=>_0xabdcee[_0x4d892b(0x22c)]),_0x1c1452=[],_0x5864aa=_0x2b22a4[_0x4d892b(0x2af)](_0x5b83d0=>this[_0x4d892b(0xf3)](_0x5b83d0));if(_0x5864aa[_0x4d892b(0x1f8)]>0x0){const _0x152774=_0x5864aa[0x0],_0x1dd47d=_0x152774[_0x4d892b(0x22c)],_0x535796={};_0x535796['type']=_0x4d892b(0xee),_0x535796[_0x4d892b(0x1d6)]=_0x1dd47d,_0x535796[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2fd),_0x535796[_0x4d892b(0x230)]=![],_0x535796[_0x4d892b(0xa3)]=!![],_0x535796[_0x4d892b(0x29c)]=0x2,_0x1c1452['push'](_0x535796);const _0x429ab2={};_0x429ab2[_0x4d892b(0x299)]=_0x4d892b(0x99),_0x429ab2[_0x4d892b(0x1d6)]=_0x1dd47d,_0x429ab2[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x265),_0x429ab2[_0x4d892b(0x230)]=![],_0x429ab2[_0x4d892b(0xa3)]=!![],_0x429ab2[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x429ab2);const _0x4c0e9c={};_0x4c0e9c[_0x4d892b(0x299)]=_0x4d892b(0x2db),_0x4c0e9c[_0x4d892b(0x1d6)]=_0x1dd47d,_0x4c0e9c['alias']=_0x1dd47d+_0x4d892b(0x1b5),_0x4c0e9c[_0x4d892b(0x230)]=![],_0x4c0e9c[_0x4d892b(0xa3)]=!![],_0x4c0e9c[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x4c0e9c);const _0x362950={};_0x362950[_0x4d892b(0x299)]='min',_0x362950[_0x4d892b(0x1d6)]=_0x1dd47d,_0x362950[_0x4d892b(0x316)]=_0x1dd47d+_0x4d892b(0x2e9),_0x362950[_0x4d892b(0x230)]=![],_0x362950[_0x4d892b(0xa3)]=!![],_0x362950[_0x4d892b(0x29c)]=0x2,_0x1c1452[_0x4d892b(0x2d5)](_0x362950);}else{if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x1715cc=_0x2b22a4[0x0],_0x27c72d=_0x1715cc[_0x4d892b(0x22c)],_0x318b14={};_0x318b14[_0x4d892b(0x299)]='count',_0x318b14[_0x4d892b(0x1d6)]=_0x27c72d,_0x318b14[_0x4d892b(0x316)]='total_count',_0x318b14[_0x4d892b(0x230)]=!![],_0x1c1452[_0x4d892b(0x2d5)](_0x318b14);}}const _0x5f349a=[];if(_0x2b22a4[_0x4d892b(0x1f8)]>0x0){const _0x57af4b=_0x2b22a4[0x0][_0x4d892b(0x22c)],_0x5a505d={};_0x5a505d[_0x57af4b]=_0x4d892b(0x1bf),_0x5f349a[_0x4d892b(0x2d5)](_0x5a505d);}const _0x84f534=[..._0x4b1b72,..._0x1c1452[_0x4d892b(0xac)](_0x32df2b=>_0x32df2b[_0x4d892b(0x316)])],_0xf2eb88=[];if(_0x1c1452[_0x4d892b(0x1f8)]>0x0){const _0x16b48f={};_0x16b48f[_0x4d892b(0x323)]=0x0;const _0xb0b447={};_0xb0b447[_0x4d892b(0x29f)]=_0x1c1452[0x0][_0x4d892b(0x316)],_0xb0b447[_0x4d892b(0xc9)]=_0x16b48f,_0xf2eb88[_0x4d892b(0x2d5)](_0xb0b447);}const _0x34fce8={};return _0x34fce8[_0x4d892b(0x2bb)]=_0x84f534,_0x34fce8[_0x4d892b(0x2b0)]=_0x3ac72b,_0x34fce8[_0x4d892b(0x1ea)]=_0x4b1b72,_0x34fce8['aggregate']=_0x1c1452,_0x34fce8[_0x4d892b(0x1eb)]=_0xf2eb88[_0x4d892b(0x1f8)]>0x0?_0xf2eb88:undefined,_0x34fce8['orderBy']=_0x5f349a,_0x34fce8[_0x4d892b(0xcf)]=0x1,_0x34fce8[_0x4d892b(0x1e0)]=0x14,_0x34fce8;}['generateSDKCallCode'](_0x19f94d,_0x41cb46){const _0x14064a=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x41cb46||{},_0x5485ad=this['getName'](),_0x5bc4b5=this[_0x14064a(0x209)](),_0x166e18=_0x44a2af=>{const _0x38a096=_0x14064a;return JSON[_0x38a096(0x10a)](_0x44a2af,null,0x2)[_0x38a096(0x182)]('\x0a')[_0x38a096(0xac)]((_0x3f703f,_0x2588f4)=>_0x2588f4===0x0?_0x3f703f:indent+_0x3f703f)['join']('\x0a');};if(useFullExample){const _0x91d098=this[_0x14064a(0xc5)]['fields']||[],_0x35f703=_0x91d098[_0x14064a(0x2af)](_0x2a5e58=>this['isNumericField'](_0x2a5e58)),_0x2e3192={'where':_0x91d098[0x0]?{[_0x91d098[0x0][_0x14064a(0x22c)]]:{'$eq':this['generateExampleValue'](_0x91d098[0x0],_0x14064a(0xab))}}:{},'aggregate':_0x35f703[_0x14064a(0x1f8)]>0x0?[{'type':_0x14064a(0xee),'column':_0x35f703[0x0][_0x14064a(0x22c)],'alias':_0x35f703[0x0][_0x14064a(0x22c)]+_0x14064a(0x2fd),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x14064a(0x26c),'column':_0x91d098[0x0][_0x14064a(0x22c)],'alias':_0x14064a(0x1c5),'distinct':!![]}],'orderBy':[{[_0x91d098[0x0][_0x14064a(0x22c)]]:_0x14064a(0x1bf)}]};let _0x8a9776='';return _0x91d098[_0x14064a(0x1f8)]>=0x3&&(_0x8a9776='\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x5bc4b5)+');'),'//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0x166e18(_0x2e3192)+');'+_0x8a9776;}const _0xcd5573=JSON[_0x14064a(0x10a)](_0x5bc4b5,null,0x2)[_0x14064a(0x182)]('\x0a')['map']((_0xcc835b,_0x4a3439)=>_0x4a3439===0x0?_0xcc835b:indent+_0xcc835b)[_0x14064a(0x103)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x19f94d+'.'+_0x5485ad+'('+_0xcd5573+');';}['isNumericField'](_0x1415ee){const _0x4573b1=a0_0x3e48cd,_0x46691a=_0x1415ee[_0x4573b1(0x178)]();return[_0x4573b1(0x1dd),_0x4573b1(0x2de),_0x4573b1(0x33c),_0x4573b1(0x28e)][_0x4573b1(0x128)](_0x46691a)||[_0x4573b1(0x250),_0x4573b1(0x1a5),_0x4573b1(0x1f7),_0x4573b1(0x234),_0x4573b1(0xff)][_0x4573b1(0x128)](_0x46691a);}[a0_0x3e48cd(0x343)](_0x3abe93){const _0x5e760b=a0_0x3e48cd,_0x15b356=_0x3abe93[_0x5e760b(0x178)](),_0x496a31=[];if([_0x5e760b(0x1dd),'INTEGER',_0x5e760b(0x33c),_0x5e760b(0x28e)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x250),'TINYINT',_0x5e760b(0x1f7),'DOUBLE',_0x5e760b(0xff)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),_0x5e760b(0x323),_0x5e760b(0x1f1),'$gteq',_0x5e760b(0x344),'$in');else{if([_0x5e760b(0xe1),'TEXT','VARCHAR'][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x163),_0x5e760b(0x1c2)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$in','$contain',_0x5e760b(0x1c4),_0x5e760b(0x212));else{if([_0x5e760b(0x303),_0x5e760b(0x100),_0x5e760b(0x33d)][_0x5e760b(0x128)](_0x15b356)||[_0x5e760b(0x258)][_0x5e760b(0x128)](_0x15b356))_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),_0x5e760b(0x203),'$gte',_0x5e760b(0x1f1),_0x5e760b(0x135),_0x5e760b(0x344));else[_0x5e760b(0x9d),_0x5e760b(0x184),_0x5e760b(0x2a3)][_0x5e760b(0x128)](_0x15b356)?_0x496a31[_0x5e760b(0x2d5)](_0x5e760b(0xab),'$ne'):_0x496a31['push']('$eq',_0x5e760b(0x203));}}return _0x496a31;}[a0_0x3e48cd(0xa7)](_0x462824,_0x1ac0f4){const _0x5e0e7b=a0_0x3e48cd,_0x311d4f=_0x462824['getDbTypeForOperation']();if([_0x5e0e7b(0x1dd),_0x5e0e7b(0x2de),_0x5e0e7b(0x33c),_0x5e0e7b(0x28e)]['includes'](_0x311d4f)||[_0x5e0e7b(0x250),_0x5e0e7b(0x1a5),_0x5e0e7b(0x1f7),_0x5e0e7b(0x234),'FLOAT'][_0x5e0e7b(0x128)](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x323))?_0x5e0e7b(0x323):_0x5e0e7b(0xab);if([_0x5e0e7b(0xe1),_0x5e0e7b(0x1b1),_0x5e0e7b(0x106)][_0x5e0e7b(0x128)](_0x311d4f)||[_0x5e0e7b(0x163),_0x5e0e7b(0x1c2)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)](_0x5e0e7b(0x1d7))?_0x5e0e7b(0x1d7):_0x5e0e7b(0xab);if([_0x5e0e7b(0x303),_0x5e0e7b(0x100),_0x5e0e7b(0x33d),_0x5e0e7b(0x258)]['includes'](_0x311d4f))return _0x1ac0f4[_0x5e0e7b(0x128)]('$gte')?_0x5e0e7b(0x323):_0x5e0e7b(0xab);return _0x5e0e7b(0xab);}['generateExampleValue'](_0xd5aeb1,_0x38944d){const _0x4519da=a0_0x3e48cd,_0x5f4e87=_0xd5aeb1[_0x4519da(0x178)](),_0x32682b=_0xd5aeb1[_0x4519da(0x118)]();if(_0x32682b&&_0x32682b[_0x4519da(0x1f8)]>0x0){if(_0x38944d===_0x4519da(0x8d))return _0x32682b[_0x4519da(0x1f9)](0x0,0x2)[_0x4519da(0xac)](_0x36b52f=>_0x36b52f[_0x4519da(0x2d3)]);return _0x32682b[0x0][_0x4519da(0x2d3)];}if([_0x4519da(0x1dd),_0x4519da(0x2de),_0x4519da(0x33c),'DECIMAL']['includes'](_0x5f4e87)||[_0x4519da(0x250),_0x4519da(0x1a5),'SMALLINT',_0x4519da(0x234),_0x4519da(0xff)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[0x1,0x2,0x3];if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return 0x0;if(_0x38944d===_0x4519da(0x1f1)||_0x38944d==='$lteq')return 0x64;return 0x1;}if([_0x4519da(0xe1),_0x4519da(0x1b1),_0x4519da(0x106)]['includes'](_0x5f4e87)||['CHAR',_0x4519da(0x1c2)][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x8d))return[_0x4519da(0x15a),_0x4519da(0x1ad)];if(_0x38944d===_0x4519da(0x1d7))return _0x4519da(0x193);if(_0x38944d===_0x4519da(0x1c4))return _0x4519da(0x188);if(_0x38944d==='$endWith')return _0x4519da(0x332);return'value';}if([_0x4519da(0x303),_0x4519da(0x100),_0x4519da(0x33d),'TIME'][_0x4519da(0x128)](_0x5f4e87)){if(_0x38944d===_0x4519da(0x323)||_0x38944d===_0x4519da(0x135))return _0x4519da(0x255);if(_0x38944d===_0x4519da(0x1f1)||_0x38944d===_0x4519da(0x344))return _0x4519da(0x150);return _0x4519da(0x255);}if([_0x4519da(0x9d),_0x4519da(0x184),_0x4519da(0x2a3)][_0x4519da(0x128)](_0x5f4e87))return!![];return _0x38944d===_0x4519da(0x8d)?[_0x4519da(0x15a),_0x4519da(0x1ad)]:_0x4519da(0x2d3);}[a0_0x3e48cd(0x249)](){const _0x5ca841=a0_0x3e48cd,_0x1da721=this['getRequestParams'](),_0x2d92b9=Object[_0x5ca841(0x256)](_0x1da721)['filter'](([_0x251e35])=>_0x251e35!==_0x5ca841(0xcf)&&_0x251e35!==_0x5ca841(0x1e0))['map'](([_0x27b182,_0x1b8102])=>{const _0x46eb94=_0x5ca841,_0x4ccad5=_0x1b8102,_0x5149c0={};return _0x5149c0[_0x46eb94(0x246)]=_0x27b182,_0x5149c0[_0x46eb94(0x299)]=_0x4ccad5[_0x46eb94(0x299)]||'String',_0x5149c0[_0x46eb94(0x2b7)]=_0x4ccad5[_0x46eb94(0x2b7)]||'-',_0x5149c0['required']=_0x4ccad5['required'],_0x5149c0;}),_0x4c0a2c={};return _0x4c0a2c[_0x5ca841(0x2b7)]=_0x5ca841(0x18a),_0x4c0a2c[_0x5ca841(0x26b)]=_0x2d92b9,_0x4c0a2c;}[a0_0x3e48cd(0xd5)](){const _0x461982=a0_0x3e48cd,_0x43f7ac=this[_0x461982(0x209)]()[_0x461982(0x17c)],_0x369a12=[{}],_0x40fd62=[];_0x43f7ac?.[_0x461982(0x194)](_0x26421f=>{const _0x1e240a=_0x461982,_0x427fe9={};_0x427fe9[_0x1e240a(0xbb)]=_0x26421f['alias'],_0x427fe9[_0x1e240a(0x2c7)]=_0x26421f[_0x1e240a(0x316)],_0x40fd62['push'](_0x427fe9),_0x369a12[0x0][_0x26421f['alias']]=_0x26421f['type']===_0x1e240a(0x26c)?0x64:Math['round'](Math[_0x1e240a(0xca)]()*0x64*0x64)/0x64;});const _0x40bec0={};_0x40bec0['pageSize']=0x1,_0x40bec0[_0x461982(0x1ac)]=0x64,_0x40bec0['currentPage']=0x1;const _0x27964f={};_0x27964f[_0x461982(0xec)]=_0x40bec0,_0x27964f['tableData']=_0x369a12,_0x27964f[_0x461982(0x336)]=_0x40fd62;const _0x96d5c4={};return _0x96d5c4[_0x461982(0x2c3)]=!![],_0x96d5c4[_0x461982(0x1ab)]='',_0x96d5c4[_0x461982(0x2d1)]='',_0x96d5c4[_0x461982(0x1a1)]=_0x461982(0x23e),_0x96d5c4[_0x461982(0x32f)]=_0x27964f,_0x96d5c4[_0x461982(0x26b)]=null,_0x96d5c4;}}class BatchCreateOperation extends GenericOperation{['generateRequestExample'](){const _0x171834=a0_0x3e48cd,_0x367c80=super[_0x171834(0x209)]();return Object['entries'](this[_0x171834(0x114)]())[_0x171834(0x194)](([_0x35b1cb,_0x3c983d])=>{const _0x3d7a36=_0x171834,_0x15f28a=_0x3c983d;if(this[_0x3d7a36(0x179)](_0x15f28a)[_0x3d7a36(0x279)]()!==_0x3d7a36(0x95))return;const _0x13441c=_0x15f28a[_0x3d7a36(0x1c6)];_0x13441c&&typeof _0x13441c===_0x3d7a36(0x335)&&!Array[_0x3d7a36(0x133)](_0x13441c)&&(_0x367c80[_0x35b1cb]=[this[_0x3d7a36(0x1a2)](_0x13441c)]);}),_0x367c80;}[a0_0x3e48cd(0x306)](){const _0xa4c0d7=a0_0x3e48cd,_0x2794ea=this[_0xa4c0d7(0x209)]();return Object[_0xa4c0d7(0x94)](_0x2794ea)[_0xa4c0d7(0x294)](Array[_0xa4c0d7(0x133)])?_0x2794ea:[_0x2794ea];}[a0_0x3e48cd(0x1ae)](){const _0x34d012=a0_0x3e48cd,_0x36d46a=this[_0x34d012(0x306)]();if(Array['isArray'](_0x36d46a)){const _0x16e562={};return _0x16e562['items']=_0x36d46a,_0x16e562;}if(!_0x36d46a||typeof _0x36d46a!==_0x34d012(0x335)){const _0x35d18f={};return _0x35d18f[_0x34d012(0x1c6)]=[_0x36d46a],_0x35d18f;}const _0x1c2ac1={};let _0x4c675a=![];Object['entries'](_0x36d46a)[_0x34d012(0x194)](([_0x477f31,_0x4b48cf])=>{const _0x3fae48=_0x34d012;if(Array[_0x3fae48(0x133)](_0x4b48cf)){const _0xf7f16f={};_0xf7f16f[_0x3fae48(0x1c6)]=_0x4b48cf,_0x1c2ac1[_0x477f31]=_0xf7f16f,_0x4c675a=!![];}else _0x1c2ac1[_0x477f31]=_0x4b48cf;});const _0x4a9150={};return _0x4a9150[_0x34d012(0x1c6)]=[_0x36d46a],_0x4c675a?_0x1c2ac1:_0x4a9150;}[a0_0x3e48cd(0x197)](){const _0xb82940=a0_0x3e48cd;return{'array':this[_0xb82940(0x306)](),'object':this[_0xb82940(0x1ae)]()};}[a0_0x3e48cd(0x333)](){const _0x48792a=a0_0x3e48cd;return[{'title':_0x48792a(0xd6),'description':'直接传入批量创建数据数组','data':this[_0x48792a(0x306)]()},{'title':_0x48792a(0x319),'description':_0x48792a(0xfd),'data':this[_0x48792a(0x1ae)]()}];}[a0_0x3e48cd(0x27a)](_0x86161e,_0x475f61){const _0x1758df=a0_0x3e48cd,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x475f61||{},_0x18598a=this[_0x1758df(0xd9)]();if(!useFullExample)return _0x1758df(0x331)+_0x86161e+'.'+_0x18598a+_0x1758df(0x221);const _0x15f871=_0x572648=>{const _0x3e6876=_0x1758df;return(JSON[_0x3e6876(0x10a)](_0x572648,null,0x2)||_0x3e6876(0x13c))[_0x3e6876(0x182)]('\x0a')[_0x3e6876(0xac)]((_0x29b013,_0x4d4129)=>_0x4d4129===0x0?_0x29b013:indent+_0x29b013)['join']('\x0a');},_0x5127c0=_0x15f871(this[_0x1758df(0x306)]()),_0x35cded=_0x15f871(this['generateItemsWrapperExample']());return[_0x1758df(0x1b0),_0x1758df(0x331)+_0x86161e+'.'+_0x18598a+'('+_0x5127c0+');','',_0x1758df(0x24c),_0x1758df(0x295)+_0x86161e+'.'+_0x18598a+'('+_0x35cded+');']['join']('\x0a');}[a0_0x3e48cd(0x1a2)](_0x12d809){const _0x4bed2a=a0_0x3e48cd,_0x215456={};return Object[_0x4bed2a(0x256)](_0x12d809)[_0x4bed2a(0x194)](([_0x53dc58,_0x177c6a])=>{const _0x2424df=_0x4bed2a,_0x29be5a=_0x177c6a,_0x47b562=this[_0x2424df(0x28a)](_0x53dc58);_0x215456[_0x53dc58]=this[_0x2424df(0x291)](_0x53dc58,this[_0x2424df(0x179)](_0x29be5a),_0x47b562?.['getDbTypeForOperation'](),{'isPrimaryKey':_0x47b562?.[_0x2424df(0xb8)](),'description':_0x29be5a[_0x2424df(0x2b7)]||_0x47b562?.[_0x2424df(0x2b7)]||_0x47b562?.['name']});}),_0x215456;}[a0_0x3e48cd(0x179)](_0xbfe92b){const _0x504922=a0_0x3e48cd,_0x223be1=_0xbfe92b['type'];if(typeof _0x223be1==='string')return _0x223be1;if(_0x223be1&&typeof _0x223be1===_0x504922(0x335)&&!Array[_0x504922(0x133)](_0x223be1))return _0x223be1[_0x504922(0x299)]||_0x504922(0x1b1);return _0x504922(0x1b1);}}class OperationFactory{[a0_0x3e48cd(0x25c)](_0x68431c,_0x7afc21,_0x131094){const _0x1e6b5c=a0_0x3e48cd;switch(_0x68431c){case _0x1e6b5c(0x346):return new GetSelectOptionsOperation(_0x68431c,_0x7afc21,_0x131094);case'getList':return new GetListOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x2af):return new FilterOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x119):return new ExcelExportOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x18c):return new UpdateOperation(_0x68431c,_0x7afc21,_0x131094);case _0x1e6b5c(0x17c):return new AggregateOperation(_0x68431c,_0x7afc21,_0x131094);case'batchCreate':return new BatchCreateOperation(_0x68431c,_0x7afc21,_0x131094);default:return new GenericOperation(_0x68431c,_0x7afc21,_0x131094);}}[a0_0x3e48cd(0x28d)](_0x9151b7,_0x75b929){const _0x485de8=a0_0x3e48cd,_0x287aad=new Map();return Object[_0x485de8(0x256)](_0x9151b7)[_0x485de8(0x194)](([_0x16924f,_0x57a41b])=>{const _0x2d4250=_0x485de8;_0x287aad[_0x2d4250(0x317)](_0x16924f,this[_0x2d4250(0x25c)](_0x16924f,_0x57a41b,_0x75b929));}),_0x287aad;}}class OperationList{['_operations'];constructor(_0x2cdac3,_0x7f97eb){const _0x3fc3ea=a0_0x3e48cd,_0x140a1a=new OperationFactory();this[_0x3fc3ea(0x171)]=_0x140a1a[_0x3fc3ea(0x28d)](_0x2cdac3,_0x7f97eb);}[a0_0x3e48cd(0x32d)](_0x4a0446){const _0x518631=a0_0x3e48cd;return this[_0x518631(0x171)][_0x518631(0x32d)](_0x4a0446);}[a0_0x3e48cd(0x2b9)](_0x36f015){const _0x3c660b=a0_0x3e48cd;return this[_0x3c660b(0x171)][_0x3c660b(0x2b9)](_0x36f015);}[a0_0x3e48cd(0x13b)](){const _0x17019d=a0_0x3e48cd;return this['_operations'][_0x17019d(0x13b)];}[a0_0x3e48cd(0x18d)](){const _0x101c06=a0_0x3e48cd;return Array[_0x101c06(0x2c5)](this[_0x101c06(0x171)][_0x101c06(0x326)]());}[a0_0x3e48cd(0x181)](){const _0x1bed0d=a0_0x3e48cd,_0x564bd1=Array[_0x1bed0d(0x2c5)](this[_0x1bed0d(0x171)][_0x1bed0d(0x94)]());return this[_0x1bed0d(0x115)](_0x564bd1);}['getEnabled'](){const _0x425587=a0_0x3e48cd;return this[_0x425587(0x181)]()[_0x425587(0x2af)](_0x32ff72=>_0x32ff72[_0x425587(0x189)]());}[a0_0x3e48cd(0x1b3)](){const _0x391a8b=a0_0x3e48cd;return this['toArray']()[_0x391a8b(0x2af)](_0x4c6c45=>!_0x4c6c45['isEnabled']());}[a0_0x3e48cd(0x1a8)](){const _0x44124d=a0_0x3e48cd;return this[_0x44124d(0x10d)]()[_0x44124d(0xac)](_0xe46df7=>_0xe46df7[_0x44124d(0xd9)]());}[a0_0x3e48cd(0x156)](){const _0x846cad=a0_0x3e48cd;return this['getDisabled']()[_0x846cad(0xac)](_0x38656f=>_0x38656f['getName']());}[a0_0x3e48cd(0x202)](_0x590843){const _0x52138a=a0_0x3e48cd;return this[_0x52138a(0x181)]()[_0x52138a(0x2af)](_0x19942b=>_0x19942b['getType']()===_0x590843);}[a0_0x3e48cd(0x2af)](_0x137f69){const _0x5616c9=a0_0x3e48cd;return this[_0x5616c9(0x181)]()['filter'](_0x137f69);}[a0_0x3e48cd(0xaa)](_0x3b487c={}){const _0x587a84=a0_0x3e48cd;let _0x1b39ac=this['toArray']();!_0x3b487c['includeDisabled']&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x16fc6d=>_0x16fc6d['isEnabled']()));if(_0x3b487c['filterBlacklist']!==![]){const _0x3ebb77=_0x1b39ac[_0x587a84(0xac)](_0x261d3a=>({'name':_0x261d3a[_0x587a84(0xd9)](),'operation':_0x261d3a})),_0x18e8f6=filterApiOperations(_0x3ebb77);_0x1b39ac=_0x18e8f6[_0x587a84(0xac)](_0x57003d=>_0x57003d[_0x587a84(0x21a)]),_0x1b39ac=this['sortOperationsWithFilterFirst'](_0x1b39ac);}return _0x3b487c[_0x587a84(0x229)]&&(_0x1b39ac=_0x1b39ac[_0x587a84(0x2af)](_0x3b487c[_0x587a84(0x229)])),_0x1b39ac;}[a0_0x3e48cd(0x115)](_0x1de7b4){const _0x1fd3ef=a0_0x3e48cd,_0x25924b=_0x1de7b4[_0x1fd3ef(0x8b)](_0x30f552=>_0x30f552['getName']()===_0x1fd3ef(0x2af)),_0x493d3f=_0x1de7b4['filter'](_0x45b777=>_0x45b777[_0x1fd3ef(0xd9)]()!==_0x1fd3ef(0x2af));return _0x25924b?[_0x25924b,..._0x493d3f]:_0x493d3f;}[a0_0x3e48cd(0x1ef)](){const _0x3cb182=a0_0x3e48cd,_0x4b0606=this['getEnabled']();return{'total':this['size'](),'enabled':_0x4b0606['length'],'disabled':this[_0x3cb182(0x13b)]()-_0x4b0606['length'],'byType':this[_0x3cb182(0xb7)](_0x4b0606),'byMethod':this[_0x3cb182(0x2fc)](_0x4b0606)};}['getCountByType'](_0x4eacb5){const _0x1d1c93=a0_0x3e48cd,_0x1ee0e={};return _0x4eacb5[_0x1d1c93(0x194)](_0x41ad52=>{const _0x2cc325=_0x1d1c93,_0xbce8d0=_0x41ad52[_0x2cc325(0x22a)]();_0xbce8d0&&(_0x1ee0e[_0xbce8d0]=(_0x1ee0e[_0xbce8d0]||0x0)+0x1);}),_0x1ee0e;}[a0_0x3e48cd(0x2fc)](_0x1205ac){const _0x41c034=a0_0x3e48cd,_0x784735={};return _0x1205ac[_0x41c034(0x194)](_0x465308=>{const _0x263fff=_0x465308['getMethod']();_0x263fff&&(_0x784735[_0x263fff]=(_0x784735[_0x263fff]||0x0)+0x1);}),_0x784735;}[Symbol[a0_0x3e48cd(0x320)]](){const _0x26b82d=a0_0x3e48cd;return this[_0x26b82d(0x171)][_0x26b82d(0x94)]();}[a0_0x3e48cd(0x129)](){const _0x319a18=a0_0x3e48cd,_0x298355=this['getStats']();return'OperationList('+_0x298355[_0x319a18(0x12d)]+'/'+_0x298355['total']+_0x319a18(0x9b);}}class DBConfig{['raw'];['dbId'];[a0_0x3e48cd(0x187)];['dbType'];[a0_0x3e48cd(0x2ff)];['tableName'];[a0_0x3e48cd(0x21d)];['pkField'];[a0_0x3e48cd(0x2e6)];[a0_0x3e48cd(0x260)];constructor(_0x54138e,_0x37f975){const _0x4a5153=a0_0x3e48cd;this[_0x4a5153(0x34a)]=_0x37f975,this[_0x4a5153(0xd1)]=_0x54138e[_0x4a5153(0xd1)],this[_0x4a5153(0x187)]=_0x54138e[_0x4a5153(0x187)],this['dbType']=_0x54138e[_0x4a5153(0xde)],this[_0x4a5153(0x2ff)]=_0x54138e['dbVersion'],this[_0x4a5153(0x1fa)]=_0x54138e['tableName'],this['datasetKey']=_0x54138e[_0x4a5153(0x21d)],this['pkField']=_0x54138e['pkField'],this[_0x4a5153(0x2e6)]=_0x54138e[_0x4a5153(0x2e6)],this[_0x4a5153(0x260)]=_0x54138e[_0x4a5153(0x260)];}[a0_0x3e48cd(0x34b)](){const _0xe100e5=a0_0x3e48cd;return this[_0xe100e5(0x34a)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x3e48cd(0x214)];[a0_0x3e48cd(0x318)];[a0_0x3e48cd(0x1f4)];constructor(_0x5da8f8){const _0x9eda46=a0_0x3e48cd,_0x30ae2d={..._0x5da8f8};_0x30ae2d['id']=_0x5da8f8['modelId']||_0x5da8f8['id'],_0x30ae2d[_0x9eda46(0x14c)]=_0x5da8f8[_0x9eda46(0x92)]||_0x5da8f8[_0x9eda46(0x14c)]||_0x5da8f8[_0x9eda46(0x22c)],super(_0x30ae2d);}[a0_0x3e48cd(0x132)](){return;}[a0_0x3e48cd(0x287)](){return[];}[a0_0x3e48cd(0x219)](){return[];}get[a0_0x3e48cd(0xeb)](){const _0xb53c62=a0_0x3e48cd;return this[_0xb53c62(0x12e)]();}[a0_0x3e48cd(0xa1)](){const _0x49c93a=a0_0x3e48cd;if(!this[_0x49c93a(0x318)])throw new Error(_0x49c93a(0x247));return this[_0x49c93a(0x318)];}[a0_0x3e48cd(0x1f5)](){const _0x36398a=a0_0x3e48cd;if(!this[_0x36398a(0x1f4)])throw new Error('getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass');return this[_0x36398a(0x1f4)];}[a0_0x3e48cd(0x2a7)](){return[];}[a0_0x3e48cd(0x327)](){const _0xc32e22=a0_0x3e48cd,_0x3ccca9=this[_0xc32e22(0x152)]();return _0x3ccca9['fields'];}[a0_0x3e48cd(0x2bd)](){const _0x368d47=a0_0x3e48cd;return this[_0x368d47(0x2a7)]()[_0x368d47(0x1f8)];}['getField'](_0x57f036){const _0x7c8ec3=this['getFieldInstance'](_0x57f036);return _0x7c8ec3?_0x7c8ec3['raw']:undefined;}[a0_0x3e48cd(0x1c7)](_0x305524){return;}[a0_0x3e48cd(0x2e8)](_0x53cd2f){const _0x342d85=a0_0x3e48cd;if(!_0x53cd2f||typeof _0x53cd2f!=='object')return!![]&&console[_0x342d85(0x98)](_0x342d85(0x245),_0x53cd2f),{};if(_0x342d85(0x33b)in _0x53cd2f){const _0x96f5e7=_0x53cd2f;return{'primaryKey':typeof _0x96f5e7[_0x342d85(0x33b)]===_0x342d85(0x137)?_0x96f5e7[_0x342d85(0x33b)]:Boolean(_0x96f5e7[_0x342d85(0x33b)]),'required':_0x96f5e7[_0x342d85(0x180)],'systemRetain':Boolean(_0x96f5e7[_0x342d85(0x149)]),'autoIncrement':_0x96f5e7[_0x342d85(0x8a)]??undefined};}if(!(_0x342d85(0x20a)in _0x53cd2f)||!_0x53cd2f['extend'])return{};try{const _0x4559ce=typeof _0x53cd2f[_0x342d85(0x20a)]==='string'?JSON[_0x342d85(0x312)](_0x53cd2f[_0x342d85(0x20a)]):_0x53cd2f['extend'];if(typeof _0x4559ce!==_0x342d85(0x335)||_0x4559ce===null)return{};return _0x4559ce;}catch{return{};}}[a0_0x3e48cd(0x1fe)](){const _0x3a76ff=a0_0x3e48cd;if(!this[_0x3a76ff(0x214)]){const _0x642c6e=this[_0x3a76ff(0xc0)](this[_0x3a76ff(0x125)]()||{});this['_operationList']=new OperationList(_0x642c6e,{'fields':this[_0x3a76ff(0xa1)]()[_0x3a76ff(0xaf)](),'pkField':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]?.[_0x3a76ff(0x33b)],'dbtableConfig':this[_0x3a76ff(0x239)][_0x3a76ff(0x2aa)]||null});}return this['_operationList'];}[a0_0x3e48cd(0xc0)](_0x211cd2){const _0x17f3af=a0_0x3e48cd;if(_0x211cd2[_0x17f3af(0x2af)]!==undefined)return _0x211cd2;return{..._0x211cd2,'filter':this['generateDefaultFilterOperation']()};}['generateDefaultFilterOperation'](){const _0x30f8dd=a0_0x3e48cd,_0x3957c4=this['getOperationsData']()?.[_0x30f8dd(0x286)];let _0x32793a=_0x3957c4?.[_0x30f8dd(0x19d)],_0x2adffd='';if(!_0x32793a&&this[_0x30f8dd(0x125)]()){const _0x5b43c3=Object[_0x30f8dd(0x94)](this[_0x30f8dd(0x125)]());for(const _0x14ec9b of _0x5b43c3){if(_0x14ec9b&&typeof _0x14ec9b===_0x30f8dd(0x335)&&_0x30f8dd(0x19d)in _0x14ec9b){_0x32793a=_0x14ec9b[_0x30f8dd(0x19d)];break;}}}if(_0x3957c4?.[_0x30f8dd(0x1ba)]){const _0xe28005=_0x3957c4[_0x30f8dd(0x1ba)],_0x380b6a=_0xe28005[_0x30f8dd(0x172)]('/');_0x380b6a!==-0x1&&(_0x2adffd=_0xe28005['substring'](0x0,_0x380b6a));}const _0x1d8670={};_0x1d8670[_0x30f8dd(0x246)]=_0x30f8dd(0x2b0),_0x1d8670[_0x30f8dd(0x299)]='object',_0x1d8670[_0x30f8dd(0x180)]=![];const _0x493fa8={};_0x493fa8[_0x30f8dd(0x246)]='select',_0x493fa8[_0x30f8dd(0x299)]=_0x30f8dd(0x26e),_0x493fa8[_0x30f8dd(0x180)]=![];const _0x2f668a={};_0x2f668a[_0x30f8dd(0x246)]=_0x30f8dd(0x147),_0x2f668a[_0x30f8dd(0x299)]='array',_0x2f668a['required']=![];const _0x1f6011={};_0x1f6011[_0x30f8dd(0x246)]=_0x30f8dd(0xcf),_0x1f6011[_0x30f8dd(0x299)]='number',_0x1f6011[_0x30f8dd(0x180)]=![],_0x1f6011[_0x30f8dd(0x1d3)]=0x1;const _0x4f0fcd={};_0x4f0fcd[_0x30f8dd(0x246)]=_0x30f8dd(0x1e0),_0x4f0fcd[_0x30f8dd(0x299)]=_0x30f8dd(0x231),_0x4f0fcd[_0x30f8dd(0x180)]=![],_0x4f0fcd[_0x30f8dd(0x1d3)]=0xa;const _0x185815={};return _0x185815[_0x30f8dd(0x246)]=_0x30f8dd(0x2af),_0x185815[_0x30f8dd(0x299)]='query',_0x185815[_0x30f8dd(0x2b7)]=_0x30f8dd(0x341),_0x185815[_0x30f8dd(0x2eb)]=_0x30f8dd(0xed),_0x185815['host']=_0x32793a,_0x185815['path']=_0x2adffd?_0x2adffd+_0x30f8dd(0x206):'/filter',_0x185815[_0x30f8dd(0x26b)]=_0x3957c4?.['params']||[_0x1d8670,_0x493fa8,_0x2f668a,_0x1f6011,_0x4f0fcd],_0x185815['_autoGenerated']=!![],_0x185815;}['getOperations'](){const _0x3ce8db=a0_0x3e48cd;return this[_0x3ce8db(0x1fe)]()[_0x3ce8db(0x181)]();}[a0_0x3e48cd(0x2f5)](){const _0x59f4b6=a0_0x3e48cd;return this[_0x59f4b6(0x1fe)]()[_0x59f4b6(0x13b)]();}['getOperation'](_0x421463){const _0x2a9d90=a0_0x3e48cd;if(typeof _0x421463!==_0x2a9d90(0x278)){!![]&&console[_0x2a9d90(0x98)](_0x2a9d90(0x1d2),_0x421463);return;}return this['getOperationList']()[_0x2a9d90(0x32d)](_0x421463);}[a0_0x3e48cd(0x2dd)](_0xd33b42){const _0x5d0958=a0_0x3e48cd;if(typeof _0xd33b42!=='string')return![];return this[_0x5d0958(0x1fe)]()[_0x5d0958(0x2b9)](_0xd33b42);}['isOperationEnabled'](_0x50212e){const _0x5b3824=a0_0x3e48cd;if(typeof _0x50212e!=='string')return![];const _0x2d4db7=this[_0x5b3824(0x1df)](_0x50212e);return _0x2d4db7?.['isEnabled']()||![];}[a0_0x3e48cd(0x25d)](){const _0x406f55=a0_0x3e48cd;return this['getOperationList']()[_0x406f55(0x1a8)]();}['getDisabledOperations'](){return this['getOperationList']()['getDisabledNames']();}[a0_0x3e48cd(0x27e)](){const _0x3d03e6=a0_0x3e48cd;return this[_0x3d03e6(0x1fe)]()[_0x3d03e6(0x10d)]();}['getDisabledOperationInstances'](){const _0x4ea497=a0_0x3e48cd;return this[_0x4ea497(0x1fe)]()['getDisabled']();}[a0_0x3e48cd(0x340)](_0x33785b={}){const _0x476cf3=a0_0x3e48cd;return this[_0x476cf3(0x1fe)]()['getFiltered'](_0x33785b);}['getStats'](){const _0x30bced=a0_0x3e48cd;return{'fieldCount':this[_0x30bced(0x2bd)](),'systemFieldCount':this[_0x30bced(0x2bf)]()[_0x30bced(0x1f8)],'businessFieldCount':this['getBusinessFields']()[_0x30bced(0x1f8)],'requiredFieldCount':this[_0x30bced(0x211)]()[_0x30bced(0x1f8)],'primaryKeyCount':this[_0x30bced(0x84)]()[_0x30bced(0x1f8)],'operationCount':this[_0x30bced(0x2f5)](),'enabledOperationCount':this[_0x30bced(0x25d)]()['length']};}[a0_0x3e48cd(0x28b)](_0x590011){const _0x15ffaa=a0_0x3e48cd;if(!_0x590011||typeof _0x590011!==_0x15ffaa(0x335))return'';if('code'in _0x590011&&typeof _0x590011[_0x15ffaa(0x22c)]===_0x15ffaa(0x278))return _0x590011[_0x15ffaa(0x22c)];if(_0x15ffaa(0x246)in _0x590011&&typeof _0x590011['name']===_0x15ffaa(0x278))return _0x590011['name'];return'';}[a0_0x3e48cd(0xfa)](_0x49ff08){const _0x45ab37=a0_0x3e48cd;return this[_0x45ab37(0xa1)]()[_0x45ab37(0x2b9)](_0x49ff08);}[a0_0x3e48cd(0x2c1)](_0x3a5d9e){const _0x331b8d=a0_0x3e48cd;if(!_0x3a5d9e||typeof _0x3a5d9e!==_0x331b8d(0x335))return![];const _0x497e20=this[_0x331b8d(0x28b)](_0x3a5d9e),_0x150078=this[_0x331b8d(0x1ed)](_0x497e20);return _0x150078?_0x150078[_0x331b8d(0xb8)]():![];}['isSystemField'](_0x3934c2){const _0x31a9cb=a0_0x3e48cd;if(!_0x3934c2||typeof _0x3934c2!=='object')return![];const _0x33979b=this['getFieldCode'](_0x3934c2),_0x3032e3=this[_0x31a9cb(0x1ed)](_0x33979b);return _0x3032e3?_0x3032e3['isSystem']():![];}['isRequiredField'](_0x5966e1){const _0xf9d0a3=a0_0x3e48cd;if(!_0x5966e1||typeof _0x5966e1!==_0xf9d0a3(0x335))return![];const _0x2db0d8=this['getFieldCode'](_0x5966e1),_0xa50f06=this['getFieldInstance'](_0x2db0d8);return _0xa50f06?_0xa50f06[_0xf9d0a3(0x237)]():![];}[a0_0x3e48cd(0x225)](_0x2735ce){const _0x185298=a0_0x3e48cd;if(!_0x2735ce||typeof _0x2735ce!==_0x185298(0x335))return![];const _0x192a36=this['getFieldCode'](_0x2735ce),_0x195bd8=this['getFieldInstance'](_0x192a36);return _0x195bd8?_0x195bd8['isEnum']():![];}[a0_0x3e48cd(0x282)](_0xf85897){const _0x7f1958=a0_0x3e48cd;if(!_0xf85897||typeof _0xf85897!==_0x7f1958(0x335))return![];const _0x3f39df=this['getFieldCode'](_0xf85897),_0x3dfeba=this[_0x7f1958(0x1ed)](_0x3f39df);return _0x3dfeba?_0x3dfeba[_0x7f1958(0x2cc)]():![];}[a0_0x3e48cd(0x328)](_0x4078a4){const _0x39ef1f=a0_0x3e48cd;if(!_0x4078a4||typeof _0x4078a4!==_0x39ef1f(0x335))return[];const _0x196b5e=this['getFieldCode'](_0x4078a4),_0x387821=this[_0x39ef1f(0x1ed)](_0x196b5e);if(!_0x387821||!_0x387821[_0x39ef1f(0x113)]())return[];return _0x387821[_0x39ef1f(0x118)]()||[];}[a0_0x3e48cd(0x2d7)](_0x3c4b33){const _0x46b331=a0_0x3e48cd;if(!_0x3c4b33||typeof _0x3c4b33!==_0x46b331(0x335))return;const _0x1932ce=this[_0x46b331(0x28b)](_0x3c4b33),_0x3c9241=this[_0x46b331(0x1ed)](_0x1932ce);if(!_0x3c9241||!_0x3c9241['isEnum']())return;return _0x3c9241[_0x46b331(0x176)]();}['getEnumFieldMeta'](_0x4eb2e4){const _0x1620af=a0_0x3e48cd;if(!_0x4eb2e4||typeof _0x4eb2e4!==_0x1620af(0x335))return;const _0x43987e=this[_0x1620af(0x28b)](_0x4eb2e4),_0x39c743=this[_0x1620af(0x1ed)](_0x43987e);if(!_0x39c743||!_0x39c743[_0x1620af(0x113)]())return;return _0x39c743['getEnumMeta']();}[a0_0x3e48cd(0x84)](){const _0x33c67b=a0_0x3e48cd;return this[_0x33c67b(0xa1)]()[_0x33c67b(0x142)]()[_0x33c67b(0xac)](_0xea1a74=>_0xea1a74[_0x33c67b(0x34a)]);}['getSystemFields'](){const _0x4c85a0=a0_0x3e48cd;return this[_0x4c85a0(0xa1)]()['getSystem']()[_0x4c85a0(0xac)](_0x3e536e=>_0x3e536e[_0x4c85a0(0x34a)]);}[a0_0x3e48cd(0x2ea)](){const _0x5689aa=a0_0x3e48cd;return this['getFieldList']()[_0x5689aa(0x350)]()[_0x5689aa(0xac)](_0x2743b3=>_0x2743b3['raw']);}[a0_0x3e48cd(0x211)](){const _0x3ffc54=a0_0x3e48cd;return this[_0x3ffc54(0xa1)]()['getRequired']()['map'](_0x3f0709=>_0x3f0709['raw']);}[a0_0x3e48cd(0x159)](){const _0x49ae4f=a0_0x3e48cd,_0x2bc381=this['getFieldList']()[_0x49ae4f(0x32c)](),_0x33efe7={};for(const [_0x1bd6df,_0xe93779]of Object[_0x49ae4f(0x256)](_0x2bc381)){_0x33efe7[_0x1bd6df]=_0xe93779[_0x49ae4f(0xac)](_0x2b2b02=>_0x2b2b02[_0x49ae4f(0x34a)]);}return _0x33efe7;}[a0_0x3e48cd(0x251)](){const _0x3c40d2=a0_0x3e48cd;return this[_0x3c40d2(0xa1)]()[_0x3c40d2(0x9c)]()[_0x3c40d2(0xac)](_0x974a40=>_0x974a40['raw']);}[a0_0x3e48cd(0x2f4)](){const _0x233cff={};return this['getEnumFields']()['forEach'](_0xf9bac1=>{const _0x257106=a0_0x23f8,_0x108ee9=this[_0x257106(0x32e)](_0xf9bac1);if(_0x108ee9){const _0x364c91=this['getFieldCode'](_0xf9bac1);_0x233cff[_0x364c91]=_0x108ee9;}}),_0x233cff;}['validateEnumValue'](_0x525edd,_0x26f103){const _0x390b11=a0_0x3e48cd,_0x3dcf6a=this[_0x390b11(0x32e)](_0x525edd);if(!_0x3dcf6a)return!![];if(_0x3dcf6a[_0x390b11(0x345)]&&!_0x3dcf6a[_0x390b11(0xb2)])return!![];const _0x2bdf38=this[_0x390b11(0x28b)](_0x525edd),_0x1dd271=this[_0x390b11(0x1ed)](_0x2bdf38),_0x55ebc9=_0x1dd271?_0x1dd271[_0x390b11(0x2cc)]():![];if(_0x55ebc9&&Array['isArray'](_0x26f103))return _0x26f103[_0x390b11(0x166)](_0x19e380=>_0x3dcf6a[_0x390b11(0x94)]['includes'](_0x19e380));return _0x3dcf6a[_0x390b11(0x94)][_0x390b11(0x128)](_0x26f103);}[a0_0x3e48cd(0x195)](){const _0x1a21dd=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this['name'],'datasetCode':this[_0x1a21dd(0x14c)],'dbtableConfig':this[_0x1a21dd(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x14a9b9=a0_0x3e48cd;return'DrivenDataDetail('+this[_0x14a9b9(0x246)]+',\x20'+this[_0x14a9b9(0x14c)]+',\x20'+this[_0x14a9b9(0x2bd)]()+_0x14a9b9(0x329)+this[_0x14a9b9(0x2f5)]()+'\x20operations,\x20'+this[_0x14a9b9(0x2b5)]()+')';}[a0_0x3e48cd(0x158)](){const _0x3b88b8=a0_0x3e48cd;return this[_0x3b88b8(0x268)](_0x3b88b8(0x2af));}[a0_0x3e48cd(0x139)](_0x314049){const _0x28ffd9=a0_0x3e48cd;return this['getOperationFieldOperators'](_0x28ffd9(0x2af),_0x314049);}[a0_0x3e48cd(0x281)](){const _0x558156=a0_0x3e48cd;return this[_0x558156(0x2d0)](_0x558156(0x2af));}[a0_0x3e48cd(0x268)](_0xa60d4d){const _0x2e02ce=this['getOperation'](_0xa60d4d);return _0x2e02ce?_0x2e02ce['getOperators']():[];}['getOperationFieldOperators'](_0x43c9d2,_0x3dd42a){const _0x2091fb=a0_0x3e48cd,_0x25d1fc=this[_0x2091fb(0x1df)](_0x43c9d2);return _0x25d1fc?_0x25d1fc[_0x2091fb(0x238)](_0x3dd42a):[];}[a0_0x3e48cd(0x2d0)](_0x278243){const _0x383f4f=a0_0x3e48cd,_0x1b0cb5={};return this[_0x383f4f(0xa1)]()[_0x383f4f(0x194)](_0x5606ca=>{const _0x4be48e=_0x383f4f,_0x45a87a=this[_0x4be48e(0x12a)](_0x278243,_0x5606ca[_0x4be48e(0x22c)]);_0x45a87a[_0x4be48e(0x1f8)]>0x0&&(_0x1b0cb5[_0x5606ca[_0x4be48e(0x22c)]]=_0x45a87a);}),_0x1b0cb5;}[a0_0x3e48cd(0x235)](_0x59a927,_0xee8185,_0x9ae9f0){const _0x273df9=a0_0x3e48cd,_0xfa8fde=this[_0x273df9(0x12a)](_0x59a927,_0xee8185);return _0xfa8fde[_0x273df9(0x128)](_0x9ae9f0);}}class FieldBase{get[a0_0x3e48cd(0xde)](){return;}get[a0_0x3e48cd(0x1b6)](){return;}get[a0_0x3e48cd(0x252)](){return;}get[a0_0x3e48cd(0x1d8)](){return;}['isBusiness'](){const _0x54b436=a0_0x3e48cd;return!this[_0x54b436(0x1f6)]();}[a0_0x3e48cd(0x31e)](){return this['deleted'];}['isEnum'](){const _0x32ba1a=a0_0x3e48cd,_0x5e85a3=[_0x32ba1a(0x339),'SELECT',_0x32ba1a(0x24f)];return _0x5e85a3['includes'](this['type']);}[a0_0x3e48cd(0x2cc)](){const _0x824664=a0_0x3e48cd;return this[_0x824664(0x299)]===_0x824664(0x24f);}[a0_0x3e48cd(0x1e4)](){const _0x5b6bee=a0_0x3e48cd,_0x48720b=this[_0x5b6bee(0x1e7)]();return _0x48720b?.[_0x5b6bee(0x94)]||[];}[a0_0x3e48cd(0x1e7)](){const _0x4818c3=a0_0x3e48cd;if(!this[_0x4818c3(0x113)]())return;const _0x421495=this[_0x4818c3(0x118)](),_0x15caac=this[_0x4818c3(0x176)](),_0x549622=[],_0x3524b7={},_0x41e980=_0x678a1a=>{_0x678a1a['forEach'](_0x46d413=>{const _0x1dd51b=a0_0x23f8;if(!_0x46d413||typeof _0x46d413!==_0x1dd51b(0x335))return;_0x46d413[_0x1dd51b(0x2d3)]!==undefined&&_0x46d413[_0x1dd51b(0x2d3)]!==null&&(_0x549622[_0x1dd51b(0x2d5)](_0x46d413[_0x1dd51b(0x2d3)]),_0x3524b7[String(_0x46d413[_0x1dd51b(0x2d3)])]=_0x46d413[_0x1dd51b(0x140)]||''),_0x46d413[_0x1dd51b(0x30e)]&&Array[_0x1dd51b(0x133)](_0x46d413['children'])&&_0x46d413[_0x1dd51b(0x30e)][_0x1dd51b(0x1f8)]>0x0&&_0x41e980(_0x46d413['children']);});};return _0x421495&&Array['isArray'](_0x421495)&&_0x421495[_0x4818c3(0x1f8)]>0x0&&_0x41e980(_0x421495),{'code':this['code'],'name':this[_0x4818c3(0x246)],'type':this[_0x4818c3(0x299)],'multiple':this[_0x4818c3(0x2cc)](),'options':_0x421495,'selectItemsSource':_0x15caac,'values':_0x549622,'valueLabels':_0x3524b7};}get[a0_0x3e48cd(0xa9)](){return this['getEnumValues']();}[a0_0x3e48cd(0x129)](){const _0x29abc3=a0_0x3e48cd;return _0x29abc3(0x170)+this[_0x29abc3(0x246)]+',\x20'+this[_0x29abc3(0x22c)]+',\x20'+this[_0x29abc3(0x299)]+',\x20'+this[_0x29abc3(0x2b5)]()+')';}}class FieldV1 extends FieldBase{[a0_0x3e48cd(0x239)];['_extend']=null;constructor(_0x3f95b9){const _0x538fe7=a0_0x3e48cd;super();if(!_0x3f95b9||typeof _0x3f95b9!=='object')throw new Error(_0x538fe7(0x9a));this[_0x538fe7(0x239)]=_0x3f95b9;}[a0_0x3e48cd(0x310)](){const _0x39e0e1=a0_0x3e48cd;return this[_0x39e0e1(0x239)];}[a0_0x3e48cd(0x2b5)](){return'v1';}get[a0_0x3e48cd(0x34a)](){const _0x822108=a0_0x3e48cd;return this[_0x822108(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x3c0721=a0_0x3e48cd;return this[_0x3c0721(0x239)][_0x3c0721(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3824d2=a0_0x3e48cd;return this[_0x3824d2(0x239)][_0x3824d2(0x22c)]||'';}get['type'](){const _0xc94450=a0_0x3e48cd;return this[_0xc94450(0x239)][_0xc94450(0x299)]||'';}get[a0_0x3e48cd(0x2b7)](){const _0xaacc90=a0_0x3e48cd;return this['_raw'][_0xaacc90(0x2b7)]||'';}get[a0_0x3e48cd(0x24b)](){const _0x4fbc23=a0_0x3e48cd;return Boolean(this[_0x4fbc23(0x239)][_0x4fbc23(0x24b)]);}get['dbType'](){const _0x587759=a0_0x3e48cd;return this['_raw'][_0x587759(0xde)];}get[a0_0x3e48cd(0x1b6)](){const _0x232109=a0_0x3e48cd;return this[_0x232109(0x239)][_0x232109(0x1b6)];}get[a0_0x3e48cd(0x252)](){return this['_raw']['alias'];}get['doType'](){return;}get[a0_0x3e48cd(0x20a)](){const _0x2b10ee=a0_0x3e48cd;if(this[_0x2b10ee(0x216)]!==null&&typeof this[_0x2b10ee(0x216)]===_0x2b10ee(0x335))return this['_extend'];const _0x25a85e=this['_raw']['extend'];if(!_0x25a85e||typeof _0x25a85e!==_0x2b10ee(0x278))return this[_0x2b10ee(0x216)]={},this['_extend'];if(_0x25a85e===_0x2b10ee(0x298)||_0x25a85e[_0x2b10ee(0x199)]()===_0x2b10ee(0x298))return this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];try{const _0x5ecc41=JSON['parse'](_0x25a85e);return this[_0x2b10ee(0x216)]=_0x5ecc41!==null&&typeof _0x5ecc41===_0x2b10ee(0x335)&&!Array['isArray'](_0x5ecc41)?_0x5ecc41:{},this[_0x2b10ee(0x216)];}catch(_0x45e8b0){return!![]&&console[_0x2b10ee(0x98)](_0x2b10ee(0x2f2)+this['code']+_0x2b10ee(0xbf),_0x45e8b0),this[_0x2b10ee(0x216)]={},this[_0x2b10ee(0x216)];}}[a0_0x3e48cd(0x237)](){const _0x4976cb=a0_0x3e48cd;return Boolean(this[_0x4976cb(0x20a)][_0x4976cb(0x180)]);}['isPrimaryKey'](){const _0x5a2ee8=a0_0x3e48cd;return Boolean(this[_0x5a2ee8(0x20a)][_0x5a2ee8(0x14d)]||this[_0x5a2ee8(0x20a)]['pkField']);}[a0_0x3e48cd(0x1f6)](){const _0x110ee6=a0_0x3e48cd;return Boolean(this[_0x110ee6(0x20a)][_0x110ee6(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x5d5363=a0_0x3e48cd;return Boolean(this[_0x5d5363(0x20a)][_0x5d5363(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x5d4712=a0_0x3e48cd;return Boolean(this['extend'][_0x5d4712(0x1ce)]);}[a0_0x3e48cd(0xe4)](){return Boolean(this['extend']['updateTime']);}['getDisplayName'](){const _0xf68a6f=a0_0x3e48cd;return this[_0xf68a6f(0x246)];}[a0_0x3e48cd(0x29d)](){return this['code'];}[a0_0x3e48cd(0x113)](){const _0x4d9efc=a0_0x3e48cd,_0x3c7d0c=[_0x4d9efc(0x339),_0x4d9efc(0x120),_0x4d9efc(0x24f)];if(_0x3c7d0c['includes'](this[_0x4d9efc(0x299)]))return!![];const _0x3cd2e8=this['extend'];return Boolean(_0x3cd2e8['options']&&Array[_0x4d9efc(0x133)](_0x3cd2e8[_0x4d9efc(0xb2)])&&_0x3cd2e8['options'][_0x4d9efc(0x1f8)]>0x0||_0x3cd2e8[_0x4d9efc(0x345)]);}[a0_0x3e48cd(0x2cc)](){const _0x5b22e5=a0_0x3e48cd;if(this[_0x5b22e5(0x299)]===_0x5b22e5(0x24f))return!![];return Boolean(this[_0x5b22e5(0x20a)][_0x5b22e5(0xb3)]);}[a0_0x3e48cd(0x118)](){const _0x174f58=a0_0x3e48cd,_0x22e643=this[_0x174f58(0x20a)];if(_0x22e643['options']&&Array['isArray'](_0x22e643[_0x174f58(0xb2)]))return _0x22e643['options'];return;}[a0_0x3e48cd(0x176)](){const _0x40fb20=a0_0x3e48cd,_0x2ea57b=this[_0x40fb20(0x20a)];if(_0x2ea57b[_0x40fb20(0x345)]&&typeof _0x2ea57b[_0x40fb20(0x345)]===_0x40fb20(0x335))return _0x2ea57b[_0x40fb20(0x345)];return;}[a0_0x3e48cd(0x178)](){return this['type']['toUpperCase']();}['getDefaultValue'](){const _0x51f6b6=a0_0x3e48cd;return this[_0x51f6b6(0x20a)]['defaultValue'];}[a0_0x3e48cd(0x1c1)](){const _0x4bc10a=a0_0x3e48cd;return this[_0x4bc10a(0x20a)][_0x4bc10a(0x117)];}[a0_0x3e48cd(0x2df)](){const _0x4ab371=a0_0x3e48cd;return{'name':this[_0x4ab371(0x246)],'code':this[_0x4ab371(0x22c)],'type':this[_0x4ab371(0x299)],'dbType':this[_0x4ab371(0xde)],'dbTypeLen':this['dbTypeLen'],'description':this[_0x4ab371(0x2b7)],'required':this[_0x4ab371(0x237)](),'primaryKey':this['isPrimaryKey'](),'system':this[_0x4ab371(0x1f6)](),'autoIncrement':this[_0x4ab371(0x305)](),'createTime':this[_0x4ab371(0x1bc)](),'updateTime':this[_0x4ab371(0xe4)](),'isEnum':this[_0x4ab371(0x113)](),'enumMeta':this['isEnum']()?this[_0x4ab371(0x1e7)]():undefined};}['toString'](){const _0x509841=a0_0x3e48cd;return'FieldV1('+this['name']+',\x20'+this[_0x509841(0x22c)]+',\x20'+this['type']+')';}}class FieldListBase{[a0_0x3e48cd(0x20c)];constructor(_0x58e925,_0x39e6a0){const _0x14fea0=a0_0x3e48cd,_0x47d025=Array[_0x14fea0(0x133)](_0x58e925)?_0x58e925:[],_0x240236=_0x39e6a0?.['includeDeleted']??![],_0x2584ed=_0x240236?_0x47d025:_0x47d025['filter'](_0x254791=>{const _0x32fd86=_0x14fea0;if(!_0x254791||typeof _0x254791!==_0x32fd86(0x335))return![];const _0x2dde5d=_0x254791;return!_0x2dde5d['deleted'];});this['_fields']=this[_0x14fea0(0x2f6)](_0x2584ed);}get[a0_0x3e48cd(0x1f8)](){const _0x257ac6=a0_0x3e48cd;return this[_0x257ac6(0x20c)][_0x257ac6(0x1f8)];}['all'](){const _0x423597=a0_0x3e48cd;return[...this[_0x423597(0x20c)]];}['at'](_0x49c0b8){const _0x8034c4=a0_0x3e48cd;return this[_0x8034c4(0x20c)]['at'](_0x49c0b8);}['find'](_0x747296){const _0xb14db9=a0_0x3e48cd;return this[_0xb14db9(0x20c)][_0xb14db9(0x8b)](_0x4a5ced=>_0x4a5ced[_0xb14db9(0x22c)]===_0x747296);}[a0_0x3e48cd(0x127)](_0x25ff36){const _0x4aae4f=a0_0x3e48cd;return this[_0x4aae4f(0x20c)]['find'](_0x5976b2=>_0x5976b2[_0x4aae4f(0x246)]===_0x25ff36);}[a0_0x3e48cd(0x2b9)](_0x49cb9d){const _0x1a63dd=a0_0x3e48cd;return this[_0x1a63dd(0x20c)]['some'](_0x1d3b6b=>_0x1d3b6b[_0x1a63dd(0x22c)]===_0x49cb9d);}[a0_0x3e48cd(0x194)](_0x49300){const _0x528c66=a0_0x3e48cd;this[_0x528c66(0x20c)][_0x528c66(0x194)](_0x49300);}[a0_0x3e48cd(0xac)](_0x5eafdf){const _0x4b2ce0=a0_0x3e48cd;return this[_0x4b2ce0(0x20c)]['map'](_0x5eafdf);}['filter'](_0x4074f2){const _0x564c01=a0_0x3e48cd;return this[_0x564c01(0x20c)][_0x564c01(0x2af)](_0x4074f2);}[a0_0x3e48cd(0x166)](_0x404804){const _0xa51906=a0_0x3e48cd;return this[_0xa51906(0x20c)][_0xa51906(0x166)](_0x404804);}[a0_0x3e48cd(0x294)](_0x4a4d05){const _0x5c9a1f=a0_0x3e48cd;return this[_0x5c9a1f(0x20c)][_0x5c9a1f(0x294)](_0x4a4d05);}[a0_0x3e48cd(0x108)](){const _0x3c7f12=a0_0x3e48cd;return this[_0x3c7f12(0x20c)][_0x3c7f12(0x2af)](_0x1d5c7e=>_0x1d5c7e[_0x3c7f12(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x85893f=a0_0x3e48cd;return this[_0x85893f(0x20c)]['filter'](_0x5338ba=>_0x5338ba[_0x85893f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x3b02db=a0_0x3e48cd;return this[_0x3b02db(0x20c)]['filter'](_0x1e94fb=>_0x1e94fb[_0x3b02db(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x2d16e8=a0_0x3e48cd;return this[_0x2d16e8(0x20c)][_0x2d16e8(0x2af)](_0x5d0098=>_0x5d0098[_0x2d16e8(0x143)]());}['getEnum'](){const _0x3e9bcb=a0_0x3e48cd;return this[_0x3e9bcb(0x20c)][_0x3e9bcb(0x2af)](_0x68c43c=>_0x68c43c[_0x3e9bcb(0x113)]());}[a0_0x3e48cd(0x210)](){const _0x2efd30=a0_0x3e48cd;return this[_0x2efd30(0x20c)][_0x2efd30(0x2af)](_0x136824=>_0x136824[_0x2efd30(0x305)]());}[a0_0x3e48cd(0x275)](){const _0x2c40ae=a0_0x3e48cd;return this['_fields'][_0x2c40ae(0x2af)](_0x138fdf=>_0x138fdf[_0x2c40ae(0x1bc)]());}[a0_0x3e48cd(0x347)](){const _0x3ddc98=a0_0x3e48cd;return this[_0x3ddc98(0x20c)][_0x3ddc98(0x2af)](_0x30f59c=>_0x30f59c[_0x3ddc98(0xe4)]());}['getDeleted'](){const _0x56d36c=a0_0x3e48cd;return this[_0x56d36c(0x20c)][_0x56d36c(0x2af)](_0x2b7e5a=>_0x2b7e5a[_0x56d36c(0x31e)]());}['getActive'](){const _0x835261=a0_0x3e48cd;return this[_0x835261(0x20c)][_0x835261(0x2af)](_0x153855=>!_0x153855[_0x835261(0x31e)]());}[a0_0x3e48cd(0x32c)](){const _0x2c9c3d=a0_0x3e48cd,_0x36c8ef={};return this[_0x2c9c3d(0x20c)]['forEach'](_0xd212fa=>{const _0x3eb712=_0x2c9c3d,_0x24838c=_0xd212fa['type'];!_0x36c8ef[_0x24838c]&&(_0x36c8ef[_0x24838c]=[]),_0x36c8ef[_0x24838c][_0x3eb712(0x2d5)](_0xd212fa);}),_0x36c8ef;}['getEnumMetas'](){const _0xc06b70=a0_0x3e48cd,_0x304100={};return this[_0xc06b70(0x20c)][_0xc06b70(0x194)](_0x2ad187=>{const _0x35a0cd=_0xc06b70;if(_0x2ad187[_0x35a0cd(0x113)]()){const _0x25e49b=_0x2ad187[_0x35a0cd(0x1e7)]();_0x25e49b&&(_0x304100[_0x2ad187[_0x35a0cd(0x22c)]]=_0x25e49b);}}),_0x304100;}[a0_0x3e48cd(0x1ef)](){const _0x284f06=a0_0x3e48cd;return{'total':this[_0x284f06(0x1f8)],'required':this['getRequired']()[_0x284f06(0x1f8)],'primaryKey':this[_0x284f06(0x142)]()[_0x284f06(0x1f8)],'system':this[_0x284f06(0x257)]()['length'],'business':this[_0x284f06(0x350)]()['length'],'enum':this[_0x284f06(0x9c)]()[_0x284f06(0x1f8)],'autoIncrement':this['getAutoIncrement']()[_0x284f06(0x1f8)]};}[a0_0x3e48cd(0xd3)](){const _0x5ad9a9=a0_0x3e48cd;return this[_0x5ad9a9(0x20c)]['map'](_0xe6c3c6=>_0xe6c3c6[_0x5ad9a9(0x22c)]);}[a0_0x3e48cd(0x18d)](){const _0x3f57c5=a0_0x3e48cd;return this[_0x3f57c5(0x20c)][_0x3f57c5(0xac)](_0x1ceca0=>_0x1ceca0['getDisplayName']());}[a0_0x3e48cd(0x208)](){const _0x15e42d=a0_0x3e48cd;return this[_0x15e42d(0x20c)][_0x15e42d(0xac)](_0x16c955=>_0x16c955['getFieldName']());}[a0_0x3e48cd(0x2df)](){const _0x391bac=a0_0x3e48cd;return this[_0x391bac(0x20c)][_0x391bac(0xac)](_0x225285=>_0x225285[_0x391bac(0x2df)]());}['toString'](){const _0x20a413=a0_0x3e48cd;return _0x20a413(0x1d1)+this[_0x20a413(0x1f8)]+_0x20a413(0x22b);}}class FieldListV1 extends FieldListBase{constructor(_0x4dc00c,_0x57814e){super(_0x4dc00c,_0x57814e);}[a0_0x3e48cd(0x2f6)](_0x3b66e8){const _0x23fa01=a0_0x3e48cd;return _0x3b66e8[_0x23fa01(0xac)](_0x31b1c8=>new FieldV1(_0x31b1c8));}[a0_0x3e48cd(0xaf)](){const _0x2c9f20=a0_0x3e48cd;return[...this[_0x2c9f20(0x20c)]];}['at'](_0x1fc027){const _0x337167=a0_0x3e48cd;return this[_0x337167(0x20c)]['at'](_0x1fc027);}['find'](_0x1543e8){const _0x3be660=a0_0x3e48cd;return this[_0x3be660(0x20c)][_0x3be660(0x8b)](_0x3b8ef3=>_0x3b8ef3[_0x3be660(0x22c)]===_0x1543e8);}[a0_0x3e48cd(0x127)](_0x1e918f){const _0x5bd917=a0_0x3e48cd;return this['_fields']['find'](_0x33faf4=>_0x33faf4[_0x5bd917(0x246)]===_0x1e918f);}[a0_0x3e48cd(0x2af)](_0x2fc675){const _0x21d5ba=a0_0x3e48cd;return this[_0x21d5ba(0x20c)][_0x21d5ba(0x2af)](_0x2fc675);}[a0_0x3e48cd(0xac)](_0xc7368){const _0x4495fc=a0_0x3e48cd;return this[_0x4495fc(0x20c)][_0x4495fc(0xac)](_0xc7368);}['getRequired'](){const _0x227d3e=a0_0x3e48cd;return this['_fields'][_0x227d3e(0x2af)](_0x29362c=>_0x29362c[_0x227d3e(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x8355c2=a0_0x3e48cd;return this[_0x8355c2(0x20c)]['filter'](_0x25e086=>_0x25e086[_0x8355c2(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x592d62=a0_0x3e48cd;return this['_fields'][_0x592d62(0x2af)](_0x2eb2f4=>_0x2eb2f4[_0x592d62(0x1f6)]());}[a0_0x3e48cd(0x350)](){const _0x3743d0=a0_0x3e48cd;return this['_fields'][_0x3743d0(0x2af)](_0x2492ce=>_0x2492ce[_0x3743d0(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x19cdbf=a0_0x3e48cd;return this[_0x19cdbf(0x20c)]['filter'](_0x38151a=>_0x38151a[_0x19cdbf(0x113)]());}[a0_0x3e48cd(0x32c)](){const _0x3e6192={};return this['_fields']['forEach'](_0x2f901b=>{const _0x26d754=a0_0x23f8,_0x1a6b26=_0x2f901b['type'];!_0x3e6192[_0x1a6b26]&&(_0x3e6192[_0x1a6b26]=[]),_0x3e6192[_0x1a6b26][_0x26d754(0x2d5)](_0x2f901b);}),_0x3e6192;}[a0_0x3e48cd(0x34a)](){const _0x162160=a0_0x3e48cd;return this[_0x162160(0x20c)][_0x162160(0xac)](_0x12795a=>_0x12795a['raw']);}static[a0_0x3e48cd(0x2c5)](_0x6be275){const _0x24b324=a0_0x3e48cd,_0x2da6a9=_0x6be275[_0x24b324(0xac)](_0x2bc75b=>_0x2bc75b[_0x24b324(0x34a)]);return new FieldListV1(_0x2da6a9);}static[a0_0x3e48cd(0x266)](_0x386e04){const _0x1460d4=a0_0x3e48cd,_0x2f88bc={};return _0x2f88bc[_0x1460d4(0x23b)]=!![],new FieldListV1(_0x386e04,_0x2f88bc);}}class FieldV2 extends FieldBase{[a0_0x3e48cd(0x239)];constructor(_0xcd1f26){const _0x5c1502=a0_0x3e48cd;super();if(!_0xcd1f26||typeof _0xcd1f26!=='object')throw new Error(_0x5c1502(0x21c));this[_0x5c1502(0x239)]=_0xcd1f26;}[a0_0x3e48cd(0x2b5)](){return'v2';}get['raw'](){const _0x193f5e=a0_0x3e48cd;return this[_0x193f5e(0x239)];}get[a0_0x3e48cd(0x246)](){const _0x2ed8eb=a0_0x3e48cd;return this['_raw'][_0x2ed8eb(0x246)]||'';}get[a0_0x3e48cd(0x22c)](){const _0x3fa5e2=a0_0x3e48cd;return this['_raw'][_0x3fa5e2(0x246)]||'';}get[a0_0x3e48cd(0x252)](){const _0x35b319=a0_0x3e48cd;return this[_0x35b319(0x239)][_0x35b319(0x252)]||'';}get['type'](){const _0x47b0b2=a0_0x3e48cd;if(this[_0x47b0b2(0x239)]['doType'])return this['_raw'][_0x47b0b2(0x1d8)];return this[_0x47b0b2(0xb1)](this['_raw'][_0x47b0b2(0xde)]);}get[a0_0x3e48cd(0x2b7)](){const _0x5cea04=a0_0x3e48cd;return this[_0x5cea04(0x239)]['description']||'';}get[a0_0x3e48cd(0x24b)](){const _0x5f10e4=a0_0x3e48cd;return Boolean(this[_0x5f10e4(0x239)][_0x5f10e4(0x24b)]);}['isRequired'](){const _0x194175=a0_0x3e48cd;return Boolean(this[_0x194175(0x239)][_0x194175(0x180)]);}[a0_0x3e48cd(0xb8)](){const _0x5e8d99=a0_0x3e48cd;return Boolean(this[_0x5e8d99(0x239)][_0x5e8d99(0x33b)]);}[a0_0x3e48cd(0x1f6)](){const _0x560e64=a0_0x3e48cd;return Boolean(this[_0x560e64(0x239)][_0x560e64(0x149)]);}[a0_0x3e48cd(0x305)](){const _0x280e7b=a0_0x3e48cd;return Boolean(this[_0x280e7b(0x239)][_0x280e7b(0x8a)]);}[a0_0x3e48cd(0x1bc)](){const _0x247a3d=a0_0x3e48cd;return this['_raw'][_0x247a3d(0x149)]===_0x247a3d(0x1ce);}[a0_0x3e48cd(0xe4)](){const _0x2459c9=a0_0x3e48cd;return this['_raw']['systemRetain']===_0x2459c9(0x348);}[a0_0x3e48cd(0x2ef)](){const _0x2b907d=a0_0x3e48cd;return this[_0x2b907d(0x239)][_0x2b907d(0x252)]||'';}[a0_0x3e48cd(0x29d)](){const _0x1e2ef8=a0_0x3e48cd;return this[_0x1e2ef8(0x239)][_0x1e2ef8(0x246)]||'';}[a0_0x3e48cd(0x113)](){const _0x1fd83b=a0_0x3e48cd;return Boolean(this['_raw'][_0x1fd83b(0xb2)]&&Array[_0x1fd83b(0x133)](this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)])&&this[_0x1fd83b(0x239)][_0x1fd83b(0xb2)][_0x1fd83b(0x1f8)]>0x0);}[a0_0x3e48cd(0x2cc)](){const _0x497c84=a0_0x3e48cd,_0x19cc93=this[_0x497c84(0x239)][_0x497c84(0x20a)];if(!_0x19cc93)return![];try{const _0x34759=JSON[_0x497c84(0x312)](_0x19cc93);if(_0x34759&&typeof _0x34759===_0x497c84(0x335)&&'multiple'in _0x34759)return Boolean(_0x34759[_0x497c84(0xb3)]);}catch{}return![];}[a0_0x3e48cd(0x118)](){const _0x3cee1f=a0_0x3e48cd;if(this['_raw'][_0x3cee1f(0xb2)]&&Array[_0x3cee1f(0x133)](this[_0x3cee1f(0x239)][_0x3cee1f(0xb2)]))return this['_raw'][_0x3cee1f(0xb2)];return;}[a0_0x3e48cd(0x176)](){const _0x279a7c=a0_0x3e48cd,_0x4ad3b6=this['_raw'][_0x279a7c(0x20a)];if(!_0x4ad3b6)return;try{const _0x769e5=JSON[_0x279a7c(0x312)](_0x4ad3b6);if(_0x769e5&&typeof _0x769e5==='object'&&_0x279a7c(0x345)in _0x769e5)return _0x769e5[_0x279a7c(0x345)];}catch{}return;}[a0_0x3e48cd(0x178)](){const _0x28ef01=a0_0x3e48cd;if(!this['_raw']['dbType'])return'';return this[_0x28ef01(0x239)]['dbType']['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()['toUpperCase']();}[a0_0x3e48cd(0x1b9)](){return;}[a0_0x3e48cd(0x1c1)](){return;}get[a0_0x3e48cd(0xde)](){const _0x5e33ae=a0_0x3e48cd;return this[_0x5e33ae(0x239)][_0x5e33ae(0xde)]??undefined;}get[a0_0x3e48cd(0x1b6)](){return this['_raw']['dbTypeLen'];}['getDOType'](){const _0x55c553=a0_0x3e48cd;return this[_0x55c553(0x239)][_0x55c553(0x1d8)]??null;}get[a0_0x3e48cd(0x1d8)](){return this['_raw']['doType']??null;}[a0_0x3e48cd(0x2df)](){const _0x438216=a0_0x3e48cd;return{'name':this[_0x438216(0x246)],'code':this[_0x438216(0x22c)],'type':this[_0x438216(0x299)],'dbType':this[_0x438216(0xde)],'dbTypeLen':this[_0x438216(0x1b6)],'doType':this[_0x438216(0x2b4)](),'displayName':this[_0x438216(0x252)],'description':this[_0x438216(0x2b7)],'required':this[_0x438216(0x237)](),'primaryKey':this[_0x438216(0xb8)](),'system':this[_0x438216(0x1f6)](),'autoIncrement':this[_0x438216(0x305)](),'createTime':this[_0x438216(0x1bc)](),'updateTime':this[_0x438216(0xe4)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x438216(0x1e7)]():undefined};}['toString'](){const _0x342b70=a0_0x3e48cd;return _0x342b70(0x213)+this[_0x342b70(0x246)]+',\x20'+this[_0x342b70(0x22c)]+',\x20'+this['dbType']+_0x342b70(0x1a0)+this[_0x342b70(0x2b4)]()+')';}[a0_0x3e48cd(0xb1)](_0x1ea498){const _0x3af0ab=a0_0x3e48cd;if(!_0x1ea498)return _0x3af0ab(0x1b1);const _0x4d0bab={};_0x4d0bab[_0x3af0ab(0x106)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x163)]=_0x3af0ab(0x1b1),_0x4d0bab[_0x3af0ab(0x1b1)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x1c2)]='TEXTAREA',_0x4d0bab[_0x3af0ab(0x250)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x33c)]='NUMBER',_0x4d0bab[_0x3af0ab(0x1a5)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x1f7)]=_0x3af0ab(0x1dd),_0x4d0bab['DECIMAL']='NUMBER',_0x4d0bab['DOUBLE']='NUMBER',_0x4d0bab[_0x3af0ab(0xff)]=_0x3af0ab(0x1dd),_0x4d0bab[_0x3af0ab(0x100)]='DATE',_0x4d0bab[_0x3af0ab(0x33d)]=_0x3af0ab(0x303),_0x4d0bab[_0x3af0ab(0x303)]='DATE',_0x4d0bab['TIME']=_0x3af0ab(0x258),_0x4d0bab[_0x3af0ab(0x9d)]=_0x3af0ab(0xc8),_0x4d0bab['BIT']='SWITCH',_0x4d0bab['BLOB']=_0x3af0ab(0x25b),_0x4d0bab[_0x3af0ab(0x1b7)]='FILE';const _0x13fc54=_0x4d0bab,_0x4ba83c=_0x1ea498['toUpperCase']();return _0x13fc54[_0x4ba83c]||_0x3af0ab(0x1b1);}}class FieldListV2 extends FieldListBase{constructor(_0x34b995,_0x4fec54){super(_0x34b995,_0x4fec54);}[a0_0x3e48cd(0x2f6)](_0x4c3841){const _0x4489f4=a0_0x3e48cd;return _0x4c3841[_0x4489f4(0xac)](_0x1a74b0=>new FieldV2(_0x1a74b0));}[a0_0x3e48cd(0xaf)](){const _0x1d9dfb=a0_0x3e48cd;return[...this[_0x1d9dfb(0x20c)]];}['at'](_0xa5f8a1){const _0x8b829=a0_0x3e48cd;return this[_0x8b829(0x20c)]['at'](_0xa5f8a1);}['find'](_0x36b79e){const _0x3e556a=a0_0x3e48cd;return this[_0x3e556a(0x20c)][_0x3e556a(0x8b)](_0x36a657=>_0x36a657[_0x3e556a(0x22c)]===_0x36b79e);}[a0_0x3e48cd(0x127)](_0x5a432e){const _0x57e4e1=a0_0x3e48cd;return this[_0x57e4e1(0x20c)][_0x57e4e1(0x8b)](_0x587f22=>_0x587f22['getDisplayName']()===_0x5a432e);}[a0_0x3e48cd(0x2af)](_0xdec515){const _0x4f6517=a0_0x3e48cd;return this['_fields'][_0x4f6517(0x2af)](_0xdec515);}[a0_0x3e48cd(0xac)](_0x54cd1f){const _0x1ee197=a0_0x3e48cd;return this[_0x1ee197(0x20c)][_0x1ee197(0xac)](_0x54cd1f);}[a0_0x3e48cd(0x108)](){const _0x4585fc=a0_0x3e48cd;return this[_0x4585fc(0x20c)][_0x4585fc(0x2af)](_0x2dbdd9=>_0x2dbdd9[_0x4585fc(0x237)]());}[a0_0x3e48cd(0x142)](){const _0x34ba1f=a0_0x3e48cd;return this[_0x34ba1f(0x20c)][_0x34ba1f(0x2af)](_0x29393d=>_0x29393d[_0x34ba1f(0xb8)]());}[a0_0x3e48cd(0x257)](){const _0x21fa8e=a0_0x3e48cd;return this[_0x21fa8e(0x20c)][_0x21fa8e(0x2af)](_0x403403=>_0x403403['isSystem']());}[a0_0x3e48cd(0x350)](){const _0x1f03f7=a0_0x3e48cd;return this[_0x1f03f7(0x20c)][_0x1f03f7(0x2af)](_0x4a01f5=>_0x4a01f5[_0x1f03f7(0x143)]());}[a0_0x3e48cd(0x9c)](){const _0x10c0d3=a0_0x3e48cd;return this[_0x10c0d3(0x20c)][_0x10c0d3(0x2af)](_0x134078=>_0x134078['isEnum']());}[a0_0x3e48cd(0x32c)](){const _0x3426bb=a0_0x3e48cd,_0x31a2a5={};return this[_0x3426bb(0x20c)][_0x3426bb(0x194)](_0x43564f=>{const _0x3778b5=_0x3426bb,_0x361edc=_0x43564f['type'];!_0x31a2a5[_0x361edc]&&(_0x31a2a5[_0x361edc]=[]),_0x31a2a5[_0x361edc][_0x3778b5(0x2d5)](_0x43564f);}),_0x31a2a5;}[a0_0x3e48cd(0x34a)](){const _0x1ef2c9=a0_0x3e48cd;return this['_fields'][_0x1ef2c9(0xac)](_0x519483=>_0x519483[_0x1ef2c9(0x34a)]);}static[a0_0x3e48cd(0x2c5)](_0x2df893){const _0x680566=a0_0x3e48cd,_0x17e786=_0x2df893[_0x680566(0xac)](_0x4c643a=>_0x4c643a[_0x680566(0x34a)]);return new FieldListV2(_0x17e786);}static[a0_0x3e48cd(0x266)](_0x4d90ae){const _0x243909={};return _0x243909['includeDeleted']=!![],new FieldListV2(_0x4d90ae,_0x243909);}[a0_0x3e48cd(0x129)](){const _0x3dc16a=a0_0x3e48cd;return _0x3dc16a(0x2a6)+this[_0x3dc16a(0x1f8)]+_0x3dc16a(0x22b);}}class DrivenDataDetailV1 extends DrivenDataDetailBase{['_fieldListV1'];[a0_0x3e48cd(0x30c)];constructor(_0x5da5ca){super(_0x5da5ca);}['getFieldList'](){const _0x2fc064=a0_0x3e48cd;if(!this[_0x2fc064(0x2f3)]){const _0x1a0555={};_0x1a0555[_0x2fc064(0x23b)]=![],this[_0x2fc064(0x2f3)]=new FieldListV1(this['_raw'][_0x2fc064(0x21b)]||[],_0x1a0555);}return this[_0x2fc064(0x2f3)];}[a0_0x3e48cd(0x1f5)](){const _0x4bee79=a0_0x3e48cd;if(!this[_0x4bee79(0x30c)]){const _0x12e994={};_0x12e994[_0x4bee79(0x23b)]=!![],this[_0x4bee79(0x30c)]=new FieldListV1(this[_0x4bee79(0x239)]['properties']||[],_0x12e994);}return this[_0x4bee79(0x30c)];}['getFields'](){const _0x12cd25=a0_0x3e48cd;return(this[_0x12cd25(0x239)][_0x12cd25(0x21b)]||[])[_0x12cd25(0x2af)](_0x3d0d8a=>!_0x3d0d8a['deleted']);}[a0_0x3e48cd(0x2bd)](){const _0x30ba4e=a0_0x3e48cd;return this[_0x30ba4e(0xa1)]()[_0x30ba4e(0x1f8)];}['getFieldRaw'](_0x3144ab){const _0x4d7ae3=a0_0x3e48cd;return this[_0x4d7ae3(0x239)]['properties']?.[_0x4d7ae3(0x8b)](_0x3b57c4=>_0x3b57c4[_0x4d7ae3(0x22c)]===_0x3144ab);}[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x152)](){const _0x425658=a0_0x3e48cd,_0x636fda={};return _0x636fda[_0x425658(0x16a)]=this[_0x425658(0x239)][_0x425658(0x21b)]||[],_0x636fda[_0x425658(0x23b)]=![],_0x636fda;}[a0_0x3e48cd(0x125)](){const _0x58c79e=a0_0x3e48cd;return this[_0x58c79e(0x239)][_0x58c79e(0x2a1)];}[a0_0x3e48cd(0x12e)](){const _0x370105=a0_0x3e48cd;return this[_0x370105(0x239)][_0x370105(0xeb)];}[a0_0x3e48cd(0x160)](){const _0x2169f3=a0_0x3e48cd,_0x4e9046=this[_0x2169f3(0x2e7)](),_0x1a26af=_0x4e9046?.[_0x2169f3(0x11f)],_0x535ff2={};return _0x535ff2['dbId']=_0x4e9046?.['dbId'],_0x535ff2['dbName']=_0x4e9046?.[_0x2169f3(0x187)]??_0x1a26af?.[_0x2169f3(0x187)],_0x535ff2[_0x2169f3(0xde)]=_0x1a26af?.[_0x2169f3(0xde)],_0x535ff2[_0x2169f3(0x2ff)]=_0x1a26af?.[_0x2169f3(0x2ff)],_0x535ff2[_0x2169f3(0x1fa)]=_0x4e9046?.['tableName'],_0x535ff2[_0x2169f3(0x21d)]=_0x4e9046?.[_0x2169f3(0x21d)],_0x535ff2['pkField']=_0x4e9046?.[_0x2169f3(0x33b)],_0x535ff2[_0x2169f3(0x2e6)]=_0x1a26af?.['tenantCode'],_0x535ff2['appCode']=_0x1a26af?.[_0x2169f3(0x260)],new DBConfig(_0x535ff2,_0x4e9046);}get['version'](){const _0x9d6c88=a0_0x3e48cd;return this[_0x9d6c88(0x239)][_0x9d6c88(0x2a0)];}[a0_0x3e48cd(0x1ed)](_0x360824){const _0x227c38=a0_0x3e48cd;if(typeof _0x360824!=='string'){!![]&&console[_0x227c38(0x98)](_0x227c38(0x34e),_0x360824);return;}return this[_0x227c38(0xa1)]()[_0x227c38(0x8b)](_0x360824);}[a0_0x3e48cd(0x282)](_0x868d3b){const _0x5853d0=a0_0x3e48cd;if(!_0x868d3b||typeof _0x868d3b!=='object')return![];const _0x194a6c=this[_0x5853d0(0x1ed)](_0x868d3b[_0x5853d0(0x22c)]);return _0x194a6c?_0x194a6c[_0x5853d0(0x2cc)]():![];}[a0_0x3e48cd(0x20f)](){const _0x59d682=a0_0x3e48cd,_0x517fe8=this['getOperation'](_0x59d682(0x2af));return _0x517fe8;}[a0_0x3e48cd(0x1fc)](){const _0x48f19d=a0_0x3e48cd;return this[_0x48f19d(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x5d4b36=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x5d4b36(0x246)],'datasetCode':this['datasetCode'],'dbtableConfig':this[_0x5d4b36(0x2e7)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{['_fieldListV2'];[a0_0x3e48cd(0x2e2)];[a0_0x3e48cd(0x27f)];constructor(_0x2ecece){const _0xeffcb2=a0_0x3e48cd;super(_0x2ecece),this[_0xeffcb2(0x2e2)]=_0x2ecece['dataset'],this[_0xeffcb2(0x27f)]=_0x2ecece[_0xeffcb2(0x96)]||[];}[a0_0x3e48cd(0x2b5)](){return'v2';}[a0_0x3e48cd(0x152)](){const _0xc4f51f=a0_0x3e48cd,_0x14bc86={};return _0x14bc86[_0xc4f51f(0x16a)]=this[_0xc4f51f(0x239)][_0xc4f51f(0x16a)],_0x14bc86['includeDeleted']=![],_0x14bc86;}[a0_0x3e48cd(0x125)](){const _0x5d2d4f=a0_0x3e48cd;return this[_0x5d2d4f(0x239)][_0x5d2d4f(0x2a1)];}['getSource'](){const _0x4ed30a=a0_0x3e48cd;return this[_0x4ed30a(0x239)][_0x4ed30a(0xeb)];}['getDBConfig'](){const _0xc509b9=a0_0x3e48cd,_0x1a07dd=this['_raw']['dbtableConfig'],_0x215732=_0x1a07dd?.[_0xc509b9(0x11f)],_0x3b491f={};return _0x3b491f[_0xc509b9(0xd1)]=_0x1a07dd?.[_0xc509b9(0xd1)],_0x3b491f['dbName']=_0x1a07dd?.[_0xc509b9(0x187)]??_0x215732?.['dbName'],_0x3b491f[_0xc509b9(0xde)]=_0x215732?.['dbType'],_0x3b491f['dbVersion']=_0x215732?.[_0xc509b9(0x2ff)],_0x3b491f[_0xc509b9(0x1fa)]=_0x1a07dd?.[_0xc509b9(0x1fa)],_0x3b491f[_0xc509b9(0x21d)]=_0x1a07dd?.['datasetKey'],_0x3b491f[_0xc509b9(0x33b)]=_0x1a07dd?.['pkField'],_0x3b491f['tenantCode']=_0x1a07dd?.['tenantCode']??_0x215732?.[_0xc509b9(0x2e6)],_0x3b491f[_0xc509b9(0x260)]=_0x1a07dd?.[_0xc509b9(0x260)]??_0x215732?.[_0xc509b9(0x260)],new DBConfig(_0x3b491f,_0x1a07dd);}[a0_0x3e48cd(0xa1)](){const _0x330b85=a0_0x3e48cd;return this[_0x330b85(0x26d)]();}[a0_0x3e48cd(0x2a7)](){const _0x306223=a0_0x3e48cd;return this['_raw'][_0x306223(0x16a)]||[];}[a0_0x3e48cd(0x2bd)](){const _0x2a440b=a0_0x3e48cd;return(this[_0x2a440b(0x239)][_0x2a440b(0x16a)]||[])[_0x2a440b(0x1f8)];}[a0_0x3e48cd(0x1c7)](_0x4a05fb){const _0x547430=a0_0x3e48cd;return this[_0x547430(0x239)]['fields'][_0x547430(0x8b)](_0x2e99ec=>_0x2e99ec[_0x547430(0x246)]===_0x4a05fb);}[a0_0x3e48cd(0x132)](){const _0x2c7255=a0_0x3e48cd;return this[_0x2c7255(0x2e2)];}[a0_0x3e48cd(0x287)](){const _0x41a684=a0_0x3e48cd;return this[_0x41a684(0x27f)];}[a0_0x3e48cd(0x219)](){const _0x4132a4=a0_0x3e48cd;return this[_0x4132a4(0x2e2)]['indexes']||[];}[a0_0x3e48cd(0x1ec)](_0x4bf134){const _0x6c50b3=a0_0x3e48cd;return this[_0x6c50b3(0x27f)][_0x6c50b3(0x2af)](_0x302380=>_0x302380[_0x6c50b3(0xf4)]===_0x4bf134);}[a0_0x3e48cd(0x148)](_0x4d17df){const _0x34a3b3=a0_0x3e48cd;return this[_0x34a3b3(0x27f)]['some'](_0x321bcf=>_0x321bcf[_0x34a3b3(0xf4)]===_0x4d17df);}[a0_0x3e48cd(0xe7)](_0x3750e0){const _0x27436e=a0_0x3e48cd,_0xf78c60=this['_relations'][_0x27436e(0x8b)](_0x8b51f=>_0x8b51f[_0x27436e(0xf4)]===_0x3750e0);if(!_0xf78c60)return;const _0x46d440={};return _0x46d440['datasetId']=_0xf78c60[_0x27436e(0x261)],_0x46d440['datasetCode']=_0xf78c60[_0x27436e(0x2ab)],_0x46d440[_0x27436e(0x1d5)]=_0xf78c60[_0x27436e(0x112)],_0x46d440['tableName']=_0xf78c60[_0x27436e(0xbe)],_0x46d440[_0x27436e(0x2c4)]=_0xf78c60['toField'],_0x46d440;}[a0_0x3e48cd(0x342)](){const _0x3de393=a0_0x3e48cd;return this[_0x3de393(0x27f)][_0x3de393(0xac)](_0x31174b=>_0x31174b[_0x3de393(0xf4)]);}['getFieldListV2'](){const _0x41400e=a0_0x3e48cd;if(!this['_fieldListV2']){const _0x52a4af=this[_0x41400e(0x239)][_0x41400e(0x16a)]||[];this[_0x41400e(0x10f)]=new FieldListV2(_0x52a4af);}return this[_0x41400e(0x10f)];}[a0_0x3e48cd(0x1ed)](_0x328e87){const _0x4a6cdf=a0_0x3e48cd;if(typeof _0x328e87!=='string'){!![]&&console[_0x4a6cdf(0x98)](_0x4a6cdf(0x2ec),_0x328e87);return;}return this['getFieldListV2']()[_0x4a6cdf(0x8b)](_0x328e87);}[a0_0x3e48cd(0x282)](_0x18d4f6){const _0x53cda8=a0_0x3e48cd;if(!_0x18d4f6||typeof _0x18d4f6!==_0x53cda8(0x335))return![];const _0x51ce0d=_0x18d4f6['name']||_0x18d4f6['code'],_0x15c8b6=this[_0x53cda8(0x1ed)](_0x51ce0d);return _0x15c8b6?_0x15c8b6[_0x53cda8(0x2cc)]():![];}[a0_0x3e48cd(0x1fe)](){const _0x36c794=a0_0x3e48cd;if(!this[_0x36c794(0x214)]){const _0x200912=this['ensureFilterOperation'](this[_0x36c794(0x125)]()||{});this[_0x36c794(0x214)]=new OperationList(_0x200912,{'fields':this[_0x36c794(0x26d)]()[_0x36c794(0xaf)](),'pkField':this[_0x36c794(0x239)][_0x36c794(0x2aa)]?.['pkField'],'dbtableConfig':this[_0x36c794(0x239)][_0x36c794(0x2aa)]||null});}return this[_0x36c794(0x214)];}[a0_0x3e48cd(0x20f)](){const _0x3d34bd=a0_0x3e48cd,_0x426899=this['getOperation'](_0x3d34bd(0x2af));return _0x426899;}['hasFilterOperation'](){const _0x547c6f=a0_0x3e48cd;return this[_0x547c6f(0x2dd)]('filter');}[a0_0x3e48cd(0x195)](){const _0x3db578=a0_0x3e48cd;return new DatasetItem({'id':this['id'],'name':this[_0x3db578(0x246)],'datasetCode':this[_0x3db578(0x14c)],'dbtableConfig':this[_0x3db578(0x2e7)]()});}[a0_0x3e48cd(0x129)](){const _0x127da8=a0_0x3e48cd,_0x5bd0f5=this[_0x127da8(0x27f)]['length'],_0x5ebd6f=this[_0x127da8(0x219)]()['length'];return _0x127da8(0x315)+this['name']+',\x20'+this['datasetCode']+',\x20'+this[_0x127da8(0x2bd)]()+_0x127da8(0x329)+this[_0x127da8(0x2f5)]()+_0x127da8(0x1d4)+_0x5bd0f5+_0x127da8(0x2ba)+_0x5ebd6f+_0x127da8(0x2a4);}[a0_0x3e48cd(0x13e)](){const _0x1698fe=a0_0x3e48cd;return this[_0x1698fe(0x239)][_0x1698fe(0x16a)];}[a0_0x3e48cd(0x22e)](_0x4788a7){const _0x5c4196=a0_0x3e48cd;return this['_raw'][_0x5c4196(0x16a)][_0x5c4196(0x8b)](_0x3c8a99=>_0x3c8a99[_0x5c4196(0x246)]===_0x4788a7);}}function detectDatasetVersion(_0x288d4a){const _0x29acec=a0_0x3e48cd;if(_0x288d4a[_0x29acec(0x2b8)]==='v2'&&_0x29acec(0x16a)in _0x288d4a&&Array[_0x29acec(0x133)](_0x288d4a['fields']))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{['_instance'];constructor(_0xffaee6){super(_0xffaee6);const _0x2e3175=detectDatasetVersion(_0xffaee6);this['_instance']=_0x2e3175==='v2'?new DrivenDataDetailV2(_0xffaee6):new DrivenDataDetailV1(_0xffaee6);}get['id'](){return this['_instance']['id'];}get[a0_0x3e48cd(0x246)](){const _0x576add=a0_0x3e48cd;return this[_0x576add(0x1cc)][_0x576add(0x246)];}get[a0_0x3e48cd(0x14c)](){const _0x29459f=a0_0x3e48cd;return this['_instance'][_0x29459f(0x14c)];}get[a0_0x3e48cd(0x2a0)](){const _0x4c8f54=a0_0x3e48cd;return this[_0x4c8f54(0x1cc)][_0x4c8f54(0x2b5)]()==='v2'?_0x4c8f54(0x29b):_0x4c8f54(0xbd);}[a0_0x3e48cd(0x2b5)](){const _0x183a50=a0_0x3e48cd;return this[_0x183a50(0x1cc)][_0x183a50(0x2b5)]();}[a0_0x3e48cd(0x18e)](){const _0x27ae06=a0_0x3e48cd;return this[_0x27ae06(0x1cc)]['id'];}[a0_0x3e48cd(0x1af)](){const _0x4646e1=a0_0x3e48cd;return this['_instance'][_0x4646e1(0x14c)];}[a0_0x3e48cd(0xd9)](){const _0x148591=a0_0x3e48cd;return this[_0x148591(0x1cc)]['name'];}[a0_0x3e48cd(0x152)](){return this['_instance']['getFieldDataSource']();}[a0_0x3e48cd(0x125)](){const _0x153694=a0_0x3e48cd;return this[_0x153694(0x1cc)]['getOperationsData']();}['getSource'](){const _0x279e99=a0_0x3e48cd;return this[_0x279e99(0x1cc)]['getSource']();}[a0_0x3e48cd(0x1f5)](){return this['_instance']['getFieldListWithDeleted']();}[a0_0x3e48cd(0xa1)](){const _0x9e0094=a0_0x3e48cd;return this[_0x9e0094(0x1cc)][_0x9e0094(0xa1)]();}[a0_0x3e48cd(0x327)](){const _0x2964b8=a0_0x3e48cd;return this[_0x2964b8(0x1cc)]['getFieldsWithDeleted']();}[a0_0x3e48cd(0x2a7)](){const _0x3850d4=a0_0x3e48cd;return this[_0x3850d4(0x1cc)]['getFields']();}['getFieldCount'](){const _0x59d37d=a0_0x3e48cd;return this['_instance'][_0x59d37d(0x2bd)]();}['getPkField'](){const _0x10fe0f=a0_0x3e48cd,_0x1784af=this[_0x10fe0f(0x1cc)][_0x10fe0f(0x2e7)]();return _0x1784af?.[_0x10fe0f(0x33b)];}[a0_0x3e48cd(0x160)](){const _0x7cc2c0=a0_0x3e48cd;return this['_instance'][_0x7cc2c0(0x160)]();}[a0_0x3e48cd(0x1ed)](_0x521beb){return this['_instance']['getFieldInstance'](_0x521beb);}[a0_0x3e48cd(0x84)](){const _0x45287c=a0_0x3e48cd;return this[_0x45287c(0x1cc)][_0x45287c(0x84)]();}[a0_0x3e48cd(0x2bf)](){const _0x39d393=a0_0x3e48cd;return this[_0x39d393(0x1cc)][_0x39d393(0x2bf)]();}[a0_0x3e48cd(0x2ea)](){const _0x5e3df4=a0_0x3e48cd;return this[_0x5e3df4(0x1cc)][_0x5e3df4(0x2ea)]();}['getRequiredFields'](){const _0x4b9dba=a0_0x3e48cd;return this[_0x4b9dba(0x1cc)][_0x4b9dba(0x211)]();}[a0_0x3e48cd(0x159)](){return this['_instance']['getFieldsByType']();}[a0_0x3e48cd(0x251)](){const _0x5ed836=a0_0x3e48cd;return this[_0x5ed836(0x1cc)][_0x5ed836(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x18c087=a0_0x3e48cd;return this[_0x18c087(0x1cc)][_0x18c087(0x2f4)]();}[a0_0x3e48cd(0x168)](){const _0x3de088=a0_0x3e48cd;return this['_instance'][_0x3de088(0x168)]();}[a0_0x3e48cd(0x2f5)](){const _0x2a381b=a0_0x3e48cd;return this['_instance'][_0x2a381b(0x2f5)]();}[a0_0x3e48cd(0x25d)](){const _0x13e267=a0_0x3e48cd;return this[_0x13e267(0x1cc)][_0x13e267(0x25d)]();}[a0_0x3e48cd(0x19b)](){const _0x57af8e=a0_0x3e48cd;return this[_0x57af8e(0x1cc)][_0x57af8e(0x19b)]();}['getEnabledOperationInstances'](){const _0xf32998=a0_0x3e48cd;return this[_0xf32998(0x1cc)][_0xf32998(0x27e)]();}[a0_0x3e48cd(0x262)](){const _0x5494c4=a0_0x3e48cd;return this[_0x5494c4(0x1cc)][_0x5494c4(0x262)]();}['getStats'](){const _0x167299=a0_0x3e48cd;return this[_0x167299(0x1cc)]['getStats']();}['getDatasetMeta'](){const _0x277bb9=a0_0x3e48cd;return this[_0x277bb9(0x1cc)]['getDatasetMeta']();}['getRelations'](){const _0xbb226c=a0_0x3e48cd;return this['_instance'][_0xbb226c(0x287)]();}['getIndexes'](){const _0x189642=a0_0x3e48cd;return this[_0x189642(0x1cc)]['getIndexes']();}[a0_0x3e48cd(0x158)](){const _0x6d2e7b=a0_0x3e48cd;return this['_instance'][_0x6d2e7b(0x158)]();}[a0_0x3e48cd(0x281)](){const _0xe40ebf=a0_0x3e48cd;return this['_instance'][_0xe40ebf(0x281)]();}[a0_0x3e48cd(0x2df)](){const _0x31fd7a=a0_0x3e48cd;return this[_0x31fd7a(0x1cc)][_0x31fd7a(0x2df)]();}[a0_0x3e48cd(0x20f)](){return this['_instance']['getFilterOperation']();}[a0_0x3e48cd(0x1fc)](){const _0x1d28ab=a0_0x3e48cd;return this[_0x1d28ab(0x1cc)][_0x1d28ab(0x1fc)]();}['toListItem'](){const _0x236995=a0_0x3e48cd;return this[_0x236995(0x1cc)]['toListItem']();}['toString'](){const _0x43724b=a0_0x3e48cd;return this['_instance'][_0x43724b(0x129)]();}['getInternalInstance'](){const _0x28b489=a0_0x3e48cd;return this[_0x28b489(0x1cc)];}}function detectDatasetVersion2(_0x36793d){const _0x195e6c=a0_0x3e48cd;if(_0x36793d['doVersion']==='v2'&&_0x195e6c(0x16a)in _0x36793d&&Array['isArray'](_0x36793d['fields']))return'v2';return'v1';}function createDrivenDataDetail(_0xdec191,_0x1f1d49={}){const {forceVersion:_0x114516}=_0x1f1d49;if(_0x114516==='v2')return new DrivenDataDetailV2(_0xdec191);if(_0x114516==='v1')return new DrivenDataDetailV1(_0xdec191);const _0x2c1e1a=detectDatasetVersion2(_0xdec191);if(_0x2c1e1a==='v2')return new DrivenDataDetailV2(_0xdec191);return new DrivenDataDetailV1(_0xdec191);}function isV2Data(_0x3e12ab){return detectDatasetVersion2(_0x3e12ab)==='v2';}function isV1Data(_0x33dea7){return detectDatasetVersion2(_0x33dea7)==='v1';}function isV2Instance(_0x2f56fb){const _0x11e84d=a0_0x3e48cd;return _0x2f56fb[_0x11e84d(0x2b5)]()==='v2';}function isV1Instance(_0x29b6a0){return _0x29b6a0['getVersion']()==='v1';}class DatasetGroup{['items'];constructor(_0x49054a){const _0x28cb58=a0_0x3e48cd;this['items']=Array['isArray'](_0x49054a)?[..._0x49054a]:[_0x49054a],this[_0x28cb58(0x1c6)][_0x28cb58(0x292)]((_0x59b683,_0x415a46)=>{const _0xa3cc3c=Number(_0x59b683['id'])||0x0,_0x386ff7=Number(_0x415a46['id'])||0x0;return _0x386ff7-_0xa3cc3c;});}[a0_0x3e48cd(0xdc)](){const _0x39cf33=a0_0x3e48cd;return this[_0x39cf33(0x1c6)]['length']>0x1;}[a0_0x3e48cd(0xef)](){return this['items'][0x0];}[a0_0x3e48cd(0x253)](){const _0x1895c6=a0_0x3e48cd;return this[_0x1895c6(0x1c6)][this['items']['length']-0x1];}[a0_0x3e48cd(0x324)](){return[...this['items']];}[a0_0x3e48cd(0xcd)](){const _0x104a94=a0_0x3e48cd;return this[_0x104a94(0x1c6)][_0x104a94(0x1f8)];}[a0_0x3e48cd(0x153)](_0xede472){const _0x361dac=a0_0x3e48cd;return this[_0x361dac(0x1c6)][_0xede472];}[a0_0x3e48cd(0x289)](_0x51b000){const _0x29fc2a=a0_0x3e48cd;return this[_0x29fc2a(0x1c6)]['find'](_0x35aa9c=>_0x35aa9c['id']===_0x51b000);}['findByCode'](_0xa76f22){const _0x457e88=a0_0x3e48cd;return this['items'][_0x457e88(0x8b)](_0x417a2a=>_0x417a2a['datasetCode']===_0xa76f22);}['getIds'](){const _0xb57a30=a0_0x3e48cd;return this[_0xb57a30(0x1c6)]['map'](_0x366664=>_0x366664['id'])[_0xb57a30(0x2af)](_0x102de8=>_0x102de8!==undefined);}[a0_0x3e48cd(0xd3)](){const _0x2bf9f4=a0_0x3e48cd;return this['items'][_0x2bf9f4(0xac)](_0x14bdaf=>_0x14bdaf[_0x2bf9f4(0x14c)]);}[a0_0x3e48cd(0x129)](){const _0x51da6f=a0_0x3e48cd;if(this[_0x51da6f(0xdc)]())return'DatasetGroup('+this[_0x51da6f(0x1c6)][_0x51da6f(0x1f8)]+_0x51da6f(0x31d)+this[_0x51da6f(0xef)]()[_0x51da6f(0x246)]+')';return _0x51da6f(0xd4)+this[_0x51da6f(0x1c6)][0x0][_0x51da6f(0x246)]+')';}}class DatasetGroupMap{['groups'];constructor(_0x4a0de3){const _0xb5295f=a0_0x3e48cd;this[_0xb5295f(0x297)]=new Map();for(const _0x1f12ef of _0x4a0de3){const _0x53e680=_0x1f12ef[_0xb5295f(0x16d)](),_0x13f1a9=_0x1f12ef[_0xb5295f(0x2aa)]?.[_0xb5295f(0xd1)],_0x343d63=_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x187)]||_0x1f12ef['dbtableConfig']?.[_0xb5295f(0x11f)]?.[_0xb5295f(0x187)]||'',_0x28ec09=_0x13f1a9!==undefined&&_0x13f1a9!==null?'db'+_0x13f1a9:_0x343d63?getTableKey(_0x343d63):'',_0xb4d9c9=_0x28ec09?_0x28ec09+'_'+_0x53e680:_0x53e680,_0x47e390=getTableKey(_0xb4d9c9);if(!this[_0xb5295f(0x297)][_0xb5295f(0x2b9)](_0x47e390))this[_0xb5295f(0x297)][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0x1f12ef));else{const _0x346bdc=this[_0xb5295f(0x297)][_0xb5295f(0x32d)](_0x47e390),_0xe4ea45=[..._0x346bdc[_0xb5295f(0x324)](),_0x1f12ef];this['groups'][_0xb5295f(0x317)](_0x47e390,new DatasetGroup(_0xe4ea45));}}}[a0_0x3e48cd(0x32d)](_0x5337cb){const _0x27dc7f=a0_0x3e48cd;return this['groups'][_0x27dc7f(0x32d)](_0x5337cb);}[a0_0x3e48cd(0x2b9)](_0x5eda48){const _0x127d48=a0_0x3e48cd;return this[_0x127d48(0x297)]['has'](_0x5eda48);}get[a0_0x3e48cd(0x13b)](){const _0x1fcd78=a0_0x3e48cd;return this['groups'][_0x1fcd78(0x13b)];}[a0_0x3e48cd(0x326)](){const _0x123229=a0_0x3e48cd;return this[_0x123229(0x297)]['keys']();}[a0_0x3e48cd(0x94)](){const _0x5c2374=a0_0x3e48cd;return this['groups'][_0x5c2374(0x94)]();}[a0_0x3e48cd(0x256)](){const _0x7885a9=a0_0x3e48cd;return this['groups'][_0x7885a9(0x256)]();}[Symbol[a0_0x3e48cd(0x320)]](){const _0x412703=a0_0x3e48cd;return this['groups'][_0x412703(0x256)]();}['forEach'](_0x3a6775){const _0x5afa70=a0_0x3e48cd;this[_0x5afa70(0x297)][_0x5afa70(0x194)]((_0x138561,_0x5a025a)=>_0x3a6775(_0x138561,_0x5a025a,this));}['getConflicts'](){const _0x442cc3=a0_0x3e48cd,_0x314dc0=new Map();for(const [_0x534df6,_0xd8215b]of this[_0x442cc3(0x297)]){_0xd8215b[_0x442cc3(0xdc)]()&&_0x314dc0['set'](_0x534df6,_0xd8215b);}return _0x314dc0;}[a0_0x3e48cd(0xf2)](){const _0x10e8eb=a0_0x3e48cd;for(const _0x1ad02a of this[_0x10e8eb(0x297)][_0x10e8eb(0x94)]()){if(_0x1ad02a[_0x10e8eb(0xdc)]())return!![];}return![];}[a0_0x3e48cd(0x2a9)](){const _0x18ce37=a0_0x3e48cd;let _0x3593d1=0x0,_0x2a005f=0x0;for(const _0x2158f9 of this['groups']['values']()){_0x2158f9[_0x18ce37(0xdc)]()&&(_0x3593d1++,_0x2a005f+=_0x2158f9[_0x18ce37(0xcd)]());}const _0x20786f={};return _0x20786f[_0x18ce37(0x2c9)]=_0x3593d1,_0x20786f['conflictItemCount']=_0x2a005f,_0x20786f[_0x18ce37(0x20b)]=this['groups']['size'],_0x20786f;}[a0_0x3e48cd(0x207)](){const _0x150e27=a0_0x3e48cd,_0x294f05=[];for(const _0x3b42fb of this[_0x150e27(0x297)][_0x150e27(0x94)]()){_0x294f05[_0x150e27(0x2d5)](..._0x3b42fb['getAll']());}return _0x294f05;}[a0_0x3e48cd(0x23d)](){const _0x553059=a0_0x3e48cd,_0x49fb62=[];for(const _0x1f46bf of this[_0x553059(0x297)][_0x553059(0x94)]()){_0x49fb62[_0x553059(0x2d5)](_0x1f46bf['getLatest']());}return _0x49fb62;}[a0_0x3e48cd(0xef)](_0x54283d){const _0x450a83=a0_0x3e48cd;return this['groups'][_0x450a83(0x32d)](_0x54283d)?.[_0x450a83(0xef)]();}['getAll'](_0x54f9d6){const _0x110d1e=a0_0x3e48cd;return this[_0x110d1e(0x297)][_0x110d1e(0x32d)](_0x54f9d6)?.[_0x110d1e(0x324)]()||[];}[a0_0x3e48cd(0x2e0)](){const _0x3526f9=a0_0x3e48cd,_0x11ec85=this[_0x3526f9(0x23d)](),_0x507a0f=new Map();for(const _0x552b83 of _0x11ec85){const _0xb377c7=_0x552b83[_0x3526f9(0x16d)](),_0x1bcfd7=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0xd1)],_0x45ad8f=_0x552b83[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x552b83['dbtableConfig']?.[_0x3526f9(0x11f)]?.['dbName']||'',_0x19cfb2=_0x1bcfd7!==undefined&&_0x1bcfd7!==null?'db'+_0x1bcfd7:_0x45ad8f?getTableKey(_0x45ad8f):'';!_0x507a0f[_0x3526f9(0x2b9)](_0xb377c7)&&_0x507a0f['set'](_0xb377c7,new Set()),_0x507a0f['get'](_0xb377c7)['add'](_0x19cfb2);}const _0x2b29e1=new Set();for(const [_0x48d612,_0x5a7ca9]of _0x507a0f){_0x5a7ca9['size']>0x1&&_0x2b29e1[_0x3526f9(0x136)](_0x48d612);}const _0x5117ed={},_0xe4d330=new Set();for(const _0x7092bd of _0x11ec85){const _0xc5ea5c=_0x7092bd[_0x3526f9(0x16d)](),_0x240233=_0x7092bd[_0x3526f9(0x2df)](),_0x5a9711=getTableKey(_0xc5ea5c);let _0x135232=_0x5a9711;const _0x4bea0e=_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x187)]||_0x7092bd[_0x3526f9(0x2aa)]?.[_0x3526f9(0x11f)]?.[_0x3526f9(0x187)]||'';if(_0x2b29e1[_0x3526f9(0x2b9)](_0xc5ea5c)&&_0x4bea0e){const _0x124467=getTableKey(_0x4bea0e);_0x135232=''+_0x124467+_0x5a9711[_0x3526f9(0x126)](0x0)[_0x3526f9(0x279)]()+_0x5a9711[_0x3526f9(0x1f9)](0x1);}let _0x4df9e4=_0x135232,_0x22d0d1=0x1;while(_0xe4d330[_0x3526f9(0x2b9)](_0x4df9e4)){_0x4df9e4=_0x135232+'_'+_0x22d0d1,_0x22d0d1++;}_0xe4d330[_0x3526f9(0x136)](_0x4df9e4);const _0x1f85ee=_0x4df9e4;_0x5117ed[_0x4df9e4]={'key':_0x4df9e4,'alias':_0x1f85ee,'tableName':_0xc5ea5c,'datasetCode':_0x240233[_0x3526f9(0x14c)],'name':_0x240233[_0x3526f9(0x246)],'id':_0x240233['id'],'dbName':_0x4bea0e};}return _0x5117ed;}[a0_0x3e48cd(0x259)](){const _0x3ace20=a0_0x3e48cd,_0x293b03=this[_0x3ace20(0x207)](),_0x462def=_0x293b03[_0x3ace20(0xac)](_0x700c01=>_0x700c01[_0x3ace20(0x2df)]());return generateFullDatasetsConfig(_0x462def);}[a0_0x3e48cd(0xda)](){const _0x1523c7={};for(const [_0x2effb5,_0x4c64ca]of this['groups']){_0x1523c7[_0x2effb5]=_0x4c64ca;}return _0x1523c7;}[a0_0x3e48cd(0x2df)](){const _0x3e4119=a0_0x3e48cd,_0x544d59={};for(const [_0x3f3ca7,_0xffbef7]of this[_0x3e4119(0x297)]){_0x544d59[_0x3f3ca7]=_0xffbef7['getAll']()[_0x3e4119(0xac)](_0x70578f=>_0x70578f[_0x3e4119(0x2df)]());}return _0x544d59;}[a0_0x3e48cd(0x129)](){const _0x263131=a0_0x3e48cd;return _0x263131(0xa2)+this[_0x263131(0x297)][_0x263131(0x13b)]+'\x20groups,\x20'+(this[_0x263131(0xf2)]()?_0x263131(0xf8):_0x263131(0x14a))+')';}}class DatasetList{[a0_0x3e48cd(0x21f)];constructor(_0x480bd3){const _0x44098d=a0_0x3e48cd;let _0x2f5bc6;if(Array[_0x44098d(0x133)](_0x480bd3))_0x2f5bc6=_0x480bd3;else{if(_0x44098d(0x2c3)in _0x480bd3){if(!_0x480bd3['success'])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x44098d(0x133)](_0x480bd3[_0x44098d(0x32f)]))_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0xac)](_0x2db739=>({..._0x2db739,'datasetCode':_0x2db739['code']||_0x2db739[_0x44098d(0x14c)]}));else{if(_0x480bd3[_0x44098d(0x32f)]?.[_0x44098d(0x191)])_0x2f5bc6=_0x480bd3[_0x44098d(0x32f)][_0x44098d(0x191)]['map'](_0xa3686a=>({..._0xa3686a,'datasetCode':_0xa3686a[_0x44098d(0x22c)]||_0xa3686a['datasetCode']}));else throw new Error('Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)');}}else{if(_0x44098d(0x191)in _0x480bd3){if(!Array[_0x44098d(0x133)](_0x480bd3['tableData']))throw new Error(_0x44098d(0x16c));_0x2f5bc6=_0x480bd3[_0x44098d(0x191)]['map'](_0x1984bd=>({..._0x1984bd,'datasetCode':_0x1984bd[_0x44098d(0x22c)]||_0x1984bd['datasetCode']}));}else throw new Error(_0x44098d(0x15e));}}const _0x44fde4=cleanDatasetNames(_0x2f5bc6),_0x2e861d=_0x44fde4['map'](_0x273d5e=>new DatasetItem(_0x273d5e));this[_0x44098d(0x21f)]=new DatasetGroupMap(_0x2e861d);}get['datasetMap'](){const _0x430ffe=a0_0x3e48cd;return this[_0x430ffe(0x21f)];}['getItems'](){const _0x145039=a0_0x3e48cd;return this['_datasetMap'][_0x145039(0x207)]();}['getCount'](){const _0x3285d0=a0_0x3e48cd;return this['getItems']()[_0x3285d0(0x1f8)];}['isEmpty'](){const _0x5656a8=a0_0x3e48cd;return this[_0x5656a8(0x21f)][_0x5656a8(0x13b)]===0x0;}['getAt'](_0x2093c4){return this['getItems']()[_0x2093c4];}[a0_0x3e48cd(0x2bc)](){const _0x174c7f=a0_0x3e48cd;return this[_0x174c7f(0xe6)]()[0x0];}[a0_0x3e48cd(0x2c2)](){const _0x51c976=a0_0x3e48cd,_0x565f74=this[_0x51c976(0xe6)]();return _0x565f74[_0x565f74[_0x51c976(0x1f8)]-0x1];}[a0_0x3e48cd(0x2b6)](_0x47af4e){const _0x5d4263=a0_0x3e48cd;for(const _0x140e30 of this[_0x5d4263(0x21f)][_0x5d4263(0x94)]()){const _0x5e4a3b=_0x140e30['findByCode'](_0x47af4e);if(_0x5e4a3b)return _0x5e4a3b;}return;}[a0_0x3e48cd(0x127)](_0x4dba2b){const _0x3e7bcf=a0_0x3e48cd;return this[_0x3e7bcf(0xe6)]()[_0x3e7bcf(0x8b)](_0x519679=>_0x519679[_0x3e7bcf(0x246)]===_0x4dba2b);}['findById'](_0x2b624b){const _0x1670de=a0_0x3e48cd;for(const _0x5e51d9 of this[_0x1670de(0x21f)][_0x1670de(0x94)]()){const _0x363392=_0x5e51d9[_0x1670de(0x289)](_0x2b624b);if(_0x363392)return _0x363392;}return;}[a0_0x3e48cd(0xad)](_0x2eacf0){const _0x1d65c3=a0_0x3e48cd;for(const _0xae052b of this['_datasetMap'][_0x1d65c3(0x94)]()){const _0xa14c11=_0xae052b[_0x1d65c3(0xef)]();if(_0xa14c11[_0x1d65c3(0x16d)]()===_0x2eacf0)return _0xa14c11;}return;}[a0_0x3e48cd(0xb9)](_0x1d3243){const _0x1da7e9=a0_0x3e48cd,_0x3204a1=[];for(const _0x28928d of this[_0x1da7e9(0x21f)][_0x1da7e9(0x94)]()){const _0x21fb66=_0x28928d[_0x1da7e9(0xef)]();_0x21fb66['getTableName']()===_0x1d3243&&_0x3204a1[_0x1da7e9(0x2d5)](_0x21fb66);}return _0x3204a1;}['filter'](_0x275009){const _0x1fe06d=a0_0x3e48cd,_0x1419f5=this[_0x1fe06d(0xe6)]()['filter'](_0x275009);return new DatasetList(_0x1419f5[_0x1fe06d(0xac)](_0x5c61eb=>_0x5c61eb[_0x1fe06d(0x2df)]()));}[a0_0x3e48cd(0x165)](_0x4e9780){const _0x3732b1=a0_0x3e48cd;return this[_0x3732b1(0xe6)]()[_0x3732b1(0x2af)](_0x4e9780);}[a0_0x3e48cd(0x194)](_0x3623b3){const _0x33321c=a0_0x3e48cd;this[_0x33321c(0xe6)]()[_0x33321c(0x194)](_0x3623b3);}[a0_0x3e48cd(0xac)](_0x38cfe2){return this['getItems']()['map'](_0x38cfe2);}[Symbol[a0_0x3e48cd(0x320)]](){const _0x6a2305=a0_0x3e48cd;return this['getItems']()[Symbol[_0x6a2305(0x320)]]();}['getVirtualTables'](){const _0x10b9e7=a0_0x3e48cd;return this[_0x10b9e7(0xe6)]()[_0x10b9e7(0x2af)](_0x3ff33a=>_0x3ff33a[_0x10b9e7(0x1c0)]());}['getRealTables'](){const _0x3065eb=a0_0x3e48cd;return this[_0x3065eb(0xe6)]()[_0x3065eb(0x2af)](_0xa36ab5=>!_0xa36ab5['isVirtualTable']());}[a0_0x3e48cd(0x22d)](){const _0x170645=a0_0x3e48cd,_0x784507={};for(const _0x564cd8 of this[_0x170645(0x21f)][_0x170645(0x94)]()){const _0x44c563=_0x564cd8[_0x170645(0xef)]()['getTableName']();_0x784507[_0x44c563]=_0x564cd8[_0x170645(0x324)]();}return _0x784507;}['detectConflicts'](){const _0x2b26d1=a0_0x3e48cd,_0x13c990={};for(const _0xdb3892 of this[_0x2b26d1(0x21f)]['getConflicts']()[_0x2b26d1(0x94)]()){const _0x440f05=_0xdb3892[_0x2b26d1(0xef)]()['getTableName']();_0x13c990[_0x440f05]=_0xdb3892['getAll']()[_0x2b26d1(0xac)](_0x44939e=>_0x44939e[_0x2b26d1(0x2df)]());}return{'hasConflicts':Object[_0x2b26d1(0x326)](_0x13c990)[_0x2b26d1(0x1f8)]>0x0,'conflicts':_0x13c990};}[a0_0x3e48cd(0xf2)](){const _0x17ad80=a0_0x3e48cd;return this['_datasetMap'][_0x17ad80(0xf2)]();}[a0_0x3e48cd(0x2e3)](){const _0x4a5791=a0_0x3e48cd,_0x44dd52=[];for(const _0x3fe6aa of this['_datasetMap'][_0x4a5791(0x2dc)]()[_0x4a5791(0x94)]()){_0x44dd52[_0x4a5791(0x2d5)](..._0x3fe6aa[_0x4a5791(0x324)]());}return _0x44dd52;}['generateConfig'](_0x445765){const _0x4df19d=a0_0x3e48cd;if(!_0x445765||Object[_0x4df19d(0x326)](_0x445765)['length']===0x0)return this['datasetMap']['toConfig']();const _0x4cd03a=this[_0x4df19d(0xe6)]()[_0x4df19d(0xac)](_0x1cc7b6=>_0x1cc7b6[_0x4df19d(0x2df)]());return generateDatasetsConfig(_0x4cd03a,_0x445765);}[a0_0x3e48cd(0x146)](_0x5a090f){const _0x5e7f43=a0_0x3e48cd,_0x2c0bc5=this[_0x5e7f43(0x1c8)](_0x5a090f);return datasetsConfigToArray(_0x2c0bc5);}[a0_0x3e48cd(0x16b)](){const _0x167050=a0_0x3e48cd;return this[_0x167050(0xe6)]()[_0x167050(0xac)](_0x3b7b4c=>_0x3b7b4c[_0x167050(0x2e0)]());}[a0_0x3e48cd(0x1ef)](){const _0x329339=a0_0x3e48cd;return{'total':this[_0x329339(0xcd)](),'virtualTables':this[_0x329339(0xe2)]()[_0x329339(0x1f8)],'realTables':this[_0x329339(0x10e)]()[_0x329339(0x1f8)],'hasConflicts':this[_0x329339(0xf2)](),'conflictCount':this[_0x329339(0x2e3)]()[_0x329339(0x1f8)]};}['toArray'](){const _0x57e7a1=a0_0x3e48cd;return this[_0x57e7a1(0xe6)]()[_0x57e7a1(0xac)](_0x4b8de3=>_0x4b8de3[_0x57e7a1(0x2df)]());}['toJSON'](){return this['toArray']();}[a0_0x3e48cd(0x129)](){const _0x505e16=a0_0x3e48cd;return _0x505e16(0x201)+this[_0x505e16(0xcd)]()+_0x505e16(0x17b)+this[_0x505e16(0x21f)][_0x505e16(0x13b)]+'\x20groups)';}static[a0_0x3e48cd(0xce)](_0x4f6e24){return new DatasetList(_0x4f6e24);}static[a0_0x3e48cd(0xc1)](_0x5b9c65){return new DatasetList(_0x5b9c65);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x3e48cd(0xa6);function renderTemplate(_0x3042b5,_0x5223db,_0x31a12c={}){const _0x500dc5=a0_0x3e48cd;let _0x42ba3c=_0x3042b5;return Object['entries'](_0x31a12c)[_0x500dc5(0x194)](([_0x44d828,_0x35e18])=>{const _0x1cfb71=_0x500dc5,_0x4332f1=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x44d828+_0x1cfb71(0x32a),'g');_0x42ba3c=_0x42ba3c[_0x1cfb71(0x15d)](_0x4332f1,_0x35e18?'$1':'');}),Object['entries'](_0x5223db)[_0x500dc5(0x194)](([_0x4edb33,_0x23511c])=>{const _0x258d07=_0x500dc5;if(_0x23511c!==undefined){const _0x58cd2f=new RegExp(_0x258d07(0xc7)+_0x4edb33+_0x258d07(0x271),'g');_0x42ba3c=_0x42ba3c['replace'](_0x58cd2f,_0x23511c);}}),_0x42ba3c;}function generateSDKInitCode(_0x39a968,_0x4f70a4,_0x45b77e,_0x45f5fd,_0x170126){const _0x5f4ee7=a0_0x3e48cd,_0x3344a9={};_0x3344a9[_0x5f4ee7(0x260)]=_0x39a968,_0x3344a9[_0x5f4ee7(0x14c)]=_0x4f70a4,_0x3344a9[_0x5f4ee7(0x316)]=_0x45b77e,_0x3344a9[_0x5f4ee7(0x1a7)]=_0x45f5fd==='daily'?_0x5f4ee7(0x2fb):undefined;const _0x19218b={};return _0x19218b[_0x5f4ee7(0x1a7)]=_0x45f5fd!==undefined&&_0x45f5fd!=='online',_0x19218b[_0x5f4ee7(0xcc)]=_0x170126===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x3344a9,_0x19218b);}var ALIAS_EXPLANATION_TEMPLATE='##\x20模型访问方式说明\x0a\x0aSDK\x20提供了两种方式来访问数据集模型:\x0a\x0a###\x201.\x20标准方式(datasetSDKKey)\x0a\x0a使用数据集完整代码作为访问\x20key,格式为\x20`dataset_[完整datasetCode]`:\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20唯一确定,不会有冲突\x0a-\x20无需额外配置即可使用\x0a\x0a**缺点**:\x0a-\x20名称较长,不够直观\x0a\x0a###\x202.\x20别名方式(alias)\x0a\x0a使用人类友好的别名(从表名转换而来):\x0a\x0a```javascript\x0aconst\x20result\x20=\x20await\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a**优点**:\x0a-\x20名称简短易读\x0a-\x20与表名相关,语义清晰\x0a\x0a**缺点**:\x0a-\x20需要通过\x20`registerModels`\x20配置后才能使用\x0a\x0a###\x20配置示例\x0a\x0a通过\x20`registerModels`\x20配置别名后,两种方式都可以使用:\x0a\x0a```javascript\x0aimport\x20{\x20registerModels,\x20createClient\x20}\x20from\x20\x22@lovrabet/sdk\x22;\x0a\x0aregisterModels({\x0a\x20\x20appCode:\x20\x22{{appCode}}\x22,\x0a\x20\x20models:\x20[\x0a\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20tableName:\x20\x22{{tableName}}\x22,\x0a\x20\x20\x20\x20\x20\x20datasetCode:\x20\x22{{datasetCode}}\x22,\x0a\x20\x20\x20\x20\x20\x20alias:\x20\x22{{alias}}\x22\x20\x20//\x20配置别名\x0a\x20\x20\x20\x20}\x0a\x20\x20]\x0a});\x0a\x0aconst\x20client\x20=\x20createClient();\x0a\x0a//\x20两种方式等价:\x0aawait\x20client.models.{{datasetSDKKey}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0aawait\x20client.models.{{alias}}.filter({\x20where:\x20{{exampleWhere}}\x20});\x0a```\x0a\x0a###\x20别名生成规则\x0a\x0a别名由表名自动转换而来(snake_case\x20→\x20camelCase):\x0a-\x20`project_members`\x20→\x20`projectMembers`\x0a-\x20`user_profiles`\x20→\x20`userProfiles`\x0a-\x20`dataset_f83c23`\x20→\x20`datasetF83c23`\x0a';function generateAliasExplanation(_0x16eb65,_0x3d2cd3,_0x4a4352,_0x5016a4){const _0x2f7148=a0_0x3e48cd,_0x13871f=_0x2f7148(0x107)+_0x16eb65,_0x3995db=_0x2f7148(0x161),_0x358d3a={};return _0x358d3a[_0x2f7148(0x14c)]=_0x16eb65,_0x358d3a['datasetSDKKey']=_0x13871f,_0x358d3a[_0x2f7148(0x1fa)]=_0x3d2cd3,_0x358d3a[_0x2f7148(0x316)]=_0x4a4352,_0x358d3a[_0x2f7148(0x260)]=_0x5016a4,_0x358d3a[_0x2f7148(0x205)]=_0x3995db,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x358d3a,{});}function DrivenDataDetailPlusMixin(_0x10f58a){const _0x45a435=a0_0x3e48cd;return class _0x2bb0f9 extends _0x10f58a{[_0x45a435(0xd7)](_0x37d695){const _0x5e9a11=_0x45a435;return{'appCode':_0x37d695,'datasetSDKKey':this[_0x5e9a11(0x325)](),'alias':this[_0x5e9a11(0x12c)](),'tableName':this[_0x5e9a11(0x16d)](),'datasetCode':this['datasetCode']};}['generateSDKInitCode'](_0x2b43dd,_0x1cfde=_0x45a435(0x130),_0x5853d9=![]){const _0x21b7db=_0x45a435;return generateSDKInitCode(_0x2b43dd,this['datasetCode'],this[_0x21b7db(0x12c)](),_0x1cfde==='daily'?_0x1cfde:undefined,_0x5853d9);}[_0x45a435(0x105)](_0x64012c,_0x359b88,_0x58de3d={}){const _0x4d435f=_0x45a435,_0x3031ae=this['getOperations']()[_0x4d435f(0x8b)](_0x2ffc69=>_0x2ffc69[_0x4d435f(0xd9)]()===_0x64012c);if(!_0x3031ae)return null;const _0x569c00={};_0x569c00[_0x4d435f(0x2ad)]=_0x58de3d[_0x4d435f(0xd0)]!==![];const _0x4f3bbe=this[_0x4d435f(0x97)](_0x64012c,_0x569c00);if(!_0x4f3bbe)return null;const _0x1d34eb=[];return _0x1d34eb[_0x4d435f(0x2d5)](_0x4d435f(0x10c)+_0x3031ae[_0x4d435f(0xd9)]()+_0x4d435f(0x9e)),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0x302)]['code']),_0x1d34eb['push'](''),_0x58de3d[_0x4d435f(0x192)]!==![]&&(_0x1d34eb[_0x4d435f(0x2d5)]('//\x20Usage\x20examples'),_0x1d34eb[_0x4d435f(0x2d5)](_0x4f3bbe[_0x4d435f(0xf6)]['successCode']),_0x1d34eb['push'](''),_0x1d34eb['push'](_0x4f3bbe[_0x4d435f(0xf6)][_0x4d435f(0x1a1)])),_0x1d34eb[_0x4d435f(0x103)]('\x0a');}[_0x45a435(0x227)](_0x222fb5={}){const _0x5eeacd=_0x45a435,_0x2126d6=this['getEnabledOperationAnalyses'](),_0x3b1b64=[];return _0x2126d6['forEach']((_0x2ee68d,_0x48cd7d)=>{const _0x3d7b4f=a0_0x23f8,_0xc19b70=this['generateFullSDKExample'](_0x2ee68d['name'],_0x3d7b4f(0x1cf),_0x222fb5);_0xc19b70&&(_0x3b1b64[_0x3d7b4f(0x2d5)](_0x3d7b4f(0x1db)+(_0x48cd7d+0x1)+'.\x20'+_0x2ee68d['displayName']),_0x3b1b64[_0x3d7b4f(0x2d5)](_0xc19b70),_0x3b1b64[_0x3d7b4f(0x2d5)](''));}),_0x3b1b64[_0x5eeacd(0x103)]('\x0a');}[_0x45a435(0x2e1)](_0x1c773f){const _0x3ed53a=_0x45a435,_0x24f450=this[_0x3ed53a(0x2ce)](_0x1c773f);if(!_0x24f450)return null;const _0xc26cf8={};return _0xc26cf8[_0x3ed53a(0x246)]=_0x24f450[_0x3ed53a(0x246)],_0xc26cf8[_0x3ed53a(0x252)]=_0x24f450[_0x3ed53a(0x252)],_0xc26cf8['method']=_0x24f450[_0x3ed53a(0x2eb)],_0xc26cf8['path']=_0x24f450['path'],_0xc26cf8[_0x3ed53a(0x12d)]=_0x24f450[_0x3ed53a(0x12d)],_0xc26cf8[_0x3ed53a(0x217)]=_0x24f450[_0x3ed53a(0x11e)][_0x3ed53a(0x1f8)],_0xc26cf8['hasResponseSchema']=_0x24f450[_0x3ed53a(0xae)]!==null,_0xc26cf8;}[_0x45a435(0x1aa)](_0x5d32b2={}){const _0xf85213=_0x45a435,_0x445da1=this[_0xf85213(0x151)]();return{'datasetName':this[_0xf85213(0x246)],'datasetCode':this[_0xf85213(0x14c)],'tableName':this[_0xf85213(0x16d)](),'totalOperations':_0x445da1['length'],'operations':_0x445da1[_0xf85213(0xac)](_0x17818e=>({'name':_0x17818e[_0xf85213(0x246)],'displayName':_0x17818e[_0xf85213(0x252)],'method':_0x17818e[_0xf85213(0x2eb)],'enabled':_0x17818e[_0xf85213(0x12d)]}))};}[_0x45a435(0xf7)](_0x308945){const _0x50ce2f=_0x45a435,_0x52e4bc=this['getOperationAnalysis'](_0x308945);if(!_0x52e4bc)return[];return _0x52e4bc[_0x50ce2f(0x11e)][_0x50ce2f(0xac)](_0x1b9b57=>{const _0xfc5830=_0x50ce2f,_0x16fa41=this[_0xfc5830(0x1ed)](_0x1b9b57);if(!_0x16fa41)return null;const _0x13c636={};return _0x13c636[_0xfc5830(0x22c)]=_0x1b9b57,_0x13c636['name']=_0x16fa41['name']||_0x1b9b57,_0x13c636;})[_0x50ce2f(0x2af)](_0x51594e=>_0x51594e!==null);}[_0x45a435(0x2d2)](){const _0x146958=_0x45a435,_0x401003=new Set(this['getEnabledOperationAnalyses']()['map'](_0x2892ce=>String(_0x2892ce[_0x146958(0x299)]))),_0x1aa2ce=[_0x146958(0x25c),_0x146958(0x286),'update',_0x146958(0x293)];return _0x1aa2ce[_0x146958(0x2af)](_0x33a120=>!_0x401003[_0x146958(0x2b9)](String(_0x33a120)));}['generateAliasExplanation'](_0x402f5a=_0x45a435(0x1cf)){const _0x4e0b29=_0x45a435;return generateAliasExplanation(this[_0x4e0b29(0x14c)],this[_0x4e0b29(0x16d)](),this['getModelAlias'](),_0x402f5a);}};}function operationToAnalysis(_0x29d10f){const _0x2064da=a0_0x3e48cd;return{'name':_0x29d10f[_0x2064da(0xd9)](),'displayName':_0x29d10f[_0x2064da(0x2ef)](),'type':_0x29d10f[_0x2064da(0x22a)](),'method':_0x29d10f[_0x2064da(0x24d)](),'path':_0x29d10f[_0x2064da(0x232)](),'fullUrl':_0x29d10f[_0x2064da(0x1ee)](),'requestFields':_0x29d10f[_0x2064da(0xfe)](),'requestParams':_0x29d10f['getRequestParams'](),'responseSchema':_0x29d10f[_0x2064da(0x2cf)](),'requestExample':_0x29d10f[_0x2064da(0x209)](),'responseExample':_0x29d10f['generateResponseExample'](),'enabled':_0x29d10f[_0x2064da(0x189)]()};}function operationsToAnalyses(_0x1187aa){const _0x16ae03=a0_0x3e48cd;if(!Array[_0x16ae03(0x133)](_0x1187aa))return!![]&&console[_0x16ae03(0x98)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x1187aa),[];return _0x1187aa[_0x16ae03(0xac)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x4de4cf){const _0x1f7aef=a0_0x3e48cd,_0x164310=_0x4de4cf['find'](_0x2417b7=>_0x2417b7[_0x1f7aef(0x246)]===_0x1f7aef(0x2af)),_0x22794a=_0x4de4cf[_0x1f7aef(0x2af)](_0x4fb5dc=>_0x4fb5dc[_0x1f7aef(0x246)]!==_0x1f7aef(0x2af));return _0x164310?[_0x164310,..._0x22794a]:_0x22794a;}function filterOperationAnalyses(_0x41f2b1,_0x560687={}){const _0x411fc0=a0_0x3e48cd;let _0x44a04a=_0x41f2b1;return!_0x560687[_0x411fc0(0x284)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x589a88=>_0x589a88[_0x411fc0(0x12d)])),_0x560687[_0x411fc0(0x1b8)]!==![]&&(_0x44a04a=filterApiOperations(_0x44a04a)),_0x560687[_0x411fc0(0x229)]&&(_0x44a04a=_0x44a04a[_0x411fc0(0x2af)](_0x560687[_0x411fc0(0x229)])),sortOperationsWithFilterFirst(_0x44a04a);}function getOperationStats(_0x347ef1){const _0x5d23ff=a0_0x3e48cd,_0x26ee8d=_0x347ef1['filter'](_0x11e8e8=>_0x11e8e8['enabled']);return{'total':_0x347ef1[_0x5d23ff(0x1f8)],'enabled':_0x26ee8d[_0x5d23ff(0x1f8)],'disabled':_0x347ef1['length']-_0x26ee8d[_0x5d23ff(0x1f8)],'byType':getCountByType(_0x26ee8d),'byMethod':getCountByMethod(_0x26ee8d)};}function getCountByType(_0x1ba694){const _0x316fed={};return _0x1ba694['forEach'](_0x379c5d=>{const _0x41462c=a0_0x23f8;if(_0x379c5d[_0x41462c(0x299)])_0x316fed[_0x379c5d[_0x41462c(0x299)]]=(_0x316fed[_0x379c5d[_0x41462c(0x299)]]||0x0)+0x1;}),_0x316fed;}function getCountByMethod(_0x5b422d){const _0x5f2a08=a0_0x3e48cd,_0x554aa3={};return _0x5b422d[_0x5f2a08(0x194)](_0x13607c=>{const _0x4baf41=_0x5f2a08;_0x554aa3[_0x13607c[_0x4baf41(0x2eb)]]=(_0x554aa3[_0x13607c['method']]||0x0)+0x1;}),_0x554aa3;}function supportsCRUD(_0xe8ea19){const _0xcf0f5d=a0_0x3e48cd,_0x352a28=new Set(_0xe8ea19['map'](_0x247d1a=>_0x247d1a['type'])[_0xcf0f5d(0x2af)](Boolean));return _0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x25c))&&_0x352a28['has'](_0xcf0f5d(0x286))&&_0x352a28[_0xcf0f5d(0x2b9)](_0xcf0f5d(0x18c))&&_0x352a28[_0xcf0f5d(0x2b9)]('delete');}function createOperationDocMeta(_0x204a64,_0x24f28f,_0x11a134,_0x49d76d,_0x5453fe,_0xa8f4b7){const _0x4cc6f3=a0_0x3e48cd,_0x51ca98={};return _0x51ca98['useFullExample']=_0xa8f4b7?.[_0x4cc6f3(0x2ad)],{'operation':_0x204a64,'operationInstance':_0x24f28f,'basicInfo':{'name':_0x204a64['name'],'displayName':_0x204a64[_0x4cc6f3(0x252)],'method':_0x204a64[_0x4cc6f3(0x2eb)],'path':_0x204a64['path'],'fullUrl':_0x204a64[_0x4cc6f3(0x1cd)],'enabled':_0x204a64[_0x4cc6f3(0x12d)]},'sdkCall':{'datasetCode':_0x11a134,'datasetSDKKey':_0x49d76d,'tableName':_0x5453fe,'operationName':_0x204a64[_0x4cc6f3(0x246)],'params':_0x204a64[_0x4cc6f3(0x11e)],'code':_0x24f28f[_0x4cc6f3(0x27a)](_0x49d76d,_0x51ca98)},'usageExample':_0x24f28f['generateUsageExample'](_0x49d76d)};}function createOperationsOverviewData(_0x4abec8){const _0x13d41f=a0_0x3e48cd,_0x53feb4={};_0x53feb4[_0x13d41f(0x307)]=_0x13d41f(0x246),_0x53feb4[_0x13d41f(0x140)]=_0x13d41f(0x11b);const _0x1ce6af={};_0x1ce6af['index']='displayName',_0x1ce6af[_0x13d41f(0x140)]='操作名称';const _0x9c17de={};_0x9c17de[_0x13d41f(0x307)]='method',_0x9c17de[_0x13d41f(0x140)]='方法';const _0x25bd15={};_0x25bd15['index']=_0x13d41f(0x302),_0x25bd15[_0x13d41f(0x140)]=_0x13d41f(0x1a9);const _0x271b81={};_0x271b81[_0x13d41f(0x307)]=_0x13d41f(0x1ba),_0x271b81[_0x13d41f(0x140)]=_0x13d41f(0x314);const _0x3d7edc={};_0x3d7edc['index']=_0x13d41f(0x222),_0x3d7edc['label']='完整的\x20SDK\x20调用代码';const _0x12ef40=[_0x53feb4,_0x1ce6af,_0x9c17de,_0x25bd15,_0x271b81,_0x3d7edc],_0x5c5542=_0x4abec8[_0x13d41f(0xac)](_0x37a425=>{const _0x2a7536=_0x13d41f,{basicInfo:_0x299f1e,sdkCall:_0x515a68}=_0x37a425,_0xc7a893=_0x515a68[_0x2a7536(0x22c)][_0x2a7536(0x15d)](/^const\s+\w+\s*=\s*await\s+/,'')['replace'](/;$/,''),_0x4f53f3={};return _0x4f53f3['displayName']=_0x299f1e[_0x2a7536(0x252)],_0x4f53f3['name']=_0x299f1e[_0x2a7536(0x246)],_0x4f53f3[_0x2a7536(0x2eb)]=_0x299f1e[_0x2a7536(0x2eb)],_0x4f53f3['path']=_0x299f1e[_0x2a7536(0x1ba)],_0x4f53f3[_0x2a7536(0x302)]=_0xc7a893,_0x4f53f3[_0x2a7536(0x222)]=_0x515a68['code'],_0x4f53f3;}),_0x26cb98={};return _0x26cb98[_0x13d41f(0x336)]=_0x12ef40,_0x26cb98[_0x13d41f(0x191)]=_0x5c5542,_0x26cb98;}function createDatasetDocMeta(_0x5a1ef0,_0x53afc7,_0x37156e,_0x11fd5a,_0x2e29ac,_0x3fb959,_0xab3646,_0x44abc9,_0x20e155){const _0x100f53=a0_0x3e48cd,_0xe2ef51={};return _0xe2ef51[_0x100f53(0xbb)]=_0x5a1ef0+_0x100f53(0x13d),_0xe2ef51[_0x100f53(0x141)]={},_0xe2ef51[_0x100f53(0x2a1)]=_0x20e155,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x246)]=_0x5a1ef0,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x22c)]=_0x53afc7,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x1fa)]=_0x37156e,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x34d)]=_0x11fd5a,_0xe2ef51[_0x100f53(0x141)]['tableKey']=_0x2e29ac,_0xe2ef51[_0x100f53(0x141)]['source']=_0x3fb959,_0xe2ef51[_0x100f53(0x141)]['fieldCount']=_0xab3646,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x14b)]=0x0,_0xe2ef51[_0x100f53(0x141)]['systemFieldCount']=0x0,_0xe2ef51[_0x100f53(0x141)]['operationCount']=_0x44abc9,_0xe2ef51[_0x100f53(0x141)][_0x100f53(0x131)]=_0x20e155[_0x100f53(0x1f8)],_0xe2ef51;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v1';}[a0_0x3e48cd(0x12c)](){const _0x5e7c25=a0_0x3e48cd;return this[_0x5e7c25(0x198)]();}['getOperationAnalyses'](_0x37efbd=![]){const _0x541ba7=a0_0x3e48cd;if(!_0x37efbd&&this['_operationAnalyses'])return this['_operationAnalyses'];const _0x2edb10=this[_0x541ba7(0x168)]();return this[_0x541ba7(0x300)]=operationsToAnalyses(_0x2edb10),this[_0x541ba7(0x300)];}[a0_0x3e48cd(0x151)](){const _0x5c4c52=a0_0x3e48cd,_0x50dcc4={};return _0x50dcc4['includeDisabled']=![],_0x50dcc4[_0x5c4c52(0x1b8)]=!![],this[_0x5c4c52(0x2d8)](_0x50dcc4);}[a0_0x3e48cd(0x2d8)](_0x27fb9d={}){const _0x237d0d=a0_0x3e48cd;return filterOperationAnalyses(this[_0x237d0d(0x1da)](),_0x27fb9d);}[a0_0x3e48cd(0x2ce)](_0x1f19b1){const _0x58c07e=a0_0x3e48cd;return this[_0x58c07e(0x1da)]()[_0x58c07e(0x8b)](_0x4a32b4=>_0x4a32b4[_0x58c07e(0x246)]===_0x1f19b1);}[a0_0x3e48cd(0x2b1)](_0x2430c0){const _0x35985a=a0_0x3e48cd;return this['getOperationAnalyses']()['filter'](_0x10a7be=>_0x10a7be[_0x35985a(0x299)]===_0x2430c0);}[a0_0x3e48cd(0x97)](_0x468ea8,_0x1d9ee1){const _0x10a4a1=a0_0x3e48cd,_0x205175=this[_0x10a4a1(0x2ce)](_0x468ea8);if(!_0x205175)return null;const _0x45495a=this[_0x10a4a1(0x168)]()[_0x10a4a1(0x8b)](_0x18e9b3=>_0x18e9b3[_0x10a4a1(0xd9)]()===_0x205175[_0x10a4a1(0x246)]);if(!_0x45495a)throw new Error(_0x10a4a1(0x269)+_0x205175[_0x10a4a1(0x246)]);return createOperationDocMeta(_0x205175,_0x45495a,this[_0x10a4a1(0x14c)],this['getDatasetSDKKey'](),this[_0x10a4a1(0x16d)](),_0x1d9ee1);}[a0_0x3e48cd(0xba)](_0x1909ac={}){const _0x44aff5=a0_0x3e48cd,_0x34165d=this[_0x44aff5(0x2d8)](_0x1909ac),_0x566f99=_0x34165d[_0x44aff5(0xac)](_0xe811c8=>this[_0x44aff5(0x97)](_0xe811c8['name']))['filter'](_0x391693=>_0x391693!==null);return createDatasetDocMeta(this['name'],this['datasetCode'],this[_0x44aff5(0x16d)](),this[_0x44aff5(0x325)](),this[_0x44aff5(0x198)](),this['source'],this[_0x44aff5(0x2bd)](),this[_0x44aff5(0x2f5)](),_0x566f99);}[a0_0x3e48cd(0x17f)](_0x283b59){return createOperationsOverviewData(_0x283b59);}['supportsCRUD'](){const _0x215382=a0_0x3e48cd;return supportsCRUD(this[_0x215382(0x151)]());}[a0_0x3e48cd(0x16e)](){const _0x292004=a0_0x3e48cd;return getOperationStats(this[_0x292004(0x1da)]());}[a0_0x3e48cd(0x129)](){const _0x338583=a0_0x3e48cd,_0x3682f2=this[_0x338583(0x16e)]();return _0x338583(0x29a)+this[_0x338583(0x246)]+',\x20'+this['datasetCode']+',\x20'+this['getFieldCount']()+_0x338583(0x329)+_0x3682f2['enabled']+'/'+_0x3682f2['total']+_0x338583(0x1bd);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x3e48cd(0x300)];[a0_0x3e48cd(0x2b5)](){return'v2';}['getModelAlias'](){const _0x258ab8=a0_0x3e48cd;return this[_0x258ab8(0x198)]();}[a0_0x3e48cd(0x1da)](_0xc49440=![]){const _0x3ef418=a0_0x3e48cd;if(!_0xc49440&&this['_operationAnalyses'])return this[_0x3ef418(0x300)];const _0x229595=this[_0x3ef418(0x168)]();return this[_0x3ef418(0x300)]=operationsToAnalyses(_0x229595),this[_0x3ef418(0x300)];}['getEnabledOperationAnalyses'](){const _0x51b727=a0_0x3e48cd,_0x4b4f08={};return _0x4b4f08[_0x51b727(0x284)]=![],_0x4b4f08[_0x51b727(0x1b8)]=!![],this['getFilteredOperationAnalyses'](_0x4b4f08);}[a0_0x3e48cd(0x2d8)](_0x4f4b18={}){const _0x2cd295=a0_0x3e48cd;return filterOperationAnalyses(this[_0x2cd295(0x1da)](),_0x4f4b18);}[a0_0x3e48cd(0x2ce)](_0x46532c){const _0x4e36e0=a0_0x3e48cd;return this[_0x4e36e0(0x1da)]()[_0x4e36e0(0x8b)](_0x4db686=>_0x4db686[_0x4e36e0(0x246)]===_0x46532c);}[a0_0x3e48cd(0x2b1)](_0x30c5fc){const _0xa24bdf=a0_0x3e48cd;return this['getOperationAnalyses']()[_0xa24bdf(0x2af)](_0x59ba65=>_0x59ba65['type']===_0x30c5fc);}[a0_0x3e48cd(0x97)](_0x2c5710,_0x479aab){const _0x119c2a=a0_0x3e48cd,_0x178d85=this[_0x119c2a(0x2ce)](_0x2c5710);if(!_0x178d85)return null;const _0x2db5c3=this[_0x119c2a(0x168)]()[_0x119c2a(0x8b)](_0x29ece5=>_0x29ece5['getName']()===_0x178d85[_0x119c2a(0x246)]);if(!_0x2db5c3)throw new Error(_0x119c2a(0x269)+_0x178d85[_0x119c2a(0x246)]);return createOperationDocMeta(_0x178d85,_0x2db5c3,this[_0x119c2a(0x14c)],this[_0x119c2a(0x325)](),this[_0x119c2a(0x16d)](),_0x479aab);}['getDatasetDocMeta'](_0x368a02={}){const _0x249dcc=a0_0x3e48cd,_0x467ba2=this[_0x249dcc(0x2d8)](_0x368a02),_0x8f1b21=_0x467ba2[_0x249dcc(0xac)](_0x6660c2=>this[_0x249dcc(0x97)](_0x6660c2[_0x249dcc(0x246)]))[_0x249dcc(0x2af)](_0x5b50d4=>_0x5b50d4!==null);return createDatasetDocMeta(this[_0x249dcc(0x246)],this[_0x249dcc(0x14c)],this[_0x249dcc(0x16d)](),this[_0x249dcc(0x325)](),this[_0x249dcc(0x198)](),this[_0x249dcc(0xeb)],this[_0x249dcc(0x2bd)](),this['getOperationCount'](),_0x8f1b21);}[a0_0x3e48cd(0x17f)](_0x4cab41){return createOperationsOverviewData(_0x4cab41);}['supportsCRUD'](){return supportsCRUD(this['getEnabledOperationAnalyses']());}[a0_0x3e48cd(0x16e)](){const _0x1d9cf6=a0_0x3e48cd;return getOperationStats(this[_0x1d9cf6(0x1da)]());}['toString'](){const _0x1c29a7=a0_0x3e48cd,_0x2d397e=this[_0x1c29a7(0x16e)]();return _0x1c29a7(0x2b2)+this[_0x1c29a7(0x246)]+',\x20'+this[_0x1c29a7(0x14c)]+',\x20'+this[_0x1c29a7(0x2bd)]()+_0x1c29a7(0x329)+_0x2d397e[_0x1c29a7(0x12d)]+'/'+_0x2d397e[_0x1c29a7(0x26a)]+_0x1c29a7(0x1a3);}}function detectDatasetVersion3(_0x4b9542){const _0x56904a=a0_0x3e48cd;if(_0x4b9542[_0x56904a(0x2b8)]==='v2'&&_0x56904a(0x16a)in _0x4b9542&&Array[_0x56904a(0x133)](_0x4b9542[_0x56904a(0x16a)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x3e48cd(0x1cc)];constructor(_0x53c3eb){const _0x5d2917=a0_0x3e48cd,_0x2ff1e1=detectDatasetVersion3(_0x53c3eb);return this[_0x5d2917(0x1cc)]=_0x2ff1e1==='v2'?new DrivenDataDetailPlusV2(_0x53c3eb):new DrivenDataDetailPlusV1(_0x53c3eb),new Proxy(this,{'get'(_0x59f062,_0x25280e){const _0xd7b874=_0x5d2917;if(_0x25280e in _0x59f062){const _0x4cdfcf=_0x59f062[_0x25280e];return typeof _0x4cdfcf===_0xd7b874(0x236)?_0x4cdfcf[_0xd7b874(0x101)](_0x59f062):_0x4cdfcf;}if(_0x25280e in _0x59f062[_0xd7b874(0x1cc)]){const _0x3f2153=_0x59f062[_0xd7b874(0x1cc)][_0x25280e];return typeof _0x3f2153===_0xd7b874(0x236)?_0x3f2153['bind'](_0x59f062['_instance']):_0x3f2153;}return;},'set'(_0x14d6b7,_0xda31f5,_0x33c085){return _0x14d6b7[_0xda31f5]=_0x33c085,!![];},'getPrototypeOf'(_0x1668a7){const _0x340583=_0x5d2917;return DrivenDataDetailPlus[_0x340583(0x169)];}});}get[a0_0x3e48cd(0x246)](){const _0x317bdd=a0_0x3e48cd;return this[_0x317bdd(0x1cc)][_0x317bdd(0x246)];}get['id'](){return this['_instance']['id'];}get['datasetCode'](){const _0x2750df=a0_0x3e48cd;return this[_0x2750df(0x1cc)][_0x2750df(0x14c)];}get[a0_0x3e48cd(0xeb)](){const _0x50da21=a0_0x3e48cd;return this[_0x50da21(0x1cc)][_0x50da21(0xeb)];}get[a0_0x3e48cd(0x2aa)](){const _0x22b44c=a0_0x3e48cd;return this[_0x22b44c(0x1cc)]['getDBConfig']();}[a0_0x3e48cd(0x2b5)](){const _0x4c5b3f=a0_0x3e48cd,_0x484cd0=this[_0x4c5b3f(0x1cc)][_0x4c5b3f(0x2b5)]();return _0x484cd0==='v2'?'v2':'v1';}[a0_0x3e48cd(0x2bd)](){const _0xc26ada=a0_0x3e48cd;return this[_0xc26ada(0x1cc)][_0xc26ada(0x2bd)]();}[a0_0x3e48cd(0x2f5)](){const _0x3b6f31=a0_0x3e48cd;return this[_0x3b6f31(0x1cc)][_0x3b6f31(0x2f5)]();}[a0_0x3e48cd(0x2a7)](){const _0x281ebd=a0_0x3e48cd;return this[_0x281ebd(0x1cc)][_0x281ebd(0x2a7)]();}['getOperations'](){const _0x12c49b=a0_0x3e48cd;return this[_0x12c49b(0x1cc)]['getOperations']();}[a0_0x3e48cd(0x340)](_0x2fc3c4){return this['_instance']['getFilteredOperations'](_0x2fc3c4);}[a0_0x3e48cd(0x1ed)](_0x432e5f){const _0x3fafb1=a0_0x3e48cd;return this[_0x3fafb1(0x1cc)][_0x3fafb1(0x1ed)](_0x432e5f);}[a0_0x3e48cd(0x16d)](){const _0x18771d=a0_0x3e48cd;return this[_0x18771d(0x1cc)][_0x18771d(0x16d)]();}[a0_0x3e48cd(0x198)](){const _0x201b33=a0_0x3e48cd;return this[_0x201b33(0x1cc)][_0x201b33(0x198)]();}[a0_0x3e48cd(0x325)](){const _0x384c2b=a0_0x3e48cd;return this['_instance'][_0x384c2b(0x325)]();}['getFieldList'](){const _0x580396=a0_0x3e48cd;return this[_0x580396(0x1cc)][_0x580396(0xa1)]();}[a0_0x3e48cd(0x251)](){const _0x39448e=a0_0x3e48cd;return this[_0x39448e(0x1cc)][_0x39448e(0x251)]();}[a0_0x3e48cd(0x2f4)](){const _0x4ffce2=a0_0x3e48cd;return this[_0x4ffce2(0x1cc)][_0x4ffce2(0x2f4)]();}['isMultipleSelectField'](_0x75ee3b){const _0x152cc9=a0_0x3e48cd;return this[_0x152cc9(0x1cc)]['isMultipleSelectField'](_0x75ee3b);}[a0_0x3e48cd(0x88)](_0x49115){const _0x314fad=a0_0x3e48cd;return this[_0x314fad(0x1cc)][_0x314fad(0x88)](_0x49115);}[a0_0x3e48cd(0x328)](_0x1a91f8){const _0x5cad4b=a0_0x3e48cd;return this[_0x5cad4b(0x1cc)][_0x5cad4b(0x328)](_0x1a91f8);}[a0_0x3e48cd(0x2d7)](_0xf09351){const _0x5d6371=a0_0x3e48cd;return this[_0x5d6371(0x1cc)][_0x5d6371(0x2d7)](_0xf09351);}[a0_0x3e48cd(0x32e)](_0x30a760){const _0xef747f=a0_0x3e48cd;return this[_0xef747f(0x1cc)][_0xef747f(0x32e)](_0x30a760);}[a0_0x3e48cd(0x2c0)](_0x1d4c5d,_0x27c793){const _0x4de62=a0_0x3e48cd;return this[_0x4de62(0x1cc)]['validateEnumValue'](_0x1d4c5d,_0x27c793);}['isRequiredField'](_0x11afe1){const _0x2a6aad=a0_0x3e48cd;return this['_instance'][_0x2a6aad(0x174)](_0x11afe1);}['getStats'](){return this['_instance']['getStats']();}[a0_0x3e48cd(0x20f)](){const _0x3e9b7c=a0_0x3e48cd;return this['_instance'][_0x3e9b7c(0x20f)]();}[a0_0x3e48cd(0x1fc)](){const _0x1c3209=a0_0x3e48cd;return this[_0x1c3209(0x1cc)][_0x1c3209(0x1fc)]();}[a0_0x3e48cd(0x2dd)](_0xe0dd62){const _0x507a83=a0_0x3e48cd;return this[_0x507a83(0x1cc)][_0x507a83(0x2dd)](_0xe0dd62);}['getDBConfig'](){const _0x38ebea=a0_0x3e48cd;return this[_0x38ebea(0x1cc)][_0x38ebea(0x160)]();}[a0_0x3e48cd(0x2e7)](){const _0x4902e0=a0_0x3e48cd;return this[_0x4902e0(0x1cc)]['getRawDbtableConfig']();}[a0_0x3e48cd(0x12e)](){const _0x133557=a0_0x3e48cd;return this[_0x133557(0x1cc)][_0x133557(0x12e)]();}['getOperationAnalyses'](_0x31e04d){const _0x52f54b=a0_0x3e48cd;return this[_0x52f54b(0x1cc)][_0x52f54b(0x1da)](_0x31e04d);}[a0_0x3e48cd(0x151)](){const _0x3022fe=a0_0x3e48cd;return this[_0x3022fe(0x1cc)][_0x3022fe(0x151)]();}[a0_0x3e48cd(0x2d8)](_0x8f388c){return this['_instance']['getFilteredOperationAnalyses'](_0x8f388c);}[a0_0x3e48cd(0x2ce)](_0x487198){const _0x1072f9=a0_0x3e48cd;return this[_0x1072f9(0x1cc)]['getOperationAnalysis'](_0x487198);}[a0_0x3e48cd(0x2b1)](_0x11b596){const _0x172a62=a0_0x3e48cd;return this[_0x172a62(0x1cc)][_0x172a62(0x2b1)](_0x11b596);}[a0_0x3e48cd(0x97)](_0x6fa064,_0xe78bc){const _0x1f06f3=a0_0x3e48cd;return this[_0x1f06f3(0x1cc)][_0x1f06f3(0x97)](_0x6fa064,_0xe78bc);}[a0_0x3e48cd(0xba)](_0x3f00b2){const _0x14c5cf=a0_0x3e48cd;return this['_instance'][_0x14c5cf(0xba)](_0x3f00b2);}['getOperationsOverviewData'](_0x5922f5){const _0x4152ff=a0_0x3e48cd;return this[_0x4152ff(0x1cc)]['getOperationsOverviewData'](_0x5922f5);}[a0_0x3e48cd(0x12c)](){const _0x33524b=a0_0x3e48cd;return this[_0x33524b(0x1cc)]['getModelAlias']();}[a0_0x3e48cd(0x183)](){const _0x51c77b=a0_0x3e48cd;return this[_0x51c77b(0x1cc)][_0x51c77b(0x183)]();}[a0_0x3e48cd(0x16e)](){const _0x21df31=a0_0x3e48cd;return this[_0x21df31(0x1cc)][_0x21df31(0x16e)]();}[a0_0x3e48cd(0x129)](){const _0x29c4ec=a0_0x3e48cd;return this[_0x29c4ec(0x1cc)][_0x29c4ec(0x129)]();}['getOperation'](_0x252aef){const _0x53e597=a0_0x3e48cd;return this[_0x53e597(0x1cc)][_0x53e597(0x1df)](_0x252aef);}['getSDKInitData'](_0x563309){const _0x3cbaa7=a0_0x3e48cd;return this[_0x3cbaa7(0x1cc)][_0x3cbaa7(0xd7)](_0x563309);}['generateSDKInitCode'](_0x6df121,_0x4b57a9,_0x11937f){const _0x1339d4=a0_0x3e48cd;return this[_0x1339d4(0x1cc)][_0x1339d4(0x1cb)](_0x6df121,_0x4b57a9,_0x11937f);}['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57){const _0x828d27=a0_0x3e48cd;return this[_0x828d27(0x1cc)]['generateFullSDKExample'](_0x364769,_0x4d971d,_0x3edf57);}[a0_0x3e48cd(0x227)](_0x305dd6){const _0x43cbab=a0_0x3e48cd;return this[_0x43cbab(0x1cc)]['generateAllOperationsFullSDKExample'](_0x305dd6);}[a0_0x3e48cd(0x2e1)](_0x5c5e62){const _0xaaf5ab=a0_0x3e48cd;return this[_0xaaf5ab(0x1cc)][_0xaaf5ab(0x2e1)](_0x5c5e62);}[a0_0x3e48cd(0x1aa)](_0x480547){const _0x1c4915=a0_0x3e48cd;return this[_0x1c4915(0x1cc)]['generateAllOperationsSummary'](_0x480547);}[a0_0x3e48cd(0xf7)](_0x56caa4){const _0x7fb17c=a0_0x3e48cd;return this[_0x7fb17c(0x1cc)][_0x7fb17c(0xf7)](_0x56caa4);}['getMissingCRUDOperations'](){const _0xae1925=a0_0x3e48cd;return this[_0xae1925(0x1cc)][_0xae1925(0x2d2)]();}[a0_0x3e48cd(0x8c)](){const _0x244b6d=a0_0x3e48cd;return this[_0x244b6d(0x1cc)][_0x244b6d(0x8c)]();}[a0_0x3e48cd(0x8e)](){const _0x14dddd=a0_0x3e48cd;return this[_0x14dddd(0x1cc)];}}function createDrivenDataDetailPlus(_0x4a8a4e,_0x84516b={}){const _0x47bbec=a0_0x3e48cd;if(_0x84516b['forceVersion']==='v1')return new DrivenDataDetailPlusV1(_0x4a8a4e);if(_0x84516b[_0x47bbec(0x337)]==='v2')return new DrivenDataDetailPlusV2(_0x4a8a4e);if(_0x4a8a4e[_0x47bbec(0x2b8)]==='v2'||_0x47bbec(0x280)in _0x4a8a4e)return new DrivenDataDetailPlusV2(_0x4a8a4e);return new DrivenDataDetailPlusV1(_0x4a8a4e);}function isPlusV2Instance(_0x454caa){return _0x454caa['getVersion']()==='v2';}function isPlusV1Instance(_0xc9c598){return _0xc9c598['getVersion']()==='v1';}var VERSION=a0_0x3e48cd(0x122);export{toSnakeCase,toPascalCase,toKebabCase,toCamelCase,smartAdapt,shouldIncludeField,parseResponseBody,parseRequestBody,parseOperationType,parseFieldExtend,normalizeFieldName,isVirtualTableName,isV2Instance,isV2Data,isV1Instance,isV1Data,isSystemField,isRequiredField,isPrimaryKeyField,isPlusV2Instance,isPlusV1Instance,isModifyTimeField,isDrivenDataDetail,isCreateTimeField,isAutoIncrementField,isApiBlacklisted,groupByTableName,getTableName,getFieldsForOperation,getDbTypeDisplay,generateTableNameFromCode,generateRequestExample,generateExampleValue,generateExampleFromSchema,generateDatasetsConfig,formatOptionsForDoc,formatOptionsAsMarkdownList,formatEnumValue,formatDbType,filterApiOperations,extractDatasetsFromListResponse,extractDatasetFromResponse,detectTableNameConflicts,detectDatasetVersion2 as detectDatasetVersion,createDrivenDataDetailPlus,createDrivenDataDetail,createDatasetNameMap,adaptDrivenDataDetails,adaptDrivenDataDetail,VERSION,OperationList,OperationFactory,Operation,OPERATION_TYPE_DISPLAY_NAME,GetSelectOptionsOperation,GetListOperation,GenericOperation,FilterOperation,FieldListV1 as FieldList,FieldV1 as Field,FILTER_OPERATORS,DrivenDataDetailV2,DrivenDataDetailV1,DrivenDataDetailPlusV2,DrivenDataDetailPlus,DrivenDataDetailBase,DrivenDataDetail,DatasetOperationType,DatasetList,DatasetItem,DatasetGroupMap,DatasetGroup,DB_TYPE_DISPLAY_MAP,API_BLACKLIST};
|
|
1
|
+
const a0_0x14993a=a0_0x53f1;(function(_0x5be086,_0x1a0df1){const _0x38784c=a0_0x53f1,_0x2b36c9=_0x5be086();while(!![]){try{const _0x4d49fa=-parseInt(_0x38784c(0x1b4))/0x1+parseInt(_0x38784c(0x3a6))/0x2*(parseInt(_0x38784c(0x27f))/0x3)+-parseInt(_0x38784c(0x256))/0x4+-parseInt(_0x38784c(0x1e3))/0x5+parseInt(_0x38784c(0x2b6))/0x6+-parseInt(_0x38784c(0x233))/0x7*(parseInt(_0x38784c(0x34c))/0x8)+parseInt(_0x38784c(0x1fb))/0x9;if(_0x4d49fa===_0x1a0df1)break;else _0x2b36c9['push'](_0x2b36c9['shift']());}catch(_0x13cd4b){_0x2b36c9['push'](_0x2b36c9['shift']());}}}(a0_0x28a9,0x4b503));function toCamelCase(_0x58b524){const _0x3ea653=a0_0x53f1;if(!_0x58b524)return'';return _0x58b524[_0x3ea653(0x411)](/[_-]/)['map']((_0x4e98ba,_0x53fe29)=>{const _0x22bea8=_0x3ea653;if(_0x53fe29===0x0)return _0x4e98ba['toLowerCase']();return _0x4e98ba[_0x22bea8(0x303)](0x0)[_0x22bea8(0x33f)]()+_0x4e98ba['slice'](0x1)[_0x22bea8(0x37e)]();})['join']('');}function toPascalCase(_0x4adbb3){const _0x366fba=a0_0x53f1;if(!_0x4adbb3)return'';const _0x187f52=toCamelCase(_0x4adbb3);return _0x187f52['charAt'](0x0)[_0x366fba(0x33f)]()+_0x187f52[_0x366fba(0x3bc)](0x1);}function toSnakeCase(_0x239a44){const _0x53eeb1=a0_0x53f1;if(!_0x239a44)return'';return _0x239a44[_0x53eeb1(0x1d3)](/([A-Z])/g,_0x53eeb1(0x3f7))['toLowerCase']()['replace'](/^_/,'');}function toKebabCase(_0x56633c){const _0x41998=a0_0x53f1;if(!_0x56633c)return'';return _0x56633c[_0x41998(0x1d3)](/([A-Z])/g,_0x41998(0x2bd))['toLowerCase']()['replace'](/^-/,'');}function normalizeFieldName(_0x24421b){const _0x2ef4be=a0_0x53f1;if(!_0x24421b)return'';return _0x24421b['trim']()['replace'](/\s+/g,'_')[_0x2ef4be(0x1d3)](/[^a-zA-Z0-9_]/g,'_')['replace'](/_+/g,'_')[_0x2ef4be(0x1d3)](/^_|_$/g,'');}function getTableName(_0x26bfd8){const _0x1717fb=a0_0x53f1;if(!_0x26bfd8)return _0x1717fb(0x3de);if(_0x26bfd8[_0x1717fb(0x2c3)]?.[_0x1717fb(0x1d7)])return _0x26bfd8[_0x1717fb(0x2c3)][_0x1717fb(0x1d7)];const _0xea208b=_0x26bfd8['datasetCode']||_0x26bfd8[_0x1717fb(0x40a)]||_0x26bfd8['modelCode'];if(_0xea208b)return generateTableNameFromCode(_0xea208b);return _0x1717fb(0x3de);}function getTableKey(_0x11df51){const _0x260700=a0_0x53f1;if(typeof _0x11df51===_0x260700(0x31b))return toCamelCase(_0x11df51);const _0x3e83c3=getTableName(_0x11df51);return toCamelCase(_0x3e83c3);}function generateTableNameFromCode(_0xf729a6){const _0x24727f=a0_0x53f1;if(!_0xf729a6)return _0x24727f(0x3de);const _0x434c42=_0xf729a6['slice'](-0x6)[_0x24727f(0x446)](0x6,'0');return _0x24727f(0x21d)+_0x434c42;}function isVirtualTableName(_0x3c5a54){const _0x531e85=a0_0x53f1;return/^dataset_[a-zA-Z0-9]{6}$/[_0x531e85(0x379)](_0x3c5a54);}function generateModelKeyFromCode(_0x328bb4){const _0xf58772=a0_0x53f1;if(!_0x328bb4)return _0xf58772(0x3a4);return _0xf58772(0x21d)+_0x328bb4;}function getDbName(_0x18c81e){const _0x385fd1=a0_0x53f1;return _0x18c81e[_0x385fd1(0x2c3)]?.[_0x385fd1(0x3ea)]||_0x18c81e[_0x385fd1(0x2c3)]?.[_0x385fd1(0x386)]?.['dbName']||'';}function generateDatasetsConfig(_0x2e1f58,_0x5a2667={}){const _0x4ac8a5=a0_0x53f1,{enableDeduplication:enableDeduplication=!![],datasetNameGenerator:_0x3944de,filter:_0x2cc7fe}=_0x5a2667,_0x4b3bff=_0x2cc7fe?_0x2e1f58[_0x4ac8a5(0x364)](_0x2cc7fe):_0x2e1f58,_0xb54660=new Map();for(const _0x2f21ef of _0x4b3bff){const _0x379d64=getTableName(_0x2f21ef),_0xb49ece=getDbName(_0x2f21ef);!_0xb54660[_0x4ac8a5(0x1ce)](_0x379d64)&&_0xb54660['set'](_0x379d64,new Set()),_0xb54660[_0x4ac8a5(0x3dc)](_0x379d64)[_0x4ac8a5(0x329)](_0xb49ece);}const _0x3f6d62=new Set();for(const [_0x2446c6,_0x37cfb0]of _0xb54660){_0x37cfb0[_0x4ac8a5(0x26c)]>0x1&&_0x3f6d62[_0x4ac8a5(0x329)](_0x2446c6);}const _0x138aa7={},_0x13fabc=new Set();for(const _0x30604f of _0x4b3bff){const _0x54d7a8=getTableName(_0x30604f);if(enableDeduplication&&_0x13fabc['has'](_0x54d7a8)){console[_0x4ac8a5(0x3e9)](_0x4ac8a5(0x2c2)+_0x54d7a8+'\x22,数据集:\x20'+_0x30604f[_0x4ac8a5(0x1f6)]+'\x20('+_0x30604f[_0x4ac8a5(0x452)]+')');continue;}_0x13fabc[_0x4ac8a5(0x329)](_0x54d7a8);const _0x4dd473=_0x3944de?_0x3944de(_0x54d7a8,_0x30604f):getTableKey(_0x54d7a8),_0x51db06=getDbName(_0x30604f),_0x2b924c=_0x3f6d62[_0x4ac8a5(0x1ce)](_0x54d7a8)&&_0x51db06?getTableKey(_0x51db06)+'_'+_0x4dd473:_0x4dd473;_0x138aa7[_0x4dd473]={'key':_0x4dd473,'alias':_0x2b924c,'tableName':_0x54d7a8,'datasetCode':_0x30604f[_0x4ac8a5(0x452)],'name':_0x30604f[_0x4ac8a5(0x1f6)],'id':_0x30604f['id'],'dbName':_0x51db06};}return _0x138aa7;}function generateFullDatasetsConfig(_0x18bbb0,_0x1ee8b4={}){const _0x9e0777=a0_0x53f1,{filter:_0x1c38e8,datasetNameGenerator:_0x14ab99}=_0x1ee8b4,_0x459512=_0x1c38e8?_0x18bbb0[_0x9e0777(0x364)](_0x1c38e8):_0x18bbb0,_0x108813=new Map();for(const _0x2ba492 of _0x459512){const _0x55462b=getTableName(_0x2ba492),_0x182754=getDbName(_0x2ba492);!_0x108813[_0x9e0777(0x1ce)](_0x55462b)&&_0x108813[_0x9e0777(0x36c)](_0x55462b,new Set()),_0x108813[_0x9e0777(0x3dc)](_0x55462b)[_0x9e0777(0x329)](_0x182754);}const _0x574c32=new Set();for(const [_0x526de4,_0x299b48]of _0x108813){_0x299b48['size']>0x1&&_0x574c32[_0x9e0777(0x329)](_0x526de4);}const _0x1a5853=groupByTableName(_0x459512),_0x3d45dc={};for(const [_0x4d781b,_0x59af6f]of Object['entries'](_0x1a5853)){if(_0x59af6f['length']===0x1){const _0x24646b=_0x59af6f[0x0],_0x430f68=_0x14ab99?_0x14ab99(_0x4d781b,_0x24646b):getTableKey(_0x4d781b),_0x5160a9=getDbName(_0x24646b),_0x4521e3=_0x574c32['has'](_0x4d781b)&&_0x5160a9?getTableKey(_0x5160a9)+'_'+_0x430f68:_0x430f68;_0x3d45dc[_0x430f68]={'key':_0x430f68,'alias':_0x4521e3,'tableName':_0x4d781b,'datasetCode':_0x24646b['datasetCode'],'name':_0x24646b[_0x9e0777(0x1f6)],'id':_0x24646b['id'],'dbName':_0x5160a9};}else{const _0x2aa47c=[..._0x59af6f][_0x9e0777(0x3b0)]((_0x30a440,_0x4e26fa)=>{const _0x4214be=Number(_0x30a440['id'])||0x0,_0x1f048b=Number(_0x4e26fa['id'])||0x0;return _0x1f048b-_0x4214be;});_0x2aa47c['forEach']((_0x709680,_0x3e2fa9)=>{const _0x10fefc=_0x9e0777,_0x228d37=_0x14ab99?_0x14ab99(_0x4d781b,_0x709680):getTableKey(_0x4d781b),_0x45ccfa=_0x3e2fa9===0x0?_0x228d37:_0x228d37+'_'+_0x3e2fa9,_0x400599=getDbName(_0x709680),_0x3fa340=_0x574c32['has'](_0x4d781b)&&_0x400599?getTableKey(_0x400599)+'_'+_0x45ccfa:_0x45ccfa;_0x3d45dc[_0x45ccfa]={'key':_0x45ccfa,'alias':_0x3fa340,'tableName':_0x4d781b,'datasetCode':_0x709680['datasetCode'],'name':_0x709680[_0x10fefc(0x1f6)],'id':_0x709680['id'],'dbName':_0x400599};});}}return _0x3d45dc;}function detectTableNameConflicts(_0x2f22a5){const _0x2d1c2c=a0_0x53f1,_0x1843ba={};for(const _0x55396b of _0x2f22a5){const _0x509e6a=getTableName(_0x55396b);!_0x1843ba[_0x509e6a]&&(_0x1843ba[_0x509e6a]=[]),_0x1843ba[_0x509e6a][_0x2d1c2c(0x2dc)](_0x55396b);}const _0xb1a704={};for(const [_0xd16a29,_0x37b45b]of Object[_0x2d1c2c(0x353)](_0x1843ba)){_0x37b45b['length']>0x1&&(_0xb1a704[_0xd16a29]=_0x37b45b);}return{'hasConflicts':Object[_0x2d1c2c(0x251)](_0xb1a704)[_0x2d1c2c(0x25a)]>0x0,'conflicts':_0xb1a704};}function createDatasetNameMap(_0x43dc52){const _0x4b6dfb=a0_0x53f1,_0x139046={};for(const [_0x5cdfdb,_0x457330]of Object[_0x4b6dfb(0x353)](_0x43dc52)){_0x139046[_0x5cdfdb]=_0x457330[_0x4b6dfb(0x452)]||'';}return _0x139046;}function groupByTableName(_0x4c8f78){const _0x33d397={};for(const _0x5911fe of _0x4c8f78){const _0x451271=getTableName(_0x5911fe);!_0x33d397[_0x451271]&&(_0x33d397[_0x451271]=[]),_0x33d397[_0x451271]['push'](_0x5911fe);}return _0x33d397;}function datasetsConfigToArray(_0x429c5f){const _0x1234ff=a0_0x53f1;return Object[_0x1234ff(0x200)](_0x429c5f);}function adaptDrivenDataDetail(_0x2e55af){const _0x1dbcb5=a0_0x53f1,_0x94d385={};return _0x94d385['id']=_0x2e55af[_0x1dbcb5(0x23c)],_0x94d385['name']=_0x2e55af[_0x1dbcb5(0x1f6)],_0x94d385['datasetCode']=_0x2e55af['modelCode'],_0x94d385[_0x1dbcb5(0x2c3)]=_0x2e55af[_0x1dbcb5(0x2c3)],_0x94d385[_0x1dbcb5(0x1c1)]=_0x2e55af['source'],_0x94d385[_0x1dbcb5(0x302)]=_0x2e55af[_0x1dbcb5(0x302)],_0x94d385[_0x1dbcb5(0x23a)]=_0x2e55af['extend'],_0x94d385['properties']=_0x2e55af[_0x1dbcb5(0x436)],_0x94d385[_0x1dbcb5(0x438)]=_0x2e55af['operations'],_0x94d385;}function adaptDrivenDataDetails(_0x4362b7){const _0x586448=a0_0x53f1;return _0x4362b7[_0x586448(0x232)](adaptDrivenDataDetail);}function extractDatasetFromResponse(_0x32de63){const _0x4f4c7c=a0_0x53f1;if(!_0x32de63[_0x4f4c7c(0x259)]||!_0x32de63[_0x4f4c7c(0x3d9)])throw new Error(_0x4f4c7c(0x3a5)+(_0x32de63[_0x4f4c7c(0x20f)]||_0x32de63['msg']));return adaptDrivenDataDetail(_0x32de63[_0x4f4c7c(0x3d9)]);}function a0_0x28a9(){const _0x2a60e7=['initDataset','groupByTableName','isMultipleSelectField','find','getFieldRaw','total','601638PVkayq','GET_LIST','_relations','operation','fieldName','getItems','getEnabledOperations','-$1','创建导入','getResponseParamsDocInfo','indexes','getDbName','[dsparser]\x20跳过重复的表名\x20\x22','dbtableConfig','RADIO','getFieldSelectItemsSource','supportsCRUD','当前页码(从\x201\x20开始,默认:\x201)','getFieldListWithDeleted()\x20must\x20be\x20implemented\x20by\x20subclass','iterator','getDisplayName','Integer','//\x20简单查询\x0aconst\x20result1\x20=\x20await\x20client.models.','isBusiness','getDatabaseName','getModelAlias','$lte','isEnumField','includeDeleted','precision','getFieldOptions','isPrimaryKeyField','getFieldDisplayName','null','fullUrl','-\x20**第一个参数\x20`id`**:主键ID(必填),用于定位要更新的记录\x0a','DbtableConfig(table:\x20','forEach','push','isEnabled','hasTableName','generateItemsWrapperExample','getSDKInitData','_requestExampleCache','getEnumFieldsMeta','creatorNameField','now','generateItemExample','Excel导出','getHTTPFields','_min','_instance','\x0a\x0a//\x20分组聚合查询\x0aconst\x20result2\x20=\x20await\x20client.models.','[generateExampleValue]\x20fieldCode\x20is\x20not\x20a\x20string:','array','getOperation','getResponseSchema','dbId','alias','getEnumMeta','要更新的字段数据对象','\x5cs*-->([\x5cs\x5cS]*?)<!--\x5cs*/CONDITION\x5cs*-->','_fieldList','每页条数','sortNum',',\x20fields:\x20','getCount','String[]','getRequestFields','deleted','tableKey','-\x20`','index','LONGBLOB','some','ensureFilterOperation','version','charAt','includeRequestExample','toArray','SDK\x20调用示例(两参数格式)','fromApiResponse','status','includeUsageExample','toJSON','每页数量','getOperationsData','updateTime','host','value','\x20的\x20extend\x20配置失败:','//\x20失败时\x20-\x20捕获错误\x0atry\x20{\x0a\x20\x20const\x20fileUrl\x20=\x20await\x20client.models.','(支持单值或数组)','no\x20conflicts','findByName','creatorIdField','String','_fieldListV2','isFieldPrimaryKey','();\x0a\x0a//\x20按条件导出(支持与\x20filter\x20相同的参数)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','getEnumFieldMeta','string','round','200','[isApiBlacklisted]\x20operationName\x20is\x20not\x20a\x20string:','const\x20data\x20=\x20await\x20client.models.','系统自动生成','params','getRelatedDataset','-\x20**第二个参数\x20`data`**:要更新的字段数据对象,只需包含需要修改的字段','selectBestOperator','groupBy','yourModel','_fields','getRawDbtableConfig','add','toField','useArrayValues','from','getAllFieldsArray','完整的\x20SDK\x20调用代码','includes','_sum','toConfigArray','获取文件URL','min','getAllFieldsString','getInternalInstance','时间戳','generateAliasExplanation','[getFieldsForOperation]\x20fields\x20is\x20not\x20an\x20array:',');\x0a\x0a//\x20数组查询(支持多选)\x0aconst\x20result\x20=\x20await\x20client.models.','datasetKey','online','batchCreate','getFieldOperators','SELECT','toUpperCase',',\x20currentPage,\x20pageSize,\x20...\x20});','getFieldName','columnName','default','hasConflicts','useFullExample','STRING','sum','\x20API\x20文档','数组参数格式','();\x0a}\x20catch\x20(error)\x20{\x0a\x20\x20console.error(error.message);\x0a\x20\x20console.error(error.response);\x0a}','generateFromSchema','4489456fMOvwE','hasLogicField','getOperationRequestFields','isDeleted','getLatestDatasets','toObject','[generateRequestExample]\x20fields\x20is\x20not\x20an\x20array:','entries','enabled','getOperationFieldsOperatorsMap','聚合函数配置数组','dataset','generateAllOperationsFullSDKExample','INTEGER','();\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}','getEnabledOperationInstances','Field(','-\x20要更新的字段数据对象,只需包含需要修改的字段\x0a\x0a','**参数\x202:\x20`data`**\x20(Object,\x20必填)\x0a','repeat','updateTimeField','DOUBLE','##\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','getActive','filter','POST','/filter','接口名称','//\x20单值查询\x0aconst\x20result\x20=\x20await\x20client.models.','_raw','getField','getType','set','-\x20主键使用\x20`id`\x20字段\x0a','tenantCode','getFieldCount','modifierIdField','parseRawResponseBody','primaryKey','字段名称','all','北京市朝阳区','//\x20Usage\x20examples','({\x20','number','test','generateHTTPRequestExample','2024-12-31','hasUpdateTimeField','update','toLowerCase','$endWith','findByCode','parseFieldExtend','getTableKey','BATCH_CREATE','getOneOrigin','getTooltip','dblinkInfoDTO','getFieldDescription','isCreateTime','1.0','getGroupedParams','lastIndexOf','SWITCH','0000','taskInfo','getNames','\x20indexes)','$and','SDK\x20调用','FieldListV2(','\x20fields,\x20','-\x20其他要更新的字段直接平铺在同一层级','BOOLEAN','getAt','getUpdateFields','getOldest','排序规则','(实际字段:','getConflictStats','这是一段较长的文本内容示例','sortOperationsWithFilterFirst','_operations','BOOL','findAllByTableName','[FieldV2]\x20Invalid\x20field\x20definition','isArray','dataset_unknown','获取数据集失败:\x20','32834mrwGIa','getFilteredOperationAnalyses','generateOperationSummary','getFieldList','JSON','getSelectOptions','DESC','doVersion','getUpdatableFields','labelField','sort','getVersion','displayName','$contain','having','查询列表','exampleWhere','_autoGenerated','SMALLINT','items','getIndexes','getRequiredFields','slice','findByTableName','getOperationStats','getSystemFields','[DrivenDataDetailBase.getOperation]\x20operationType\x20is\x20not\x20a\x20string:','hasRelation','generateAllOperationsSummary','排序规则(与\x20Filter\x20API\x20一致)','findById','operationCount','getId','importTemplate','getFieldCode','children','getFieldsWithDeleted','toDatasetCode','getLast','_max','forceVersion','hasField','getMissingCRUDOperations','Filter\x20API\x20-\x20高级查询接口','generateFieldExample','isMultipleSelect','demo-app','选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)','getCountByMethod','conflictItemCount','value1','data','where','undefined','get','CREATE_IMPORT','dataset_000000','getFields','N/A','isSystem','DrivenDataDetailPlus(','getCodes','modifyDate','sdkCallCode','字段编码','getEnumValues','multiple','warn','dbName','返回字段列表(字段投影)','_fieldListWithDeleted','item2','generateArrayHTTPExample','dbTypeLen','includeDisabled','Array','将批量创建数据数组放在\x20items\x20字段中','placeholder','hasDblinkInfo','generateSingleValueExample','createFields','_$1','Number','toDatasetId','getSystemAnalysisResult','modifierNameField','logicField','操作成功','示例值','CREATE_EXPORT','getFieldList()\x20must\x20be\x20implemented\x20by\x20subclass','BLOB','GET','dbVersion','$or','getAll','查询单个条件','LONGTEXT','https://example.com/file.pdf','join','code','getFiltered','label','$eq','[generateRequestExample]\x20Invalid\x20field:','getEnumFields','select','split','\x20fields)','_operationAnalyses','选项编码(可选)','getConflictingItems','$startWith','msg','\x20operations,\x20v1)','getFilterOperators','getDisabled','generateExampleValue','getDisabledNames','getAllDatasets','hasCreatorIdField','getFieldInstance','\x0a\x0a//\x20复杂查询(组合条件)\x0aconst\x20result2\x20=\x20await\x20client.models.','fieldCount','文件上传','getFieldsV2','getByType','systemAnalysisResult','hasConflict','VARCHAR','HTTP\x20请求使用平铺格式,主键统一使用\x20`id`\x20字段,其他字段直接放在同一层级。','orderBy','(id,\x20','distinct','getFieldTypeFromDefinition','\x20groups,\x20','update\x20接口接受两个参数:\x0a\x0a','getSystem','createImport','SDK\x20调用时传递两个参数:\x0a','excelExport','[DrivenDataDetailV1.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:','FLOAT','GET_FILE_URL','properties','ARRAY','operations','try\x20{\x0a\x20\x20const\x20data\x20=\x20await\x20client.models.','env','EXCEL_EXPORT','_avg','getOperationAnalysis','//\x20对象参数格式','isUpdateTime','HTTP\x20请求示例(平铺格式)','获取下拉选项','BIGINT','getAutoIncrement','getDbTypeForOperation','getOperations','padStart','解析\x20requestBody\x20失败:','直接传入批量创建数据数组','示例文本','FieldV1(','generateHTTPExample','对象参数格式','_operationList','createTimeField','getOperationsOverviewData','获取上传脚本','const\x20result\x20=\x20await\x20client.models.','datasetCode','toISOString','DECIMAL','查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)','delete','modelCode','hasOperation','fieldCode','isAutoIncrement','getEnabledOperationAnalyses','enabledOperationCount','DatasetList(','avg','解析\x20responseBody\x20失败:','desc','datasetId','分组字段列表','Object','hasExtendField','getCountByType','getDatasetDocMeta','selectItemsSource','conflictGroupCount','DATE','\x20operations,\x20','filterBlacklist','({\x20code,\x20label\x20});','$ne','datasetInfo','appCode','stringify','generateConfig','[parseOperationType]\x20value\x20is\x20not\x20a\x20string:','TIME','isEmpty','const\x20fileUrl\x20=\x20await\x20client.models.','phone','parse','NUMBER','2024-01-01','105439MxhtsJ','getFieldsFilterOperatorsMap','[FieldV1.extend]\x20解析字段\x20','批量创建','getDisabledOperationInstances','suffix','当前页码','https://example.com/image.jpg','getPrimaryKeyFields','-\x20主键ID,用于定位要更新的记录\x0a\x0a','type','getList','toString','source','createDate','sdkCall','total_count','substring','();\x0a//\x20fileUrl:\x20\x22https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/xxx.xlsx?...\x22\x0awindow.open(fileUrl,\x20\x27_blank\x27);\x20//\x20打开下载','responseSchema','relations','isRequired','doType','$in','**参数\x201:\x20`id`**\x20(NUMBER,\x20必填)\x0a','count','has','_fieldListV1','successCode','TEXTAREA','DatasetGroup(','replace','condition','getMethod','trim','tableName','[generateExampleValue]\x20fieldType\x20is\x20not\x20a\x20string:','getFieldsByType','Invalid\x20API\x20response:\x20data\x20must\x20be\x20an\x20array\x20(get-dataset-list)\x20or\x20contain\x20tableData\x20(getList)','UPDATE','prefix','isEnum','getAggregates','createTime','path','当前页码(可选)','generateFullSDKExample','1011725Sbsbfo','getConflicts','getFileUrl','getOperationCount','function','query','getSelectItemsSource','\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','Invalid\x20simplified\x20API\x20response:\x20tableData\x20must\x20be\x20an\x20array','valueLabels','GET_ONE','getFullUrl','[Field]\x20Invalid\x20field\x20definition','getRelationsByField','parseRawRequestBody','DATETIME','\x20items,\x20conflict,\x20latest:\x20','日期时间','toListItem','name','getDatabaseVersion','getFieldFilterOperators','//\x20简单聚合查询\x0aconst\x20result1\x20=\x20await\x20client.models.','TIMESTAMP','12405321auwrqs','context','column','下拉选择','getRequired','values','\x20relations,\x20','\x20operations)','getVirtualTables','getOperators','getIds','请求示例','getOperationAnalyses','getFilterOperation','pkField','getPrimaryKeys','IMAGE','bind','RICH_TEXT','requestBody','errorMsg','getHTTPRequestParamsDocInfo','generateSDKCallCode','getStats','required','generateResponseExample','_datasetMap','isPrimaryKey','keyword','getOperationList','查询单条','every','tableColumns','hasModifierIdField','dataset_','getFieldListWithDeleted','DatasetGroupMap(','getDatasetMeta','单值查询','({\x20currentPage,\x20pageSize\x20});','getFilteredOperations','groups','数组查询(支持多选)','description','CHECKBOX','has\x20conflicts','findAll','requestFields','usageExample','createAll','//\x20导出所有数据\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','generateUsageExample','tableData','TEXT','getDefaultValue','map','7bZbvaB','_fieldListV1WithDeleted','errorCode','每页数量(可选)','dbType','allFields','主键ID','extend','isNumericField','modelId','toConfig','getOperationFieldOperators','create','getLatest','getBusiness','TASK_INFO','getDisabledOperations','CREATE','isOperationEnabled','getRequestParams','();\x0a\x0a//\x20导出指定条数\x0aconst\x20fileUrl\x20=\x20await\x20client.models.','每页数量(默认:\x2020)','$gte','getDBConfig','getRaw','支持单值或数组','getEnabled','getCreateTime','\x20operations,\x20v2)','datasetSDKKey','keys','getEnumOptions','[parseFieldExtend]\x20Invalid\x20field:','pageSize','fromField','1270440yzxhez','BIT','getRealTables','success','length','getPath','daily','generateRequestAllExamples','DrivenDataDetailV2(','title','getFieldDefinition','responseBody','2.0','isVirtualTable','查询单条(用于更新)','getFieldDataSource','_extend','currentPage','options','getUploadFileScript','fields','groupByType','size','富文本','<p>富文本内容</p>','object','hasCreateTimeField','getEnum','empty','generateSDKInitCode','getOneUpdate','$lteq','getRelations','(params);','获取数据集列表失败:\x20','//\x20Call\x20the\x20','hasFilterOperation','generateDefaultFilterOperation','\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','getFieldListV2','getOperationDocMeta','3akqPdo','_datasetMeta','创建导出','email','raw','[generateRequestExample]\x20Invalid\x20field.code\x20or\x20field.type:','getSource','autoIncrement','user@example.com','getApplicableOperators','getTableName',',\x20...\x20});','getBusinessFields','CHAR','validateEnumValue','Object[]','//\x20','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','DatasetItem(','getName','GET_ONE_ORIGIN','method','FILTER','max','systemRetain','\x20groups)','value2','datasetMap','[DrivenDataDetailBase.parseFieldExtend]\x20Invalid\x20field:','TINYINT','customFilter','**可更新的字段列表:**','getDatasetSDKKey','getOperationOperators','aggregate','$gteq','getExtendField','generateRequestExample','getOne','();','getDatabaseType','getOperationAnalysesByType','AGGREGATE','`:\x20','getRequestParamsDocInfo','操作名称','INT','IMPORT_TEMPLATE','(id,\x20data);'];a0_0x28a9=function(){return _0x2a60e7;};return a0_0x28a9();}function extractDatasetsFromListResponse(_0xe624c9){const _0x22f14e=a0_0x53f1;if(!_0xe624c9[_0x22f14e(0x259)]||!_0xe624c9['data']?.[_0x22f14e(0x22f)])throw new Error(_0x22f14e(0x278)+(_0xe624c9['errorMsg']||_0xe624c9[_0x22f14e(0x417)]));return _0xe624c9[_0x22f14e(0x3d9)][_0x22f14e(0x22f)][_0x22f14e(0x232)](_0x24da1d=>({..._0x24da1d,'datasetCode':_0x24da1d[_0x22f14e(0x40a)]||_0x24da1d[_0x22f14e(0x452)]}));}function isDrivenDataDetail(_0x451859){const _0x5e5b03=a0_0x53f1;return Boolean(_0x451859&&typeof _0x451859['modelCode']===_0x5e5b03(0x31b));}function smartAdapt(_0x47bdea){const _0x300e37=a0_0x53f1;if(isDrivenDataDetail(_0x47bdea))return adaptDrivenDataDetail(_0x47bdea);if(_0x47bdea[_0x300e37(0x452)])return _0x47bdea;if(_0x47bdea[_0x300e37(0x40a)]){const _0x2e6a0e={..._0x47bdea};return _0x2e6a0e[_0x300e37(0x452)]=_0x47bdea[_0x300e37(0x40a)],_0x2e6a0e;}return _0x47bdea;}function cleanNewlines(_0x4014ab){const _0xb464ad=a0_0x53f1;return _0x4014ab['replace'](/[\r\n]+/g,'\x20')[_0xb464ad(0x1d6)]();}function cleanDatasetName(_0x264727){const _0xc2dff1=a0_0x53f1;if(!_0x264727[_0xc2dff1(0x1f6)])return _0x264727;return{..._0x264727,'name':cleanNewlines(_0x264727[_0xc2dff1(0x1f6)])};}function cleanDatasetNames(_0x43b089){return _0x43b089['map'](cleanDatasetName);}var DatasetOperationType;(_0x501a55=>{const _0x18a942=a0_0x53f1;_0x501a55[_0x18a942(0x295)]=_0x18a942(0x364),_0x501a55[_0x18a942(0x2b7)]=_0x18a942(0x1bf),_0x501a55[_0x18a942(0x1ed)]=_0x18a942(0x2a5),_0x501a55[_0x18a942(0x293)]=_0x18a942(0x384),_0x501a55['GET_ONE_UPDATE']='getOneUpdate',_0x501a55[_0x18a942(0x244)]=_0x18a942(0x23f),_0x501a55[_0x18a942(0x383)]=_0x18a942(0x33c),_0x501a55[_0x18a942(0x1db)]=_0x18a942(0x37d),_0x501a55['DELETE']=_0x18a942(0x456),_0x501a55['GET_SELECT_OPTIONS']=_0x18a942(0x3ab),_0x501a55[_0x18a942(0x435)]='getFileUrl',_0x501a55[_0x18a942(0x43b)]=_0x18a942(0x432),_0x501a55['GET_UPLOAD_FILE_SCRIPT']=_0x18a942(0x269),_0x501a55[_0x18a942(0x3dd)]=_0x18a942(0x430),_0x501a55[_0x18a942(0x3ff)]='createExport',_0x501a55[_0x18a942(0x2a9)]=_0x18a942(0x2a1),_0x501a55[_0x18a942(0x242)]=_0x18a942(0x38e),_0x501a55[_0x18a942(0x2ae)]=_0x18a942(0x3c7);})(DatasetOperationType||={});const a0_0x354626={};function a0_0x53f1(_0x898beb,_0x1587a4){_0x898beb=_0x898beb-0x1a3;const _0x28a9a2=a0_0x28a9();let _0x53f1b2=_0x28a9a2[_0x898beb];return _0x53f1b2;}a0_0x354626[a0_0x14993a(0x364)]='筛选查询',a0_0x354626[a0_0x14993a(0x1bf)]=a0_0x14993a(0x3b5),a0_0x354626[a0_0x14993a(0x2a5)]=a0_0x14993a(0x219),a0_0x354626[a0_0x14993a(0x384)]='查询单条(原始)',a0_0x354626[a0_0x14993a(0x274)]=a0_0x14993a(0x264),a0_0x354626[a0_0x14993a(0x23f)]='创建',a0_0x354626[a0_0x14993a(0x33c)]=a0_0x14993a(0x1b7),a0_0x354626[a0_0x14993a(0x37d)]='更新',a0_0x354626[a0_0x14993a(0x456)]='删除',a0_0x354626[a0_0x14993a(0x3ab)]=a0_0x14993a(0x441),a0_0x354626[a0_0x14993a(0x1e5)]=a0_0x14993a(0x332),a0_0x354626['excelExport']=a0_0x14993a(0x2e6),a0_0x354626['getUploadFileScript']=a0_0x14993a(0x450),a0_0x354626[a0_0x14993a(0x430)]=a0_0x14993a(0x2be),a0_0x354626['createExport']=a0_0x14993a(0x281),a0_0x354626[a0_0x14993a(0x2a1)]='聚合查询',a0_0x354626[a0_0x14993a(0x38e)]='任务信息',a0_0x354626[a0_0x14993a(0x3c7)]='导入模板';var OPERATION_TYPE_DISPLAY_NAME=a0_0x354626,API_BLACKLIST=['getList',a0_0x14993a(0x384),a0_0x14993a(0x274),a0_0x14993a(0x1e5)];function parseFieldExtend(_0x418ec8){const _0xa99351=a0_0x14993a;if(!_0x418ec8||typeof _0x418ec8!==_0xa99351(0x26f))return!![]&&console[_0xa99351(0x3e9)](_0xa99351(0x253),_0x418ec8),{};if(!_0x418ec8['extend'])return{};try{const _0x5b97b0=typeof _0x418ec8[_0xa99351(0x23a)]===_0xa99351(0x31b)?JSON[_0xa99351(0x1b1)](_0x418ec8['extend']):_0x418ec8[_0xa99351(0x23a)];if(typeof _0x5b97b0!==_0xa99351(0x26f)||_0x5b97b0===null)return{};return _0x5b97b0;}catch{return{};}}function isPrimaryKeyField(_0x23e525,_0x5174c2){const _0x277e11=a0_0x14993a;if(!_0x23e525||typeof _0x23e525!=='object')return![];if(typeof _0x5174c2===_0x277e11(0x31b)&&_0x23e525[_0x277e11(0x40a)]===_0x5174c2)return!![];const _0x4863ae=parseFieldExtend(_0x23e525);return Boolean(_0x4863ae['primaryKey']||_0x4863ae[_0x277e11(0x209)]);}function isSystemField(_0x3d5205){const _0x1ad34d=a0_0x14993a,_0x4b66e0=parseFieldExtend(_0x3d5205);return Boolean(_0x4b66e0[_0x1ad34d(0x297)]);}function isRequiredField(_0x6abc47){const _0x3595bf=a0_0x14993a,_0x5c971b=parseFieldExtend(_0x6abc47);return Boolean(_0x5c971b[_0x3595bf(0x213)]);}function isAutoIncrementField(_0x3dec2b){const _0x138dd9=a0_0x14993a,_0x3a9d62=parseFieldExtend(_0x3dec2b);return Boolean(_0x3a9d62[_0x138dd9(0x286)]);}function isCreateTimeField(_0x370bcb){const _0x27be38=a0_0x14993a,_0x27b2df=parseFieldExtend(_0x370bcb);return Boolean(_0x27b2df[_0x27be38(0x1c2)]);}function isModifyTimeField(_0x203e0f){const _0x22a0db=a0_0x14993a,_0xfdcd44=parseFieldExtend(_0x203e0f);return Boolean(_0xfdcd44[_0x22a0db(0x3e4)]);}const a0_0x2c86c0={};a0_0x2c86c0[a0_0x14993a(0x1b2)]='数字',a0_0x2c86c0[a0_0x14993a(0x230)]='文本',a0_0x2c86c0['TEXTAREA']='长文本',a0_0x2c86c0['DATE']='日期',a0_0x2c86c0[a0_0x14993a(0x1f2)]=a0_0x14993a(0x1f4),a0_0x2c86c0[a0_0x14993a(0x1fa)]=a0_0x14993a(0x336),a0_0x2c86c0[a0_0x14993a(0x33e)]=a0_0x14993a(0x1fe),a0_0x2c86c0[a0_0x14993a(0x227)]='多选',a0_0x2c86c0[a0_0x14993a(0x2c4)]='单选',a0_0x2c86c0[a0_0x14993a(0x38c)]='开关',a0_0x2c86c0['UPLOAD']=a0_0x14993a(0x422),a0_0x2c86c0[a0_0x14993a(0x20b)]='图片',a0_0x2c86c0[a0_0x14993a(0x20d)]=a0_0x14993a(0x26d),a0_0x2c86c0[a0_0x14993a(0x3aa)]=a0_0x14993a(0x3aa),a0_0x2c86c0[a0_0x14993a(0x437)]='数组';var DB_TYPE_DISPLAY_MAP=a0_0x2c86c0;function getDbTypeDisplay(_0x4da36f){const _0x3afaa=a0_0x14993a;if(typeof _0x4da36f!==_0x3afaa(0x31b))return!![]&&console[_0x3afaa(0x3e9)]('[getDbTypeDisplay]\x20type\x20is\x20not\x20a\x20string:',_0x4da36f),String(_0x4da36f||'-');return DB_TYPE_DISPLAY_MAP[_0x4da36f]||_0x4da36f;}function formatDbType(_0xc06661,_0x500fc8){const _0x3b32d5=a0_0x14993a;if(!_0xc06661||typeof _0xc06661!==_0x3b32d5(0x31b))return'-';if(!_0x500fc8||typeof _0x500fc8!==_0x3b32d5(0x378))return _0xc06661;const _0x372b63=['TEXT',_0x3b32d5(0x1f2),_0x3b32d5(0x1fa),_0x3b32d5(0x1a3)];if(_0x372b63[_0x3b32d5(0x32f)](_0xc06661[_0x3b32d5(0x33f)]()))return _0xc06661;return _0xc06661+'('+_0x500fc8+')';}function parseOperationType(_0x4fb25d){const _0x246925=a0_0x14993a;if(typeof _0x4fb25d!==_0x246925(0x31b)){!![]&&console['warn'](_0x246925(0x1ac),_0x4fb25d);return;}if(Object['values'](DatasetOperationType)[_0x246925(0x32f)](_0x4fb25d))return _0x4fb25d;const _0x352963=Object[_0x246925(0x353)](OPERATION_TYPE_DISPLAY_NAME)['find'](([_0x39d0fe,_0x39e9e9])=>_0x39e9e9===_0x4fb25d);return _0x352963?_0x352963[0x0]:undefined;}function shouldIncludeField(_0x1a59ea,_0x1cf0df,_0x3eca7a){const _0x50b0d1=a0_0x14993a,_0x5973ea=parseFieldExtend(_0x1a59ea),_0x2ac2af=isPrimaryKeyField(_0x1a59ea,_0x3eca7a),_0x351517=Boolean(_0x5973ea['systemRetain']),_0x3c379e=Boolean(_0x5973ea['autoIncrement']),_0x248cf7=Boolean(_0x5973ea[_0x50b0d1(0x1c2)]),_0x498ade=Boolean(_0x5973ea[_0x50b0d1(0x3e4)]);switch(_0x1cf0df){case'filter':case _0x50b0d1(0x1bf):case _0x50b0d1(0x2a1):return!![];case _0x50b0d1(0x2a5):case _0x50b0d1(0x384):case _0x50b0d1(0x456):return _0x2ac2af;case _0x50b0d1(0x23f):case _0x50b0d1(0x33c):if(_0x2ac2af&&_0x3c379e)return![];if(_0x351517)return![];if(_0x248cf7||_0x498ade)return![];return!![];case _0x50b0d1(0x37d):case'getOneUpdate':if(_0x2ac2af)return!![];if(_0x351517)return![];if(_0x248cf7||_0x498ade)return![];return!![];case'getSelectOptions':return _0x1a59ea[_0x50b0d1(0x40a)]===_0x50b0d1(0x40a);default:return!![];}}function getFieldsForOperation(_0x2ef529,_0x153fb8,_0x5c801b){const _0x12d636=a0_0x14993a;if(!Array[_0x12d636(0x3a3)](_0x2ef529))return!![]&&console['warn'](_0x12d636(0x338),_0x2ef529),[];return _0x2ef529[_0x12d636(0x364)](_0x346bee=>shouldIncludeField(_0x346bee,_0x153fb8,_0x5c801b));}function isApiBlacklisted(_0x153d42){const _0x5f2edc=a0_0x14993a;if(typeof _0x153d42!==_0x5f2edc(0x31b))return!![]&&console[_0x5f2edc(0x3e9)](_0x5f2edc(0x31e),_0x153d42),![];return API_BLACKLIST[_0x5f2edc(0x32f)](_0x153d42);}function filterApiOperations(_0x1d8528){const _0xd259ac=a0_0x14993a;if(!Array['isArray'](_0x1d8528))return!![]&&console['warn']('[filterApiOperations]\x20operations\x20is\x20not\x20an\x20array:',_0x1d8528),[];return _0x1d8528['filter'](_0x5ae77b=>_0x5ae77b&&typeof _0x5ae77b===_0xd259ac(0x26f)&&!isApiBlacklisted(_0x5ae77b[_0xd259ac(0x1f6)]));}var TYPE_VALUE_GENERATORS={'TIMESTAMP':()=>Date['now'](),'DATE':()=>Date[a0_0x14993a(0x2e4)](),'SELECT':({fieldInfo:_0x1e5c15})=>{const _0x5b56e7=a0_0x14993a;if(_0x1e5c15?.[_0x5b56e7(0x268)]&&Array['isArray'](_0x1e5c15[_0x5b56e7(0x268)])&&_0x1e5c15['options']['length']>0x0)return _0x1e5c15[_0x5b56e7(0x268)][0x0]['value'];return 0x1;},'NUMBER':()=>0x7b,'INTEGER':()=>0x64,'Integer':({fieldCode:_0x1c5608})=>{const _0x556277=a0_0x14993a;if(_0x1c5608===_0x556277(0x267))return 0x1;if(_0x1c5608===_0x556277(0x254))return 0xa;return 0x64;},'BIGINT':()=>0xf4240,'Long':()=>0xf4240,'INT':()=>0x64,'TINYINT':()=>0x1,'DECIMAL':()=>99.99,'FLOAT':()=>99.99,'DOUBLE':()=>99.99,'TEXT':({description:_0x4b6df3})=>{const _0x2a1e0f=a0_0x14993a;if(_0x4b6df3&&typeof _0x4b6df3===_0x2a1e0f(0x31b)){const _0x3c2d75=_0x4b6df3[_0x2a1e0f(0x37e)]();if(_0x3c2d75[_0x2a1e0f(0x32f)]('邮箱')||_0x3c2d75[_0x2a1e0f(0x32f)](_0x2a1e0f(0x282)))return _0x2a1e0f(0x287);if(_0x3c2d75[_0x2a1e0f(0x32f)]('电话')||_0x3c2d75[_0x2a1e0f(0x32f)]('手机')||_0x3c2d75[_0x2a1e0f(0x32f)](_0x2a1e0f(0x1b0)))return'13800138000';if(_0x3c2d75[_0x2a1e0f(0x32f)]('地址')||_0x3c2d75[_0x2a1e0f(0x32f)]('address'))return _0x2a1e0f(0x375);if(_0x3c2d75[_0x2a1e0f(0x32f)]('姓名')||_0x3c2d75[_0x2a1e0f(0x32f)](_0x2a1e0f(0x1f6)))return'张三';}return _0x2a1e0f(0x449);},'VARCHAR':({description:_0x20e7e3})=>TYPE_VALUE_GENERATORS[a0_0x14993a(0x230)]({'description':_0x20e7e3}),'CHAR':({description:_0x4bd5c7})=>TYPE_VALUE_GENERATORS[a0_0x14993a(0x230)]({'description':_0x4bd5c7}),'STRING':({fieldInfo:_0x5a7fa2,description:_0x4d0a90})=>{const _0x5f4218=a0_0x14993a;if(_0x5a7fa2?.['placeholder']&&typeof _0x5a7fa2['placeholder']===_0x5f4218(0x31b)&&_0x5a7fa2['placeholder']!==_0x5f4218(0x320))return _0x5a7fa2[_0x5f4218(0x3f3)]['replace'](/^请输入|^请选择/,'');const _0x5c17e6={};return _0x5c17e6[_0x5f4218(0x226)]=_0x4d0a90,TYPE_VALUE_GENERATORS[_0x5f4218(0x230)](_0x5c17e6);},'TEXTAREA':()=>'这是一段较长的文本内容示例','LONGTEXT':()=>a0_0x14993a(0x39d),'BOOLEAN':()=>!![],'BOOL':()=>!![],'Boolean':()=>!![],'SWITCH':()=>!![],'CHECKBOX':()=>[0x1,0x2],'RADIO':()=>0x1,'JSON':()=>({'key':a0_0x14993a(0x30f)}),'ARRAY':()=>['item1',a0_0x14993a(0x3ed)],'UPLOAD':()=>a0_0x14993a(0x408),'IMAGE':()=>a0_0x14993a(0x1bb),'RICH_TEXT':()=>a0_0x14993a(0x26e)};function generateExampleValue(_0x1d3da2,_0x2ef557,_0x471318,_0x522ab2={}){const _0x223c5a=a0_0x14993a;typeof _0x1d3da2!=='string'&&(!![]&&console['warn'](_0x223c5a(0x2eb),_0x1d3da2),_0x1d3da2=String(_0x1d3da2||''));if(typeof _0x2ef557!==_0x223c5a(0x31b))return!![]&&console[_0x223c5a(0x3e9)](_0x223c5a(0x1d8),_0x2ef557),'示例值';const {isPrimaryKey:_0x5cd191,dbtableConfig:_0x2109ac}=_0x522ab2;if(_0x5cd191)return 0x1;if(_0x2109ac&&typeof _0x2109ac===_0x223c5a(0x26f)){const _0x50d518=_0x2109ac[_0x223c5a(0x44e)]?.[_0x223c5a(0x2ba)]===_0x1d3da2,_0x52a4be=_0x2109ac[_0x223c5a(0x360)]?.[_0x223c5a(0x2ba)]===_0x1d3da2;if(_0x50d518||_0x52a4be){if(_0x471318&&typeof _0x471318===_0x223c5a(0x31b)&&_0x471318['toUpperCase']()[_0x223c5a(0x32f)](_0x223c5a(0x1fa)))return Date[_0x223c5a(0x2e4)]();return new Date()[_0x223c5a(0x453)]()[_0x223c5a(0x1d3)]('T','\x20')[_0x223c5a(0x411)]('.')[0x0];}}const _0x1ddbde={..._0x522ab2};_0x1ddbde[_0x223c5a(0x459)]=_0x1d3da2;const _0x98a5eb=_0x1ddbde;if(_0x471318&&typeof _0x471318===_0x223c5a(0x31b)){const _0x5e928d=_0x471318[_0x223c5a(0x33f)](),_0x13e58a=TYPE_VALUE_GENERATORS[_0x5e928d];if(_0x13e58a)return _0x13e58a(_0x98a5eb);}if(_0x2ef557&&typeof _0x2ef557===_0x223c5a(0x31b)){const _0x28b5d2=_0x2ef557[_0x223c5a(0x33f)](),_0x56fab2=TYPE_VALUE_GENERATORS[_0x28b5d2];if(_0x56fab2)return _0x56fab2(_0x98a5eb);}return'示例值';}function generateExampleFromSchema(_0x550625,_0x466404){const _0x1d4117=a0_0x14993a;if(!_0x550625||typeof _0x550625!==_0x1d4117(0x26f))return{};if(Array['isArray'](_0x550625)){if(_0x550625['length']>0x0)return[generateExampleFromSchema(_0x550625[0x0],_0x466404)];return[];}const _0xcaf0f5={};return Object[_0x1d4117(0x251)](_0x550625)[_0x1d4117(0x2db)](_0x2b74a2=>{const _0x58c220=_0x1d4117,_0x3aa759=_0x550625[_0x2b74a2];if(_0x3aa759&&typeof _0x3aa759===_0x58c220(0x26f)&&!Array[_0x58c220(0x3a3)](_0x3aa759)&&_0x3aa759[_0x58c220(0x1be)]){const _0x51220a=_0x3aa759,_0x15f859=_0x51220a['type'],_0x298fe3=_0x51220a[_0x58c220(0x226)];if(typeof _0x15f859===_0x58c220(0x31b)){const _0x1088c1={};_0x1088c1[_0x58c220(0x226)]=_0x298fe3,_0x1088c1[_0x58c220(0x2c3)]=_0x466404,_0xcaf0f5[_0x2b74a2]=generateExampleValue(_0x2b74a2,_0x15f859,undefined,_0x1088c1);}else _0xcaf0f5[_0x2b74a2]=_0x58c220(0x3fe);}else{if(Array[_0x58c220(0x3a3)](_0x3aa759))_0xcaf0f5[_0x2b74a2]=_0x3aa759[_0x58c220(0x25a)]>0x0?[generateExampleFromSchema(_0x3aa759[0x0],_0x466404)]:[];else _0x3aa759&&typeof _0x3aa759===_0x58c220(0x26f)?_0xcaf0f5[_0x2b74a2]=generateExampleFromSchema(_0x3aa759,_0x466404):_0xcaf0f5[_0x2b74a2]=_0x3aa759;}}),_0xcaf0f5;}function parseRequestBody(_0x50d02d){const _0x47704b=a0_0x14993a;if(!_0x50d02d)return{};try{return JSON[_0x47704b(0x1b1)](_0x50d02d);}catch(_0x5eb351){return!![]&&console[_0x47704b(0x3e9)](_0x47704b(0x447),_0x5eb351),{};}}function parseResponseBody(_0x221942){const _0x4a41a9=a0_0x14993a;if(!_0x221942)return null;try{const _0x597069=JSON['parse'](_0x221942);return _0x597069[_0x4a41a9(0x31d)]||_0x597069;}catch(_0xc7a4ab){return!![]&&console[_0x4a41a9(0x3e9)](_0x4a41a9(0x45f),_0xc7a4ab),null;}}function generateRequestExample(_0x19b102,_0x58ae63,_0x4d7ffd,_0x32c25f){const _0x1ef293=a0_0x14993a,_0x591241={};if(!Array[_0x1ef293(0x3a3)](_0x19b102))return!![]&&console[_0x1ef293(0x3e9)](_0x1ef293(0x352),_0x19b102),_0x591241;return _0x19b102[_0x1ef293(0x2db)](_0x54e5b5=>{const _0x27ba19=_0x1ef293;if(!_0x54e5b5||typeof _0x54e5b5!==_0x27ba19(0x26f)){!![]&&console[_0x27ba19(0x3e9)](_0x27ba19(0x40e),_0x54e5b5);return;}if(typeof _0x54e5b5[_0x27ba19(0x40a)]!==_0x27ba19(0x31b)||typeof _0x54e5b5[_0x27ba19(0x1be)]!=='string'){!![]&&console[_0x27ba19(0x3e9)](_0x27ba19(0x284),_0x54e5b5);return;}const _0x18390b=parseFieldExtend(_0x54e5b5),_0x23974e=_0x54e5b5[_0x27ba19(0x40a)]===_0x4d7ffd||Boolean(_0x18390b?.['primaryKey']),_0x4b7443=generateExampleValue(_0x54e5b5[_0x27ba19(0x40a)],_0x54e5b5[_0x27ba19(0x1be)],typeof _0x54e5b5[_0x27ba19(0x237)]===_0x27ba19(0x31b)?_0x54e5b5[_0x27ba19(0x237)]:undefined,{'fieldInfo':_0x18390b,'isPrimaryKey':_0x23974e,'description':_0x54e5b5[_0x27ba19(0x226)]||_0x54e5b5[_0x27ba19(0x1f6)],'dbtableConfig':_0x32c25f});_0x591241[_0x54e5b5[_0x27ba19(0x40a)]]=_0x4b7443;}),_0x58ae63===_0x1ef293(0x1bf)&&(_0x591241[_0x1ef293(0x267)]=0x1,_0x591241['pageSize']=0xa),_0x591241;}function formatEnumValue(_0x1b9ea8,_0x521f3a){const _0x5973b4=a0_0x14993a;if(_0x1b9ea8[_0x5973b4(0x3e8)]&&Array[_0x5973b4(0x3a3)](_0x521f3a))return _0x521f3a[_0x5973b4(0x232)](_0x4b653f=>_0x1b9ea8[_0x5973b4(0x1ec)][String(_0x4b653f)]||String(_0x4b653f))[_0x5973b4(0x409)](',\x20');return _0x1b9ea8['valueLabels'][String(_0x521f3a)]||String(_0x521f3a);}function formatOptionsForDoc(_0x39bd85){const _0x287414=a0_0x14993a;return _0x39bd85[_0x287414(0x232)](_0x373161=>_0x373161[_0x287414(0x30f)]+'('+_0x373161[_0x287414(0x40c)]+')')['join'](',\x20');}function formatOptionsAsMarkdownList(_0x45bd6e,_0x39f434=0x0){const _0x4be127=a0_0x14993a,_0x592c30='\x20\x20'[_0x4be127(0x35f)](_0x39f434),_0x55f48e=[];return _0x45bd6e[_0x4be127(0x2db)](_0x55367a=>{const _0xccd4aa=_0x4be127;_0x55f48e['push'](_0x592c30+_0xccd4aa(0x2fd)+_0x55367a[_0xccd4aa(0x30f)]+_0xccd4aa(0x2aa)+_0x55367a['label']),_0x55367a[_0xccd4aa(0x3c9)]&&_0x55367a[_0xccd4aa(0x3c9)][_0xccd4aa(0x25a)]>0x0&&_0x55f48e['push'](formatOptionsAsMarkdownList(_0x55367a[_0xccd4aa(0x3c9)],_0x39f434+0x1));}),_0x55f48e[_0x4be127(0x409)]('\x0a');}class DbtableConfig{[a0_0x14993a(0x369)];constructor(_0x3f3c42){const _0x3ca795={..._0x3f3c42};this['_raw']=_0x3ca795;}get[a0_0x14993a(0x2ef)](){const _0xd013a5=a0_0x14993a;return this[_0xd013a5(0x369)][_0xd013a5(0x2ef)];}get[a0_0x14993a(0x3ea)](){const _0x5db51f=a0_0x14993a;return this[_0x5db51f(0x369)][_0x5db51f(0x3ea)]??this[_0x5db51f(0x369)][_0x5db51f(0x386)]?.['dbName'];}get[a0_0x14993a(0x1d7)](){const _0x5cb888=a0_0x14993a;return this[_0x5cb888(0x369)][_0x5cb888(0x1d7)];}get[a0_0x14993a(0x33a)](){const _0x17c7db=a0_0x14993a;return this['_raw'][_0x17c7db(0x33a)];}get[a0_0x14993a(0x209)](){const _0x2110d8=a0_0x14993a;return this[_0x2110d8(0x369)][_0x2110d8(0x209)];}get[a0_0x14993a(0x3af)](){const _0x285df6=a0_0x14993a;return this[_0x285df6(0x369)][_0x285df6(0x3af)];}get[a0_0x14993a(0x3fc)](){const _0x3ef483=a0_0x14993a;return this[_0x3ef483(0x369)][_0x3ef483(0x3fc)];}get[a0_0x14993a(0x44e)](){const _0x37e49b=a0_0x14993a;return this['_raw'][_0x37e49b(0x44e)];}get[a0_0x14993a(0x360)](){const _0x1f02ab=a0_0x14993a;return this[_0x1f02ab(0x369)][_0x1f02ab(0x360)];}get[a0_0x14993a(0x315)](){const _0x13611a=a0_0x14993a;return this[_0x13611a(0x369)][_0x13611a(0x315)];}get[a0_0x14993a(0x2e3)](){const _0x3cb65f=a0_0x14993a;return this[_0x3cb65f(0x369)][_0x3cb65f(0x2e3)];}get[a0_0x14993a(0x370)](){const _0x33bf90=a0_0x14993a;return this['_raw'][_0x33bf90(0x370)];}get['modifierNameField'](){const _0x3dac35=a0_0x14993a;return this['_raw'][_0x3dac35(0x3fb)];}get[a0_0x14993a(0x386)](){const _0x5a91ac=a0_0x14993a;return this[_0x5a91ac(0x369)][_0x5a91ac(0x386)];}['getAllFieldsArray'](){const _0x520d67=a0_0x14993a;if(!this['_raw'][_0x520d67(0x238)])return[];return this['_raw']['allFields'][_0x520d67(0x411)](',')[_0x520d67(0x232)](_0x354829=>_0x354829[_0x520d67(0x1d6)]())['filter'](Boolean);}[a0_0x14993a(0x334)](){const _0x4e8bf1=a0_0x14993a;return this[_0x4e8bf1(0x369)][_0x4e8bf1(0x238)];}[a0_0x14993a(0x3cf)](_0x266e68){return this['getAllFieldsArray']()['includes'](_0x266e68);}['hasTableName'](){return Boolean(this['_raw']['tableName']);}[a0_0x14993a(0x3f4)](){const _0x3fdcc3=a0_0x14993a;return Boolean(this[_0x3fdcc3(0x369)][_0x3fdcc3(0x386)]);}[a0_0x14993a(0x34d)](){const _0x17223f=a0_0x14993a;return Boolean(this[_0x17223f(0x369)][_0x17223f(0x3fc)]?.[_0x17223f(0x2ba)]);}['hasCreateTimeField'](){const _0x39a226=a0_0x14993a;return Boolean(this[_0x39a226(0x369)]['createTimeField']?.[_0x39a226(0x2ba)]);}[a0_0x14993a(0x37c)](){const _0x8ace43=a0_0x14993a;return Boolean(this[_0x8ace43(0x369)][_0x8ace43(0x360)]?.[_0x8ace43(0x2ba)]);}[a0_0x14993a(0x41e)](){const _0x144c4d=a0_0x14993a;return Boolean(this['_raw'][_0x144c4d(0x315)]?.[_0x144c4d(0x2ba)]);}[a0_0x14993a(0x21c)](){const _0x2e8ccd=a0_0x14993a;return Boolean(this[_0x2e8ccd(0x369)][_0x2e8ccd(0x370)]?.[_0x2e8ccd(0x2ba)]);}[a0_0x14993a(0x2d5)](_0x1e0424){const _0x26526e=a0_0x14993a;return this[_0x26526e(0x369)][_0x26526e(0x209)]===_0x1e0424;}['isSystemField'](_0x16db76){const _0x3ad57a=a0_0x14993a;return this[_0x3ad57a(0x2d5)](_0x16db76)||this[_0x3ad57a(0x369)][_0x3ad57a(0x3fc)]?.[_0x3ad57a(0x2ba)]===_0x16db76||this[_0x3ad57a(0x369)]['createTimeField']?.['fieldName']===_0x16db76||this[_0x3ad57a(0x369)][_0x3ad57a(0x360)]?.[_0x3ad57a(0x2ba)]===_0x16db76||this[_0x3ad57a(0x369)]['creatorIdField']?.[_0x3ad57a(0x2ba)]===_0x16db76||this['_raw'][_0x3ad57a(0x2e3)]?.[_0x3ad57a(0x2ba)]===_0x16db76||this[_0x3ad57a(0x369)][_0x3ad57a(0x370)]?.['fieldName']===_0x16db76||this['_raw'][_0x3ad57a(0x3fb)]?.[_0x3ad57a(0x2ba)]===_0x16db76;}[a0_0x14993a(0x2ce)](){const _0x23cb35=a0_0x14993a;return this[_0x23cb35(0x369)][_0x23cb35(0x386)]?.[_0x23cb35(0x3ea)];}[a0_0x14993a(0x2a7)](){const _0x4ea703=a0_0x14993a;return this[_0x4ea703(0x369)][_0x4ea703(0x386)]?.[_0x4ea703(0x237)];}[a0_0x14993a(0x1f7)](){const _0xff0980=a0_0x14993a;return this[_0xff0980(0x369)][_0xff0980(0x386)]?.[_0xff0980(0x403)];}['getTenantCode'](){const _0x121434=a0_0x14993a;return this['_raw'][_0x121434(0x386)]?.[_0x121434(0x36e)];}['getAppCode'](){const _0x4d33fa=a0_0x14993a;return this[_0x4d33fa(0x369)]['dblinkInfoDTO']?.[_0x4d33fa(0x1a9)];}[a0_0x14993a(0x3fa)](){const _0x30ab5e=a0_0x14993a;return this[_0x30ab5e(0x369)]['dblinkInfoDTO']?.[_0x30ab5e(0x425)];}[a0_0x14993a(0x212)](){const _0x57c02e=a0_0x14993a;return{'hasTableName':this['hasTableName'](),'hasDblinkInfo':this[_0x57c02e(0x3f4)](),'fieldCount':this['getAllFieldsArray']()[_0x57c02e(0x25a)],'systemFields':{'hasLogicField':this[_0x57c02e(0x34d)](),'hasCreateTimeField':this[_0x57c02e(0x270)](),'hasUpdateTimeField':this[_0x57c02e(0x37c)](),'hasCreatorIdField':this[_0x57c02e(0x41e)](),'hasModifierIdField':this[_0x57c02e(0x21c)]()}};}[a0_0x14993a(0x23d)](){const _0x5485b6=a0_0x14993a,_0x34b6e8={};return _0x34b6e8[_0x5485b6(0x1d7)]=this[_0x5485b6(0x1d7)],_0x34b6e8[_0x5485b6(0x209)]=this['pkField'],_0x34b6e8['datasetKey']=this['datasetKey'],_0x34b6e8[_0x5485b6(0x2ef)]=this[_0x5485b6(0x2ef)],_0x34b6e8;}[a0_0x14993a(0x30a)](){const _0x1a3400=a0_0x14993a,_0xe87b17={...this[_0x1a3400(0x369)]};return _0xe87b17;}['getRaw'](){const _0x51d9fa=a0_0x14993a,_0x3e7c82={...this[_0x51d9fa(0x369)]};return _0x3e7c82;}[a0_0x14993a(0x1c0)](){const _0x35ce2a=a0_0x14993a,_0x2328fc=this[_0x35ce2a(0x1d7)]||_0x35ce2a(0x3e0),_0xd97fdc=this[_0x35ce2a(0x32d)]()[_0x35ce2a(0x25a)];return _0x35ce2a(0x2da)+_0x2328fc+_0x35ce2a(0x2f7)+_0xd97fdc+')';}static[a0_0x14993a(0x272)](){return new DbtableConfig({});}}class DatasetItem{['_raw'];constructor(_0x7c608e){const _0x293313=a0_0x14993a,_0x4a5055=_0x7c608e['datasetCode']||_0x7c608e[_0x293313(0x40a)]||_0x7c608e[_0x293313(0x457)],_0x329a8c={..._0x7c608e};_0x329a8c['datasetCode']=_0x4a5055,this[_0x293313(0x369)]=_0x329a8c;}get['id'](){return this['_raw']['id'];}get[a0_0x14993a(0x1f6)](){const _0x2770a2=a0_0x14993a;return this[_0x2770a2(0x369)][_0x2770a2(0x1f6)];}[a0_0x14993a(0x292)](){const _0x10876c=a0_0x14993a;return this[_0x10876c(0x1f6)];}get[a0_0x14993a(0x452)](){const _0x501a07=a0_0x14993a;return this[_0x501a07(0x369)]['datasetCode']||'';}get[a0_0x14993a(0x2c3)](){const _0x20c08b=a0_0x14993a;if(!this[_0x20c08b(0x369)][_0x20c08b(0x2c3)])return null;return new DbtableConfig(this[_0x20c08b(0x369)]['dbtableConfig']);}[a0_0x14993a(0x328)](){const _0x205988=a0_0x14993a;return this[_0x205988(0x369)][_0x205988(0x2c3)];}[a0_0x14993a(0x2c1)](){const _0xaf273b=a0_0x14993a;return this[_0xaf273b(0x2c3)]?.[_0xaf273b(0x3ea)]||'';}['getTableName'](){const _0x2d2a0e=a0_0x14993a;return getTableName(this[_0x2d2a0e(0x369)]);}['getTableKey'](){const _0x10dc24=a0_0x14993a;return getTableKey(this[_0x10dc24(0x289)]());}[a0_0x14993a(0x29f)](){const _0xff973a=a0_0x14993a;return generateModelKeyFromCode(this[_0xff973a(0x452)]);}[a0_0x14993a(0x263)](){const _0x5e00a7=a0_0x14993a;return isVirtualTableName(this[_0x5e00a7(0x289)]());}['getModelName'](){const _0x3a6229=a0_0x14993a;return getTableKey(this[_0x3a6229(0x289)]());}['toConfig'](){const _0x26eab6=a0_0x14993a,_0x48ac2b=getTableKey(this['getTableName']());return{'key':_0x48ac2b,'alias':_0x48ac2b,'tableName':this[_0x26eab6(0x289)](),'datasetCode':this['datasetCode'],'name':this[_0x26eab6(0x1f6)]};}[a0_0x14993a(0x30a)](){const _0x132631=a0_0x14993a,_0x17141e={...this['_raw']};return _0x17141e[_0x132631(0x452)]=this[_0x132631(0x452)],_0x17141e;}[a0_0x14993a(0x24b)](){const _0x4b7d09=a0_0x14993a,_0x11ce4e={...this[_0x4b7d09(0x369)]};return _0x11ce4e;}['hasDbtableConfig'](){const _0x5f13fd=a0_0x14993a,_0x1f4560=this[_0x5f13fd(0x2c3)];return _0x1f4560!==null&&_0x1f4560[_0x5f13fd(0x2de)]();}[a0_0x14993a(0x2a3)](_0x1b89b2){return this['_raw'][_0x1b89b2];}[a0_0x14993a(0x464)](_0x12ec50){const _0x48c38b=a0_0x14993a;return _0x12ec50 in this[_0x48c38b(0x369)];}[a0_0x14993a(0x1c0)](){const _0x50cb8c=a0_0x14993a;return _0x50cb8c(0x291)+this[_0x50cb8c(0x1f6)]+',\x20'+this[_0x50cb8c(0x452)]+')';}}class Operation{[a0_0x14993a(0x1f6)];[a0_0x14993a(0x369)];['context'];constructor(_0x9cd35c,_0x15be02,_0x4f74c1){const _0x4afdbc=a0_0x14993a;this[_0x4afdbc(0x1f6)]=_0x9cd35c,this[_0x4afdbc(0x369)]=_0x15be02,this[_0x4afdbc(0x1fc)]=_0x4f74c1;}[a0_0x14993a(0x292)](){const _0x510b2c=a0_0x14993a;return this[_0x510b2c(0x1f6)];}[a0_0x14993a(0x2ca)](){const _0x504170=a0_0x14993a;return OPERATION_TYPE_DISPLAY_NAME[this[_0x504170(0x1f6)]]||this[_0x504170(0x1f6)];}[a0_0x14993a(0x36b)](){return parseOperationType(this['name']);}[a0_0x14993a(0x2dd)](){const _0x1168a2=a0_0x14993a;return this[_0x1168a2(0x369)]!==null&&this[_0x1168a2(0x369)]!==![];}[a0_0x14993a(0x1d5)](){const _0x1d7299=a0_0x14993a,_0x489de2=this['_raw'];if(_0x489de2===![]||_0x489de2===null)return'';return _0x489de2[_0x1d7299(0x294)]||_0x1d7299(0x402);}[a0_0x14993a(0x25b)](){const _0x4b7df2=a0_0x14993a,_0x436d26=this[_0x4b7df2(0x369)];if(_0x436d26===![]||_0x436d26===null)return'';return _0x436d26[_0x4b7df2(0x1e0)]||'';}[a0_0x14993a(0x1ee)](){const _0x30c540=a0_0x14993a,_0x1cffa0=this['_raw'];let _0x433da9='';_0x1cffa0!==![]&&_0x1cffa0!==null&&_0x1cffa0['host']&&(_0x433da9=_0x1cffa0['host']);const _0x7d189=this[_0x30c540(0x25b)]();return _0x433da9&&_0x7d189?''+_0x433da9+_0x7d189:_0x7d189;}[a0_0x14993a(0x1f1)](){const _0x571ceb=a0_0x14993a,_0x543a68=this[_0x571ceb(0x369)];if(_0x543a68===![]||_0x543a68===null||!_0x543a68[_0x571ceb(0x20e)])return{};try{return JSON[_0x571ceb(0x1b1)](_0x543a68[_0x571ceb(0x20e)]);}catch{return{};}}['parseRawResponseBody'](){const _0x52371c=a0_0x14993a,_0x48c3ec=this[_0x52371c(0x369)];if(_0x48c3ec===![]||_0x48c3ec===null||!_0x48c3ec['responseBody'])return null;return parseResponseBody(_0x48c3ec[_0x52371c(0x261)]);}[a0_0x14993a(0x246)](){const _0xf0297c=a0_0x14993a;return this[_0xf0297c(0x1f1)]();}[a0_0x14993a(0x2ee)](){const _0x202e5a=a0_0x14993a;return this[_0x202e5a(0x371)]();}['getRequestFields'](){const _0x191f55=a0_0x14993a,_0x40502b=this[_0x191f55(0x246)]();return Object[_0x191f55(0x251)](_0x40502b);}[a0_0x14993a(0x2a4)](){const _0x43e2a8=a0_0x14993a,_0x4b6efe=this[_0x43e2a8(0x246)](),_0x555e87={};return Object['entries'](_0x4b6efe)['forEach'](([_0x469433,_0x5977c8])=>{const _0x51d4fb=_0x43e2a8,_0x3f8927=_0x5977c8;_0x555e87[_0x469433]=generateExampleValue(_0x469433,_0x3f8927[_0x51d4fb(0x1be)]||'String',undefined,{'description':_0x3f8927[_0x51d4fb(0x226)]});}),_0x555e87;}[a0_0x14993a(0x44b)](){const _0x3a60cb=a0_0x14993a;return this[_0x3a60cb(0x2a4)]();}['generateRequestAllExamples'](){const _0x43445c=a0_0x14993a;return[{'title':_0x43445c(0x206),'data':this[_0x43445c(0x2a4)]()}];}[a0_0x14993a(0x214)](){const _0x1d37d2=a0_0x14993a,_0xfe493=this[_0x1d37d2(0x371)]();if(!_0xfe493){const _0x28532b={};return _0x28532b['success']=!![],_0x28532b['msg']=_0x1d37d2(0x3fd),_0x28532b[_0x1d37d2(0x20f)]='',_0x28532b[_0x1d37d2(0x235)]='0000',_0x28532b[_0x1d37d2(0x3d9)]=null,_0x28532b;}return this['generateFromSchema'](_0xfe493);}[a0_0x14993a(0x34b)](_0x2ab48a){const _0x410ab3=a0_0x14993a;if(!_0x2ab48a||typeof _0x2ab48a!==_0x410ab3(0x26f))return{};if(Array[_0x410ab3(0x3a3)](_0x2ab48a))return _0x2ab48a[_0x410ab3(0x25a)]>0x0?[this['generateFromSchema'](_0x2ab48a[0x0])]:[];const _0xa70516={};for(const [_0x465a00,_0x76952d]of Object[_0x410ab3(0x353)](_0x2ab48a)){if(_0x76952d&&typeof _0x76952d===_0x410ab3(0x26f)&&!Array['isArray'](_0x76952d)){const _0x19ed6c=_0x76952d;_0xa70516[_0x465a00]=generateExampleValue(_0x465a00,_0x19ed6c[_0x410ab3(0x1be)]||_0x410ab3(0x316),undefined,{'description':_0x19ed6c[_0x410ab3(0x226)]});}else Array[_0x410ab3(0x3a3)](_0x76952d)?_0xa70516[_0x465a00]=_0x76952d[_0x410ab3(0x25a)]>0x0?[this[_0x410ab3(0x34b)](_0x76952d[0x0])]:[]:_0xa70516[_0x465a00]=_0x76952d;}return _0xa70516;}[a0_0x14993a(0x3d2)](_0x33da25,_0x1432d2,_0x5a92f7,_0x43fb4c){return generateExampleValue(_0x33da25,_0x1432d2,_0x5a92f7,_0x43fb4c);}[a0_0x14993a(0x211)](_0x2a1104,_0x4f2f6b){const _0x176c4f=a0_0x14993a,_0xd5acac=this[_0x176c4f(0x292)]();return _0x176c4f(0x451)+_0x2a1104+'.'+_0xd5acac+'();';}[a0_0x14993a(0x22e)](_0x5c0e1a){const _0x5825ac=a0_0x14993a,_0x57eb1f=this['getName'](),_0x381175=_0x5c0e1a||_0x5825ac(0x326),_0x3ac689={};return _0x3ac689[_0x5825ac(0x1d0)]=_0x5825ac(0x31f)+_0x381175+'.'+_0x57eb1f+_0x5825ac(0x2a6),_0x3ac689[_0x5825ac(0x235)]=_0x5825ac(0x439)+_0x381175+'.'+_0x57eb1f+_0x5825ac(0x34a),_0x3ac689;}[a0_0x14993a(0x2ab)](){const _0x44c541=a0_0x14993a,_0x8f2110=this[_0x44c541(0x246)](),_0x143862=Object[_0x44c541(0x353)](_0x8f2110)['map'](([_0x235178,_0x481506])=>{const _0x20ff7e=_0x44c541,_0x8ba857=_0x481506,_0x1ead30={};return _0x1ead30['name']=_0x235178,_0x1ead30[_0x20ff7e(0x1be)]=_0x8ba857[_0x20ff7e(0x1be)]||_0x20ff7e(0x316),_0x1ead30[_0x20ff7e(0x226)]=_0x8ba857[_0x20ff7e(0x226)]||'-',_0x1ead30['required']=_0x8ba857[_0x20ff7e(0x213)],_0x1ead30;}),_0x3f8aeb={};return _0x3f8aeb[_0x44c541(0x321)]=_0x143862,_0x3f8aeb;}[a0_0x14993a(0x2bf)](){const _0x2498d4=a0_0x14993a,_0x1b74f2=this['parseRawResponseBody']();if(!_0x1b74f2){const _0xe308d6={};return _0xe308d6[_0x2498d4(0x321)]=[],_0xe308d6;}const _0x3aad74=Object[_0x2498d4(0x353)](_0x1b74f2)[_0x2498d4(0x232)](([_0x382863,_0x23c38a])=>{const _0x10985c=_0x2498d4,_0x342c6d=_0x23c38a,_0x35e98a={};return _0x35e98a[_0x10985c(0x1f6)]=_0x382863,_0x35e98a[_0x10985c(0x1be)]=_0x342c6d['type']||_0x10985c(0x316),_0x35e98a[_0x10985c(0x226)]=_0x342c6d[_0x10985c(0x226)]||'-',_0x35e98a;}),_0x12af0a={};return _0x12af0a['params']=_0x3aad74,_0x12af0a;}[a0_0x14993a(0x3bf)](){return[];}[a0_0x14993a(0x28b)](){const _0x4bd3d8=a0_0x14993a;return this['context'][_0x4bd3d8(0x26a)]||[];}['getAllParams'](){const _0xbeefe6=a0_0x14993a;return{'systemFields':this[_0xbeefe6(0x3bf)](),'businessFields':this[_0xbeefe6(0x28b)]()};}[a0_0x14993a(0x260)](_0x363a72){const _0x269f27=a0_0x14993a;return this['context'][_0x269f27(0x26a)][_0x269f27(0x2b3)](_0x5ba330=>_0x5ba330?.[_0x269f27(0x40a)]===_0x363a72);}[a0_0x14993a(0x3c8)](_0x2fbffb){const _0x5dfda9=a0_0x14993a;return _0x2fbffb[_0x5dfda9(0x40a)];}['getFieldType'](_0x31cf23){const _0x117380=a0_0x14993a;return _0x31cf23[_0x117380(0x1be)];}[a0_0x14993a(0x2d6)](_0x5e3b55){const _0x7030a0=a0_0x14993a;return _0x5e3b55[_0x7030a0(0x1f6)];}[a0_0x14993a(0x387)](_0x506e73){return _0x506e73['description'];}[a0_0x14993a(0x2d4)](_0x25420e){const _0x48e15f=a0_0x14993a;return _0x25420e[_0x48e15f(0x252)]()||null;}[a0_0x14993a(0x318)](_0x1b442f){const _0x8a8c09=a0_0x14993a;return _0x1b442f[_0x8a8c09(0x216)]();}[a0_0x14993a(0x204)](){return[];}[a0_0x14993a(0x33d)](_0x5c5814){return[];}[a0_0x14993a(0x30a)](){const _0x388d28=a0_0x14993a;return{'name':this[_0x388d28(0x292)](),'displayName':this[_0x388d28(0x2ca)](),'type':this['getType'](),'enabled':this[_0x388d28(0x2dd)](),'method':this['getMethod'](),'path':this[_0x388d28(0x25b)](),'fullUrl':this['getFullUrl'](),'requestParams':this[_0x388d28(0x246)](),'requestExample':this[_0x388d28(0x2a4)](),'responseExample':this[_0x388d28(0x214)]()};}['toString'](){const _0x315256=a0_0x14993a,_0x4e3c7c=this[_0x315256(0x2dd)]()?'启用':'禁用';return this[_0x315256(0x2ca)]()+'('+this[_0x315256(0x1f6)]+',\x20'+_0x4e3c7c+')';}}class GenericOperation extends Operation{[a0_0x14993a(0x2e1)];[a0_0x14993a(0x246)](){const _0xe506df=a0_0x14993a;return this[_0xe506df(0x1f1)]();}[a0_0x14993a(0x2ee)](){const _0x754e60=a0_0x14993a;return this[_0x754e60(0x371)]();}[a0_0x14993a(0x2a4)](){const _0x4e3a9e=a0_0x14993a;if(this['_requestExampleCache'])return this[_0x4e3a9e(0x2e1)];const _0x3f9639={},_0x130d69=this[_0x4e3a9e(0x246)](),_0x497841=this[_0x4e3a9e(0x36b)]();if(Object[_0x4e3a9e(0x251)](_0x130d69)['length']===0x0&&_0x497841){const _0x34c070=this[_0x4e3a9e(0x28b)]();return _0x34c070[_0x4e3a9e(0x2db)](_0x23c09d=>{const _0x71988d=_0x4e3a9e,_0x13b0a0=_0x23c09d['code'],_0x6753d2=_0x23c09d['type'],_0xc7a778=this[_0x71988d(0x3d2)](_0x13b0a0,_0x6753d2,_0x23c09d[_0x71988d(0x444)](),{'isPrimaryKey':_0x23c09d[_0x71988d(0x216)](),'description':_0x23c09d[_0x71988d(0x226)]||_0x23c09d[_0x71988d(0x1f6)]});_0x3f9639[_0x13b0a0]=_0xc7a778;}),this[_0x4e3a9e(0x2e1)]=_0x3f9639,_0x3f9639;}return Object[_0x4e3a9e(0x353)](_0x130d69)[_0x4e3a9e(0x2db)](([_0x91683e,_0x2a1c3f])=>{const _0x2efec2=_0x4e3a9e,_0x2f4183=_0x2a1c3f;let _0x419d68;if(typeof _0x2f4183['type']===_0x2efec2(0x31b))_0x419d68=_0x2f4183['type'];else _0x2f4183[_0x2efec2(0x1be)]&&typeof _0x2f4183[_0x2efec2(0x1be)]===_0x2efec2(0x26f)?_0x419d68=_0x2f4183[_0x2efec2(0x1be)]['type']||_0x2efec2(0x230):_0x419d68='TEXT';const _0x216bdb=_0x2f4183[_0x2efec2(0x226)],_0x2859f4=this['getFieldDefinition'](_0x91683e);if(_0x91683e==='currentPage')_0x3f9639[_0x91683e]=0x1;else{if(_0x91683e===_0x2efec2(0x254))_0x3f9639[_0x91683e]=0xa;else{if(_0x91683e==='id')_0x3f9639[_0x91683e]=0x1;else{const _0x359dfb=_0x2859f4?_0x2859f4['getDbTypeForOperation']():undefined,_0x209b33=_0x2859f4?_0x2859f4[_0x2efec2(0x226)]:undefined,_0x53c3d5=_0x2859f4?_0x2859f4[_0x2efec2(0x1f6)]:undefined;_0x3f9639[_0x91683e]=this[_0x2efec2(0x3d2)](_0x91683e,_0x419d68,_0x359dfb||undefined,{'isPrimaryKey':_0x91683e===this[_0x2efec2(0x1fc)]['pkField']||_0x91683e==='id','description':_0x216bdb||_0x209b33||_0x53c3d5});}}}}),this['_requestExampleCache']=_0x3f9639,_0x3f9639;}[a0_0x14993a(0x214)](){const _0x44f58c=a0_0x14993a,_0xb3104a=this[_0x44f58c(0x2ee)]();if(!_0xb3104a){const _0x9ace8b={};return _0x9ace8b[_0x44f58c(0x259)]=!![],_0x9ace8b[_0x44f58c(0x417)]=_0x44f58c(0x3fd),_0x9ace8b[_0x44f58c(0x20f)]='',_0x9ace8b[_0x44f58c(0x235)]='0000',_0x9ace8b['data']=null,_0x9ace8b;}return this[_0x44f58c(0x34b)](_0xb3104a);}[a0_0x14993a(0x34b)](_0x53c466){const _0x5abb86=a0_0x14993a;if(!_0x53c466||typeof _0x53c466!==_0x5abb86(0x26f))return{};if(Array['isArray'](_0x53c466)){if(_0x53c466[_0x5abb86(0x25a)]>0x0)return[this['generateFromSchema'](_0x53c466[0x0])];return[];}const _0x542f6f={};return Object[_0x5abb86(0x251)](_0x53c466)[_0x5abb86(0x2db)](_0x5aa018=>{const _0x1f9687=_0x5abb86,_0x95a040=_0x53c466[_0x5aa018];if(_0x95a040&&typeof _0x95a040===_0x1f9687(0x26f)&&!Array[_0x1f9687(0x3a3)](_0x95a040)&&_0x95a040[_0x1f9687(0x1be)]){const _0x436606=_0x95a040;let _0x421329;if(typeof _0x436606[_0x1f9687(0x1be)]==='string')_0x421329=_0x436606['type'];else _0x436606['type']&&typeof _0x436606[_0x1f9687(0x1be)]===_0x1f9687(0x26f)?_0x421329=_0x436606[_0x1f9687(0x1be)][_0x1f9687(0x1be)]||_0x1f9687(0x230):_0x421329='TEXT';const _0x1e23c5=_0x436606['description'],_0x3e9526={};_0x3e9526['description']=_0x1e23c5,_0x542f6f[_0x5aa018]=this[_0x1f9687(0x3d2)](_0x5aa018,_0x421329,undefined,_0x3e9526);}else{if(Array[_0x1f9687(0x3a3)](_0x95a040))_0x542f6f[_0x5aa018]=_0x95a040[_0x1f9687(0x25a)]>0x0?[this['generateFromSchema'](_0x95a040[0x0])]:[];else _0x95a040&&typeof _0x95a040===_0x1f9687(0x26f)?_0x542f6f[_0x5aa018]=this[_0x1f9687(0x34b)](_0x95a040):_0x542f6f[_0x5aa018]=_0x95a040;}}),_0x542f6f;}['generateSDKCallCode'](_0x661a85,_0x778789){const _0x205ca3=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x778789||{},_0x39a46e=this['getName'](),_0x20e4de=this[_0x205ca3(0x36b)](),_0x861f7b=this['getRequestFields'](),_0x33f702=this['generateRequestExample'](),_0x389815=_0x2a28b7=>{const _0x3776d4=_0x205ca3;if(Object[_0x3776d4(0x251)](_0x2a28b7)[_0x3776d4(0x25a)]===0x0)return'{}';const _0x1160a1=JSON[_0x3776d4(0x1aa)](_0x2a28b7,null,0x2)[_0x3776d4(0x411)]('\x0a')[_0x3776d4(0x232)]((_0x3b8d41,_0x17e6f)=>_0x17e6f===0x0?_0x3b8d41:indent+_0x3b8d41)[_0x3776d4(0x409)]('\x0a');return _0x1160a1;};switch(_0x20e4de){case _0x205ca3(0x2a5):case _0x205ca3(0x456):return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+'(id);';case _0x205ca3(0x37d):if(useFullExample&&Object[_0x205ca3(0x251)](_0x33f702)[_0x205ca3(0x25a)]>0x0)return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+_0x205ca3(0x42a)+_0x389815(_0x33f702)+');';return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+'(id,\x20data);';case _0x205ca3(0x23f):case _0x205ca3(0x1bf):case _0x205ca3(0x3ab):default:if(_0x861f7b['length']>0x0){if(useFullExample&&Object[_0x205ca3(0x251)](_0x33f702)[_0x205ca3(0x25a)]>0x0)return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+'('+_0x389815(_0x33f702)+');';else{const _0x2a0efd=Object['keys'](_0x33f702);if(_0x2a0efd['length']>0x0){const _0x6647c4=_0x2a0efd[_0x205ca3(0x3bc)](0x0,0x2)[_0x205ca3(0x409)](',\x20');return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+_0x205ca3(0x377)+_0x6647c4+_0x205ca3(0x28a);}else return _0x205ca3(0x451)+_0x661a85+'.'+_0x39a46e+_0x205ca3(0x277);}}else return'const\x20result\x20=\x20await\x20client.models.'+_0x661a85+'.'+_0x39a46e+_0x205ca3(0x2a6);}}[a0_0x14993a(0x25d)](){const _0x250544=a0_0x14993a;return[{'title':_0x250544(0x206),'data':this[_0x250544(0x2a4)]()}];}[a0_0x14993a(0x3bf)](){const _0x292af2=a0_0x14993a,_0x36a696=this[_0x292af2(0x36b)](),_0xb7cabe=[];switch(_0x36a696){case _0x292af2(0x2a5):case _0x292af2(0x456):const _0x76b2e8={};_0x76b2e8[_0x292af2(0x40a)]='id',_0x76b2e8[_0x292af2(0x1be)]=_0x292af2(0x1b2),_0x76b2e8[_0x292af2(0x226)]=_0x292af2(0x239),_0xb7cabe[_0x292af2(0x2dc)](_0x76b2e8);break;case _0x292af2(0x1bf):const _0x4b9da1={};_0x4b9da1[_0x292af2(0x40a)]=_0x292af2(0x267),_0x4b9da1['type']=_0x292af2(0x1b2),_0x4b9da1[_0x292af2(0x226)]=_0x292af2(0x1ba);const _0x3c5332={};_0x3c5332[_0x292af2(0x40a)]=_0x292af2(0x254),_0x3c5332['type']='NUMBER',_0x3c5332[_0x292af2(0x226)]=_0x292af2(0x2f5),_0xb7cabe[_0x292af2(0x2dc)](_0x4b9da1,_0x3c5332);break;case _0x292af2(0x3ab):const _0x36469f={};_0x36469f['code']=_0x292af2(0x40a),_0x36469f[_0x292af2(0x1be)]=_0x292af2(0x346),_0x36469f[_0x292af2(0x226)]=_0x292af2(0x414),_0xb7cabe[_0x292af2(0x2dc)](_0x36469f);break;default:break;}return _0xb7cabe;}[a0_0x14993a(0x28b)](){const _0x4d59d6=a0_0x14993a,_0x5e695a=this[_0x4d59d6(0x36b)](),_0x4dfd39=this[_0x4d59d6(0x1fc)]['fields']||[];switch(_0x5e695a){case _0x4d59d6(0x2a5):case _0x4d59d6(0x456):return[];case _0x4d59d6(0x23f):case'batchCreate':return _0x4dfd39[_0x4d59d6(0x364)](_0x23e0ad=>{const _0x290a14=_0x4d59d6;if(_0x23e0ad['deleted'])return![];if(_0x23e0ad[_0x290a14(0x216)]()&&_0x23e0ad['isAutoIncrement']())return![];if(_0x23e0ad[_0x290a14(0x3e1)]())return![];if(_0x23e0ad[_0x290a14(0x388)]()||_0x23e0ad[_0x290a14(0x43f)]())return![];return!![];});case _0x4d59d6(0x37d):return _0x4dfd39['filter'](_0xcfe97=>{const _0x43cc55=_0x4d59d6;if(_0xcfe97[_0x43cc55(0x2fb)])return![];if(_0xcfe97[_0x43cc55(0x216)]())return![];if(_0xcfe97['isSystem']())return![];if(_0xcfe97['isCreateTime']()||_0xcfe97[_0x43cc55(0x43f)]())return![];if(_0xcfe97[_0x43cc55(0x45a)]())return![];return!![];});case _0x4d59d6(0x1bf):case _0x4d59d6(0x3ab):return _0x4dfd39[_0x4d59d6(0x364)](_0x1606ab=>!_0x1606ab['deleted']&&_0x1606ab['isBusiness']());default:return _0x4dfd39['filter'](_0x12de4b=>!_0x12de4b['deleted']&&_0x12de4b[_0x4d59d6(0x2cd)]());}}}class GetSelectOptionsOperation extends GenericOperation{[a0_0x14993a(0x246)](){const _0x497a64=a0_0x14993a,_0x250833=super[_0x497a64(0x246)](),_0x3ee843=Object[_0x497a64(0x251)](_0x250833);if(_0x3ee843[_0x497a64(0x25a)]===0x0||_0x3ee843[_0x497a64(0x25a)]===0x1&&_0x3ee843[0x0]===_0x497a64(0x40a)){if(!_0x250833['code']){const _0x4c3af0={};_0x4c3af0[_0x497a64(0x1be)]='String',_0x4c3af0['description']=_0x497a64(0x3e6),_0x250833[_0x497a64(0x40a)]=_0x4c3af0;}const _0x2b2b7c={};_0x2b2b7c[_0x497a64(0x1be)]=_0x497a64(0x316),_0x2b2b7c['description']=_0x497a64(0x373),_0x250833['label']=_0x2b2b7c;}return _0x250833;}[a0_0x14993a(0x28b)](){return[];}['getSystemFields'](){const _0xccf14f=a0_0x14993a,_0x3bf697={};_0x3bf697[_0xccf14f(0x40a)]=_0xccf14f(0x40a),_0x3bf697[_0xccf14f(0x1be)]=_0xccf14f(0x316),_0x3bf697[_0xccf14f(0x226)]='字段编码';const _0x4e7e44={};return _0x4e7e44[_0xccf14f(0x40a)]=_0xccf14f(0x40c),_0x4e7e44[_0xccf14f(0x1be)]='String',_0x4e7e44[_0xccf14f(0x226)]=_0xccf14f(0x373),[_0x3bf697,_0x4e7e44];}[a0_0x14993a(0x2a4)](){const _0x52073b=a0_0x14993a,_0x3f68b8={};return _0x3f68b8[_0x52073b(0x40a)]='field_name',_0x3f68b8['label']='field_name',_0x3f68b8;}[a0_0x14993a(0x211)](_0x2ac918){const _0x5103c6=a0_0x14993a,_0x98e741=this[_0x5103c6(0x292)]();return _0x5103c6(0x451)+_0x2ac918+'.'+_0x98e741+_0x5103c6(0x1a6);}}class GetListOperation extends GenericOperation{['getRequestParams'](){const _0x57955e=a0_0x14993a,_0x340a00=super[_0x57955e(0x246)](),{currentPage:_0x3f774a,pageSize:_0x3ea494,..._0x124702}=_0x340a00,_0x1303c7={};Object[_0x57955e(0x353)](_0x124702)['forEach'](([_0x45689b,_0x5c2213])=>{const _0x24b002=_0x57955e;if(typeof _0x5c2213===_0x24b002(0x26f)&&_0x5c2213!==null){const _0x5d3732=_0x5c2213,_0x441ca2=_0x5d3732[_0x24b002(0x226)]||'',_0x28d665={..._0x5d3732};_0x28d665[_0x24b002(0x226)]=_0x441ca2?_0x441ca2+_0x24b002(0x312):_0x24b002(0x24c),_0x1303c7[_0x45689b]=_0x28d665;}else _0x1303c7[_0x45689b]=_0x5c2213;});const _0x57b90b={...typeof _0x3f774a==='object'?_0x3f774a:{}};_0x57b90b[_0x57955e(0x1be)]=_0x57955e(0x3f8),_0x57b90b[_0x57955e(0x226)]=_0x57955e(0x1ba);const _0x2ba1fe={...typeof _0x3ea494==='object'?_0x3ea494:{}};_0x2ba1fe[_0x57955e(0x1be)]=_0x57955e(0x3f8),_0x2ba1fe['description']=_0x57955e(0x30b);const _0xc97a35={..._0x1303c7};return _0xc97a35['currentPage']=_0x57b90b,_0xc97a35[_0x57955e(0x254)]=_0x2ba1fe,_0xc97a35;}[a0_0x14993a(0x2a4)](_0x26d476){const _0x39e0e6=a0_0x14993a,{useArrayValues:useArrayValues=!![]}=_0x26d476||{},_0x50462e=super['generateRequestExample'](),{currentPage:_0x33302a,pageSize:_0x538c6f,..._0xa6b778}=_0x50462e;if(!useArrayValues){const _0x1eedba={..._0xa6b778};return _0x1eedba[_0x39e0e6(0x267)]=_0x33302a??0x1,_0x1eedba[_0x39e0e6(0x254)]=_0x538c6f??0xa,_0x1eedba;}const _0x1c72d8={},_0x3b620c=['id',_0x39e0e6(0x308),_0x39e0e6(0x40a),_0x39e0e6(0x1be)];Object[_0x39e0e6(0x353)](_0xa6b778)[_0x39e0e6(0x2db)](([_0x119c01,_0x431daf],_0x1b2aba)=>{const _0x3b74ea=_0x39e0e6,_0x46a51d=_0x3b620c[_0x3b74ea(0x300)](_0x1c0dd0=>_0x119c01[_0x3b74ea(0x37e)]()[_0x3b74ea(0x32f)](_0x1c0dd0))||_0x1b2aba%0x3===0x0;if(_0x46a51d&&_0x431daf!==null&&_0x431daf!==undefined){if(typeof _0x431daf===_0x3b74ea(0x378))_0x1c72d8[_0x119c01]=[_0x431daf,_0x431daf+0x1,_0x431daf+0x2];else typeof _0x431daf===_0x3b74ea(0x31b)?_0x1c72d8[_0x119c01]=[_0x431daf,_0x431daf+'_2',_0x431daf+'_3']:_0x1c72d8[_0x119c01]=[_0x431daf];}else _0x1c72d8[_0x119c01]=_0x431daf;});const _0x4b2c70={..._0x1c72d8};return _0x4b2c70['currentPage']=_0x33302a??0x1,_0x4b2c70['pageSize']=_0x538c6f??0xa,_0x4b2c70;}[a0_0x14993a(0x3f5)](){const _0x544dcb=a0_0x14993a,_0x102c46={};return _0x102c46[_0x544dcb(0x32b)]=![],this['generateRequestExample'](_0x102c46);}[a0_0x14993a(0x25d)](){const _0x1991a1=a0_0x14993a;return[{'title':_0x1991a1(0x221),'description':_0x1991a1(0x406),'data':this[_0x1991a1(0x3f5)]()},{'title':_0x1991a1(0x225),'description':'支持多个条件','data':this[_0x1991a1(0x2a4)]()}];}[a0_0x14993a(0x211)](_0x3c6571,_0x429fbe){const _0x51a0ea=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x429fbe||{},_0x4e9d4c=this[_0x51a0ea(0x292)](),_0x7519c={};_0x7519c['useArrayValues']=!![];const _0x2112fc=this[_0x51a0ea(0x2a4)](_0x7519c),{currentPage:_0x28fe8d,pageSize:_0x2b2300,..._0xdde1c7}=_0x2112fc;if(useFullExample&&Object[_0x51a0ea(0x251)](_0x2112fc)[_0x51a0ea(0x25a)]>0x0){const _0x143fd4=Object[_0x51a0ea(0x251)](_0xdde1c7)['length']>0x0;if(_0x143fd4){const _0x4d0e22=this[_0x51a0ea(0x3f5)](),_0x50ca92=_0x28ec76=>{const _0x4afe3c=_0x51a0ea;return JSON[_0x4afe3c(0x1aa)](_0x28ec76,null,0x2)[_0x4afe3c(0x411)]('\x0a')[_0x4afe3c(0x232)]((_0x12c29c,_0x417e12)=>_0x417e12===0x0?_0x12c29c:indent+_0x12c29c)[_0x4afe3c(0x409)]('\x0a');};return _0x51a0ea(0x368)+_0x3c6571+'.'+_0x4e9d4c+'('+_0x50ca92(_0x4d0e22)+_0x51a0ea(0x339)+_0x3c6571+'.'+_0x4e9d4c+'('+_0x50ca92(_0x2112fc)+');';}else{const _0xa2febd=JSON['stringify'](_0x2112fc,null,0x2)[_0x51a0ea(0x411)]('\x0a')[_0x51a0ea(0x232)]((_0x5196a0,_0x119dad)=>_0x119dad===0x0?_0x5196a0:indent+_0x5196a0)['join']('\x0a');return _0x51a0ea(0x451)+_0x3c6571+'.'+_0x4e9d4c+'('+_0xa2febd+');';}}if(Object[_0x51a0ea(0x251)](_0xdde1c7)[_0x51a0ea(0x25a)]>0x0){const _0x488937=Object[_0x51a0ea(0x251)](_0xdde1c7)[0x0];return _0x51a0ea(0x451)+_0x3c6571+'.'+_0x4e9d4c+_0x51a0ea(0x377)+_0x488937+_0x51a0ea(0x340);}return'const\x20result\x20=\x20await\x20client.models.'+_0x3c6571+'.'+_0x4e9d4c+_0x51a0ea(0x222);}}var AGGREGATE_FUNCTIONS=['sum',a0_0x14993a(0x1cd),a0_0x14993a(0x45e),a0_0x14993a(0x296),a0_0x14993a(0x333)],FILTER_OPERATORS=[a0_0x14993a(0x40d),a0_0x14993a(0x1a7),a0_0x14993a(0x249),a0_0x14993a(0x2a2),a0_0x14993a(0x2d0),a0_0x14993a(0x275),a0_0x14993a(0x1cb),a0_0x14993a(0x3b3),a0_0x14993a(0x416),a0_0x14993a(0x37f),'$and',a0_0x14993a(0x404)];class FilterOperation extends GenericOperation{constructor(_0x5b504f,_0x3b9b9d,_0x291bff){super(_0x5b504f,_0x3b9b9d,_0x291bff);}[a0_0x14993a(0x204)](){return FILTER_OPERATORS;}[a0_0x14993a(0x33d)](_0x262bda){const _0x21c5a6=a0_0x14993a,_0x349709=this['getFieldDefinition'](_0x262bda);if(!_0x349709)return[];return this[_0x21c5a6(0x288)](_0x349709);}[a0_0x14993a(0x246)](){const _0x2f3170=a0_0x14993a,_0x52c583=super[_0x2f3170(0x246)](),_0x430152={};_0x430152[_0x2f3170(0x1be)]='Object',_0x430152[_0x2f3170(0x226)]='查询条件(支持\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)',_0x430152[_0x2f3170(0x213)]=![];const _0xf6e2c4={};_0xf6e2c4[_0x2f3170(0x1be)]=_0x2f3170(0x2f9),_0xf6e2c4[_0x2f3170(0x226)]=_0x2f3170(0x3eb),_0xf6e2c4[_0x2f3170(0x213)]=![];const _0x444b12={};_0x444b12[_0x2f3170(0x1be)]=_0x2f3170(0x28e),_0x444b12['description']=_0x2f3170(0x39a),_0x444b12['required']=![];const _0x379dba={};_0x379dba[_0x2f3170(0x1be)]=_0x2f3170(0x3f8),_0x379dba['description']='当前页码',_0x379dba[_0x2f3170(0x213)]=![],_0x379dba[_0x2f3170(0x343)]=0x1;const _0x953fee={};_0x953fee[_0x2f3170(0x1be)]='Number',_0x953fee[_0x2f3170(0x226)]=_0x2f3170(0x30b),_0x953fee[_0x2f3170(0x213)]=![],_0x953fee[_0x2f3170(0x343)]=0xa;const _0x28370f={..._0x52c583};return _0x28370f[_0x2f3170(0x3da)]=_0x430152,_0x28370f[_0x2f3170(0x410)]=_0xf6e2c4,_0x28370f[_0x2f3170(0x429)]=_0x444b12,_0x28370f[_0x2f3170(0x267)]=_0x379dba,_0x28370f[_0x2f3170(0x254)]=_0x953fee,_0x28370f;}[a0_0x14993a(0x3bf)](){const _0x38d43a=a0_0x14993a,_0xba5e7b=this[_0x38d43a(0x246)](),_0x48c93e=[],_0x17c340=[_0x38d43a(0x3da),'select',_0x38d43a(0x429),'currentPage',_0x38d43a(0x254)];return Object[_0x38d43a(0x353)](_0xba5e7b)[_0x38d43a(0x2db)](([_0x40546f,_0x572167])=>{const _0x10b967=_0x38d43a;if(_0x17c340['includes'](_0x40546f)){const _0x1149cb=_0x572167,_0x36e277={};_0x36e277[_0x10b967(0x40a)]=_0x40546f,_0x36e277['type']=_0x1149cb[_0x10b967(0x1be)]||_0x10b967(0x463),_0x36e277[_0x10b967(0x226)]=_0x1149cb[_0x10b967(0x226)]||'-',_0x48c93e[_0x10b967(0x2dc)](_0x36e277);}}),_0x48c93e;}['getBusinessFields'](){const _0x5bd910=a0_0x14993a;return this['context'][_0x5bd910(0x26a)]||[];}[a0_0x14993a(0x38a)](){const _0x26e1c4=a0_0x14993a;return{'systemParams':this[_0x26e1c4(0x3bf)](),'businessFields':this[_0x26e1c4(0x28b)]()};}[a0_0x14993a(0x2a4)](){const _0x5dcbf3=a0_0x14993a,_0x2f219e=this['context'][_0x5dcbf3(0x26a)]||[];if(_0x2f219e[_0x5dcbf3(0x25a)]===0x0){const _0x764723={};return _0x764723['where']={},_0x764723['currentPage']=0x1,_0x764723[_0x5dcbf3(0x254)]=0x14,_0x764723;}const _0x360243={},_0x41bca9=_0x2f219e[_0x5dcbf3(0x3bc)](0x0,Math[_0x5dcbf3(0x333)](0x3,_0x2f219e[_0x5dcbf3(0x25a)]));_0x41bca9[_0x5dcbf3(0x2db)](_0x49f8da=>{const _0x3c2f95=_0x5dcbf3,_0x50bba2=this['getApplicableOperators'](_0x49f8da);if(_0x50bba2['length']===0x0)return;const _0x583159=this[_0x3c2f95(0x324)](_0x49f8da,_0x50bba2),_0x4a83dd=this[_0x3c2f95(0x41b)](_0x49f8da,_0x583159),_0x5b91e6={};_0x5b91e6[_0x583159]=_0x4a83dd,_0x360243[_0x49f8da[_0x3c2f95(0x40a)]]=_0x5b91e6;});const _0x4c10a4=_0x2f219e[_0x5dcbf3(0x3bc)](0x0,Math['min'](0x5,_0x2f219e[_0x5dcbf3(0x25a)]))['map'](_0x401fd1=>_0x401fd1[_0x5dcbf3(0x40a)]),_0x5b2111=_0x2f219e[0x0]?_0x2f219e[0x0]['code']:'id',_0x11bbfd={};_0x11bbfd[_0x5b2111]=_0x5dcbf3(0x3ac);const _0x3d0efe={};return _0x3d0efe[_0x5dcbf3(0x3da)]=_0x360243,_0x3d0efe[_0x5dcbf3(0x410)]=_0x4c10a4,_0x3d0efe[_0x5dcbf3(0x429)]=[_0x11bbfd],_0x3d0efe[_0x5dcbf3(0x267)]=0x1,_0x3d0efe['pageSize']=0x14,_0x3d0efe;}[a0_0x14993a(0x211)](_0x36d19b,_0x333410){const _0x19c9e9=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x333410||{},_0x10f80f=this[_0x19c9e9(0x292)](),_0x2d57d0=this[_0x19c9e9(0x2a4)](),_0xaa6ace=_0x5b008c=>{const _0x143330=_0x19c9e9;return JSON[_0x143330(0x1aa)](_0x5b008c,null,0x2)[_0x143330(0x411)]('\x0a')[_0x143330(0x232)]((_0x171f0c,_0x2f3bbd)=>_0x2f3bbd===0x0?_0x171f0c:indent+_0x171f0c)[_0x143330(0x409)]('\x0a');};if(useFullExample){const _0x402a29=this[_0x19c9e9(0x1fc)][_0x19c9e9(0x26a)]||[],_0x3e840b={'where':_0x402a29[0x0]?{[_0x402a29[0x0][_0x19c9e9(0x40a)]]:{'$eq':this[_0x19c9e9(0x41b)](_0x402a29[0x0],_0x19c9e9(0x40d))}}:{},'select':_0x402a29[_0x19c9e9(0x3bc)](0x0,0x3)[_0x19c9e9(0x232)](_0x2395da=>_0x2395da[_0x19c9e9(0x40a)]),'currentPage':0x1,'pageSize':0x14};let _0x209983='';if(_0x402a29['length']>=0x3){const _0x2f1f57={};_0x2f1f57['$and']=[];const _0x5619e1=_0x2f1f57,_0x3cfbfa=[];if(_0x402a29[_0x19c9e9(0x25a)]>0x0){const _0x2f9f53=_0x402a29['find'](_0x386c8b=>{const _0x223f33=_0x19c9e9,_0x116cbd=_0x386c8b['getDbTypeForOperation']();return[_0x223f33(0x1b2),'INTEGER',_0x223f33(0x442),_0x223f33(0x2ad),_0x223f33(0x29c),'SMALLINT'][_0x223f33(0x32f)](_0x116cbd);});if(_0x2f9f53){const _0x542770={};_0x542770['$gte']=0x0,_0x542770[_0x19c9e9(0x2d0)]=0x64;const _0x917cd3={[_0x2f9f53[_0x19c9e9(0x40a)]]:_0x542770};_0x3cfbfa['push'](_0x917cd3);}}if(_0x402a29['length']>0x1){const _0x249854=_0x402a29['find'](_0x150df1=>{const _0x404924=_0x19c9e9,_0x2baab3=_0x150df1['getDbTypeForOperation']();return[_0x404924(0x346),_0x404924(0x230),_0x404924(0x427),_0x404924(0x28c),_0x404924(0x407)][_0x404924(0x32f)](_0x2baab3);});if(_0x249854){const _0x163ce3={};_0x163ce3[_0x19c9e9(0x3b3)]=_0x19c9e9(0x217);const _0x1498fb={[_0x249854[_0x19c9e9(0x40a)]]:_0x163ce3};_0x3cfbfa['push'](_0x1498fb);}}if(_0x3cfbfa[_0x19c9e9(0x25a)]>0x0){_0x5619e1[_0x19c9e9(0x391)]=_0x3cfbfa;const _0x6aa713={'where':_0x5619e1,'select':_0x402a29[_0x19c9e9(0x3bc)](0x0,0x4)['map'](_0x3a9d09=>_0x3a9d09[_0x19c9e9(0x40a)]),'orderBy':[{[_0x402a29[0x0][_0x19c9e9(0x40a)]]:_0x19c9e9(0x3ac)}],'currentPage':0x1,'pageSize':0x14};_0x209983=_0x19c9e9(0x420)+_0x36d19b+'.'+_0x10f80f+'('+_0xaa6ace(_0x6aa713)+');';}}return _0x19c9e9(0x2cc)+_0x36d19b+'.'+_0x10f80f+'('+_0xaa6ace(_0x3e840b)+');'+_0x209983;}const _0x2ae60b=JSON[_0x19c9e9(0x1aa)](_0x2d57d0,null,0x2)['split']('\x0a')['map']((_0x3230df,_0x2297b9)=>_0x2297b9===0x0?_0x3230df:indent+_0x3230df)[_0x19c9e9(0x409)]('\x0a');return _0x19c9e9(0x451)+_0x36d19b+'.'+_0x10f80f+'('+_0x2ae60b+');';}['getApplicableOperators'](_0x41976a){const _0x2bd221=a0_0x14993a,_0x5c5c46=_0x41976a[_0x2bd221(0x444)](),_0x4e75c3=[];if([_0x2bd221(0x1b2),'INTEGER','BIGINT','DECIMAL'][_0x2bd221(0x32f)](_0x5c5c46)||['INT',_0x2bd221(0x29c),'SMALLINT',_0x2bd221(0x361),_0x2bd221(0x434)]['includes'](_0x5c5c46))_0x4e75c3[_0x2bd221(0x2dc)](_0x2bd221(0x40d),_0x2bd221(0x1a7),_0x2bd221(0x249),_0x2bd221(0x2d0),_0x2bd221(0x2a2),_0x2bd221(0x275),'$in');else{if([_0x2bd221(0x346),_0x2bd221(0x230),_0x2bd221(0x427)][_0x2bd221(0x32f)](_0x5c5c46)||[_0x2bd221(0x28c),_0x2bd221(0x407)][_0x2bd221(0x32f)](_0x5c5c46))_0x4e75c3[_0x2bd221(0x2dc)]('$eq',_0x2bd221(0x1a7),'$in',_0x2bd221(0x3b3),_0x2bd221(0x416),_0x2bd221(0x37f));else{if([_0x2bd221(0x1a3),_0x2bd221(0x1f2),_0x2bd221(0x1fa)][_0x2bd221(0x32f)](_0x5c5c46)||[_0x2bd221(0x1ad)][_0x2bd221(0x32f)](_0x5c5c46))_0x4e75c3['push'](_0x2bd221(0x40d),'$ne','$gte',_0x2bd221(0x2d0),_0x2bd221(0x2a2),_0x2bd221(0x275));else[_0x2bd221(0x396),_0x2bd221(0x3a0),_0x2bd221(0x257)][_0x2bd221(0x32f)](_0x5c5c46)?_0x4e75c3[_0x2bd221(0x2dc)](_0x2bd221(0x40d),_0x2bd221(0x1a7)):_0x4e75c3[_0x2bd221(0x2dc)](_0x2bd221(0x40d),'$ne');}}return _0x4e75c3;}['selectBestOperator'](_0x14121e,_0x224eeb){const _0x467de6=a0_0x14993a,_0x1790f6=_0x14121e[_0x467de6(0x444)]();if(['NUMBER',_0x467de6(0x359),_0x467de6(0x442),'DECIMAL']['includes'](_0x1790f6)||[_0x467de6(0x2ad),_0x467de6(0x29c),'SMALLINT',_0x467de6(0x361),_0x467de6(0x434)][_0x467de6(0x32f)](_0x1790f6))return _0x224eeb[_0x467de6(0x32f)](_0x467de6(0x249))?_0x467de6(0x249):'$eq';if(['STRING',_0x467de6(0x230),_0x467de6(0x427)][_0x467de6(0x32f)](_0x1790f6)||[_0x467de6(0x28c),_0x467de6(0x407)][_0x467de6(0x32f)](_0x1790f6))return _0x224eeb[_0x467de6(0x32f)](_0x467de6(0x3b3))?'$contain':_0x467de6(0x40d);if([_0x467de6(0x1a3),_0x467de6(0x1f2),_0x467de6(0x1fa),_0x467de6(0x1ad)]['includes'](_0x1790f6))return _0x224eeb[_0x467de6(0x32f)]('$gte')?'$gte':'$eq';return _0x467de6(0x40d);}[a0_0x14993a(0x41b)](_0x255866,_0x2d1bc9){const _0x4c7414=a0_0x14993a,_0x82eb58=_0x255866[_0x4c7414(0x444)](),_0x145e1a=_0x255866['getEnumOptions']();if(_0x145e1a&&_0x145e1a['length']>0x0){if(_0x2d1bc9===_0x4c7414(0x1cb))return _0x145e1a[_0x4c7414(0x3bc)](0x0,0x2)[_0x4c7414(0x232)](_0x2518a2=>_0x2518a2[_0x4c7414(0x30f)]);return _0x145e1a[0x0][_0x4c7414(0x30f)];}if([_0x4c7414(0x1b2),_0x4c7414(0x359),'BIGINT','DECIMAL'][_0x4c7414(0x32f)](_0x82eb58)||['INT','TINYINT',_0x4c7414(0x3b8),_0x4c7414(0x361),_0x4c7414(0x434)]['includes'](_0x82eb58)){if(_0x2d1bc9==='$in')return[0x1,0x2,0x3];if(_0x2d1bc9==='$gte'||_0x2d1bc9===_0x4c7414(0x2a2))return 0x0;if(_0x2d1bc9===_0x4c7414(0x2d0)||_0x2d1bc9===_0x4c7414(0x275))return 0x64;return 0x1;}if([_0x4c7414(0x346),_0x4c7414(0x230),_0x4c7414(0x427)][_0x4c7414(0x32f)](_0x82eb58)||[_0x4c7414(0x28c),'LONGTEXT']['includes'](_0x82eb58)){if(_0x2d1bc9===_0x4c7414(0x1cb))return[_0x4c7414(0x3d8),'value2'];if(_0x2d1bc9===_0x4c7414(0x3b3))return _0x4c7414(0x217);if(_0x2d1bc9==='$startWith')return _0x4c7414(0x1dc);if(_0x2d1bc9===_0x4c7414(0x37f))return'suffix';return _0x4c7414(0x30f);}if([_0x4c7414(0x1a3),_0x4c7414(0x1f2),_0x4c7414(0x1fa),'TIME'][_0x4c7414(0x32f)](_0x82eb58)){if(_0x2d1bc9==='$gte'||_0x2d1bc9===_0x4c7414(0x2a2))return _0x4c7414(0x1b3);if(_0x2d1bc9===_0x4c7414(0x2d0)||_0x2d1bc9==='$lteq')return _0x4c7414(0x37b);return _0x4c7414(0x1b3);}if([_0x4c7414(0x396),_0x4c7414(0x3a0),_0x4c7414(0x257)][_0x4c7414(0x32f)](_0x82eb58))return!![];return _0x2d1bc9===_0x4c7414(0x1cb)?['value1',_0x4c7414(0x299)]:_0x4c7414(0x30f);}[a0_0x14993a(0x2ab)](){const _0x19a6f1=a0_0x14993a,_0x4574cc=super[_0x19a6f1(0x246)](),_0x25314e=Object[_0x19a6f1(0x353)](_0x4574cc)[_0x19a6f1(0x364)](([_0x58ba9b])=>_0x58ba9b!==_0x19a6f1(0x267)&&_0x58ba9b!==_0x19a6f1(0x254))[_0x19a6f1(0x232)](([_0x31c243,_0x2fb5c4])=>{const _0x238917=_0x19a6f1,_0x1ccee0=_0x2fb5c4,_0x20e888={};return _0x20e888[_0x238917(0x1f6)]=_0x31c243,_0x20e888[_0x238917(0x1be)]=_0x1ccee0['type']||_0x238917(0x316),_0x20e888[_0x238917(0x226)]=_0x1ccee0['description']||'-',_0x20e888[_0x238917(0x213)]=_0x1ccee0[_0x238917(0x213)],_0x20e888;}),_0x577b36={};return _0x577b36['description']=_0x19a6f1(0x1ea),_0x577b36[_0x19a6f1(0x321)]=_0x25314e,_0x577b36;}}class ExcelExportOperation extends GenericOperation{[a0_0x14993a(0x246)](){const _0x3d477f=a0_0x14993a,_0x4dc276=super['getRequestParams']();if(Object[_0x3d477f(0x251)](_0x4dc276)[_0x3d477f(0x25a)]===0x0){const _0x3826f1={};this[_0x3d477f(0x1fc)][_0x3d477f(0x26a)]['forEach'](_0x4643f1=>{const _0x428a77=_0x3d477f;if(_0x4643f1){const _0x14001d=_0x4643f1[_0x428a77(0x40a)],_0x5a8181=_0x4643f1['getDbTypeForOperation'](),_0x40c126={};_0x40c126[_0x428a77(0x1be)]=_0x5a8181||'TEXT',_0x40c126[_0x428a77(0x2f6)]=_0x4643f1['sortNum'],_0x40c126[_0x428a77(0x226)]=_0x4643f1[_0x428a77(0x226)]||_0x4643f1['name'],_0x3826f1[_0x14001d]=_0x40c126;}});const _0xf0be9f={};_0xf0be9f[_0x3d477f(0x1be)]='Integer',_0xf0be9f[_0x3d477f(0x226)]=_0x3d477f(0x1e1),_0x3826f1[_0x3d477f(0x267)]=_0xf0be9f;const _0x5f5b05={};return _0x5f5b05[_0x3d477f(0x1be)]=_0x3d477f(0x2cb),_0x5f5b05[_0x3d477f(0x226)]=_0x3d477f(0x236),_0x3826f1[_0x3d477f(0x254)]=_0x5f5b05,_0x3826f1;}return _0x4dc276;}[a0_0x14993a(0x2a4)](){const _0x4854c7=a0_0x14993a,_0x526211=super[_0x4854c7(0x2a4)]();if(Object[_0x4854c7(0x251)](_0x526211)['length']===0x0){const _0x4ae69c={};return _0x4ae69c[_0x4854c7(0x267)]=0x1,_0x4ae69c[_0x4854c7(0x254)]=0x64,_0x4ae69c;}const _0x20aaab={..._0x526211};return _0x20aaab[_0x4854c7(0x267)]=_0x526211['currentPage']??0x1,_0x20aaab[_0x4854c7(0x254)]=_0x526211[_0x4854c7(0x254)]??0x64,_0x20aaab;}[a0_0x14993a(0x214)](){const _0x8f2230=a0_0x14993a,_0x55dad7={};return _0x55dad7[_0x8f2230(0x259)]=!![],_0x55dad7[_0x8f2230(0x417)]='',_0x55dad7[_0x8f2230(0x20f)]='',_0x55dad7[_0x8f2230(0x235)]=_0x8f2230(0x38d),_0x55dad7['data']='https://yuntoo-export-import.oss-cn-hangzhou.aliyuncs.com/example_file_XXXXXXX.xlsx?Expires=1765374987&OSSAccessKeyId=LTAI5tGCr8Eb3UVbdf5ap9Z1&Signature=k115junCUe7Ot5BTSov0Usul3oc%3D',_0x55dad7[_0x8f2230(0x321)]=null,_0x55dad7;}[a0_0x14993a(0x211)](_0x26e9a2,_0x737f3a){const _0x5bd02b=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x737f3a||{},_0x20a4f8=this[_0x5bd02b(0x292)]();if(useFullExample){const _0x59c1dc=this[_0x5bd02b(0x2a4)](),{currentPage:_0x4c8235,pageSize:_0x56064e,..._0x1c975a}=_0x59c1dc,_0x5ca45a=Object[_0x5bd02b(0x251)](_0x1c975a)[_0x5bd02b(0x25a)]>0x0;if(_0x5ca45a){const _0x2f7c39=_0xf89b0b=>{const _0x4039d6=_0x5bd02b;return JSON['stringify'](_0xf89b0b,null,0x2)[_0x4039d6(0x411)]('\x0a')[_0x4039d6(0x232)]((_0x42e1c2,_0x560b94)=>_0x560b94===0x0?_0x42e1c2:indent+_0x42e1c2)[_0x4039d6(0x409)]('\x0a');};return _0x5bd02b(0x22d)+_0x26e9a2+'.'+_0x20a4f8+_0x5bd02b(0x319)+_0x26e9a2+'.'+_0x20a4f8+'('+_0x2f7c39(_0x59c1dc)+');';}else{const _0x55cdda=_0x35140f=>{const _0x1bf127=_0x5bd02b;return JSON[_0x1bf127(0x1aa)](_0x35140f,null,0x2)[_0x1bf127(0x411)]('\x0a')[_0x1bf127(0x232)]((_0x34f48d,_0x247bbc)=>_0x247bbc===0x0?_0x34f48d:indent+_0x34f48d)[_0x1bf127(0x409)]('\x0a');},_0x4e87d2={};return _0x4e87d2['currentPage']=0x1,_0x4e87d2['pageSize']=0x64,_0x5bd02b(0x22d)+_0x26e9a2+'.'+_0x20a4f8+_0x5bd02b(0x247)+_0x26e9a2+'.'+_0x20a4f8+'('+_0x55cdda(_0x4e87d2)+');';}}return _0x5bd02b(0x1af)+_0x26e9a2+'.'+_0x20a4f8+'({\x20/*\x20可选:筛选条件\x20*/\x20});';}[a0_0x14993a(0x22e)](_0x27bc6d){const _0x451efe=a0_0x14993a,_0x3f72af=this[_0x451efe(0x292)](),_0x1ef878=_0x27bc6d||_0x451efe(0x326),_0x2001d3='//\x20成功时\x20-\x20直接获取文件\x20URL(字符串)\x0aconst\x20fileUrl\x20=\x20await\x20client.models.'+_0x1ef878+'.'+_0x3f72af+_0x451efe(0x1c6),_0x1961d5=_0x451efe(0x311)+_0x1ef878+'.'+_0x3f72af+_0x451efe(0x35a),_0x42d0f4={};return _0x42d0f4[_0x451efe(0x1d0)]=_0x2001d3,_0x42d0f4[_0x451efe(0x235)]=_0x1961d5,_0x42d0f4;}}class UpdateOperation extends GenericOperation{[a0_0x14993a(0x398)](){const _0x501b0e=a0_0x14993a;return this[_0x501b0e(0x1f1)]();}['getRequestParams'](){const _0x7695b2=a0_0x14993a,_0x4a071f=this[_0x7695b2(0x398)](),_0x3145ff={};_0x3145ff[_0x7695b2(0x1be)]=_0x7695b2(0x1b2),_0x3145ff['description']='主键ID(必填)',_0x3145ff[_0x7695b2(0x213)]=!![];const _0x139527={};_0x139527[_0x7695b2(0x1be)]='object',_0x139527[_0x7695b2(0x226)]=_0x7695b2(0x2f2),_0x139527['required']=!![],_0x139527[_0x7695b2(0x436)]=_0x4a071f;const _0x11b3ef={};return _0x11b3ef['id']=_0x3145ff,_0x11b3ef['data']=_0x139527,_0x11b3ef;}[a0_0x14993a(0x3ae)](){const _0x47432c=a0_0x14993a;return this[_0x47432c(0x398)]();}[a0_0x14993a(0x2e7)](){const _0x12ff1a=a0_0x14993a,_0x1126c4=this[_0x12ff1a(0x1fc)]['fields']||[],_0x59f07b=this['context']['pkField'],_0xe5ab03=_0x1126c4[_0x12ff1a(0x2b3)](_0x598685=>_0x598685['isPrimaryKey']()||_0x598685[_0x12ff1a(0x40a)]===_0x59f07b),_0x7e1a24=_0x1126c4[_0x12ff1a(0x364)](_0x422778=>{const _0x2ec778=_0x12ff1a;if(_0x422778[_0x2ec778(0x2fb)])return![];if(_0x422778===_0xe5ab03||_0x422778[_0x2ec778(0x216)]())return![];if(_0x422778[_0x2ec778(0x388)]()||_0x422778[_0x2ec778(0x43f)]())return![];if(_0x422778[_0x2ec778(0x45a)]())return![];return!![];});return _0xe5ab03?[_0xe5ab03,..._0x7e1a24]:_0x7e1a24;}[a0_0x14993a(0x210)](){const _0x1cd4cf=a0_0x14993a,_0x40495b=this[_0x1cd4cf(0x2e7)](),_0x28b665=this['context']['pkField'],_0xe0ef18=_0x40495b[_0x1cd4cf(0x232)](_0x29949e=>{const _0x144962=_0x1cd4cf,_0x5a5e49=_0x29949e[_0x144962(0x216)]()||_0x29949e[_0x144962(0x40a)]===_0x28b665,_0x445c56=_0x5a5e49?'id':_0x29949e[_0x144962(0x40a)],_0x50cff4={};return _0x50cff4[_0x144962(0x1f6)]=_0x445c56,_0x50cff4[_0x144962(0x1be)]=_0x29949e[_0x144962(0x1be)],_0x50cff4['description']=_0x5a5e49?'主键,用于定位要更新的记录'+(_0x28b665&&_0x28b665!==_0x29949e[_0x144962(0x40a)]?_0x144962(0x39b)+_0x29949e[_0x144962(0x40a)]+')':''):_0x29949e[_0x144962(0x226)]||_0x29949e['name'],_0x50cff4;}),_0x482364={};return _0x482364['description']=_0x1cd4cf(0x428),_0x482364[_0x1cd4cf(0x321)]=_0xe0ef18,_0x482364;}[a0_0x14993a(0x2ab)](){const _0x1a9ad2=a0_0x14993a,_0x1a929b=this[_0x1a9ad2(0x398)](),_0x566109=Object['entries'](_0x1a929b)['map'](([_0x257ce8,_0x3bde88])=>{const _0x496da9=_0x1a9ad2,_0x288fce=_0x3bde88,_0x47622a={};return _0x47622a['name']=_0x257ce8,_0x47622a[_0x496da9(0x1be)]=_0x288fce[_0x496da9(0x1be)]||_0x496da9(0x316),_0x47622a[_0x496da9(0x226)]=_0x288fce[_0x496da9(0x226)]||'-',_0x47622a;}),_0x52a6cc={};return _0x52a6cc['description']=_0x1a9ad2(0x42e)+_0x1a9ad2(0x1cc)+_0x1a9ad2(0x1bd)+_0x1a9ad2(0x35e)+_0x1a9ad2(0x35d)+_0x1a9ad2(0x29e),_0x52a6cc[_0x1a9ad2(0x321)]=_0x566109,_0x52a6cc;}[a0_0x14993a(0x2a4)](){const _0x49a558=a0_0x14993a,_0x5992d2=this[_0x49a558(0x398)](),_0x529700={};Object[_0x49a558(0x353)](_0x5992d2)['forEach'](([_0x43439c,_0x277e04])=>{const _0x16d4c8=_0x49a558,_0x1e3a36=_0x277e04;let _0xe8a606;if(typeof _0x1e3a36[_0x16d4c8(0x1be)]===_0x16d4c8(0x31b))_0xe8a606=_0x1e3a36[_0x16d4c8(0x1be)];else _0x1e3a36[_0x16d4c8(0x1be)]&&typeof _0x1e3a36[_0x16d4c8(0x1be)]===_0x16d4c8(0x26f)?_0xe8a606=_0x1e3a36[_0x16d4c8(0x1be)][_0x16d4c8(0x1be)]||_0x16d4c8(0x230):_0xe8a606=_0x16d4c8(0x230);const _0x3fa9f0=_0x1e3a36[_0x16d4c8(0x226)],_0x3416b1=this[_0x16d4c8(0x260)](_0x43439c);_0x529700[_0x43439c]=this[_0x16d4c8(0x3d2)](_0x43439c,_0xe8a606,_0x3416b1?.['getDbTypeForOperation'](),{'isPrimaryKey':![],'description':_0x3fa9f0||_0x3416b1?.[_0x16d4c8(0x226)]||_0x3416b1?.[_0x16d4c8(0x1f6)]});});const _0x236ec9={};return _0x236ec9['id']=0x1,_0x236ec9[_0x49a558(0x3d9)]=_0x529700,_0x236ec9;}[a0_0x14993a(0x25d)](){const _0x256129=a0_0x14993a,_0x115842=this[_0x256129(0x2a4)](),_0x3711a1={};return _0x3711a1[_0x256129(0x25f)]=_0x256129(0x306),_0x3711a1[_0x256129(0x226)]=_0x256129(0x431)+_0x256129(0x2d9)+_0x256129(0x323),_0x3711a1[_0x256129(0x3d9)]=_0x115842,[_0x3711a1,{'title':_0x256129(0x440),'description':'HTTP\x20直接调用时使用平铺格式:\x0a'+_0x256129(0x36d)+_0x256129(0x395),'data':this['generateHTTPRequestExample']()}];}['generateHTTPRequestExample'](){const _0x235153=a0_0x14993a,_0x15c5a6=this[_0x235153(0x398)](),_0x341a2c={};_0x341a2c['id']=0x1;const _0xcecf10=_0x341a2c;return Object[_0x235153(0x353)](_0x15c5a6)[_0x235153(0x2db)](([_0x4eedf9,_0x5d6ce7])=>{const _0xecfcb2=_0x235153,_0x5ea11d=_0x5d6ce7;let _0x50ea3a;if(typeof _0x5ea11d[_0xecfcb2(0x1be)]==='string')_0x50ea3a=_0x5ea11d['type'];else _0x5ea11d[_0xecfcb2(0x1be)]&&typeof _0x5ea11d[_0xecfcb2(0x1be)]===_0xecfcb2(0x26f)?_0x50ea3a=_0x5ea11d[_0xecfcb2(0x1be)][_0xecfcb2(0x1be)]||_0xecfcb2(0x230):_0x50ea3a=_0xecfcb2(0x230);const _0x4f0e71=_0x5ea11d[_0xecfcb2(0x226)],_0x1babfa=this[_0xecfcb2(0x260)](_0x4eedf9);if(_0x1babfa?.['isPrimaryKey']())return;_0xcecf10[_0x4eedf9]=this[_0xecfcb2(0x3d2)](_0x4eedf9,_0x50ea3a,_0x1babfa?.[_0xecfcb2(0x444)](),{'isPrimaryKey':![],'description':_0x4f0e71||_0x1babfa?.[_0xecfcb2(0x226)]||_0x1babfa?.[_0xecfcb2(0x1f6)]});}),_0xcecf10;}['generateHTTPExample'](){const _0x5e4c04=a0_0x14993a;return this[_0x5e4c04(0x37a)]();}[a0_0x14993a(0x211)](_0x2ec75f,_0x1000a0){const _0x3a49d1=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x1000a0||{},_0x23b576=this[_0x3a49d1(0x292)]();if(useFullExample){const _0x5d6988=this[_0x3a49d1(0x2a4)](),_0x355646=JSON['stringify'](_0x5d6988[_0x3a49d1(0x3d9)],null,0x2)[_0x3a49d1(0x411)]('\x0a')[_0x3a49d1(0x232)]((_0x511c15,_0x10e71a)=>_0x10e71a===0x0?_0x511c15:indent+_0x511c15)[_0x3a49d1(0x409)]('\x0a');return'const\x20result\x20=\x20await\x20client.models.'+_0x2ec75f+'.'+_0x23b576+'('+_0x5d6988['id']+',\x20'+_0x355646+');';}return'const\x20result\x20=\x20await\x20client.models.'+_0x2ec75f+'.'+_0x23b576+_0x3a49d1(0x2af);}}class AggregateOperation extends GenericOperation{constructor(_0x5afdad,_0x20f116,_0x30bf11){super(_0x5afdad,_0x20f116,_0x30bf11);}['normalizeDbType'](_0x17c405){const _0xff97a9=a0_0x14993a;return _0x17c405['replace'](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')[_0xff97a9(0x1d6)]()[_0xff97a9(0x33f)]();}[a0_0x14993a(0x1de)](){return AGGREGATE_FUNCTIONS;}[a0_0x14993a(0x246)](){const _0xc01958=a0_0x14993a,_0x117ada=super[_0xc01958(0x246)](),_0xff2279={};_0xff2279[_0xc01958(0x1be)]=_0xc01958(0x2f9),_0xff2279[_0xc01958(0x226)]=_0xc01958(0x3d5),_0xff2279[_0xc01958(0x213)]=![];const _0x308c23={};_0x308c23['type']=_0xc01958(0x463),_0x308c23[_0xc01958(0x226)]='查询条件(支持与\x20Filter\x20API\x20相同的\x2012\x20种操作符)',_0x308c23['required']=![];const _0x22efeb={};_0x22efeb['type']=_0xc01958(0x2f9),_0x22efeb[_0xc01958(0x226)]='分组字段列表',_0x22efeb[_0xc01958(0x213)]=![];const _0x3d2a1b={};_0x3d2a1b[_0xc01958(0x1be)]=_0xc01958(0x3f1),_0x3d2a1b[_0xc01958(0x226)]=_0xc01958(0x356),_0x3d2a1b['required']=![];const _0x27d8e8={};_0x27d8e8[_0xc01958(0x1be)]=_0xc01958(0x3f1),_0x27d8e8[_0xc01958(0x226)]='分组后的过滤条件(对聚合结果进行过滤)',_0x27d8e8[_0xc01958(0x213)]=![];const _0x3588bf={};_0x3588bf[_0xc01958(0x1be)]='Array',_0x3588bf['description']=_0xc01958(0x3c3),_0x3588bf[_0xc01958(0x213)]=![];const _0x286b8c={};_0x286b8c[_0xc01958(0x1be)]='Number',_0x286b8c[_0xc01958(0x226)]='当前页码(从\x201\x20开始,默认:\x201)',_0x286b8c['required']=![];const _0x34d5fd={};_0x34d5fd[_0xc01958(0x1be)]=_0xc01958(0x3f8),_0x34d5fd[_0xc01958(0x226)]=_0xc01958(0x248),_0x34d5fd['required']=![];const _0x3a23ca={..._0x117ada};return _0x3a23ca[_0xc01958(0x410)]=_0xff2279,_0x3a23ca['where']=_0x308c23,_0x3a23ca['groupBy']=_0x22efeb,_0x3a23ca['aggregate']=_0x3d2a1b,_0x3a23ca['having']=_0x27d8e8,_0x3a23ca['orderBy']=_0x3588bf,_0x3a23ca['currentPage']=_0x286b8c,_0x3a23ca[_0xc01958(0x254)]=_0x34d5fd,_0x3a23ca;}[a0_0x14993a(0x3bf)](){const _0x32e4b5=a0_0x14993a,_0x3480a4={};_0x3480a4[_0x32e4b5(0x40a)]=_0x32e4b5(0x410),_0x3480a4[_0x32e4b5(0x1be)]=_0x32e4b5(0x2f9),_0x3480a4[_0x32e4b5(0x226)]='选择返回的字段(字段投影,与\x20Filter\x20API\x20一致)';const _0x5f298a={};_0x5f298a[_0x32e4b5(0x40a)]=_0x32e4b5(0x3da),_0x5f298a['type']=_0x32e4b5(0x463),_0x5f298a['description']=_0x32e4b5(0x455);const _0x525605={};_0x525605[_0x32e4b5(0x40a)]='groupBy',_0x525605[_0x32e4b5(0x1be)]=_0x32e4b5(0x2f9),_0x525605[_0x32e4b5(0x226)]=_0x32e4b5(0x462);const _0x29a2eb={};_0x29a2eb[_0x32e4b5(0x40a)]=_0x32e4b5(0x2a1),_0x29a2eb[_0x32e4b5(0x1be)]='Array',_0x29a2eb[_0x32e4b5(0x226)]='聚合函数配置数组(type:\x20sum/count/avg/max/min)';const _0x3d4e3b={};_0x3d4e3b['code']=_0x32e4b5(0x3b4),_0x3d4e3b[_0x32e4b5(0x1be)]=_0x32e4b5(0x3f1),_0x3d4e3b[_0x32e4b5(0x226)]='分组后的过滤条件(对聚合结果进行过滤)';const _0x29cb3c={};_0x29cb3c[_0x32e4b5(0x40a)]='orderBy',_0x29cb3c[_0x32e4b5(0x1be)]='Array',_0x29cb3c[_0x32e4b5(0x226)]=_0x32e4b5(0x3c3);const _0x5e0b39={};_0x5e0b39[_0x32e4b5(0x40a)]=_0x32e4b5(0x267),_0x5e0b39[_0x32e4b5(0x1be)]=_0x32e4b5(0x3f8),_0x5e0b39['description']=_0x32e4b5(0x2c7);const _0xae710={};return _0xae710[_0x32e4b5(0x40a)]=_0x32e4b5(0x254),_0xae710['type']='Number',_0xae710['description']=_0x32e4b5(0x248),[_0x3480a4,_0x5f298a,_0x525605,_0x29a2eb,_0x3d4e3b,_0x29cb3c,_0x5e0b39,_0xae710];}['generateRequestExample'](){const _0x965c07=a0_0x14993a,_0x24474d=this[_0x965c07(0x1fc)][_0x965c07(0x26a)]||[];if(_0x24474d[_0x965c07(0x25a)]===0x0){const _0x1e0cb0={};return _0x1e0cb0[_0x965c07(0x3da)]={},_0x1e0cb0[_0x965c07(0x325)]=[],_0x1e0cb0[_0x965c07(0x2a1)]=[],_0x1e0cb0;}const _0xb9d381={},_0x234a97=_0x24474d[_0x965c07(0x3bc)](0x0,Math[_0x965c07(0x333)](0x3,_0x24474d[_0x965c07(0x25a)]));_0x234a97[_0x965c07(0x2db)](_0xac1e50=>{const _0x929aea=_0x965c07,_0x2b66eb=this[_0x929aea(0x288)](_0xac1e50);if(_0x2b66eb[_0x929aea(0x25a)]===0x0)return;const _0x538298=this[_0x929aea(0x324)](_0xac1e50,_0x2b66eb),_0x5985cd=this['generateExampleValue'](_0xac1e50,_0x538298),_0x42ad78={};_0x42ad78[_0x538298]=_0x5985cd,_0xb9d381[_0xac1e50[_0x929aea(0x40a)]]=_0x42ad78;});const _0x36f3ba=_0x24474d['slice'](0x0,Math[_0x965c07(0x333)](0x2,_0x24474d[_0x965c07(0x25a)]))[_0x965c07(0x232)](_0x48530b=>_0x48530b[_0x965c07(0x40a)]),_0xcfdb7=[],_0x1cbf08=_0x24474d[_0x965c07(0x364)](_0x18378e=>this[_0x965c07(0x23b)](_0x18378e));if(_0x1cbf08['length']>0x0){const _0x40084f=_0x1cbf08[0x0],_0x53e11f=_0x40084f[_0x965c07(0x40a)],_0x10ecf5={};_0x10ecf5[_0x965c07(0x1be)]=_0x965c07(0x347),_0x10ecf5[_0x965c07(0x1fd)]=_0x53e11f,_0x10ecf5[_0x965c07(0x2f0)]=_0x53e11f+_0x965c07(0x330),_0x10ecf5[_0x965c07(0x42b)]=![],_0x10ecf5['round']=!![],_0x10ecf5[_0x965c07(0x2d3)]=0x2,_0xcfdb7[_0x965c07(0x2dc)](_0x10ecf5);const _0x562fcd={};_0x562fcd[_0x965c07(0x1be)]='avg',_0x562fcd[_0x965c07(0x1fd)]=_0x53e11f,_0x562fcd['alias']=_0x53e11f+_0x965c07(0x43c),_0x562fcd[_0x965c07(0x42b)]=![],_0x562fcd[_0x965c07(0x31c)]=!![],_0x562fcd[_0x965c07(0x2d3)]=0x2,_0xcfdb7[_0x965c07(0x2dc)](_0x562fcd);const _0x257cfd={};_0x257cfd['type']='max',_0x257cfd['column']=_0x53e11f,_0x257cfd['alias']=_0x53e11f+_0x965c07(0x3cd),_0x257cfd[_0x965c07(0x42b)]=![],_0x257cfd[_0x965c07(0x31c)]=!![],_0x257cfd['precision']=0x2,_0xcfdb7[_0x965c07(0x2dc)](_0x257cfd);const _0x4f4104={};_0x4f4104[_0x965c07(0x1be)]=_0x965c07(0x333),_0x4f4104[_0x965c07(0x1fd)]=_0x53e11f,_0x4f4104[_0x965c07(0x2f0)]=_0x53e11f+_0x965c07(0x2e8),_0x4f4104[_0x965c07(0x42b)]=![],_0x4f4104['round']=!![],_0x4f4104[_0x965c07(0x2d3)]=0x2,_0xcfdb7[_0x965c07(0x2dc)](_0x4f4104);}else{if(_0x24474d['length']>0x0){const _0x413030=_0x24474d[0x0],_0x4776b5=_0x413030[_0x965c07(0x40a)],_0x2115e2={};_0x2115e2[_0x965c07(0x1be)]=_0x965c07(0x1cd),_0x2115e2[_0x965c07(0x1fd)]=_0x4776b5,_0x2115e2['alias']=_0x965c07(0x1c4),_0x2115e2[_0x965c07(0x42b)]=!![],_0xcfdb7[_0x965c07(0x2dc)](_0x2115e2);}}const _0x1aeff9=[];if(_0x24474d[_0x965c07(0x25a)]>0x0){const _0x632f5d=_0x24474d[0x0]['code'],_0x47a872={};_0x47a872[_0x632f5d]=_0x965c07(0x460),_0x1aeff9['push'](_0x47a872);}const _0xf1ebf9=[..._0x36f3ba,..._0xcfdb7[_0x965c07(0x232)](_0x3c5361=>_0x3c5361[_0x965c07(0x2f0)])],_0x2bc03d=[];if(_0xcfdb7[_0x965c07(0x25a)]>0x0){const _0x3fd76c={};_0x3fd76c[_0x965c07(0x249)]=0x0;const _0x1c46a7={};_0x1c46a7[_0x965c07(0x342)]=_0xcfdb7[0x0][_0x965c07(0x2f0)],_0x1c46a7[_0x965c07(0x1d4)]=_0x3fd76c,_0x2bc03d[_0x965c07(0x2dc)](_0x1c46a7);}const _0x4e4b5c={};return _0x4e4b5c[_0x965c07(0x410)]=_0xf1ebf9,_0x4e4b5c[_0x965c07(0x3da)]=_0xb9d381,_0x4e4b5c[_0x965c07(0x325)]=_0x36f3ba,_0x4e4b5c['aggregate']=_0xcfdb7,_0x4e4b5c[_0x965c07(0x3b4)]=_0x2bc03d[_0x965c07(0x25a)]>0x0?_0x2bc03d:undefined,_0x4e4b5c[_0x965c07(0x429)]=_0x1aeff9,_0x4e4b5c[_0x965c07(0x267)]=0x1,_0x4e4b5c['pageSize']=0x14,_0x4e4b5c;}[a0_0x14993a(0x211)](_0x5c4980,_0x3eca8c){const _0x18487b=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x3eca8c||{},_0x170866=this['getName'](),_0x1f1b76=this[_0x18487b(0x2a4)](),_0x478579=_0x4554da=>{const _0x3054b8=_0x18487b;return JSON[_0x3054b8(0x1aa)](_0x4554da,null,0x2)['split']('\x0a')['map']((_0x17f739,_0x47d962)=>_0x47d962===0x0?_0x17f739:indent+_0x17f739)[_0x3054b8(0x409)]('\x0a');};if(useFullExample){const _0x543544=this[_0x18487b(0x1fc)][_0x18487b(0x26a)]||[],_0x2603dc=_0x543544[_0x18487b(0x364)](_0x344ef3=>this[_0x18487b(0x23b)](_0x344ef3)),_0x58c59f={'where':_0x543544[0x0]?{[_0x543544[0x0][_0x18487b(0x40a)]]:{'$eq':this[_0x18487b(0x41b)](_0x543544[0x0],_0x18487b(0x40d))}}:{},'aggregate':_0x2603dc['length']>0x0?[{'type':_0x18487b(0x347),'column':_0x2603dc[0x0]['code'],'alias':_0x2603dc[0x0][_0x18487b(0x40a)]+_0x18487b(0x330),'distinct':![],'round':!![],'precision':0x2}]:[{'type':_0x18487b(0x1cd),'column':_0x543544[0x0][_0x18487b(0x40a)],'alias':_0x18487b(0x1c4),'distinct':!![]}],'orderBy':[{[_0x543544[0x0][_0x18487b(0x40a)]]:'desc'}]};let _0x44f7b1='';return _0x543544['length']>=0x3&&(_0x44f7b1=_0x18487b(0x2ea)+_0x5c4980+'.'+_0x170866+'('+_0x478579(_0x1f1b76)+');'),_0x18487b(0x1f9)+_0x5c4980+'.'+_0x170866+'('+_0x478579(_0x58c59f)+');'+_0x44f7b1;}const _0x580da0=JSON[_0x18487b(0x1aa)](_0x1f1b76,null,0x2)['split']('\x0a')['map']((_0x54668a,_0x185de0)=>_0x185de0===0x0?_0x54668a:indent+_0x54668a)[_0x18487b(0x409)]('\x0a');return _0x18487b(0x451)+_0x5c4980+'.'+_0x170866+'('+_0x580da0+');';}[a0_0x14993a(0x23b)](_0x3f9338){const _0x52c81b=a0_0x14993a,_0x77a4c2=_0x3f9338[_0x52c81b(0x444)]();return[_0x52c81b(0x1b2),_0x52c81b(0x359),_0x52c81b(0x442),'DECIMAL'][_0x52c81b(0x32f)](_0x77a4c2)||['INT','TINYINT',_0x52c81b(0x3b8),_0x52c81b(0x361),_0x52c81b(0x434)][_0x52c81b(0x32f)](_0x77a4c2);}[a0_0x14993a(0x288)](_0x1c9217){const _0x2ccffb=a0_0x14993a,_0x4ca6e3=_0x1c9217[_0x2ccffb(0x444)](),_0x5120a8=[];if([_0x2ccffb(0x1b2),_0x2ccffb(0x359),_0x2ccffb(0x442),_0x2ccffb(0x454)][_0x2ccffb(0x32f)](_0x4ca6e3)||[_0x2ccffb(0x2ad),'TINYINT',_0x2ccffb(0x3b8),_0x2ccffb(0x361),_0x2ccffb(0x434)]['includes'](_0x4ca6e3))_0x5120a8[_0x2ccffb(0x2dc)](_0x2ccffb(0x40d),_0x2ccffb(0x1a7),_0x2ccffb(0x249),_0x2ccffb(0x2d0),_0x2ccffb(0x2a2),'$lteq',_0x2ccffb(0x1cb));else{if([_0x2ccffb(0x346),_0x2ccffb(0x230),_0x2ccffb(0x427)][_0x2ccffb(0x32f)](_0x4ca6e3)||['CHAR','LONGTEXT'][_0x2ccffb(0x32f)](_0x4ca6e3))_0x5120a8['push'](_0x2ccffb(0x40d),_0x2ccffb(0x1a7),_0x2ccffb(0x1cb),_0x2ccffb(0x3b3),_0x2ccffb(0x416),_0x2ccffb(0x37f));else{if(['DATE',_0x2ccffb(0x1f2),'TIMESTAMP'][_0x2ccffb(0x32f)](_0x4ca6e3)||[_0x2ccffb(0x1ad)][_0x2ccffb(0x32f)](_0x4ca6e3))_0x5120a8[_0x2ccffb(0x2dc)](_0x2ccffb(0x40d),_0x2ccffb(0x1a7),_0x2ccffb(0x249),_0x2ccffb(0x2d0),'$gteq','$lteq');else[_0x2ccffb(0x396),_0x2ccffb(0x3a0),_0x2ccffb(0x257)]['includes'](_0x4ca6e3)?_0x5120a8[_0x2ccffb(0x2dc)]('$eq',_0x2ccffb(0x1a7)):_0x5120a8[_0x2ccffb(0x2dc)](_0x2ccffb(0x40d),_0x2ccffb(0x1a7));}}return _0x5120a8;}[a0_0x14993a(0x324)](_0x59ea24,_0x127c3d){const _0x319d3a=a0_0x14993a,_0x124b88=_0x59ea24['getDbTypeForOperation']();if([_0x319d3a(0x1b2),_0x319d3a(0x359),_0x319d3a(0x442),_0x319d3a(0x454)][_0x319d3a(0x32f)](_0x124b88)||[_0x319d3a(0x2ad),_0x319d3a(0x29c),_0x319d3a(0x3b8),'DOUBLE',_0x319d3a(0x434)][_0x319d3a(0x32f)](_0x124b88))return _0x127c3d[_0x319d3a(0x32f)](_0x319d3a(0x249))?_0x319d3a(0x249):_0x319d3a(0x40d);if(['STRING',_0x319d3a(0x230),_0x319d3a(0x427)][_0x319d3a(0x32f)](_0x124b88)||[_0x319d3a(0x28c),_0x319d3a(0x407)]['includes'](_0x124b88))return _0x127c3d['includes'](_0x319d3a(0x3b3))?_0x319d3a(0x3b3):'$eq';if([_0x319d3a(0x1a3),'DATETIME',_0x319d3a(0x1fa),_0x319d3a(0x1ad)][_0x319d3a(0x32f)](_0x124b88))return _0x127c3d[_0x319d3a(0x32f)](_0x319d3a(0x249))?_0x319d3a(0x249):_0x319d3a(0x40d);return _0x319d3a(0x40d);}['generateExampleValue'](_0x55ba42,_0x5dfbb3){const _0x61f489=a0_0x14993a,_0x4992f5=_0x55ba42[_0x61f489(0x444)](),_0x36d34a=_0x55ba42[_0x61f489(0x252)]();if(_0x36d34a&&_0x36d34a['length']>0x0){if(_0x5dfbb3==='$in')return _0x36d34a[_0x61f489(0x3bc)](0x0,0x2)[_0x61f489(0x232)](_0x44f9d3=>_0x44f9d3['value']);return _0x36d34a[0x0][_0x61f489(0x30f)];}if(['NUMBER',_0x61f489(0x359),'BIGINT',_0x61f489(0x454)]['includes'](_0x4992f5)||[_0x61f489(0x2ad),_0x61f489(0x29c),_0x61f489(0x3b8),_0x61f489(0x361),'FLOAT'][_0x61f489(0x32f)](_0x4992f5)){if(_0x5dfbb3==='$in')return[0x1,0x2,0x3];if(_0x5dfbb3===_0x61f489(0x249)||_0x5dfbb3===_0x61f489(0x2a2))return 0x0;if(_0x5dfbb3===_0x61f489(0x2d0)||_0x5dfbb3==='$lteq')return 0x64;return 0x1;}if(['STRING','TEXT',_0x61f489(0x427)][_0x61f489(0x32f)](_0x4992f5)||[_0x61f489(0x28c),_0x61f489(0x407)][_0x61f489(0x32f)](_0x4992f5)){if(_0x5dfbb3===_0x61f489(0x1cb))return['value1','value2'];if(_0x5dfbb3==='$contain')return'keyword';if(_0x5dfbb3===_0x61f489(0x416))return'prefix';if(_0x5dfbb3===_0x61f489(0x37f))return _0x61f489(0x1b9);return _0x61f489(0x30f);}if(['DATE',_0x61f489(0x1f2),_0x61f489(0x1fa),'TIME'][_0x61f489(0x32f)](_0x4992f5)){if(_0x5dfbb3==='$gte'||_0x5dfbb3===_0x61f489(0x2a2))return _0x61f489(0x1b3);if(_0x5dfbb3===_0x61f489(0x2d0)||_0x5dfbb3===_0x61f489(0x275))return'2024-12-31';return _0x61f489(0x1b3);}if([_0x61f489(0x396),'BOOL',_0x61f489(0x257)][_0x61f489(0x32f)](_0x4992f5))return!![];return _0x5dfbb3==='$in'?['value1','value2']:_0x61f489(0x30f);}['getRequestParamsDocInfo'](){const _0x1373aa=a0_0x14993a,_0x2177d2=this['getRequestParams'](),_0x301cea=Object[_0x1373aa(0x353)](_0x2177d2)['filter'](([_0x1a982b])=>_0x1a982b!=='currentPage'&&_0x1a982b!==_0x1373aa(0x254))[_0x1373aa(0x232)](([_0x57c6a0,_0x13c481])=>{const _0x324e4c=_0x1373aa,_0x5038c9=_0x13c481,_0x1f6843={};return _0x1f6843[_0x324e4c(0x1f6)]=_0x57c6a0,_0x1f6843[_0x324e4c(0x1be)]=_0x5038c9[_0x324e4c(0x1be)]||'String',_0x1f6843[_0x324e4c(0x226)]=_0x5038c9['description']||'-',_0x1f6843[_0x324e4c(0x213)]=_0x5038c9[_0x324e4c(0x213)],_0x1f6843;}),_0x366b9a={};return _0x366b9a[_0x1373aa(0x226)]=_0x1373aa(0x27c),_0x366b9a[_0x1373aa(0x321)]=_0x301cea,_0x366b9a;}[a0_0x14993a(0x214)](){const _0x3df450=a0_0x14993a,_0x1534a7=this['generateRequestExample']()[_0x3df450(0x2a1)],_0x4c76c8=[{}],_0x53de31=[];_0x1534a7?.[_0x3df450(0x2db)](_0x3c1bff=>{const _0x2cc32b=_0x3df450,_0x6e1730={};_0x6e1730[_0x2cc32b(0x25f)]=_0x3c1bff['alias'],_0x6e1730['dataIndex']=_0x3c1bff[_0x2cc32b(0x2f0)],_0x53de31[_0x2cc32b(0x2dc)](_0x6e1730),_0x4c76c8[0x0][_0x3c1bff[_0x2cc32b(0x2f0)]]=_0x3c1bff[_0x2cc32b(0x1be)]===_0x2cc32b(0x1cd)?0x64:Math[_0x2cc32b(0x31c)](Math['random']()*0x64*0x64)/0x64;});const _0x552048={};_0x552048['pageSize']=0x1,_0x552048['totalCount']=0x64,_0x552048[_0x3df450(0x267)]=0x1;const _0x592af1={};_0x592af1['paging']=_0x552048,_0x592af1[_0x3df450(0x22f)]=_0x4c76c8,_0x592af1[_0x3df450(0x21b)]=_0x53de31;const _0x2a4735={};return _0x2a4735[_0x3df450(0x259)]=!![],_0x2a4735[_0x3df450(0x417)]='',_0x2a4735['errorMsg']='',_0x2a4735['errorCode']='0000',_0x2a4735['data']=_0x592af1,_0x2a4735[_0x3df450(0x321)]=null,_0x2a4735;}}class BatchCreateOperation extends GenericOperation{[a0_0x14993a(0x2a4)](){const _0x352da5=a0_0x14993a,_0x32d3fd=super[_0x352da5(0x2a4)]();return Object[_0x352da5(0x353)](this[_0x352da5(0x246)]())[_0x352da5(0x2db)](([_0x4ef585,_0x48c26c])=>{const _0x216d15=_0x352da5,_0x1771b3=_0x48c26c;if(this[_0x216d15(0x42c)](_0x1771b3)['toUpperCase']()!==_0x216d15(0x437))return;const _0x58d7a0=_0x1771b3[_0x216d15(0x3b9)];_0x58d7a0&&typeof _0x58d7a0===_0x216d15(0x26f)&&!Array['isArray'](_0x58d7a0)&&(_0x32d3fd[_0x4ef585]=[this[_0x216d15(0x2e5)](_0x58d7a0)]);}),_0x32d3fd;}[a0_0x14993a(0x3ee)](){const _0x17656f=a0_0x14993a,_0x3e5d58=this['generateRequestExample']();return Object[_0x17656f(0x200)](_0x3e5d58)[_0x17656f(0x300)](Array[_0x17656f(0x3a3)])?_0x3e5d58:[_0x3e5d58];}[a0_0x14993a(0x2df)](){const _0x52975a=a0_0x14993a,_0x1fa40b=this[_0x52975a(0x3ee)]();if(Array[_0x52975a(0x3a3)](_0x1fa40b)){const _0x3a0d11={};return _0x3a0d11[_0x52975a(0x3b9)]=_0x1fa40b,_0x3a0d11;}if(!_0x1fa40b||typeof _0x1fa40b!==_0x52975a(0x26f)){const _0x489f7d={};return _0x489f7d['items']=[_0x1fa40b],_0x489f7d;}const _0x2966ed={};let _0x36dcb8=![];Object[_0x52975a(0x353)](_0x1fa40b)[_0x52975a(0x2db)](([_0x2114d3,_0x232fdc])=>{const _0x3f1036=_0x52975a;if(Array[_0x3f1036(0x3a3)](_0x232fdc)){const _0x3e3c8a={};_0x3e3c8a[_0x3f1036(0x3b9)]=_0x232fdc,_0x2966ed[_0x2114d3]=_0x3e3c8a,_0x36dcb8=!![];}else _0x2966ed[_0x2114d3]=_0x232fdc;});const _0x95ed45={};return _0x95ed45[_0x52975a(0x3b9)]=[_0x1fa40b],_0x36dcb8?_0x2966ed:_0x95ed45;}['generateHTTPExample'](){const _0x2c0d15=a0_0x14993a;return{'array':this[_0x2c0d15(0x3ee)](),'object':this[_0x2c0d15(0x2df)]()};}[a0_0x14993a(0x25d)](){const _0x4bf4a4=a0_0x14993a;return[{'title':_0x4bf4a4(0x349),'description':_0x4bf4a4(0x448),'data':this[_0x4bf4a4(0x3ee)]()},{'title':_0x4bf4a4(0x44c),'description':_0x4bf4a4(0x3f2),'data':this[_0x4bf4a4(0x2df)]()}];}[a0_0x14993a(0x211)](_0x5860b1,_0x20484a){const _0x8a42bd=a0_0x14993a,{useFullExample:useFullExample=![],indent:indent='\x20\x20'}=_0x20484a||{},_0x2e8ba7=this[_0x8a42bd(0x292)]();if(!useFullExample)return _0x8a42bd(0x451)+_0x5860b1+'.'+_0x2e8ba7+'(params);';const _0x528756=_0x38c514=>{const _0x1af0be=_0x8a42bd;return(JSON[_0x1af0be(0x1aa)](_0x38c514,null,0x2)||_0x1af0be(0x3db))['split']('\x0a')[_0x1af0be(0x232)]((_0x5551e3,_0x39b8cf)=>_0x39b8cf===0x0?_0x5551e3:indent+_0x5551e3)[_0x1af0be(0x409)]('\x0a');},_0x31ff47=_0x528756(this[_0x8a42bd(0x3ee)]()),_0x5f555a=_0x528756(this[_0x8a42bd(0x2df)]());return['//\x20数组参数格式',_0x8a42bd(0x451)+_0x5860b1+'.'+_0x2e8ba7+'('+_0x31ff47+');','',_0x8a42bd(0x43e),'const\x20resultByItems\x20=\x20await\x20client.models.'+_0x5860b1+'.'+_0x2e8ba7+'('+_0x5f555a+');'][_0x8a42bd(0x409)]('\x0a');}[a0_0x14993a(0x2e5)](_0x56b09b){const _0x1cebe1=a0_0x14993a,_0xd58994={};return Object[_0x1cebe1(0x353)](_0x56b09b)[_0x1cebe1(0x2db)](([_0x384dac,_0x157aa8])=>{const _0x4a3d27=_0x1cebe1,_0x1b0eec=_0x157aa8,_0x41d3b6=this['getFieldDefinition'](_0x384dac);_0xd58994[_0x384dac]=this[_0x4a3d27(0x3d2)](_0x384dac,this['getFieldTypeFromDefinition'](_0x1b0eec),_0x41d3b6?.[_0x4a3d27(0x444)](),{'isPrimaryKey':_0x41d3b6?.[_0x4a3d27(0x216)](),'description':_0x1b0eec[_0x4a3d27(0x226)]||_0x41d3b6?.[_0x4a3d27(0x226)]||_0x41d3b6?.['name']});}),_0xd58994;}['getFieldTypeFromDefinition'](_0x580bf6){const _0x29aefc=a0_0x14993a,_0x4dc147=_0x580bf6[_0x29aefc(0x1be)];if(typeof _0x4dc147===_0x29aefc(0x31b))return _0x4dc147;if(_0x4dc147&&typeof _0x4dc147===_0x29aefc(0x26f)&&!Array[_0x29aefc(0x3a3)](_0x4dc147))return _0x4dc147[_0x29aefc(0x1be)]||_0x29aefc(0x230);return'TEXT';}}class OperationFactory{['create'](_0x23e245,_0x33df30,_0x7acf7c){const _0x4a132a=a0_0x14993a;switch(_0x23e245){case'getSelectOptions':return new GetSelectOptionsOperation(_0x23e245,_0x33df30,_0x7acf7c);case _0x4a132a(0x1bf):return new GetListOperation(_0x23e245,_0x33df30,_0x7acf7c);case'filter':return new FilterOperation(_0x23e245,_0x33df30,_0x7acf7c);case _0x4a132a(0x432):return new ExcelExportOperation(_0x23e245,_0x33df30,_0x7acf7c);case _0x4a132a(0x37d):return new UpdateOperation(_0x23e245,_0x33df30,_0x7acf7c);case _0x4a132a(0x2a1):return new AggregateOperation(_0x23e245,_0x33df30,_0x7acf7c);case _0x4a132a(0x33c):return new BatchCreateOperation(_0x23e245,_0x33df30,_0x7acf7c);default:return new GenericOperation(_0x23e245,_0x33df30,_0x7acf7c);}}[a0_0x14993a(0x22c)](_0x28dbc7,_0x2a159f){const _0x551ff0=a0_0x14993a,_0x5bce8b=new Map();return Object[_0x551ff0(0x353)](_0x28dbc7)[_0x551ff0(0x2db)](([_0x23c85b,_0x397f88])=>{const _0x147e49=_0x551ff0;_0x5bce8b[_0x147e49(0x36c)](_0x23c85b,this['create'](_0x23c85b,_0x397f88,_0x2a159f));}),_0x5bce8b;}}class OperationList{[a0_0x14993a(0x39f)];constructor(_0xa59ee,_0x494f71){const _0x18ab61=new OperationFactory();this['_operations']=_0x18ab61['createAll'](_0xa59ee,_0x494f71);}[a0_0x14993a(0x3dc)](_0x54ba23){const _0x284b69=a0_0x14993a;return this[_0x284b69(0x39f)][_0x284b69(0x3dc)](_0x54ba23);}[a0_0x14993a(0x1ce)](_0x1a4bef){const _0x5afa65=a0_0x14993a;return this[_0x5afa65(0x39f)][_0x5afa65(0x1ce)](_0x1a4bef);}[a0_0x14993a(0x26c)](){const _0x50c8f8=a0_0x14993a;return this[_0x50c8f8(0x39f)][_0x50c8f8(0x26c)];}[a0_0x14993a(0x38f)](){const _0x3c01e4=a0_0x14993a;return Array['from'](this[_0x3c01e4(0x39f)][_0x3c01e4(0x251)]());}['toArray'](){const _0x385c09=a0_0x14993a,_0x209b77=Array['from'](this['_operations']['values']());return this[_0x385c09(0x39e)](_0x209b77);}['getEnabled'](){const _0x2ef079=a0_0x14993a;return this[_0x2ef079(0x305)]()[_0x2ef079(0x364)](_0x397444=>_0x397444[_0x2ef079(0x2dd)]());}[a0_0x14993a(0x41a)](){const _0x258750=a0_0x14993a;return this['toArray']()[_0x258750(0x364)](_0x3981a4=>!_0x3981a4[_0x258750(0x2dd)]());}['getEnabledNames'](){const _0x4a7544=a0_0x14993a;return this[_0x4a7544(0x24d)]()['map'](_0x5653f4=>_0x5653f4[_0x4a7544(0x292)]());}['getDisabledNames'](){const _0x2d7c5a=a0_0x14993a;return this[_0x2d7c5a(0x41a)]()[_0x2d7c5a(0x232)](_0x33608c=>_0x33608c[_0x2d7c5a(0x292)]());}[a0_0x14993a(0x424)](_0x1206e2){const _0x57f609=a0_0x14993a;return this[_0x57f609(0x305)]()[_0x57f609(0x364)](_0x5c7113=>_0x5c7113[_0x57f609(0x36b)]()===_0x1206e2);}[a0_0x14993a(0x364)](_0x2c451b){const _0x45120e=a0_0x14993a;return this['toArray']()[_0x45120e(0x364)](_0x2c451b);}[a0_0x14993a(0x40b)](_0x2636e2={}){const _0x5b9322=a0_0x14993a;let _0x6f866e=this[_0x5b9322(0x305)]();!_0x2636e2[_0x5b9322(0x3f0)]&&(_0x6f866e=_0x6f866e[_0x5b9322(0x364)](_0x2c656c=>_0x2c656c[_0x5b9322(0x2dd)]()));if(_0x2636e2['filterBlacklist']!==![]){const _0x558972=_0x6f866e[_0x5b9322(0x232)](_0x441d9b=>({'name':_0x441d9b[_0x5b9322(0x292)](),'operation':_0x441d9b})),_0x3b08e2=filterApiOperations(_0x558972);_0x6f866e=_0x3b08e2[_0x5b9322(0x232)](_0x26c151=>_0x26c151[_0x5b9322(0x2b9)]),_0x6f866e=this[_0x5b9322(0x39e)](_0x6f866e);}return _0x2636e2[_0x5b9322(0x29d)]&&(_0x6f866e=_0x6f866e['filter'](_0x2636e2['customFilter'])),_0x6f866e;}[a0_0x14993a(0x39e)](_0x4eb75f){const _0x434e10=a0_0x14993a,_0x1bbda8=_0x4eb75f[_0x434e10(0x2b3)](_0x2bec05=>_0x2bec05['getName']()===_0x434e10(0x364)),_0x2adb45=_0x4eb75f[_0x434e10(0x364)](_0x11b240=>_0x11b240[_0x434e10(0x292)]()!==_0x434e10(0x364));return _0x1bbda8?[_0x1bbda8,..._0x2adb45]:_0x2adb45;}['getStats'](){const _0x1b2fab=a0_0x14993a,_0x2b7476=this['getEnabled']();return{'total':this['size'](),'enabled':_0x2b7476[_0x1b2fab(0x25a)],'disabled':this['size']()-_0x2b7476[_0x1b2fab(0x25a)],'byType':this[_0x1b2fab(0x465)](_0x2b7476),'byMethod':this['getCountByMethod'](_0x2b7476)};}['getCountByType'](_0x3e40ed){const _0x250917=a0_0x14993a,_0x30d0c3={};return _0x3e40ed[_0x250917(0x2db)](_0x15e9f4=>{const _0x5e35ce=_0x250917,_0x2a0b20=_0x15e9f4[_0x5e35ce(0x36b)]();_0x2a0b20&&(_0x30d0c3[_0x2a0b20]=(_0x30d0c3[_0x2a0b20]||0x0)+0x1);}),_0x30d0c3;}[a0_0x14993a(0x3d6)](_0x331cf5){const _0x5a57e8={};return _0x331cf5['forEach'](_0x583242=>{const _0x11ff53=a0_0x53f1,_0x2843f4=_0x583242[_0x11ff53(0x1d5)]();_0x2843f4&&(_0x5a57e8[_0x2843f4]=(_0x5a57e8[_0x2843f4]||0x0)+0x1);}),_0x5a57e8;}[Symbol[a0_0x14993a(0x2c9)]](){const _0x4680a3=a0_0x14993a;return this[_0x4680a3(0x39f)][_0x4680a3(0x200)]();}[a0_0x14993a(0x1c0)](){const _0x72a387=a0_0x14993a,_0x3cb7d0=this[_0x72a387(0x212)]();return'OperationList('+_0x3cb7d0[_0x72a387(0x354)]+'/'+_0x3cb7d0[_0x72a387(0x2b5)]+_0x72a387(0x202);}}class DBConfig{[a0_0x14993a(0x283)];[a0_0x14993a(0x2ef)];[a0_0x14993a(0x3ea)];[a0_0x14993a(0x237)];[a0_0x14993a(0x403)];[a0_0x14993a(0x1d7)];[a0_0x14993a(0x33a)];[a0_0x14993a(0x209)];[a0_0x14993a(0x36e)];[a0_0x14993a(0x1a9)];constructor(_0x12b840,_0x263e67){const _0xcacaf3=a0_0x14993a;this[_0xcacaf3(0x283)]=_0x263e67,this[_0xcacaf3(0x2ef)]=_0x12b840[_0xcacaf3(0x2ef)],this[_0xcacaf3(0x3ea)]=_0x12b840[_0xcacaf3(0x3ea)],this[_0xcacaf3(0x237)]=_0x12b840[_0xcacaf3(0x237)],this[_0xcacaf3(0x403)]=_0x12b840[_0xcacaf3(0x403)],this['tableName']=_0x12b840[_0xcacaf3(0x1d7)],this[_0xcacaf3(0x33a)]=_0x12b840[_0xcacaf3(0x33a)],this['pkField']=_0x12b840[_0xcacaf3(0x209)],this[_0xcacaf3(0x36e)]=_0x12b840[_0xcacaf3(0x36e)],this[_0xcacaf3(0x1a9)]=_0x12b840[_0xcacaf3(0x1a9)];}[a0_0x14993a(0x24b)](){const _0x4c9211=a0_0x14993a;return this[_0x4c9211(0x283)];}}class DrivenDataDetailBase extends DatasetItem{[a0_0x14993a(0x44d)];['_fieldList'];[a0_0x14993a(0x3ec)];constructor(_0x3c9bfe){const _0x430c2e=a0_0x14993a,_0x1459b4={..._0x3c9bfe};_0x1459b4['id']=_0x3c9bfe[_0x430c2e(0x23c)]||_0x3c9bfe['id'],_0x1459b4[_0x430c2e(0x452)]=_0x3c9bfe[_0x430c2e(0x457)]||_0x3c9bfe['datasetCode']||_0x3c9bfe[_0x430c2e(0x40a)],super(_0x1459b4);}[a0_0x14993a(0x220)](){return;}[a0_0x14993a(0x276)](){return[];}[a0_0x14993a(0x3ba)](){return[];}get[a0_0x14993a(0x1c1)](){const _0x3d130f=a0_0x14993a;return this[_0x3d130f(0x285)]();}[a0_0x14993a(0x3a9)](){const _0x32596f=a0_0x14993a;if(!this[_0x32596f(0x2f4)])throw new Error(_0x32596f(0x400));return this[_0x32596f(0x2f4)];}[a0_0x14993a(0x21e)](){const _0x419b66=a0_0x14993a;if(!this[_0x419b66(0x3ec)])throw new Error(_0x419b66(0x2c8));return this[_0x419b66(0x3ec)];}[a0_0x14993a(0x3df)](){return[];}['getFieldsWithDeleted'](){const _0x5734ff=a0_0x14993a,_0x1cfae4=this[_0x5734ff(0x265)]();return _0x1cfae4[_0x5734ff(0x26a)];}[a0_0x14993a(0x36f)](){const _0x3df070=a0_0x14993a;return this[_0x3df070(0x3df)]()['length'];}[a0_0x14993a(0x36a)](_0x16f220){const _0x20df66=a0_0x14993a,_0x23cf22=this[_0x20df66(0x41f)](_0x16f220);return _0x23cf22?_0x23cf22[_0x20df66(0x283)]:undefined;}[a0_0x14993a(0x2b4)](_0x4c45b6){return;}[a0_0x14993a(0x381)](_0x4c3838){const _0x439723=a0_0x14993a;if(!_0x4c3838||typeof _0x4c3838!==_0x439723(0x26f))return!![]&&console[_0x439723(0x3e9)](_0x439723(0x29b),_0x4c3838),{};if('pkField'in _0x4c3838){const _0x1858dd=_0x4c3838;return{'primaryKey':typeof _0x1858dd['pkField']==='boolean'?_0x1858dd['pkField']:Boolean(_0x1858dd[_0x439723(0x209)]),'required':_0x1858dd['required'],'systemRetain':Boolean(_0x1858dd[_0x439723(0x297)]),'autoIncrement':_0x1858dd[_0x439723(0x286)]??undefined};}if(!('extend'in _0x4c3838)||!_0x4c3838[_0x439723(0x23a)])return{};try{const _0x1f79e8=typeof _0x4c3838[_0x439723(0x23a)]===_0x439723(0x31b)?JSON[_0x439723(0x1b1)](_0x4c3838['extend']):_0x4c3838[_0x439723(0x23a)];if(typeof _0x1f79e8!==_0x439723(0x26f)||_0x1f79e8===null)return{};return _0x1f79e8;}catch{return{};}}[a0_0x14993a(0x218)](){const _0x2facc3=a0_0x14993a;if(!this[_0x2facc3(0x44d)]){const _0x343471=this[_0x2facc3(0x301)](this['getOperationsData']()||{});this['_operationList']=new OperationList(_0x343471,{'fields':this[_0x2facc3(0x3a9)]()[_0x2facc3(0x374)](),'pkField':this[_0x2facc3(0x369)][_0x2facc3(0x2c3)]?.[_0x2facc3(0x209)],'dbtableConfig':this['_raw'][_0x2facc3(0x2c3)]||null});}return this[_0x2facc3(0x44d)];}[a0_0x14993a(0x301)](_0x1cd741){const _0x22ac27=a0_0x14993a;if(_0x1cd741['filter']!==undefined)return _0x1cd741;return{..._0x1cd741,'filter':this[_0x22ac27(0x27b)]()};}[a0_0x14993a(0x27b)](){const _0x1d675c=a0_0x14993a,_0xbba53f=this[_0x1d675c(0x30c)]()?.[_0x1d675c(0x1bf)];let _0x523d22=_0xbba53f?.[_0x1d675c(0x30e)],_0x399afc='';if(!_0x523d22&&this[_0x1d675c(0x30c)]()){const _0x147ef8=Object[_0x1d675c(0x200)](this['getOperationsData']());for(const _0x109618 of _0x147ef8){if(_0x109618&&typeof _0x109618===_0x1d675c(0x26f)&&_0x1d675c(0x30e)in _0x109618){_0x523d22=_0x109618['host'];break;}}}if(_0xbba53f?.[_0x1d675c(0x1e0)]){const _0x12317b=_0xbba53f[_0x1d675c(0x1e0)],_0x17dc12=_0x12317b[_0x1d675c(0x38b)]('/');_0x17dc12!==-0x1&&(_0x399afc=_0x12317b[_0x1d675c(0x1c5)](0x0,_0x17dc12));}const _0x241869={};_0x241869[_0x1d675c(0x1f6)]=_0x1d675c(0x3da),_0x241869[_0x1d675c(0x1be)]=_0x1d675c(0x26f),_0x241869[_0x1d675c(0x213)]=![];const _0x569841={};_0x569841[_0x1d675c(0x1f6)]=_0x1d675c(0x410),_0x569841[_0x1d675c(0x1be)]=_0x1d675c(0x2ec),_0x569841[_0x1d675c(0x213)]=![];const _0x8dc80={};_0x8dc80[_0x1d675c(0x1f6)]=_0x1d675c(0x429),_0x8dc80['type']=_0x1d675c(0x2ec),_0x8dc80[_0x1d675c(0x213)]=![];const _0xaf1c75={};_0xaf1c75[_0x1d675c(0x1f6)]=_0x1d675c(0x267),_0xaf1c75[_0x1d675c(0x1be)]='number',_0xaf1c75['required']=![],_0xaf1c75[_0x1d675c(0x343)]=0x1;const _0x3d5b8d={};_0x3d5b8d[_0x1d675c(0x1f6)]=_0x1d675c(0x254),_0x3d5b8d[_0x1d675c(0x1be)]=_0x1d675c(0x378),_0x3d5b8d[_0x1d675c(0x213)]=![],_0x3d5b8d['default']=0xa;const _0x3db3c8={};return _0x3db3c8[_0x1d675c(0x1f6)]=_0x1d675c(0x364),_0x3db3c8[_0x1d675c(0x1be)]=_0x1d675c(0x1e8),_0x3db3c8['description']=_0x1d675c(0x3d1),_0x3db3c8[_0x1d675c(0x294)]=_0x1d675c(0x365),_0x3db3c8[_0x1d675c(0x30e)]=_0x523d22,_0x3db3c8[_0x1d675c(0x1e0)]=_0x399afc?_0x399afc+_0x1d675c(0x366):'/filter',_0x3db3c8[_0x1d675c(0x321)]=_0xbba53f?.['params']||[_0x241869,_0x569841,_0x8dc80,_0xaf1c75,_0x3d5b8d],_0x3db3c8[_0x1d675c(0x3b7)]=!![],_0x3db3c8;}[a0_0x14993a(0x445)](){const _0x3911f3=a0_0x14993a;return this[_0x3911f3(0x218)]()[_0x3911f3(0x305)]();}[a0_0x14993a(0x1e6)](){const _0x24afdc=a0_0x14993a;return this['getOperationList']()[_0x24afdc(0x26c)]();}[a0_0x14993a(0x2ed)](_0x4b8904){const _0x442774=a0_0x14993a;if(typeof _0x4b8904!==_0x442774(0x31b)){!![]&&console[_0x442774(0x3e9)](_0x442774(0x3c0),_0x4b8904);return;}return this[_0x442774(0x218)]()[_0x442774(0x3dc)](_0x4b8904);}['hasOperation'](_0x46fe26){const _0x424728=a0_0x14993a;if(typeof _0x46fe26!==_0x424728(0x31b))return![];return this[_0x424728(0x218)]()[_0x424728(0x1ce)](_0x46fe26);}[a0_0x14993a(0x245)](_0x5359a6){const _0x196fba=a0_0x14993a;if(typeof _0x5359a6!=='string')return![];const _0xc6da80=this[_0x196fba(0x2ed)](_0x5359a6);return _0xc6da80?.[_0x196fba(0x2dd)]()||![];}[a0_0x14993a(0x2bc)](){const _0x5cc754=a0_0x14993a;return this[_0x5cc754(0x218)]()['getEnabledNames']();}['getDisabledOperations'](){const _0x225eb3=a0_0x14993a;return this[_0x225eb3(0x218)]()[_0x225eb3(0x41c)]();}[a0_0x14993a(0x35b)](){const _0x29140b=a0_0x14993a;return this['getOperationList']()[_0x29140b(0x24d)]();}[a0_0x14993a(0x1b8)](){const _0x2ef973=a0_0x14993a;return this[_0x2ef973(0x218)]()[_0x2ef973(0x41a)]();}[a0_0x14993a(0x223)](_0x3e1adc={}){const _0x264f36=a0_0x14993a;return this[_0x264f36(0x218)]()['getFiltered'](_0x3e1adc);}[a0_0x14993a(0x212)](){const _0x464b72=a0_0x14993a;return{'fieldCount':this[_0x464b72(0x36f)](),'systemFieldCount':this[_0x464b72(0x3bf)]()['length'],'businessFieldCount':this[_0x464b72(0x28b)]()[_0x464b72(0x25a)],'requiredFieldCount':this['getRequiredFields']()[_0x464b72(0x25a)],'primaryKeyCount':this['getPrimaryKeyFields']()[_0x464b72(0x25a)],'operationCount':this[_0x464b72(0x1e6)](),'enabledOperationCount':this[_0x464b72(0x2bc)]()[_0x464b72(0x25a)]};}[a0_0x14993a(0x3c8)](_0x4b0f34){const _0x2656e0=a0_0x14993a;if(!_0x4b0f34||typeof _0x4b0f34!==_0x2656e0(0x26f))return'';if('code'in _0x4b0f34&&typeof _0x4b0f34[_0x2656e0(0x40a)]===_0x2656e0(0x31b))return _0x4b0f34[_0x2656e0(0x40a)];if(_0x2656e0(0x1f6)in _0x4b0f34&&typeof _0x4b0f34[_0x2656e0(0x1f6)]==='string')return _0x4b0f34[_0x2656e0(0x1f6)];return'';}['hasField'](_0x287d2c){const _0xb0c17d=a0_0x14993a;return this['getFieldList']()[_0xb0c17d(0x1ce)](_0x287d2c);}[a0_0x14993a(0x2d5)](_0x11ac24){const _0xf29a96=a0_0x14993a;if(!_0x11ac24||typeof _0x11ac24!==_0xf29a96(0x26f))return![];const _0x30a75d=this[_0xf29a96(0x3c8)](_0x11ac24),_0xf8909b=this[_0xf29a96(0x41f)](_0x30a75d);return _0xf8909b?_0xf8909b[_0xf29a96(0x216)]():![];}['isSystemField'](_0x445922){const _0x235a49=a0_0x14993a;if(!_0x445922||typeof _0x445922!==_0x235a49(0x26f))return![];const _0x3e518b=this[_0x235a49(0x3c8)](_0x445922),_0x2c7b8d=this[_0x235a49(0x41f)](_0x3e518b);return _0x2c7b8d?_0x2c7b8d[_0x235a49(0x3e1)]():![];}['isRequiredField'](_0x49740f){const _0x21b683=a0_0x14993a;if(!_0x49740f||typeof _0x49740f!==_0x21b683(0x26f))return![];const _0x39fd28=this['getFieldCode'](_0x49740f),_0x14b92a=this[_0x21b683(0x41f)](_0x39fd28);return _0x14b92a?_0x14b92a[_0x21b683(0x1c9)]():![];}[a0_0x14993a(0x2d1)](_0x386ac0){const _0x105b00=a0_0x14993a;if(!_0x386ac0||typeof _0x386ac0!==_0x105b00(0x26f))return![];const _0x5b5fdc=this['getFieldCode'](_0x386ac0),_0xd5454c=this[_0x105b00(0x41f)](_0x5b5fdc);return _0xd5454c?_0xd5454c[_0x105b00(0x1dd)]():![];}[a0_0x14993a(0x2b2)](_0x408e29){const _0x133469=a0_0x14993a;if(!_0x408e29||typeof _0x408e29!==_0x133469(0x26f))return![];const _0x1971a7=this[_0x133469(0x3c8)](_0x408e29),_0x47830c=this[_0x133469(0x41f)](_0x1971a7);return _0x47830c?_0x47830c[_0x133469(0x3d3)]():![];}[a0_0x14993a(0x2d4)](_0x43d9cb){const _0x991196=a0_0x14993a;if(!_0x43d9cb||typeof _0x43d9cb!==_0x991196(0x26f))return[];const _0x524fb2=this[_0x991196(0x3c8)](_0x43d9cb),_0x43b3d7=this[_0x991196(0x41f)](_0x524fb2);if(!_0x43b3d7||!_0x43b3d7[_0x991196(0x1dd)]())return[];return _0x43b3d7[_0x991196(0x252)]()||[];}[a0_0x14993a(0x2c5)](_0x4adfe3){const _0xf73de4=a0_0x14993a;if(!_0x4adfe3||typeof _0x4adfe3!=='object')return;const _0x4f9bce=this[_0xf73de4(0x3c8)](_0x4adfe3),_0x3f47a4=this[_0xf73de4(0x41f)](_0x4f9bce);if(!_0x3f47a4||!_0x3f47a4[_0xf73de4(0x1dd)]())return;return _0x3f47a4[_0xf73de4(0x1e9)]();}[a0_0x14993a(0x31a)](_0x2bb3c2){const _0x5bc406=a0_0x14993a;if(!_0x2bb3c2||typeof _0x2bb3c2!==_0x5bc406(0x26f))return;const _0x4a3192=this[_0x5bc406(0x3c8)](_0x2bb3c2),_0xa2cdbc=this[_0x5bc406(0x41f)](_0x4a3192);if(!_0xa2cdbc||!_0xa2cdbc[_0x5bc406(0x1dd)]())return;return _0xa2cdbc['getEnumMeta']();}[a0_0x14993a(0x1bc)](){const _0x5467e9=a0_0x14993a;return this[_0x5467e9(0x3a9)]()[_0x5467e9(0x20a)]()['map'](_0x5c06f2=>_0x5c06f2[_0x5467e9(0x283)]);}[a0_0x14993a(0x3bf)](){const _0x3e0960=a0_0x14993a;return this[_0x3e0960(0x3a9)]()[_0x3e0960(0x42f)]()['map'](_0x196811=>_0x196811[_0x3e0960(0x283)]);}[a0_0x14993a(0x28b)](){const _0x2903b7=a0_0x14993a;return this[_0x2903b7(0x3a9)]()[_0x2903b7(0x241)]()['map'](_0x342303=>_0x342303[_0x2903b7(0x283)]);}[a0_0x14993a(0x3bb)](){const _0x5720a2=a0_0x14993a;return this[_0x5720a2(0x3a9)]()['getRequired']()[_0x5720a2(0x232)](_0x4d5760=>_0x4d5760['raw']);}[a0_0x14993a(0x1d9)](){const _0x45dd93=a0_0x14993a,_0xdc1dbc=this[_0x45dd93(0x3a9)]()[_0x45dd93(0x26b)](),_0x40883c={};for(const [_0x3352d7,_0x14dd7f]of Object['entries'](_0xdc1dbc)){_0x40883c[_0x3352d7]=_0x14dd7f[_0x45dd93(0x232)](_0x1c648e=>_0x1c648e['raw']);}return _0x40883c;}[a0_0x14993a(0x40f)](){const _0x5018d7=a0_0x14993a;return this['getFieldList']()[_0x5018d7(0x271)]()['map'](_0xf26607=>_0xf26607[_0x5018d7(0x283)]);}[a0_0x14993a(0x2e2)](){const _0x5a311f=a0_0x14993a,_0x41ca3d={};return this[_0x5a311f(0x40f)]()[_0x5a311f(0x2db)](_0x15827d=>{const _0x59ba9c=_0x5a311f,_0x1f99ac=this[_0x59ba9c(0x31a)](_0x15827d);if(_0x1f99ac){const _0x21c97c=this[_0x59ba9c(0x3c8)](_0x15827d);_0x41ca3d[_0x21c97c]=_0x1f99ac;}}),_0x41ca3d;}['validateEnumValue'](_0x180419,_0x3211c9){const _0x44d88d=a0_0x14993a,_0x5306a3=this['getEnumFieldMeta'](_0x180419);if(!_0x5306a3)return!![];if(_0x5306a3[_0x44d88d(0x467)]&&!_0x5306a3[_0x44d88d(0x268)])return!![];const _0x360b8c=this['getFieldCode'](_0x180419),_0x2bf7ae=this[_0x44d88d(0x41f)](_0x360b8c),_0x3624cf=_0x2bf7ae?_0x2bf7ae['isMultipleSelect']():![];if(_0x3624cf&&Array['isArray'](_0x3211c9))return _0x3211c9[_0x44d88d(0x21a)](_0x2216fa=>_0x5306a3['values'][_0x44d88d(0x32f)](_0x2216fa));return _0x5306a3[_0x44d88d(0x200)][_0x44d88d(0x32f)](_0x3211c9);}[a0_0x14993a(0x1f5)](){const _0x1f0210=a0_0x14993a;return new DatasetItem({'id':this['id'],'name':this[_0x1f0210(0x1f6)],'datasetCode':this[_0x1f0210(0x452)],'dbtableConfig':this['getRawDbtableConfig']()});}[a0_0x14993a(0x1c0)](){const _0x4abdd3=a0_0x14993a;return'DrivenDataDetail('+this['name']+',\x20'+this[_0x4abdd3(0x452)]+',\x20'+this[_0x4abdd3(0x36f)]()+_0x4abdd3(0x394)+this['getOperationCount']()+_0x4abdd3(0x1a4)+this[_0x4abdd3(0x3b1)]()+')';}[a0_0x14993a(0x419)](){const _0x13969a=a0_0x14993a;return this[_0x13969a(0x2a0)](_0x13969a(0x364));}[a0_0x14993a(0x1f8)](_0xf69a42){return this['getOperationFieldOperators']('filter',_0xf69a42);}['getFieldsFilterOperatorsMap'](){const _0x3860a3=a0_0x14993a;return this[_0x3860a3(0x355)](_0x3860a3(0x364));}[a0_0x14993a(0x2a0)](_0x3b9700){const _0xccef70=a0_0x14993a,_0x485ef5=this[_0xccef70(0x2ed)](_0x3b9700);return _0x485ef5?_0x485ef5[_0xccef70(0x204)]():[];}[a0_0x14993a(0x23e)](_0x246ef6,_0x4e2c34){const _0x2aa75c=a0_0x14993a,_0x50ee58=this[_0x2aa75c(0x2ed)](_0x246ef6);return _0x50ee58?_0x50ee58[_0x2aa75c(0x33d)](_0x4e2c34):[];}[a0_0x14993a(0x355)](_0x207bd7){const _0x44b64e=a0_0x14993a,_0x36ab33={};return this[_0x44b64e(0x3a9)]()[_0x44b64e(0x2db)](_0x4541e4=>{const _0x237e91=_0x44b64e,_0x45a43e=this[_0x237e91(0x23e)](_0x207bd7,_0x4541e4[_0x237e91(0x40a)]);_0x45a43e[_0x237e91(0x25a)]>0x0&&(_0x36ab33[_0x4541e4['code']]=_0x45a43e);}),_0x36ab33;}['isOperatorApplicableToField'](_0x2fd010,_0x31c8f3,_0x3321e6){const _0x3755a2=a0_0x14993a,_0x34508a=this[_0x3755a2(0x23e)](_0x2fd010,_0x31c8f3);return _0x34508a[_0x3755a2(0x32f)](_0x3321e6);}}class FieldBase{get[a0_0x14993a(0x237)](){return;}get[a0_0x14993a(0x3ef)](){return;}get[a0_0x14993a(0x3b2)](){return;}get[a0_0x14993a(0x1ca)](){return;}['isBusiness'](){const _0x1dbaa2=a0_0x14993a;return!this[_0x1dbaa2(0x3e1)]();}[a0_0x14993a(0x34f)](){const _0x36923b=a0_0x14993a;return this[_0x36923b(0x2fb)];}[a0_0x14993a(0x1dd)](){const _0x4fd14d=a0_0x14993a,_0x15a2ef=[_0x4fd14d(0x2c4),_0x4fd14d(0x33e),'CHECKBOX'];return _0x15a2ef['includes'](this['type']);}[a0_0x14993a(0x3d3)](){const _0x36e3d3=a0_0x14993a;return this['type']===_0x36e3d3(0x227);}[a0_0x14993a(0x3e7)](){const _0x3726ee=a0_0x14993a,_0x311f8a=this[_0x3726ee(0x2f1)]();return _0x311f8a?.[_0x3726ee(0x200)]||[];}[a0_0x14993a(0x2f1)](){const _0x56817b=a0_0x14993a;if(!this['isEnum']())return;const _0x2c8e03=this['getEnumOptions'](),_0x39fc0e=this[_0x56817b(0x1e9)](),_0x37a4de=[],_0x3fe0af={},_0x25596e=_0x3a58fd=>{const _0x22bdee=_0x56817b;_0x3a58fd[_0x22bdee(0x2db)](_0xa3055e=>{const _0x536ffc=_0x22bdee;if(!_0xa3055e||typeof _0xa3055e!==_0x536ffc(0x26f))return;_0xa3055e[_0x536ffc(0x30f)]!==undefined&&_0xa3055e[_0x536ffc(0x30f)]!==null&&(_0x37a4de[_0x536ffc(0x2dc)](_0xa3055e[_0x536ffc(0x30f)]),_0x3fe0af[String(_0xa3055e[_0x536ffc(0x30f)])]=_0xa3055e[_0x536ffc(0x40c)]||''),_0xa3055e[_0x536ffc(0x3c9)]&&Array[_0x536ffc(0x3a3)](_0xa3055e[_0x536ffc(0x3c9)])&&_0xa3055e[_0x536ffc(0x3c9)][_0x536ffc(0x25a)]>0x0&&_0x25596e(_0xa3055e['children']);});};return _0x2c8e03&&Array[_0x56817b(0x3a3)](_0x2c8e03)&&_0x2c8e03[_0x56817b(0x25a)]>0x0&&_0x25596e(_0x2c8e03),{'code':this[_0x56817b(0x40a)],'name':this[_0x56817b(0x1f6)],'type':this[_0x56817b(0x1be)],'multiple':this['isMultipleSelect'](),'options':_0x2c8e03,'selectItemsSource':_0x39fc0e,'values':_0x37a4de,'valueLabels':_0x3fe0af};}get['enumValues'](){const _0x5a1ec3=a0_0x14993a;return this[_0x5a1ec3(0x3e7)]();}[a0_0x14993a(0x1c0)](){const _0x22ddef=a0_0x14993a;return _0x22ddef(0x35c)+this[_0x22ddef(0x1f6)]+',\x20'+this['code']+',\x20'+this['type']+',\x20'+this[_0x22ddef(0x3b1)]()+')';}}class FieldV1 extends FieldBase{[a0_0x14993a(0x369)];[a0_0x14993a(0x266)]=null;constructor(_0x2639cb){const _0x390163=a0_0x14993a;super();if(!_0x2639cb||typeof _0x2639cb!==_0x390163(0x26f))throw new Error(_0x390163(0x1ef));this['_raw']=_0x2639cb;}['toFieldDefinition'](){const _0xd50663=a0_0x14993a;return this[_0xd50663(0x369)];}['getVersion'](){return'v1';}get[a0_0x14993a(0x283)](){const _0x11299b=a0_0x14993a;return this[_0x11299b(0x369)];}get['name'](){return this['_raw']['name']||'';}get[a0_0x14993a(0x40a)](){const _0x26f0bc=a0_0x14993a;return this['_raw'][_0x26f0bc(0x40a)]||'';}get[a0_0x14993a(0x1be)](){const _0x1f71a9=a0_0x14993a;return this[_0x1f71a9(0x369)]['type']||'';}get[a0_0x14993a(0x226)](){return this['_raw']['description']||'';}get['deleted'](){const _0x27f9b1=a0_0x14993a;return Boolean(this['_raw'][_0x27f9b1(0x2fb)]);}get[a0_0x14993a(0x237)](){const _0x1cd5b2=a0_0x14993a;return this[_0x1cd5b2(0x369)][_0x1cd5b2(0x237)];}get[a0_0x14993a(0x3ef)](){const _0x5253bd=a0_0x14993a;return this[_0x5253bd(0x369)][_0x5253bd(0x3ef)];}get['displayName'](){const _0xff9e7c=a0_0x14993a;return this[_0xff9e7c(0x369)][_0xff9e7c(0x2f0)];}get[a0_0x14993a(0x1ca)](){return;}get[a0_0x14993a(0x23a)](){const _0x52e63a=a0_0x14993a;if(this[_0x52e63a(0x266)]!==null&&typeof this[_0x52e63a(0x266)]===_0x52e63a(0x26f))return this[_0x52e63a(0x266)];const _0xf3374a=this[_0x52e63a(0x369)][_0x52e63a(0x23a)];if(!_0xf3374a||typeof _0xf3374a!==_0x52e63a(0x31b))return this[_0x52e63a(0x266)]={},this['_extend'];if(_0xf3374a===_0x52e63a(0x2d7)||_0xf3374a[_0x52e63a(0x1d6)]()==='null')return this[_0x52e63a(0x266)]={},this[_0x52e63a(0x266)];try{const _0x2ae485=JSON['parse'](_0xf3374a);return this['_extend']=_0x2ae485!==null&&typeof _0x2ae485===_0x52e63a(0x26f)&&!Array[_0x52e63a(0x3a3)](_0x2ae485)?_0x2ae485:{},this[_0x52e63a(0x266)];}catch(_0x2deaed){return!![]&&console[_0x52e63a(0x3e9)](_0x52e63a(0x1b6)+this[_0x52e63a(0x40a)]+_0x52e63a(0x310),_0x2deaed),this[_0x52e63a(0x266)]={},this[_0x52e63a(0x266)];}}['isRequired'](){const _0xfbb07a=a0_0x14993a;return Boolean(this[_0xfbb07a(0x23a)]['required']);}[a0_0x14993a(0x216)](){const _0x42cea6=a0_0x14993a;return Boolean(this[_0x42cea6(0x23a)][_0x42cea6(0x372)]||this[_0x42cea6(0x23a)][_0x42cea6(0x209)]);}[a0_0x14993a(0x3e1)](){const _0x22fdca=a0_0x14993a;return Boolean(this[_0x22fdca(0x23a)][_0x22fdca(0x297)]);}['isAutoIncrement'](){const _0x5a9336=a0_0x14993a;return Boolean(this[_0x5a9336(0x23a)][_0x5a9336(0x286)]);}['isCreateTime'](){const _0x1ce794=a0_0x14993a;return Boolean(this[_0x1ce794(0x23a)]['createTime']);}[a0_0x14993a(0x43f)](){const _0x151cf6=a0_0x14993a;return Boolean(this[_0x151cf6(0x23a)][_0x151cf6(0x30d)]);}['getDisplayName'](){const _0x4295d7=a0_0x14993a;return this[_0x4295d7(0x1f6)];}['getFieldName'](){return this['code'];}[a0_0x14993a(0x1dd)](){const _0x36f107=a0_0x14993a,_0x4a5c4f=['RADIO',_0x36f107(0x33e),_0x36f107(0x227)];if(_0x4a5c4f[_0x36f107(0x32f)](this['type']))return!![];const _0x3b5c67=this[_0x36f107(0x23a)];return Boolean(_0x3b5c67[_0x36f107(0x268)]&&Array[_0x36f107(0x3a3)](_0x3b5c67[_0x36f107(0x268)])&&_0x3b5c67[_0x36f107(0x268)][_0x36f107(0x25a)]>0x0||_0x3b5c67['selectItemsSource']);}['isMultipleSelect'](){const _0x5d0ff6=a0_0x14993a;if(this[_0x5d0ff6(0x1be)]===_0x5d0ff6(0x227))return!![];return Boolean(this['extend']['multiple']);}[a0_0x14993a(0x252)](){const _0x47e9d0=a0_0x14993a,_0x2f5d42=this[_0x47e9d0(0x23a)];if(_0x2f5d42[_0x47e9d0(0x268)]&&Array[_0x47e9d0(0x3a3)](_0x2f5d42[_0x47e9d0(0x268)]))return _0x2f5d42[_0x47e9d0(0x268)];return;}[a0_0x14993a(0x1e9)](){const _0xecac99=a0_0x14993a,_0x31e603=this[_0xecac99(0x23a)];if(_0x31e603[_0xecac99(0x467)]&&typeof _0x31e603[_0xecac99(0x467)]===_0xecac99(0x26f))return _0x31e603[_0xecac99(0x467)];return;}[a0_0x14993a(0x444)](){const _0xa69a13=a0_0x14993a;return this['type'][_0xa69a13(0x33f)]();}[a0_0x14993a(0x231)](){const _0x1b7826=a0_0x14993a;return this[_0x1b7826(0x23a)]['defaultValue'];}[a0_0x14993a(0x385)](){const _0x36d1b2=a0_0x14993a;return this[_0x36d1b2(0x23a)]['tooltip'];}[a0_0x14993a(0x30a)](){const _0x5eafa5=a0_0x14993a;return{'name':this[_0x5eafa5(0x1f6)],'code':this[_0x5eafa5(0x40a)],'type':this[_0x5eafa5(0x1be)],'dbType':this['dbType'],'dbTypeLen':this[_0x5eafa5(0x3ef)],'description':this[_0x5eafa5(0x226)],'required':this[_0x5eafa5(0x1c9)](),'primaryKey':this[_0x5eafa5(0x216)](),'system':this[_0x5eafa5(0x3e1)](),'autoIncrement':this[_0x5eafa5(0x45a)](),'createTime':this[_0x5eafa5(0x388)](),'updateTime':this[_0x5eafa5(0x43f)](),'isEnum':this['isEnum'](),'enumMeta':this['isEnum']()?this[_0x5eafa5(0x2f1)]():undefined};}[a0_0x14993a(0x1c0)](){const _0x144194=a0_0x14993a;return _0x144194(0x44a)+this['name']+',\x20'+this[_0x144194(0x40a)]+',\x20'+this[_0x144194(0x1be)]+')';}}class FieldListBase{['_fields'];constructor(_0x2c4fa0,_0x76d995){const _0x2e086c=a0_0x14993a,_0x3193c9=Array['isArray'](_0x2c4fa0)?_0x2c4fa0:[],_0x22cab2=_0x76d995?.[_0x2e086c(0x2d2)]??![],_0x2172d1=_0x22cab2?_0x3193c9:_0x3193c9['filter'](_0x362789=>{const _0x5ab0ce=_0x2e086c;if(!_0x362789||typeof _0x362789!=='object')return![];const _0x5e0fd9=_0x362789;return!_0x5e0fd9[_0x5ab0ce(0x2fb)];});this[_0x2e086c(0x327)]=this[_0x2e086c(0x3f6)](_0x2172d1);}get[a0_0x14993a(0x25a)](){const _0x3e78c8=a0_0x14993a;return this[_0x3e78c8(0x327)][_0x3e78c8(0x25a)];}[a0_0x14993a(0x374)](){const _0x50a531=a0_0x14993a;return[...this[_0x50a531(0x327)]];}['at'](_0xcf3f8b){const _0x238b35=a0_0x14993a;return this[_0x238b35(0x327)]['at'](_0xcf3f8b);}['find'](_0x10907e){const _0x21ce18=a0_0x14993a;return this[_0x21ce18(0x327)]['find'](_0x42baf4=>_0x42baf4[_0x21ce18(0x40a)]===_0x10907e);}[a0_0x14993a(0x314)](_0x28396f){const _0x3ddff7=a0_0x14993a;return this['_fields'][_0x3ddff7(0x2b3)](_0x2cd431=>_0x2cd431[_0x3ddff7(0x1f6)]===_0x28396f);}[a0_0x14993a(0x1ce)](_0x388871){const _0x421dde=a0_0x14993a;return this[_0x421dde(0x327)][_0x421dde(0x300)](_0xae9563=>_0xae9563['code']===_0x388871);}[a0_0x14993a(0x2db)](_0x4f71dc){const _0x2bc3ea=a0_0x14993a;this[_0x2bc3ea(0x327)]['forEach'](_0x4f71dc);}[a0_0x14993a(0x232)](_0x487cea){const _0x53d115=a0_0x14993a;return this['_fields'][_0x53d115(0x232)](_0x487cea);}['filter'](_0x5d34be){const _0x16bb0c=a0_0x14993a;return this[_0x16bb0c(0x327)][_0x16bb0c(0x364)](_0x5d34be);}[a0_0x14993a(0x21a)](_0x1833e7){const _0x3f8048=a0_0x14993a;return this[_0x3f8048(0x327)][_0x3f8048(0x21a)](_0x1833e7);}[a0_0x14993a(0x300)](_0x2551a2){const _0x339313=a0_0x14993a;return this[_0x339313(0x327)]['some'](_0x2551a2);}[a0_0x14993a(0x1ff)](){const _0x2645aa=a0_0x14993a;return this['_fields'][_0x2645aa(0x364)](_0x4764e3=>_0x4764e3[_0x2645aa(0x1c9)]());}[a0_0x14993a(0x20a)](){const _0x47b9a6=a0_0x14993a;return this['_fields'][_0x47b9a6(0x364)](_0xacd1eb=>_0xacd1eb[_0x47b9a6(0x216)]());}[a0_0x14993a(0x42f)](){const _0x4d7c1f=a0_0x14993a;return this[_0x4d7c1f(0x327)][_0x4d7c1f(0x364)](_0xf2069d=>_0xf2069d['isSystem']());}[a0_0x14993a(0x241)](){const _0x60a63c=a0_0x14993a;return this[_0x60a63c(0x327)][_0x60a63c(0x364)](_0x33323f=>_0x33323f['isBusiness']());}[a0_0x14993a(0x271)](){const _0x598c26=a0_0x14993a;return this[_0x598c26(0x327)][_0x598c26(0x364)](_0x1bbdfd=>_0x1bbdfd[_0x598c26(0x1dd)]());}[a0_0x14993a(0x443)](){const _0x574fd6=a0_0x14993a;return this['_fields'][_0x574fd6(0x364)](_0x4f6a0a=>_0x4f6a0a[_0x574fd6(0x45a)]());}[a0_0x14993a(0x24e)](){const _0x28818d=a0_0x14993a;return this[_0x28818d(0x327)][_0x28818d(0x364)](_0x493630=>_0x493630[_0x28818d(0x388)]());}['getUpdateTime'](){const _0x50ab08=a0_0x14993a;return this['_fields'][_0x50ab08(0x364)](_0x287d8c=>_0x287d8c['isUpdateTime']());}['getDeleted'](){const _0x3cf63d=a0_0x14993a;return this[_0x3cf63d(0x327)][_0x3cf63d(0x364)](_0xff5381=>_0xff5381[_0x3cf63d(0x34f)]());}[a0_0x14993a(0x363)](){const _0x1be227=a0_0x14993a;return this['_fields'][_0x1be227(0x364)](_0x4de698=>!_0x4de698['isDeleted']());}[a0_0x14993a(0x26b)](){const _0x6b46b4=a0_0x14993a,_0x51f9ea={};return this['_fields'][_0x6b46b4(0x2db)](_0x291143=>{const _0x8c919c=_0x6b46b4,_0x5ecefb=_0x291143['type'];!_0x51f9ea[_0x5ecefb]&&(_0x51f9ea[_0x5ecefb]=[]),_0x51f9ea[_0x5ecefb][_0x8c919c(0x2dc)](_0x291143);}),_0x51f9ea;}['getEnumMetas'](){const _0x2be90b=a0_0x14993a,_0xb7de95={};return this[_0x2be90b(0x327)][_0x2be90b(0x2db)](_0x33b806=>{const _0x3474c6=_0x2be90b;if(_0x33b806[_0x3474c6(0x1dd)]()){const _0x4e2000=_0x33b806[_0x3474c6(0x2f1)]();_0x4e2000&&(_0xb7de95[_0x33b806[_0x3474c6(0x40a)]]=_0x4e2000);}}),_0xb7de95;}['getStats'](){const _0x27a287=a0_0x14993a;return{'total':this[_0x27a287(0x25a)],'required':this[_0x27a287(0x1ff)]()['length'],'primaryKey':this['getPrimaryKeys']()['length'],'system':this[_0x27a287(0x42f)]()[_0x27a287(0x25a)],'business':this[_0x27a287(0x241)]()['length'],'enum':this[_0x27a287(0x271)]()[_0x27a287(0x25a)],'autoIncrement':this[_0x27a287(0x443)]()['length']};}[a0_0x14993a(0x3e3)](){const _0x4a58ae=a0_0x14993a;return this[_0x4a58ae(0x327)]['map'](_0x49f6f1=>_0x49f6f1[_0x4a58ae(0x40a)]);}['getNames'](){const _0x5b6136=a0_0x14993a;return this[_0x5b6136(0x327)]['map'](_0xf66aca=>_0xf66aca[_0x5b6136(0x2ca)]());}['getFieldNames'](){const _0x2481f7=a0_0x14993a;return this[_0x2481f7(0x327)][_0x2481f7(0x232)](_0x4eab8b=>_0x4eab8b[_0x2481f7(0x341)]());}['toJSON'](){const _0x4bb9e8=a0_0x14993a;return this['_fields'][_0x4bb9e8(0x232)](_0x182dfb=>_0x182dfb[_0x4bb9e8(0x30a)]());}['toString'](){const _0x493849=a0_0x14993a;return'FieldList('+this[_0x493849(0x25a)]+_0x493849(0x412);}}class FieldListV1 extends FieldListBase{constructor(_0x5f4d83,_0x156795){super(_0x5f4d83,_0x156795);}[a0_0x14993a(0x3f6)](_0x925b05){return _0x925b05['map'](_0x2d9fae=>new FieldV1(_0x2d9fae));}[a0_0x14993a(0x374)](){return[...this['_fields']];}['at'](_0x36138c){const _0x5c1e28=a0_0x14993a;return this[_0x5c1e28(0x327)]['at'](_0x36138c);}['find'](_0x47b148){const _0x78f14a=a0_0x14993a;return this[_0x78f14a(0x327)]['find'](_0x5baeb2=>_0x5baeb2[_0x78f14a(0x40a)]===_0x47b148);}[a0_0x14993a(0x314)](_0x4e0686){const _0x120dcc=a0_0x14993a;return this[_0x120dcc(0x327)][_0x120dcc(0x2b3)](_0x1675ad=>_0x1675ad[_0x120dcc(0x1f6)]===_0x4e0686);}[a0_0x14993a(0x364)](_0x5e9c2c){const _0x302751=a0_0x14993a;return this[_0x302751(0x327)][_0x302751(0x364)](_0x5e9c2c);}[a0_0x14993a(0x232)](_0x315c51){const _0x58c36e=a0_0x14993a;return this[_0x58c36e(0x327)][_0x58c36e(0x232)](_0x315c51);}[a0_0x14993a(0x1ff)](){const _0x5deb1c=a0_0x14993a;return this[_0x5deb1c(0x327)][_0x5deb1c(0x364)](_0x143844=>_0x143844['isRequired']());}['getPrimaryKeys'](){const _0x3eda4a=a0_0x14993a;return this[_0x3eda4a(0x327)][_0x3eda4a(0x364)](_0x384afc=>_0x384afc[_0x3eda4a(0x216)]());}[a0_0x14993a(0x42f)](){const _0x2cd8b5=a0_0x14993a;return this[_0x2cd8b5(0x327)][_0x2cd8b5(0x364)](_0x55ef94=>_0x55ef94[_0x2cd8b5(0x3e1)]());}[a0_0x14993a(0x241)](){const _0x94ff13=a0_0x14993a;return this[_0x94ff13(0x327)][_0x94ff13(0x364)](_0x1aaf72=>_0x1aaf72[_0x94ff13(0x2cd)]());}[a0_0x14993a(0x271)](){const _0x4c9514=a0_0x14993a;return this[_0x4c9514(0x327)][_0x4c9514(0x364)](_0x5b324b=>_0x5b324b[_0x4c9514(0x1dd)]());}[a0_0x14993a(0x26b)](){const _0x12d454=a0_0x14993a,_0x2065fd={};return this['_fields'][_0x12d454(0x2db)](_0xaef629=>{const _0x436367=_0x12d454,_0x39e42c=_0xaef629['type'];!_0x2065fd[_0x39e42c]&&(_0x2065fd[_0x39e42c]=[]),_0x2065fd[_0x39e42c][_0x436367(0x2dc)](_0xaef629);}),_0x2065fd;}['raw'](){const _0x4d1bae=a0_0x14993a;return this[_0x4d1bae(0x327)][_0x4d1bae(0x232)](_0x279abc=>_0x279abc[_0x4d1bae(0x283)]);}static[a0_0x14993a(0x32c)](_0x336b7b){const _0x4f8590=a0_0x14993a,_0x4ab0a7=_0x336b7b['map'](_0x1159ec=>_0x1159ec[_0x4f8590(0x283)]);return new FieldListV1(_0x4ab0a7);}static['withDeleted'](_0x1e1a7a){const _0x20c827={};return _0x20c827['includeDeleted']=!![],new FieldListV1(_0x1e1a7a,_0x20c827);}}class FieldV2 extends FieldBase{[a0_0x14993a(0x369)];constructor(_0x41f101){const _0x38e2c3=a0_0x14993a;super();if(!_0x41f101||typeof _0x41f101!==_0x38e2c3(0x26f))throw new Error(_0x38e2c3(0x3a2));this[_0x38e2c3(0x369)]=_0x41f101;}[a0_0x14993a(0x3b1)](){return'v2';}get[a0_0x14993a(0x283)](){return this['_raw'];}get[a0_0x14993a(0x1f6)](){const _0x311ee2=a0_0x14993a;return this[_0x311ee2(0x369)][_0x311ee2(0x1f6)]||'';}get[a0_0x14993a(0x40a)](){const _0x294eab=a0_0x14993a;return this['_raw'][_0x294eab(0x1f6)]||'';}get[a0_0x14993a(0x3b2)](){const _0x429eeb=a0_0x14993a;return this[_0x429eeb(0x369)][_0x429eeb(0x3b2)]||'';}get['type'](){const _0x1f878c=a0_0x14993a;if(this[_0x1f878c(0x369)][_0x1f878c(0x1ca)])return this['_raw']['doType'];return this['mapDbTypeToType'](this[_0x1f878c(0x369)][_0x1f878c(0x237)]);}get[a0_0x14993a(0x226)](){const _0x27f450=a0_0x14993a;return this[_0x27f450(0x369)][_0x27f450(0x226)]||'';}get['deleted'](){const _0x5e3fe5=a0_0x14993a;return Boolean(this['_raw'][_0x5e3fe5(0x2fb)]);}[a0_0x14993a(0x1c9)](){const _0x8c3ec7=a0_0x14993a;return Boolean(this['_raw'][_0x8c3ec7(0x213)]);}[a0_0x14993a(0x216)](){const _0x3bdf08=a0_0x14993a;return Boolean(this['_raw'][_0x3bdf08(0x209)]);}[a0_0x14993a(0x3e1)](){const _0x207cbe=a0_0x14993a;return Boolean(this[_0x207cbe(0x369)][_0x207cbe(0x297)]);}[a0_0x14993a(0x45a)](){const _0x36d092=a0_0x14993a;return Boolean(this[_0x36d092(0x369)][_0x36d092(0x286)]);}[a0_0x14993a(0x388)](){const _0x227ac2=a0_0x14993a;return this[_0x227ac2(0x369)]['systemRetain']===_0x227ac2(0x1df);}[a0_0x14993a(0x43f)](){const _0x4e4b32=a0_0x14993a;return this['_raw'][_0x4e4b32(0x297)]==='updateTime';}[a0_0x14993a(0x2ca)](){const _0x31d71e=a0_0x14993a;return this[_0x31d71e(0x369)][_0x31d71e(0x3b2)]||'';}[a0_0x14993a(0x341)](){const _0xd46180=a0_0x14993a;return this[_0xd46180(0x369)][_0xd46180(0x1f6)]||'';}[a0_0x14993a(0x1dd)](){const _0x4e8c30=a0_0x14993a;return Boolean(this[_0x4e8c30(0x369)][_0x4e8c30(0x268)]&&Array[_0x4e8c30(0x3a3)](this[_0x4e8c30(0x369)][_0x4e8c30(0x268)])&&this[_0x4e8c30(0x369)][_0x4e8c30(0x268)][_0x4e8c30(0x25a)]>0x0);}[a0_0x14993a(0x3d3)](){const _0x1de8f1=a0_0x14993a,_0x4019ad=this[_0x1de8f1(0x369)]['extend'];if(!_0x4019ad)return![];try{const _0x4a65eb=JSON[_0x1de8f1(0x1b1)](_0x4019ad);if(_0x4a65eb&&typeof _0x4a65eb===_0x1de8f1(0x26f)&&'multiple'in _0x4a65eb)return Boolean(_0x4a65eb[_0x1de8f1(0x3e8)]);}catch{}return![];}['getEnumOptions'](){const _0x592172=a0_0x14993a;if(this[_0x592172(0x369)][_0x592172(0x268)]&&Array[_0x592172(0x3a3)](this[_0x592172(0x369)][_0x592172(0x268)]))return this[_0x592172(0x369)]['options'];return;}[a0_0x14993a(0x1e9)](){const _0x3477df=a0_0x14993a,_0x4a9ec8=this[_0x3477df(0x369)][_0x3477df(0x23a)];if(!_0x4a9ec8)return;try{const _0x2ff257=JSON['parse'](_0x4a9ec8);if(_0x2ff257&&typeof _0x2ff257===_0x3477df(0x26f)&&_0x3477df(0x467)in _0x2ff257)return _0x2ff257[_0x3477df(0x467)];}catch{}return;}[a0_0x14993a(0x444)](){const _0x3b4df2=a0_0x14993a;if(!this[_0x3b4df2(0x369)][_0x3b4df2(0x237)])return'';return this[_0x3b4df2(0x369)]['dbType'][_0x3b4df2(0x1d3)](/\s+(UNSIGNED|ZEROFILL|SIGNED)$/i,'')['trim']()[_0x3b4df2(0x33f)]();}[a0_0x14993a(0x231)](){return;}[a0_0x14993a(0x385)](){return;}get[a0_0x14993a(0x237)](){const _0x55b111=a0_0x14993a;return this[_0x55b111(0x369)][_0x55b111(0x237)]??undefined;}get['dbTypeLen'](){const _0x8489c7=a0_0x14993a;return this['_raw'][_0x8489c7(0x3ef)];}['getDOType'](){return this['_raw']['doType']??null;}get[a0_0x14993a(0x1ca)](){const _0x976d03=a0_0x14993a;return this[_0x976d03(0x369)][_0x976d03(0x1ca)]??null;}[a0_0x14993a(0x30a)](){const _0x58171c=a0_0x14993a;return{'name':this['name'],'code':this[_0x58171c(0x40a)],'type':this[_0x58171c(0x1be)],'dbType':this['dbType'],'dbTypeLen':this[_0x58171c(0x3ef)],'doType':this['getDOType'](),'displayName':this[_0x58171c(0x3b2)],'description':this[_0x58171c(0x226)],'required':this[_0x58171c(0x1c9)](),'primaryKey':this[_0x58171c(0x216)](),'system':this[_0x58171c(0x3e1)](),'autoIncrement':this[_0x58171c(0x45a)](),'createTime':this[_0x58171c(0x388)](),'updateTime':this[_0x58171c(0x43f)](),'isEnum':this[_0x58171c(0x1dd)](),'enumMeta':this[_0x58171c(0x1dd)]()?this[_0x58171c(0x2f1)]():undefined};}['toString'](){const _0x1bd0ce=a0_0x14993a;return'FieldV2('+this[_0x1bd0ce(0x1f6)]+',\x20'+this[_0x1bd0ce(0x40a)]+',\x20'+this[_0x1bd0ce(0x237)]+',\x20doType='+this['getDOType']()+')';}['mapDbTypeToType'](_0x483fda){const _0x46592d=a0_0x14993a;if(!_0x483fda)return'TEXT';const _0x3a1f25={};_0x3a1f25[_0x46592d(0x427)]='TEXT',_0x3a1f25[_0x46592d(0x28c)]=_0x46592d(0x230),_0x3a1f25[_0x46592d(0x230)]=_0x46592d(0x1d1),_0x3a1f25['LONGTEXT']=_0x46592d(0x1d1),_0x3a1f25[_0x46592d(0x2ad)]=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x442)]=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x29c)]=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x3b8)]=_0x46592d(0x1b2),_0x3a1f25['DECIMAL']=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x361)]=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x434)]=_0x46592d(0x1b2),_0x3a1f25[_0x46592d(0x1f2)]=_0x46592d(0x1a3),_0x3a1f25[_0x46592d(0x1fa)]=_0x46592d(0x1a3),_0x3a1f25[_0x46592d(0x1a3)]='DATE',_0x3a1f25[_0x46592d(0x1ad)]=_0x46592d(0x1ad),_0x3a1f25[_0x46592d(0x396)]=_0x46592d(0x38c),_0x3a1f25[_0x46592d(0x257)]=_0x46592d(0x38c),_0x3a1f25[_0x46592d(0x401)]='FILE',_0x3a1f25[_0x46592d(0x2ff)]='FILE';const _0x46fda3=_0x3a1f25,_0xa33092=_0x483fda['toUpperCase']();return _0x46fda3[_0xa33092]||_0x46592d(0x230);}}class FieldListV2 extends FieldListBase{constructor(_0x467cce,_0x2b679a){super(_0x467cce,_0x2b679a);}[a0_0x14993a(0x3f6)](_0x11e411){const _0x7f7bc5=a0_0x14993a;return _0x11e411[_0x7f7bc5(0x232)](_0x511edb=>new FieldV2(_0x511edb));}['all'](){const _0x21735a=a0_0x14993a;return[...this[_0x21735a(0x327)]];}['at'](_0x53f4df){const _0x2b3156=a0_0x14993a;return this[_0x2b3156(0x327)]['at'](_0x53f4df);}[a0_0x14993a(0x2b3)](_0x2a392b){const _0x5e205e=a0_0x14993a;return this[_0x5e205e(0x327)][_0x5e205e(0x2b3)](_0x64247f=>_0x64247f[_0x5e205e(0x40a)]===_0x2a392b);}[a0_0x14993a(0x314)](_0x42dfc7){const _0x191f66=a0_0x14993a;return this[_0x191f66(0x327)][_0x191f66(0x2b3)](_0x7e8343=>_0x7e8343[_0x191f66(0x2ca)]()===_0x42dfc7);}['filter'](_0x228ee1){const _0x1acc6d=a0_0x14993a;return this[_0x1acc6d(0x327)][_0x1acc6d(0x364)](_0x228ee1);}[a0_0x14993a(0x232)](_0x15a3d3){const _0x2fd99b=a0_0x14993a;return this['_fields'][_0x2fd99b(0x232)](_0x15a3d3);}['getRequired'](){const _0x57280c=a0_0x14993a;return this[_0x57280c(0x327)][_0x57280c(0x364)](_0x5c31b1=>_0x5c31b1[_0x57280c(0x1c9)]());}[a0_0x14993a(0x20a)](){const _0x5c001f=a0_0x14993a;return this['_fields'][_0x5c001f(0x364)](_0x38a5d6=>_0x38a5d6[_0x5c001f(0x216)]());}[a0_0x14993a(0x42f)](){const _0x164a54=a0_0x14993a;return this['_fields']['filter'](_0x5a8843=>_0x5a8843[_0x164a54(0x3e1)]());}[a0_0x14993a(0x241)](){const _0x26488a=a0_0x14993a;return this[_0x26488a(0x327)][_0x26488a(0x364)](_0x5aaf18=>_0x5aaf18[_0x26488a(0x2cd)]());}[a0_0x14993a(0x271)](){const _0x41b404=a0_0x14993a;return this[_0x41b404(0x327)][_0x41b404(0x364)](_0x5bca35=>_0x5bca35[_0x41b404(0x1dd)]());}[a0_0x14993a(0x26b)](){const _0x56498b=a0_0x14993a,_0x2a11d6={};return this[_0x56498b(0x327)][_0x56498b(0x2db)](_0xbe4d28=>{const _0x433188=_0x56498b,_0x5e69d5=_0xbe4d28[_0x433188(0x1be)];!_0x2a11d6[_0x5e69d5]&&(_0x2a11d6[_0x5e69d5]=[]),_0x2a11d6[_0x5e69d5]['push'](_0xbe4d28);}),_0x2a11d6;}['raw'](){const _0xf95806=a0_0x14993a;return this[_0xf95806(0x327)][_0xf95806(0x232)](_0x5544a8=>_0x5544a8[_0xf95806(0x283)]);}static[a0_0x14993a(0x32c)](_0x42a388){const _0x4634c4=a0_0x14993a,_0x542005=_0x42a388[_0x4634c4(0x232)](_0x12c841=>_0x12c841['raw']);return new FieldListV2(_0x542005);}static['withDeleted'](_0x995dbb){const _0x12c7ce=a0_0x14993a,_0x1da04f={};return _0x1da04f[_0x12c7ce(0x2d2)]=!![],new FieldListV2(_0x995dbb,_0x1da04f);}[a0_0x14993a(0x1c0)](){const _0x4852c7=a0_0x14993a;return _0x4852c7(0x393)+this['length']+'\x20fields)';}}class DrivenDataDetailV1 extends DrivenDataDetailBase{[a0_0x14993a(0x1cf)];[a0_0x14993a(0x234)];constructor(_0x5874b8){super(_0x5874b8);}[a0_0x14993a(0x3a9)](){const _0x27b937=a0_0x14993a;if(!this['_fieldListV1']){const _0xcb3a86={};_0xcb3a86[_0x27b937(0x2d2)]=![],this[_0x27b937(0x1cf)]=new FieldListV1(this[_0x27b937(0x369)][_0x27b937(0x436)]||[],_0xcb3a86);}return this[_0x27b937(0x1cf)];}['getFieldListWithDeleted'](){const _0x2facc7=a0_0x14993a;if(!this[_0x2facc7(0x234)]){const _0x3de934={};_0x3de934['includeDeleted']=!![],this[_0x2facc7(0x234)]=new FieldListV1(this[_0x2facc7(0x369)][_0x2facc7(0x436)]||[],_0x3de934);}return this[_0x2facc7(0x234)];}[a0_0x14993a(0x3df)](){const _0x3c5e81=a0_0x14993a;return(this[_0x3c5e81(0x369)][_0x3c5e81(0x436)]||[])[_0x3c5e81(0x364)](_0x20c58f=>!_0x20c58f[_0x3c5e81(0x2fb)]);}['getFieldCount'](){const _0x4e1269=a0_0x14993a;return this['getFieldList']()[_0x4e1269(0x25a)];}[a0_0x14993a(0x2b4)](_0x54361e){const _0x1d9d12=a0_0x14993a;return this[_0x1d9d12(0x369)][_0x1d9d12(0x436)]?.['find'](_0xd4361a=>_0xd4361a[_0x1d9d12(0x40a)]===_0x54361e);}[a0_0x14993a(0x3b1)](){return'v1';}[a0_0x14993a(0x265)](){const _0xb87071=a0_0x14993a,_0x2be061={};return _0x2be061[_0xb87071(0x26a)]=this[_0xb87071(0x369)]['properties']||[],_0x2be061[_0xb87071(0x2d2)]=![],_0x2be061;}[a0_0x14993a(0x30c)](){return this['_raw']['operations'];}[a0_0x14993a(0x285)](){const _0x18dd0c=a0_0x14993a;return this['_raw'][_0x18dd0c(0x1c1)];}[a0_0x14993a(0x24a)](){const _0x78a158=a0_0x14993a,_0xe4dd71=this['getRawDbtableConfig'](),_0x5df35a=_0xe4dd71?.[_0x78a158(0x386)],_0x58e820={};return _0x58e820[_0x78a158(0x2ef)]=_0xe4dd71?.[_0x78a158(0x2ef)],_0x58e820[_0x78a158(0x3ea)]=_0xe4dd71?.[_0x78a158(0x3ea)]??_0x5df35a?.[_0x78a158(0x3ea)],_0x58e820[_0x78a158(0x237)]=_0x5df35a?.[_0x78a158(0x237)],_0x58e820[_0x78a158(0x403)]=_0x5df35a?.[_0x78a158(0x403)],_0x58e820[_0x78a158(0x1d7)]=_0xe4dd71?.[_0x78a158(0x1d7)],_0x58e820[_0x78a158(0x33a)]=_0xe4dd71?.[_0x78a158(0x33a)],_0x58e820['pkField']=_0xe4dd71?.[_0x78a158(0x209)],_0x58e820[_0x78a158(0x36e)]=_0x5df35a?.['tenantCode'],_0x58e820[_0x78a158(0x1a9)]=_0x5df35a?.[_0x78a158(0x1a9)],new DBConfig(_0x58e820,_0xe4dd71);}get['version'](){const _0x4675d8=a0_0x14993a;return this[_0x4675d8(0x369)]['version'];}[a0_0x14993a(0x41f)](_0x35fd9d){const _0xcf4031=a0_0x14993a;if(typeof _0x35fd9d!==_0xcf4031(0x31b)){!![]&&console[_0xcf4031(0x3e9)](_0xcf4031(0x433),_0x35fd9d);return;}return this[_0xcf4031(0x3a9)]()[_0xcf4031(0x2b3)](_0x35fd9d);}[a0_0x14993a(0x2b2)](_0x353719){const _0x360dea=a0_0x14993a;if(!_0x353719||typeof _0x353719!=='object')return![];const _0x39b467=this[_0x360dea(0x41f)](_0x353719['code']);return _0x39b467?_0x39b467[_0x360dea(0x3d3)]():![];}[a0_0x14993a(0x208)](){const _0x417fa9=a0_0x14993a,_0xa1d48=this[_0x417fa9(0x2ed)](_0x417fa9(0x364));return _0xa1d48;}['hasFilterOperation'](){const _0x5ec8bd=a0_0x14993a;return this[_0x5ec8bd(0x458)](_0x5ec8bd(0x364));}[a0_0x14993a(0x1f5)](){const _0x44a739=a0_0x14993a;return new DatasetItem({'id':this['id'],'name':this[_0x44a739(0x1f6)],'datasetCode':this[_0x44a739(0x452)],'dbtableConfig':this[_0x44a739(0x328)]()});}}class DrivenDataDetailV2 extends DrivenDataDetailBase{[a0_0x14993a(0x317)];['_datasetMeta'];[a0_0x14993a(0x2b8)];constructor(_0x27661d){const _0x542474=a0_0x14993a;super(_0x27661d),this[_0x542474(0x280)]=_0x27661d['dataset'],this[_0x542474(0x2b8)]=_0x27661d[_0x542474(0x1c8)]||[];}[a0_0x14993a(0x3b1)](){return'v2';}['getFieldDataSource'](){const _0x350b07=a0_0x14993a,_0x575a45={};return _0x575a45[_0x350b07(0x26a)]=this[_0x350b07(0x369)][_0x350b07(0x26a)],_0x575a45[_0x350b07(0x2d2)]=![],_0x575a45;}[a0_0x14993a(0x30c)](){const _0x1c060e=a0_0x14993a;return this[_0x1c060e(0x369)][_0x1c060e(0x438)];}[a0_0x14993a(0x285)](){const _0x2f557d=a0_0x14993a;return this[_0x2f557d(0x369)][_0x2f557d(0x1c1)];}[a0_0x14993a(0x24a)](){const _0x2d2fba=a0_0x14993a,_0xc2424d=this[_0x2d2fba(0x369)][_0x2d2fba(0x2c3)],_0x2bf638=_0xc2424d?.[_0x2d2fba(0x386)],_0x45f601={};return _0x45f601['dbId']=_0xc2424d?.[_0x2d2fba(0x2ef)],_0x45f601[_0x2d2fba(0x3ea)]=_0xc2424d?.[_0x2d2fba(0x3ea)]??_0x2bf638?.[_0x2d2fba(0x3ea)],_0x45f601[_0x2d2fba(0x237)]=_0x2bf638?.['dbType'],_0x45f601[_0x2d2fba(0x403)]=_0x2bf638?.[_0x2d2fba(0x403)],_0x45f601[_0x2d2fba(0x1d7)]=_0xc2424d?.[_0x2d2fba(0x1d7)],_0x45f601[_0x2d2fba(0x33a)]=_0xc2424d?.[_0x2d2fba(0x33a)],_0x45f601[_0x2d2fba(0x209)]=_0xc2424d?.['pkField'],_0x45f601[_0x2d2fba(0x36e)]=_0xc2424d?.[_0x2d2fba(0x36e)]??_0x2bf638?.[_0x2d2fba(0x36e)],_0x45f601[_0x2d2fba(0x1a9)]=_0xc2424d?.['appCode']??_0x2bf638?.[_0x2d2fba(0x1a9)],new DBConfig(_0x45f601,_0xc2424d);}['getFieldList'](){const _0x2de348=a0_0x14993a;return this[_0x2de348(0x27d)]();}[a0_0x14993a(0x3df)](){const _0x21689c=a0_0x14993a;return this[_0x21689c(0x369)][_0x21689c(0x26a)]||[];}[a0_0x14993a(0x36f)](){const _0x11edee=a0_0x14993a;return(this[_0x11edee(0x369)][_0x11edee(0x26a)]||[])[_0x11edee(0x25a)];}['getFieldRaw'](_0x55e268){const _0x4bf854=a0_0x14993a;return this['_raw'][_0x4bf854(0x26a)][_0x4bf854(0x2b3)](_0x4e6951=>_0x4e6951[_0x4bf854(0x1f6)]===_0x55e268);}[a0_0x14993a(0x220)](){return this['_datasetMeta'];}[a0_0x14993a(0x276)](){const _0x3d10a1=a0_0x14993a;return this[_0x3d10a1(0x2b8)];}[a0_0x14993a(0x3ba)](){const _0x525d15=a0_0x14993a;return this[_0x525d15(0x280)][_0x525d15(0x2c0)]||[];}[a0_0x14993a(0x1f0)](_0x1c45ea){const _0x3d86d9=a0_0x14993a;return this['_relations'][_0x3d86d9(0x364)](_0x2edc09=>_0x2edc09[_0x3d86d9(0x255)]===_0x1c45ea);}[a0_0x14993a(0x3c1)](_0x55f884){const _0x35c900=a0_0x14993a;return this[_0x35c900(0x2b8)][_0x35c900(0x300)](_0x24c824=>_0x24c824[_0x35c900(0x255)]===_0x55f884);}[a0_0x14993a(0x322)](_0x245766){const _0x494605=a0_0x14993a,_0x5dbb15=this['_relations'][_0x494605(0x2b3)](_0x38cc6a=>_0x38cc6a['fromField']===_0x245766);if(!_0x5dbb15)return;const _0x352737={};return _0x352737[_0x494605(0x461)]=_0x5dbb15[_0x494605(0x3f9)],_0x352737['datasetCode']=_0x5dbb15[_0x494605(0x3cb)],_0x352737['datasetName']=_0x5dbb15['toDatasetName'],_0x352737['tableName']=_0x5dbb15['toTableName'],_0x352737[_0x494605(0x32a)]=_0x5dbb15['toField'],_0x352737;}['getForeignKeyFields'](){const _0x3638da=a0_0x14993a;return this[_0x3638da(0x2b8)][_0x3638da(0x232)](_0x2678d5=>_0x2678d5[_0x3638da(0x255)]);}[a0_0x14993a(0x27d)](){const _0x14ee8d=a0_0x14993a;if(!this[_0x14ee8d(0x317)]){const _0x38e2d9=this['_raw'][_0x14ee8d(0x26a)]||[];this[_0x14ee8d(0x317)]=new FieldListV2(_0x38e2d9);}return this[_0x14ee8d(0x317)];}[a0_0x14993a(0x41f)](_0x34d74c){const _0x289c5c=a0_0x14993a;if(typeof _0x34d74c!=='string'){!![]&&console[_0x289c5c(0x3e9)]('[DrivenDataDetailV2.getFieldInstance]\x20code\x20is\x20not\x20a\x20string:',_0x34d74c);return;}return this[_0x289c5c(0x27d)]()[_0x289c5c(0x2b3)](_0x34d74c);}[a0_0x14993a(0x2b2)](_0x33c778){const _0x1b6bf1=a0_0x14993a;if(!_0x33c778||typeof _0x33c778!==_0x1b6bf1(0x26f))return![];const _0x575965=_0x33c778[_0x1b6bf1(0x1f6)]||_0x33c778['code'],_0x45108d=this[_0x1b6bf1(0x41f)](_0x575965);return _0x45108d?_0x45108d[_0x1b6bf1(0x3d3)]():![];}['getOperationList'](){const _0x2657e7=a0_0x14993a;if(!this[_0x2657e7(0x44d)]){const _0xd572f8=this[_0x2657e7(0x301)](this[_0x2657e7(0x30c)]()||{});this['_operationList']=new OperationList(_0xd572f8,{'fields':this[_0x2657e7(0x27d)]()[_0x2657e7(0x374)](),'pkField':this[_0x2657e7(0x369)][_0x2657e7(0x2c3)]?.['pkField'],'dbtableConfig':this['_raw']['dbtableConfig']||null});}return this['_operationList'];}[a0_0x14993a(0x208)](){const _0x22eaf3=a0_0x14993a,_0x24df35=this[_0x22eaf3(0x2ed)](_0x22eaf3(0x364));return _0x24df35;}[a0_0x14993a(0x27a)](){const _0x41c42b=a0_0x14993a;return this[_0x41c42b(0x458)](_0x41c42b(0x364));}[a0_0x14993a(0x1f5)](){const _0x1fee88=a0_0x14993a;return new DatasetItem({'id':this['id'],'name':this[_0x1fee88(0x1f6)],'datasetCode':this[_0x1fee88(0x452)],'dbtableConfig':this[_0x1fee88(0x328)]()});}[a0_0x14993a(0x1c0)](){const _0x2e9bc6=a0_0x14993a,_0x27fbea=this[_0x2e9bc6(0x2b8)][_0x2e9bc6(0x25a)],_0x2f9b51=this[_0x2e9bc6(0x3ba)]()['length'];return _0x2e9bc6(0x25e)+this[_0x2e9bc6(0x1f6)]+',\x20'+this[_0x2e9bc6(0x452)]+',\x20'+this['getFieldCount']()+_0x2e9bc6(0x394)+this[_0x2e9bc6(0x1e6)]()+'\x20operations,\x20'+_0x27fbea+_0x2e9bc6(0x201)+_0x2f9b51+_0x2e9bc6(0x390);}[a0_0x14993a(0x423)](){const _0x4d36ef=a0_0x14993a;return this[_0x4d36ef(0x369)]['fields'];}['getFieldV2'](_0x2c3b50){const _0x588c94=a0_0x14993a;return this[_0x588c94(0x369)][_0x588c94(0x26a)][_0x588c94(0x2b3)](_0x4f28c7=>_0x4f28c7['name']===_0x2c3b50);}}function detectDatasetVersion(_0x3f4019){const _0x229faa=a0_0x14993a;if(_0x3f4019['doVersion']==='v2'&&'fields'in _0x3f4019&&Array[_0x229faa(0x3a3)](_0x3f4019[_0x229faa(0x26a)]))return'v2';return'v1';}class DrivenDataDetail extends DrivenDataDetailBase{[a0_0x14993a(0x2e9)];constructor(_0x52c5e5){super(_0x52c5e5);const _0x171680=detectDatasetVersion(_0x52c5e5);this['_instance']=_0x171680==='v2'?new DrivenDataDetailV2(_0x52c5e5):new DrivenDataDetailV1(_0x52c5e5);}get['id'](){return this['_instance']['id'];}get[a0_0x14993a(0x1f6)](){const _0x1b25d3=a0_0x14993a;return this['_instance'][_0x1b25d3(0x1f6)];}get[a0_0x14993a(0x452)](){const _0x20373b=a0_0x14993a;return this['_instance'][_0x20373b(0x452)];}get[a0_0x14993a(0x302)](){const _0x226c1c=a0_0x14993a;return this[_0x226c1c(0x2e9)][_0x226c1c(0x3b1)]()==='v2'?_0x226c1c(0x262):_0x226c1c(0x389);}[a0_0x14993a(0x3b1)](){const _0x370b68=a0_0x14993a;return this[_0x370b68(0x2e9)][_0x370b68(0x3b1)]();}[a0_0x14993a(0x3c6)](){const _0x1a3338=a0_0x14993a;return this[_0x1a3338(0x2e9)]['id'];}['getCode'](){const _0x2fc97e=a0_0x14993a;return this['_instance'][_0x2fc97e(0x452)];}[a0_0x14993a(0x292)](){const _0x5dcd95=a0_0x14993a;return this['_instance'][_0x5dcd95(0x1f6)];}[a0_0x14993a(0x265)](){const _0x23acea=a0_0x14993a;return this[_0x23acea(0x2e9)][_0x23acea(0x265)]();}[a0_0x14993a(0x30c)](){const _0x352bf0=a0_0x14993a;return this[_0x352bf0(0x2e9)][_0x352bf0(0x30c)]();}[a0_0x14993a(0x285)](){return this['_instance']['getSource']();}[a0_0x14993a(0x21e)](){const _0x46dad2=a0_0x14993a;return this[_0x46dad2(0x2e9)][_0x46dad2(0x21e)]();}[a0_0x14993a(0x3a9)](){const _0x352d8f=a0_0x14993a;return this[_0x352d8f(0x2e9)]['getFieldList']();}[a0_0x14993a(0x3ca)](){const _0x3d81fb=a0_0x14993a;return this[_0x3d81fb(0x2e9)][_0x3d81fb(0x3ca)]();}[a0_0x14993a(0x3df)](){const _0x29d262=a0_0x14993a;return this[_0x29d262(0x2e9)]['getFields']();}[a0_0x14993a(0x36f)](){const _0x2ddabe=a0_0x14993a;return this[_0x2ddabe(0x2e9)][_0x2ddabe(0x36f)]();}['getPkField'](){const _0x1bd477=a0_0x14993a,_0xe15ba0=this[_0x1bd477(0x2e9)][_0x1bd477(0x328)]();return _0xe15ba0?.[_0x1bd477(0x209)];}[a0_0x14993a(0x24a)](){const _0x4998a1=a0_0x14993a;return this['_instance'][_0x4998a1(0x24a)]();}['getFieldInstance'](_0x15efa7){const _0xc3b2cb=a0_0x14993a;return this[_0xc3b2cb(0x2e9)][_0xc3b2cb(0x41f)](_0x15efa7);}['getPrimaryKeyFields'](){const _0x527f67=a0_0x14993a;return this[_0x527f67(0x2e9)][_0x527f67(0x1bc)]();}[a0_0x14993a(0x3bf)](){const _0xccf1ac=a0_0x14993a;return this[_0xccf1ac(0x2e9)][_0xccf1ac(0x3bf)]();}[a0_0x14993a(0x28b)](){const _0x410de9=a0_0x14993a;return this[_0x410de9(0x2e9)]['getBusinessFields']();}[a0_0x14993a(0x3bb)](){const _0x1f159d=a0_0x14993a;return this[_0x1f159d(0x2e9)]['getRequiredFields']();}[a0_0x14993a(0x1d9)](){const _0x492296=a0_0x14993a;return this[_0x492296(0x2e9)][_0x492296(0x1d9)]();}['getEnumFields'](){const _0x435d44=a0_0x14993a;return this[_0x435d44(0x2e9)][_0x435d44(0x40f)]();}[a0_0x14993a(0x2e2)](){const _0x55958b=a0_0x14993a;return this[_0x55958b(0x2e9)][_0x55958b(0x2e2)]();}[a0_0x14993a(0x445)](){const _0x46b212=a0_0x14993a;return this['_instance'][_0x46b212(0x445)]();}[a0_0x14993a(0x1e6)](){const _0x3e2f15=a0_0x14993a;return this[_0x3e2f15(0x2e9)][_0x3e2f15(0x1e6)]();}[a0_0x14993a(0x2bc)](){const _0x97dcf7=a0_0x14993a;return this['_instance'][_0x97dcf7(0x2bc)]();}[a0_0x14993a(0x243)](){const _0x5a6309=a0_0x14993a;return this[_0x5a6309(0x2e9)][_0x5a6309(0x243)]();}[a0_0x14993a(0x35b)](){const _0x17623f=a0_0x14993a;return this[_0x17623f(0x2e9)][_0x17623f(0x35b)]();}[a0_0x14993a(0x1b8)](){const _0x6f8fb7=a0_0x14993a;return this['_instance'][_0x6f8fb7(0x1b8)]();}[a0_0x14993a(0x212)](){return this['_instance']['getStats']();}[a0_0x14993a(0x220)](){const _0x25f073=a0_0x14993a;return this[_0x25f073(0x2e9)]['getDatasetMeta']();}['getRelations'](){const _0x2719d9=a0_0x14993a;return this[_0x2719d9(0x2e9)][_0x2719d9(0x276)]();}[a0_0x14993a(0x3ba)](){return this['_instance']['getIndexes']();}[a0_0x14993a(0x419)](){const _0x4c993f=a0_0x14993a;return this[_0x4c993f(0x2e9)][_0x4c993f(0x419)]();}[a0_0x14993a(0x1b5)](){const _0xbc61ec=a0_0x14993a;return this[_0xbc61ec(0x2e9)][_0xbc61ec(0x1b5)]();}[a0_0x14993a(0x30a)](){const _0x27a30b=a0_0x14993a;return this[_0x27a30b(0x2e9)][_0x27a30b(0x30a)]();}[a0_0x14993a(0x208)](){const _0x4daf44=a0_0x14993a;return this[_0x4daf44(0x2e9)][_0x4daf44(0x208)]();}[a0_0x14993a(0x27a)](){const _0x4ad602=a0_0x14993a;return this[_0x4ad602(0x2e9)]['hasFilterOperation']();}[a0_0x14993a(0x1f5)](){const _0xacb06e=a0_0x14993a;return this[_0xacb06e(0x2e9)][_0xacb06e(0x1f5)]();}['toString'](){const _0x52b6aa=a0_0x14993a;return this[_0x52b6aa(0x2e9)][_0x52b6aa(0x1c0)]();}[a0_0x14993a(0x335)](){const _0x299aeb=a0_0x14993a;return this[_0x299aeb(0x2e9)];}}function detectDatasetVersion2(_0x2d46d7){const _0x1dbe7d=a0_0x14993a;if(_0x2d46d7[_0x1dbe7d(0x3ad)]==='v2'&&_0x1dbe7d(0x26a)in _0x2d46d7&&Array['isArray'](_0x2d46d7[_0x1dbe7d(0x26a)]))return'v2';return'v1';}function createDrivenDataDetail(_0x44c141,_0x581cb2={}){const {forceVersion:_0x589f18}=_0x581cb2;if(_0x589f18==='v2')return new DrivenDataDetailV2(_0x44c141);if(_0x589f18==='v1')return new DrivenDataDetailV1(_0x44c141);const _0x20baf6=detectDatasetVersion2(_0x44c141);if(_0x20baf6==='v2')return new DrivenDataDetailV2(_0x44c141);return new DrivenDataDetailV1(_0x44c141);}function isV2Data(_0x5744c6){return detectDatasetVersion2(_0x5744c6)==='v2';}function isV1Data(_0x4a2a70){return detectDatasetVersion2(_0x4a2a70)==='v1';}function isV2Instance(_0x184f17){return _0x184f17['getVersion']()==='v2';}function isV1Instance(_0x16dfe8){const _0x58b660=a0_0x14993a;return _0x16dfe8[_0x58b660(0x3b1)]()==='v1';}class DatasetGroup{['items'];constructor(_0x14f4d9){const _0xc5a29e=a0_0x14993a;this[_0xc5a29e(0x3b9)]=Array[_0xc5a29e(0x3a3)](_0x14f4d9)?[..._0x14f4d9]:[_0x14f4d9],this[_0xc5a29e(0x3b9)][_0xc5a29e(0x3b0)]((_0x26099f,_0x200f87)=>{const _0x4b5d78=Number(_0x26099f['id'])||0x0,_0x19a4fa=Number(_0x200f87['id'])||0x0;return _0x19a4fa-_0x4b5d78;});}['hasConflict'](){const _0x246e71=a0_0x14993a;return this[_0x246e71(0x3b9)][_0x246e71(0x25a)]>0x1;}['getLatest'](){const _0x2a303f=a0_0x14993a;return this[_0x2a303f(0x3b9)][0x0];}[a0_0x14993a(0x399)](){const _0x448806=a0_0x14993a;return this[_0x448806(0x3b9)][this[_0x448806(0x3b9)][_0x448806(0x25a)]-0x1];}[a0_0x14993a(0x405)](){return[...this['items']];}[a0_0x14993a(0x2f8)](){const _0x4cfc42=a0_0x14993a;return this[_0x4cfc42(0x3b9)][_0x4cfc42(0x25a)];}[a0_0x14993a(0x397)](_0x184374){const _0x36b881=a0_0x14993a;return this[_0x36b881(0x3b9)][_0x184374];}[a0_0x14993a(0x3c4)](_0x8640dc){const _0x1846c0=a0_0x14993a;return this[_0x1846c0(0x3b9)][_0x1846c0(0x2b3)](_0xe8dedd=>_0xe8dedd['id']===_0x8640dc);}['findByCode'](_0x5e9f81){const _0x48a6ea=a0_0x14993a;return this['items']['find'](_0x3a1f7a=>_0x3a1f7a[_0x48a6ea(0x452)]===_0x5e9f81);}[a0_0x14993a(0x205)](){const _0x48a781=a0_0x14993a;return this[_0x48a781(0x3b9)][_0x48a781(0x232)](_0x2e81b0=>_0x2e81b0['id'])['filter'](_0x2287a7=>_0x2287a7!==undefined);}[a0_0x14993a(0x3e3)](){const _0x2f7137=a0_0x14993a;return this[_0x2f7137(0x3b9)][_0x2f7137(0x232)](_0x4cbaf1=>_0x4cbaf1[_0x2f7137(0x452)]);}[a0_0x14993a(0x1c0)](){const _0x4c808f=a0_0x14993a;if(this['hasConflict']())return _0x4c808f(0x1d2)+this['items']['length']+_0x4c808f(0x1f3)+this['getLatest']()[_0x4c808f(0x1f6)]+')';return _0x4c808f(0x1d2)+this['items'][0x0]['name']+')';}}class DatasetGroupMap{['groups'];constructor(_0x232f6e){const _0x27ab75=a0_0x14993a;this[_0x27ab75(0x224)]=new Map();for(const _0x33d217 of _0x232f6e){const _0x28c5d4=_0x33d217[_0x27ab75(0x289)](),_0x32a4f3=_0x33d217['dbtableConfig']?.[_0x27ab75(0x2ef)],_0x12e1a8=_0x33d217[_0x27ab75(0x2c3)]?.['dbName']||_0x33d217[_0x27ab75(0x2c3)]?.[_0x27ab75(0x386)]?.[_0x27ab75(0x3ea)]||'',_0x5a4cf2=_0x32a4f3!==undefined&&_0x32a4f3!==null?'db'+_0x32a4f3:_0x12e1a8?getTableKey(_0x12e1a8):'',_0x39423b=_0x5a4cf2?_0x5a4cf2+'_'+_0x28c5d4:_0x28c5d4,_0x67e917=getTableKey(_0x39423b);if(!this['groups'][_0x27ab75(0x1ce)](_0x67e917))this[_0x27ab75(0x224)]['set'](_0x67e917,new DatasetGroup(_0x33d217));else{const _0x343e6f=this[_0x27ab75(0x224)][_0x27ab75(0x3dc)](_0x67e917),_0x1d3ec2=[..._0x343e6f[_0x27ab75(0x405)](),_0x33d217];this[_0x27ab75(0x224)][_0x27ab75(0x36c)](_0x67e917,new DatasetGroup(_0x1d3ec2));}}}[a0_0x14993a(0x3dc)](_0x4af352){return this['groups']['get'](_0x4af352);}[a0_0x14993a(0x1ce)](_0x4e2ad4){const _0x448b9e=a0_0x14993a;return this[_0x448b9e(0x224)][_0x448b9e(0x1ce)](_0x4e2ad4);}get[a0_0x14993a(0x26c)](){const _0x36841a=a0_0x14993a;return this[_0x36841a(0x224)][_0x36841a(0x26c)];}[a0_0x14993a(0x251)](){const _0x3b31f7=a0_0x14993a;return this['groups'][_0x3b31f7(0x251)]();}[a0_0x14993a(0x200)](){const _0x2ace3b=a0_0x14993a;return this[_0x2ace3b(0x224)]['values']();}[a0_0x14993a(0x353)](){return this['groups']['entries']();}[Symbol[a0_0x14993a(0x2c9)]](){const _0x3c9379=a0_0x14993a;return this[_0x3c9379(0x224)][_0x3c9379(0x353)]();}[a0_0x14993a(0x2db)](_0x4a8ddc){const _0x39f8b4=a0_0x14993a;this[_0x39f8b4(0x224)]['forEach']((_0x330f75,_0x2a157f)=>_0x4a8ddc(_0x330f75,_0x2a157f,this));}[a0_0x14993a(0x1e4)](){const _0x5e88ca=a0_0x14993a,_0x2818d4=new Map();for(const [_0x33470f,_0x3999b6]of this[_0x5e88ca(0x224)]){_0x3999b6[_0x5e88ca(0x426)]()&&_0x2818d4[_0x5e88ca(0x36c)](_0x33470f,_0x3999b6);}return _0x2818d4;}[a0_0x14993a(0x344)](){const _0x1ab67c=a0_0x14993a;for(const _0x2ff510 of this['groups'][_0x1ab67c(0x200)]()){if(_0x2ff510[_0x1ab67c(0x426)]())return!![];}return![];}[a0_0x14993a(0x39c)](){const _0x454d2f=a0_0x14993a;let _0x45c528=0x0,_0x203667=0x0;for(const _0x4efb45 of this[_0x454d2f(0x224)][_0x454d2f(0x200)]()){_0x4efb45[_0x454d2f(0x426)]()&&(_0x45c528++,_0x203667+=_0x4efb45['getCount']());}const _0x55bda9={};return _0x55bda9[_0x454d2f(0x468)]=_0x45c528,_0x55bda9[_0x454d2f(0x3d7)]=_0x203667,_0x55bda9['totalGroups']=this['groups']['size'],_0x55bda9;}[a0_0x14993a(0x41d)](){const _0x4f3464=a0_0x14993a,_0x39b83d=[];for(const _0x4e66b5 of this[_0x4f3464(0x224)][_0x4f3464(0x200)]()){_0x39b83d[_0x4f3464(0x2dc)](..._0x4e66b5[_0x4f3464(0x405)]());}return _0x39b83d;}['getLatestDatasets'](){const _0x3845a1=a0_0x14993a,_0x72812=[];for(const _0x21194e of this[_0x3845a1(0x224)]['values']()){_0x72812[_0x3845a1(0x2dc)](_0x21194e['getLatest']());}return _0x72812;}['getLatest'](_0x21db39){const _0xcf2778=a0_0x14993a;return this['groups'][_0xcf2778(0x3dc)](_0x21db39)?.[_0xcf2778(0x240)]();}[a0_0x14993a(0x405)](_0x297fc9){const _0x56067b=a0_0x14993a;return this['groups'][_0x56067b(0x3dc)](_0x297fc9)?.[_0x56067b(0x405)]()||[];}[a0_0x14993a(0x23d)](){const _0x110827=a0_0x14993a,_0x4d4cf5=this[_0x110827(0x350)](),_0x27da2d=new Map();for(const _0x25521d of _0x4d4cf5){const _0x4abf13=_0x25521d[_0x110827(0x289)](),_0x27f149=_0x25521d[_0x110827(0x2c3)]?.[_0x110827(0x2ef)],_0x3b2f64=_0x25521d[_0x110827(0x2c3)]?.[_0x110827(0x3ea)]||_0x25521d[_0x110827(0x2c3)]?.[_0x110827(0x386)]?.[_0x110827(0x3ea)]||'',_0x3b8138=_0x27f149!==undefined&&_0x27f149!==null?'db'+_0x27f149:_0x3b2f64?getTableKey(_0x3b2f64):'';!_0x27da2d['has'](_0x4abf13)&&_0x27da2d[_0x110827(0x36c)](_0x4abf13,new Set()),_0x27da2d[_0x110827(0x3dc)](_0x4abf13)[_0x110827(0x329)](_0x3b8138);}const _0x22370c=new Set();for(const [_0x49ccde,_0x49b5fb]of _0x27da2d){_0x49b5fb[_0x110827(0x26c)]>0x1&&_0x22370c['add'](_0x49ccde);}const _0x3db93={},_0x2086d8=new Set();for(const _0x489e03 of _0x4d4cf5){const _0x42d837=_0x489e03['getTableName'](),_0x218f92=_0x489e03['toJSON'](),_0x5e0003=getTableKey(_0x42d837);let _0x26e75d=_0x5e0003;const _0x83eda9=_0x489e03[_0x110827(0x2c3)]?.[_0x110827(0x3ea)]||_0x489e03[_0x110827(0x2c3)]?.[_0x110827(0x386)]?.['dbName']||'';if(_0x22370c[_0x110827(0x1ce)](_0x42d837)&&_0x83eda9){const _0xf01b46=getTableKey(_0x83eda9);_0x26e75d=''+_0xf01b46+_0x5e0003[_0x110827(0x303)](0x0)[_0x110827(0x33f)]()+_0x5e0003[_0x110827(0x3bc)](0x1);}let _0x2d9abb=_0x26e75d,_0xb4c718=0x1;while(_0x2086d8[_0x110827(0x1ce)](_0x2d9abb)){_0x2d9abb=_0x26e75d+'_'+_0xb4c718,_0xb4c718++;}_0x2086d8['add'](_0x2d9abb);const _0x29e8ba=_0x2d9abb;_0x3db93[_0x2d9abb]={'key':_0x2d9abb,'alias':_0x29e8ba,'tableName':_0x42d837,'datasetCode':_0x218f92[_0x110827(0x452)],'name':_0x218f92[_0x110827(0x1f6)],'id':_0x218f92['id'],'dbName':_0x83eda9};}return _0x3db93;}['toFullConfig'](){const _0x1903d5=a0_0x14993a,_0xcb8804=this[_0x1903d5(0x41d)](),_0x3be4f4=_0xcb8804['map'](_0x50c4ac=>_0x50c4ac['toJSON']());return generateFullDatasetsConfig(_0x3be4f4);}[a0_0x14993a(0x351)](){const _0x9e6a62=a0_0x14993a,_0x39c8c5={};for(const [_0x3a1055,_0x4d78ba]of this[_0x9e6a62(0x224)]){_0x39c8c5[_0x3a1055]=_0x4d78ba;}return _0x39c8c5;}['toJSON'](){const _0xc2ee2d=a0_0x14993a,_0x42c2ad={};for(const [_0x368745,_0x5b7761]of this[_0xc2ee2d(0x224)]){_0x42c2ad[_0x368745]=_0x5b7761[_0xc2ee2d(0x405)]()['map'](_0xec834=>_0xec834[_0xc2ee2d(0x30a)]());}return _0x42c2ad;}[a0_0x14993a(0x1c0)](){const _0x41180a=a0_0x14993a;return _0x41180a(0x21f)+this[_0x41180a(0x224)][_0x41180a(0x26c)]+_0x41180a(0x42d)+(this[_0x41180a(0x344)]()?_0x41180a(0x228):_0x41180a(0x313))+')';}}class DatasetList{[a0_0x14993a(0x215)];constructor(_0xc3c8b2){const _0x5010a7=a0_0x14993a;let _0x4d759e;if(Array[_0x5010a7(0x3a3)](_0xc3c8b2))_0x4d759e=_0xc3c8b2;else{if('success'in _0xc3c8b2){if(!_0xc3c8b2[_0x5010a7(0x259)])throw new Error('Invalid\x20API\x20response:\x20success\x20is\x20false');if(Array[_0x5010a7(0x3a3)](_0xc3c8b2[_0x5010a7(0x3d9)]))_0x4d759e=_0xc3c8b2[_0x5010a7(0x3d9)][_0x5010a7(0x232)](_0x16f541=>({..._0x16f541,'datasetCode':_0x16f541[_0x5010a7(0x40a)]||_0x16f541[_0x5010a7(0x452)]}));else{if(_0xc3c8b2[_0x5010a7(0x3d9)]?.[_0x5010a7(0x22f)])_0x4d759e=_0xc3c8b2[_0x5010a7(0x3d9)]['tableData'][_0x5010a7(0x232)](_0x22bb1b=>({..._0x22bb1b,'datasetCode':_0x22bb1b[_0x5010a7(0x40a)]||_0x22bb1b['datasetCode']}));else throw new Error(_0x5010a7(0x1da));}}else{if(_0x5010a7(0x22f)in _0xc3c8b2){if(!Array['isArray'](_0xc3c8b2[_0x5010a7(0x22f)]))throw new Error(_0x5010a7(0x1eb));_0x4d759e=_0xc3c8b2[_0x5010a7(0x22f)][_0x5010a7(0x232)](_0x358fca=>({..._0x358fca,'datasetCode':_0x358fca[_0x5010a7(0x40a)]||_0x358fca[_0x5010a7(0x452)]}));}else throw new Error('Invalid\x20input:\x20expected\x20DatasetItemData[],\x20GetListApiResponse,\x20GetDatasetListApiResponse,\x20or\x20GetListSimplifiedResponse');}}const _0x22c89f=cleanDatasetNames(_0x4d759e),_0x1793eb=_0x22c89f[_0x5010a7(0x232)](_0x4038f4=>new DatasetItem(_0x4038f4));this['_datasetMap']=new DatasetGroupMap(_0x1793eb);}get[a0_0x14993a(0x29a)](){return this['_datasetMap'];}[a0_0x14993a(0x2bb)](){const _0x5ad382=a0_0x14993a;return this[_0x5ad382(0x215)][_0x5ad382(0x41d)]();}[a0_0x14993a(0x2f8)](){const _0xde2693=a0_0x14993a;return this[_0xde2693(0x2bb)]()[_0xde2693(0x25a)];}[a0_0x14993a(0x1ae)](){const _0x1fb4ec=a0_0x14993a;return this[_0x1fb4ec(0x215)][_0x1fb4ec(0x26c)]===0x0;}[a0_0x14993a(0x397)](_0x963670){const _0xe5e614=a0_0x14993a;return this[_0xe5e614(0x2bb)]()[_0x963670];}['getFirst'](){const _0xbc43d4=a0_0x14993a;return this[_0xbc43d4(0x2bb)]()[0x0];}[a0_0x14993a(0x3cc)](){const _0x4cf2ef=a0_0x14993a,_0x2dd9b5=this[_0x4cf2ef(0x2bb)]();return _0x2dd9b5[_0x2dd9b5[_0x4cf2ef(0x25a)]-0x1];}['findByCode'](_0x5dbcb7){const _0x560f81=a0_0x14993a;for(const _0x2f9acf of this[_0x560f81(0x215)][_0x560f81(0x200)]()){const _0x1d460a=_0x2f9acf[_0x560f81(0x380)](_0x5dbcb7);if(_0x1d460a)return _0x1d460a;}return;}['findByName'](_0x4189b4){const _0x354022=a0_0x14993a;return this['getItems']()[_0x354022(0x2b3)](_0x385175=>_0x385175[_0x354022(0x1f6)]===_0x4189b4);}[a0_0x14993a(0x3c4)](_0x1334d2){const _0x2998d1=a0_0x14993a;for(const _0x24ad53 of this['_datasetMap'][_0x2998d1(0x200)]()){const _0x3c8433=_0x24ad53[_0x2998d1(0x3c4)](_0x1334d2);if(_0x3c8433)return _0x3c8433;}return;}[a0_0x14993a(0x3bd)](_0x278595){const _0x2778bd=a0_0x14993a;for(const _0x46c703 of this[_0x2778bd(0x215)][_0x2778bd(0x200)]()){const _0x311086=_0x46c703['getLatest']();if(_0x311086[_0x2778bd(0x289)]()===_0x278595)return _0x311086;}return;}[a0_0x14993a(0x3a1)](_0x2ee834){const _0x5332b5=a0_0x14993a,_0x41d6d6=[];for(const _0x48689b of this[_0x5332b5(0x215)][_0x5332b5(0x200)]()){const _0x4857cf=_0x48689b[_0x5332b5(0x240)]();_0x4857cf['getTableName']()===_0x2ee834&&_0x41d6d6[_0x5332b5(0x2dc)](_0x4857cf);}return _0x41d6d6;}[a0_0x14993a(0x364)](_0x47cec4){const _0x352148=a0_0x14993a,_0x14c44f=this[_0x352148(0x2bb)]()[_0x352148(0x364)](_0x47cec4);return new DatasetList(_0x14c44f[_0x352148(0x232)](_0x346e10=>_0x346e10['toJSON']()));}[a0_0x14993a(0x229)](_0x13122a){const _0x4377ba=a0_0x14993a;return this[_0x4377ba(0x2bb)]()['filter'](_0x13122a);}[a0_0x14993a(0x2db)](_0x5f2fd6){const _0x44b0a4=a0_0x14993a;this['getItems']()[_0x44b0a4(0x2db)](_0x5f2fd6);}['map'](_0x3ebc69){const _0x4b313f=a0_0x14993a;return this[_0x4b313f(0x2bb)]()[_0x4b313f(0x232)](_0x3ebc69);}[Symbol['iterator']](){const _0x488d74=a0_0x14993a;return this[_0x488d74(0x2bb)]()[Symbol[_0x488d74(0x2c9)]]();}[a0_0x14993a(0x203)](){const _0x4daed8=a0_0x14993a;return this['getItems']()[_0x4daed8(0x364)](_0xde1343=>_0xde1343['isVirtualTable']());}[a0_0x14993a(0x258)](){const _0x4af835=a0_0x14993a;return this['getItems']()[_0x4af835(0x364)](_0x2fd305=>!_0x2fd305[_0x4af835(0x263)]());}[a0_0x14993a(0x2b1)](){const _0x4917f3=a0_0x14993a,_0x5986d6={};for(const _0xf4d931 of this[_0x4917f3(0x215)][_0x4917f3(0x200)]()){const _0x2dc73c=_0xf4d931['getLatest']()['getTableName']();_0x5986d6[_0x2dc73c]=_0xf4d931['getAll']();}return _0x5986d6;}['detectConflicts'](){const _0x241e3c=a0_0x14993a,_0x518dcb={};for(const _0x59703a of this['_datasetMap'][_0x241e3c(0x1e4)]()['values']()){const _0x4a63eb=_0x59703a[_0x241e3c(0x240)]()['getTableName']();_0x518dcb[_0x4a63eb]=_0x59703a[_0x241e3c(0x405)]()[_0x241e3c(0x232)](_0x53e320=>_0x53e320[_0x241e3c(0x30a)]());}return{'hasConflicts':Object['keys'](_0x518dcb)[_0x241e3c(0x25a)]>0x0,'conflicts':_0x518dcb};}[a0_0x14993a(0x344)](){const _0x2d5174=a0_0x14993a;return this[_0x2d5174(0x215)]['hasConflicts']();}[a0_0x14993a(0x415)](){const _0x3fac0c=a0_0x14993a,_0x1ccc97=[];for(const _0x363842 of this[_0x3fac0c(0x215)][_0x3fac0c(0x1e4)]()[_0x3fac0c(0x200)]()){_0x1ccc97['push'](..._0x363842[_0x3fac0c(0x405)]());}return _0x1ccc97;}[a0_0x14993a(0x1ab)](_0x47ee6f){const _0x3c4c47=a0_0x14993a;if(!_0x47ee6f||Object['keys'](_0x47ee6f)[_0x3c4c47(0x25a)]===0x0)return this[_0x3c4c47(0x29a)]['toConfig']();const _0x429bf6=this[_0x3c4c47(0x2bb)]()[_0x3c4c47(0x232)](_0x584305=>_0x584305['toJSON']());return generateDatasetsConfig(_0x429bf6,_0x47ee6f);}['generateConfigArray'](_0x489360){const _0x462204=a0_0x14993a,_0x2c7920=this[_0x462204(0x1ab)](_0x489360);return datasetsConfigToArray(_0x2c7920);}[a0_0x14993a(0x331)](){const _0x56b076=a0_0x14993a;return this['getItems']()[_0x56b076(0x232)](_0x4436e6=>_0x4436e6['toConfig']());}[a0_0x14993a(0x212)](){const _0x180074=a0_0x14993a;return{'total':this[_0x180074(0x2f8)](),'virtualTables':this['getVirtualTables']()[_0x180074(0x25a)],'realTables':this['getRealTables']()['length'],'hasConflicts':this['hasConflicts'](),'conflictCount':this['getConflictingItems']()[_0x180074(0x25a)]};}[a0_0x14993a(0x305)](){const _0x384c83=a0_0x14993a;return this['getItems']()[_0x384c83(0x232)](_0x238bbc=>_0x238bbc[_0x384c83(0x30a)]());}[a0_0x14993a(0x30a)](){return this['toArray']();}['toString'](){const _0x2cd047=a0_0x14993a;return _0x2cd047(0x45d)+this['getCount']()+'\x20items,\x20'+this[_0x2cd047(0x215)]['size']+_0x2cd047(0x298);}static[a0_0x14993a(0x307)](_0x1814df){return new DatasetList(_0x1814df);}static[a0_0x14993a(0x2b0)](_0x17dd6f){return new DatasetList(_0x17dd6f);}static['empty'](){return new DatasetList([]);}}var SDK_INIT_TEMPLATE=a0_0x14993a(0x290);function renderTemplate(_0x39a775,_0x493e6c,_0x1ecfbb={}){const _0x171683=a0_0x14993a;let _0x2a1016=_0x39a775;return Object['entries'](_0x1ecfbb)[_0x171683(0x2db)](([_0x484cd4,_0x230c28])=>{const _0x32c398=_0x171683,_0xaf2f7b=new RegExp('<!--\x5cs*CONDITION:\x5cs*'+_0x484cd4+_0x32c398(0x2f3),'g');_0x2a1016=_0x2a1016['replace'](_0xaf2f7b,_0x230c28?'$1':'');}),Object[_0x171683(0x353)](_0x493e6c)[_0x171683(0x2db)](([_0x35d3ea,_0x479f02])=>{const _0x48e8b0=_0x171683;if(_0x479f02!==undefined){const _0x59e7c3=new RegExp('\x5c{\x5c{'+_0x35d3ea+'\x5c}\x5c}','g');_0x2a1016=_0x2a1016[_0x48e8b0(0x1d3)](_0x59e7c3,_0x479f02);}}),_0x2a1016;}function generateSDKInitCode(_0x28baa2,_0x5e9f67,_0x12a88f,_0x17f970,_0x4d9d3d){const _0x3e60d7=a0_0x14993a,_0x3882ef={};_0x3882ef[_0x3e60d7(0x1a9)]=_0x28baa2,_0x3882ef[_0x3e60d7(0x452)]=_0x5e9f67,_0x3882ef[_0x3e60d7(0x2f0)]=_0x12a88f,_0x3882ef[_0x3e60d7(0x43a)]=_0x17f970==='daily'?_0x3e60d7(0x25c):undefined;const _0x2d30f1={};return _0x2d30f1[_0x3e60d7(0x43a)]=_0x17f970!==undefined&&_0x17f970!==_0x3e60d7(0x33b),_0x2d30f1['isOpenAPI']=_0x4d9d3d===!![],renderTemplate(SDK_INIT_TEMPLATE,_0x3882ef,_0x2d30f1);}var ALIAS_EXPLANATION_TEMPLATE=a0_0x14993a(0x362);function generateAliasExplanation(_0x374efc,_0x5b400e,_0x35ba2b,_0x1c562f){const _0x3ddf31=a0_0x14993a,_0x386d13='dataset_'+_0x374efc,_0x15129d='{\x20status:\x20{\x20$eq:\x20\x27active\x27\x20}\x20}',_0x2bd856={};return _0x2bd856[_0x3ddf31(0x452)]=_0x374efc,_0x2bd856[_0x3ddf31(0x250)]=_0x386d13,_0x2bd856[_0x3ddf31(0x1d7)]=_0x5b400e,_0x2bd856[_0x3ddf31(0x2f0)]=_0x35ba2b,_0x2bd856[_0x3ddf31(0x1a9)]=_0x1c562f,_0x2bd856[_0x3ddf31(0x3b6)]=_0x15129d,renderTemplate(ALIAS_EXPLANATION_TEMPLATE,_0x2bd856,{});}function DrivenDataDetailPlusMixin(_0x4ee379){const _0x3f4320=a0_0x14993a;return class _0x37f8a5 extends _0x4ee379{[_0x3f4320(0x2e0)](_0x5e0f3a){const _0x88f895=_0x3f4320;return{'appCode':_0x5e0f3a,'datasetSDKKey':this[_0x88f895(0x29f)](),'alias':this[_0x88f895(0x2cf)](),'tableName':this[_0x88f895(0x289)](),'datasetCode':this[_0x88f895(0x452)]};}[_0x3f4320(0x273)](_0x3ce497,_0x4c5483=_0x3f4320(0x33b),_0x2cec00=![]){const _0x49adae=_0x3f4320;return generateSDKInitCode(_0x3ce497,this[_0x49adae(0x452)],this[_0x49adae(0x2cf)](),_0x4c5483===_0x49adae(0x25c)?_0x4c5483:undefined,_0x2cec00);}['generateFullSDKExample'](_0x315b33,_0x157ead,_0x33638d={}){const _0x5771c5=_0x3f4320,_0x5bc94d=this[_0x5771c5(0x445)]()[_0x5771c5(0x2b3)](_0xa96f34=>_0xa96f34[_0x5771c5(0x292)]()===_0x315b33);if(!_0x5bc94d)return null;const _0xb562b9={};_0xb562b9[_0x5771c5(0x345)]=_0x33638d[_0x5771c5(0x304)]!==![];const _0x551616=this[_0x5771c5(0x27e)](_0x315b33,_0xb562b9);if(!_0x551616)return null;const _0x1da3b4=[];return _0x1da3b4[_0x5771c5(0x2dc)](_0x5771c5(0x279)+_0x5bc94d[_0x5771c5(0x292)]()+'\x20operation'),_0x1da3b4[_0x5771c5(0x2dc)](_0x551616[_0x5771c5(0x1c3)][_0x5771c5(0x40a)]),_0x1da3b4[_0x5771c5(0x2dc)](''),_0x33638d[_0x5771c5(0x309)]!==![]&&(_0x1da3b4[_0x5771c5(0x2dc)](_0x5771c5(0x376)),_0x1da3b4[_0x5771c5(0x2dc)](_0x551616[_0x5771c5(0x22b)]['successCode']),_0x1da3b4['push'](''),_0x1da3b4[_0x5771c5(0x2dc)](_0x551616['usageExample']['errorCode'])),_0x1da3b4[_0x5771c5(0x409)]('\x0a');}['generateAllOperationsFullSDKExample'](_0x2b2f46={}){const _0x167ef6=_0x3f4320,_0x506485=this[_0x167ef6(0x45b)](),_0x32daa1=[];return _0x506485[_0x167ef6(0x2db)]((_0x151081,_0x5a6cff)=>{const _0xdf215a=_0x167ef6,_0x5a4e09=this[_0xdf215a(0x1e2)](_0x151081[_0xdf215a(0x1f6)],_0xdf215a(0x3d4),_0x2b2f46);_0x5a4e09&&(_0x32daa1['push'](_0xdf215a(0x28f)+(_0x5a6cff+0x1)+'.\x20'+_0x151081['displayName']),_0x32daa1[_0xdf215a(0x2dc)](_0x5a4e09),_0x32daa1[_0xdf215a(0x2dc)](''));}),_0x32daa1['join']('\x0a');}[_0x3f4320(0x3a8)](_0x4a75b7){const _0x4fd81e=_0x3f4320,_0x5bff5f=this[_0x4fd81e(0x43d)](_0x4a75b7);if(!_0x5bff5f)return null;const _0x42cd37={};return _0x42cd37[_0x4fd81e(0x1f6)]=_0x5bff5f['name'],_0x42cd37[_0x4fd81e(0x3b2)]=_0x5bff5f['displayName'],_0x42cd37[_0x4fd81e(0x294)]=_0x5bff5f[_0x4fd81e(0x294)],_0x42cd37[_0x4fd81e(0x1e0)]=_0x5bff5f[_0x4fd81e(0x1e0)],_0x42cd37[_0x4fd81e(0x354)]=_0x5bff5f[_0x4fd81e(0x354)],_0x42cd37['requestFieldCount']=_0x5bff5f[_0x4fd81e(0x22a)][_0x4fd81e(0x25a)],_0x42cd37['hasResponseSchema']=_0x5bff5f[_0x4fd81e(0x1c7)]!==null,_0x42cd37;}[_0x3f4320(0x3c2)](_0x4503d6={}){const _0x3097b3=_0x3f4320,_0x420585=this[_0x3097b3(0x45b)]();return{'datasetName':this[_0x3097b3(0x1f6)],'datasetCode':this[_0x3097b3(0x452)],'tableName':this[_0x3097b3(0x289)](),'totalOperations':_0x420585['length'],'operations':_0x420585[_0x3097b3(0x232)](_0x3d0c1b=>({'name':_0x3d0c1b[_0x3097b3(0x1f6)],'displayName':_0x3d0c1b[_0x3097b3(0x3b2)],'method':_0x3d0c1b[_0x3097b3(0x294)],'enabled':_0x3d0c1b['enabled']}))};}['getOperationRequestFields'](_0x1c86ca){const _0x500b0e=_0x3f4320,_0x3b694d=this[_0x500b0e(0x43d)](_0x1c86ca);if(!_0x3b694d)return[];return _0x3b694d[_0x500b0e(0x22a)][_0x500b0e(0x232)](_0x2f08d9=>{const _0xa21c86=_0x500b0e,_0x36b912=this[_0xa21c86(0x41f)](_0x2f08d9);if(!_0x36b912)return null;const _0xf701cc={};return _0xf701cc[_0xa21c86(0x40a)]=_0x2f08d9,_0xf701cc[_0xa21c86(0x1f6)]=_0x36b912[_0xa21c86(0x1f6)]||_0x2f08d9,_0xf701cc;})[_0x500b0e(0x364)](_0x3f62da=>_0x3f62da!==null);}[_0x3f4320(0x3d0)](){const _0x3cb1da=_0x3f4320,_0x1b8069=new Set(this[_0x3cb1da(0x45b)]()[_0x3cb1da(0x232)](_0x36b9b3=>String(_0x36b9b3[_0x3cb1da(0x1be)]))),_0xfd8b1d=['create',_0x3cb1da(0x1bf),_0x3cb1da(0x37d),'delete'];return _0xfd8b1d[_0x3cb1da(0x364)](_0x971c66=>!_0x1b8069[_0x3cb1da(0x1ce)](String(_0x971c66)));}['generateAliasExplanation'](_0x50b21c=_0x3f4320(0x3d4)){const _0x1a9f6e=_0x3f4320;return generateAliasExplanation(this['datasetCode'],this[_0x1a9f6e(0x289)](),this[_0x1a9f6e(0x2cf)](),_0x50b21c);}};}function operationToAnalysis(_0x565d61){const _0x94edcb=a0_0x14993a;return{'name':_0x565d61[_0x94edcb(0x292)](),'displayName':_0x565d61[_0x94edcb(0x2ca)](),'type':_0x565d61[_0x94edcb(0x36b)](),'method':_0x565d61['getMethod'](),'path':_0x565d61[_0x94edcb(0x25b)](),'fullUrl':_0x565d61[_0x94edcb(0x1ee)](),'requestFields':_0x565d61[_0x94edcb(0x2fa)](),'requestParams':_0x565d61['getRequestParams'](),'responseSchema':_0x565d61[_0x94edcb(0x2ee)](),'requestExample':_0x565d61[_0x94edcb(0x2a4)](),'responseExample':_0x565d61[_0x94edcb(0x214)](),'enabled':_0x565d61[_0x94edcb(0x2dd)]()};}function operationsToAnalyses(_0x348435){const _0x3f5edd=a0_0x14993a;if(!Array[_0x3f5edd(0x3a3)](_0x348435))return!![]&&console[_0x3f5edd(0x3e9)]('[operationsToAnalyses]\x20operations\x20is\x20not\x20an\x20array:',_0x348435),[];return _0x348435[_0x3f5edd(0x232)](operationToAnalysis);}function sortOperationsWithFilterFirst(_0x348fd5){const _0xb38e1d=a0_0x14993a,_0x19b246=_0x348fd5[_0xb38e1d(0x2b3)](_0x599d5f=>_0x599d5f[_0xb38e1d(0x1f6)]==='filter'),_0x293de0=_0x348fd5[_0xb38e1d(0x364)](_0x38d681=>_0x38d681[_0xb38e1d(0x1f6)]!=='filter');return _0x19b246?[_0x19b246,..._0x293de0]:_0x293de0;}function filterOperationAnalyses(_0x47148c,_0xa6161a={}){const _0x554da8=a0_0x14993a;let _0x2eb3d5=_0x47148c;return!_0xa6161a[_0x554da8(0x3f0)]&&(_0x2eb3d5=_0x2eb3d5[_0x554da8(0x364)](_0x560908=>_0x560908['enabled'])),_0xa6161a[_0x554da8(0x1a5)]!==![]&&(_0x2eb3d5=filterApiOperations(_0x2eb3d5)),_0xa6161a[_0x554da8(0x29d)]&&(_0x2eb3d5=_0x2eb3d5['filter'](_0xa6161a[_0x554da8(0x29d)])),sortOperationsWithFilterFirst(_0x2eb3d5);}function getOperationStats(_0x11999d){const _0x832418=a0_0x14993a,_0x545a12=_0x11999d[_0x832418(0x364)](_0x199d21=>_0x199d21[_0x832418(0x354)]);return{'total':_0x11999d[_0x832418(0x25a)],'enabled':_0x545a12['length'],'disabled':_0x11999d[_0x832418(0x25a)]-_0x545a12[_0x832418(0x25a)],'byType':getCountByType(_0x545a12),'byMethod':getCountByMethod(_0x545a12)};}function getCountByType(_0x3e81a4){const _0x3984e5=a0_0x14993a,_0x4e1801={};return _0x3e81a4[_0x3984e5(0x2db)](_0x4afea5=>{const _0x2e0117=_0x3984e5;if(_0x4afea5['type'])_0x4e1801[_0x4afea5[_0x2e0117(0x1be)]]=(_0x4e1801[_0x4afea5[_0x2e0117(0x1be)]]||0x0)+0x1;}),_0x4e1801;}function getCountByMethod(_0x51f20f){const _0x55b019=a0_0x14993a,_0xcd839f={};return _0x51f20f[_0x55b019(0x2db)](_0x33141d=>{const _0x447a4b=_0x55b019;_0xcd839f[_0x33141d[_0x447a4b(0x294)]]=(_0xcd839f[_0x33141d['method']]||0x0)+0x1;}),_0xcd839f;}function supportsCRUD(_0x54fefd){const _0x4f985e=a0_0x14993a,_0x26463c=new Set(_0x54fefd['map'](_0x2e1a5d=>_0x2e1a5d[_0x4f985e(0x1be)])[_0x4f985e(0x364)](Boolean));return _0x26463c['has'](_0x4f985e(0x23f))&&_0x26463c['has']('getList')&&_0x26463c[_0x4f985e(0x1ce)](_0x4f985e(0x37d))&&_0x26463c[_0x4f985e(0x1ce)]('delete');}function createOperationDocMeta(_0x43e059,_0x1ae837,_0x5e4e1e,_0xbb9e51,_0x321d60,_0x54d3fb){const _0x2107b9=a0_0x14993a,_0x222a25={};return _0x222a25[_0x2107b9(0x345)]=_0x54d3fb?.[_0x2107b9(0x345)],{'operation':_0x43e059,'operationInstance':_0x1ae837,'basicInfo':{'name':_0x43e059['name'],'displayName':_0x43e059['displayName'],'method':_0x43e059[_0x2107b9(0x294)],'path':_0x43e059[_0x2107b9(0x1e0)],'fullUrl':_0x43e059[_0x2107b9(0x2d8)],'enabled':_0x43e059[_0x2107b9(0x354)]},'sdkCall':{'datasetCode':_0x5e4e1e,'datasetSDKKey':_0xbb9e51,'tableName':_0x321d60,'operationName':_0x43e059['name'],'params':_0x43e059[_0x2107b9(0x22a)],'code':_0x1ae837[_0x2107b9(0x211)](_0xbb9e51,_0x222a25)},'usageExample':_0x1ae837[_0x2107b9(0x22e)](_0xbb9e51)};}function createOperationsOverviewData(_0x28f295){const _0x5755a4=a0_0x14993a,_0x4b5c91={};_0x4b5c91[_0x5755a4(0x2fe)]=_0x5755a4(0x1f6),_0x4b5c91[_0x5755a4(0x40c)]=_0x5755a4(0x367);const _0x50e8c2={};_0x50e8c2[_0x5755a4(0x2fe)]=_0x5755a4(0x3b2),_0x50e8c2[_0x5755a4(0x40c)]=_0x5755a4(0x2ac);const _0x5f462d={};_0x5f462d[_0x5755a4(0x2fe)]=_0x5755a4(0x294),_0x5f462d[_0x5755a4(0x40c)]='方法';const _0x460e2b={};_0x460e2b['index']=_0x5755a4(0x1c3),_0x460e2b[_0x5755a4(0x40c)]=_0x5755a4(0x392);const _0x248d78={};_0x248d78[_0x5755a4(0x2fe)]=_0x5755a4(0x1e0),_0x248d78[_0x5755a4(0x40c)]='API路径';const _0x55a8d8={};_0x55a8d8['index']=_0x5755a4(0x3e5),_0x55a8d8[_0x5755a4(0x40c)]=_0x5755a4(0x32e);const _0x413c3b=[_0x4b5c91,_0x50e8c2,_0x5f462d,_0x460e2b,_0x248d78,_0x55a8d8],_0x34763c=_0x28f295[_0x5755a4(0x232)](_0x51ca95=>{const _0x3f2765=_0x5755a4,{basicInfo:_0x34fefa,sdkCall:_0x407ff2}=_0x51ca95,_0x5e4800=_0x407ff2['code'][_0x3f2765(0x1d3)](/^const\s+\w+\s*=\s*await\s+/,'')[_0x3f2765(0x1d3)](/;$/,''),_0x3ba3eb={};return _0x3ba3eb[_0x3f2765(0x3b2)]=_0x34fefa[_0x3f2765(0x3b2)],_0x3ba3eb[_0x3f2765(0x1f6)]=_0x34fefa[_0x3f2765(0x1f6)],_0x3ba3eb[_0x3f2765(0x294)]=_0x34fefa[_0x3f2765(0x294)],_0x3ba3eb[_0x3f2765(0x1e0)]=_0x34fefa[_0x3f2765(0x1e0)],_0x3ba3eb[_0x3f2765(0x1c3)]=_0x5e4800,_0x3ba3eb['sdkCallCode']=_0x407ff2['code'],_0x3ba3eb;}),_0x1b6740={};return _0x1b6740[_0x5755a4(0x21b)]=_0x413c3b,_0x1b6740[_0x5755a4(0x22f)]=_0x34763c,_0x1b6740;}function createDatasetDocMeta(_0x53c138,_0xc8f66d,_0x41ba78,_0x45ea37,_0x340980,_0x1a888f,_0x553815,_0x1cd596,_0x5d29f6){const _0x175e63=a0_0x14993a,_0x372608={};return _0x372608[_0x175e63(0x25f)]=_0x53c138+_0x175e63(0x348),_0x372608[_0x175e63(0x1a8)]={},_0x372608[_0x175e63(0x438)]=_0x5d29f6,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x1f6)]=_0x53c138,_0x372608[_0x175e63(0x1a8)]['code']=_0xc8f66d,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x1d7)]=_0x41ba78,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x250)]=_0x45ea37,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x2fc)]=_0x340980,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x1c1)]=_0x1a888f,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x421)]=_0x553815,_0x372608[_0x175e63(0x1a8)]['businessFieldCount']=0x0,_0x372608[_0x175e63(0x1a8)]['systemFieldCount']=0x0,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x3c5)]=_0x1cd596,_0x372608[_0x175e63(0x1a8)][_0x175e63(0x45c)]=_0x5d29f6[_0x175e63(0x25a)],_0x372608;}var DrivenDataDetailPlusV1Base=DrivenDataDetailPlusMixin(DrivenDataDetail);class DrivenDataDetailPlusV1 extends DrivenDataDetailPlusV1Base{[a0_0x14993a(0x413)];[a0_0x14993a(0x3b1)](){return'v1';}[a0_0x14993a(0x2cf)](){return this['getTableKey']();}[a0_0x14993a(0x207)](_0x45720a=![]){const _0x5e9779=a0_0x14993a;if(!_0x45720a&&this[_0x5e9779(0x413)])return this[_0x5e9779(0x413)];const _0x3c52f7=this[_0x5e9779(0x445)]();return this[_0x5e9779(0x413)]=operationsToAnalyses(_0x3c52f7),this['_operationAnalyses'];}['getEnabledOperationAnalyses'](){const _0xf2fb69=a0_0x14993a,_0x3a4b36={};return _0x3a4b36['includeDisabled']=![],_0x3a4b36[_0xf2fb69(0x1a5)]=!![],this[_0xf2fb69(0x3a7)](_0x3a4b36);}[a0_0x14993a(0x3a7)](_0x386230={}){return filterOperationAnalyses(this['getOperationAnalyses'](),_0x386230);}[a0_0x14993a(0x43d)](_0xd2cca0){const _0x53df0b=a0_0x14993a;return this[_0x53df0b(0x207)]()[_0x53df0b(0x2b3)](_0x682673=>_0x682673[_0x53df0b(0x1f6)]===_0xd2cca0);}[a0_0x14993a(0x2a8)](_0x48db2f){const _0x412a72=a0_0x14993a;return this['getOperationAnalyses']()['filter'](_0x4fd6b2=>_0x4fd6b2[_0x412a72(0x1be)]===_0x48db2f);}['getOperationDocMeta'](_0x541770,_0x62a821){const _0x345986=a0_0x14993a,_0xd89e27=this[_0x345986(0x43d)](_0x541770);if(!_0xd89e27)return null;const _0x5626a5=this[_0x345986(0x445)]()[_0x345986(0x2b3)](_0x41b445=>_0x41b445[_0x345986(0x292)]()===_0xd89e27[_0x345986(0x1f6)]);if(!_0x5626a5)throw new Error('Operation\x20not\x20found:\x20'+_0xd89e27[_0x345986(0x1f6)]);return createOperationDocMeta(_0xd89e27,_0x5626a5,this[_0x345986(0x452)],this[_0x345986(0x29f)](),this[_0x345986(0x289)](),_0x62a821);}['getDatasetDocMeta'](_0x24012f={}){const _0x2e72b3=a0_0x14993a,_0x460d56=this['getFilteredOperationAnalyses'](_0x24012f),_0x56ac2f=_0x460d56['map'](_0x557351=>this['getOperationDocMeta'](_0x557351['name']))[_0x2e72b3(0x364)](_0x2a591a=>_0x2a591a!==null);return createDatasetDocMeta(this['name'],this[_0x2e72b3(0x452)],this[_0x2e72b3(0x289)](),this[_0x2e72b3(0x29f)](),this[_0x2e72b3(0x382)](),this[_0x2e72b3(0x1c1)],this['getFieldCount'](),this[_0x2e72b3(0x1e6)](),_0x56ac2f);}[a0_0x14993a(0x44f)](_0x55281e){return createOperationsOverviewData(_0x55281e);}[a0_0x14993a(0x2c6)](){return supportsCRUD(this['getEnabledOperationAnalyses']());}['getOperationStats'](){return getOperationStats(this['getOperationAnalyses']());}['toString'](){const _0x4b0acb=a0_0x14993a,_0x7fde8b=this[_0x4b0acb(0x3be)]();return _0x4b0acb(0x3e2)+this[_0x4b0acb(0x1f6)]+',\x20'+this[_0x4b0acb(0x452)]+',\x20'+this[_0x4b0acb(0x36f)]()+'\x20fields,\x20'+_0x7fde8b[_0x4b0acb(0x354)]+'/'+_0x7fde8b[_0x4b0acb(0x2b5)]+_0x4b0acb(0x418);}}var DrivenDataDetailPlusV2Base=DrivenDataDetailPlusMixin(DrivenDataDetailV2);class DrivenDataDetailPlusV2 extends DrivenDataDetailPlusV2Base{[a0_0x14993a(0x413)];[a0_0x14993a(0x3b1)](){return'v2';}[a0_0x14993a(0x2cf)](){const _0x25c621=a0_0x14993a;return this[_0x25c621(0x382)]();}[a0_0x14993a(0x207)](_0x3c7e53=![]){const _0x3f8553=a0_0x14993a;if(!_0x3c7e53&&this[_0x3f8553(0x413)])return this[_0x3f8553(0x413)];const _0x3b037f=this['getOperations']();return this[_0x3f8553(0x413)]=operationsToAnalyses(_0x3b037f),this[_0x3f8553(0x413)];}[a0_0x14993a(0x45b)](){const _0x24790b=a0_0x14993a,_0x2f22be={};return _0x2f22be[_0x24790b(0x3f0)]=![],_0x2f22be[_0x24790b(0x1a5)]=!![],this[_0x24790b(0x3a7)](_0x2f22be);}[a0_0x14993a(0x3a7)](_0x128137={}){const _0x121509=a0_0x14993a;return filterOperationAnalyses(this[_0x121509(0x207)](),_0x128137);}[a0_0x14993a(0x43d)](_0x13fc97){const _0x51f769=a0_0x14993a;return this['getOperationAnalyses']()[_0x51f769(0x2b3)](_0x390f00=>_0x390f00['name']===_0x13fc97);}[a0_0x14993a(0x2a8)](_0x517204){const _0x584157=a0_0x14993a;return this[_0x584157(0x207)]()['filter'](_0x48c8e9=>_0x48c8e9[_0x584157(0x1be)]===_0x517204);}[a0_0x14993a(0x27e)](_0x19126a,_0x456f3e){const _0x2e4745=a0_0x14993a,_0x15baa7=this[_0x2e4745(0x43d)](_0x19126a);if(!_0x15baa7)return null;const _0x39b406=this[_0x2e4745(0x445)]()[_0x2e4745(0x2b3)](_0x3ef876=>_0x3ef876[_0x2e4745(0x292)]()===_0x15baa7['name']);if(!_0x39b406)throw new Error('Operation\x20not\x20found:\x20'+_0x15baa7[_0x2e4745(0x1f6)]);return createOperationDocMeta(_0x15baa7,_0x39b406,this[_0x2e4745(0x452)],this['getDatasetSDKKey'](),this[_0x2e4745(0x289)](),_0x456f3e);}['getDatasetDocMeta'](_0x2a0f15={}){const _0x5f1bdc=a0_0x14993a,_0x265100=this[_0x5f1bdc(0x3a7)](_0x2a0f15),_0x39da2f=_0x265100[_0x5f1bdc(0x232)](_0x324431=>this[_0x5f1bdc(0x27e)](_0x324431['name']))['filter'](_0x6c946e=>_0x6c946e!==null);return createDatasetDocMeta(this['name'],this[_0x5f1bdc(0x452)],this[_0x5f1bdc(0x289)](),this['getDatasetSDKKey'](),this['getTableKey'](),this['source'],this[_0x5f1bdc(0x36f)](),this[_0x5f1bdc(0x1e6)](),_0x39da2f);}[a0_0x14993a(0x44f)](_0x474e9a){return createOperationsOverviewData(_0x474e9a);}[a0_0x14993a(0x2c6)](){const _0x4a0147=a0_0x14993a;return supportsCRUD(this[_0x4a0147(0x45b)]());}[a0_0x14993a(0x3be)](){const _0x42256e=a0_0x14993a;return getOperationStats(this[_0x42256e(0x207)]());}['toString'](){const _0x3a7eb2=a0_0x14993a,_0x1b713b=this[_0x3a7eb2(0x3be)]();return'DrivenDataDetailPlusV2('+this[_0x3a7eb2(0x1f6)]+',\x20'+this[_0x3a7eb2(0x452)]+',\x20'+this['getFieldCount']()+'\x20fields,\x20'+_0x1b713b[_0x3a7eb2(0x354)]+'/'+_0x1b713b[_0x3a7eb2(0x2b5)]+_0x3a7eb2(0x24f);}}function detectDatasetVersion3(_0xe89227){const _0x2db20e=a0_0x14993a;if(_0xe89227[_0x2db20e(0x3ad)]==='v2'&&'fields'in _0xe89227&&Array[_0x2db20e(0x3a3)](_0xe89227[_0x2db20e(0x26a)]))return'v2';return'v1';}class DrivenDataDetailPlus{[a0_0x14993a(0x2e9)];constructor(_0x6d4f8a){const _0x500c22=detectDatasetVersion3(_0x6d4f8a);return this['_instance']=_0x500c22==='v2'?new DrivenDataDetailPlusV2(_0x6d4f8a):new DrivenDataDetailPlusV1(_0x6d4f8a),new Proxy(this,{'get'(_0x3569e4,_0x1262b4){const _0x4738cf=a0_0x53f1;if(_0x1262b4 in _0x3569e4){const _0x21aff5=_0x3569e4[_0x1262b4];return typeof _0x21aff5===_0x4738cf(0x1e7)?_0x21aff5[_0x4738cf(0x20c)](_0x3569e4):_0x21aff5;}if(_0x1262b4 in _0x3569e4[_0x4738cf(0x2e9)]){const _0x5c3552=_0x3569e4[_0x4738cf(0x2e9)][_0x1262b4];return typeof _0x5c3552===_0x4738cf(0x1e7)?_0x5c3552['bind'](_0x3569e4['_instance']):_0x5c3552;}return;},'set'(_0x328dd7,_0x18ac71,_0x349dc7){return _0x328dd7[_0x18ac71]=_0x349dc7,!![];},'getPrototypeOf'(_0x227384){return DrivenDataDetailPlus['prototype'];}});}get[a0_0x14993a(0x1f6)](){const _0x43ea6e=a0_0x14993a;return this['_instance'][_0x43ea6e(0x1f6)];}get['id'](){const _0x4cf8bf=a0_0x14993a;return this[_0x4cf8bf(0x2e9)]['id'];}get['datasetCode'](){const _0x1dfda3=a0_0x14993a;return this[_0x1dfda3(0x2e9)][_0x1dfda3(0x452)];}get[a0_0x14993a(0x1c1)](){const _0x1cf357=a0_0x14993a;return this[_0x1cf357(0x2e9)]['source'];}get['dbtableConfig'](){const _0x18112d=a0_0x14993a;return this[_0x18112d(0x2e9)][_0x18112d(0x24a)]();}[a0_0x14993a(0x3b1)](){const _0x16d26e=a0_0x14993a,_0x190f50=this[_0x16d26e(0x2e9)][_0x16d26e(0x3b1)]();return _0x190f50==='v2'?'v2':'v1';}[a0_0x14993a(0x36f)](){const _0x3dc0b4=a0_0x14993a;return this[_0x3dc0b4(0x2e9)][_0x3dc0b4(0x36f)]();}[a0_0x14993a(0x1e6)](){const _0x37a5b9=a0_0x14993a;return this[_0x37a5b9(0x2e9)][_0x37a5b9(0x1e6)]();}[a0_0x14993a(0x3df)](){const _0x28277a=a0_0x14993a;return this[_0x28277a(0x2e9)][_0x28277a(0x3df)]();}[a0_0x14993a(0x445)](){return this['_instance']['getOperations']();}[a0_0x14993a(0x223)](_0x2ce3e9){const _0x353cc1=a0_0x14993a;return this[_0x353cc1(0x2e9)][_0x353cc1(0x223)](_0x2ce3e9);}[a0_0x14993a(0x41f)](_0xc2963d){const _0x19be08=a0_0x14993a;return this[_0x19be08(0x2e9)]['getFieldInstance'](_0xc2963d);}[a0_0x14993a(0x289)](){const _0x515d04=a0_0x14993a;return this[_0x515d04(0x2e9)][_0x515d04(0x289)]();}[a0_0x14993a(0x382)](){const _0x574beb=a0_0x14993a;return this[_0x574beb(0x2e9)][_0x574beb(0x382)]();}[a0_0x14993a(0x29f)](){const _0x5f07c1=a0_0x14993a;return this[_0x5f07c1(0x2e9)][_0x5f07c1(0x29f)]();}[a0_0x14993a(0x3a9)](){const _0x350d89=a0_0x14993a;return this['_instance'][_0x350d89(0x3a9)]();}[a0_0x14993a(0x40f)](){const _0x3ca991=a0_0x14993a;return this['_instance'][_0x3ca991(0x40f)]();}[a0_0x14993a(0x2e2)](){const _0x2afcfd=a0_0x14993a;return this[_0x2afcfd(0x2e9)][_0x2afcfd(0x2e2)]();}[a0_0x14993a(0x2b2)](_0x5cb27e){const _0x1c7bdb=a0_0x14993a;return this[_0x1c7bdb(0x2e9)]['isMultipleSelectField'](_0x5cb27e);}['getField'](_0x3e1ddc){const _0x4a6206=a0_0x14993a;return this[_0x4a6206(0x2e9)][_0x4a6206(0x36a)](_0x3e1ddc);}[a0_0x14993a(0x2d4)](_0x2bd0b2){const _0xbdf2bf=a0_0x14993a;return this[_0xbdf2bf(0x2e9)][_0xbdf2bf(0x2d4)](_0x2bd0b2);}[a0_0x14993a(0x2c5)](_0x167f77){const _0x44eaa1=a0_0x14993a;return this[_0x44eaa1(0x2e9)][_0x44eaa1(0x2c5)](_0x167f77);}['getEnumFieldMeta'](_0x4a3dee){const _0x1bd141=a0_0x14993a;return this['_instance'][_0x1bd141(0x31a)](_0x4a3dee);}[a0_0x14993a(0x28d)](_0x50ba65,_0x225290){const _0x1787f9=a0_0x14993a;return this[_0x1787f9(0x2e9)][_0x1787f9(0x28d)](_0x50ba65,_0x225290);}['isRequiredField'](_0x480f11){const _0x2da0ec=a0_0x14993a;return this[_0x2da0ec(0x2e9)]['isRequiredField'](_0x480f11);}[a0_0x14993a(0x212)](){const _0x3b1411=a0_0x14993a;return this[_0x3b1411(0x2e9)][_0x3b1411(0x212)]();}[a0_0x14993a(0x208)](){const _0x585a72=a0_0x14993a;return this[_0x585a72(0x2e9)]['getFilterOperation']();}[a0_0x14993a(0x27a)](){const _0x142cfb=a0_0x14993a;return this[_0x142cfb(0x2e9)]['hasFilterOperation']();}[a0_0x14993a(0x458)](_0x12b11f){const _0x3a6d19=a0_0x14993a;return this[_0x3a6d19(0x2e9)][_0x3a6d19(0x458)](_0x12b11f);}[a0_0x14993a(0x24a)](){return this['_instance']['getDBConfig']();}[a0_0x14993a(0x328)](){const _0x12c74c=a0_0x14993a;return this[_0x12c74c(0x2e9)][_0x12c74c(0x328)]();}[a0_0x14993a(0x285)](){const _0x9b3102=a0_0x14993a;return this[_0x9b3102(0x2e9)][_0x9b3102(0x285)]();}[a0_0x14993a(0x207)](_0xff8462){const _0x2db6c2=a0_0x14993a;return this[_0x2db6c2(0x2e9)]['getOperationAnalyses'](_0xff8462);}[a0_0x14993a(0x45b)](){const _0x3dd0f0=a0_0x14993a;return this[_0x3dd0f0(0x2e9)][_0x3dd0f0(0x45b)]();}[a0_0x14993a(0x3a7)](_0x41ddf9){const _0x5a152a=a0_0x14993a;return this[_0x5a152a(0x2e9)][_0x5a152a(0x3a7)](_0x41ddf9);}[a0_0x14993a(0x43d)](_0x2fc221){const _0x30bbec=a0_0x14993a;return this[_0x30bbec(0x2e9)][_0x30bbec(0x43d)](_0x2fc221);}[a0_0x14993a(0x2a8)](_0x5c8652){const _0x4ade97=a0_0x14993a;return this[_0x4ade97(0x2e9)][_0x4ade97(0x2a8)](_0x5c8652);}[a0_0x14993a(0x27e)](_0x531663,_0x505183){const _0x201e88=a0_0x14993a;return this[_0x201e88(0x2e9)][_0x201e88(0x27e)](_0x531663,_0x505183);}[a0_0x14993a(0x466)](_0x30706d){const _0x55d4de=a0_0x14993a;return this[_0x55d4de(0x2e9)][_0x55d4de(0x466)](_0x30706d);}['getOperationsOverviewData'](_0x24cf78){const _0x3d54b7=a0_0x14993a;return this['_instance'][_0x3d54b7(0x44f)](_0x24cf78);}['getModelAlias'](){const _0x2de167=a0_0x14993a;return this[_0x2de167(0x2e9)][_0x2de167(0x2cf)]();}['supportsCRUD'](){const _0xc27709=a0_0x14993a;return this[_0xc27709(0x2e9)][_0xc27709(0x2c6)]();}['getOperationStats'](){return this['_instance']['getOperationStats']();}[a0_0x14993a(0x1c0)](){const _0x175d39=a0_0x14993a;return this['_instance'][_0x175d39(0x1c0)]();}[a0_0x14993a(0x2ed)](_0x18d63e){const _0x1506f1=a0_0x14993a;return this[_0x1506f1(0x2e9)][_0x1506f1(0x2ed)](_0x18d63e);}[a0_0x14993a(0x2e0)](_0x446777){const _0x155448=a0_0x14993a;return this[_0x155448(0x2e9)][_0x155448(0x2e0)](_0x446777);}[a0_0x14993a(0x273)](_0xb60d3e,_0xda3911,_0x2215a6){const _0x4f21f3=a0_0x14993a;return this[_0x4f21f3(0x2e9)]['generateSDKInitCode'](_0xb60d3e,_0xda3911,_0x2215a6);}[a0_0x14993a(0x1e2)](_0x4527aa,_0x117085,_0x18973e){const _0x18a5b9=a0_0x14993a;return this[_0x18a5b9(0x2e9)][_0x18a5b9(0x1e2)](_0x4527aa,_0x117085,_0x18973e);}['generateAllOperationsFullSDKExample'](_0x15afcf){const _0x4a3350=a0_0x14993a;return this[_0x4a3350(0x2e9)][_0x4a3350(0x358)](_0x15afcf);}[a0_0x14993a(0x3a8)](_0x29288c){const _0x4b5f18=a0_0x14993a;return this[_0x4b5f18(0x2e9)]['generateOperationSummary'](_0x29288c);}['generateAllOperationsSummary'](_0x5f094a){const _0x1505d3=a0_0x14993a;return this['_instance'][_0x1505d3(0x3c2)](_0x5f094a);}[a0_0x14993a(0x34e)](_0x2fb25d){const _0x16ccb8=a0_0x14993a;return this[_0x16ccb8(0x2e9)][_0x16ccb8(0x34e)](_0x2fb25d);}[a0_0x14993a(0x3d0)](){const _0x330966=a0_0x14993a;return this['_instance'][_0x330966(0x3d0)]();}[a0_0x14993a(0x337)](){const _0x5dc8c0=a0_0x14993a;return this[_0x5dc8c0(0x2e9)]['generateAliasExplanation']();}[a0_0x14993a(0x335)](){const _0x164ca6=a0_0x14993a;return this[_0x164ca6(0x2e9)];}}function createDrivenDataDetailPlus(_0x21b617,_0x460727={}){const _0x4d749d=a0_0x14993a;if(_0x460727[_0x4d749d(0x3ce)]==='v1')return new DrivenDataDetailPlusV1(_0x21b617);if(_0x460727[_0x4d749d(0x3ce)]==='v2')return new DrivenDataDetailPlusV2(_0x21b617);if(_0x21b617[_0x4d749d(0x3ad)]==='v2'||_0x4d749d(0x357)in _0x21b617)return new DrivenDataDetailPlusV2(_0x21b617);return new DrivenDataDetailPlusV1(_0x21b617);}function isPlusV2Instance(_0x55296b){const _0x2f5e4d=a0_0x14993a;return _0x55296b[_0x2f5e4d(0x3b1)]()==='v2';}function isPlusV1Instance(_0x3222ba){const _0x37022b=a0_0x14993a;return _0x3222ba[_0x37022b(0x3b1)]()==='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};
|