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